Bug 1370490 - Hover on search tooltips should change background opacity r?mconley draft
authorRicky Chien <ricky060709@gmail.com>
Tue, 06 Jun 2017 21:04:12 +0800
changeset 589595 12d58aa80a0f8b40ce0454736548e7918dc98076
parent 589544 4dd1d17ba22660b8f5869a707f2e4e9f9dd5be5b
child 631945 069f12a50c109170b269c4fc0182e84a904e7de7
push id62441
push userbmo:rchien@mozilla.com
push dateTue, 06 Jun 2017 13:04:50 +0000
reviewersmconley
bugs1370490
milestone55.0a1
Bug 1370490 - Hover on search tooltips should change background opacity r?mconley MozReview-Commit-ID: DbxZnVhjBV8
browser/themes/shared/incontentprefs/preferences.inc.css
--- 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);
 }