Bug 1373535 - Add border surrounding search tooltip itself r?jaws
MozReview-Commit-ID: 1ykdREZvotQ
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -623,26 +623,36 @@ groupbox {
}
.search-tooltip {
font-size: 1.25rem;
position: absolute;
padding: 0 10px;
bottom: 100%;
background-color: #ffe900;
+ border: 1px solid #d7b600;
}
.search-tooltip:hover,
.search-tooltip:hover::before {
filter: opacity(10%);
}
.search-tooltip::before {
position: absolute;
content: "";
+ border: 7px solid transparent;
+ border-top-color: #d7b600;
+ top: 100%;
+ offset-inline-start: calc(50% - 7px);
+}
+
+.search-tooltip::after {
+ position: absolute;
+ content: "";
border: 6px solid transparent;
border-top-color: #ffe900;
top: 100%;
offset-inline-start: calc(50% - 6px);
}
.search-tooltip-parent {
position: relative;