Bug 1370490 - Hover on search tooltips should change background opacity r=mconley
authorRicky Chien <ricky060709@gmail.com>
Tue, 06 Jun 2017 21:04:12 +0800
changeset 413786 a2d018ad5a124009910072387c54c61303835a41
parent 413785 2d949a67f1fce4d5d03de6631bc55127095cf10a
child 413787 e5fe50da0571a67e4ad62aeb9e13013eba5369c8
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1370490
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
@@ -610,22 +610,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);
 }