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

124 lines
2.1 KiB
SCSS
Raw Normal View History

2018-10-23 01:13:23 +03:00
.alphaPicker {
text-align: center;
display: flex;
flex-direction: column;
align-self: center;
2018-10-23 01:13:23 +03:00
}
.alphaPicker-vertical {
line-height: 1;
2018-10-23 01:13:23 +03:00
}
.alphaPicker-fixed {
position: fixed;
bottom: 5.5em;
}
.alphaPickerRow {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
2018-10-23 01:13:23 +03:00
}
.alphaPickerRow-vertical {
flex-direction: column;
2018-10-23 01:13:23 +03:00
}
.alphaPickerButton {
border: 0 !important;
cursor: pointer;
outline: none !important;
2018-10-23 01:13:23 +03:00
vertical-align: middle;
font-family: inherit;
font-size: inherit;
min-width: initial;
margin: 0;
2020-01-19 15:00:37 +01:00
padding: 0.1em 0.4em;
2018-10-23 01:13:23 +03:00
width: auto;
2020-01-19 15:00:37 +01:00
border-radius: 0.1em;
font-weight: normal;
2018-10-23 01:13:23 +03:00
flex-shrink: 0;
flex-grow: 1;
2018-10-23 01:13:23 +03:00
}
@media all and (max-height: 50em) {
2018-10-23 01:13:23 +03:00
.alphaPicker-fixed {
bottom: 5em;
2018-10-23 01:13:23 +03:00
}
.alphaPickerButton-vertical {
padding-top: 1px !important;
padding-bottom: 1px !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-height: 49em) {
2018-10-23 01:13:23 +03:00
.alphaPicker-vertical {
font-size: 94%;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-height: 44em) {
2018-10-23 01:13:23 +03:00
.alphaPicker-vertical {
font-size: 90%;
2018-10-23 01:13:23 +03:00
}
.alphaPickerButton-vertical {
padding-top: 0 !important;
padding-bottom: 0 !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-height: 37em) {
2018-10-23 01:13:23 +03:00
.alphaPicker-vertical {
font-size: 82%;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-height: 32em) {
2018-10-23 01:13:23 +03:00
.alphaPicker-vertical {
font-size: 74%;
2018-10-23 01:13:23 +03:00
}
}
.alphaPicker-vertical.alphaPicker-tv {
font-size: 86%;
2018-10-23 01:13:23 +03:00
}
.alphaPickerButton-tv.alphaPickerButton-vertical {
padding: 0;
2018-10-23 01:13:23 +03:00
}
.alphaPickerButton-vertical {
/* Assign a fixed width to ensure they have the same dimensions and avoid throwing off directional navigation */
2018-10-23 01:13:23 +03:00
width: 1.5em;
display: flex;
justify-content: center;
text-align: center;
2018-10-23 01:13:23 +03:00
}
.alphaPickerButtonIcon {
font-size: 100% !important;
2018-10-23 01:13:23 +03:00
}
.alphaPicker-fixed.alphaPicker-tv {
bottom: 1%;
2018-10-23 01:13:23 +03:00
}
.alphaPicker-fixed-right {
2020-01-19 15:00:37 +01:00
right: 0.4em;
2018-10-23 01:13:23 +03:00
}
@media all and (min-width: 62.5em) {
2018-10-23 01:13:23 +03:00
.alphaPicker-fixed-right {
right: 1em;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-height: 31.25em) {
2018-10-23 01:13:23 +03:00
.alphaPicker-fixed {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}