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-dark.css | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'common/gtk-3.0/3.20/gtk-dark.css') diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index 7ebd155..62b05ec 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -1628,6 +1628,12 @@ notebook { border: 1px solid #2b2e39; } 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: #404552; } notebook > header { @@ -1650,8 +1656,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 { @@ -1661,8 +1668,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 { @@ -1672,8 +1680,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 { @@ -1683,8 +1692,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 { @@ -1709,14 +1719,21 @@ notebook { color: #D3DAE3; } notebook > header > tabs > arrow:disabled { color: rgba(211, 218, 227, 0.15); } + notebook > header.top > tabs > tab:hover:not(:checked) { + box-shadow: inset 0 -1px #2b2e39; } + notebook > header.bottom > tabs > tab:hover:not(:checked) { + box-shadow: inset 0 1px #2b2e39; } + notebook > header.left > tabs > tab:hover:not(:checked) { + box-shadow: inset -1px 0 #2b2e39; } + notebook > header.right > tabs > tab:hover:not(:checked) { + box-shadow: inset 1px 0 #2b2e39; } notebook > header > tabs > tab { color: rgba(211, 218, 227, 0.45); background-color: rgba(64, 69, 82, 0); } notebook > header > tabs > tab:hover:not(:checked) { color: rgba(211, 218, 227, 0.725); background-color: rgba(64, 69, 82, 0.5); - border-color: #2b2e39; - box-shadow: inset 0 -1px #2b2e39; } + border-color: #2b2e39; } notebook > header > tabs > tab:checked { color: #D3DAE3; background-color: #404552; -- cgit v1.2.3