From be882ef2144e5579208ee05b202e3bc53a92d7ce Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sun, 4 Oct 2015 12:50:35 +0200 Subject: add workaround for progressbar in ubuntu-software-center --- common/gtk-3.0/3.14/gtk-contained-dark.css | 7 ++++--- common/gtk-3.0/3.14/gtk-contained-darker.css | 7 ++++--- common/gtk-3.0/3.14/gtk-contained-solid-dark.css | 7 ++++--- common/gtk-3.0/3.14/gtk-contained-solid-darker.css | 7 ++++--- common/gtk-3.0/3.14/gtk-contained-solid.css | 7 ++++--- common/gtk-3.0/3.14/gtk-contained.css | 7 ++++--- common/gtk-3.0/3.14/sass/_common.scss | 5 +++-- 7 files changed, 27 insertions(+), 20 deletions(-) (limited to 'common/gtk-3.0/3.14') diff --git a/common/gtk-3.0/3.14/gtk-contained-dark.css b/common/gtk-3.0/3.14/gtk-contained-dark.css index 2e76f77..494911f 100644 --- a/common/gtk-3.0/3.14/gtk-contained-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-dark.css @@ -1396,14 +1396,15 @@ GtkTreeView.view { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } GtkTreeView.view.progressbar { color: #ffffff; - border-radius: 3px; } + border-radius: 3px; + background-image: linear-gradient(to bottom, #5294E2); } GtkTreeView.view.progressbar:selected { color: #5294E2; box-shadow: none; - background-color: #ffffff; } + background-image: linear-gradient(to bottom, #ffffff); } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { color: #D3DAE3; - background-color: #2b2e39; + background-image: linear-gradient(to bottom, #2b2e39); border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.14/gtk-contained-darker.css b/common/gtk-3.0/3.14/gtk-contained-darker.css index dca07d7..4572de5 100644 --- a/common/gtk-3.0/3.14/gtk-contained-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-darker.css @@ -1399,14 +1399,15 @@ GtkTreeView.view { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } GtkTreeView.view.progressbar { color: #ffffff; - border-radius: 3px; } + border-radius: 3px; + background-image: linear-gradient(to bottom, #5294E2); } GtkTreeView.view.progressbar:selected { color: #5294E2; box-shadow: none; - background-color: #ffffff; } + background-image: linear-gradient(to bottom, #ffffff); } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { color: #5c616c; - background-color: #cfd6e6; + background-image: linear-gradient(to bottom, #cfd6e6); border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css index e815030..d46e412 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css @@ -1396,14 +1396,15 @@ GtkTreeView.view { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } GtkTreeView.view.progressbar { color: #ffffff; - border-radius: 3px; } + border-radius: 3px; + background-image: linear-gradient(to bottom, #5294E2); } GtkTreeView.view.progressbar:selected { color: #5294E2; box-shadow: none; - background-color: #ffffff; } + background-image: linear-gradient(to bottom, #ffffff); } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { color: #D3DAE3; - background-color: #2b2e39; + background-image: linear-gradient(to bottom, #2b2e39); border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css index 073614b..611d56c 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css @@ -1399,14 +1399,15 @@ GtkTreeView.view { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } GtkTreeView.view.progressbar { color: #ffffff; - border-radius: 3px; } + border-radius: 3px; + background-image: linear-gradient(to bottom, #5294E2); } GtkTreeView.view.progressbar:selected { color: #5294E2; box-shadow: none; - background-color: #ffffff; } + background-image: linear-gradient(to bottom, #ffffff); } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { color: #5c616c; - background-color: #cfd6e6; + background-image: linear-gradient(to bottom, #cfd6e6); border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.14/gtk-contained-solid.css b/common/gtk-3.0/3.14/gtk-contained-solid.css index 20dcea4..3892859 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid.css @@ -1399,14 +1399,15 @@ GtkTreeView.view { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } GtkTreeView.view.progressbar { color: #ffffff; - border-radius: 3px; } + border-radius: 3px; + background-image: linear-gradient(to bottom, #5294E2); } GtkTreeView.view.progressbar:selected { color: #5294E2; box-shadow: none; - background-color: #ffffff; } + background-image: linear-gradient(to bottom, #ffffff); } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { color: #5c616c; - background-color: #cfd6e6; + background-image: linear-gradient(to bottom, #cfd6e6); border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.14/gtk-contained.css b/common/gtk-3.0/3.14/gtk-contained.css index 6864b67..2ce9843 100644 --- a/common/gtk-3.0/3.14/gtk-contained.css +++ b/common/gtk-3.0/3.14/gtk-contained.css @@ -1399,14 +1399,15 @@ GtkTreeView.view { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } GtkTreeView.view.progressbar { color: #ffffff; - border-radius: 3px; } + border-radius: 3px; + background-image: linear-gradient(to bottom, #5294E2); } GtkTreeView.view.progressbar:selected { color: #5294E2; box-shadow: none; - background-color: #ffffff; } + background-image: linear-gradient(to bottom, #ffffff); } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { color: #5c616c; - background-color: #cfd6e6; + background-image: linear-gradient(to bottom, #cfd6e6); border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index 8ed1d94..0b83114 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -1481,16 +1481,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; } -- cgit v1.2.3