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:
Lapo Calamandrei 2016-02-03 15:23:17 +01:00
parent f734db1604
commit a0363e5f0a
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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