| 1 |
// Superhero 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
$theme: "superhero" !default; |
| 5 |
|
| 6 |
// |
| 7 |
// Color system |
| 8 |
// |
| 9 |
|
| 10 |
$white: #fff !default; |
| 11 |
$gray-100: #ebebeb !default; |
| 12 |
$gray-200: #dee2e6 !default; |
| 13 |
$gray-300: #ced4da !default; |
| 14 |
$gray-400: #adb5bd !default; |
| 15 |
$gray-500: #868e96 !default; |
| 16 |
$gray-600: #4e5d6c !default; |
| 17 |
$gray-700: #495057 !default; |
| 18 |
$gray-800: #343a40 !default; |
| 19 |
$gray-900: #212529 !default; |
| 20 |
$black: #000 !default; |
| 21 |
|
| 22 |
$blue: #4c9be8 !default; |
| 23 |
$indigo: #6610f2 !default; |
| 24 |
$purple: #6f42c1 !default; |
| 25 |
$pink: #e83e8c !default; |
| 26 |
$red: #d9534f !default; |
| 27 |
$orange: #df6919 !default; |
| 28 |
$yellow: #ffc107 !default; |
| 29 |
$green: #5cb85c !default; |
| 30 |
$teal: #20c997 !default; |
| 31 |
$cyan: #5bc0de !default; |
| 32 |
|
| 33 |
// Body |
| 34 |
$body-bg: #0f2537 !default; |
| 35 |
$body-color: $gray-100 !default; |
| 36 |
|
| 37 |
@function body-mix($weight) { |
| 38 |
@return mix($body-bg, $body-color, $weight); |
| 39 |
} |
| 40 |
|
| 41 |
$contrast-bg: color-contrast($body-bg) !default; |
| 42 |
$contrast-fg: color-contrast($contrast-bg) !default; |
| 43 |
|
| 44 |
$primary: $orange !default; |
| 45 |
$secondary: body-mix(80%) !default; |
| 46 |
$success: $green !default; |
| 47 |
$info: $cyan !default; |
| 48 |
$warning: $yellow !default; |
| 49 |
$danger: $red !default; |
| 50 |
$light: body-mix(48%) !default; |
| 51 |
$dark: body-mix(80%) !default; |
| 52 |
|
| 53 |
$min-contrast-ratio: 1.6 !default; |
| 54 |
|
| 55 |
// Components |
| 56 |
|
| 57 |
$border-radius: 0 !default; |
| 58 |
$border-radius-lg: 0 !default; |
| 59 |
$border-radius-sm: 0 !default; |
| 60 |
|
| 61 |
// Fonts |
| 62 |
|
| 63 |
// stylelint-disable-next-line value-keyword-case |
| 64 |
$font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; |
| 65 |
|
| 66 |
$text-muted: rgba($contrast-bg, .4) !default; |
| 67 |
|
| 68 |
// Tables |
| 69 |
|
| 70 |
$table-accent-bg: rgba($contrast-bg, .05) !default; |
| 71 |
$table-hover-bg: rgba($contrast-bg, .075) !default; |
| 72 |
$table-border-color: rgba($contrast-fg, .15) !default; |
| 73 |
$table-head-bg: $light !default; |
| 74 |
$table-dark-bg: $light !default; |
| 75 |
$table-dark-border-color: body-mix(80%) !default; |
| 76 |
$table-dark-color: $body-bg !default; |
| 77 |
|
| 78 |
$table-bg-scale: 0% !default; |
| 79 |
|
| 80 |
// Forms |
| 81 |
|
| 82 |
$input-bg: $contrast-bg !default; |
| 83 |
$input-disabled-color: body-mix(80%) !default; |
| 84 |
$input-disabled-bg: $body-color !default; |
| 85 |
|
| 86 |
$input-color: $gray-900 !default; |
| 87 |
$input-border-color: transparent !default; |
| 88 |
$input-border-width: 0 !default; |
| 89 |
|
| 90 |
$input-placeholder-color: $gray-500 !default; |
| 91 |
|
| 92 |
$input-group-addon-color: $body-color !default; |
| 93 |
$input-group-addon-bg: body-mix(80%) !default; |
| 94 |
|
| 95 |
$form-select-disabled-bg: $input-disabled-bg !default; |
| 96 |
$form-select-disabled-color: $input-disabled-color !default; |
| 97 |
|
| 98 |
$form-check-input-bg: $contrast-bg !default; |
| 99 |
$form-check-input-border: none !default; |
| 100 |
|
| 101 |
$form-file-button-color: $input-group-addon-color !default; |
| 102 |
$form-file-button-bg: $input-group-addon-bg !default; |
| 103 |
$form-file-button-hover-bg: darken($form-file-button-bg, 5%) !default; |
| 104 |
|
| 105 |
$form-floating-label-opacity: 1 !default; |
| 106 |
|
| 107 |
// Dropdowns |
| 108 |
|
| 109 |
$dropdown-bg: body-mix(80%) !default; |
| 110 |
$dropdown-divider-bg: rgba($contrast-fg, .15) !default; |
| 111 |
$dropdown-link-color: $body-color !default; |
| 112 |
$dropdown-link-hover-color: $dropdown-link-color !default; |
| 113 |
$dropdown-link-hover-bg: $table-hover-bg !default; |
| 114 |
|
| 115 |
// Navs |
| 116 |
|
| 117 |
$nav-link-disabled-color: rgba(255, 255, 255, .4) !default; |
| 118 |
$nav-tabs-border-color: body-mix(80%) !default; |
| 119 |
$nav-tabs-link-active-color: $body-color !default; |
| 120 |
$nav-tabs-link-active-border-color: body-mix(80%) !default; |
| 121 |
|
| 122 |
// Navbar |
| 123 |
|
| 124 |
|
| 125 |
// Pagination |
| 126 |
|
| 127 |
$pagination-color: $contrast-bg !default; |
| 128 |
$pagination-bg: body-mix(80%) !default; |
| 129 |
$pagination-border-color: transparent !default; |
| 130 |
$pagination-hover-color: $contrast-bg !default; |
| 131 |
$pagination-hover-bg: $nav-link-disabled-color !default; |
| 132 |
$pagination-hover-border-color: $pagination-border-color !default; |
| 133 |
$pagination-disabled-color: $nav-link-disabled-color !default; |
| 134 |
$pagination-disabled-bg: $pagination-bg !default; |
| 135 |
$pagination-disabled-border-color: $pagination-border-color !default; |
| 136 |
|
| 137 |
// Cards |
| 138 |
|
| 139 |
$card-cap-bg: $table-hover-bg !default; |
| 140 |
$card-bg: body-mix(80%) !default; |
| 141 |
$card-inner-border-radius: 0 !default; |
| 142 |
|
| 143 |
// Accordion |
| 144 |
|
| 145 |
$accordion-bg: $card-bg !default; |
| 146 |
$accordion-border-width: 0 !default; |
| 147 |
$accordion-button-bg: $card-cap-bg !default; |
| 148 |
$accordion-button-active-bg: $primary !default; |
| 149 |
$accordion-button-active-color: $body-color !default; |
| 150 |
|
| 151 |
|
| 152 |
// Popovers |
| 153 |
|
| 154 |
$popover-bg: body-mix(80%) !default; |
| 155 |
$popover-header-bg: $table-hover-bg !default; |
| 156 |
|
| 157 |
// Toasts |
| 158 |
|
| 159 |
$toast-background-color: body-mix(80%) !default; |
| 160 |
$toast-border-color: rgba(0, 0, 0, .2) !default; |
| 161 |
$toast-header-color: $body-color !default; |
| 162 |
$toast-header-background-color: $toast-background-color !default; |
| 163 |
$toast-header-border-color: $toast-border-color !default; |
| 164 |
|
| 165 |
// Modals |
| 166 |
|
| 167 |
$modal-content-bg: body-mix(80%) !default; |
| 168 |
$modal-header-border-color: rgba(0, 0, 0, .2) !default; |
| 169 |
|
| 170 |
// Progress bars |
| 171 |
|
| 172 |
$progress-bg: body-mix(80%) !default; |
| 173 |
|
| 174 |
// List group |
| 175 |
|
| 176 |
$list-group-color: $contrast-bg !default; |
| 177 |
$list-group-bg: body-mix(80%) !default; |
| 178 |
$list-group-border-color: transparent !default; |
| 179 |
$list-group-hover-bg: $nav-link-disabled-color !default; |
| 180 |
$list-group-disabled-color: $nav-link-disabled-color !default; |
| 181 |
$list-group-action-color: $contrast-bg !default; |
| 182 |
$list-group-action-hover-color: $contrast-bg !default; |
| 183 |
|
| 184 |
// Breadcrumbs |
| 185 |
|
| 186 |
$breadcrumb-padding-y: .375rem !default; |
| 187 |
$breadcrumb-padding-x: .75rem !default; |
| 188 |
$breadcrumb-bg: body-mix(80%) !default; |
| 189 |
$breadcrumb-divider-color: $body-color !default; |
| 190 |
$breadcrumb-active-color: $body-color !default; |
| 191 |
|
| 192 |
// Close |
| 193 |
|
| 194 |
$btn-close-color: $contrast-bg !default; |
| 195 |
$btn-close-opacity: .5 !default; |
| 196 |
$btn-close-hover-opacity: 1 !default; |
| 197 |
|
| 198 |
// Code |
| 199 |
|
| 200 |
$pre-color: inherit !default; |
| 201 |
|
| 202 |
// Dark color mode |
| 203 |
|
| 204 |
$body-emphasis-color: $body-color !default; |
| 205 |
$body-emphasis-color-dark: $body-color !default; |
| 206 |
|
| 207 |
// Tooltips |
| 208 |
|
| 209 |
$tooltip-bg: $body-color !default; |
| 210 |
$tooltip-color: $body-bg !default; |