Browse Source

HUE-768 [core] Remove ambiguity about table headers sort icons

Changed css to show table headers
Changed color of the asc/desc arrows
Updated css to make it lighter
Moved sorting images on the left side of the column title
Enrico Berti 13 năm trước cách đây
mục cha
commit
03ac5e9

BIN
desktop/core/static/art/datatables/sort_asc.png


BIN
desktop/core/static/art/datatables/sort_both.png


BIN
desktop/core/static/art/datatables/sort_desc.png


BIN
desktop/core/static/art/datatables/src/sort_asc.png


BIN
desktop/core/static/art/datatables/src/sort_both.png


BIN
desktop/core/static/art/datatables/src/sort_desc.png


+ 19 - 9
desktop/core/static/css/hue2.css

@@ -496,24 +496,34 @@ table.display td.center {
  * DataTables sorting
  */
 
+.dataTables_wrapper table {
+    border-collapse: separate;
+    *border-collapse: collapsed;
+}
+
 .sorting_asc {
-    background: url('../art/datatables/sort_asc.png') no-repeat center right;
+    cursor: pointer;
+    background: url('../art/datatables/sort_asc.png') no-repeat center left;
+    border-bottom: 3px solid #EEEEEE!important;
+    padding-left: 20px!important;
 }
 
 .sorting_desc {
-    background: url('../art/datatables/sort_desc.png') no-repeat center right;
+    cursor: pointer;
+    background: url('../art/datatables/sort_desc.png') no-repeat center left;
+    border-bottom: 3px solid #EEEEEE!important;
+    padding-left: 20px!important;
 }
 
 .sorting {
-    background: url('../art/datatables/sort_both.png') no-repeat center right;
-}
-
-.sorting_asc_disabled {
-    background: url('../art/datatables/sort_asc_disabled.png') no-repeat center right;
+    cursor: pointer;
+    background: url('../art/datatables/sort_both.png') no-repeat center left;
+    border-bottom: 3px solid #FFFFFF!important;
+    padding-left: 20px!important;
 }
 
-.sorting_desc_disabled {
-    background: url('../art/datatables/sort_desc_disabled.png') no-repeat center right;
+.sorting:hover {
+    border-bottom: 3px solid #EEEEEE!important;
 }