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
This commit is contained in:
nana-4 2020-01-12 23:31:36 +09:00
parent dcf7ba3bc7
commit 260cce9d92

View File

@ -22,20 +22,13 @@
padding: $base_padding * 1.5; padding: $base_padding * 1.5;
margin: $base_margin; margin: $base_margin;
border: 1px solid transparent; border: 1px solid transparent;
border-radius: $base_border_radius + 2px;
&:focus,
&:hover {
border-radius:$base_border_radius + 2px;
margin-top: $base_margin - 1px;
margin-bottom: $base_margin + 1px;
}
&:hover { @include button(hover);} &:hover { @include button(hover);}
&:focus { @include button(focus);} &:focus { @include button(focus);}
&:active { &:active {
@include button(active); @include button(active);
margin: $base_margin;
} }
// weekday label // weekday label