From 239057a04113e6c066ba01edb9c2e3694f99699e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Sat, 22 Jun 2013 23:36:16 -0400 Subject: [PATCH] css: update styles to new ui Cleaned unused rules Fixed rules to match GcalNewEventWidget --- data/theme/gtk-styles.css | 99 +++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 56 deletions(-) diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css index bdc9ef0a..9c7e0fe1 100644 --- a/data/theme/gtk-styles.css +++ b/data/theme/gtk-styles.css @@ -1,88 +1,75 @@ .views { - /* background color of every view */ - background-color: #fafafa; - background-image: none; + /* background color of every view */ + background-color: #fafafa; + background-image: none; } .nav-button { - background-color: transparent; - background-image: none; + background-color: transparent; + background-image: none; } .nav-header { - font: bold 12; - padding: 12px; + font: bold 12; + padding: 12px; } .view-overlay .frame { - border-left: 0; - border-right: 0; - border-bottom: 0; + border-left: 0; + border-right: 0; + border-bottom: 0; } .view-overlay .scrollbar.trough { - background-color: transparent; - background-image: none; + background-color: transparent; + background-image: none; } .calendar-view { - padding: 6px; - font: 10; + padding: 6px; + font: 10; } .calendar-view:selected { - color: #0C73E5; - background-color: shade (#fff, 0.5); - font: bold; + color: #0C73E5; + background-color: shade (#fff, 0.5); + font: bold; } .event { - border: darker(@borders) 1px solid; - border-radius: 2px; - margin-top: 3px; - margin-left: 6px; - margin-bottom: 3px; - margin-right: 6px; - padding: 4px; - font: 9; + border: darker(@borders) 1px solid; + border-radius: 2px; + margin-top: 3px; + margin-left: 6px; + margin-bottom: 3px; + margin-right: 6px; + padding: 4px; + font: 9; } .event-details .frame { - border-style: solid; - border-color: @borders; - border-width: 0.5px; - border-radius: 0; + border-style: solid; + border-color: @borders; + border-width: 0.5px; + border-radius: 0; } .entry { - border-radius: 0; + border-radius: 0; } -GtkOverlay > GtkButton { - padding-top: 0px; - padding-right: 0px; - background-color: transparent; - background-image: none; - border: 0; +.new-event-widget > GtkButton { + padding-top: 0px; + padding-right: 0px; + background-color: transparent; + background-image: none; + border: 0; } -.new-event-view { - padding: 18px; - border: darker(@borders) 1px solid; - color: @theme_fg_color; - background-color: @theme_bg_color; - -GcalArrowBin-arrow-size: 12px; - -GcalArrowContainer-shadow-span: 3px; -} - -.edit-dialog { - -GtkDialog-content-area-border: 0; - -GtkDialog-action-area-border: 18; -} - -.readonly { - background-repeat: repeat; - background-image: linear-gradient(to bottom, - @borders, - shade(@theme_bg_color, 1.0)); -} +.arrow-bin { + border: darker(@borders) 1px solid; + color: @theme_fg_color; + background-color: @theme_bg_color; + -GcalArrowBin-arrow-size: 12px; + -GcalArrowContainer-shadow-span: 3px; +} \ No newline at end of file