Skip to content

Commit

Permalink
Tweak sidebar style and optimize rubberband
Browse files Browse the repository at this point in the history
  • Loading branch information
ochosi committed Nov 23, 2017
1 parent 1059b2e commit 4af7143
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
6 changes: 1 addition & 5 deletions gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3653,11 +3653,7 @@ filechooserbutton:drop(active) {
}
}

paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & {
border-style: none;
border-top: 1px solid $borders_color;
}
}
paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; } }
}

stacksidebar {
Expand Down
5 changes: 1 addition & 4 deletions gtk-3.0/_xfce.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,7 @@ XfdesktopIconView.view {
text-shadow: 0 1px 1px black;
}
.label { text-shadow: 1px 1px 2px black; }
.rubberband {
background: rgba($selected_bg_color, 0.2);
border: 1px solid shade($selected_bg_color, 0.7);
}
.rubberband { @extend rubberband; }
}

#XfceNotifyWindow {
Expand Down
3 changes: 1 addition & 2 deletions gtk-3.0/gtk-contained-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3654,8 +3654,7 @@ filechooserbutton:drop(active) {
.sidebar list:backdrop, .sidebar treeview:backdrop {
background-color: transparent; }
paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar {
border-style: none;
border-top: 1px solid #1c1f1f; }
border-style: none; }

stacksidebar row {
padding: 10px 4px; }
Expand Down
9 changes: 3 additions & 6 deletions gtk-3.0/gtk-contained.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ textview border {
rubberband,
flowbox rubberband,
treeview.view rubberband,
.content-view rubberband {
.content-view rubberband,
XfdesktopIconView.view .rubberband {
border: 1px solid #1a74d3;
background-color: rgba(26, 116, 211, 0.2); }

Expand Down Expand Up @@ -3683,8 +3684,7 @@ filechooserbutton:drop(active) {
.sidebar list:backdrop, .sidebar treeview:backdrop {
background-color: transparent; }
paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar {
border-style: none;
border-top: 1px solid #828282; }
border-style: none; }

stacksidebar row {
padding: 10px 4px; }
Expand Down Expand Up @@ -4449,9 +4449,6 @@ XfdesktopIconView.view {
text-shadow: 0 1px 1px black; }
XfdesktopIconView.view .label {
text-shadow: 1px 1px 2px black; }
XfdesktopIconView.view .rubberband {
background: rgba(57, 142, 231, 0.2);
border: 1px solid shade(#398ee7, 0.7); }

#XfceNotifyWindow {
background-color: shade(#686868, 0.3);
Expand Down

0 comments on commit 4af7143

Please sign in to comment.