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
This commit is contained in:
nana-4 2020-01-17 20:41:10 +09:00
parent 9726aba257
commit 889863f353
2 changed files with 0 additions and 34 deletions

View File

@ -107,36 +107,6 @@ stage {
color: $fg_color; color: $fg_color;
background-color: $bg_color; background-color: $bg_color;
border: 1px solid if($variant=='light', rgba(0,0,0, 0.6), $borders_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 // button styling
@ -158,7 +128,6 @@ stage {
%bubble_button { %bubble_button {
@include button(normal, $shadow: none); @include button(normal, $shadow: none);
padding: $base_padding * 2; padding: $base_padding * 2;
border-color: $bubble_borders_color;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
border-left-width: 0; border-left-width: 0;

View File

@ -27,9 +27,6 @@ $notification_banner_width: 34em;
color: $fg_color; color: $fg_color;
} }
// entries
StEntry { @extend %bubble_entry; }
.notification-icon { .notification-icon {
padding: 5px; padding: 5px;
} }