74 lines
1.3 KiB
SCSS
74 lines
1.3 KiB
SCSS
@use "@material/image-list/mdc-image-list";
|
|
@use "@material/image-list";
|
|
|
|
.frigate-card-viewer {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
}
|
|
|
|
.frigate-card-gallery {
|
|
overflow: auto;
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
right: 0px;
|
|
top: 0px;
|
|
height: 100%;
|
|
|
|
-ms-overflow-style: none; // Hide scrollbar: IE and Edge
|
|
scrollbar-width: none; // Hide scrollbar: Firefox
|
|
}
|
|
|
|
.frigate-card-attention {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
.frigate-card-gallery::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.frigate-card-image-list {
|
|
@include image-list.standard-columns(5);
|
|
@include image-list.shape-radius(5px);
|
|
}
|
|
|
|
.frigate-card-image-list-icon-overlay {
|
|
position: absolute;
|
|
margin: auto;
|
|
}
|
|
|
|
.frigate-card-image-list-highlight {
|
|
// Put border inside.
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
|
|
opacity: 0.5;
|
|
|
|
border-style: dashed;
|
|
border-width: 1px;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.invisible {
|
|
visibility: hidden;
|
|
}
|
|
.visibile {
|
|
visibility: visible;
|
|
}
|
|
|
|
ha-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: auto;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|