Add 'infinite' gallery support.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
.dotdotdot:after {
|
||||
@keyframes dots {
|
||||
0%,
|
||||
20% {
|
||||
content: '.';
|
||||
}
|
||||
40% {
|
||||
content: '..';
|
||||
}
|
||||
60% {
|
||||
content: '...';
|
||||
}
|
||||
90%,
|
||||
100% {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
||||
animation: dots 2s linear infinite;
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 3em;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
@use 'dotdotdot.scss';
|
||||
|
||||
:host {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
@@ -31,7 +33,10 @@
|
||||
text-align: center;
|
||||
color: var(--primary-text-color, white);
|
||||
border: 1px solid var(--primary-color);
|
||||
border-radius: var(--frigate-card-css-border-radius, var(--ha-card-border-radius, 4px));
|
||||
border-radius: var(
|
||||
--frigate-card-css-border-radius,
|
||||
var(--ha-card-border-radius, 4px)
|
||||
);
|
||||
|
||||
// Folder background color should match the thumbnail element background
|
||||
// color.
|
||||
|
||||
+3
-25
@@ -1,3 +1,5 @@
|
||||
@use 'dotdotdot.scss';
|
||||
|
||||
:host {
|
||||
min-height: 100%;
|
||||
width: 100%;
|
||||
@@ -56,28 +58,4 @@ div.message div.icon {
|
||||
|
||||
.message ha-icon, ha-circular-progress {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.dotdotdot:after {
|
||||
@keyframes dots {
|
||||
0%,
|
||||
20% {
|
||||
content: '.';
|
||||
}
|
||||
40% {
|
||||
content: '..';
|
||||
}
|
||||
60% {
|
||||
content: '...';
|
||||
}
|
||||
90%,
|
||||
100% {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
||||
animation: dots 2s linear infinite;
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 3em;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user