From 36d449c865371b2efdc8c8f7ee0c983a0abb5f1b Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Tue, 13 Sep 2022 11:49:35 +0200 Subject: [PATCH] Bug 30952: Reintroduce table borders Issue #22 --- .../intranet-tmpl/prog/css/src/_tables.scss | 25 +++---------------- .../prog/css/src/staff-global.scss | 3 --- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss index bbc523e2e9..be71628215 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss @@ -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) { diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 5fd7719624..f1063ac7a8 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1999,9 +1999,6 @@ li { } td { - border: 0; - - button, a { &.btn-default { color: $green-text-color; -- 2.30.2