Commit 01e68117 authored by Lapo Calamandrei's avatar Lapo Calamandrei

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.
parent 51bfa10e
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment