| 1 |
// Superhero 4.6.0 |
| 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 |
@import url($web-font-path); |
| 9 |
|
| 10 |
// Navbar ====================================================================== |
| 11 |
|
| 12 |
.navbar { |
| 13 |
font-size: $font-size-sm; |
| 14 |
} |
| 15 |
|
| 16 |
// Buttons ===================================================================== |
| 17 |
|
| 18 |
.btn { |
| 19 |
@each $color, $value in $theme-colors { |
| 20 |
&-#{$color} { |
| 21 |
@if $enable-gradients { |
| 22 |
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x; |
| 23 |
} @else { |
| 24 |
background-color: $value; |
| 25 |
} |
| 26 |
} |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
// Typography ================================================================== |
| 31 |
|
| 32 |
.dropdown-menu { |
| 33 |
font-size: $font-size-sm; |
| 34 |
} |
| 35 |
|
| 36 |
.dropdown-header { |
| 37 |
font-size: $font-size-sm; |
| 38 |
} |
| 39 |
|
| 40 |
.blockquote-footer { |
| 41 |
color: $body-color; |
| 42 |
} |
| 43 |
|
| 44 |
// Tables ====================================================================== |
| 45 |
|
| 46 |
.table { |
| 47 |
font-size: $font-size-sm; |
| 48 |
|
| 49 |
.thead-dark th { |
| 50 |
color: $white; |
| 51 |
} |
| 52 |
|
| 53 |
a:not(.btn) { |
| 54 |
color: $white; |
| 55 |
text-decoration: underline; |
| 56 |
} |
| 57 |
|
| 58 |
.dropdown-menu a { |
| 59 |
text-decoration: none; |
| 60 |
} |
| 61 |
|
| 62 |
.text-muted { |
| 63 |
color: $text-muted; |
| 64 |
} |
| 65 |
|
| 66 |
&-primary { |
| 67 |
&, |
| 68 |
> th, |
| 69 |
> td { |
| 70 |
background-color: $primary; |
| 71 |
} |
| 72 |
} |
| 73 |
|
| 74 |
&-secondary { |
| 75 |
&, |
| 76 |
> th, |
| 77 |
> td { |
| 78 |
background-color: $secondary; |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
&-light { |
| 83 |
&, |
| 84 |
> th, |
| 85 |
> td { |
| 86 |
background-color: $light; |
| 87 |
} |
| 88 |
} |
| 89 |
|
| 90 |
&-dark { |
| 91 |
color: $white; |
| 92 |
|
| 93 |
&, |
| 94 |
> th, |
| 95 |
> td { |
| 96 |
background-color: $dark; |
| 97 |
} |
| 98 |
} |
| 99 |
|
| 100 |
&-success { |
| 101 |
&, |
| 102 |
> th, |
| 103 |
> td { |
| 104 |
background-color: $success; |
| 105 |
} |
| 106 |
} |
| 107 |
|
| 108 |
&-info { |
| 109 |
&, |
| 110 |
> th, |
| 111 |
> td { |
| 112 |
background-color: $info; |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
&-danger { |
| 117 |
&, |
| 118 |
> th, |
| 119 |
> td { |
| 120 |
background-color: $danger; |
| 121 |
} |
| 122 |
} |
| 123 |
|
| 124 |
&-warning { |
| 125 |
&, |
| 126 |
> th, |
| 127 |
> td { |
| 128 |
background-color: $warning; |
| 129 |
} |
| 130 |
} |
| 131 |
|
| 132 |
&-active { |
| 133 |
&, |
| 134 |
> th, |
| 135 |
> td { |
| 136 |
background-color: $table-active-bg; |
| 137 |
} |
| 138 |
} |
| 139 |
|
| 140 |
&-hover { |
| 141 |
.table-primary:hover { |
| 142 |
&, |
| 143 |
> th, |
| 144 |
> td { |
| 145 |
background-color: darken($primary, 5%); |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
.table-secondary:hover { |
| 150 |
&, |
| 151 |
> th, |
| 152 |
> td { |
| 153 |
background-color: darken($secondary, 5%); |
| 154 |
} |
| 155 |
} |
| 156 |
|
| 157 |
.table-light:hover { |
| 158 |
&, |
| 159 |
> th, |
| 160 |
> td { |
| 161 |
background-color: darken($light, 5%); |
| 162 |
} |
| 163 |
} |
| 164 |
|
| 165 |
.table-dark:hover { |
| 166 |
&, |
| 167 |
> th, |
| 168 |
> td { |
| 169 |
background-color: darken($dark, 5%); |
| 170 |
} |
| 171 |
} |
| 172 |
|
| 173 |
.table-success:hover { |
| 174 |
&, |
| 175 |
> th, |
| 176 |
> td { |
| 177 |
background-color: darken($success, 5%); |
| 178 |
} |
| 179 |
} |
| 180 |
|
| 181 |
.table-info:hover { |
| 182 |
&, |
| 183 |
> th, |
| 184 |
> td { |
| 185 |
background-color: darken($info, 5%); |
| 186 |
} |
| 187 |
} |
| 188 |
|
| 189 |
.table-danger:hover { |
| 190 |
&, |
| 191 |
> th, |
| 192 |
> td { |
| 193 |
background-color: darken($danger, 5%); |
| 194 |
} |
| 195 |
} |
| 196 |
|
| 197 |
.table-warning:hover { |
| 198 |
&, |
| 199 |
> th, |
| 200 |
> td { |
| 201 |
background-color: darken($warning, 5%); |
| 202 |
} |
| 203 |
} |
| 204 |
|
| 205 |
.table-active:hover { |
| 206 |
&, |
| 207 |
> th, |
| 208 |
> td { |
| 209 |
background-color: $table-active-bg; |
| 210 |
} |
| 211 |
} |
| 212 |
|
| 213 |
} |
| 214 |
} |
| 215 |
|
| 216 |
// Forms ======================================================================= |
| 217 |
|
| 218 |
label, |
| 219 |
.radio label, |
| 220 |
.checkbox label, |
| 221 |
.help-block { |
| 222 |
font-size: $font-size-sm; |
| 223 |
} |
| 224 |
|
| 225 |
// Navs ======================================================================== |
| 226 |
|
| 227 |
.nav-tabs, |
| 228 |
.nav-pills { |
| 229 |
.nav-link, |
| 230 |
.nav-link:hover { |
| 231 |
color: $body-color; |
| 232 |
} |
| 233 |
|
| 234 |
.nav-link.disabled { |
| 235 |
color: $nav-link-disabled-color; |
| 236 |
} |
| 237 |
} |
| 238 |
|
| 239 |
.page-link:hover, |
| 240 |
.page-link:focus { |
| 241 |
color: $white; |
| 242 |
text-decoration: none; |
| 243 |
} |
| 244 |
|
| 245 |
// Indicators ================================================================== |
| 246 |
|
| 247 |
.alert { |
| 248 |
border: none; |
| 249 |
color: $white; |
| 250 |
|
| 251 |
a, |
| 252 |
.alert-link { |
| 253 |
color: $white; |
| 254 |
text-decoration: underline; |
| 255 |
} |
| 256 |
|
| 257 |
@each $color, $value in $theme-colors { |
| 258 |
&-#{$color} { |
| 259 |
@if $enable-gradients { |
| 260 |
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x; |
| 261 |
} @else { |
| 262 |
background-color: $value; |
| 263 |
} |
| 264 |
} |
| 265 |
} |
| 266 |
} |
| 267 |
|
| 268 |
.badge { |
| 269 |
&-warning, |
| 270 |
&-info { |
| 271 |
color: $white; |
| 272 |
} |
| 273 |
} |
| 274 |
|
| 275 |
.close { |
| 276 |
color: $white; |
| 277 |
text-shadow: none; |
| 278 |
opacity: .5; |
| 279 |
|
| 280 |
&:hover, |
| 281 |
&:focus { |
| 282 |
opacity: 1; |
| 283 |
} |
| 284 |
} |
| 285 |
|
| 286 |
// Popovers =============================================================== |
| 287 |
|
| 288 |
.popover-header { |
| 289 |
border-top-left-radius: 0; |
| 290 |
border-top-right-radius: 0; |
| 291 |
} |
| 292 |
|
| 293 |
// Containers ================================================================== |
| 294 |
|
| 295 |
.modal { |
| 296 |
&-header, |
| 297 |
&-footer { |
| 298 |
background-color: $table-hover-bg; |
| 299 |
} |
| 300 |
} |