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:
Dão Gottwald 2018-01-14 12:02:50 +01:00
parent 4ce67178eb
commit f9a358875b
2 changed files with 6 additions and 3 deletions

View File

@ -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@;
}
}

View File

@ -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) {