[gtk+/gtk-3-12] W32: Add a theme for .app-notification
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-12] W32: Add a theme for .app-notification
- Date: Thu, 1 May 2014 17:56:59 +0000 (UTC)
commit affd7c1d9d12c3f652509df3d58ba0677d076f5e
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Thu May 1 17:09:40 2014 +0000
W32: Add a theme for .app-notification
This is copied from Adwaita. Looks sufficiently ok.
https://bugzilla.gnome.org/show_bug.cgi?id=729346
gtk/resources/theme/gtk-win32-base.css | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css
index a0176e8..e5c0349 100644
--- a/gtk/resources/theme/gtk-win32-base.css
+++ b/gtk/resources/theme/gtk-win32-base.css
@@ -12,6 +12,14 @@
@define-color error_fg_color rgb (166, 38, 38);
@define-color error_bg_color rgb (237, 54, 54);
+ 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 primary_toolbar_button_text_shadow alpha(black, 0.1);
+
GtkWindow,
GtkViewport {
background-color: @bg_color;
@@ -1473,3 +1481,21 @@ GtkPopover > .toolbar {
background-image: -gtk-win32-theme-part(menu, 12 1, over (11 2));
border-width: 0;
}
+
+/* Application notification */
+.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);
+
+ color: @theme_text_color;
+ text-shadow: 0 1px @primary_toolbar_button_text_shadow;
+ border-image: none;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]