2018-09-18 23:45:58 +09:00
|
|
|
@function hex-color($color) {
|
|
|
|
@if type-of($color) == 'color' {
|
|
|
|
$color: str-slice(ie-hex-str($color), 4);
|
|
|
|
}
|
2019-06-07 01:51:46 +09:00
|
|
|
|
|
|
|
@return '%23' + unquote($color);
|
2018-09-18 23:45:58 +09:00
|
|
|
}
|
|
|
|
|
2017-04-12 23:01:59 +09:00
|
|
|
body {
|
2018-09-24 03:41:24 +09:00
|
|
|
font-family: $font-sans-serif, sans-serif;
|
2019-07-19 16:25:22 +09:00
|
|
|
background: darken($ui-base-color, 7%);
|
2017-04-12 23:01:59 +09:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
font-weight: 400;
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $primary-text-color;
|
2017-04-12 23:01:59 +09:00
|
|
|
text-rendering: optimizelegibility;
|
|
|
|
font-feature-settings: "kern";
|
|
|
|
text-size-adjust: none;
|
2019-06-07 01:51:46 +09:00
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
2017-07-07 04:26:07 +09:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
2017-04-12 23:01:59 +09:00
|
|
|
|
2017-09-01 23:13:31 +09:00
|
|
|
&.system-font {
|
|
|
|
// system-ui => standard property (Chrome/Android WebView 56+, Opera 43+, Safari 11+)
|
|
|
|
// -apple-system => Safari <11 specific
|
|
|
|
// BlinkMacSystemFont => Chrome <56 on macOS specific
|
|
|
|
// Segoe UI => Windows 7/8/10
|
|
|
|
// Oxygen => KDE
|
|
|
|
// Ubuntu => Unity/Ubuntu
|
|
|
|
// Cantarell => GNOME
|
|
|
|
// Fira Sans => Firefox OS
|
|
|
|
// Droid Sans => Older Androids (<4.0)
|
|
|
|
// Helvetica Neue => Older macOS <10.11
|
2018-09-24 03:41:24 +09:00
|
|
|
// $font-sans-serif => web-font (Roboto) fallback and newer Androids (>=4.0)
|
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", $font-sans-serif, sans-serif;
|
2017-08-25 02:28:49 +09:00
|
|
|
}
|
|
|
|
|
2017-10-12 04:18:46 +09:00
|
|
|
&.app-body {
|
2017-04-12 23:01:59 +09:00
|
|
|
padding: 0;
|
2019-07-19 16:25:22 +09:00
|
|
|
|
|
|
|
&.layout-single-column {
|
|
|
|
height: auto;
|
2019-08-01 19:26:58 +09:00
|
|
|
min-height: 100vh;
|
2019-07-19 16:25:22 +09:00
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.layout-multiple-columns {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-07-31 08:14:33 +09:00
|
|
|
|
|
|
|
&.with-modals--active {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2017-04-12 23:01:59 +09:00
|
|
|
}
|
|
|
|
|
2018-07-31 08:14:33 +09:00
|
|
|
&.lighter {
|
|
|
|
background: $ui-base-color;
|
2017-07-11 22:27:59 +09:00
|
|
|
}
|
|
|
|
|
2018-07-31 08:14:33 +09:00
|
|
|
&.with-modals {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2017-10-08 03:00:35 +09:00
|
|
|
}
|
|
|
|
|
2018-02-16 15:22:20 +09:00
|
|
|
&.player {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-04-12 23:01:59 +09:00
|
|
|
&.embed {
|
2018-07-29 02:25:33 +09:00
|
|
|
background: lighten($ui-base-color, 4%);
|
2017-04-12 23:01:59 +09:00
|
|
|
margin: 0;
|
2017-09-09 23:23:44 +09:00
|
|
|
padding-bottom: 0;
|
2017-04-12 23:01:59 +09:00
|
|
|
|
|
|
|
.container {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.admin {
|
2017-05-08 22:57:49 +09:00
|
|
|
background: darken($ui-base-color, 4%);
|
2017-04-12 23:01:59 +09:00
|
|
|
padding: 0;
|
|
|
|
}
|
2017-09-25 11:04:04 +09:00
|
|
|
|
|
|
|
&.error {
|
2017-10-12 04:18:46 +09:00
|
|
|
position: absolute;
|
2017-09-25 11:04:04 +09:00
|
|
|
text-align: center;
|
2018-04-18 23:52:15 +09:00
|
|
|
color: $darker-text-color;
|
2017-10-12 04:18:46 +09:00
|
|
|
background: $ui-base-color;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2017-10-10 03:51:36 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-09-25 11:04:04 +09:00
|
|
|
|
2017-10-12 04:18:46 +09:00
|
|
|
.dialog {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 20px;
|
|
|
|
|
2019-02-16 07:33:25 +09:00
|
|
|
&__illustration {
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
max-width: 470px;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin-top: -120px;
|
|
|
|
}
|
2017-10-12 04:18:46 +09:00
|
|
|
}
|
2017-09-25 11:04:04 +09:00
|
|
|
|
2017-10-12 04:18:46 +09:00
|
|
|
h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2017-09-25 11:04:04 +09:00
|
|
|
}
|
|
|
|
}
|
2017-04-12 23:01:59 +09:00
|
|
|
}
|
|
|
|
|
2017-05-26 04:15:41 +09:00
|
|
|
button {
|
|
|
|
font-family: inherit;
|
2017-05-27 07:53:25 +09:00
|
|
|
cursor: pointer;
|
2017-05-26 04:15:41 +09:00
|
|
|
|
2017-05-27 07:53:25 +09:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2017-04-12 23:01:59 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-holder {
|
2017-10-06 08:07:59 +09:00
|
|
|
&,
|
2019-10-02 03:48:49 +09:00
|
|
|
& > div,
|
|
|
|
& > noscript {
|
2017-10-06 08:07:59 +09:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-02-19 00:32:58 +09:00
|
|
|
outline: 0 !important;
|
2017-10-06 08:07:59 +09:00
|
|
|
}
|
2019-10-02 03:48:49 +09:00
|
|
|
|
|
|
|
& > noscript {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
2017-04-12 23:01:59 +09:00
|
|
|
}
|
2019-07-19 16:25:22 +09:00
|
|
|
|
|
|
|
.layout-single-column .app-holder {
|
|
|
|
&,
|
|
|
|
& > div {
|
2019-08-16 03:28:56 +09:00
|
|
|
min-height: 100vh;
|
2019-07-19 16:25:22 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-multiple-columns .app-holder {
|
|
|
|
&,
|
|
|
|
& > div {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-10-02 03:48:49 +09:00
|
|
|
|
|
|
|
.error-boundary,
|
|
|
|
.app-holder noscript {
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.7;
|
|
|
|
color: lighten($error-red, 4%);
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: .85em;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__footer {
|
|
|
|
color: $dark-text-color;
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
display: inline;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
color: $dark-text-color;
|
|
|
|
font: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
line-height: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
outline: 0;
|
|
|
|
transition: color 300ms linear;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.copied {
|
|
|
|
color: $valid-value-color;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|