general style improvements

This commit is contained in:
checktheroads 2021-04-29 21:52:22 -07:00
parent f9d43bcb46
commit 2422785ab1
7 changed files with 33 additions and 6 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -46,6 +46,11 @@
transition: background-color, color 0.15s ease-in-out; transition: background-color, color 0.15s ease-in-out;
} }
.text-xs {
font-size: $font-size-xs;
line-height: $line-height-sm;
}
body { body {
background-color: var(--nbx-body-bg); background-color: var(--nbx-body-bg);
color: var(--nbx-body-color); color: var(--nbx-body-color);
@ -92,6 +97,25 @@ body {
stroke: $gray-200; stroke: $gray-200;
} }
} }
table {
&.table > :not(caption) > * > * {
padding-left: $table-cell-padding-x-sm !important;
padding-right: $table-cell-padding-x-sm !important;
}
td,
th {
font-size: $font-size-xs;
line-height: $line-height-xs;
vertical-align: middle;
}
&.attr-table {
td,
th {
font-size: $font-size-sm;
line-height: $line-height-sm;
}
}
}
} }
div.title-container { div.title-container {
@ -499,10 +523,6 @@ table tbody {
} }
} }
} }
table td,
table th {
font-size: $font-size-sm;
}
// Cable Tracing // Cable Tracing
.cable-trace { .cable-trace {

View File

@ -119,6 +119,13 @@ $font-weight-lighter: 200;
$font-weight-medium: 600; $font-weight-medium: 600;
$font-weight-bolder: 800; $font-weight-bolder: 800;
$font-size-xs: 0.8rem;
$line-height-base: 1.5;
$line-height-xs: 1;
$line-height-sm: 1.25;
$line-height-lg: 1.75;
$theme-color-addons: ( $theme-color-addons: (
'alt': $alt, 'alt': $alt,
'gray': $gray-400, 'gray': $gray-400,