[gnome-themes-standard] app-notification: add styling for an app-notification class
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] app-notification: add styling for an app-notification class
- Date: Thu, 16 Aug 2012 21:34:42 +0000 (UTC)
commit f6b40f29950d26a639abfacf347ade07eec4ce82
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Aug 16 23:33:04 2012 +0200
app-notification: add styling for an app-notification class
As used in Contacts, Documents and Boxes. Adds support for the dark
theme variation to it as well, taken from Boxes' gtk-style.css.
themes/Adwaita/gtk-3.0/gnome-applications.css | 14 --------------
themes/Adwaita/gtk-3.0/gtk-main-dark.css | 6 ++++++
themes/Adwaita/gtk-3.0/gtk-main.css | 6 ++++++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 18 ++++++++++++++++++
4 files changed, 30 insertions(+), 14 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index 3f3c918..ac3fc27 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -295,20 +295,6 @@ GeditFloatingSlider .not-found {
color: shade(@entry_tag_bg, 2.10);
}
-.documents-notification {
- border-style: solid;
- border-color: #949486;
- border-width: 0 1px 1px 1px;
- border-radius: 0 0 5px 5px;
- padding: 8px;
- background-image: -gtk-gradient (linear,
- left top, left bottom,
- from(#aeaea4),
- color-stop(0.18, #d1d1cb),
- to(#d8d8d3));
- text-shadow: 0 1px @primary_toolbar_button_text_shadow;
-}
-
/* baobab */
.baobab-toolbar.toolbar {
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index b9b0f5f..9994430 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -113,6 +113,12 @@
@define-color content_view_bg #242424;
+ define-color app_notification_a #343a3b;
+ define-color app_notification_b #3b3e3f;
+ define-color app_notification_c #343a3b;
+
+ define-color app_notification_border #555357;
+
@define-color treeview_focus_border shade (@theme_selected_bg_color, 1.20);
@define-color view_separators shade (@internal_element_color, 0.90);
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index b0fd224..889eca3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -113,6 +113,12 @@
@define-color content_view_bg #f1f2f1;
+ define-color app_notification_a #aeaea4;
+ define-color app_notification_b #d1d1cb;
+ define-color app_notification_c #d8d8d3;
+
+ define-color app_notification_border #949486;
+
@define-color treeview_focus_border #2a79cb;
@define-color view_separators shade(@borders, 1.30);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index b5e589d..026d119 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2794,6 +2794,24 @@ GtkIconView.content-view.check:active {
background-color: transparent;
}
+/*********************
+ * App Notifications *
+ *********************/
+.app-notification {
+ border-style: solid;
+ border-color: @app_notification_border;
+ border-width: 0 1px 1px 1px;
+ border-radius: 0 0 5px 5px;
+ padding: 8px;
+
+ background-image: linear-gradient(to bottom,
+ @app_notification_a,
+ @app_notification_b 18%,
+ @app_notification_c);
+
+ text-shadow: 0 1px @primary_toolbar_button_text_shadow;
+}
+
/* Calendars */
GtkCalendar {
padding: 2px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]