style: Change text styles in calendar popover for better visibility

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3076>
This commit is contained in:
Sam Hewitt 2023-12-22 17:15:25 -03:30 committed by Marge Bot
parent 43e45d4b5f
commit 21a6c22fc6
2 changed files with 5 additions and 5 deletions

View File

@ -265,10 +265,10 @@
// reset // reset
@else if $t==undecorated { @else if $t==undecorated {
background-color: transparent; background-color: transparent;
background-color: none;
&:insensitive { &:insensitive {
@include button(insensitive); @include button(insensitive);
background-color: transparent; background-color: transparent;
box-shadow: none;
} }
} }
} }
@ -351,7 +351,6 @@
@if $flat { @if $flat {
@include button(undecorated); @include button(undecorated);
box-shadow: none !important;
} @else { } @else {
@include button(normal); @include button(normal);
} }
@ -362,7 +361,7 @@
&:insensitive { &:insensitive {
@include button(insensitive); @include button(insensitive);
@if $flat { @if $flat {
background-color: transparent; background-color: transparent;
} }
} }
} }

View File

@ -33,6 +33,7 @@
.calendar { .calendar {
@include card(flat); @include card(flat);
margin-top: 0; margin-top: 0;
padding: 0;
// month header // month header
.calendar-month-header { .calendar-month-header {
@ -90,13 +91,13 @@
} }
&.calendar-other-month { &.calendar-other-month {
color: transparentize($insensitive_fg_color, 0.7) !important; color: $insensitive_fg_color;
font-weight: normal; font-weight: normal;
font-style: italic;
} }
&.calendar-today { &.calendar-today {
@extend .button, .default; @extend .button, .default;
color: $selected_fg_color; /* override weekends */
} }
&.calendar-day-with-events { &.calendar-day-with-events {