summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-07-13 15:05:58 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-07-13 16:00:23 +0300
commit56e59c84b9b2290d21467f6827ba07e4af5a9e61 (patch)
tree5fec0ceaa1428659f0cc1d4eaa66e5f0d6435fb2
parentac2e648139a370f1c5b418cfb1694b348f992f8e (diff)
downloadwebui-vue-56e59c84b9b2290d21467f6827ba07e4af5a9e61.tar.xz
fix global tables style
-rw-r--r--src/assets/styles/bmc/_sila/_tables.scss30
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;
}