date-chooser: add date chooser widget

This is mainly a copy-paste from an old branch authored
by Matthias Clasen. The code style was updated to match
Calendar's one, and the theming was improved a little bit.
This commit is contained in:
Georges Basile Stavracas Neto
2016-07-23 17:47:11 -03:00
parent 4880c68347
commit c2dca8a3dc
12 changed files with 2085 additions and 0 deletions
+31
View File
@@ -290,3 +290,34 @@ button:checked:not(:backdrop) .calendar-color-image,
.sources-button:not(:backdrop):not(:disabled) .calendar-color-image {
-gtk-icon-shadow: 0 1px alpha(black, 0.1);
}
/* Date chooser */
datechooser .weeknum,
datechooser .weekday {
color: alpha(@theme_fg_color, 0.55);;
font-size: 80%;
}
navigator button {
padding: 0;
}
navigator label {
font-weight: bold;
}
datechooser day {
color: @theme_fg_color;
min-width: 32px;
min-height: 32px;
}
datechooser day.other-month {
color: @theme_insensitive_fg_color;
}
datechooser day:selected {
color: @theme_selected_fg_color;
background-color: @theme_selected_bg_color;
border-radius: 50%;
}