general style improvements
This commit is contained in:
parent
abd9ffd31d
commit
aee09d9119
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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-sm;
|
||||||
|
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 {
|
||||||
|
|
|
||||||
|
|
@ -109,12 +109,19 @@ div.form-floating div.ss-main div.ss-multi-selected {
|
||||||
border-bottom-left-radius: $form-select-border-radius;
|
border-bottom-left-radius: $form-select-border-radius;
|
||||||
border-bottom-right-radius: $form-select-border-radius;
|
border-bottom-right-radius: $form-select-border-radius;
|
||||||
}
|
}
|
||||||
|
.ss-option.ss-disabled {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.ss-option.ss-disabled:hover {
|
||||||
|
color: unset;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
border-bottom-left-radius: $form-select-border-radius;
|
border-bottom-left-radius: $form-select-border-radius;
|
||||||
border-bottom-right-radius: $form-select-border-radius;
|
border-bottom-right-radius: $form-select-border-radius;
|
||||||
.ss-search {
|
.ss-search {
|
||||||
input[type='search'] {
|
input[type='search'] {
|
||||||
background-color: $form-select-bg;
|
background-color: $form-select-bg;
|
||||||
|
color: $input-color;
|
||||||
border: $form-select-border-width solid $form-select-border-color;
|
border: $form-select-border-width solid $form-select-border-color;
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: $form-select-focus-border-color;
|
border-color: $form-select-focus-border-color;
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -47,11 +47,11 @@ $box-shadow: 0 0.5rem 1rem rgba($black, 0.15);
|
||||||
$box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075);
|
$box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075);
|
||||||
$box-shadow-lg: 0 1rem 3rem rgba($black, 0.175);
|
$box-shadow-lg: 0 1rem 3rem rgba($black, 0.175);
|
||||||
$box-shadow-inset: inset 0 1px 2px rgba($black, 0.075);
|
$box-shadow-inset: inset 0 1px 2px rgba($black, 0.075);
|
||||||
// $component-active-color: $white;
|
|
||||||
// $component-active-bg: $primary;
|
|
||||||
$text-muted: $gray-500;
|
$text-muted: $gray-500;
|
||||||
$blockquote-footer-color: $gray-600;
|
$blockquote-footer-color: $gray-600;
|
||||||
$mark-bg: #fcf8e3;
|
$mark-bg: #fcf8e3;
|
||||||
|
$link-color: $primary;
|
||||||
|
$link-hover-color: $blue-200;
|
||||||
|
|
||||||
// Tables
|
// Tables
|
||||||
$table-color: $gray-100;
|
$table-color: $gray-100;
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
{% block message %}<p>Are you sure?</p>{% endblock %}
|
{% block message %}<p>Are you sure?</p>{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer text-end">
|
<div class="card-footer text-end">
|
||||||
<a href="{{ return_url }}" class="btn btn-outline-dark">Cancel</a>
|
<a href="{{ return_url }}" class="btn btn-outline-gray-900">Cancel</a>
|
||||||
<button type="submit" name="_confirm" class="btn btn-{{ button_class|default:"dark" }}">Confirm</button>
|
<button type="submit" name="_confirm" class="btn btn-{{ button_class|default:"gray-900" }}">Confirm</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue