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

478 lines
8.9 KiB
SCSS
Raw Normal View History

@import '../../styles/mixins';
.nowPlayingPage {
padding: 5em 0 0 0 !important;
}
2018-10-23 01:13:23 +03:00
.nowPlayingInfoContainer {
display: flex;
flex-direction: row;
2020-11-29 21:10:10 +08:00
flex-shrink: 0;
2018-10-23 01:13:23 +03:00
}
2019-11-20 18:02:32 +01:00
.navigationSection {
text-align: center;
2019-11-20 18:02:32 +01:00
}
2020-01-22 21:40:45 +01:00
.btnArrowUp {
2020-01-10 18:02:08 +01:00
border-radius: 40% 40% 10% 10%;
2020-01-06 00:34:43 +01:00
}
2020-01-22 21:40:45 +01:00
.btnArrowLeft {
2020-01-10 18:02:08 +01:00
border-radius: 40% 10% 10% 40%;
2020-01-06 00:34:43 +01:00
}
2020-01-22 21:40:45 +01:00
.btnArrowRight {
2020-01-10 18:02:08 +01:00
border-radius: 10% 40% 40% 10%;
2020-01-06 00:34:43 +01:00
}
2020-01-22 21:40:45 +01:00
.btnArrowDown {
2020-01-10 18:02:08 +01:00
border-radius: 10% 10% 40% 40%;
2020-01-06 00:34:43 +01:00
}
2020-01-22 21:40:45 +01:00
.btnOk {
2020-01-10 18:02:08 +01:00
border-radius: 10%;
2020-01-06 00:34:43 +01:00
}
2018-10-23 01:13:23 +03:00
.nowPlayingPageTitle {
[dir="ltr"] & {
margin: 0 0 0.5em 0.5em;
}
[dir="rtl"] & {
margin: 0 0.5em 0.5em 0;
}
2018-10-23 01:13:23 +03:00
}
.nowPlayingAlbum a,
2020-04-09 19:15:27 -04:00
.nowPlayingArtist a {
font-weight: normal;
text-align: left !important;
color: inherit !important;
2020-04-09 19:15:27 -04:00
}
.nowPlayingButtonsContainer {
display: flex;
2022-07-08 22:25:41 -04:00
[dir="rtl"] & {
flex-direction: row-reverse;
}
2020-04-09 19:15:27 -04:00
}
2020-11-29 21:10:10 +08:00
.infoContainer,
.sliderContainer {
flex-shrink: 0;
}
2020-04-09 19:15:27 -04:00
.nowPlayingInfoContainerMedia {
text-align: left;
margin-bottom: 1em;
}
.nowPlayingPositionSlider {
width: stretch;
2020-04-09 19:15:27 -04:00
}
2018-10-23 01:13:23 +03:00
.nowPlayingPositionSliderContainer {
2020-04-09 19:15:27 -04:00
margin: 0.2em 1em 0.2em 1em;
width: 100%;
z-index: 0;
2018-10-23 01:13:23 +03:00
}
.nowPlayingInfoButtons {
display: flex;
align-items: center;
2020-11-29 21:10:10 +08:00
flex-shrink: 0;
2018-10-23 01:13:23 +03:00
}
.nowPlayingInfoControls,
.nowPlayingTime {
display: flex;
2018-10-23 01:13:23 +03:00
}
.nowPlayingPageImageContainer {
width: 16%;
2018-10-23 01:13:23 +03:00
position: relative;
flex-shrink: 0;
[dir="ltr"] & {
margin-right: 1em;
}
[dir="rtl"] & {
margin-left: 1em;
}
2018-10-23 01:13:23 +03:00
}
2020-04-09 19:15:27 -04:00
.nowPlayingPageImageContainerNoAlbum {
width: 100%;
position: relative;
2020-04-12 20:15:58 -04:00
}
.nowPlayingPageImageContainerNoAlbum button {
cursor: default;
2020-04-09 19:15:27 -04:00
}
2020-04-09 22:52:46 -04:00
.nowPlayingPageImageContainerNoAlbum::after {
2020-04-09 19:15:27 -04:00
content: "";
display: block;
padding-bottom: 100%;
}
.btnPlayPause {
2021-02-28 11:13:22 +03:00
font-size: 2em;
2020-04-09 19:15:27 -04:00
padding: 0;
}
2018-10-23 01:13:23 +03:00
.nowPlayingInfoControls {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
2018-10-23 01:13:23 +03:00
}
.nowPlayingPageImage {
2020-04-09 19:15:27 -04:00
display: block;
2018-10-23 01:13:23 +03:00
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
width: 100%;
2018-10-23 01:13:23 +03:00
box-shadow: 0 0 1.9vh #000;
border-radius: 0.2em;
2018-10-23 01:13:23 +03:00
user-select: none;
}
2020-04-09 19:15:27 -04:00
.contextMenuList {
padding: 1.5em 0;
}
.contextMenuList a {
color: inherit !important;
}
2020-04-26 02:37:28 +03:00
.contextMenuList .material-icons.listItemIcon {
2020-04-09 19:15:27 -04:00
font-size: x-large;
}
2020-04-12 10:50:13 -04:00
.nowPlayingSecondaryButtons {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: flex-end;
z-index: 0;
2020-04-12 10:50:13 -04:00
}
2020-06-22 10:51:42 +02:00
.layout-mobile .playlistSectionButtonTransparent {
2020-06-18 18:31:46 +02:00
background: rgba(0, 0, 0, 0) !important;
}
2020-06-22 10:51:42 +02:00
.layout-mobile .playlistSection .playlist,
.layout-mobile .playlistSection .contextMenu {
2020-06-18 18:31:46 +02:00
position: absolute;
top: 12.2em;
bottom: 4.2em;
overflow: scroll;
padding: 0 1em;
display: inline-block;
left: 0;
right: 0;
z-index: 1000;
}
2020-06-22 10:51:42 +02:00
.layout-mobile .playlistSectionButton {
2020-06-18 18:31:46 +02:00
position: fixed;
bottom: 0;
left: 0;
height: 4.2em;
right: 0;
Respect safe area (notch) of mobile devices This adds paddings to various containers so that buttons and contents are not hidden by the notch or the Home indicator (the gray bar at the bottom). - `src/assets/css/librarybrowser.scss` - `.skinHeader`: menu bar at the top. - `.padded-left` and `.padded-right`: the heading of library. - `src/assets/css/site.scss` - `.content-primary`, `.padded-bottom-page`, `.page`, `.pageWithAbsoluteTabs`, and `.pageTabContent`: settings and dashboards. - `src/elements/emby-scroller/emby-scroller.scss` - `.emby-scroller`: the library items. - `src/assets/css/videoosd.scss` - `.videoOsdBottom`: the video playback control buttons and the progress bar. - `src/components/alphaPicker/style.scss` - `.alphaPicker-fixed` and `.alphaPicker-fixed-right`: the alphabet picker. - `src/components/appFooter/appFooter.scss` - `.appfooter`: the bottom bar showing the currently playing media. - `src/components/multiSelect/multiSelect.scss` - `.selectionCommandsPanel`: the top bar when selecting multiple media. Shown when long-pressing media. - `src/components/remotecontrol/remotecontrol.scss` - `.playlistSectionButton`: the bottom bar for current playlist. Shown when touching `.appfooter`. - `src/components/toast/toast.scss` - `.toastContainer`: the toast. Shown when refreshing metadata. - `src/index.html` - `.mainDrawerHandle`: gesture area for the drawer. It seems conflicting with gestures of Safari. - `src/libraries/navdrawer/navdrawer.scss` - `.tmla-mask` and `.touch-menu-la`: the drawer. - `src/plugins/htmlVideoPlayer/style.scss` - `.videoPlayerContainer`: the video area when not fullscreen. - `.videoSubtitles`: the video subtitles for some devices, not including iPhone. - `src/plugins/youtubePlayer/style.scss` - `.youtubePlayerContainer` container for the YouTube plugin. Not tested.
2022-05-29 22:20:15 +09:00
padding-bottom: env(safe-area-inset-bottom);
@include conditional-max(padding-left, 7.3%, env(safe-area-inset-left));
@include conditional-max(padding-right, 7.3%, env(safe-area-inset-right));
2020-06-18 18:31:46 +02:00
}
.layout-desktop .playlistSectionButton,
.layout-tv .playlistSectionButton {
background: none;
2022-01-20 20:10:09 +03:00
color: inherit;
2020-06-18 18:31:46 +02:00
}
.layout-desktop .nowPlayingPlaylist,
.layout-tv .nowPlayingPlaylist {
background: none;
2020-06-18 18:31:46 +02:00
}
2020-06-22 10:51:42 +02:00
.layout-mobile .playlistSectionButton .btnTogglePlaylist {
2020-06-18 18:31:46 +02:00
font-size: larger;
margin: 0;
}
2020-06-22 10:51:42 +02:00
.layout-mobile .playlistSectionButton .btnSavePlaylist {
2020-06-18 18:31:46 +02:00
margin: 0;
border-radius: 0;
}
.layout-mobile .playlistSectionButton .volumecontrol {
margin: 0;
padding-right: 0;
2020-06-18 18:31:46 +02:00
border-radius: 0;
}
2020-06-22 10:51:42 +02:00
.layout-mobile .playlistSectionButton .btnToggleContextMenu {
2020-06-18 18:31:46 +02:00
font-size: larger;
margin: 0;
}
.layout-mobile .nowPlayingSecondaryButtons .volumecontrol {
display: none;
}
.layout-desktop .nowPlayingInfoButtons .btnRepeat,
.layout-tv .nowPlayingInfoButtons .btnRepeat {
display: none;
}
.layout-desktop .nowPlayingInfoButtons .btnShuffleQueue,
.layout-tv .nowPlayingInfoButtons .btnShuffleQueue {
display: none;
}
.layout-desktop .playlistSectionButton .volumecontrol,
.layout-tv .playlistSectionButton .volumecontrol {
display: none;
}
.nowPlayingInfoControls .nowPlayingPageUserDataButtonsTitle {
display: none;
2020-06-18 18:31:46 +02:00
}
.layout-mobile .nowPlayingPageUserDataButtons {
display: none;
}
2020-04-12 10:50:13 -04:00
@media all and (min-width: 63em) {
.nowPlayingPage {
padding: 8em 0 0 0 !important;
}
2020-04-12 10:50:13 -04:00
}
@media all and (min-width: 80em) {
.nowPlayingPageImageContainer {
[dir="ltr"] & {
margin-right: 0.75em;
}
[dir="rtl"] & {
margin-left: 0.75em;
}
2020-04-12 10:50:13 -04:00
}
}
2020-06-18 18:31:46 +02:00
@media all and (orientation: portrait) and (max-width: 43em) {
2020-04-09 19:15:27 -04:00
.remoteControlContent {
padding-left: 7.3% !important;
padding-right: 7.3% !important;
height: 100%;
}
2020-04-09 22:52:46 -04:00
.layout-desktop .nowPlayingPageUserDataButtons {
display: none;
}
2018-10-23 01:13:23 +03:00
.nowPlayingInfoContainer {
flex-direction: column !important;
align-items: center;
2020-04-09 19:15:27 -04:00
width: 100%;
height: calc(100% - 4.2em);
2018-10-23 01:13:23 +03:00
}
.nowPlayingPageTitle {
2020-04-09 19:15:27 -04:00
margin: 0;
}
2020-04-09 22:52:46 -04:00
.nowPlayingAlbum,
.nowPlayingArtist {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2020-04-09 19:15:27 -04:00
.nowPlayingInfoContainerMedia {
text-align: left !important;
width: 80%;
2018-10-23 01:13:23 +03:00
}
.nowPlayingPositionSliderContainer {
2020-04-09 19:15:27 -04:00
margin: 0.2em 1em 0.2em 1em;
2018-10-23 01:13:23 +03:00
}
.nowPlayingInfoButtons {
justify-content: center;
2021-02-28 11:13:22 +03:00
font-size: 1.5em;
margin-left: -0.5em;
margin-right: -0.5em;
2018-10-23 01:13:23 +03:00
}
.nowPlayingPageImageContainer {
2022-02-25 01:40:54 -05:00
display: flex;
flex-direction: column;
flex-grow: 1;
flex-shrink: 1;
2022-02-25 01:40:54 -05:00
align-items: center;
justify-content: center;
2020-04-09 19:15:27 -04:00
width: 100%;
min-height: 0;
margin: 0 auto 0.5em;
2018-10-23 01:13:23 +03:00
}
2020-04-09 22:52:46 -04:00
2020-04-09 19:15:27 -04:00
.nowPlayingPageImageContainerNoAlbum .cardImageContainer .cardImageIcon {
font-size: 15em;
color: inherit;
}
2020-04-09 22:52:46 -04:00
2018-10-23 01:13:23 +03:00
.nowPlayingInfoControls {
flex-grow: 0;
flex-shrink: 1;
margin: 0.5em 0 0;
2020-04-09 19:15:27 -04:00
width: 100%;
justify-content: start !important;
2018-10-23 01:13:23 +03:00
}
2020-04-09 22:52:46 -04:00
2020-04-09 19:15:27 -04:00
.nowPlayingSecondaryButtons {
2020-04-12 10:50:13 -04:00
justify-content: center;
2020-04-09 19:15:27 -04:00
}
2020-04-09 22:52:46 -04:00
2020-04-09 19:15:27 -04:00
.nowPlayingInfoControls .nowPlayingPageUserDataButtonsTitle {
width: 20%;
font-size: large;
display: unset;
2020-04-09 19:15:27 -04:00
}
2020-04-09 22:52:46 -04:00
2020-04-09 19:15:27 -04:00
.nowPlayingInfoControls .nowPlayingPageUserDataButtonsTitle button {
padding-top: 0;
border-radius: 0;
margin-left: 0;
margin-right: 0;
[dir="ltr"] & {
padding-right: 0;
float: right;
}
[dir="rtl"] & {
padding-left: 0;
float: left;
}
2020-04-09 19:15:27 -04:00
}
2020-04-09 22:52:46 -04:00
.nowPlayingInfoButtons .btnRepeat,
.nowPlayingInfoButtons .btnRewind {
2020-04-09 22:52:46 -04:00
font-size: smaller;
[dir="ltr"] & {
margin-left: 0;
margin-right: auto;
}
[dir="rtl"] & {
margin-right: 0;
margin-left: auto;
}
2020-04-09 19:15:27 -04:00
}
2020-04-09 22:52:46 -04:00
.nowPlayingInfoButtons .btnShuffleQueue,
.nowPlayingInfoButtons .btnFastForward {
2020-04-09 22:52:46 -04:00
font-size: smaller;
[dir="ltr"] & {
margin-left: auto;
margin-right: 0;
}
[dir="rtl"] & {
margin-right: auto;
margin-left: 0;
}
2020-04-09 19:15:27 -04:00
}
2020-04-09 22:52:46 -04:00
2020-10-31 19:56:30 +03:00
.paper-icon-button-light {
2020-04-09 19:15:27 -04:00
background-color: transparent !important;
}
2020-04-09 22:52:46 -04:00
2020-04-09 22:56:14 -04:00
.btnPlayPause {
2020-04-09 22:52:46 -04:00
padding: 0;
margin: 0;
2021-03-28 18:52:25 +03:00
font-size: 2em;
2020-04-09 22:52:46 -04:00
}
2022-02-28 01:39:12 -05:00
.nowPlayingPageImage.nowPlayingPageImageAudio,
.nowPlayingPageImage.nowPlayingPageImagePoster {
width: auto;
max-width: 100%;
max-height: 100%;
2018-10-23 01:13:23 +03:00
}
2020-04-09 22:52:46 -04:00
2020-04-12 20:15:58 -04:00
.playlistSectionButton .volumecontrol {
width: 100%;
}
2020-04-12 10:50:13 -04:00
.remoteControlSection {
margin: 4.2em 0 0 0;
2020-04-12 20:15:58 -04:00
padding: 0 0 4.2em 0;
2020-04-12 10:50:13 -04:00
}
.nowPlayingButtonsContainer {
display: flex;
2022-07-08 22:25:41 -04:00
flex-direction: column !important;
2018-10-23 01:13:23 +03:00
}
}
2020-04-12 10:50:13 -04:00
.nowPlayingTime {
display: flex;
align-items: center;
margin: 0 1em;
}
2018-10-23 01:13:23 +03:00
.nowPlayingNavButtonContainer {
width: 30em;
2018-10-23 01:13:23 +03:00
}
.smallBackdropPosterItem .cardOverlayInner > div {
2018-10-23 01:13:23 +03:00
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
2018-10-23 01:13:23 +03:00
}
.playlistIndexIndicatorImage {
background-size: initial !important;
2020-01-24 02:50:59 +09:00
background-image: url(../../assets/img/equalizer.gif) !important;
2018-10-23 01:13:23 +03:00
}
.playlistIndexIndicatorImage > * {
display: none;
}
.playlistIndexIndicatorImage.playlistIndexIndicatorPausedImage {
background-image: url(../../assets/img/equalizer-paused.png) !important;
}
2018-10-23 01:13:23 +03:00
.hideVideoButtons .videoButton {
display: none;
2018-10-23 01:13:23 +03:00
}
.nowPlayingVolumeSliderContainer {
width: 9em;
}
2020-04-12 10:50:13 -04:00
@media all and (max-width: 63em) {
2020-04-09 19:15:27 -04:00
.nowPlayingInfoButtons .playlist .listItemMediaInfo,
.nowPlayingInfoButtons .btnStop {
display: none !important;
}
2020-01-22 21:40:45 +01:00
2020-04-26 02:37:28 +03:00
.navigationSection .collapseContent .material-icons {
2020-01-06 00:34:43 +01:00
font-size: 4em;
}
}