1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

move files to scss

creating this commit so git don't lose track of the changes
This commit is contained in:
Guilherme Danno 2020-05-16 00:32:32 -03:00
parent db73f56860
commit 594580ec2d
8 changed files with 29 additions and 34 deletions

View file

@ -1,19 +1,19 @@
body, @mixin fullpage {
html {
margin: 0; margin: 0;
padding: 0; padding: 0;
height: 100%; height: 100%;
} }
.clipForScreenReader { html {
clip: rect(1px, 1px, 1px, 1px); @include fullpage;
clip-path: inset(50%); line-height: 1.35;
height: 1px; }
width: 1px;
margin: -1px; body {
overflow: hidden; @include fullpage;
padding: 0; overflow-x: hidden;
position: absolute; background-color: transparent !important;
-webkit-font-smoothing: antialiased;
} }
.material-icons { .material-icons {
@ -30,10 +30,6 @@ html {
contain: strict; contain: strict;
} }
html {
line-height: 1.35;
}
.layout-mobile, .layout-mobile,
.layout-tv { .layout-tv {
-webkit-touch-callout: none; -webkit-touch-callout: none;
@ -44,12 +40,6 @@ html {
user-select: none; user-select: none;
} }
body {
overflow-x: hidden;
background-color: transparent !important;
-webkit-font-smoothing: antialiased;
}
.mainAnimatedPage { .mainAnimatedPage {
contain: style size !important; contain: style size !important;
} }
@ -62,7 +52,7 @@ body {
overflow-y: hidden !important; overflow-y: hidden !important;
} }
div[data-role=page] { div[data-role="page"] {
outline: 0; outline: 0;
} }
@ -75,10 +65,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,
@ -89,9 +79,14 @@ div[data-role=page] {
padding-bottom: 5em !important; padding-bottom: 5em !important;
} }
@media all and (min-width: 50em) { .readOnlyContent {
.readOnlyContent, @media all and (min-width: 50em) {
form { max-width: 54em;
}
}
form {
@media all and (min-width: 50em) {
max-width: 54em; max-width: 54em;
} }
} }
@ -111,12 +106,12 @@ div[data-role=page] {
.headroom { .headroom {
will-change: transform; will-change: transform;
transition: transform 200ms linear; transition: transform 200ms linear;
}
.headroom--pinned { &--pinned {
transform: translateY(0%); transform: translateY(0%);
} }
.headroom--unpinned { &--unpinned {
transform: translateY(-100%); transform: translateY(-100%);
}
} }