aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-03-09 20:07:51 +0100
committerHorst31802016-03-09 20:07:51 +0100
commitbd69550f5e825cf56b82e0863e2bade36d29dc1c (patch)
treea766beeaed80f28f91121391a225705ca5a42b52 /common/gtk-3.0/3.20/sass
parentb8ddf6b047d78b404766c47115727ff2185e1815 (diff)
downloadsolarc-theme-bd69550f5e825cf56b82e0863e2bade36d29dc1c.tar.gz
solarc-theme-bd69550f5e825cf56b82e0863e2bade36d29dc1c.tar.xz
solarc-theme-bd69550f5e825cf56b82e0863e2bade36d29dc1c.zip
add border to sidebars
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss34
1 files changed, 29 insertions, 5 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index c4170db..83782c7 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -147,8 +147,6 @@ assistant {
.sidebar {
background-color: $base_color;
border-top: 1px solid $borders_color;
- &:dir(ltr) { border-right: 1px solid $borders_color; }
- &:dir(rtl) { border-left: 1px solid $borders_color; }
}
&.csd .sidebar { border-top-style: none; }
@@ -2241,7 +2239,7 @@ printdialog {
//
// Frames
//
-frame border,
+frame > border,
.frame {
margin: 0;
padding: 0;
@@ -2467,15 +2465,41 @@ filechooser {
//
// Sidebar
//
-.sidebar, .sidebar .view {
- border: none;
+.sidebar {
+ border-style: none;
background-color: lighten($bg_color, 2%);
+ @at-root %sidebar_left,
+ &:dir(ltr),
+ &.left,
+ &.left:dir(rtl) {
+ border-right: 1px solid $borders_color;
+ border-left-style: none;
+ }
+
+ @at-root %sidebar_right,
+ &:dir(rtl),
+ &.left {
+ border-left: 1px solid $borders_color;
+ border-right-style: none;
+ }
+
&:selected { @extend %selected_items; }
separator { @extend separator; }
+
+ paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; }}
}
stacksidebar {
+ &.sidebar {
+ &:dir(ltr) list,
+ &.left list,
+ &.left:dir(rtl) list { @extend %sidebar_left; }
+
+ &:dir(rtl) list,
+ &.right list { @extend %sidebar_right; }
+ }
+
row {
padding: 10px 4px;