mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-04 07:40:12 -05:00
140 lines
2.4 KiB
SCSS
140 lines
2.4 KiB
SCSS
@charset "utf-8";
|
|
|
|
@use 'bulma/bulma';
|
|
@use 'bulma/sass/utilities/mixins';
|
|
|
|
.fd-tabs-section {
|
|
padding-bottom: 0;
|
|
padding-top: 0;
|
|
background: var(--bulma-body-background-color);
|
|
z-index: 20;
|
|
position: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
.fd-has-shadow img {
|
|
box-shadow:
|
|
0 0.25rem 0.5rem 0 var(--bulma-background-active),
|
|
0 0.375rem 1.25rem 0 var(--bulma-background-active);
|
|
}
|
|
|
|
.is-full-height {
|
|
min-height: calc(100vh - calc(2 * var(--bulma-navbar-height)));
|
|
}
|
|
|
|
.is-disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
> * {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.navbar-item {
|
|
width: var(--bulma-navbar-height);
|
|
justify-content: center;
|
|
}
|
|
|
|
.fd-cover {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
&-small-image {
|
|
width: 4rem;
|
|
height: 4rem;
|
|
img {
|
|
border-radius: var(--bulma-radius-small);
|
|
max-width: 4rem;
|
|
max-height: 4rem;
|
|
}
|
|
}
|
|
&-medium-image {
|
|
@include mixins.tablet {
|
|
justify-content: right;
|
|
}
|
|
img {
|
|
border-radius: var(--bulma-radius);
|
|
max-height: calc(150px - 1.5rem);
|
|
}
|
|
}
|
|
&-normal-image {
|
|
img {
|
|
border-radius: var(--bulma-radius-large);
|
|
width: 100%;
|
|
}
|
|
}
|
|
&-big-image {
|
|
@include mixins.mobile {
|
|
@media screen and (orientation: landscape) {
|
|
img {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
img {
|
|
border-radius: var(--bulma-radius-large);
|
|
max-height: calc(100vh - 26rem);
|
|
}
|
|
&.is-masked {
|
|
filter: blur(0.5rem) opacity(0.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.media:first-of-type {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
/* Only scroll content if modal contains a card component */
|
|
.modal-content .card-content {
|
|
max-height: calc(100vh - calc(4 * var(--bulma-navbar-height)));
|
|
overflow: auto;
|
|
}
|
|
|
|
.buttons {
|
|
@include mixins.mobile {
|
|
&.is-centered-mobile {
|
|
justify-content: center;
|
|
&:not(.has-addons) {
|
|
.button {
|
|
margin-left: 0.25rem;
|
|
margin-right: 0.25rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.column {
|
|
&.fd-has-cover {
|
|
@include mixins.mobile {
|
|
margin: auto;
|
|
}
|
|
@include mixins.tablet {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.overlay-fullscreen {
|
|
@extend .is-overlay;
|
|
z-index: 25;
|
|
background-color: rgba(10, 10, 10, 0.2);
|
|
position: fixed;
|
|
}
|
|
|
|
.hero-body {
|
|
padding: 1.5rem !important;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
@include mixins.mobile {
|
|
width: 100vw;
|
|
}
|
|
}
|
|
|
|
.dropdown-content {
|
|
max-height: calc(100vh - calc(2 * var(--bulma-navbar-height)));
|
|
overflow: auto;
|
|
}
|