[gnome-shell] theme: Don't recolor buttons and entries in dialogs and notifications
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] theme: Don't recolor buttons and entries in dialogs and notifications
- Date: Fri, 17 Jan 2020 13:01:05 +0000 (UTC)
commit 889863f35371124f95a4867f98497c77b972e907
Author: nana-4 <hnmaigo gmail com>
Date: Fri Jan 17 20:41:10 2020 +0900
theme: Don't recolor buttons and entries in dialogs and notifications
We should have a consistent dialog style in the whole system.
See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343
data/theme/gnome-shell-sass/_common.scss | 31 ----------------------
.../gnome-shell-sass/widgets/_notifications.scss | 3 ---
2 files changed, 34 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index aea0dbbc31..64783486a0 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -107,36 +107,6 @@ stage {
color: $fg_color;
background-color: $bg_color;
border: 1px solid if($variant=='light', rgba(0,0,0, 0.6), $borders_color);
-
- // entry
- StEntry { @extend %bubble_entry;}
-
- // button
- .button {
- background-color: $bg_color;
- color: $fg_color;
- box-shadow: none;
-
- &, &:hover, &:focus, &:active, &:disabled {
- border-color: $bubble_borders_color;
- }
-
- &:hover { background-color: $hover_bg_color;}
- &:active {
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- }
- &:disabled { color: $insensitive_fg_color;}
- }
-}
-
-// entries in dialogs
-%bubble_entry {
- color: $fg_color;
- background-color: darken($bg_color, 2%);
- border-color: $bubble_borders_color;
- box-shadow: none;
- &:focus { border: 2px solid $selected_bg_color;}
}
// button styling
@@ -158,7 +128,6 @@ stage {
%bubble_button {
@include button(normal, $shadow: none);
padding: $base_padding * 2;
- border-color: $bubble_borders_color;
border-style: solid;
border-width: 1px;
border-left-width: 0;
diff --git a/data/theme/gnome-shell-sass/widgets/_notifications.scss
b/data/theme/gnome-shell-sass/widgets/_notifications.scss
index cc0a0852a4..4bcbb68a32 100644
--- a/data/theme/gnome-shell-sass/widgets/_notifications.scss
+++ b/data/theme/gnome-shell-sass/widgets/_notifications.scss
@@ -27,9 +27,6 @@ $notification_banner_width: 34em;
color: $fg_color;
}
- // entries
- StEntry { @extend %bubble_entry; }
-
.notification-icon {
padding: 5px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]