summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/custom/_tables.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets/styles/bmc/custom/_tables.scss')
-rw-r--r--src/assets/styles/bmc/custom/_tables.scss50
1 files changed, 29 insertions, 21 deletions
diff --git a/src/assets/styles/bmc/custom/_tables.scss b/src/assets/styles/bmc/custom/_tables.scss
index e8b5a832..8786ebb5 100644
--- a/src/assets/styles/bmc/custom/_tables.scss
+++ b/src/assets/styles/bmc/custom/_tables.scss
@@ -1,18 +1,18 @@
.table {
position: relative;
z-index: $zindex-dropdown;
-
+
td {
- border-top: 1px solid gray("300");
- border-bottom: 1px solid gray("300");
+ border-top: 1px solid $gray-10;
+ border-bottom: 1px solid $gray-10;
&:first-of-type {
- border-left: 1px solid gray("300");
+ border-left: 1px solid $gray-10;
}
&:last-of-type {
- border-right: 1px solid gray("300");
+ border-right: 1px solid $gray-10;
}
vertical-align: middle;
-
+ font-size: 0.875rem;
// Table action buttons
.btn-link {
width: 40px;
@@ -26,19 +26,24 @@
// thead-light added for specificity
.thead-light th {
+ background-color: $gray-10;
vertical-align: middle;
- border-top: 1px solid gray("300");
- border-bottom: 1px solid gray("300");
+ border-top: 1px solid $gray-10;
+ border-bottom: 1px solid $gray-10;
&:first-of-type {
- border-left: 1px solid gray("300");
+ border-left: 1px solid $gray-10;
}
&:last-of-type {
- border-right: 1px solid gray("300");
+ border-right: 1px solid $gray-10;
}
- color: theme-color("dark");
+ text-transform: uppercase;
+ color: $text-primary;
&:focus {
outline: none;
}
+ & > div {
+ font-size: 0.875rem !important;
+ }
}
.status-icon svg {
@@ -56,20 +61,22 @@
}
.b-table-details {
- background-color: theme-color("light");
+ background-color: inherit;
td {
- padding-left: calc(50px + (#{$table-cell-padding} * 2));
- padding-right: calc(50px + (#{$table-cell-padding} * 2));
+ padding-left: $table-cell-padding;
+ padding-right: $table-cell-padding;
}
dl {
margin: 0;
}
dt {
+ font-size: 0.75rem !important;
float: left;
clear: left;
margin-right: $spacer / 2;
}
dd {
+ font-size: 0.75rem !important;
line-height: 1.2
}
}
@@ -78,7 +85,7 @@
width: 50px;
.btn {
padding: 0;
- width: 50px;
+ width: 40px;
}
svg {
fill: theme-color("dark");
@@ -104,12 +111,12 @@
// Table stacked style for small screen only
@include media-breakpoint-down(xs) {
.b-table-stacked-sm {
- border: 1px solid gray("300");
+ border: 1px solid $gray-10;
tr {
- &:not(:first-child) > td[aria-colindex='1'] {
- border-top: 1px solid gray("300");
+ &:not(:first-child) > td[aria-colindex='1'] {
+ border-top: 1px solid $gray-10;
padding-top: 0.625rem;
}
@@ -164,8 +171,9 @@
padding-left: 1rem;
}
}
+}
+
+.table-responsive, .table-responsive-md {
+ margin-top: 0.5rem;
- .table.b-table.b-table-stacked-sm > tbody > tr > :first-child {
- border-top-width: 1px;
- }
}