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 411428 a2d018ad5a124009910072387c54c61303835a41
parent 411427 2d949a67f1fce4d5d03de6631bc55127095cf10a
child 411429 e5fe50da0571a67e4ad62aeb9e13013eba5369c8
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [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);
 }