[gnome-shell/wip/snwh/style-updates] theme: adjust dialog style drawing
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/style-updates] theme: adjust dialog style drawing
- Date: Mon, 3 Jan 2022 18:55:49 +0000 (UTC)
commit 86dea0888522ffe01c0cb902d35dce9c005712c9
Author: Sam Hewitt <sam snwh org>
Date: Mon Jan 3 15:25:44 2022 -0330
theme: adjust dialog style drawing
data/theme/gnome-shell-sass/_common.scss | 16 +++++++++-------
data/theme/gnome-shell-sass/widgets/_dialogs.scss | 1 -
2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 4801d15571..30ed54ca0d 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -98,13 +98,6 @@ stage {
text-align: center;
}
-// dialogs
-%bubble_panel {
- color: $fg_color;
- background-color: $bg_color;
- border: 1px solid if($variant=='light', rgba(0,0,0, 0.6), $borders_color);
-}
-
// button styling
%button {
border-radius: $base_border_radius - 2px; // 6px
@@ -120,6 +113,15 @@ stage {
&:active, &:checked { @include button(active);}
}
+// dialogs
+%bubble_panel {
+ color: $fg_color;
+ background-color: $bg_color;
+ border-radius: $base_border_radius*1.25 + 1px;
+ border: none;
+ box-shadow: 0 0 0 1px $shadow_color;
+}
+
// buttons in dialogs/notifications
// styled to have no shadow and be lighter in color
$bubble_button_radius:$base_border_radius*1.25;
diff --git a/data/theme/gnome-shell-sass/widgets/_dialogs.scss
b/data/theme/gnome-shell-sass/widgets/_dialogs.scss
index 6eb1cc10a4..d23bc041a3 100644
--- a/data/theme/gnome-shell-sass/widgets/_dialogs.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dialogs.scss
@@ -5,7 +5,6 @@
}
.modal-dialog {
- border-radius: $modal_radius;
@extend %bubble_panel;
.modal-dialog-content-box {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]