From 6e3491ff801c9488218460f720e20df3f034d6e8 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 20 Sep 2016 11:13:56 +0200 Subject: tweak treeview progressbars --- common/gtk-3.0/3.20/gtk-dark.css | 7 ++++++- common/gtk-3.0/3.20/gtk-darker.css | 7 ++++++- common/gtk-3.0/3.20/gtk-solid-dark.css | 7 ++++++- common/gtk-3.0/3.20/gtk-solid-darker.css | 7 ++++++- common/gtk-3.0/3.20/gtk-solid.css | 7 ++++++- common/gtk-3.0/3.20/gtk.css | 7 ++++++- common/gtk-3.0/3.20/sass/_common.scss | 9 ++++++++- 7 files changed, 44 insertions(+), 7 deletions(-) (limited to 'common/gtk-3.0/3.20') diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index d45c866..63e3e4b 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -1417,11 +1417,16 @@ treeview.view { color: #5294e2; box-shadow: none; background-color: #ffffff; } - treeview.view.trough, treeview.view.trough:selected, treeview.view.trough:selected:focus { + treeview.view.trough { color: #D3DAE3; background-color: #2b2e39; border-radius: 3px; border-width: 0; } + treeview.view.trough:selected, treeview.view.trough:selected:focus { + color: #ffffff; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 3px; + border-width: 0; } treeview.view header button { min-height: 0; min-width: 0; diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index a9690ad..8ee4e4e 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -1416,11 +1416,16 @@ treeview.view { color: #5294e2; box-shadow: none; background-color: #ffffff; } - treeview.view.trough, treeview.view.trough:selected, treeview.view.trough:selected:focus { + treeview.view.trough { color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } + treeview.view.trough:selected, treeview.view.trough:selected:focus { + color: #ffffff; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 3px; + border-width: 0; } treeview.view header button { min-height: 0; min-width: 0; diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css index fdba665..6cc3be6 100644 --- a/common/gtk-3.0/3.20/gtk-solid-dark.css +++ b/common/gtk-3.0/3.20/gtk-solid-dark.css @@ -1417,11 +1417,16 @@ treeview.view { color: #5294e2; box-shadow: none; background-color: #ffffff; } - treeview.view.trough, treeview.view.trough:selected, treeview.view.trough:selected:focus { + treeview.view.trough { color: #D3DAE3; background-color: #2b2e39; border-radius: 3px; border-width: 0; } + treeview.view.trough:selected, treeview.view.trough:selected:focus { + color: #ffffff; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 3px; + border-width: 0; } treeview.view header button { min-height: 0; min-width: 0; diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index 14dae86..78ef016 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -1416,11 +1416,16 @@ treeview.view { color: #5294e2; box-shadow: none; background-color: #ffffff; } - treeview.view.trough, treeview.view.trough:selected, treeview.view.trough:selected:focus { + treeview.view.trough { color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } + treeview.view.trough:selected, treeview.view.trough:selected:focus { + color: #ffffff; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 3px; + border-width: 0; } treeview.view header button { min-height: 0; min-width: 0; diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index 9a838c9..dc7fb6b 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -1420,11 +1420,16 @@ treeview.view { color: #5294e2; box-shadow: none; background-color: #ffffff; } - treeview.view.trough, treeview.view.trough:selected, treeview.view.trough:selected:focus { + treeview.view.trough { color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } + treeview.view.trough:selected, treeview.view.trough:selected:focus { + color: #ffffff; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 3px; + border-width: 0; } treeview.view header button { min-height: 0; min-width: 0; diff --git a/common/gtk-3.0/3.20/gtk.css b/common/gtk-3.0/3.20/gtk.css index 9b709bf..0cadf30 100644 --- a/common/gtk-3.0/3.20/gtk.css +++ b/common/gtk-3.0/3.20/gtk.css @@ -1420,11 +1420,16 @@ treeview.view { color: #5294e2; box-shadow: none; background-color: #ffffff; } - treeview.view.trough, treeview.view.trough:selected, treeview.view.trough:selected:focus { + treeview.view.trough { color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } + treeview.view.trough:selected, treeview.view.trough:selected:focus { + color: #ffffff; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 3px; + border-width: 0; } treeview.view header button { min-height: 0; min-width: 0; diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 005b615..9d27a68 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -1500,11 +1500,18 @@ treeview.view { background-color: $selected_fg_color; } } - &.trough, &.trough:selected, &.trough:selected:focus { // progress bar trough in treeviews + &.trough { // progress bar trough in treeviews color: $fg_color; background-color: $button_border; border-radius: 3px; border-width: 0; + + &:selected, &:selected:focus { + color: $selected_fg_color; + background-color: transparentize(black, 0.8); + border-radius: 3px; + border-width: 0; + } } header { -- cgit v1.2.3