Whilst the Frigate support in this card is the best among camera engines, the name incorrectly suggests that Frigate is a requirement. Instead, to broaden the appeal, change to more camera agnostic name. This does not suggest any change in priority, role or support for Frigate. This change is likely to be bug prone, due to the size of the rename -- the code contains 1500+ references to "Frigate" most of which make sense to rename, some which do not, all of which needed human assessment. - Closes #1298 BREAKING CHANGE: References to `frigate-card` in all kinds of configuration need to be updated to `advanced-camera-card`. An automated config upgrade should take care of the majority of usecases (click `Edit -> Upgrade -> Save`), though may not be perfect.
38 lines
890 B
SCSS
38 lines
890 B
SCSS
:host {
|
|
// Center unseekable icon.
|
|
position: relative;
|
|
|
|
--video-max-height: none;
|
|
}
|
|
|
|
// If the carousel has an unselected attribute set on it, do not let the
|
|
// pointer interact (e.g. hover, scroll) with underlying elements. This is used
|
|
// when the carousel is part of a media-grid. Without this next/prev controls
|
|
// will enlarge on hover, and the wheel-gestures plugin may block scrolling.
|
|
// See matching in live-carousel.scss .
|
|
:host([unselected]) advanced-camera-card-carousel,
|
|
:host([unselected]) .seek-warning {
|
|
pointer-events: none;
|
|
}
|
|
|
|
:host([unseekable]) advanced-camera-card-carousel {
|
|
filter: brightness(50%);
|
|
}
|
|
:host([unseekable]) .seek-warning {
|
|
display: block;
|
|
}
|
|
|
|
.seek-warning {
|
|
display: none;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
color: white;
|
|
}
|
|
|
|
.embla__slide {
|
|
height: 100%;
|
|
flex: 0 0 100%;
|
|
}
|