Pārlūkot izejas kodu

HUE-6812 [frontend] Swap sortable column style from top to bottom blue border

Enrico Berti 8 gadi atpakaļ
vecāks
revīzija
5e8151e7bb

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/home.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 4 - 7
desktop/core/src/desktop/static/desktop/less/components/hue-tables.less

@@ -130,6 +130,7 @@ table.display td.center {
 
 .sorting {
   cursor: pointer;
+  border-bottom: 1px solid transparent !important;
   padding-right: 20px !important;
   vertical-align: middle!important;
 }
@@ -141,7 +142,7 @@ table.display td.center {
 .sorting_asc {
   cursor: pointer;
   background: url('../art/datatables/sort_asc.png') no-repeat center right;
-  border-top: 1px solid #DCDCDC !important;
+  border-bottom: 1px solid @cui-blue-500 !important;
   padding-right: 20px !important;
   vertical-align: middle!important;
 }
@@ -153,7 +154,7 @@ table.display td.center {
 .sorting_desc {
   cursor: pointer;
   background: url('../art/datatables/sort_desc.png') no-repeat center right;
-  border-top: 1px solid #DCDCDC !important;
+  border-bottom: 1px solid @cui-blue-500 !important;
   padding-right: 20px !important;
   vertical-align: middle!important;
 }
@@ -176,10 +177,6 @@ table.display td.center {
   }
 }
 
-.dataTables_wrapper table th {
-  border-top: 1px solid transparent!important;
-}
-
 .table-huedatatable td.stripe {
   background: url('../art/stripedbackground.png');
 }
@@ -189,7 +186,7 @@ table.display td.center {
 }
 
 .sorting:hover, .sorting_asc:hover, .sorting_desc:hover {
-  border-top: 1px solid #29A7DE !important;
+  border-bottom: 1px solid @cui-blue-500 !important;
 }
 
 .table-huedatatable th.sorting:hover {

+ 1 - 4
desktop/core/src/desktop/static/desktop/less/home.less

@@ -37,6 +37,7 @@
   .flex-wrap(nowrap);
   overflow: hidden;
   padding: 2px;
+  padding-bottom: 0;
   clear: both;
 }
 
@@ -45,10 +46,6 @@
   letter-spacing: 0.035em;
   font-size: 15px;
   color: @cui-gray-700;
-
-  .sorting {
-    border-top: 1px solid transparent;
-  }
 }
 
 .doc-browser-empty {

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels