From 7ef7e53bff15bb580381c0e3a9aac32336dd2bcf Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 16 Jul 2015 15:55:49 +0200 Subject: some tab tweaks --- common/gtk-3.0/3.14/_applications.scss | 75 +++++++++++++++------------------- 1 file changed, 34 insertions(+), 41 deletions(-) (limited to 'common/gtk-3.0/3.14/_applications.scss') diff --git a/common/gtk-3.0/3.14/_applications.scss b/common/gtk-3.0/3.14/_applications.scss index adc6645..f4b2c8d 100644 --- a/common/gtk-3.0/3.14/_applications.scss +++ b/common/gtk-3.0/3.14/_applications.scss @@ -1,3 +1,37 @@ +// +// Tab overrides +// +GeditNotebook.notebook, +ScratchMainWindow .notebook, +EphyNotebook.notebook, +MidoriNotebook .notebook, +TerminalWindow .notebook, +PantheonTerminalPantheonTerminalWindow .notebook { + + tab.reorderable-page.top, tab.top { + &:active, &.active-page, &.active-page:hover { + box-shadow: inset 0 1px $borders_color, + inset 0 -1px $borders_color, + inset 1px 0 $borders_color, + inset -1px 0 $borders_color; + } + } +} + +TerminalWindow .notebook, +PantheonTerminalPantheonTerminalWindow .notebook { + + tab.reorderable-page.top, tab.top { + padding-top: 7px; + border-top-width: 3px; + } + + &.header.top { + box-shadow: inset 0 1px opacify($header_border, 1), + inset 0 -1px $borders_color; + } +} + // // Evolution // @@ -31,39 +65,6 @@ TerminalWindow { background-color: transparent; } - .notebook { - - &.header.top { - box-shadow: inset 0 1px opacify($header_border, 1), - inset 0 -1px $borders_color; - } - -/* tab { - &.reorderable-page.top, &.top { - border-width: 1px; - border-color: transparent; - box-shadow: none; - &:hover, &.prelight-page { - border-color: transparentize($borders_color, 0.5); - border-width: 1px; - border-top-width: 0; - background-color: transparentize($bg_color,0.8); - box-shadow: none; - } - &:active, &.active-page, &.active-page:hover { - border-width: 1px; - border-top-width: 0; - border-color: $header_border; - background-color: opacify($header_bg, 1); - box-shadow: none; - - &:backdrop { background-color: opacify($header_bg_backdrop, 1); } - } - } - } -*/ - } - .scrollbar { &.vertical .slider { margin-left: 3px; } &.trough { border-width: 0; } @@ -668,14 +669,6 @@ WingpanelWidgetsIndicatorPopover.popover { // PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; - - .notebook { - - &.header.top { - box-shadow: inset 0 1px opacify($header_border, 1), - inset 0 -1px $borders_color; - } - } } // -- cgit v1.2.3