From 46a232eff849bc5cd9dd233409c049cd9d9e3ca4 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 6 Apr 2016 00:04:04 +0200 Subject: notebook fixes --- common/gtk-3.0/3.20/gtk-solid.css | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'common/gtk-3.0/3.20/gtk-solid.css') diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index eec4be8..a511a00 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -1631,6 +1631,12 @@ notebook { border: 1px solid #dcdfe3; } notebook.frame > header { margin: -1px; } + notebook.frame > header.top, notebook.frame > header.bottom { + padding-left: 0; + padding-right: 0; } + notebook.frame > header.left, notebook.frame > header.right { + padding-top: 0; + padding-bottom: 0; } notebook > stack:not(:only-child) { background-color: #ffffff; } notebook > header { @@ -1653,8 +1659,9 @@ notebook { outline-offset: -4px; border: 1px solid transparent; border-bottom: none; - margin-right: -1px; border-radius: 1px 1px 0 0; } + notebook > header.top > tabs > tab + tab { + margin-left: -1px; } notebook > header.bottom { padding-top: 0; } notebook > header.bottom > tabs > tab { @@ -1664,8 +1671,9 @@ notebook { outline-offset: -4px; border: 1px solid transparent; border-top: none; - margin-right: -1px; border-radius: 0 0 1px 1px; } + notebook > header.bottom > tabs > tab + tab { + margin-left: -1px; } notebook > header.right { padding-left: 0; } notebook > header.right > tabs > tab { @@ -1675,8 +1683,9 @@ notebook { outline-offset: -4px; border: 1px solid transparent; border-left: none; - margin-bottom: -1px; border-radius: 0 1px 1px 0; } + notebook > header.right > tabs > tab + tab { + margin-top: -1px; } notebook > header.left { padding-right: 0; } notebook > header.left > tabs > tab { @@ -1686,8 +1695,9 @@ notebook { outline-offset: -4px; border: 1px solid transparent; border-right: none; - margin-bottom: -1px; border-radius: 1px 0 0 1px; } + notebook > header.left > tabs > tab + tab { + margin-top: -1px; } notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } notebook > header.top > tabs > arrow.up:last-child, notebook > header.bottom > tabs > arrow.up:last-child { @@ -1712,14 +1722,21 @@ notebook { color: #5c616c; } notebook > header > tabs > arrow:disabled { color: rgba(92, 97, 108, 0.25); } + notebook > header.top > tabs > tab:hover:not(:checked) { + box-shadow: inset 0 -1px #dcdfe3; } + notebook > header.bottom > tabs > tab:hover:not(:checked) { + box-shadow: inset 0 1px #dcdfe3; } + notebook > header.left > tabs > tab:hover:not(:checked) { + box-shadow: inset -1px 0 #dcdfe3; } + notebook > header.right > tabs > tab:hover:not(:checked) { + box-shadow: inset 1px 0 #dcdfe3; } notebook > header > tabs > tab { color: rgba(92, 97, 108, 0.55); background-color: rgba(255, 255, 255, 0); } notebook > header > tabs > tab:hover:not(:checked) { color: rgba(92, 97, 108, 0.775); background-color: rgba(255, 255, 255, 0.5); - border-color: #dcdfe3; - box-shadow: inset 0 -1px #dcdfe3; } + border-color: #dcdfe3; } notebook > header > tabs > tab:checked { color: #5c616c; background-color: #ffffff; -- cgit v1.2.3