mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 18:10:49 +08:00
58 lines
1.2 KiB
SCSS
58 lines
1.2 KiB
SCSS
// These are styles which are both common in layout w/ vertical nav & horizontal nav
|
|
@use "@layouts/styles/rtl";
|
|
@use "@layouts/styles/placeholders";
|
|
@use "@layouts/styles/mixins";
|
|
@use "@configured-variables" as variables;
|
|
|
|
html {
|
|
min-height: calc(100% + env(safe-area-inset-top));
|
|
//background: rgb(var(--v-theme-background));
|
|
}
|
|
|
|
body {
|
|
//background: rgb(var(--v-theme-background));
|
|
overscroll-behavior-y: contain;
|
|
--webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
body,
|
|
#app,
|
|
.v-application {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.layout-vertical-nav {
|
|
padding-top: env(safe-area-inset-top);
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
.navbar-content-container {
|
|
padding-top: env(safe-area-inset-top);
|
|
}
|
|
|
|
.layout-page-content {
|
|
@include mixins.boxed-content(true);
|
|
|
|
flex-grow: 1;
|
|
overflow:hidden;
|
|
// TODO: Use grid gutter variable here
|
|
padding-block: 0.5rem;
|
|
padding-top: calc(env(safe-area-inset-top) + 70px);
|
|
}
|
|
|
|
.layout-footer {
|
|
.footer-content-container {
|
|
block-size: variables.$layout-vertical-nav-footer-height;
|
|
}
|
|
|
|
.layout-footer-sticky & {
|
|
position: sticky;
|
|
inset-block-end: 0;
|
|
will-change: transform;
|
|
}
|
|
|
|
.layout-footer-hidden & {
|
|
display: none;
|
|
}
|
|
}
|