2022-11-04 15:49:41 +00:00
|
|
|
// Lumen 5.2.2
|
2020-05-19 16:53:54 +00:00
|
|
|
// Bootswatch
|
|
|
|
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Variables
|
2020-05-19 16:53:54 +00:00
|
|
|
|
2020-11-06 13:16:40 +00:00
|
|
|
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" !default;
|
2021-07-07 11:12:38 +00:00
|
|
|
@if $web-font-path {
|
|
|
|
@import url($web-font-path);
|
|
|
|
}
|
2020-05-19 16:53:54 +00:00
|
|
|
|
2022-11-04 15:49:41 +00:00
|
|
|
:root {
|
|
|
|
color-scheme: light;
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Mixins
|
2020-11-06 13:16:40 +00:00
|
|
|
|
2020-05-19 16:53:54 +00:00
|
|
|
@mixin shadow($width: 4px){
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 1px $width 1px;
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Navbar
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
.navbar {
|
|
|
|
@include shadow();
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
@each $color, $value in $theme-colors {
|
|
|
|
&.bg-#{$color} {
|
|
|
|
border-color: shade-color($value, 10%);
|
|
|
|
}
|
|
|
|
}
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Buttons
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
@include shadow();
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
&:not(.disabled):hover {
|
|
|
|
margin-top: 1px;
|
|
|
|
border-bottom-width: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.disabled):active {
|
|
|
|
margin-top: 2px;
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
@include box-shadow(none);
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
@each $color, $value in $theme-colors {
|
|
|
|
&-#{$color} {
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
2020-05-19 16:53:54 +00:00
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
&,
|
|
|
|
&:not(.disabled):hover,
|
|
|
|
&:not(.disabled):active,
|
|
|
|
&:focus {
|
|
|
|
border-color: shade-color($value, 10%);
|
|
|
|
}
|
|
|
|
}
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-04 15:49:41 +00:00
|
|
|
.btn-outline-secondary {
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
|
2020-11-06 13:16:40 +00:00
|
|
|
[class*="btn-outline"] {
|
|
|
|
border-top-width: 1px;
|
|
|
|
}
|
|
|
|
|
2020-05-19 16:53:54 +00:00
|
|
|
.btn-group-vertical {
|
|
|
|
.btn + .btn {
|
|
|
|
&:hover {
|
|
|
|
margin-top: -1px;
|
|
|
|
border-top-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
margin-top: -1px;
|
|
|
|
border-top-width: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Typography
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
.text-secondary {
|
|
|
|
color: $gray-700 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blockquote-footer {
|
|
|
|
color: $gray-600;
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Forms
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
.form-control {
|
2020-11-06 13:16:40 +00:00
|
|
|
box-shadow: inset 0 2px 0 rgba(0, 0, 0, .075);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Navs
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
.nav {
|
|
|
|
.open > a,
|
|
|
|
.open > a:hover,
|
|
|
|
.open > a:focus {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-tabs {
|
|
|
|
.nav-link {
|
|
|
|
color: $body-color;
|
|
|
|
|
|
|
|
&,
|
|
|
|
&.disabled,
|
|
|
|
&.disabled:hover,
|
|
|
|
&.disabled:focus {
|
|
|
|
margin-top: 6px;
|
|
|
|
border-color: $nav-tabs-border-color;
|
2020-11-06 13:16:40 +00:00
|
|
|
transition: padding-bottom .2s ease-in-out, margin-top .2s ease-in-out, border-bottom .2s ease-in-out;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.disabled):hover,
|
|
|
|
&:not(.disabled):focus,
|
|
|
|
&.active {
|
2020-11-06 13:16:40 +00:00
|
|
|
padding-bottom: add(.5rem, 6px);
|
2020-05-19 16:53:54 +00:00
|
|
|
margin-top: 0;
|
2022-11-04 15:49:41 +00:00
|
|
|
border-bottom-color: transparent;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-justified > li {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
margin-top: 0;
|
|
|
|
@include shadow();
|
|
|
|
border-top-width: 1px;
|
|
|
|
@include box-shadow(none);
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb {
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($breadcrumb-bg, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
@include shadow();
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
> li > a,
|
|
|
|
> li > span {
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
2020-11-06 13:16:40 +00:00
|
|
|
font-weight: 700;
|
2022-11-04 15:49:41 +00:00
|
|
|
color: $pagination-color;
|
2020-05-19 16:53:54 +00:00
|
|
|
text-transform: uppercase;
|
2022-11-04 15:49:41 +00:00
|
|
|
@include shadow();
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
top: 1px;
|
|
|
|
text-decoration: none;
|
2022-11-04 15:49:41 +00:00
|
|
|
border-bottom-width: 3px;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
top: 2px;
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .disabled > a,
|
|
|
|
> .disabled > span {
|
|
|
|
&:hover {
|
|
|
|
top: 0;
|
|
|
|
@include shadow();
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
top: 0;
|
|
|
|
@include shadow();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pager {
|
|
|
|
> li > a,
|
|
|
|
> li > span,
|
|
|
|
> .disabled > a,
|
|
|
|
> .disabled > span {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
border-right-width: 2px;
|
2022-11-04 15:49:41 +00:00
|
|
|
border-left-width: 2px;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Indicators
|
2020-05-19 16:53:54 +00:00
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
.btn-close {
|
2020-05-19 16:53:54 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
color: $white;
|
|
|
|
@include shadow();
|
|
|
|
|
|
|
|
&-primary {
|
|
|
|
background-color: $primary;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($primary, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-secondary {
|
|
|
|
background-color: $secondary;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($secondary, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-success {
|
|
|
|
background-color: $success;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($success, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-info {
|
|
|
|
background-color: $info;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($info, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-danger {
|
|
|
|
background-color: $danger;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($danger, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-warning {
|
|
|
|
background-color: $warning;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($warning, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-dark {
|
|
|
|
background-color: $dark;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($dark, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-light {
|
|
|
|
background-color: $light;
|
2021-07-07 11:12:38 +00:00
|
|
|
border-color: shade-color($light, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-link {
|
2020-11-06 13:16:40 +00:00
|
|
|
font-weight: 400;
|
|
|
|
color: $white;
|
2020-05-19 16:53:54 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-secondary,
|
|
|
|
&-light {
|
|
|
|
&,
|
2020-11-06 13:16:40 +00:00
|
|
|
a,
|
|
|
|
.alert-link {
|
2020-05-19 16:53:54 +00:00
|
|
|
color: $body-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge {
|
2021-07-07 11:12:38 +00:00
|
|
|
&.bg-secondary,
|
|
|
|
&.bg-light {
|
|
|
|
color: $dark;
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
// Containers
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
a.list-group-item {
|
|
|
|
&-success {
|
|
|
|
&.active {
|
|
|
|
background-color: $success;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
2021-07-07 11:12:38 +00:00
|
|
|
background-color: shade-color($success, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-warning {
|
|
|
|
&.active {
|
|
|
|
background-color: $warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
2021-07-07 11:12:38 +00:00
|
|
|
background-color: shade-color($warning, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-danger {
|
|
|
|
&.active {
|
|
|
|
background-color: $danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover,
|
|
|
|
&.active:focus {
|
2021-07-07 11:12:38 +00:00
|
|
|
background-color: shade-color($danger, 10%);
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal,
|
2022-11-04 15:49:41 +00:00
|
|
|
.toast,
|
|
|
|
.offcanvas {
|
2021-07-07 11:12:38 +00:00
|
|
|
.btn-close {
|
2022-11-04 15:49:41 +00:00
|
|
|
background-image: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$black}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>"));
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|