added background to gallery items when highlighted
This commit is contained in:
@@ -90,7 +90,7 @@
|
|||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
transition: border-color 0.1s ease-out, padding-right 0.1s ease-out;
|
transition: border-color 0.1s ease-out, padding-right 0.1s ease-out, background-color 0.1s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-title, .gallery-subtitle {
|
.gallery-title, .gallery-subtitle {
|
||||||
@@ -110,6 +110,7 @@
|
|||||||
|
|
||||||
.gallery-container:hover .gallery-text-container {
|
.gallery-container:hover .gallery-text-container {
|
||||||
border-color: var(--color-highlight);
|
border-color: var(--color-highlight);
|
||||||
|
background-color: var(--color-background-highlight);
|
||||||
}
|
}
|
||||||
.gallery-container:hover .gallery-img, .gallery-container:hover .gallery-img-placeholder {
|
.gallery-container:hover .gallery-img, .gallery-container:hover .gallery-img-placeholder {
|
||||||
/* filter: grayscale(0%); */
|
/* filter: grayscale(0%); */
|
||||||
|
|||||||
Reference in New Issue
Block a user