forked from AuroraMiddleware/gtk
Adwaita: notebook with hidden header style fix
the stack styling is applied only when there is a header, hence when the stack node is not the notebook only child, should cure https://bugzilla.gnome.org/show_bug.cgi?id=760996
This commit is contained in:
parent
f734db1604
commit
a0363e5f0a
@ -1925,7 +1925,7 @@ notebook {
|
||||
}
|
||||
}
|
||||
|
||||
> stack {
|
||||
> stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
|
||||
background-color: $base_color;
|
||||
|
||||
&:backdrop { background-color: $backdrop_base_color; }
|
||||
|
@ -2368,9 +2368,9 @@ notebook > header {
|
||||
margin-bottom: 4px; }
|
||||
notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
|
||||
border-style: solid none; }
|
||||
notebook > stack {
|
||||
notebook > stack:not(:only-child) {
|
||||
background-color: #292929; }
|
||||
notebook > stack:backdrop {
|
||||
notebook > stack:not(:only-child):backdrop {
|
||||
background-color: #2c2c2c; }
|
||||
|
||||
/**************
|
||||
|
@ -2378,9 +2378,9 @@ notebook > header {
|
||||
margin-bottom: 4px; }
|
||||
notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
|
||||
border-style: solid none; }
|
||||
notebook > stack {
|
||||
notebook > stack:not(:only-child) {
|
||||
background-color: #ffffff; }
|
||||
notebook > stack:backdrop {
|
||||
notebook > stack:not(:only-child):backdrop {
|
||||
background-color: white; }
|
||||
|
||||
/**************
|
||||
|
Loading…
Reference in New Issue
Block a user