Add support for a 'hover' menu.

This commit is contained in:
Dermot Duffy
2021-09-08 20:58:01 -07:00
parent 632fdb0079
commit 0e8e0d38c5
7 changed files with 45 additions and 10 deletions
+12
View File
@@ -22,6 +22,18 @@
scrollbar-width: none; /* Hide scrollbar: Firefox */
}
/* Support the 'hover' menu mode. */
.hover-menu {
z-index: 1;
transition: all 0.5s ease;
}
.outer + .hover-menu {
opacity: 0.0;
}
.outer:hover + .hover-menu, .hover-menu:hover {
opacity: 1.0;
}
.frigate-card-contents img.media,video.media {
width: 100%;
}