Remove scss directives from restyled css

This commit is contained in:
Matthew Strasiotto
2022-08-14 13:13:06 +10:00
committed by Matthew Strasitoto
parent 7e5738c65f
commit bd60d7e32c
+16 -46
View File
@@ -182,57 +182,45 @@ Emby Button
justify-content: center; justify-content: center;
font-size: 82%; font-size: 82%;
border-radius: 100em; border-radius: 100em;
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2); box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12),
0 2px 4px -1px rgba(0, 0, 0, 0.2);
background: #03a9f4; background: #03a9f4;
font-weight: bold; font-weight: bold;
} }
/* fonts.scss */ /* fonts.scss */
@import "../../styles/noto-sans/index.scss";
@mixin font($weight: null, $size: null) {
font-weight: $weight;
font-size: $size;
}
html { html {
@include font($size: 93%); font-family: "Noto Sans", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR",
font-family: "Noto Sans", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", sans-serif; "Noto Sans SC", "Noto Sans TC", sans-serif;
text-size-adjust: 100%; text-size-adjust: 100%;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
html[lang|="ja"] { html[lang|="ja"] {
font-family: "Noto Sans", "Noto Sans JP", "Noto Sans HK", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", sans-serif; font-family: "Noto Sans", "Noto Sans JP", "Noto Sans HK", "Noto Sans KR",
"Noto Sans SC", "Noto Sans TC", sans-serif;
} }
html[lang|="ko"] { html[lang|="ko"] {
font-family: "Noto Sans", "Noto Sans KR", "Noto Sans HK", "Noto Sans JP", "Noto Sans SC", "Noto Sans TC", sans-serif; font-family: "Noto Sans", "Noto Sans KR", "Noto Sans HK", "Noto Sans JP",
"Noto Sans SC", "Noto Sans TC", sans-serif;
} }
html[lang|="zh-CN"] { html[lang|="zh-CN"] {
font-family: "Noto Sans", "Noto Sans SC", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans TC", sans-serif; font-family: "Noto Sans", "Noto Sans SC", "Noto Sans HK", "Noto Sans JP",
"Noto Sans KR", "Noto Sans TC", sans-serif;
} }
html[lang|="zh-TW"] { html[lang|="zh-TW"] {
font-family: "Noto Sans", "Noto Sans TC", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", sans-serif; font-family: "Noto Sans", "Noto Sans TC", "Noto Sans HK", "Noto Sans JP",
"Noto Sans KR", "Noto Sans SC", sans-serif;
} }
html[lang|="zh-HK"] { html[lang|="zh-HK"] {
font-family: "Noto Sans", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", sans-serif; font-family: "Noto Sans", "Noto Sans HK", "Noto Sans JP", "Noto Sans KR",
} "Noto Sans SC", "Noto Sans TC", sans-serif;
h1 {
@include font(400, 1.8em);
}
h2 {
@include font(400, 1.5em);
}
h3 {
@include font(400, 1.17em);
} }
.layout-tv { .layout-tv {
@@ -245,22 +233,13 @@ h3 {
font-size: 90%; font-size: 90%;
} }
/* site.scss */ /* site.scss */
@mixin fullpage {
margin: 0;
padding: 0;
height: 100%;
}
html { html {
@include fullpage;
line-height: 1.35; line-height: 1.35;
} }
body { body {
@include fullpage;
overflow-x: hidden; overflow-x: hidden;
background-color: transparent !important; background-color: transparent !important;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
@@ -322,10 +301,10 @@ div[data-role="page"] {
padding-left: 0.15em; padding-left: 0.15em;
font-weight: 400; font-weight: 400;
white-space: normal !important; white-space: normal !important;
}
+ .fieldDescription { .fieldDescription + .fieldDescription {
margin-top: 0.3em; margin-top: 0.3em;
}
} }
.content-primary, .content-primary,
@@ -363,14 +342,6 @@ form {
.headroom { .headroom {
will-change: transform; will-change: transform;
transition: transform 200ms linear; transition: transform 200ms linear;
&--pinned {
transform: translateY(0%);
}
&--unpinned {
transform: translateY(-100%);
}
} }
.drawerContent { .drawerContent {
@@ -399,4 +370,3 @@ form {
margin-top: auto; margin-top: auto;
margin-bottom: auto; margin-bottom: auto;
} }