calendar: Use widgets for everything

This commit is contained in:
Timm Bäder 2020-02-04 14:03:17 +01:00 committed by Matthias Clasen
parent a437162f6d
commit a6f9052cf1
2 changed files with 228 additions and 882 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3398,42 +3398,31 @@ calendar {
} }
} }
&:selected { > grid {
@extend %selected_items; > label.day-name {
}
border-radius: 3px; > label.week-number {
} }
&.header { > label.day-number {
border-bottom-color: transparentize(black, 0.9); padding: 4px;
&:backdrop { border-bottom-color: transparentize(black, 0.9); } &:selected{
} @extend %selected_items;
border-radius: 3px;
}
}
&.button { > label.day-number.other-month {
@extend %undecorated_button; color: gtkalpha(currentColor, 0.3);
}
color: transparentize($fg_color, 0.55);
&:hover { color: $fg_color; }
&:backdrop { color: transparentize($backdrop_fg_color,0.55); }
&:disabled { color: transparentize($insensitive_fg_color,0.55); }
}
&.highlight {
color: $insensitive_fg_color;
&:backdrop { color: $backdrop_insensitive_color; }
} }
&:backdrop { &:backdrop {
color: $backdrop_text_color; color: $backdrop_text_color;
border-color: $backdrop_borders_color; border-color: $backdrop_borders_color;
} }
&:indeterminate { color: gtkalpha(currentColor, 0.1); }
} }