38 lines
971 B
SCSS
38 lines
971 B
SCSS
@use "@material/image-list/mdc-image-list";
|
|
@use "@material/image-list";
|
|
|
|
:host {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
-ms-overflow-style: none; /* Hide scrollbar: IE and Edge */
|
|
scrollbar-width: none; /* Hide scrollbar: Firefox */
|
|
}
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
:host::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.frigate-card-gallery {
|
|
// Note: In fullscreen, number of columns is overwritten in Javascript based
|
|
// on dimensions.
|
|
@include image-list.standard-columns(5, 1px);
|
|
@include image-list.shape-radius(5px);
|
|
}
|
|
|
|
ha-card.frigate-card-gallery-folder {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
border-style: 2px solid;
|
|
opacity: 0.7;
|
|
color: var(--secondary-text-color, white);
|
|
border-color: var(--secondary-text-color, black);
|
|
background-color: var(--primary-background-color, black);
|
|
padding: 10px;
|
|
height: 100%;
|
|
} |