mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2026-10-26 17:39:34 +00:00
Compare commits
2
Commits
da00ec6b39
...
50e5ec40b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50e5ec40b0 | ||
|
|
f891e7d486 |
@@ -972,8 +972,6 @@ select {
|
|||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
transition: width 0.5s;
|
transition: width 0.5s;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
scroll-snap-align: center;
|
|
||||||
scroll-snap-stop: always;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this makes the cards bigger and center aligned on older browsers */
|
/* this makes the cards bigger and center aligned on older browsers */
|
||||||
@@ -985,6 +983,8 @@ select {
|
|||||||
|
|
||||||
.layout-mobile .card {
|
.layout-mobile .card {
|
||||||
--padding: 1px;
|
--padding: 1px;
|
||||||
|
scroll-snap-align: center;
|
||||||
|
scroll-snap-stop: always;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this makes the card sizes smaller when phone is in landscape mode */
|
/* this makes the card sizes smaller when phone is in landscape mode */
|
||||||
@@ -1764,6 +1764,10 @@ progress + span {
|
|||||||
border-width: 0.25em;
|
border-width: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sliderContainer {
|
||||||
|
--thumb: 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
.mdl-slider-container {
|
.mdl-slider-container {
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
@@ -1773,21 +1777,31 @@ progress + span {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mdl-slider-background-flex-container {
|
.mdl-slider-background-flex-container {
|
||||||
padding: 0;
|
padding: 0 calc(var(--thumb) / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sliderBubbleTrack {
|
||||||
|
margin: 0 calc(var(--thumb) / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sliderBubbleText {
|
||||||
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this is the osd player slider */
|
/* this is the osd player slider */
|
||||||
.mdl-slider-background-flex {
|
.mdl-slider-background-flex {
|
||||||
border-radius: var(--smallRadius);
|
border-radius: var(--thumb);
|
||||||
height: 0.4em;
|
height: var(--thumb);
|
||||||
margin-top: -0.2em;
|
margin-top: calc(var(--thumb) / -2);
|
||||||
background: var(--osdSeekBarBufferedColorAlpha);
|
background: var(--osdSeekBarBufferedColorAlpha);
|
||||||
transition: 0.2s linear;
|
transition: 0.2s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderContainer:active .mdl-slider-background-flex {
|
.sliderContainer:active .mdl-slider-background-flex {
|
||||||
height: 0.6em;
|
--h: calc(var(--thumb) * 1.5);
|
||||||
margin-top: -0.3em;
|
height: var(--h);
|
||||||
|
border-radius: var(--h);
|
||||||
|
margin-top: calc(var(--h) / -2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mdl-slider-background-lower {
|
.mdl-slider-background-lower {
|
||||||
@@ -1800,47 +1814,36 @@ progress + span {
|
|||||||
|
|
||||||
.mdl-slider::-webkit-slider-thumb {
|
.mdl-slider::-webkit-slider-thumb {
|
||||||
background: var(--osdSeekBarThumbColor);
|
background: var(--osdSeekBarThumbColor);
|
||||||
width: 0.4em !important;
|
width: var(--thumb) !important;
|
||||||
height: 0.4em !important;
|
height: var(--thumb) !important;
|
||||||
border-radius: 0.4em;
|
border-radius: var(--thumb);
|
||||||
|
transition: 0.2s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderContainer:hover .mdl-slider::-webkit-slider-thumb {
|
.mdl-slider:hover::-webkit-slider-thumb,
|
||||||
width: 0.2em !important;
|
.layout-mobile .mdl-slider::-webkit-slider-thumb,
|
||||||
height: 0.8em !important;
|
|
||||||
border-radius: 0.2em;
|
|
||||||
transform: scale(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.sliderContainer:active .mdl-slider::-webkit-slider-thumb,
|
|
||||||
.mdl-slider.show-focus:focus::-webkit-slider-thumb {
|
.mdl-slider.show-focus:focus::-webkit-slider-thumb {
|
||||||
width: 0.2em !important;
|
width: calc(var(--thumb) * 1.25) !important;
|
||||||
height: 0.8em !important;
|
height: calc(var(--thumb) * 5) !important;
|
||||||
border-radius: 0.2em;
|
border-radius: var(--thumb);
|
||||||
transform: scale(1) scaleY(1.25);
|
transform: scale(0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* These Firefox thumb styles are separate because combining them breaks the effect from chrome */
|
/* These Firefox thumb styles are separate because combining them breaks the effect on chrome */
|
||||||
.mdl-slider::-moz-range-thumb {
|
.mdl-slider::-moz-range-thumb {
|
||||||
background: var(--osdSeekBarThumbColor);
|
background: var(--osdSeekBarThumbColor);
|
||||||
width: 0.4em !important;
|
width: var(--thumb) !important;
|
||||||
height: 0.4em !important;
|
height: var(--thumb) !important;
|
||||||
border-radius: 0.4em;
|
border-radius: var(--thumb);
|
||||||
|
transition: 0.2s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderContainer:hover .mdl-slider::-moz-range-thumb {
|
.mdl-slider:hover::-moz-range-thumb,
|
||||||
width: 0.2em !important;
|
|
||||||
height: 0.8em !important;
|
|
||||||
border-radius: 0.2em;
|
|
||||||
transform: scale(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.sliderContainer:active .mdl-slider::-moz-range-thumb,
|
|
||||||
.mdl-slider.show-focus:focus::-moz-range-thumb {
|
.mdl-slider.show-focus:focus::-moz-range-thumb {
|
||||||
width: 0.2em !important;
|
width: calc(var(--thumb) * 1.25) !important;
|
||||||
height: 0.8em !important;
|
height: calc(var(--thumb) * 5) !important;
|
||||||
border-radius: 0.2em;
|
border-radius: var(--thumb);
|
||||||
transform: scale(1) scaleY(1.25);
|
transform: scale(0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderMarkerContainer {
|
.sliderMarkerContainer {
|
||||||
@@ -3542,10 +3545,6 @@ div[data-role="controlgroup"] a.ui-btn-active {
|
|||||||
border: var(--defaultBorder) !important;
|
border: var(--defaultBorder) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderBubbleText {
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
border-radius: var(--smallRadius);
|
border-radius: var(--smallRadius);
|
||||||
border: var(--defaultBorder);
|
border: var(--defaultBorder);
|
||||||
|
|||||||
Reference in new issue
Block a user