month-cell: don't enbold overflow label
Only the day label should be made bold.
This commit is contained in:
@@ -428,18 +428,11 @@ monthcell {
|
|||||||
transition: background-color 200ms;
|
transition: background-color 200ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
monthcell:selected {
|
monthcell:selected { background-color: alpha(@theme_selected_bg_color, 0.1); }
|
||||||
font-weight: bold;
|
monthcell:selected label.day-label { font-weight: bold; }
|
||||||
background-color: alpha(@theme_selected_bg_color, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
monthcell.today {
|
monthcell.today { background-color: alpha(@theme_selected_bg_color, 0.25); }
|
||||||
background-color: alpha(@theme_selected_bg_color, 0.25);
|
monthcell:selected.today { background-color: alpha(@theme_selected_bg_color, 0.33); }
|
||||||
}
|
|
||||||
|
|
||||||
monthcell:selected.today {
|
|
||||||
background-color: alpha(@theme_selected_bg_color, 0.33);
|
|
||||||
}
|
|
||||||
|
|
||||||
monthcell.out-of-month {
|
monthcell.out-of-month {
|
||||||
background-color: alpha(@theme_bg_color, 0.4);
|
background-color: alpha(@theme_bg_color, 0.4);
|
||||||
@@ -455,13 +448,8 @@ monthcell:hover:not(.out-of-month) {
|
|||||||
transition: background-color 200ms;
|
transition: background-color 200ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
monthcell:dir(ltr):nth-child(7n + 1) {
|
monthcell:dir(ltr):nth-child(7n + 1) { border-left-width: 0; }
|
||||||
border-left-width: 0;
|
monthcell:dir(rtl):nth-child(7n + 1) { border-right-width: 0; }
|
||||||
}
|
|
||||||
|
|
||||||
monthcell:dir(rtl):nth-child(7n + 1) {
|
|
||||||
border-right-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
monthcell button {
|
monthcell button {
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
|
|||||||
@@ -49,6 +49,9 @@
|
|||||||
<object class="GtkLabel" id="day_label">
|
<object class="GtkLabel" id="day_label">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
|
<style>
|
||||||
|
<class name="day-label" />
|
||||||
|
</style>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="pack-type">end</property>
|
<property name="pack-type">end</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user