| 1 |
// Yeti 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables |
| 6 |
|
| 7 |
$web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" !default; |
| 8 |
@if $web-font-path { |
| 9 |
@import url($web-font-path); |
| 10 |
} |
| 11 |
|
| 12 |
// Navbar |
| 13 |
|
| 14 |
.navbar { |
| 15 |
font-weight: $headings-font-weight; |
| 16 |
} |
| 17 |
|
| 18 |
.bg-primary { |
| 19 |
.dropdown-menu { |
| 20 |
background-color: $primary; |
| 21 |
|
| 22 |
.dropdown-item, |
| 23 |
.dropdown-item:focus { |
| 24 |
color: $navbar-dark-color; |
| 25 |
} |
| 26 |
|
| 27 |
.dropdown-item.active, |
| 28 |
.dropdown-item:hover, |
| 29 |
.dropdown-item:focus { |
| 30 |
color: $white; |
| 31 |
background-color: shade-color($primary, 10%); |
| 32 |
} |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
.bg-dark { |
| 37 |
background-color: $gray-800 !important; |
| 38 |
|
| 39 |
.dropdown-menu { |
| 40 |
background-color: $gray-800; |
| 41 |
|
| 42 |
.dropdown-item, |
| 43 |
.dropdown-item:focus { |
| 44 |
color: $navbar-dark-color; |
| 45 |
} |
| 46 |
|
| 47 |
.dropdown-item.active, |
| 48 |
.dropdown-item:hover, |
| 49 |
.dropdown-item:focus { |
| 50 |
color: $white; |
| 51 |
background-color: shade-color($gray-800, 10%); |
| 52 |
} |
| 53 |
} |
| 54 |
} |
| 55 |
|
| 56 |
.bg-light { |
| 57 |
.dropdown-menu { |
| 58 |
background-color: $gray-200; |
| 59 |
|
| 60 |
.dropdown-item, |
| 61 |
.dropdown-item:focus { |
| 62 |
color: $navbar-light-color; |
| 63 |
} |
| 64 |
|
| 65 |
.dropdown-item.active, |
| 66 |
.dropdown-item:hover, |
| 67 |
.dropdown-item:focus { |
| 68 |
color: $navbar-light-hover-color; |
| 69 |
background-color: tint-color($gray-200, 10%); |
| 70 |
} |
| 71 |
} |
| 72 |
} |
| 73 |
|
| 74 |
// Buttons |
| 75 |
|
| 76 |
.btn { |
| 77 |
&-primary { |
| 78 |
border-color: shade-color($primary, 10%); |
| 79 |
} |
| 80 |
|
| 81 |
&-default { |
| 82 |
border-color: shade-color($secondary, 10%); |
| 83 |
} |
| 84 |
|
| 85 |
&-secondary { |
| 86 |
border-color: shade-color($secondary, 10%); |
| 87 |
} |
| 88 |
|
| 89 |
&-success { |
| 90 |
border-color: shade-color($success, 10%); |
| 91 |
} |
| 92 |
|
| 93 |
&-info { |
| 94 |
color: $white; |
| 95 |
border-color: shade-color($info, 10%); |
| 96 |
} |
| 97 |
|
| 98 |
&-danger { |
| 99 |
border-color: shade-color($danger, 10%); |
| 100 |
} |
| 101 |
|
| 102 |
&-warning { |
| 103 |
color: $white; |
| 104 |
border-color: shade-color($warning, 10%); |
| 105 |
} |
| 106 |
|
| 107 |
&-light { |
| 108 |
border-color: shade-color($light, 10%); |
| 109 |
} |
| 110 |
|
| 111 |
&-dark { |
| 112 |
border-color: shade-color($dark, 10%); |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
.btn-outline-secondary { |
| 117 |
color: var(--bs-primary-color); |
| 118 |
} |
| 119 |
|
| 120 |
.btn-group { |
| 121 |
.dropdown-menu { |
| 122 |
border-top-width: 0; |
| 123 |
} |
| 124 |
|
| 125 |
.dropdown-toggle { |
| 126 |
&.btn-primary ~ .dropdown-menu { |
| 127 |
background-color: $primary; |
| 128 |
border-color: shade-color($primary, 10%); |
| 129 |
|
| 130 |
.dropdown-item { |
| 131 |
color: $white; |
| 132 |
} |
| 133 |
|
| 134 |
.dropdown-item:hover, |
| 135 |
.dropdown-item:focus { |
| 136 |
background-color: shade-color($primary, 16%); |
| 137 |
} |
| 138 |
} |
| 139 |
|
| 140 |
&.btn-secondary ~ .dropdown-menu { |
| 141 |
background-color: $secondary; |
| 142 |
border-color: shade-color($secondary, 10%); |
| 143 |
|
| 144 |
.dropdown-item { |
| 145 |
color: $body-color; |
| 146 |
} |
| 147 |
|
| 148 |
.dropdown-item:hover, |
| 149 |
.dropdown-item:focus { |
| 150 |
background-color: shade-color($secondary, 16%); |
| 151 |
} |
| 152 |
} |
| 153 |
|
| 154 |
&.btn-success ~ .dropdown-menu { |
| 155 |
background-color: $success; |
| 156 |
border-color: shade-color($success, 10%); |
| 157 |
|
| 158 |
.dropdown-item { |
| 159 |
color: $white; |
| 160 |
} |
| 161 |
|
| 162 |
.dropdown-item:hover, |
| 163 |
.dropdown-item:focus { |
| 164 |
background-color: shade-color($success, 16%); |
| 165 |
} |
| 166 |
} |
| 167 |
|
| 168 |
&.btn-info ~ .dropdown-menu { |
| 169 |
background-color: $info; |
| 170 |
border-color: shade-color($info, 10%); |
| 171 |
|
| 172 |
.dropdown-item { |
| 173 |
color: $white; |
| 174 |
} |
| 175 |
|
| 176 |
.dropdown-item:hover, |
| 177 |
.dropdown-item:focus { |
| 178 |
background-color: shade-color($info, 16%); |
| 179 |
} |
| 180 |
} |
| 181 |
|
| 182 |
&.btn-warning ~ .dropdown-menu { |
| 183 |
background-color: $warning; |
| 184 |
border-color: shade-color($warning, 10%); |
| 185 |
|
| 186 |
.dropdown-item { |
| 187 |
color: $white; |
| 188 |
} |
| 189 |
|
| 190 |
.dropdown-item:hover, |
| 191 |
.dropdown-item:focus { |
| 192 |
background-color: shade-color($warning, 16%); |
| 193 |
} |
| 194 |
} |
| 195 |
|
| 196 |
&.btn-danger ~ .dropdown-menu { |
| 197 |
background-color: $danger; |
| 198 |
border-color: shade-color($danger, 10%); |
| 199 |
|
| 200 |
.dropdown-item { |
| 201 |
color: $white; |
| 202 |
} |
| 203 |
|
| 204 |
.dropdown-item:hover, |
| 205 |
.dropdown-item:focus { |
| 206 |
background-color: shade-color($danger, 16%); |
| 207 |
} |
| 208 |
} |
| 209 |
} |
| 210 |
} |
| 211 |
|
| 212 |
// Typography |
| 213 |
|
| 214 |
.text-secondary { |
| 215 |
color: $gray-700 !important; |
| 216 |
} |
| 217 |
|
| 218 |
.blockquote-footer { |
| 219 |
color: $gray-600; |
| 220 |
} |
| 221 |
|
| 222 |
// Tables |
| 223 |
|
| 224 |
table { |
| 225 |
font-size: $font-size-sm; |
| 226 |
} |
| 227 |
|
| 228 |
// Forms |
| 229 |
|
| 230 |
label, |
| 231 |
.control-label, |
| 232 |
.help-block, |
| 233 |
.checkbox, |
| 234 |
.radio, |
| 235 |
.form-control-feedback { |
| 236 |
font-size: $font-size-sm; |
| 237 |
} |
| 238 |
|
| 239 |
// Navs |
| 240 |
|
| 241 |
.dropdown-item { |
| 242 |
padding-top: .75rem; |
| 243 |
padding-bottom: .75rem; |
| 244 |
font-size: $font-size-sm; |
| 245 |
font-weight: 300; |
| 246 |
} |
| 247 |
|
| 248 |
.nav-pills { |
| 249 |
.active { |
| 250 |
border: 1px solid shade-color($primary, 10%); |
| 251 |
} |
| 252 |
} |
| 253 |
|
| 254 |
.breadcrumb { |
| 255 |
font-size: $font-size-sm; |
| 256 |
font-weight: 300; |
| 257 |
text-transform: uppercase; |
| 258 |
border: 1px solid $dropdown-border-color; |
| 259 |
} |
| 260 |
|
| 261 |
.pagination { |
| 262 |
font-weight: 300; |
| 263 |
|
| 264 |
.page-link { |
| 265 |
margin-right: .1em; |
| 266 |
margin-left: .1em; |
| 267 |
border-color: transparent; |
| 268 |
border-radius: 3px; |
| 269 |
|
| 270 |
&:hover, |
| 271 |
&:focus { |
| 272 |
text-decoration: none; |
| 273 |
} |
| 274 |
} |
| 275 |
|
| 276 |
.page-item.disabled { |
| 277 |
.page-link { |
| 278 |
border-color: transparent; |
| 279 |
} |
| 280 |
} |
| 281 |
} |
| 282 |
|
| 283 |
.pagination, |
| 284 |
.pagination-lg, |
| 285 |
.pagination-sm { |
| 286 |
.page-item:first-child, |
| 287 |
.page-item:last-child { |
| 288 |
.page-link { |
| 289 |
border-radius: 3px; |
| 290 |
} |
| 291 |
} |
| 292 |
} |
| 293 |
|
| 294 |
@include color-mode(dark) { |
| 295 |
.pagination { |
| 296 |
--bs-pagination-disabled-color: #{$gray-700}; |
| 297 |
} |
| 298 |
} |
| 299 |
|
| 300 |
.list-group { |
| 301 |
font-size: $font-size-sm; |
| 302 |
font-weight: 300; |
| 303 |
} |
| 304 |
|
| 305 |
.list-group-item.disabled, |
| 306 |
.list-group-item:disabled { |
| 307 |
background-color: var(--bs-secondary-bg); |
| 308 |
} |
| 309 |
|
| 310 |
// Indicators |
| 311 |
|
| 312 |
.alert { |
| 313 |
font-size: $font-size-sm; |
| 314 |
font-weight: 300; |
| 315 |
|
| 316 |
.alert-link { |
| 317 |
text-decoration: underline; |
| 318 |
} |
| 319 |
} |
| 320 |
|
| 321 |
.badge { |
| 322 |
&.bg-secondary, |
| 323 |
&.bg-light { |
| 324 |
color: $dark; |
| 325 |
} |
| 326 |
} |
| 327 |
|
| 328 |
// Progress bars |
| 329 |
|
| 330 |
.progress[value] { |
| 331 |
height: 22px; |
| 332 |
padding: 2px; |
| 333 |
background-color: #f6f6f6; |
| 334 |
border: 1px solid #ccc; |
| 335 |
@include box-shadow(none); |
| 336 |
} |
| 337 |
|
| 338 |
// Popovers |
| 339 |
|
| 340 |
.popover-header { |
| 341 |
border-top-left-radius: 0; |
| 342 |
border-top-right-radius: 0; |
| 343 |
} |