[gnome-shell/wip/jimmac/frederik-light] Light/Dark GDM entry, add shadows to btns
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/jimmac/frederik-light] Light/Dark GDM entry, add shadows to btns
- Date: Tue, 18 Jun 2019 11:42:14 +0000 (UTC)
commit 7ec3d3debb269bef4c04c2a3844d9594276096d3
Author: Feichtmeier <frederik feichtmeier gmail com>
Date: Thu Jun 6 17:26:39 2019 +0200
Light/Dark GDM entry, add shadows to btns
data/theme/gnome-shell-sass/_common.scss | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 78d923cbc1..4abf0a7fcb 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -1893,24 +1893,26 @@ StScrollBar {
StEntry {
@extend %search_entry;
- $_gdm_entry_bg: transparentize(lighten(desaturate(#241f31, 20%), 2%), 0.5);
- background-color: $_gdm_entry_bg;
- border-color: $_gdm_entry_bg;
border-radius: 5px;
- color: $osd_fg_color;
+ @if $variant=='dark' {
+ $_gdm_entry_bg: transparentize(lighten(desaturate(#241f31, 20%), 2%), 0.5);
+ background-color: $_gdm_entry_bg;
+ border-color: $_gdm_entry_bg;
+ color: $osd_fg_color;
+ }
}
.modal-dialog-button-box { spacing: 3px; }
.modal-dialog-button {
padding: 4px 18px;
-
+ box-shadow: 0 1px 3px transparentize($shadow_color, 0.02);
background-color: $_gdm_bg;
border-color: $_gdm_bg;
color: $_gdm_fg;
$_hover_c: lighten($_gdm_bg, 5%);
&:hover,&:focus {
- box-shadow: none;
+ box-shadow: 0 1px 3px $shadow_color;
background-color: $_hover_c;
border-color: $_hover_c;
}
@@ -1922,8 +1924,8 @@ StScrollBar {
}
&:insensitive {
@include button(insensitive);
- border-color: darken($_gdm_bg, 10%);
- background-color: darken($_gdm_bg, 10%);
+ border-color: darken($_gdm_bg, 5%);
+ background-color: darken($_gdm_bg, 5%);
color: transparentize($_gdm_fg, 0.3);
}
&:default {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]