[gnome-shell-sass] theme: Don't jump the today button on hover/focus
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] theme: Don't jump the today button on hover/focus
- Date: Thu, 6 Feb 2020 20:50:12 +0000 (UTC)
commit f99f45cc95105742cac953c61baf652dd22c359c
Author: nana-4 <hnmaigo gmail com>
Date: Sun Jan 12 23:31:36 2020 +0900
theme: Don't jump the today button on hover/focus
This seemed quite buggy as no other button jumps on hover/focus in the
theme.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088
widgets/_calendar.scss | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/widgets/_calendar.scss b/widgets/_calendar.scss
index ed2fa5f..2e2495c 100644
--- a/widgets/_calendar.scss
+++ b/widgets/_calendar.scss
@@ -22,20 +22,13 @@
padding: $base_padding * 1.5;
margin: $base_margin;
border: 1px solid transparent;
-
- &:focus,
- &:hover {
- border-radius:$base_border_radius + 2px;
- margin-top: $base_margin - 1px;
- margin-bottom: $base_margin + 1px;
- }
+ border-radius: $base_border_radius + 2px;
&:hover { @include button(hover);}
&:focus { @include button(focus);}
- &:active {
+ &:active {
@include button(active);
- margin: $base_margin;
}
// weekday label
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]