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:
Lapo Calamandrei 2016-04-15 18:28:26 +02:00
parent de78627494
commit 159c65dcb8
3 changed files with 17 additions and 11 deletions

View File

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

View File

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

View File

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