summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/_sila/_tables.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets/styles/bmc/_sila/_tables.scss')
-rw-r--r--src/assets/styles/bmc/_sila/_tables.scss38
1 files changed, 13 insertions, 25 deletions
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;
-}