image-action: Fix open and download hover highlight in night mode.

When we try to hover over Open or Download they were not highlighted
in night mode, because of incorrect specificity. This commit adds
highlighting in night mode (possibly fixing a regression when we made
night mode less aggressive about hover).

Fixes #11887.
This commit is contained in:
vsvipul 2019-03-14 00:08:07 +05:30 committed by Tim Abbott
parent 0a145f2203
commit a41ada3398
1 changed files with 4 additions and 4 deletions

View File

@ -259,7 +259,7 @@
opacity: 1;
}
.image-actions .button {
#lightbox_overlay .image-actions .button {
font-size: 0.8rem;
min-width: inherit;
padding: 4px 10px;
@ -269,17 +269,17 @@
border-radius: 4px;
}
.image-actions .button:hover {
#lightbox_overlay .image-actions .button:hover {
background-color: hsl(0, 0%, 100%);
border-color: hsl(0, 0%, 100%);
color: hsl(227, 40%, 16%);
}
.image-actions a.button {
#lightbox_overlay .image-actions a.button {
text-decoration: none;
}
.button .download {
#lightbox_overlay .button .download {
top: 1px;
}