[gtk/wip/exalm/window: 3880/3881] theme: Restructure window style
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/window: 3880/3881] theme: Restructure window style
- Date: Thu, 12 Nov 2020 17:30:55 +0000 (UTC)
commit 7ac79196976a8f6a810706cddf0029ff80d6e7c7
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Nov 12 22:17:52 2020 +0500
theme: Restructure window style
gtk/theme/Adwaita/_common.scss | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 8b5c53bdec..552fcdc376 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3885,16 +3885,28 @@ window {
0 0 0 1px $_wm_border_backdrop;
transition: $backdrop_transition;
}
- }
- &.solid-csd {
- margin: 0;
- padding: 0;
- border: solid 1px $borders_color;
- border-radius: 0;
- box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight;
+ &.popup {
+ border-radius: $menu_radius;
+ box-shadow: 0 1px 2px transparentize(black, 0.8),
+ 0 0 0 1px transparentize($_wm_border, 0.1);
+ }
+
+ &.dialog.message {
+ border-radius: $window_radius;
+ box-shadow: 0 1px 2px transparentize(black, 0.8),
+ 0 0 0 1px transparentize($_wm_border, 0.1);
+ }
+
+ &.solid-csd {
+ margin: 0;
+ padding: 0;
+ border: solid 1px $borders_color;
+ border-radius: 0;
+ box-shadow: inset 0 0 0 3px $headerbar_color, inset 0 1px $top_hilight;
- &:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
+ &:backdrop { box-shadow: inset 0 0 0 3px $backdrop_bg_color, inset 0 1px $top_hilight; }
+ }
}
&.maximized,
@@ -3910,18 +3922,6 @@ window {
// server-side decorations as used by mutter
&.ssd { box-shadow: 0 0 0 1px $_wm_border; } //just doing borders, wm draws actual shadows
- &.csd.popup {
- border-radius: $menu_radius;
- box-shadow: 0 1px 2px transparentize(black, 0.8),
- 0 0 0 1px transparentize($_wm_border, 0.1);
- }
-
- &.dialog.message.csd {
- border-radius: $window_radius;
- box-shadow: 0 1px 2px transparentize(black, 0.8),
- 0 0 0 1px transparentize($_wm_border, 0.1);
- }
-
}
tooltip.csd {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]