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

Fix intentation (CSS)

This commit is contained in:
MrTimscampi 2020-01-25 11:42:43 +01:00
parent 8634ae8400
commit c96aad1c95
26 changed files with 199 additions and 198 deletions

View file

@ -70,6 +70,7 @@
"function-parentheses-newline-inside": "always-multi-line", "function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line", "function-parentheses-space-inside": "never-single-line",
"function-whitespace-after": "always", "function-whitespace-after": "always",
"indentation": 4,
"keyframe-declaration-no-important": true, "keyframe-declaration-no-important": true,
"length-zero-no-unit": true, "length-zero-no-unit": true,
"max-empty-lines": 1, "max-empty-lines": 1,

View file

@ -6,8 +6,8 @@ html {
} }
h1, h1,
h2, h2,
h3 { h3 {
/* For better bolding, since Helvetica does not support 500 weight, and 600 is too thick */ /* For better bolding, since Helvetica does not support 500 weight, and 600 is too thick */
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif; font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif;
} }

View file

@ -10,7 +10,7 @@
} }
.hiddenScrollX, .hiddenScrollX,
.layout-tv .scrollX { .layout-tv .scrollX {
-ms-overflow-style: none; -ms-overflow-style: none;
} }
@ -19,7 +19,7 @@
} }
.hiddenScrollX::-webkit-scrollbar, .hiddenScrollX::-webkit-scrollbar,
.layout-tv .scrollX::-webkit-scrollbar { .layout-tv .scrollX::-webkit-scrollbar {
height: 0 !important; height: 0 !important;
display: none; display: none;
} }
@ -38,7 +38,7 @@
} }
.hiddenScrollY, .hiddenScrollY,
.layout-tv .smoothScrollY { .layout-tv .smoothScrollY {
-ms-overflow-style: none; -ms-overflow-style: none;
/* Can't do this because it not only hides the scrollbar, but also prevents scrolling */ /* Can't do this because it not only hides the scrollbar, but also prevents scrolling */
@ -51,8 +51,8 @@
} }
.hiddenScrollY::-webkit-scrollbar, .hiddenScrollY::-webkit-scrollbar,
.layout-tv .smoothScrollY::-webkit-scrollbar, .layout-tv .smoothScrollY::-webkit-scrollbar,
.layout-tv .scrollY::-webkit-scrollbar { .layout-tv .scrollY::-webkit-scrollbar {
width: 0 !important; width: 0 !important;
display: none; display: none;
} }

View file

@ -8,6 +8,6 @@
contain: layout style; contain: layout style;
} }
.appfooter.headroom--unpinned { .appfooter.headroom--unpinned {
transform: translateY(100%) !important; transform: translateY(100%) !important;
} }

View file

@ -56,26 +56,26 @@ button::-moz-focus-inner {
} }
.cardPadder-backdrop, .cardPadder-backdrop,
.cardPadder-mixedBackdrop, .cardPadder-mixedBackdrop,
.cardPadder-smallBackdrop, .cardPadder-smallBackdrop,
.cardPadder-overflowBackdrop, .cardPadder-overflowBackdrop,
.cardPadder-overflowSmallBackdrop { .cardPadder-overflowSmallBackdrop {
padding-bottom: 56.25%; padding-bottom: 56.25%;
contain: strict; contain: strict;
} }
.cardPadder-square, .cardPadder-square,
.cardPadder-mixedSquare, .cardPadder-mixedSquare,
.cardPadder-overflowSquare, .cardPadder-overflowSquare,
.overflowSquareCard-textCardPadder { .overflowSquareCard-textCardPadder {
padding-bottom: 100%; padding-bottom: 100%;
contain: strict; contain: strict;
} }
.cardPadder-portrait, .cardPadder-portrait,
.cardPadder-mixedPortrait, .cardPadder-mixedPortrait,
.cardPadder-overflowPortrait, .cardPadder-overflowPortrait,
.overflowPortraitCard-textCardPadder { .overflowPortraitCard-textCardPadder {
padding-bottom: 150%; padding-bottom: 150%;
contain: strict; contain: strict;
} }
@ -621,7 +621,7 @@ button::-moz-focus-inner {
} }
.overflowSquareCard, .overflowSquareCard,
.overflowPortraitCard { .overflowPortraitCard {
width: 40vw; width: 40vw;
} }
@ -756,7 +756,7 @@ button::-moz-focus-inner {
} }
.itemsContainer-tv > .overflowSquareCard, .itemsContainer-tv > .overflowSquareCard,
.itemsContainer-tv > .overflowPortraitCard { .itemsContainer-tv > .overflowPortraitCard {
width: 15.6vw; width: 15.6vw;
} }

View file

@ -92,7 +92,7 @@
} }
.channelPrograms, .channelPrograms,
.timeslotHeadersInner { .timeslotHeadersInner {
width: 1800vw; width: 1800vw;
} }
@ -125,12 +125,12 @@
} }
.programCell, .programCell,
.guide-channelHeaderCell { .guide-channelHeaderCell {
outline: none !important; outline: none !important;
} }
.guide-channelHeaderCell, .guide-channelHeaderCell,
.guide-channelTimeslotHeader { .guide-channelTimeslotHeader {
padding: 0 !important; padding: 0 !important;
cursor: pointer; cursor: pointer;
outline: none !important; outline: none !important;
@ -167,7 +167,7 @@
This was causing channelsContainer to extend beyond the fixed width on ps4, tizen, lg and opera tv. This was causing channelsContainer to extend beyond the fixed width on ps4, tizen, lg and opera tv.
*/ */
.channelsContainer, .channelsContainer,
.guide-channelTimeslotHeader { .guide-channelTimeslotHeader {
width: 24vw; width: 24vw;
} }
@ -221,18 +221,18 @@
} }
} }
.channelPrograms + .channelPrograms, .channelPrograms + .channelPrograms,
.guide-channelHeaderCell + .guide-channelHeaderCell { .guide-channelHeaderCell + .guide-channelHeaderCell {
margin-top: -1px; margin-top: -1px;
} }
.channelPrograms-tv, .channelPrograms-tv,
.guide-channelHeaderCell-tv { .guide-channelHeaderCell-tv {
height: 3em; height: 3em;
} }
.guide-channelTimeslotHeader, .guide-channelTimeslotHeader,
.timeslotHeader { .timeslotHeader {
background: transparent !important; background: transparent !important;
height: 2.8em; height: 2.8em;
} }
@ -377,12 +377,12 @@
} }
.channelsContainer, .channelsContainer,
.programGrid { .programGrid {
contain: layout style paint; contain: layout style paint;
} }
.timerIcon, .timerIcon,
.seriesTimerIcon { .seriesTimerIcon {
color: #c33 !important; color: #c33 !important;
} }
@ -425,11 +425,11 @@
font-weight: normal; font-weight: normal;
} }
.guide-date-tab-button.emby-tab-button-active { .guide-date-tab-button.emby-tab-button-active {
border-color: transparent !important; border-color: transparent !important;
} }
.guide-date-tab-button.show-focus:focus { .guide-date-tab-button.show-focus:focus {
border-radius: 0.15em !important; border-radius: 0.15em !important;
transform: none !important; transform: none !important;
} }

View file

@ -86,7 +86,7 @@
} }
.missingIndicator, .missingIndicator,
.unairedIndicator { .unairedIndicator {
background: #c33; background: #c33;
padding: 0.25em 0.5em; padding: 0.25em 0.5em;
border-radius: 100em; border-radius: 100em;

View file

@ -54,14 +54,14 @@
} }
.listItemImage, .listItemImage,
.listItemIcon, .listItemIcon,
.listItemAside { .listItemAside {
flex-shrink: 0; flex-shrink: 0;
} }
.listItemBody, .listItemBody,
.listItemImage, .listItemImage,
.listItemIcon { .listItemIcon {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
@ -90,8 +90,8 @@
} }
.listItem, .listItem,
.listItemBody, .listItemBody,
.listItemMediaInfo { .listItemMediaInfo {
display: flex; display: flex;
contain: layout style; contain: layout style;
} }

View file

@ -371,9 +371,9 @@
border-color: inherit; border-color: inherit;
} }
.mdl-spinner__circle-clipper .mdl-spinner__circle { .mdl-spinner__circle-clipper .mdl-spinner__circle {
width: 200%; width: 200%;
} }
.mdl-spinner__circleLeft { .mdl-spinner__circleLeft {
border-right-color: transparent !important; border-right-color: transparent !important;

View file

@ -29,7 +29,7 @@
} }
.mediaButton, .mediaButton,
.nowPlayingBarUserDataButtons .btnUserItemRating { .nowPlayingBarUserDataButtons .btnUserItemRating {
vertical-align: middle; vertical-align: middle;
margin: 0; margin: 0;
text-align: center; text-align: center;

View file

@ -4,13 +4,13 @@
} }
.slideshowSwiperContainer, .slideshowSwiperContainer,
.swiper-wrapper, .swiper-wrapper,
.swiper-slide { .swiper-slide {
background: #000; background: #000;
} }
.slideshowImage, .slideshowImage,
.slideshowSwiperContainer { .slideshowSwiperContainer {
position: fixed; position: fixed;
top: 0; top: 0;
right: 0; right: 0;

View file

@ -9,13 +9,13 @@
align-items: center; align-items: center;
} }
.youtubePlayerContainer.onTop { .youtubePlayerContainer.onTop {
z-index: 1000; z-index: 1000;
} }
.youtubePlayerContainer video { .youtubePlayerContainer video {
margin: 0 !important; margin: 0 !important;
padding: 0 !important; padding: 0 !important;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }

View file

@ -131,25 +131,25 @@
z-index: 1; z-index: 1;
} }
.paper-icon-button-light::-moz-focus-inner { .paper-icon-button-light::-moz-focus-inner {
border: 0; border: 0;
} }
.paper-icon-button-light:disabled { .paper-icon-button-light:disabled {
opacity: 0.3; opacity: 0.3;
cursor: default; cursor: default;
} }
.paper-icon-button-light > i { .paper-icon-button-light > i {
font-size: 1.66956521739130434em; font-size: 1.66956521739130434em;
/* Make sure its on top of the ripple */ /* Make sure its on top of the ripple */
position: relative; position: relative;
z-index: 1; z-index: 1;
vertical-align: middle; vertical-align: middle;
} }
.paper-icon-button-light > div { .paper-icon-button-light > div {
max-height: 100%; max-height: 100%;
transform: scale(1.8); transform: scale(1.8);
position: relative; position: relative;
@ -157,7 +157,7 @@
vertical-align: middle; vertical-align: middle;
display: inline; display: inline;
margin: 0 auto; margin: 0 auto;
} }
.emby-button-foreground { .emby-button-foreground {
position: relative; position: relative;

View file

@ -101,11 +101,11 @@
flex-wrap: wrap; flex-wrap: wrap;
} }
.checkboxList-verticalwrap > .emby-checkbox-label { .checkboxList-verticalwrap > .emby-checkbox-label {
display: inline-flex; display: inline-flex;
margin: 0.3em 0 0.3em 0; margin: 0.3em 0 0.3em 0;
width: 12em; width: 12em;
} }
.checkboxList-paperList { .checkboxList-paperList {
padding: 1em !important; padding: 1em !important;

View file

@ -21,9 +21,9 @@
width: 100%; width: 100%;
} }
.emby-input::-moz-focus-inner { .emby-input::-moz-focus-inner {
border: 0; border: 0;
} }
.inputContainer { .inputContainer {
margin-bottom: 1.8em; margin-bottom: 1.8em;

View file

@ -20,14 +20,14 @@
width: 100%; width: 100%;
} }
.emby-select[disabled] { .emby-select[disabled] {
background: none !important; background: none !important;
border-color: transparent !important; border-color: transparent !important;
color: inherit !important; color: inherit !important;
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none; -moz-appearance: none;
appearance: none; appearance: none;
} }
.emby-select::-moz-focus-inner { .emby-select::-moz-focus-inner {
border: 0; border: 0;
@ -38,10 +38,10 @@
font-size: inherit; font-size: inherit;
} }
.selectContainer-inline > .emby-select[disabled] { .selectContainer-inline > .emby-select[disabled] {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
.emby-select-focusscale { .emby-select-focusscale {
transition: transform 180ms ease-out !important; transition: transform 180ms ease-out !important;
@ -49,10 +49,10 @@
transform-origin: center center; transform-origin: center center;
} }
.emby-select-focusscale:focus { .emby-select-focusscale:focus {
transform: scale(1.04); transform: scale(1.04);
z-index: 1; z-index: 1;
} }
.emby-select + .fieldDescription { .emby-select + .fieldDescription {
margin-top: 0.25em; margin-top: 0.25em;

View file

@ -31,46 +31,46 @@
display: block; display: block;
} }
.mdl-slider::-moz-focus-outer { .mdl-slider::-moz-focus-outer {
border: 0; border: 0;
} }
.mdl-slider::-ms-tooltip { .mdl-slider::-ms-tooltip {
display: none; display: none;
} }
.mdl-slider::-webkit-slider-runnable-track { .mdl-slider::-webkit-slider-runnable-track {
background: transparent; background: transparent;
} }
.mdl-slider::-moz-range-track { .mdl-slider::-moz-range-track {
background: #444; background: #444;
border: none; border: none;
width: calc(100% - 20px); width: calc(100% - 20px);
} }
.mdl-slider::-moz-range-progress { .mdl-slider::-moz-range-progress {
background: #00a4dc; background: #00a4dc;
width: calc(100% - 20px); width: calc(100% - 20px);
} }
.mdl-slider::-ms-track { .mdl-slider::-ms-track {
background: none; background: none;
color: transparent; color: transparent;
height: 0.2em; height: 0.2em;
width: 100%; width: 100%;
border: none; border: none;
} }
.mdl-slider::-ms-fill-lower { .mdl-slider::-ms-fill-lower {
display: none; display: none;
} }
.mdl-slider::-ms-fill-upper { .mdl-slider::-ms-fill-upper {
display: none; display: none;
} }
.mdl-slider::-webkit-slider-thumb { .mdl-slider::-webkit-slider-thumb {
-webkit-appearance: none; -webkit-appearance: none;
width: 1.2em; width: 1.2em;
height: 1.2em; height: 1.2em;
@ -79,7 +79,7 @@
background: #00a4dc; background: #00a4dc;
border: none; border: none;
transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1); transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), border 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
} }
.mdl-slider-hoverthumb::-webkit-slider-thumb { .mdl-slider-hoverthumb::-webkit-slider-thumb {
transform: none; transform: none;

View file

@ -21,9 +21,9 @@
width: 100%; width: 100%;
} }
.emby-textarea::-moz-focus-inner { .emby-textarea::-moz-focus-inner {
border: 0; border: 0;
} }
.textareaLabel { .textareaLabel {
display: inline-block; display: inline-block;