| 1 |
// Solar 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables |
| 6 |
|
| 7 |
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;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 |
// Indicators |
| 27 |
|
| 28 |
.alert { |
| 29 |
color: $white; |
| 30 |
border: none; |
| 31 |
|
| 32 |
a, |
| 33 |
.alert-link { |
| 34 |
color: $white; |
| 35 |
text-decoration: underline; |
| 36 |
} |
| 37 |
|
| 38 |
@each $color, $value in $theme-colors { |
| 39 |
&-#{$color} { |
| 40 |
@if $enable-gradients { |
| 41 |
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x; |
| 42 |
} @else { |
| 43 |
background-color: $value; |
| 44 |
} |
| 45 |
} |
| 46 |
} |
| 47 |
|
| 48 |
&-light { |
| 49 |
&, |
| 50 |
a:not(.btn), |
| 51 |
.alert-link { |
| 52 |
color: $body-bg; |
| 53 |
} |
| 54 |
} |
| 55 |
} |
| 56 |
|
| 57 |
.badge { |
| 58 |
&.bg-light { |
| 59 |
color: $dark; |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
// Fix selectize.js contrasting issues |
| 64 |
.selectize-input { |
| 65 |
--#{$prefix}emphasis-color: #073642; |
| 66 |
--#{$prefix}emphasis-color-rgb: 7,54,66; |
| 67 |
} |