[gnome-shell] theme/notifications: Remove some duplicate or pointless styling
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] theme/notifications: Remove some duplicate or pointless styling
- Date: Thu, 6 Feb 2020 20:42:22 +0000 (UTC)
commit 900d36d0ead97a63c726a3f94c532d6b6522c635
Author: nana-4 <hnmaigo gmail com>
Date: Wed Feb 5 01:07:55 2020 +0900
theme/notifications: Remove some duplicate or pointless styling
Those styles are defined in .message and do not need to be overridden in
.notification-banner.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957
.../gnome-shell-sass/widgets/_notifications.scss | 20 --------------------
1 file changed, 20 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_notifications.scss
b/data/theme/gnome-shell-sass/widgets/_notifications.scss
index cc69379640..7d0cda2ba2 100644
--- a/data/theme/gnome-shell-sass/widgets/_notifications.scss
+++ b/data/theme/gnome-shell-sass/widgets/_notifications.scss
@@ -7,28 +7,8 @@ $notification_banner_width: 34em;
.notification-banner {
min-height: $notification_banner_height;
width: $notification_banner_width;
- @include fontsize($base_font_size);
- margin: $base_margin;
- border-radius: $modal_radius;
-
- .message-title { color: $fg_color }
- .message-content { color: $fg_color; }
-
- &:hover { background: $bg_color; }
- &, &:focus, &:active {
- background-color: $bg_color;
- .message-title { color: $fg_color }
- .message-content { color: $fg_color; }
- }
-
- // icon
- .message-icon-bin > StIcon {
- icon-size: $base_icon_size * 2;
- color: $fg_color;
- }
.notification-actions {
- padding-top: 0;
spacing: 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]