[gnome-themes-standard] csd: adapt to GTK master changes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] csd: adapt to GTK master changes
- Date: Mon, 22 Apr 2013 22:12:16 +0000 (UTC)
commit d2f5d65ea91b1042c31ca808eac4a32a73623b07
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 22 18:10:38 2013 -0400
csd: adapt to GTK master changes
Those also greatly simplify what we need to do to implement CSD
decorations and shadows.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 2463e91..3e8ca26 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -65,14 +65,6 @@
color: @theme_unfocused_fg_color;
}
-.background.client-decorated {
- background-color: transparent;
-}
-
-.background.window-content {
- background-color: @theme_bg_color;
-}
-
/* FIXME: why do we still need this? */
GtkClutterOffscreen {
background-color: @theme_bg_color;
@@ -4043,26 +4035,20 @@ GtkBubbleWindow .toolbar {
border-style: none;
}
-.window-border {
+.window-frame {
border-color: darker(@theme_bg_color);
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;
+ /* this is used for the resize cursor area */
+ margin: 10px;
}
-.window-outer-border {
- border-color: transparent;
- border-style: solid;
-
- /* FIXME: we need an additional style property for the size
- * of the invisible drag border */
- border-width: 13px;
+.window-frame:backdrop {
+ box-shadow: 0 2px 5px 1px @wm_shadow;
}
/**********************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]