Skip to content

Commit

Permalink
Fix: Windows10 - Top border apply for not accent mode #358
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Apr 13, 2022
1 parent 147d73a commit 0f56d50
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,19 @@ menu[disabled="true"] {
}

/*= Windows 10 - Top border of accent color at ESR #358 ======================*/
@media (-moz-windows-accent-color-in-titlebar) {
@media (-moz-os-version: windows-win10), /* Legacy - v99 */
(-moz-platform: windows-win10) {
:root[sizemode=normal][tabsintitlebar] #navigator-toolbox {
border-top: .5px solid -moz-accent-color !important;
border-top: .5px solid rgb(47, 47, 47) !important;
}
:root[sizemode=normal][tabsintitlebar]:-moz-window-inactive #navigator-toolbox {
border-top-color: rgb(57, 57, 57) !important;
}
@media (-moz-windows-accent-color-in-titlebar) {
:root[sizemode=normal][tabsintitlebar] #navigator-toolbox {
border-top-color: -moz-accent-color !important;
}
}
}

@media (-moz-gtk-csd-available) {
Expand Down

0 comments on commit 0f56d50

Please sign in to comment.