2021-03-30 12:34:31 +00:00
|
|
|
// Solar 4.6.0
|
2020-05-19 16:53:54 +00:00
|
|
|
// Bootswatch
|
|
|
|
|
|
|
|
|
|
|
|
// Variables ===================================================================
|
|
|
|
|
2020-11-06 13:16:40 +00:00
|
|
|
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" !default;
|
2020-05-19 16:53:54 +00:00
|
|
|
@import url($web-font-path);
|
|
|
|
|
|
|
|
// Buttons =====================================================================
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
@each $color, $value in $theme-colors {
|
|
|
|
&-#{$color} {
|
|
|
|
@if $enable-gradients {
|
|
|
|
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
|
|
|
|
} @else {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Tables ======================================================================
|
|
|
|
|
|
|
|
.table {
|
|
|
|
&-primary,
|
|
|
|
&-secondary,
|
|
|
|
&-dark,
|
|
|
|
&-success,
|
|
|
|
&-info,
|
|
|
|
&-warning,
|
|
|
|
&-danger {
|
2020-11-06 13:16:40 +00:00
|
|
|
color: $white;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-primary {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-secondary {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-light {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-dark {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-success {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-info {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $info;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-danger {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-warning {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $warning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-active {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $table-active-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-hover {
|
|
|
|
.table-primary:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($primary, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-secondary:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($secondary, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-light:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($light, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-dark:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($dark, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-success:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($success, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-info:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($info, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-danger:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($danger, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-warning:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: darken($warning, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-active:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
&,
|
|
|
|
> th,
|
|
|
|
> td {
|
2020-05-19 16:53:54 +00:00
|
|
|
background-color: $table-active-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Forms =======================================================================
|
|
|
|
|
|
|
|
.custom-control-input:checked ~ .custom-control-label::before {
|
2020-11-06 13:16:40 +00:00
|
|
|
background-color: $primary;
|
|
|
|
background-image: none;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
|
|
|
|
border-color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
|
2020-11-06 13:16:40 +00:00
|
|
|
background-color: $primary;
|
|
|
|
background-image: none;
|
2020-05-19 16:53:54 +00:00
|
|
|
border-color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-switch {
|
|
|
|
.custom-control-label::after {
|
|
|
|
background-color: rgba(255, 255, 255, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-control-input:checked ~ .custom-control-label::after {
|
2020-11-06 13:16:40 +00:00
|
|
|
background-color: rgba(255, 255, 255, .75);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Indicators ==================================================================
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
border: none;
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
a,
|
|
|
|
.alert-link {
|
2020-11-06 13:16:40 +00:00
|
|
|
color: $white;
|
2020-05-19 16:53:54 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $color, $value in $theme-colors {
|
|
|
|
&-#{$color} {
|
|
|
|
@if $enable-gradients {
|
|
|
|
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
|
|
|
|
} @else {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-light {
|
|
|
|
&,
|
2020-11-06 13:16:40 +00:00
|
|
|
a:not(.btn),
|
|
|
|
.alert-link {
|
2020-05-19 16:53:54 +00:00
|
|
|
color: $body-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|