[gnome-shell-sass] theme: Add light styling to message buttons
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] theme: Add light styling to message buttons
- Date: Sun, 5 Jan 2020 12:22:32 +0000 (UTC)
commit 7ac0889a49b6cc5f97269b35c7bc34cac8f02598
Author: Joonas Henriksson <joonas henriksson gmail com>
Date: Wed Nov 27 01:20:31 2019 +0200
theme: Add light styling to message buttons
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/865
_common.scss | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 6a82a18..3f63fcb 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1154,8 +1154,8 @@ StScrollBar {
.message-close-button {
color: lighten($fg_color, 15%);
- &:hover { color: darken($fg_color, 10%); }
- &:active { color: darken($fg_color, 20%); }
+ &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
+ &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
}
.message-media-control {
@@ -1164,9 +1164,9 @@ StScrollBar {
&:last-child:ltr { padding-right: 18px; }
&:last-child:rtl { padding-left: 18px; }
- &:hover { color: darken($fg_color, 10%) }
- &:active { color: darken($fg_color, 20%); }
- &:insensitive { color: darken($fg_color,40%); }
+ &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
+ &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
+ &:insensitive { color: if($variant=='light', lighten($fg_color, 50%), darken($fg_color, 40%)); }
}
.media-message-cover-icon {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]