diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-07-13 15:05:58 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-07-13 16:00:23 +0300 |
commit | 56e59c84b9b2290d21467f6827ba07e4af5a9e61 (patch) | |
tree | 5fec0ceaa1428659f0cc1d4eaa66e5f0d6435fb2 /src/assets | |
parent | ac2e648139a370f1c5b418cfb1694b348f992f8e (diff) | |
download | webui-vue-56e59c84b9b2290d21467f6827ba07e4af5a9e61.tar.xz |
fix global tables style
Diffstat (limited to 'src/assets')
-rw-r--r-- | src/assets/styles/bmc/_sila/_tables.scss | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/src/assets/styles/bmc/_sila/_tables.scss b/src/assets/styles/bmc/_sila/_tables.scss index ff168b13..5344249a 100644 --- a/src/assets/styles/bmc/_sila/_tables.scss +++ b/src/assets/styles/bmc/_sila/_tables.scss @@ -2,10 +2,34 @@ position: relative; z-index: $zindex-dropdown; border: 1px solid $gray-30; + border-radius: $border-radius; + border-collapse: separate; + border-spacing: 0px; thead { th { border: none; + &:first-child { + border-radius: $border-radius 0 0 0; + } + &:last-child { + border-radius: 0 $border-radius 0 0; + } + } + } + + tbody { + tr { + border: none; + &:first-child { + border-radius: 0 0 0 $border-radius; + } + &:last-child { + border-radius: 0 0 $border-radius 0; + } + &.b-table-details:hover { + background-color: transparent; + } } } @@ -25,7 +49,7 @@ // thead-light added for specificity .thead-light th { - background-color: $surface-secondary; + background-color: $gray-10; vertical-align: middle; text-transform: uppercase; color: $text-primary; @@ -101,6 +125,10 @@ } } +.table-hover tbody tr:hover { + background-color: $gray-5; +} + .b-table-sticky-header td { border-top: none; } |