[clocks] fix the background of the clocks view, changed it to ligjt grey
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clocks] fix the background of the clocks view, changed it to ligjt grey
- Date: Tue, 3 Jul 2012 21:35:58 +0000 (UTC)
commit 68527a669a5672daf8619fad92080996a8f5a7a4
Author: Eslam Mostafa <cseslam gmail com>
Date: Sat Jun 30 23:50:29 2012 +0200
fix the background of the clocks view, changed it to ligjt grey
Signed-off-by: Seif Lotfy <seif lotfy com>
clocks.py | 1 +
gtk-style.css | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/clocks.py b/clocks.py
index 70fb640..24d09ac 100644
--- a/clocks.py
+++ b/clocks.py
@@ -93,6 +93,7 @@ class World (Clock):
iconview.set_spacing(3)
iconview.set_pixbuf_column(0)
iconview.set_markup_column(1)
+ iconview.get_style_context ().add_class ('grey-bg')
scrolledwindow = Gtk.ScrolledWindow()
scrolledwindow.add(iconview)
diff --git a/gtk-style.css b/gtk-style.css
index 4f33579..c2a2ada 100644
--- a/gtk-style.css
+++ b/gtk-style.css
@@ -3,11 +3,11 @@
@define-color clocks_lap_color #999999;
@define-color clocks_stop_color #ff0000;
-.black-bg {
+.grey-bg {
background-color: mix (@entry-color,
- shade (#000, 0.5),
+ shade (#f1f2f1, 0.5),
0.8);
- color: #ffffff;
+ color: #000000;
}
.clocks-continue {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]