mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
Bug 560755 - Textbox border of Location bar and search box is invisible with "High Contrast - Windows Classic". r=gavin
This commit is contained in:
parent
90a1c2bddf
commit
f4ee9a3b8f
@ -46,6 +46,7 @@
|
||||
#urlbar,
|
||||
.searchbar-textbox {
|
||||
background-color: rgba(255,255,255,.725);
|
||||
@navbarTextboxCustomBorder@
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
||||
|
||||
%filter substitution
|
||||
%define toolbarHighlight rgba(255,255,255,.5)
|
||||
%define navbarTextboxCustomBorder border-color: rgba(0,0,0,.25) rgba(0,0,0,.32) rgba(0,0,0,.37);
|
||||
|
||||
#menubar-items {
|
||||
-moz-box-orient: vertical; /* for flex hack */
|
||||
@ -612,16 +613,23 @@ toolbar:not([iconsize="small"])[mode="icons"] #forward-button:not([disabled="tru
|
||||
margin: 1px 3px;
|
||||
padding: 2px;
|
||||
background-clip: padding-box;
|
||||
border: 1px solid;
|
||||
border-color: rgba(0,0,0,.25) rgba(0,0,0,.32) rgba(0,0,0,.37);
|
||||
border: 1px solid ThreeDDarkShadow;
|
||||
-moz-border-radius: 4px;
|
||||
-moz-box-shadow: 0 1px 0 rgba(0,0,0,.1) inset,
|
||||
0 1px 0 rgba(255,255,255,.4);
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
#urlbar,
|
||||
.searchbar-textbox {
|
||||
@navbarTextboxCustomBorder@
|
||||
}
|
||||
}
|
||||
|
||||
#urlbar:-moz-lwtheme,
|
||||
.searchbar-textbox:-moz-lwtheme {
|
||||
background-color: rgba(255,255,255,.8);
|
||||
@navbarTextboxCustomBorder@
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user