2018-09-20 11:21:58 -05:00
|
|
|
@function hex-color($color) {
|
|
|
|
@if type-of($color) == 'color' {
|
|
|
|
$color: str-slice(ie-hex-str($color), 4);
|
|
|
|
}
|
2023-02-25 14:20:01 -06:00
|
|
|
|
2023-02-12 21:57:03 -06:00
|
|
|
@return '%23' + unquote($color);
|
2018-09-20 11:21:58 -05:00
|
|
|
}
|
|
|
|
|
2017-04-12 09:01:59 -05:00
|
|
|
body {
|
2018-10-01 06:13:58 -05:00
|
|
|
font-family: $font-sans-serif, sans-serif;
|
2019-07-19 02:25:22 -05:00
|
|
|
background: darken($ui-base-color, 7%);
|
2017-04-12 09:01:59 -05:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
font-weight: 400;
|
2017-05-08 08:57:49 -05:00
|
|
|
color: $primary-text-color;
|
2017-04-12 09:01:59 -05:00
|
|
|
text-rendering: optimizelegibility;
|
2023-02-12 21:57:03 -06:00
|
|
|
font-feature-settings: 'kern';
|
2017-04-12 09:01:59 -05:00
|
|
|
text-size-adjust: none;
|
2023-02-25 14:20:01 -06:00
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0%);
|
2017-07-06 14:26:07 -05:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
2017-04-12 09:01:59 -05:00
|
|
|
|
2017-09-01 09:13:31 -05: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-10-01 06:13:58 -05:00
|
|
|
// $font-sans-serif => web-font (Roboto) fallback and newer Androids (>=4.0)
|
2023-07-13 06:58:47 -05:00
|
|
|
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-24 12:28:49 -05:00
|
|
|
}
|
|
|
|
|
2017-10-11 14:18:46 -05:00
|
|
|
&.app-body {
|
2017-04-12 09:01:59 -05:00
|
|
|
padding: 0;
|
2019-07-19 02:25:22 -05:00
|
|
|
|
|
|
|
&.layout-single-column {
|
|
|
|
height: auto;
|
2019-08-01 05:26:58 -05:00
|
|
|
min-height: 100vh;
|
2019-07-19 02:25:22 -05:00
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.layout-multiple-columns {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-07-31 16:04:09 -05:00
|
|
|
|
|
|
|
&.with-modals--active {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2017-04-12 09:01:59 -05:00
|
|
|
}
|
|
|
|
|
2018-07-31 16:04:09 -05:00
|
|
|
&.lighter {
|
|
|
|
background: $ui-base-color;
|
2017-07-11 08:27:59 -05:00
|
|
|
}
|
|
|
|
|
2018-07-31 16:04:09 -05:00
|
|
|
&.with-modals {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2017-10-07 13:00:35 -05:00
|
|
|
}
|
|
|
|
|
2020-06-24 18:33:01 -05:00
|
|
|
&.player {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-player video {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery {
|
|
|
|
margin-top: 0;
|
|
|
|
height: 100% !important;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-12 09:01:59 -05:00
|
|
|
&.embed {
|
2018-07-31 15:54:18 -05:00
|
|
|
background: lighten($ui-base-color, 4%);
|
2017-04-12 09:01:59 -05:00
|
|
|
margin: 0;
|
2017-09-09 09:23:44 -05:00
|
|
|
padding-bottom: 0;
|
2017-04-12 09:01:59 -05:00
|
|
|
|
|
|
|
.container {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.admin {
|
2017-05-08 08:57:49 -05:00
|
|
|
background: darken($ui-base-color, 4%);
|
2017-04-12 09:01:59 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
2017-09-24 21:04:04 -05:00
|
|
|
|
|
|
|
&.error {
|
2017-10-11 14:18:46 -05:00
|
|
|
position: absolute;
|
2017-09-24 21:04:04 -05:00
|
|
|
text-align: center;
|
2018-05-05 10:58:46 -05:00
|
|
|
color: $darker-text-color;
|
2017-10-11 14:18:46 -05:00
|
|
|
background: $ui-base-color;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2017-10-09 13:51:36 -05:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-09-24 21:04:04 -05:00
|
|
|
|
2017-10-11 14:18:46 -05:00
|
|
|
.dialog {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 20px;
|
|
|
|
|
2023-02-25 14:20:01 -06:00
|
|
|
&__illustration {
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
max-width: 470px;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin-top: -120px;
|
|
|
|
}
|
2017-10-11 14:18:46 -05:00
|
|
|
}
|
2017-09-24 21:04:04 -05:00
|
|
|
|
2017-10-11 14:18:46 -05:00
|
|
|
h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2017-09-24 21:04:04 -05:00
|
|
|
}
|
|
|
|
}
|
2017-04-12 09:01:59 -05:00
|
|
|
}
|
|
|
|
|
2023-07-21 06:20:14 -05:00
|
|
|
a {
|
2017-05-26 17:53:25 -05:00
|
|
|
&:focus {
|
2023-07-21 06:20:14 -05:00
|
|
|
border-radius: 4px;
|
2023-08-02 12:33:41 -05:00
|
|
|
outline: $ui-button-focus-outline;
|
2023-07-21 06:20:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus:not(:focus-visible) {
|
2017-05-26 17:53:25 -05:00
|
|
|
outline: none;
|
|
|
|
}
|
2017-04-12 09:01:59 -05:00
|
|
|
}
|
|
|
|
|
2023-07-21 06:20:14 -05:00
|
|
|
button {
|
|
|
|
font-family: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-04-12 09:01:59 -05:00
|
|
|
.app-holder {
|
2017-10-05 18:07:59 -05:00
|
|
|
&,
|
2023-02-25 14:20:01 -06:00
|
|
|
& > div,
|
|
|
|
& > noscript {
|
2017-10-05 18:07:59 -05:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-02-23 12:22:58 -06:00
|
|
|
outline: 0 !important;
|
2017-10-05 18:07:59 -05:00
|
|
|
}
|
2023-02-25 14:20:01 -06:00
|
|
|
|
|
|
|
& > noscript {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
2017-04-12 09:01:59 -05:00
|
|
|
}
|
2019-08-15 13:28:56 -05:00
|
|
|
|
|
|
|
.layout-single-column .app-holder {
|
|
|
|
&,
|
|
|
|
& > div {
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-multiple-columns .app-holder {
|
|
|
|
&,
|
|
|
|
& > div {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2020-04-28 02:44:17 -05:00
|
|
|
|
2023-07-27 12:25:07 -05:00
|
|
|
.error-boundary,
|
2023-02-25 14:20:01 -06:00
|
|
|
.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: 0.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-28 03:16:55 -05:00
|
|
|
.logo-resources {
|
2022-06-10 10:34:59 -05:00
|
|
|
// Not using display: none because of https://bugs.chromium.org/p/chromium/issues/detail?id=258029
|
|
|
|
visibility: hidden;
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-04-16 10:45:18 -05:00
|
|
|
inset-inline-start: 0;
|
2022-06-10 10:34:59 -05:00
|
|
|
z-index: -1000;
|
2020-04-28 03:16:55 -05:00
|
|
|
}
|
|
|
|
|
2020-04-28 02:44:17 -05:00
|
|
|
// NoScript adds a __ns__pop2top class to the full ancestry of blocked elements,
|
|
|
|
// to set the z-index to a high value, which messes with modals and dropdowns.
|
|
|
|
// Blocked elements can in theory only be media and frames/embeds, so they
|
|
|
|
// should only appear in statuses, under divs and articles.
|
|
|
|
body,
|
|
|
|
div,
|
|
|
|
article {
|
|
|
|
.__ns__pop2top {
|
|
|
|
z-index: unset !important;
|
|
|
|
}
|
|
|
|
}
|