[gnome-clocks] First cut at lap list styling
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] First cut at lap list styling
- Date: Tue, 25 Sep 2012 18:03:44 +0000 (UTC)
commit 31b7a11149bbef191cb2a9d3136e69cee758b476
Author: Paolo Borelli <pborelli gnome org>
Date: Tue Sep 25 20:01:43 2012 +0200
First cut at lap list styling
data/gtk-style.css | 22 ++++++++++++++++++++++
gnomeclocks/stopwatch.py | 2 +-
2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index f0c7f25..73b76c9 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -68,3 +68,25 @@
);
border-image: url("button-border-stop-active.svg") 3 3 4 3 / 3 3 4 3 stretch;
}
+
+.view.clocks-laps {
+ background-color: @theme_bg_color;
+}
+
+.clocks-laps column-header.button,
+.clocks-laps column-header .button,
+.clocks-laps column-header.button:insensitive,
+.clocks-laps column-header .button:insensitive,
+.clocks-laps column-header.button:hover,
+.clocks-laps column-header .button:hover,
+.clocks-laps column-header.button:last-child,
+.clocks-laps column-header .button:last-child {
+ border-image: none;
+ border-style: solid;
+ border-color: @borders;
+ border-width: 1px 0 0 0;
+ border-radius: 0;
+ box-shadow: none;
+ background-color:shade(@theme_bg_color, 0.975);
+}
+
diff --git a/gnomeclocks/stopwatch.py b/gnomeclocks/stopwatch.py
index 82c97d3..76cbe91 100644
--- a/gnomeclocks/stopwatch.py
+++ b/gnomeclocks/stopwatch.py
@@ -50,7 +50,7 @@ class Stopwatch(Clock):
grid = Gtk.Grid()
grid.set_margin_top(12)
- grid.set_margin_bottom(24)
+ grid.set_margin_bottom(48)
grid.set_halign(Gtk.Align.CENTER)
grid.set_row_spacing(24)
grid.set_column_spacing(24)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]