| 1 |
// Superhero 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables |
| 6 |
|
| 7 |
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" !default; |
| 8 |
@if $web-font-path { |
| 9 |
@import url($web-font-path); |
| 10 |
} |
| 11 |
|
| 12 |
// Buttons |
| 13 |
|
| 14 |
.btn { |
| 15 |
@each $color, $value in $theme-colors { |
| 16 |
&-#{$color} { |
| 17 |
@if $enable-gradients { |
| 18 |
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x; |
| 19 |
} @else { |
| 20 |
background-color: $value; |
| 21 |
} |
| 22 |
} |
| 23 |
} |
| 24 |
} |
| 25 |
|
| 26 |
// Typography |
| 27 |
|
| 28 |
.dropdown-menu { |
| 29 |
font-size: $font-size-sm; |
| 30 |
} |
| 31 |
|
| 32 |
.dropdown-header { |
| 33 |
font-size: $font-size-sm; |
| 34 |
} |
| 35 |
|
| 36 |
.blockquote-footer { |
| 37 |
color: $body-color; |
| 38 |
} |
| 39 |
|
| 40 |
// Tables |
| 41 |
|
| 42 |
.table { |
| 43 |
font-size: $font-size-sm; |
| 44 |
|
| 45 |
.thead-dark th { |
| 46 |
color: $white; |
| 47 |
} |
| 48 |
|
| 49 |
a:not(.btn) { |
| 50 |
color: $white; |
| 51 |
text-decoration: underline; |
| 52 |
} |
| 53 |
|
| 54 |
.dropdown-menu a { |
| 55 |
text-decoration: none; |
| 56 |
} |
| 57 |
|
| 58 |
.text-muted { |
| 59 |
color: $text-muted; |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
// Forms |
| 64 |
|
| 65 |
label, |
| 66 |
.radio label, |
| 67 |
.checkbox label, |
| 68 |
.help-block { |
| 69 |
font-size: $font-size-sm; |
| 70 |
} |
| 71 |
|
| 72 |
.form-floating { |
| 73 |
> label, |
| 74 |
> .form-control:focus ~ label, |
| 75 |
> .form-control:not(:placeholder-shown) ~ label { |
| 76 |
color: $input-placeholder-color; |
| 77 |
} |
| 78 |
} |
| 79 |
|
| 80 |
// Navs |
| 81 |
|
| 82 |
.nav-tabs, |
| 83 |
.nav-pills { |
| 84 |
.nav-link, |
| 85 |
.nav-link:hover { |
| 86 |
color: $body-color; |
| 87 |
} |
| 88 |
|
| 89 |
.nav-link.disabled { |
| 90 |
color: $nav-link-disabled-color; |
| 91 |
} |
| 92 |
} |
| 93 |
|
| 94 |
.page-link:hover, |
| 95 |
.page-link:focus { |
| 96 |
color: $white; |
| 97 |
text-decoration: none; |
| 98 |
} |
| 99 |
|
| 100 |
// Indicators |
| 101 |
|
| 102 |
.alert { |
| 103 |
color: $white; |
| 104 |
border: none; |
| 105 |
|
| 106 |
a, |
| 107 |
.alert-link { |
| 108 |
color: $white; |
| 109 |
text-decoration: underline; |
| 110 |
} |
| 111 |
|
| 112 |
@each $color, $value in $theme-colors { |
| 113 |
&-#{$color} { |
| 114 |
@if $enable-gradients { |
| 115 |
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x; |
| 116 |
} @else { |
| 117 |
background-color: $value; |
| 118 |
} |
| 119 |
} |
| 120 |
} |
| 121 |
} |
| 122 |
|
| 123 |
.badge { |
| 124 |
&-warning, |
| 125 |
&-info { |
| 126 |
color: $white; |
| 127 |
} |
| 128 |
} |
| 129 |
|
| 130 |
// Popovers |
| 131 |
|
| 132 |
.popover-header { |
| 133 |
border-top-left-radius: 0; |
| 134 |
border-top-right-radius: 0; |
| 135 |
} |
| 136 |
|
| 137 |
// Containers |
| 138 |
|
| 139 |
.modal { |
| 140 |
&-header, |
| 141 |
&-footer { |
| 142 |
background-color: $table-hover-bg; |
| 143 |
} |
| 144 |
} |
| 145 |
|
| 146 |
// Fix selectize.js contrasting issues |
| 147 |
.selectize-input { |
| 148 |
--#{$prefix}emphasis-color: black; |
| 149 |
--#{$prefix}emphasis-color-rgb: 0,0,0; |
| 150 |
} |