owntone-server/web-src/src/mystyles.scss

140 lines
2.4 KiB
SCSS
Raw Normal View History

2022-02-19 06:18:01 +01:00
@charset "utf-8";
2024-12-28 05:01:08 +01:00
@use 'bulma/bulma';
@use 'bulma/sass/utilities/mixins';
.fd-tabs-section {
padding-bottom: 0;
padding-top: 0;
2024-09-09 20:55:41 +02:00
background: var(--bulma-body-background-color);
z-index: 20;
position: fixed;
width: 100%;
}
.fd-has-shadow img {
2023-11-21 17:09:06 +01:00
box-shadow:
2024-09-09 20:55:41 +02:00
0 0.25rem 0.5rem 0 var(--bulma-background-active),
0 0.375rem 1.25rem 0 var(--bulma-background-active);
2022-02-19 06:18:01 +01:00
}
.is-full-height {
2024-09-09 20:55:41 +02:00
min-height: calc(100vh - calc(2 * var(--bulma-navbar-height)));
2020-10-07 09:03:02 +02:00
}
2024-03-28 15:45:39 +01:00
.is-disabled {
cursor: not-allowed;
opacity: 0.5;
> * {
pointer-events: none;
}
}
2024-09-24 20:31:51 +02:00
.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 {
2024-09-09 20:55:41 +02:00
border-radius: var(--bulma-radius-small);
max-width: 4rem;
max-height: 4rem;
}
}
&-medium-image {
2024-12-28 05:01:08 +01:00
@include mixins.tablet {
justify-content: right;
}
img {
2024-09-09 20:55:41 +02:00
border-radius: var(--bulma-radius);
max-height: calc(150px - 1.5rem);
}
}
&-normal-image {
img {
2024-09-09 20:55:41 +02:00
border-radius: var(--bulma-radius-large);
width: 100%;
}
}
&-big-image {
2024-12-28 05:01:08 +01:00
@include mixins.mobile {
@media screen and (orientation: landscape) {
img {
display: none;
}
}
}
img {
2024-09-09 20:55:41 +02:00
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 */
2024-03-05 13:25:07 +01:00
.modal-content .card-content {
2024-09-24 20:31:51 +02:00
max-height: calc(100vh - calc(4 * var(--bulma-navbar-height)));
overflow: auto;
}
.buttons {
2024-12-28 05:01:08 +01:00
@include mixins.mobile {
2024-09-24 20:31:51 +02:00
&.is-centered-mobile {
justify-content: center;
&:not(.has-addons) {
2024-09-24 20:31:51 +02:00
.button {
margin-left: 0.25rem;
margin-right: 0.25rem;
}
}
}
}
}
.column {
&.fd-has-cover {
2024-12-28 05:01:08 +01:00
@include mixins.mobile {
margin: auto;
}
2024-12-28 05:01:08 +01:00
@include mixins.tablet {
margin-right: 0;
}
}
}
2024-09-24 20:31:51 +02:00
.overlay-fullscreen {
@extend .is-overlay;
z-index: 25;
background-color: rgba(10, 10, 10, 0.2);
position: fixed;
2020-05-16 13:54:24 +02:00
}
.hero-body {
padding: 1.5rem !important;
}
2024-09-09 20:55:41 +02:00
.dropdown-menu {
2024-12-28 05:01:08 +01:00
@include mixins.mobile {
2024-09-09 20:55:41 +02:00
width: 100vw;
}
}
.dropdown-content {
max-height: calc(100vh - calc(2 * var(--bulma-navbar-height)));
overflow: auto;
}