forked from AuroraMiddleware/gtk
Adwaita: really fix solid-csd
add a specificity bump hack in the titlebar solid-csd styling to avoid being overridden by the split titlebar theme logic.
This commit is contained in:
parent
de78627494
commit
159c65dcb8
@ -1512,11 +1512,13 @@ headerbar {
|
||||
|
||||
.solid-csd & {
|
||||
&:backdrop, & {
|
||||
margin-left: -1px;
|
||||
margin-right: -1px;
|
||||
margin-top: -1px;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
&:dir(rtl), &:dir(ltr) { // specificity bump
|
||||
margin-left: -1px;
|
||||
margin-right: -1px;
|
||||
margin-top: -1px;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1929,9 +1929,11 @@ headerbar {
|
||||
min-width: 26px;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
.solid-csd .titlebar:backdrop:not(headerbar), .solid-csd .titlebar:not(headerbar), .solid-csd
|
||||
headerbar:backdrop, .solid-csd
|
||||
headerbar {
|
||||
.solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd
|
||||
headerbar:backdrop:dir(rtl), .solid-csd
|
||||
headerbar:backdrop:dir(ltr), .solid-csd
|
||||
headerbar:dir(rtl), .solid-csd
|
||||
headerbar:dir(ltr) {
|
||||
margin-left: -1px;
|
||||
margin-right: -1px;
|
||||
margin-top: -1px;
|
||||
|
@ -1936,9 +1936,11 @@ headerbar {
|
||||
min-width: 26px;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
.solid-csd .titlebar:backdrop:not(headerbar), .solid-csd .titlebar:not(headerbar), .solid-csd
|
||||
headerbar:backdrop, .solid-csd
|
||||
headerbar {
|
||||
.solid-csd .titlebar:backdrop:dir(rtl):not(headerbar), .solid-csd .titlebar:backdrop:dir(ltr):not(headerbar), .solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd
|
||||
headerbar:backdrop:dir(rtl), .solid-csd
|
||||
headerbar:backdrop:dir(ltr), .solid-csd
|
||||
headerbar:dir(rtl), .solid-csd
|
||||
headerbar:dir(ltr) {
|
||||
margin-left: -1px;
|
||||
margin-right: -1px;
|
||||
margin-top: -1px;
|
||||
|
Loading…
Reference in New Issue
Block a user