[gnome-themes-standard] app notification: initial implementation



commit 0eeecc8394e56ace185444025fd7c204b49e7c96
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed May 28 12:26:17 2014 +0200

    app notification: initial implementation

 themes/Adwaita/gtk-3.0/_common.scss           |   17 +++++++++++++++++
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |   13 +++++++++++++
 themes/Adwaita/gtk-3.0/gtk-contained.css      |   13 +++++++++++++
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 541b939..fcf71c9 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -759,6 +759,23 @@ GtkScrolledWindow {
   color: transparentize(black, 0.9);
 }
 
+/*********************
+ * App Notifications *
+ *********************/
+
+.app-notification {
+  border-width: 0 1px 1px;
+  border-style: solid;
+  border-color: $borders_color;
+  border-radius: 0 0 6px 6px;
+  background-image: linear-gradient(to bottom, mix(black, $bg_color, 6%) 5%,
+                              mix(black, $bg_color, 4%));
+  // FIXME no space for outer shadow : box-shadow: 0 1px 1px rgba(0,0,0,.5);
+  padding: 0 4px;
+  .button { padding: 6px; }
+}
+
+ 
 /**********************
  * Window Decorations *
  *********************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 0179330..83b44c4 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -870,6 +870,19 @@ GtkScrolledWindow GtkViewport.frame {
 .separator {
   color: rgba(0, 0, 0, 0.1); }
 
+/*********************
+ * App Notifications *
+ *********************/
+.app-notification {
+  border-width: 0 1px 1px;
+  border-style: solid;
+  border-color: #1c1f1f;
+  border-radius: 0 0 6px 6px;
+  background-image: linear-gradient(to bottom, #353b3b 5%, #363c3c);
+  padding: 0 4px; }
+  .app-notification .button {
+    padding: 6px; }
+
 /**********************
  * Window Decorations *
  *********************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index cad4305..2bc8673 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -870,6 +870,19 @@ GtkScrolledWindow GtkViewport.frame {
 .separator {
   color: rgba(0, 0, 0, 0.1); }
 
+/*********************
+ * App Notifications *
+ *********************/
+.app-notification {
+  border-width: 0 1px 1px;
+  border-style: solid;
+  border-color: #a1a1a1;
+  border-radius: 0 0 6px 6px;
+  background-image: linear-gradient(to bottom, #dedede 5%, #e3e3e3);
+  padding: 0 4px; }
+  .app-notification .button {
+    padding: 6px; }
+
 /**********************
  * Window Decorations *
  *********************/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]