[gnome-todo] task-row: turn css name into 'taskrow'



commit de9a0dfedb8d0cfd660b25fd1c3cf346e0b8fc48
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Oct 8 17:33:36 2016 -0300

    task-row: turn css name into 'taskrow'

 data/theme/Adwaita.css |   24 ++++++++++++------------
 src/gtd-task-row.c     |    2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/data/theme/Adwaita.css b/data/theme/Adwaita.css
index 97b3069..dfcf186 100644
--- a/data/theme/Adwaita.css
+++ b/data/theme/Adwaita.css
@@ -2,7 +2,7 @@
     background-color: transparent;
 }
 
-task-row {
+taskrow {
     border-bottom: 1px solid alpha(@borders, 0.4);
 }
 
@@ -30,22 +30,22 @@ grid-item {
 }
 
 grid-item.light,
-task-list-view.light task-row label {
+task-list-view.light taskrow label {
     color: #000003;
 }
 
-task-list-view task-row:hover {
+task-list-view taskrow:hover {
     background-color: alpha(#ededed, 0.4);
 }
 
 grid-item.dark,
-task-list-view.dark task-row,
+task-list-view.dark taskrow,
 task-list-view.dark overlay label,
 task-list-view.dark overlay image {
     color: #eeeeec;
 }
 
-task-list-view.dark task-row:hover {
+task-list-view.dark taskrow:hover {
     background-color: alpha(#393f3f, 0.4);
 }
 
@@ -70,32 +70,32 @@ label.main-title {
 }
 
 /* priority icons */
-task-row {
+taskrow {
     background-color: @transparent;
 }
 
-task-row.priority-low {
+taskrow.priority-low {
     background-color: alpha(#3465a4, 0.2);
 }
 
-task-row.priority-low:hover {
+taskrow.priority-low:hover {
     background-color: alpha(#3465a4, 0.4);
 }
 
 
-task-row.priority-medium {
+taskrow.priority-medium {
     background-color: alpha(#f57900, 0.2);
 }
 
-task-row.priority-medium:hover {
+taskrow.priority-medium:hover {
     background-color: alpha(#f57900, 0.4);
 }
 
-task-row.priority-hight {
+taskrow.priority-hight {
     background-color: alpha(#cc0000, 0.2);
 }
 
-task-row.priority-hight:hover {
+taskrow.priority-hight:hover {
     background-color: alpha(#cc0000, 0.4);
 }
 
diff --git a/src/gtd-task-row.c b/src/gtd-task-row.c
index c362fa6..490eb6a 100644
--- a/src/gtd-task-row.c
+++ b/src/gtd-task-row.c
@@ -475,7 +475,7 @@ gtd_task_row_class_init (GtdTaskRowClass *klass)
   gtk_widget_class_bind_template_callback (widget_class, gtd_task_row__entry_activated);
   gtk_widget_class_bind_template_callback (widget_class, gtd_task_row__entry_focus_out);
 
-  gtk_widget_class_set_css_name (widget_class, "task-row");
+  gtk_widget_class_set_css_name (widget_class, "taskrow");
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]