[gnome-shell/wip/snwh/sass-cleanup: 472/475] theme: fix for media control borders
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/sass-cleanup: 472/475] theme: fix for media control borders
- Date: Wed, 18 Dec 2019 16:04:03 +0000 (UTC)
commit 9c51fcbba0c6b294dbec8a3afd9fb5f147bacf3c
Author: Sam Hewitt <sam snwh org>
Date: Tue Dec 17 09:22:44 2019 -0500
theme: fix for media control borders
data/theme/gnome-shell-sass/widgets/_message-list.scss | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss
b/data/theme/gnome-shell-sass/widgets/_message-list.scss
index 48c38ac634..61b795640c 100644
--- a/data/theme/gnome-shell-sass/widgets/_message-list.scss
+++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss
@@ -108,16 +108,8 @@
.message-media-control {
padding: $base_padding * 2 $base_padding * 4;
color: darken($fg_color, 15%);
- // border: 0 solid $borders_color;
- // border-left-width:1px;
-
- &:last-child:ltr {
- border-radius: 0 calc(#{$base_border_radius} + 2px) calc(#{$base_border_radius} + 2px) 0;
- }
- &:last-child:rtl {
- border-radius: calc(#{$base_border_radius} + 2px) 0 0 calc(#{$base_border_radius} + 2px);
- }
+ // uses $hover_bg_color since the media controls are in a notification_bubble
&:hover {
background-color: lighten($hover_bg_color, 5%);
color: $fg_color;
@@ -129,6 +121,10 @@
}
&:insensitive { color: darken($fg_color,40%); }
+
+ // fix border-radius for last button on hover
+ &:last-child:ltr { &:hover {border-radius: 0 $base_border_radius + 2px $base_border_radius + 2px 0;}
}
+ &:last-child:rtl { &:hover {border-radius: calc(#{$base_border_radius} + 2px) 0 0
calc(#{$base_border_radius} + 2px);} }
}
// album-art
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]