task-list-item: set a css name

parent 7e28b58b
...@@ -6,7 +6,7 @@ task-row { ...@@ -6,7 +6,7 @@ task-row {
border-bottom: 1px solid alpha(@borders, 0.4); border-bottom: 1px solid alpha(@borders, 0.4);
} }
GtdTaskListItem.thumbnail { task-list-item.thumbnail {
margin-left: 10px; margin-left: 10px;
margin-right: 10px; margin-right: 10px;
margin-top: 8px; margin-top: 8px;
...@@ -14,11 +14,11 @@ GtdTaskListItem.thumbnail { ...@@ -14,11 +14,11 @@ GtdTaskListItem.thumbnail {
font-size: 9px; font-size: 9px;
} }
GtdTaskListItem { task-list-item {
background-color: transparent; background-color: transparent;
} }
GtdTaskListItem, task-list-item,
task-list-view task-row { task-list-view task-row {
color: #000003; color: #000003;
} }
...@@ -27,7 +27,7 @@ task-list-view task-row:hover { ...@@ -27,7 +27,7 @@ task-list-view task-row:hover {
background-color: alpha(#ededed, 0.4); background-color: alpha(#ededed, 0.4);
} }
GtdTaskListItem.dark, task-list-item.dark,
task-list-view.dark task-row { task-list-view.dark task-row {
color: #eeeeec; color: #eeeeec;
} }
......
...@@ -526,6 +526,8 @@ gtd_task_list_item_class_init (GtdTaskListItemClass *klass) ...@@ -526,6 +526,8 @@ gtd_task_list_item_class_init (GtdTaskListItemClass *klass)
gtk_widget_class_bind_template_child_private (widget_class, GtdTaskListItem, title_label); gtk_widget_class_bind_template_child_private (widget_class, GtdTaskListItem, title_label);
gtk_widget_class_bind_template_callback (widget_class, gtd_task_list_item__button_press_event_cb); gtk_widget_class_bind_template_callback (widget_class, gtd_task_list_item__button_press_event_cb);
gtk_widget_class_set_css_name (widget_class, "task-list-item");
} }
static void static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment