| 1 |
// Flatly 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables |
| 6 |
|
| 7 |
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap" !default; |
| 8 |
@if $web-font-path { |
| 9 |
@import url($web-font-path); |
| 10 |
} |
| 11 |
|
| 12 |
// Navbar |
| 13 |
|
| 14 |
.bg-primary { |
| 15 |
.navbar-nav .show > .nav-link, |
| 16 |
.navbar-nav .nav-link.active, |
| 17 |
.navbar-nav .nav-link:hover, |
| 18 |
.navbar-nav .nav-link:focus { |
| 19 |
color: $success !important; |
| 20 |
} |
| 21 |
} |
| 22 |
|
| 23 |
// Navs |
| 24 |
|
| 25 |
.nav-tabs { |
| 26 |
.nav-link.active, |
| 27 |
.nav-link.active:focus, |
| 28 |
.nav-link.active:hover, |
| 29 |
.nav-item.open .nav-link, |
| 30 |
.nav-item.open .nav-link:focus, |
| 31 |
.nav-item.open .nav-link:hover { |
| 32 |
color: $primary; |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
.pagination { |
| 37 |
a:hover { |
| 38 |
text-decoration: none; |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
// Indicators |
| 43 |
|
| 44 |
.badge { |
| 45 |
&.bg-light { |
| 46 |
color: $dark; |
| 47 |
} |
| 48 |
} |
| 49 |
|
| 50 |
.alert { |
| 51 |
color: $white; |
| 52 |
border: none; |
| 53 |
|
| 54 |
a, |
| 55 |
.alert-link { |
| 56 |
color: $white; |
| 57 |
text-decoration: underline; |
| 58 |
} |
| 59 |
|
| 60 |
@each $color, $value in $theme-colors { |
| 61 |
&-#{$color} { |
| 62 |
@if $enable-gradients { |
| 63 |
background: $value linear-gradient(180deg, mix($body-bg, $value, 15%), $value) repeat-x; |
| 64 |
} @else { |
| 65 |
background-color: $value; |
| 66 |
} |
| 67 |
} |
| 68 |
} |
| 69 |
|
| 70 |
&-light { |
| 71 |
&, |
| 72 |
a, |
| 73 |
.alert-link { |
| 74 |
color: $body-color; |
| 75 |
} |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
// Containers |
| 80 |
|
| 81 |
.modal, |
| 82 |
.toast, |
| 83 |
.offcanvas { |
| 84 |
.btn-close { |
| 85 |
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>")); |
| 86 |
} |
| 87 |
} |