Bug 30952: Reintroduce table borders
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 13 Sep 2022 09:49:35 +0000 (11:49 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Oct 2022 19:14:18 +0000 (16:14 -0300)
Issue #22

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss

index bbc523e..be71628 100644 (file)
@@ -74,7 +74,6 @@ table {
         margin-top: .5em;
         margin-bottom: .5em;
 
-
         tfoot {
             td,
             th {
@@ -83,20 +82,14 @@ table {
         }
 
         thead {
-
-
             th,
             td {
-
-                border-top: none;
-                border-left: none;
-                border-right: none;
-                border: none;
                 padding: .5em;
             }
 
             tr {
-            background-color: #fff;
+                background-color: #fff;
+
                 &.columnFilter {
                     th {
                         padding: 0;
@@ -105,7 +98,6 @@ table {
             }
 
             .sorting_asc {
-
                 &.fixed_sort {
                     background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2bW0iIGhlaWdodD0iOS4wMSIgdmlld0JveD0iMCAwIDYgMi4zODQiPjxwYXRoIGZpbGw9IiM5NDk0OTQiIGQ9Ik00LjA1IDEuNzRoLTIuMUwzIC42NHoiLz48L3N2Zz4=") no-repeat scroll right center $table-header-background;
                     cursor: default;
@@ -123,11 +115,10 @@ table {
         }
 
         tbody {
-            border-top: 2px solid #A19B9E;
+            border-top: 2px solid $table-border-color;
 
             td {
                 padding: .5em;
-                border: none;
             }
         }
     }
@@ -137,13 +128,10 @@ table {
         tr {
             &.odd td {
                 background-color: #F3F3F3;
-                border: 1px solid $table-border-color;
-                border-right: 1px solid $table-border-color;
             }
 
             &.even td {
                 background-color: #FFF;
-                border-right: 1px solid $table-border-color;
             }
         }
 
@@ -158,6 +146,7 @@ table {
 td,
 th {
     padding: .2em .9em;
+    border: 1px solid $table-border-color;
 }
 
 td {
@@ -372,12 +361,6 @@ caption {
 
 tbody {
     tr {
-
-        &:nth-child(odd):not(.dtrg-group) {
-            td {
-                border: none;
-            }
-        }
         &:nth-child(odd):not(.dtrg-group):not(.active):not(.ok) {
             td {
                 &:not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-success):not(.bg-primary) {
index 41e791e..707eed7 100644 (file)
@@ -1999,9 +1999,6 @@ li {
     }
 
     td {
-        border: 0;
-
-
         button, a {
             &.btn-default {
                 color: $green-text-color;