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

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.
48 lines
968 B
SCSS
48 lines
968 B
SCSS
.toastContainer {
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
pointer-events: none;
|
|
z-index: 9999999;
|
|
padding-left: 1em;
|
|
padding-left: max(env(safe-area-inset-left), 1em);
|
|
padding-right: 1em;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
padding-bottom: max(env(safe-area-inset-bottom), 1em);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.toast {
|
|
min-width: 20em;
|
|
box-sizing: border-box;
|
|
box-shadow: 0 0.0725em 0.29em 0 rgba(0, 0, 0, 0.37);
|
|
border-radius: 0.15em;
|
|
cursor: default;
|
|
transition: transform 0.3s ease-out;
|
|
min-height: initial;
|
|
padding: 1em 1.5em;
|
|
font-size: 110%;
|
|
margin: 0.25em 0;
|
|
margin-right: auto;
|
|
pointer-events: initial;
|
|
}
|
|
|
|
.toast:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.toast:last-child {
|
|
margin-bottom: 0;
|
|
transform: translateY(16em);
|
|
}
|
|
|
|
.toast.toastVisible {
|
|
transform: none;
|
|
}
|
|
|
|
.toast.toastHide {
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease-out;
|
|
}
|