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/upnextdialog/upnextdialog.scss

57 lines
973 B
SCSS
Raw Normal View History

2020-08-20 20:39:33 +02:00
.upNextContainer {
2018-10-23 01:13:23 +03:00
position: fixed;
2020-08-22 14:07:54 +02:00
right: 0;
2018-10-23 01:13:23 +03:00
bottom: 0;
2020-08-20 20:39:33 +02:00
width: 30em;
2020-08-22 14:07:54 +02:00
padding: 1em;
2018-10-23 01:13:23 +03:00
display: flex;
flex-direction: column;
will-change: transform, opacity;
transition: opacity 300ms ease-out;
2019-05-20 00:27:09 -07:00
background-color: rgba(0, 0, 0, 0.7);
2018-10-23 01:13:23 +03:00
color: #fff;
user-select: none;
2020-01-09 19:35:19 +01:00
-webkit-touch-callout: none;
[dir="ltr"] & {
margin: 0 2em 2em 0;
}
[dir="rtl"] & {
margin: 0 0 2em 2em;
}
2018-10-23 01:13:23 +03:00
}
.upNextDialog-hidden {
opacity: 0;
2018-10-23 01:13:23 +03:00
}
.upNextDialog-countdownText {
font-weight: 500;
2018-10-23 01:13:23 +03:00
}
2020-08-22 14:07:54 +02:00
.upNextDialog-nextVideoText,
.upNextDialog-title {
width: 25.5em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2018-10-23 01:13:23 +03:00
}
2020-08-20 12:27:25 +02:00
.upNextDialog-buttons {
2020-08-22 14:07:54 +02:00
width: 29.75em;
2020-08-20 12:27:25 +02:00
justify-content: end;
2020-08-22 14:07:54 +02:00
align-content: flex-end;
2020-08-20 12:27:25 +02:00
}
2018-10-23 01:13:23 +03:00
.upNextDialog-button {
background: #404040;
color: #fff;
2018-10-23 01:13:23 +03:00
}
@media all and (orientation: landscape) {
2018-10-23 01:13:23 +03:00
.upNextDialog {
flex-direction: row;
2018-10-23 01:13:23 +03:00
}
}