[gnome-themes-standard] csd: first iteration of CSD shadows
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] csd: first iteration of CSD shadows
- Date: Tue, 9 Apr 2013 19:04:43 +0000 (UTC)
commit b0a7f82c35991cbeda7ce01343dfa47f3426a8d0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Apr 9 15:03:36 2013 -0400
csd: first iteration of CSD shadows
themes/Adwaita/gtk-3.0/gtk-main.css | 2 ++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 12 ++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index bce965b..01128ac 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -188,6 +188,8 @@
@define-color wm_bg_a shade (@theme_bg_color, 1.1);
@define-color wm_bg_b @theme_bg_color;
+ define-color wm_shadow alpha(black, 0.7);
+
@define-color wm_button_bg_a shade (@theme_bg_color, 1.0);
@define-color wm_button_bg_b shade (@theme_bg_color, 0.85);
@define-color wm_button_bg_c shade (@theme_bg_color, 0.8);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 8265405..5f40e10 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -4045,13 +4045,21 @@ GtkBubbleWindow .toolbar {
border-radius: 10px 10px 0 0;
border-width: 1px;
border-style: solid;
+
+ box-shadow: 0 2px 8px 3px @wm_shadow;
+}
+
+.window-border:backdrop {
+ box-shadow: 0 2px 5px 1px @wm_shadow;
}
.window-outer-border {
border-color: transparent;
- border-radius: 10px;
- border-width: 10px;
border-style: solid;
+
+ /* FIXME: we need an additional style property for the size
+ * of the invisible drag border */
+ border-width: 13px;
}
/**********************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]