2020-11-06 13:16:40 +00:00
|
|
|
// Flatly 4.5.3
|
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=Lato:ital,wght@0,400;0,700;1,400&display=swap" !default;
|
2020-05-19 16:53:54 +00:00
|
|
|
@import url($web-font-path);
|
|
|
|
|
|
|
|
// Navbar =======================================================================
|
|
|
|
|
|
|
|
.bg-primary {
|
|
|
|
.navbar-nav .active > .nav-link {
|
|
|
|
color: $success !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-dark {
|
|
|
|
&.navbar-dark .navbar-nav {
|
|
|
|
.nav-link:focus,
|
|
|
|
.nav-link:hover,
|
|
|
|
.active > .nav-link {
|
|
|
|
color: $primary !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Buttons =====================================================================
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
&-secondary,
|
|
|
|
&-secondary:hover,
|
|
|
|
&-warning,
|
|
|
|
&-warning:hover {
|
2020-11-06 13:16:40 +00:00
|
|
|
color: $white;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Tables ======================================================================
|
|
|
|
|
|
|
|
.table {
|
|
|
|
&-primary,
|
|
|
|
&-secondary,
|
|
|
|
&-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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Navs ========================================================================
|
|
|
|
|
|
|
|
.nav-tabs {
|
|
|
|
.nav-link.active,
|
|
|
|
.nav-link.active:focus,
|
|
|
|
.nav-link.active:hover,
|
|
|
|
.nav-item.open .nav-link,
|
|
|
|
.nav-item.open .nav-link:focus,
|
|
|
|
.nav-item.open .nav-link:hover {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Indicators ==================================================================
|
|
|
|
|
|
|
|
.close {
|
|
|
|
text-decoration: none;
|
2020-11-06 13:16:40 +00:00
|
|
|
opacity: .4;
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
&-secondary,
|
|
|
|
&-warning {
|
2020-11-06 13:16:40 +00:00
|
|
|
color: $white;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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($body-bg, $value, 15%), $value) repeat-x;
|
|
|
|
} @else {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-light {
|
|
|
|
&,
|
2020-11-06 13:16:40 +00:00
|
|
|
a,
|
|
|
|
.alert-link {
|
2020-05-19 16:53:54 +00:00
|
|
|
color: $body-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Containers ==================================================================
|
|
|
|
|
|
|
|
.modal,
|
|
|
|
.toast {
|
|
|
|
.close {
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
&:not(:disabled):not(.disabled):hover,
|
|
|
|
&:not(:disabled):not(.disabled):focus {
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|