From b5515e6bace01afab1e24e1d14be70a507b48168 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 14 Jul 2015 13:42:47 +0200 Subject: fix unreadable text-color in progressbars this fixes #76 --- common/gtk-2.0/main.rc | 2 +- common/gtk-3.0/3.14/_common.scss | 1 + common/gtk-3.0/3.14/gtk-contained-dark.css | 1 + common/gtk-3.0/3.14/gtk-contained-darker.css | 1 + common/gtk-3.0/3.14/gtk-contained-solid-dark.css | 1 + common/gtk-3.0/3.14/gtk-contained-solid-darker.css | 1 + common/gtk-3.0/3.14/gtk-contained-solid.css | 1 + common/gtk-3.0/3.14/gtk-contained.css | 1 + common/gtk-3.0/3.16/_common.scss | 2 +- common/gtk-3.0/3.16/gtk-contained-dark.css | 1 + common/gtk-3.0/3.16/gtk-contained-darker.css | 1 + common/gtk-3.0/3.16/gtk-contained-solid-dark.css | 1 + common/gtk-3.0/3.16/gtk-contained-solid-darker.css | 1 + common/gtk-3.0/3.16/gtk-contained-solid.css | 1 + common/gtk-3.0/3.16/gtk-contained.css | 1 + 15 files changed, 15 insertions(+), 2 deletions(-) diff --git a/common/gtk-2.0/main.rc b/common/gtk-2.0/main.rc index 187a28e..edec4be 100644 --- a/common/gtk-2.0/main.rc +++ b/common/gtk-2.0/main.rc @@ -1970,7 +1970,7 @@ style "progressbar" { xthickness = 1 ythickness = 1 - fg[NORMAL] = @selected_fg_color + fg[NORMAL] = @fg_color fg[PRELIGHT] = @selected_fg_color engine "pixmap" { diff --git a/common/gtk-3.0/3.14/_common.scss b/common/gtk-3.0/3.14/_common.scss index 47997ef..d456915 100644 --- a/common/gtk-3.0/3.14/_common.scss +++ b/common/gtk-3.0/3.14/_common.scss @@ -1403,6 +1403,7 @@ GtkTreeView.view { // treeview grid lines a } &.trough, &.trough:selected { // progress bar trough in treeviews + color: $fg_color; background-color: $button_border; border-radius: 3px; border-width: 0; 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 2ac0e45..c9da632 100644 --- a/common/gtk-3.0/3.14/gtk-contained-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-dark.css @@ -1119,6 +1119,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #D3DAE3; background-color: #2d3036; 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 7ca8af5..5cf6a67 100644 --- a/common/gtk-3.0/3.14/gtk-contained-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-darker.css @@ -1120,6 +1120,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #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 7b7786c..774f463 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 @@ -1119,6 +1119,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #D3DAE3; background-color: #2d3036; 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 f82c0d9..8863714 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 @@ -1120,6 +1120,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #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 6db6891..ae21594 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid.css @@ -1119,6 +1119,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #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 041c699..b2467ce 100644 --- a/common/gtk-3.0/3.14/gtk-contained.css +++ b/common/gtk-3.0/3.14/gtk-contained.css @@ -1119,6 +1119,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.16/_common.scss b/common/gtk-3.0/3.16/_common.scss index 495d2aa..44804b8 100644 --- a/common/gtk-3.0/3.16/_common.scss +++ b/common/gtk-3.0/3.16/_common.scss @@ -1424,8 +1424,8 @@ GtkTreeView.view { // treeview grid lines a background-color: $selected_fg_color; } } - &.trough, &.trough:selected { // progress bar trough in treeviews + color: $fg_color; background-color: $button_border; border-radius: 3px; border-width: 0; diff --git a/common/gtk-3.0/3.16/gtk-contained-dark.css b/common/gtk-3.0/3.16/gtk-contained-dark.css index 8f86c8f..bd14af4 100644 --- a/common/gtk-3.0/3.16/gtk-contained-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-dark.css @@ -1135,6 +1135,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #D3DAE3; background-color: #2d3036; border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.16/gtk-contained-darker.css b/common/gtk-3.0/3.16/gtk-contained-darker.css index 9090a8d..81aabc0 100644 --- a/common/gtk-3.0/3.16/gtk-contained-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-darker.css @@ -1136,6 +1136,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css index 948d640..0886c47 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css @@ -1135,6 +1135,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #D3DAE3; background-color: #2d3036; border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css index e1f2f5a..179a910 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css @@ -1136,6 +1136,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.16/gtk-contained-solid.css b/common/gtk-3.0/3.16/gtk-contained-solid.css index f932850..038e298 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid.css @@ -1135,6 +1135,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } diff --git a/common/gtk-3.0/3.16/gtk-contained.css b/common/gtk-3.0/3.16/gtk-contained.css index 896781c..f845945 100644 --- a/common/gtk-3.0/3.16/gtk-contained.css +++ b/common/gtk-3.0/3.16/gtk-contained.css @@ -1135,6 +1135,7 @@ GtkTreeView.view { box-shadow: none; background-color: #ffffff; } GtkTreeView.view.trough, GtkTreeView.view.trough:selected { + color: #5c616c; background-color: #cfd6e6; border-radius: 3px; border-width: 0; } -- cgit v1.2.3