mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1430457 - Stop using -moz-border-top-colors for the lwtheme faux window border on Windows 7. r=jaws
MozReview-Commit-ID: 1qArevPwzcG --HG-- extra : rebase_source : 70d7ccfe006b53d2ebc13a1f1337102bfacd1efd
This commit is contained in:
parent
4ce67178eb
commit
f9a358875b
@ -338,12 +338,13 @@
|
||||
/* Artificially draw window borders that are covered by lwtheme, see bug 591930.
|
||||
* We use a different border for win8, and this is not necessary on win10+ */
|
||||
#main-window[sizemode="normal"] > #tab-view-deck > #browser-panel:-moz-lwtheme {
|
||||
border-top: 2px solid;
|
||||
-moz-border-top-colors: @glassActiveBorderColor@ rgba(255,255,255,.6);
|
||||
border-top: 1px solid @glassActiveBorderColor@;
|
||||
padding-top: 1px;
|
||||
box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
|
||||
}
|
||||
|
||||
#main-window[sizemode="normal"] > #tab-view-deck > #browser-panel:-moz-lwtheme:-moz-window-inactive {
|
||||
-moz-border-top-colors: @glassInactiveBorderColor@ rgba(255,255,255,.6);
|
||||
border-top-color: @glassInactiveBorderColor@;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -154,6 +154,8 @@
|
||||
/* These are !important to avoid specificity-wars with the selectors that add borders here. */
|
||||
background-image: none !important;
|
||||
border-top: none !important;
|
||||
box-shadow: none !important;
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win10) {
|
||||
|
Loading…
Reference in New Issue
Block a user