From ac2e648139a370f1c5b418cfb1694b348f992f8e Mon Sep 17 00:00:00 2001 From: Anna Tsyganova Date: Wed, 13 Jul 2022 12:12:58 +0300 Subject: Add pages bms Issue: SILABMC-191 --- src/assets/styles/bmc/_sila/_tables.scss | 38 +++++++++++--------------------- 1 file changed, 13 insertions(+), 25 deletions(-) (limited to 'src/assets/styles/bmc/_sila') diff --git a/src/assets/styles/bmc/_sila/_tables.scss b/src/assets/styles/bmc/_sila/_tables.scss index d73bfdde..ff168b13 100644 --- a/src/assets/styles/bmc/_sila/_tables.scss +++ b/src/assets/styles/bmc/_sila/_tables.scss @@ -1,18 +1,15 @@ .table { position: relative; z-index: $zindex-dropdown; + border: 1px solid $gray-30; - td { - border-top: 1px solid $gray-10; - border-right: 1px solid $gray-10; - border-bottom-width: 0px; - &:first-of-type { - border-right: 1px solid $gray-10; - } - &:last-of-type { - border-left: 1px solid $gray-10; - border-right-width: 0px; + thead { + th { + border: none; } + } + + td { vertical-align: middle; font-size: 0.875rem; // Table action buttons @@ -30,16 +27,6 @@ .thead-light th { background-color: $surface-secondary; vertical-align: middle; - border-top-width: 0px; - border-bottom: 1px solid $gray-10; - border-right: 1px solid $gray-10; - &:first-of-type { - border-right: 1px solid $gray-10; - } - &:last-of-type { - border-left: 1px solid $gray-10; - border-right-width: 0px; - } text-transform: uppercase; color: $text-primary; &:focus { @@ -109,7 +96,7 @@ box-shadow: inset 0 0 0 2px theme-color('primary') !important; } &:hover { - background-color: theme-color-dark('light'); + background-color: $gray-5-hover; } } } @@ -118,6 +105,10 @@ border-top: none; } +.table-responsive, .table-responsive-md { + margin-top: 0.5rem; +} + // Table stacked style for small screen only @include media-breakpoint-down(xs) { .b-table-stacked-sm { @@ -126,7 +117,7 @@ tr { &:not(:first-child) > td[aria-colindex='1'] { - border-top: 1px solid $gray-10; + // border-top: 1px solid $gray-10; padding-top: 0.625rem; } @@ -183,6 +174,3 @@ } } -.table-responsive, .table-responsive-md { - margin-top: 0.5rem; -} -- cgit v1.2.3