Bug 1370490 - Hover on search tooltips should change background opacity r?mconley
MozReview-Commit-ID: DbxZnVhjBV8
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -607,22 +607,26 @@ description > html|a {
.help-button:link,
.help-button:visited {
color: var(--in-content-category-text);
text-decoration: none;
}
.search-tooltip {
position: absolute;
- pointer-events: none;
padding: 0 10px;
bottom: 100%;
background-color: #ffe900;
}
+.search-tooltip:hover,
+.search-tooltip:hover::before {
+ filter: opacity(10%);
+}
+
.search-tooltip::before {
position: absolute;
content: "";
border: 6px solid transparent;
border-top-color: #ffe900;
top: 100%;
offset-inline-start: calc(50% - 6px);
}