month-cell: don't enbold overflow label

Only the day label should be made bold.
This commit is contained in:
Georges Basile Stavracas Neto
2017-10-07 11:27:56 -03:00
parent ff9c663c8c
commit a5e733f705
2 changed files with 9 additions and 18 deletions
+6 -18
View File
@@ -428,18 +428,11 @@ monthcell {
transition: background-color 200ms;
}
monthcell:selected {
font-weight: bold;
background-color: alpha(@theme_selected_bg_color, 0.1);
}
monthcell:selected { background-color: alpha(@theme_selected_bg_color, 0.1); }
monthcell:selected label.day-label { font-weight: bold; }
monthcell.today {
background-color: alpha(@theme_selected_bg_color, 0.25);
}
monthcell:selected.today {
background-color: alpha(@theme_selected_bg_color, 0.33);
}
monthcell.today { background-color: alpha(@theme_selected_bg_color, 0.25); }
monthcell:selected.today { background-color: alpha(@theme_selected_bg_color, 0.33); }
monthcell.out-of-month {
background-color: alpha(@theme_bg_color, 0.4);
@@ -455,13 +448,8 @@ monthcell:hover:not(.out-of-month) {
transition: background-color 200ms;
}
monthcell:dir(ltr):nth-child(7n + 1) {
border-left-width: 0;
}
monthcell:dir(rtl):nth-child(7n + 1) {
border-right-width: 0;
}
monthcell:dir(ltr):nth-child(7n + 1) { border-left-width: 0; }
monthcell:dir(rtl):nth-child(7n + 1) { border-right-width: 0; }
monthcell button {
padding: 0 4px;
+3
View File
@@ -49,6 +49,9 @@
<object class="GtkLabel" id="day_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<style>
<class name="day-label" />
</style>
</object>
<packing>
<property name="pack-type">end</property>