Adwaita: axes borders of notebooks inside frame

This is what the old adwaita did, not having a better solution for
removing double borders, better to have this back even if it can
be problematic in certain cases.
This commit is contained in:
Lapo Calamandrei 2014-10-21 15:36:22 +02:00
parent 51bfa10eed
commit 01e6811776
3 changed files with 8 additions and 1 deletions

View File

@ -1564,9 +1564,9 @@ column-header.button.dnd { // for treeview-like derive widgets
&.left { border-left-width: 0; }
&:backdrop { border-color: $backdrop_borders_color; }
}
&.header {
// FIXME: double borders in some case, can't fix it w/o a class tho
// FIXME: doesn't work on dark var
background-color: mix($bg_color, $borders_color, 70%);
// this is the shading of the header behind the tabs
@ -1606,6 +1606,9 @@ column-header.button.dnd { // for treeview-like derive widgets
box-shadow: none;
}
}
.frame > &.frame { border: none; } // axes borders when the notebook is inside a frame
tab {
border-width: 0;
border-style: solid;

View File

@ -2248,6 +2248,8 @@ GtkCalendar.header column-header .button.titlebutton, column-header .button:hove
.notebook.header:backdrop {
background-color: #2f3434;
box-shadow: none; }
.frame > .notebook.frame {
border: none; }
.notebook tab {
border-width: 0;
border-style: solid;

View File

@ -2245,6 +2245,8 @@ GtkCalendar.header column-header .button.titlebutton, column-header .button:hove
.notebook.header:backdrop {
background-color: #d4d4d4;
box-shadow: none; }
.frame > .notebook.frame {
border: none; }
.notebook tab {
border-width: 0;
border-style: solid;