2018-09-18 10:45:58 -04:00
|
|
|
@function hex-color($color) {
|
|
|
|
@if type-of($color) == 'color' {
|
|
|
|
$color: str-slice(ie-hex-str($color), 4);
|
|
|
|
}
|
|
|
|
@return '%23' + unquote($color)
|
|
|
|
}
|
|
|
|
|
2017-04-12 10:01:59 -04:00
|
|
|
body {
|
2017-09-01 10:13:31 -04:00
|
|
|
font-family: 'mastodon-font-sans-serif', sans-serif;
|
2018-07-28 13:25:33 -04:00
|
|
|
background: darken($ui-base-color, 8%);
|
2017-04-12 10:01:59 -04:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
font-weight: 400;
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2017-04-12 10:01:59 -04:00
|
|
|
text-rendering: optimizelegibility;
|
|
|
|
font-feature-settings: "kern";
|
|
|
|
text-size-adjust: none;
|
2017-07-06 15:26:07 -04:00
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2017-04-12 10:01:59 -04:00
|
|
|
|
2017-09-01 10:13:31 -04: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
|
|
|
|
// mastodon-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", mastodon-font-sans-serif, sans-serif;
|
2017-08-24 13:28:49 -04:00
|
|
|
}
|
|
|
|
|
2017-10-11 15:18:46 -04:00
|
|
|
&.app-body {
|
2017-10-17 14:38:16 -04:00
|
|
|
position: absolute;
|
2017-04-12 10:01:59 -04:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $ui-base-color;
|
2018-07-30 19:14:33 -04:00
|
|
|
|
|
|
|
&.with-modals--active {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2017-04-12 10:01:59 -04:00
|
|
|
}
|
|
|
|
|
2018-07-30 19:14:33 -04:00
|
|
|
&.lighter {
|
|
|
|
background: $ui-base-color;
|
2017-07-11 09:27:59 -04:00
|
|
|
}
|
|
|
|
|
2018-07-30 19:14:33 -04:00
|
|
|
&.with-modals {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
overflow-y: hidden;
|
|
|
|
margin-right: 13px;
|
|
|
|
}
|
2017-10-07 14:00:35 -04:00
|
|
|
}
|
|
|
|
|
2018-02-16 01:22:20 -05:00
|
|
|
&.player {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-04-12 10:01:59 -04:00
|
|
|
&.embed {
|
2018-07-28 13:25:33 -04:00
|
|
|
background: lighten($ui-base-color, 4%);
|
2017-04-12 10:01:59 -04:00
|
|
|
margin: 0;
|
2017-09-09 10:23:44 -04:00
|
|
|
padding-bottom: 0;
|
2017-04-12 10:01:59 -04:00
|
|
|
|
|
|
|
.container {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.admin {
|
2017-05-08 09:57:49 -04:00
|
|
|
background: darken($ui-base-color, 4%);
|
2017-04-12 10:01:59 -04:00
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-09-24 22:04:04 -04:00
|
|
|
|
|
|
|
&.error {
|
2017-10-11 15:18:46 -04:00
|
|
|
position: absolute;
|
2017-09-24 22:04:04 -04:00
|
|
|
text-align: center;
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $darker-text-color;
|
2017-10-11 15:18:46 -04:00
|
|
|
background: $ui-base-color;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2017-10-09 14:51:36 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-09-24 22:04:04 -04:00
|
|
|
|
2017-10-11 15:18:46 -04:00
|
|
|
.dialog {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 20px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
max-width: 470px;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin-top: -120px;
|
|
|
|
}
|
2017-09-24 22:04:04 -04:00
|
|
|
|
2017-10-11 15:18:46 -04:00
|
|
|
h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2017-09-24 22:04:04 -04:00
|
|
|
}
|
|
|
|
}
|
2017-04-12 10:01:59 -04:00
|
|
|
}
|
|
|
|
|
2017-05-25 15:15:41 -04:00
|
|
|
button {
|
|
|
|
font-family: inherit;
|
2017-05-26 18:53:25 -04:00
|
|
|
cursor: pointer;
|
2017-05-25 15:15:41 -04:00
|
|
|
|
2017-05-26 18:53:25 -04:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2017-04-12 10:01:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-holder {
|
2017-10-05 19:07:59 -04:00
|
|
|
&,
|
|
|
|
& > div {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-02-18 10:32:58 -05:00
|
|
|
outline: 0 !important;
|
2017-10-05 19:07:59 -04:00
|
|
|
}
|
2017-04-12 10:01:59 -04:00
|
|
|
}
|