[gnome-shell-sass] theme: Don't recolor buttons and entries in dialogs and notifications



commit af206c869a6fcbf1f864f0c62a0009d2560782dc
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

 _common.scss                | 31 -------------------------------
 widgets/_notifications.scss |  3 ---
 2 files changed, 34 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index aea0dbb..6478348 100644
--- a/_common.scss
+++ b/_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/widgets/_notifications.scss b/widgets/_notifications.scss
index cc0a085..4bcbb68 100644
--- a/widgets/_notifications.scss
+++ b/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]