[gtk+] level-bar: add default Raleigh theming for GtkLevelBar
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] level-bar: add default Raleigh theming for GtkLevelBar
- Date: Mon, 16 Jul 2012 05:02:23 +0000 (UTC)
commit 6af40f9c46939ca1cc53bbbb1a495b89ff6eddc5
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Jul 12 10:52:00 2012 -0400
level-bar: add default Raleigh theming for GtkLevelBar
https://bugzilla.gnome.org/show_bug.cgi?id=677892
gtk/gtk-default.css | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk-default.css b/gtk/gtk-default.css
index 593ae89..266549b 100644
--- a/gtk/gtk-default.css
+++ b/gtk/gtk-default.css
@@ -17,6 +17,8 @@
@define-color error_fg_color rgb (166, 38, 38);
@define-color error_bg_color rgb (237, 54, 54);
+ define-color success_bg_color #4e9a06;
+
* {
color: @fg_color;
border-color: shade (@bg_color, 0.6);
@@ -182,6 +184,26 @@ GtkTreeView.view.expander:selected:hover {
border-width: 1px;
}
+.level-bar.indicator-discrete {
+ margin: 1px;
+}
+
+.level-bar.fill-block {
+ background-color: @selected_bg_color;
+}
+
+.level-bar.fill-block.level-low {
+ background-color: @warning_bg_color;
+}
+
+.level-bar.fill-block.level-high {
+ background-color: @success_bg_color;
+}
+
+.level-bar.fill-block.empty-fill-block {
+ background-color: @base_color;
+}
+
GtkCheckButton:hover,
GtkCheckButton:selected,
GtkRadioButton:hover,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]