gtk-styles.css: adapt to GTK+ 3.21 CSS strictness

GTK+ 3.21 is stricter about CSS values having a unit defined. Fix the
gnome-calendar CSS accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=765698
This commit is contained in:
fosero
2016-05-20 11:20:53 -03:00
committed by Georges Basile Stavracas Neto
parent a83e8dd972
commit feedfa4be5
+15 -11
View File
@@ -7,19 +7,21 @@
/* nav-bar labels */
.start-header {
font: bold 18;
font-size: 18pt;
font-weight: bold;
color: @theme_selected_bg_color;
padding: 12px;
}
.end-header {
font: bold 18;
font-size: 18pt;
font-weight: bold;
padding: 12px;
}
calendar-view {
padding: 6px;
font: 10;
font-size: 10pt;
}
calendar-view.header {
@@ -30,7 +32,7 @@ calendar-view.current {
background-color: black;
border-radius: 2px;
color: white;
font: bold;
font-weight: bold;
}
calendar-view:selected {
@@ -46,7 +48,7 @@ calendar-view.overflow:hover {
}
calendar-view.overflow {
font: 8;
font-size: 8pt;
}
calendar-view.lines {
@@ -54,13 +56,15 @@ calendar-view.lines {
}
calendar-view.first-view-header {
font: bold 16;
font-size: 16pt;
font-weight: bold;
color: @theme_selected_bg_color;
padding: 12px;
}
calendar-view.second-view-header {
font: bold 16;
font-size: 16pt;
font-weight: bold;
padding: 12px;
color: alpha(@theme_fg_color, 0.55);
}
@@ -91,7 +95,7 @@ calendar-view.second-view-header {
.year-navigator.days {
padding: 5px;
color: @theme_fg_color;
font: 9;
font-size: 9pt;
}
.year-navigator.sunday {
@@ -111,7 +115,7 @@ calendar-view.second-view-header {
background-color: black;
border-radius: 2px;
color: white;
font: bold;
font-weight: bold;
}
.year-navigator:selected {
color: @theme_selected_bg_color;
@@ -133,7 +137,7 @@ calendar-view.second-view-header {
.sidebar-header {
font-weight: bold;
font-size: 11px;
font-size: 11pt;
}
.italic-label {
@@ -199,7 +203,7 @@ event-widget {
border-radius: 2px;
margin: 2px 2px 1px;
padding: 3px 4px;
font: 9;
font-size: 9pt;
}
event-widget.color-dark {