Bug 1194943 - Consolidate URL and search bar :hover and [focused] border styling across Windows Vista / 7 and 8. r=gijs

This commit is contained in:
Dão Gottwald 2015-08-26 19:33:48 +02:00
parent e6721c1ee6
commit c213b5a3fe
2 changed files with 7 additions and 12 deletions

View File

@ -68,16 +68,6 @@
.tab-background-middle[visuallyselected=true]:not(:-moz-lwtheme) {
background-color: @customToolbarColor@;
}
#urlbar:not(:-moz-lwtheme):not([focused]):hover,
.searchbar-textbox:not(:-moz-lwtheme):not([focused]):hover {
border-color: hsla(210,54%,20%,.35) hsla(210,54%,20%,.37) hsla(210,54%,20%,.4);
}
#urlbar:not(:-moz-lwtheme)[focused],
.searchbar-textbox:not(:-moz-lwtheme)[focused] {
border-color: hsla(206,100%,60%,.65) hsla(206,100%,55%,.65) hsla(206,100%,50%,.65);
}
}
}

View File

@ -1255,6 +1255,11 @@ toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-ba
box-shadow: 0 1px 0 hsla(0,0%,0%,.01) inset,
0 1px 0 hsla(0,0%,100%,.1);
}
#urlbar:not(:-moz-lwtheme):hover,
.searchbar-textbox:not(:-moz-lwtheme):hover {
border-color: hsla(210,54%,20%,.35) hsla(210,54%,20%,.37) hsla(210,54%,20%,.4);
}
}
@media (-moz-os-version: windows-win10) {
@ -1312,8 +1317,8 @@ toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-ba
color: black;
}
#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
#urlbar:-moz-lwtheme:hover:not([readonly]),
.searchbar-textbox:-moz-lwtheme:hover {
background-color: rgba(255,255,255,.9);
}