diff options
Diffstat (limited to 'common/gtk-3.0/3.18/sass/_common.scss')
-rw-r--r-- | common/gtk-3.0/3.18/sass/_common.scss | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index 1ce7d17..db4fb6c 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -1594,16 +1594,17 @@ GtkTreeView.view { // treeview grid lines a &.progressbar { // progress bar in treeviews color: $selected_fg_color; border-radius: 3px; + background-image: linear-gradient(to bottom, $selected_bg_color); &:selected { color: $selected_bg_color; box-shadow: none; - background-color: $selected_fg_color; + background-image: linear-gradient(to bottom, $selected_fg_color); } } &.trough, &.trough:selected { // progress bar trough in treeviews color: $fg_color; - background-color: $button_border; + background-image: linear-gradient(to bottom, $button_border); border-radius: 3px; border-width: 0; } @@ -1697,7 +1698,7 @@ column-header.button.dnd { // for treeview-like derive widgets } } -.menu, .popup { +.menu { margin: 4px; padding: 0; border-radius: 0; @@ -1743,6 +1744,8 @@ column-header.button.dnd { // for treeview-like derive widgets } } +.csd .popup { border-radius: 2px; } + .menuitem .accelerator { color: gtkalpha(currentColor,0.55); } /************ @@ -2569,7 +2572,6 @@ GtkCalendar { &:inconsistent { color: gtkalpha(currentColor,0.55); } &.highlight { color: $fg_color; - background-color: transparentize($button_border, 0.5); } } @@ -2707,6 +2709,23 @@ GtkPlacesSidebar.sidebar { } // +// File chooser +// +GtkPlacesView { + .server-list-button > GtkImage { + transition: 200ms $ease-out-quad; + -gtk-icon-transform: rotate(0turn); + } + + .server-list-button:checked > GtkImage { + transition: 200ms $ease-out-quad; + -gtk-icon-transform: rotate(-0.5turn); + } + + .list-row.activatable:hover { background-color: transparent; } +} + +// // Paned // GtkPaned { // this is for the standard paned separator @@ -2951,6 +2970,10 @@ GtkVolumeButton.button { padding: 8px; } &.tiled { border-radius: 0; } + &.popup { + box-shadow: none; + border-radius: 0; + } // server-side decorations as used by mutter &.ssd { border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0); @@ -2959,7 +2982,7 @@ GtkVolumeButton.button { padding: 8px; } &.maximized { border-radius: 0; } } &.csd { - &.popup, &.menu { + &.popup { border-radius: 2px; box-shadow: 0 3px 6px if($variant == 'light', $_wm_border, transparentize($_wm_border, 0.1)), 0 0 0 1px if($variant == 'light', $_wm_border, darken($bg_color, 10%)); @@ -2990,11 +3013,10 @@ GtkVolumeButton.button { padding: 8px; } } .button.titlebutton { - padding: 7px 4px; + padding: 6px 4px; @include button(undecorated); background-color: transparentize($header_bg, 1); - border-width: 0; &:hover { @include button(header-hover); @@ -3009,6 +3031,7 @@ GtkVolumeButton.button { padding: 8px; } background-color: transparent; background-position: center; background-repeat: no-repeat; + border-width: 0; &:backdrop { opacity: 1; } } |