aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-04-06 00:04:04 +0200
committerHorst31802016-04-06 00:04:04 +0200
commit46a232eff849bc5cd9dd233409c049cd9d9e3ca4 (patch)
treed58e0baaeab0a8350919e203ba849fc18a73694d /common/gtk-3.0/3.20/sass
parent3a41c93ff4243e203ac68cebe35a4dc09b58ab88 (diff)
downloadsolarc-theme-46a232eff849bc5cd9dd233409c049cd9d9e3ca4.tar.gz
solarc-theme-46a232eff849bc5cd9dd233409c049cd9d9e3ca4.tar.xz
solarc-theme-46a232eff849bc5cd9dd233409c049cd9d9e3ca4.zip
notebook fixes
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss21
1 files changed, 17 insertions, 4 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index 2c8d750..aa0286b 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -1725,7 +1725,12 @@ notebook {
&.frame {
border: 1px solid $borders_color;
- > header { margin: -1px; } // ugly hack to hide the borders around the header
+ > header {
+ margin: -1px; // ugly hack to hide the borders around the header
+
+ &.top, &.bottom { padding-left: 0; padding-right: 0; }
+ &.left, &.right { padding-top: 0; padding-bottom: 0; }
+ }
}
> stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
@@ -1757,8 +1762,10 @@ notebook {
border-#{$_bpos}: none;
// tab overlap
- @if $_pos==top or $_pos==bottom { margin-right: -1px; }
- @else { margin-bottom: -1px; }
+ + tab {
+ @if $_pos==top or $_pos==bottom { margin-left: -1px; }
+ @else { margin-top: -1px; }
+ }
// tab border radius
@if $_pos==top { border-radius: 1px 1px 0 0; }
@@ -1796,7 +1803,14 @@ notebook {
&:active { color: $fg_color; }
&:disabled { color: transparentize($insensitive_fg_color,0.3); }
}
+
// tab colors
+
+ &.top > tabs > tab:hover:not(:checked) { box-shadow: inset 0 -1px $borders_color; }
+ &.bottom > tabs > tab:hover:not(:checked) { box-shadow: inset 0 1px $borders_color; }
+ &.left > tabs > tab:hover:not(:checked) { box-shadow: inset -1px 0 $borders_color; }
+ &.right > tabs > tab:hover:not(:checked) { box-shadow: inset 1px 0 $borders_color; }
+
> tabs > tab {
color: $insensitive_fg_color;
background-color: transparentize($base_color, 1);
@@ -1805,7 +1819,6 @@ notebook {
color: mix($fg_color, $insensitive_fg_color, 50%);
background-color: transparentize($base_color, 0.5);
border-color: $borders_color;
- box-shadow: inset 0 -1px $borders_color;
}
&:checked {
color: $fg_color;