| 1 |
/* ======================================================================== |
| 2 |
Component: Link |
| 3 |
========================================================================== */ |
| 4 |
/* Muted |
| 5 |
========================================================================== */ |
| 6 |
a.bdt-link-muted, |
| 7 |
.bdt-link-muted a, |
| 8 |
.bdt-link-toggle .bdt-link-muted { |
| 9 |
color: #999; |
| 10 |
} |
| 11 |
a.bdt-link-muted:hover, |
| 12 |
.bdt-link-muted a:hover, |
| 13 |
.bdt-link-toggle:hover .bdt-link-muted { |
| 14 |
color: #666; |
| 15 |
} |
| 16 |
/* Text |
| 17 |
========================================================================== */ |
| 18 |
a.bdt-link-text, |
| 19 |
.bdt-link-text a, |
| 20 |
.bdt-link-toggle .bdt-link-text { |
| 21 |
color: inherit; |
| 22 |
} |
| 23 |
a.bdt-link-text:hover, |
| 24 |
.bdt-link-text a:hover, |
| 25 |
.bdt-link-toggle:hover .bdt-link-text { |
| 26 |
color: #999; |
| 27 |
} |
| 28 |
/* Heading |
| 29 |
========================================================================== */ |
| 30 |
a.bdt-link-heading, |
| 31 |
.bdt-link-heading a, |
| 32 |
.bdt-link-toggle .bdt-link-heading { |
| 33 |
color: inherit; |
| 34 |
} |
| 35 |
a.bdt-link-heading:hover, |
| 36 |
.bdt-link-heading a:hover, |
| 37 |
.bdt-link-toggle:hover .bdt-link-heading { |
| 38 |
color: #1e87f0; |
| 39 |
text-decoration: none; |
| 40 |
} |
| 41 |
/* Reset |
| 42 |
========================================================================== */ |
| 43 |
/* |
| 44 |
* `!important` needed to override inverse component |
| 45 |
*/ |
| 46 |
a.bdt-link-reset, |
| 47 |
.bdt-link-reset a { |
| 48 |
color: inherit !important; |
| 49 |
text-decoration: none !important; |
| 50 |
} |
| 51 |
/* Toggle |
| 52 |
========================================================================== */ |
| 53 |
.bdt-link-toggle { |
| 54 |
color: inherit !important; |
| 55 |
text-decoration: none !important; |
| 56 |
} |
| 57 |
/* ======================================================================== |
| 58 |
Component: Divider |
| 59 |
========================================================================== */ |
| 60 |
/* |
| 61 |
* 1. Reset default `hr` |
| 62 |
* 2. Set margin if a `div` is used for semantical reason |
| 63 |
*/ |
| 64 |
[class*='bdt-divider'] { |
| 65 |
/* 1 */ |
| 66 |
border: none; |
| 67 |
/* 2 */ |
| 68 |
margin-bottom: 20px; |
| 69 |
} |
| 70 |
/* Add margin if adjacent element */ |
| 71 |
* + [class*='bdt-divider'] { |
| 72 |
margin-top: 20px; |
| 73 |
} |
| 74 |
/* Icon |
| 75 |
========================================================================== */ |
| 76 |
.bdt-divider-icon { |
| 77 |
position: relative; |
| 78 |
height: 20px; |
| 79 |
background-image: url("../../images/backgrounds/divider-icon.svg"); |
| 80 |
background-repeat: no-repeat; |
| 81 |
background-position: 50% 50%; |
| 82 |
} |
| 83 |
.bdt-divider-icon::before, |
| 84 |
.bdt-divider-icon::after { |
| 85 |
content: ""; |
| 86 |
position: absolute; |
| 87 |
top: 50%; |
| 88 |
max-width: calc(50% - (50px / 2)); |
| 89 |
border-bottom: 1px solid rgba(214, 214, 214, 0.49); |
| 90 |
} |
| 91 |
.bdt-divider-icon::before { |
| 92 |
right: calc(50% + (50px / 2)); |
| 93 |
width: 100%; |
| 94 |
} |
| 95 |
.bdt-divider-icon::after { |
| 96 |
left: calc(50% + (50px / 2)); |
| 97 |
width: 100%; |
| 98 |
} |
| 99 |
/* Small |
| 100 |
========================================================================== */ |
| 101 |
/* |
| 102 |
* 1. Fix height because of `inline-block` |
| 103 |
* 2. Using ::after and inline-block to make `text-align` work |
| 104 |
*/ |
| 105 |
/* 1 */ |
| 106 |
.bdt-divider-small { |
| 107 |
line-height: 0; |
| 108 |
} |
| 109 |
/* 2 */ |
| 110 |
.bdt-divider-small::after { |
| 111 |
content: ""; |
| 112 |
display: inline-block; |
| 113 |
width: 100px; |
| 114 |
max-width: 100%; |
| 115 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 116 |
vertical-align: top; |
| 117 |
} |
| 118 |
/* Vertical |
| 119 |
========================================================================== */ |
| 120 |
.bdt-divider-vertical { |
| 121 |
width: max-content; |
| 122 |
height: 100px; |
| 123 |
margin-left: auto; |
| 124 |
margin-right: auto; |
| 125 |
border-left: 1px solid rgba(214, 214, 214, 0.49); |
| 126 |
} |
| 127 |
/* ======================================================================== |
| 128 |
Component: List |
| 129 |
========================================================================== */ |
| 130 |
.bdt-list { |
| 131 |
padding: 0; |
| 132 |
list-style: none; |
| 133 |
} |
| 134 |
/* |
| 135 |
* Remove margin from the last-child |
| 136 |
*/ |
| 137 |
.bdt-list > * > :last-child { |
| 138 |
margin-bottom: 0; |
| 139 |
} |
| 140 |
/* |
| 141 |
* Style |
| 142 |
*/ |
| 143 |
.bdt-list > :nth-child(n+2), |
| 144 |
.bdt-list > * > ul { |
| 145 |
margin-top: 10px; |
| 146 |
} |
| 147 |
/* Marker modifiers |
| 148 |
* Moving `::marker` inside `::before` to style it differently |
| 149 |
* To style the `::marker` is currently only supported in Firefox and Safari |
| 150 |
========================================================================== */ |
| 151 |
.bdt-list-disc > *, |
| 152 |
.bdt-list-circle > *, |
| 153 |
.bdt-list-square > *, |
| 154 |
.bdt-list-decimal > *, |
| 155 |
.bdt-list-hyphen > * { |
| 156 |
padding-left: 30px; |
| 157 |
} |
| 158 |
/* |
| 159 |
* Type modifiers |
| 160 |
*/ |
| 161 |
.bdt-list-decimal { |
| 162 |
counter-reset: decimal; |
| 163 |
} |
| 164 |
.bdt-list-decimal > * { |
| 165 |
counter-increment: decimal; |
| 166 |
} |
| 167 |
.bdt-list-disc > ::before, |
| 168 |
.bdt-list-circle > ::before, |
| 169 |
.bdt-list-square > ::before, |
| 170 |
.bdt-list-decimal > ::before, |
| 171 |
.bdt-list-hyphen > ::before { |
| 172 |
content: ""; |
| 173 |
position: relative; |
| 174 |
left: -30px; |
| 175 |
width: 30px; |
| 176 |
height: 1.5em; |
| 177 |
margin-bottom: -1.5em; |
| 178 |
display: list-item; |
| 179 |
list-style-position: inside; |
| 180 |
text-align: right; |
| 181 |
} |
| 182 |
.bdt-list-disc > ::before { |
| 183 |
list-style-type: disc; |
| 184 |
} |
| 185 |
.bdt-list-circle > ::before { |
| 186 |
list-style-type: circle; |
| 187 |
} |
| 188 |
.bdt-list-square > ::before { |
| 189 |
list-style-type: square; |
| 190 |
} |
| 191 |
.bdt-list-decimal > ::before { |
| 192 |
content: counter(decimal, decimal) '\200A.\00A0'; |
| 193 |
} |
| 194 |
.bdt-list-hyphen > ::before { |
| 195 |
content: '–\00A0\00A0'; |
| 196 |
} |
| 197 |
/* |
| 198 |
* Color modifiers |
| 199 |
*/ |
| 200 |
.bdt-list-muted > ::before { |
| 201 |
color: #999 !important; |
| 202 |
} |
| 203 |
.bdt-list-emphasis > ::before { |
| 204 |
color: #333 !important; |
| 205 |
} |
| 206 |
.bdt-list-primary > ::before { |
| 207 |
color: #1e87f0 !important; |
| 208 |
} |
| 209 |
.bdt-list-secondary > ::before { |
| 210 |
color: #222 !important; |
| 211 |
} |
| 212 |
/* Image bullet modifier |
| 213 |
========================================================================== */ |
| 214 |
.bdt-list-bullet > * { |
| 215 |
padding-left: 30px; |
| 216 |
} |
| 217 |
.bdt-list-bullet > ::before { |
| 218 |
content: ""; |
| 219 |
display: list-item; |
| 220 |
position: relative; |
| 221 |
left: -30px; |
| 222 |
width: 30px; |
| 223 |
height: 1.5em; |
| 224 |
margin-bottom: -1.5em; |
| 225 |
background-image: url("../../images/backgrounds/list-bullet.svg"); |
| 226 |
background-repeat: no-repeat; |
| 227 |
background-position: 50% 50%; |
| 228 |
} |
| 229 |
/* Style modifiers |
| 230 |
========================================================================== */ |
| 231 |
/* |
| 232 |
* Divider |
| 233 |
*/ |
| 234 |
.bdt-list-divider > :nth-child(n+2) { |
| 235 |
margin-top: 10px; |
| 236 |
padding-top: 10px; |
| 237 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 238 |
} |
| 239 |
/* |
| 240 |
* Striped |
| 241 |
*/ |
| 242 |
.bdt-list-striped > * { |
| 243 |
padding: 10px 10px; |
| 244 |
} |
| 245 |
.bdt-list-striped > :nth-of-type(odd) { |
| 246 |
background: #f8f8f8; |
| 247 |
} |
| 248 |
.bdt-list-striped > :nth-child(n+2) { |
| 249 |
margin-top: 0; |
| 250 |
} |
| 251 |
/* Size modifier |
| 252 |
========================================================================== */ |
| 253 |
.bdt-list-large > :nth-child(n+2), |
| 254 |
.bdt-list-large > * > ul { |
| 255 |
margin-top: 20px; |
| 256 |
} |
| 257 |
.bdt-list-collapse > :nth-child(n+2), |
| 258 |
.bdt-list-collapse > * > ul { |
| 259 |
margin-top: 0; |
| 260 |
} |
| 261 |
/* |
| 262 |
* Divider |
| 263 |
*/ |
| 264 |
.bdt-list-large.bdt-list-divider > :nth-child(n+2) { |
| 265 |
margin-top: 20px; |
| 266 |
padding-top: 20px; |
| 267 |
} |
| 268 |
.bdt-list-collapse.bdt-list-divider > :nth-child(n+2) { |
| 269 |
margin-top: 0; |
| 270 |
padding-top: 0; |
| 271 |
} |
| 272 |
/* |
| 273 |
* Striped |
| 274 |
*/ |
| 275 |
.bdt-list-large.bdt-list-striped > * { |
| 276 |
padding: 20px 10px; |
| 277 |
} |
| 278 |
.bdt-list-collapse.bdt-list-striped > * { |
| 279 |
padding-top: 0; |
| 280 |
padding-bottom: 0; |
| 281 |
} |
| 282 |
.bdt-list-large.bdt-list-striped > :nth-child(n+2), |
| 283 |
.bdt-list-collapse.bdt-list-striped > :nth-child(n+2) { |
| 284 |
margin-top: 0; |
| 285 |
} |
| 286 |
/* ======================================================================== |
| 287 |
Component: Description list |
| 288 |
========================================================================== */ |
| 289 |
/* |
| 290 |
* Term |
| 291 |
*/ |
| 292 |
.bdt-description-list > dt { |
| 293 |
color: #333; |
| 294 |
} |
| 295 |
.bdt-description-list > dt:nth-child(n+2) { |
| 296 |
margin-top: 20px; |
| 297 |
} |
| 298 |
/* |
| 299 |
* Description |
| 300 |
*/ |
| 301 |
/* Style modifier |
| 302 |
========================================================================== */ |
| 303 |
/* |
| 304 |
* Line |
| 305 |
*/ |
| 306 |
.bdt-description-list-divider > dt:nth-child(n+2) { |
| 307 |
margin-top: 20px; |
| 308 |
padding-top: 20px; |
| 309 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 310 |
} |
| 311 |
/* ======================================================================== |
| 312 |
Component: Table |
| 313 |
========================================================================== */ |
| 314 |
/* |
| 315 |
* 1. Remove most spacing between table cells. |
| 316 |
* 2. Behave like a block element |
| 317 |
* 3. Style |
| 318 |
*/ |
| 319 |
.bdt-table { |
| 320 |
/* 1 */ |
| 321 |
border-collapse: collapse; |
| 322 |
border-spacing: 0; |
| 323 |
/* 2 */ |
| 324 |
width: 100%; |
| 325 |
/* 3 */ |
| 326 |
margin-bottom: 20px; |
| 327 |
} |
| 328 |
/* Add margin if adjacent element */ |
| 329 |
* + .bdt-table { |
| 330 |
margin-top: 20px; |
| 331 |
} |
| 332 |
/* Header cell |
| 333 |
========================================================================== */ |
| 334 |
/* |
| 335 |
* 1. Style |
| 336 |
*/ |
| 337 |
.bdt-table th { |
| 338 |
padding: 16px 12px; |
| 339 |
text-align: left; |
| 340 |
vertical-align: bottom; |
| 341 |
/* 1 */ |
| 342 |
font-size: 16px; |
| 343 |
font-weight: bold; |
| 344 |
color: #666; |
| 345 |
} |
| 346 |
/* Cell |
| 347 |
========================================================================== */ |
| 348 |
.bdt-table td { |
| 349 |
padding: 16px 12px; |
| 350 |
vertical-align: top; |
| 351 |
} |
| 352 |
/* |
| 353 |
* Remove margin from the last-child |
| 354 |
*/ |
| 355 |
.bdt-table td > :last-child { |
| 356 |
margin-bottom: 0; |
| 357 |
} |
| 358 |
/* Footer |
| 359 |
========================================================================== */ |
| 360 |
.bdt-table tfoot { |
| 361 |
font-size: 0.875rem; |
| 362 |
} |
| 363 |
/* Caption |
| 364 |
========================================================================== */ |
| 365 |
.bdt-table caption { |
| 366 |
font-size: 0.875rem; |
| 367 |
text-align: left; |
| 368 |
color: #999; |
| 369 |
} |
| 370 |
/* Alignment modifier |
| 371 |
========================================================================== */ |
| 372 |
.bdt-table-middle, |
| 373 |
.bdt-table-middle td { |
| 374 |
vertical-align: middle !important; |
| 375 |
} |
| 376 |
/* Style modifiers |
| 377 |
========================================================================== */ |
| 378 |
/* |
| 379 |
* Divider |
| 380 |
*/ |
| 381 |
.bdt-table-divider > tr:not(:first-child), |
| 382 |
.bdt-table-divider > :not(:first-child) > tr, |
| 383 |
.bdt-table-divider > :first-child > tr:not(:first-child) { |
| 384 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 385 |
} |
| 386 |
/* |
| 387 |
* Striped |
| 388 |
*/ |
| 389 |
.bdt-table-striped > tr:nth-of-type(odd), |
| 390 |
.bdt-table-striped tbody tr:nth-of-type(odd) { |
| 391 |
background: #f8f8f8; |
| 392 |
} |
| 393 |
/* |
| 394 |
* Hover |
| 395 |
*/ |
| 396 |
.bdt-table-hover > tr:hover, |
| 397 |
.bdt-table-hover tbody tr:hover { |
| 398 |
background: #ffd; |
| 399 |
} |
| 400 |
/* Active state |
| 401 |
========================================================================== */ |
| 402 |
.bdt-table > tr.bdt-active, |
| 403 |
.bdt-table tbody tr.bdt-active { |
| 404 |
background: #ffd; |
| 405 |
} |
| 406 |
/* Size modifier |
| 407 |
========================================================================== */ |
| 408 |
.bdt-table-small th, |
| 409 |
.bdt-table-small td { |
| 410 |
padding: 10px 12px; |
| 411 |
} |
| 412 |
.bdt-table-large th, |
| 413 |
.bdt-table-large td { |
| 414 |
padding: 22px 12px; |
| 415 |
} |
| 416 |
/* Justify modifier |
| 417 |
========================================================================== */ |
| 418 |
.bdt-table-justify th:first-child, |
| 419 |
.bdt-table-justify td:first-child { |
| 420 |
padding-left: 0; |
| 421 |
} |
| 422 |
.bdt-table-justify th:last-child, |
| 423 |
.bdt-table-justify td:last-child { |
| 424 |
padding-right: 0; |
| 425 |
} |
| 426 |
/* Cell size modifier |
| 427 |
========================================================================== */ |
| 428 |
.bdt-table-shrink { |
| 429 |
width: 1px; |
| 430 |
} |
| 431 |
.bdt-table-expand { |
| 432 |
min-width: 150px; |
| 433 |
} |
| 434 |
/* Cell link modifier |
| 435 |
========================================================================== */ |
| 436 |
/* |
| 437 |
* Does not work with `bdt-table-justify` at the moment |
| 438 |
*/ |
| 439 |
.bdt-table-link { |
| 440 |
padding: 0 !important; |
| 441 |
} |
| 442 |
.bdt-table-link > a { |
| 443 |
display: block; |
| 444 |
padding: 16px 12px; |
| 445 |
} |
| 446 |
.bdt-table-small .bdt-table-link > a { |
| 447 |
padding: 10px 12px; |
| 448 |
} |
| 449 |
/* Responsive table |
| 450 |
========================================================================== */ |
| 451 |
/* Phone landscape and smaller */ |
| 452 |
@media (max-width: 959px) { |
| 453 |
.bdt-table-responsive, |
| 454 |
.bdt-table-responsive tbody, |
| 455 |
.bdt-table-responsive th, |
| 456 |
.bdt-table-responsive td, |
| 457 |
.bdt-table-responsive tr { |
| 458 |
display: block; |
| 459 |
} |
| 460 |
.bdt-table-responsive thead { |
| 461 |
display: none; |
| 462 |
} |
| 463 |
.bdt-table-responsive th, |
| 464 |
.bdt-table-responsive td { |
| 465 |
width: auto !important; |
| 466 |
max-width: none !important; |
| 467 |
min-width: 0 !important; |
| 468 |
overflow: visible !important; |
| 469 |
white-space: normal !important; |
| 470 |
} |
| 471 |
.bdt-table-responsive th:not(:first-child):not(.bdt-table-link), |
| 472 |
.bdt-table-responsive td:not(:first-child):not(.bdt-table-link), |
| 473 |
.bdt-table-responsive .bdt-table-link:not(:first-child) > a { |
| 474 |
padding-top: 5px !important; |
| 475 |
} |
| 476 |
.bdt-table-responsive th:not(:last-child):not(.bdt-table-link), |
| 477 |
.bdt-table-responsive td:not(:last-child):not(.bdt-table-link), |
| 478 |
.bdt-table-responsive .bdt-table-link:not(:last-child) > a { |
| 479 |
padding-bottom: 5px !important; |
| 480 |
} |
| 481 |
.bdt-table-justify.bdt-table-responsive th, |
| 482 |
.bdt-table-justify.bdt-table-responsive td { |
| 483 |
padding-left: 0; |
| 484 |
padding-right: 0; |
| 485 |
} |
| 486 |
} |
| 487 |
/* ======================================================================== |
| 488 |
Component: Icon |
| 489 |
========================================================================== */ |
| 490 |
/* |
| 491 |
* Note: 1. - 7. is required for `button` elements. Needed for Close and Form Icon component. |
| 492 |
* 1. Remove margins in Chrome, Safari and Opera. |
| 493 |
* 2. Remove borders for `button`. |
| 494 |
* 3. Remove border-radius in Chrome. |
| 495 |
* 4. Address `overflow` set to `hidden` in IE. |
| 496 |
* 5. Correct `font` properties and `color` not being inherited for `button`. |
| 497 |
* 6. Remove the inheritance of text transform in Edge, Firefox, and IE. |
| 498 |
* 7. Remove default `button` padding and background color |
| 499 |
* 8. Style |
| 500 |
* 9. Fill all SVG elements with the current text color if no `fill` attribute is set |
| 501 |
* 10. Let the container fit the height of the icon |
| 502 |
*/ |
| 503 |
.bdt-icon { |
| 504 |
/* 1 */ |
| 505 |
margin: 0; |
| 506 |
/* 2 */ |
| 507 |
border: none; |
| 508 |
/* 3 */ |
| 509 |
border-radius: 0; |
| 510 |
/* 4 */ |
| 511 |
overflow: visible; |
| 512 |
/* 5 */ |
| 513 |
font: inherit; |
| 514 |
color: inherit; |
| 515 |
/* 6 */ |
| 516 |
text-transform: none; |
| 517 |
/* 7. */ |
| 518 |
padding: 0; |
| 519 |
background-color: transparent; |
| 520 |
/* 8 */ |
| 521 |
display: inline-block; |
| 522 |
/* 9 */ |
| 523 |
fill: currentcolor; |
| 524 |
/* 10 */ |
| 525 |
line-height: 0; |
| 526 |
} |
| 527 |
/* Required for `button`. */ |
| 528 |
button.bdt-icon:not(:disabled) { |
| 529 |
cursor: pointer; |
| 530 |
} |
| 531 |
/* |
| 532 |
* Remove the inner border and padding in Firefox. |
| 533 |
*/ |
| 534 |
.bdt-icon::-moz-focus-inner { |
| 535 |
border: 0; |
| 536 |
padding: 0; |
| 537 |
} |
| 538 |
/* |
| 539 |
* Set the fill and stroke color of all SVG elements to the current text color |
| 540 |
*/ |
| 541 |
.bdt-icon:not(.bdt-preserve) [fill*='#']:not(.bdt-preserve) { |
| 542 |
fill: currentcolor; |
| 543 |
} |
| 544 |
.bdt-icon:not(.bdt-preserve) [stroke*='#']:not(.bdt-preserve) { |
| 545 |
stroke: currentcolor; |
| 546 |
} |
| 547 |
/* |
| 548 |
* Fix Firefox blurry SVG rendering: https://bugzilla.mozilla.org/show_bug.cgi?id=1046835 |
| 549 |
*/ |
| 550 |
.bdt-icon > * { |
| 551 |
transform: translate(0, 0); |
| 552 |
} |
| 553 |
/* Image modifier |
| 554 |
========================================================================== */ |
| 555 |
/* |
| 556 |
* Display images in icon dimensions |
| 557 |
* 1. Required for `span` with background image |
| 558 |
* 2. Required for `image` |
| 559 |
*/ |
| 560 |
.bdt-icon-image { |
| 561 |
width: 20px; |
| 562 |
height: 20px; |
| 563 |
/* 1 */ |
| 564 |
background-position: 50% 50%; |
| 565 |
background-repeat: no-repeat; |
| 566 |
background-size: contain; |
| 567 |
vertical-align: middle; |
| 568 |
/* 2 */ |
| 569 |
object-fit: scale-down; |
| 570 |
max-width: none; |
| 571 |
} |
| 572 |
/* Style modifiers |
| 573 |
========================================================================== */ |
| 574 |
/* |
| 575 |
* Link |
| 576 |
*/ |
| 577 |
.bdt-icon-link { |
| 578 |
color: #999; |
| 579 |
} |
| 580 |
.bdt-icon-link:hover { |
| 581 |
color: #666; |
| 582 |
} |
| 583 |
/* OnClick + Active */ |
| 584 |
.bdt-icon-link:active, |
| 585 |
.bdt-active > .bdt-icon-link { |
| 586 |
color: #595959; |
| 587 |
} |
| 588 |
/* |
| 589 |
* Button |
| 590 |
* 1. Center icon vertically and horizontally |
| 591 |
*/ |
| 592 |
.bdt-icon-button { |
| 593 |
box-sizing: border-box; |
| 594 |
width: 36px; |
| 595 |
height: 36px; |
| 596 |
border-radius: 500px; |
| 597 |
background: #f8f8f8; |
| 598 |
color: #999; |
| 599 |
vertical-align: middle; |
| 600 |
/* 1 */ |
| 601 |
display: inline-flex; |
| 602 |
justify-content: center; |
| 603 |
align-items: center; |
| 604 |
} |
| 605 |
/* Hover */ |
| 606 |
.bdt-icon-button:hover { |
| 607 |
background-color: #ebebeb; |
| 608 |
color: #666; |
| 609 |
} |
| 610 |
/* OnClick + Active */ |
| 611 |
.bdt-icon-button:active, |
| 612 |
.bdt-active > .bdt-icon-button { |
| 613 |
background-color: #dfdfdf; |
| 614 |
color: #666; |
| 615 |
} |
| 616 |
/* ======================================================================== |
| 617 |
Component: Form Range |
| 618 |
========================================================================== */ |
| 619 |
/* |
| 620 |
* 1. Remove default style. |
| 621 |
* 2. Define consistent box sizing. |
| 622 |
* 3. Remove `margin` in all browsers. |
| 623 |
* 4. Align to the center of the line box. |
| 624 |
* 5. Prevent content overflow if a fixed width is used. |
| 625 |
* 6. Take the full width. |
| 626 |
* 7. Remove white background in Chrome. |
| 627 |
*/ |
| 628 |
.bdt-range { |
| 629 |
/* 1 */ |
| 630 |
-webkit-appearance: none; |
| 631 |
/* 2 */ |
| 632 |
box-sizing: border-box; |
| 633 |
/* 3 */ |
| 634 |
margin: 0; |
| 635 |
/* 4 */ |
| 636 |
vertical-align: middle; |
| 637 |
/* 5 */ |
| 638 |
max-width: 100%; |
| 639 |
/* 6 */ |
| 640 |
width: 100%; |
| 641 |
/* 7 */ |
| 642 |
background: transparent; |
| 643 |
} |
| 644 |
/* Focus */ |
| 645 |
.bdt-range:focus { |
| 646 |
outline: none; |
| 647 |
} |
| 648 |
.bdt-range::-moz-focus-outer { |
| 649 |
border: none; |
| 650 |
} |
| 651 |
/* |
| 652 |
* Improves consistency of cursor style for clickable elements |
| 653 |
*/ |
| 654 |
.bdt-range:not(:disabled)::-webkit-slider-thumb { |
| 655 |
cursor: pointer; |
| 656 |
} |
| 657 |
.bdt-range:not(:disabled)::-moz-range-thumb { |
| 658 |
cursor: pointer; |
| 659 |
} |
| 660 |
/* |
| 661 |
* Track |
| 662 |
* 1. Safari doesn't have a focus state. Using active instead. |
| 663 |
*/ |
| 664 |
/* Webkit */ |
| 665 |
.bdt-range::-webkit-slider-runnable-track { |
| 666 |
height: 3px; |
| 667 |
background: #ebebeb; |
| 668 |
} |
| 669 |
.bdt-range:focus::-webkit-slider-runnable-track, |
| 670 |
.bdt-range:active::-webkit-slider-runnable-track { |
| 671 |
background: #dedede; |
| 672 |
} |
| 673 |
/* Firefox */ |
| 674 |
.bdt-range::-moz-range-track { |
| 675 |
height: 3px; |
| 676 |
background: #ebebeb; |
| 677 |
} |
| 678 |
.bdt-range:focus::-moz-range-track { |
| 679 |
background: #dedede; |
| 680 |
} |
| 681 |
/* |
| 682 |
* Thumb |
| 683 |
* 1. Reset |
| 684 |
* 2. Style |
| 685 |
*/ |
| 686 |
/* Webkit */ |
| 687 |
.bdt-range::-webkit-slider-thumb { |
| 688 |
/* 1 */ |
| 689 |
-webkit-appearance: none; |
| 690 |
margin-top: -7px; |
| 691 |
/* 2 */ |
| 692 |
height: 15px; |
| 693 |
width: 15px; |
| 694 |
border-radius: 500px; |
| 695 |
background: #666; |
| 696 |
} |
| 697 |
/* Firefox */ |
| 698 |
.bdt-range::-moz-range-thumb { |
| 699 |
/* 1 */ |
| 700 |
border: none; |
| 701 |
/* 2 */ |
| 702 |
height: 15px; |
| 703 |
width: 15px; |
| 704 |
margin-top: -7px; |
| 705 |
border-radius: 500px; |
| 706 |
background: #666; |
| 707 |
} |
| 708 |
/* ======================================================================== |
| 709 |
Component: Form |
| 710 |
========================================================================== */ |
| 711 |
/* |
| 712 |
* 1. Define consistent box sizing. |
| 713 |
* Default is `content-box` with following exceptions set to `border-box` |
| 714 |
* `select`, `input[type="checkbox"]` and `input[type="radio"]` |
| 715 |
* `input[type="search"]` in Chrome, Safari and Opera |
| 716 |
* `input[type="color"]` in Firefox |
| 717 |
* 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. |
| 718 |
* 3. Remove `border-radius` in iOS. |
| 719 |
* 4. Change font properties to `inherit` in all browsers. |
| 720 |
*/ |
| 721 |
.bdt-input, |
| 722 |
.bdt-select, |
| 723 |
.bdt-textarea, |
| 724 |
.bdt-radio, |
| 725 |
.bdt-checkbox { |
| 726 |
/* 1 */ |
| 727 |
box-sizing: border-box; |
| 728 |
/* 2 */ |
| 729 |
margin: 0; |
| 730 |
/* 3 */ |
| 731 |
border-radius: 0; |
| 732 |
/* 4 */ |
| 733 |
font: inherit; |
| 734 |
} |
| 735 |
/* |
| 736 |
* Show the overflow in Edge. |
| 737 |
*/ |
| 738 |
.bdt-input { |
| 739 |
overflow: visible; |
| 740 |
} |
| 741 |
/* |
| 742 |
* Remove the inheritance of text transform in Firefox. |
| 743 |
*/ |
| 744 |
.bdt-select { |
| 745 |
text-transform: none; |
| 746 |
} |
| 747 |
/* |
| 748 |
* 1. Change font properties to `inherit` in all browsers |
| 749 |
* 2. Don't inherit the `font-weight` and use `bold` instead. |
| 750 |
* NOTE: Both declarations don't work in Chrome, Safari and Opera. |
| 751 |
*/ |
| 752 |
.bdt-select optgroup { |
| 753 |
/* 1 */ |
| 754 |
font: inherit; |
| 755 |
/* 2 */ |
| 756 |
font-weight: bold; |
| 757 |
} |
| 758 |
/* |
| 759 |
* Remove the default vertical scrollbar in IE 10+. |
| 760 |
*/ |
| 761 |
.bdt-textarea { |
| 762 |
overflow: auto; |
| 763 |
} |
| 764 |
/* |
| 765 |
* Remove the inner padding and cancel buttons in Chrome on OS X and Safari on OS X. |
| 766 |
*/ |
| 767 |
.bdt-input[type="search"]::-webkit-search-cancel-button, |
| 768 |
.bdt-input[type="search"]::-webkit-search-decoration { |
| 769 |
-webkit-appearance: none; |
| 770 |
} |
| 771 |
/* |
| 772 |
* Correct the cursor style of increment and decrement buttons in Chrome. |
| 773 |
*/ |
| 774 |
.bdt-input[type="number"]::-webkit-inner-spin-button, |
| 775 |
.bdt-input[type="number"]::-webkit-outer-spin-button { |
| 776 |
height: auto; |
| 777 |
} |
| 778 |
/* |
| 779 |
* Removes placeholder transparency in Firefox. |
| 780 |
*/ |
| 781 |
.bdt-input::-moz-placeholder, |
| 782 |
.bdt-textarea::-moz-placeholder { |
| 783 |
opacity: 1; |
| 784 |
} |
| 785 |
/* |
| 786 |
* Improves consistency of cursor style for clickable elements |
| 787 |
*/ |
| 788 |
.bdt-radio:not(:disabled), |
| 789 |
.bdt-checkbox:not(:disabled) { |
| 790 |
cursor: pointer; |
| 791 |
} |
| 792 |
/* |
| 793 |
* Define consistent border, margin, and padding. |
| 794 |
*/ |
| 795 |
.bdt-fieldset { |
| 796 |
border: none; |
| 797 |
margin: 0; |
| 798 |
padding: 0; |
| 799 |
} |
| 800 |
/* Input, select and textarea |
| 801 |
* Allowed: `text`, `password`, `datetime`, `datetime-local`, `date`, `month`, |
| 802 |
`time`, `week`, `number`, `email`, `url`, `search`, `tel`, `color` |
| 803 |
* Disallowed: `range`, `radio`, `checkbox`, `file`, `submit`, `reset` and `image` |
| 804 |
========================================================================== */ |
| 805 |
/* |
| 806 |
* Remove default style in iOS. |
| 807 |
*/ |
| 808 |
.bdt-input, |
| 809 |
.bdt-textarea { |
| 810 |
-webkit-appearance: none; |
| 811 |
} |
| 812 |
/* |
| 813 |
* 1. Prevent content overflow if a fixed width is used |
| 814 |
* 2. Take the full width |
| 815 |
* 3. Reset default |
| 816 |
* 4. Style |
| 817 |
*/ |
| 818 |
.bdt-input, |
| 819 |
.bdt-select, |
| 820 |
.bdt-textarea { |
| 821 |
/* 1 */ |
| 822 |
max-width: 100%; |
| 823 |
/* 2 */ |
| 824 |
width: 100%; |
| 825 |
/* 3 */ |
| 826 |
border: 0 none; |
| 827 |
/* 4 */ |
| 828 |
padding: 0 10px; |
| 829 |
background: #f8f8f8; |
| 830 |
color: #666; |
| 831 |
border-radius: 3px; |
| 832 |
} |
| 833 |
/* |
| 834 |
* Single-line |
| 835 |
* 1. Allow any element to look like an `input` or `select` element |
| 836 |
* 2. Make sure line-height is not larger than height |
| 837 |
* Also needed to center the text vertically |
| 838 |
*/ |
| 839 |
.bdt-input, |
| 840 |
.bdt-select:not([multiple]):not([size]) { |
| 841 |
height: 40px; |
| 842 |
vertical-align: middle; |
| 843 |
/* 1 */ |
| 844 |
display: inline-block; |
| 845 |
} |
| 846 |
/* 2 */ |
| 847 |
.bdt-input:not(input), |
| 848 |
.bdt-select:not(select) { |
| 849 |
line-height: 40px; |
| 850 |
} |
| 851 |
/* |
| 852 |
* Multi-line |
| 853 |
*/ |
| 854 |
.bdt-select[multiple], |
| 855 |
.bdt-select[size], |
| 856 |
.bdt-textarea { |
| 857 |
padding-top: 6px; |
| 858 |
padding-bottom: 6px; |
| 859 |
vertical-align: top; |
| 860 |
} |
| 861 |
.bdt-select[multiple], |
| 862 |
.bdt-select[size] { |
| 863 |
resize: vertical; |
| 864 |
} |
| 865 |
/* Focus */ |
| 866 |
.bdt-input:focus, |
| 867 |
.bdt-select:focus, |
| 868 |
.bdt-textarea:focus { |
| 869 |
outline: none; |
| 870 |
background-color: #ebebeb; |
| 871 |
color: #666; |
| 872 |
} |
| 873 |
/* Disabled */ |
| 874 |
.bdt-input:disabled, |
| 875 |
.bdt-select:disabled, |
| 876 |
.bdt-textarea:disabled { |
| 877 |
background-color: #f8f8f8; |
| 878 |
color: #999; |
| 879 |
} |
| 880 |
/* |
| 881 |
* Placeholder |
| 882 |
*/ |
| 883 |
.bdt-input::placeholder { |
| 884 |
color: #999; |
| 885 |
} |
| 886 |
.bdt-textarea::placeholder { |
| 887 |
color: #999; |
| 888 |
} |
| 889 |
/* Style modifier (`bdt-input`, `bdt-select` and `bdt-textarea`) |
| 890 |
========================================================================== */ |
| 891 |
/* |
| 892 |
* Small |
| 893 |
*/ |
| 894 |
.bdt-form-small { |
| 895 |
font-size: 0.875rem; |
| 896 |
} |
| 897 |
/* Single-line */ |
| 898 |
.bdt-form-small:not(textarea):not([multiple]):not([size]) { |
| 899 |
height: 30px; |
| 900 |
padding-left: 8px; |
| 901 |
padding-right: 8px; |
| 902 |
} |
| 903 |
/* Multi-line */ |
| 904 |
textarea.bdt-form-small, |
| 905 |
[multiple].bdt-form-small, |
| 906 |
[size].bdt-form-small { |
| 907 |
padding: 5px 8px; |
| 908 |
} |
| 909 |
.bdt-form-small:not(select):not(input):not(textarea) { |
| 910 |
line-height: 30px; |
| 911 |
} |
| 912 |
/* |
| 913 |
* Large |
| 914 |
*/ |
| 915 |
.bdt-form-large { |
| 916 |
font-size: 1.25rem; |
| 917 |
} |
| 918 |
/* Single-line */ |
| 919 |
.bdt-form-large:not(textarea):not([multiple]):not([size]) { |
| 920 |
height: 55px; |
| 921 |
padding-left: 12px; |
| 922 |
padding-right: 12px; |
| 923 |
} |
| 924 |
/* Multi-line */ |
| 925 |
textarea.bdt-form-large, |
| 926 |
[multiple].bdt-form-large, |
| 927 |
[size].bdt-form-large { |
| 928 |
padding: 7px 12px; |
| 929 |
} |
| 930 |
.bdt-form-large:not(select):not(input):not(textarea) { |
| 931 |
line-height: 55px; |
| 932 |
} |
| 933 |
/* Style modifier (`bdt-input`, `bdt-select` and `bdt-textarea`) |
| 934 |
========================================================================== */ |
| 935 |
/* |
| 936 |
* Error |
| 937 |
*/ |
| 938 |
.bdt-form-danger, |
| 939 |
.bdt-form-danger:focus { |
| 940 |
color: #f0506e; |
| 941 |
} |
| 942 |
/* |
| 943 |
* Success |
| 944 |
*/ |
| 945 |
.bdt-form-success, |
| 946 |
.bdt-form-success:focus { |
| 947 |
color: #32d296; |
| 948 |
} |
| 949 |
/* |
| 950 |
* Blank |
| 951 |
*/ |
| 952 |
.bdt-form-blank { |
| 953 |
background: none; |
| 954 |
} |
| 955 |
/* Width modifiers (`bdt-input`, `bdt-select` and `bdt-textarea`) |
| 956 |
========================================================================== */ |
| 957 |
/* |
| 958 |
* Fixed widths |
| 959 |
* Different widths for mini sized `input` and `select` elements |
| 960 |
*/ |
| 961 |
input.bdt-form-width-xsmall { |
| 962 |
width: 50px; |
| 963 |
} |
| 964 |
select.bdt-form-width-xsmall { |
| 965 |
width: 75px; |
| 966 |
} |
| 967 |
.bdt-form-width-small { |
| 968 |
width: 130px; |
| 969 |
} |
| 970 |
.bdt-form-width-medium { |
| 971 |
width: 200px; |
| 972 |
} |
| 973 |
.bdt-form-width-large { |
| 974 |
width: 500px; |
| 975 |
} |
| 976 |
/* Select |
| 977 |
========================================================================== */ |
| 978 |
/* |
| 979 |
* 1. Remove default style. Also works in Firefox |
| 980 |
* 2. Style |
| 981 |
* 3. Set `color` for options in the select dropdown, because the inherited `color` might be too light. |
| 982 |
*/ |
| 983 |
.bdt-select:not([multiple]):not([size]) { |
| 984 |
/* 1 */ |
| 985 |
-webkit-appearance: none; |
| 986 |
-moz-appearance: none; |
| 987 |
/* 2 */ |
| 988 |
padding-right: 20px; |
| 989 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0D%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0D%0A%3C%2Fsvg%3E%0D%0A"); |
| 990 |
background-repeat: no-repeat; |
| 991 |
background-position: 100% 50%; |
| 992 |
} |
| 993 |
/* 3 */ |
| 994 |
.bdt-select:not([multiple]):not([size]) option { |
| 995 |
color: #666; |
| 996 |
} |
| 997 |
/* |
| 998 |
* Disabled |
| 999 |
*/ |
| 1000 |
.bdt-select:not([multiple]):not([size]):disabled { |
| 1001 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23999%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0D%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23999%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0D%0A%3C%2Fsvg%3E%0D%0A"); |
| 1002 |
} |
| 1003 |
/* Datalist |
| 1004 |
========================================================================== */ |
| 1005 |
/* |
| 1006 |
* 1. Remove default style in Chrome |
| 1007 |
*/ |
| 1008 |
.bdt-input[list] { |
| 1009 |
padding-right: 20px; |
| 1010 |
background-repeat: no-repeat; |
| 1011 |
background-position: 100% 50%; |
| 1012 |
} |
| 1013 |
.bdt-input[list]:hover, |
| 1014 |
.bdt-input[list]:focus { |
| 1015 |
background-image: url("../../images/backgrounds/form-datalist.svg"); |
| 1016 |
} |
| 1017 |
/* 1 */ |
| 1018 |
.bdt-input[list]::-webkit-calendar-picker-indicator { |
| 1019 |
display: none !important; |
| 1020 |
} |
| 1021 |
/* Radio and checkbox |
| 1022 |
========================================================================== */ |
| 1023 |
/* |
| 1024 |
* 1. Style |
| 1025 |
* 2. Make box more robust so it clips the child element |
| 1026 |
* 3. Vertical alignment |
| 1027 |
* 4. Remove default style |
| 1028 |
* 5. Fix black background on iOS |
| 1029 |
* 6. Center icons |
| 1030 |
*/ |
| 1031 |
.bdt-radio, |
| 1032 |
.bdt-checkbox { |
| 1033 |
/* 1 */ |
| 1034 |
display: inline-block; |
| 1035 |
height: 16px; |
| 1036 |
width: 16px; |
| 1037 |
/* 2 */ |
| 1038 |
overflow: hidden; |
| 1039 |
/* 3 */ |
| 1040 |
margin-top: -4px; |
| 1041 |
vertical-align: middle; |
| 1042 |
/* 4 */ |
| 1043 |
-webkit-appearance: none; |
| 1044 |
-moz-appearance: none; |
| 1045 |
/* 5 */ |
| 1046 |
background-color: #ebebeb; |
| 1047 |
/* 6 */ |
| 1048 |
background-repeat: no-repeat; |
| 1049 |
background-position: 50% 50%; |
| 1050 |
} |
| 1051 |
.bdt-radio { |
| 1052 |
border-radius: 50%; |
| 1053 |
} |
| 1054 |
/* Focus */ |
| 1055 |
.bdt-radio:focus, |
| 1056 |
.bdt-checkbox:focus { |
| 1057 |
background-color: #dedede; |
| 1058 |
outline: none; |
| 1059 |
} |
| 1060 |
/* |
| 1061 |
* Checked |
| 1062 |
*/ |
| 1063 |
.bdt-radio:checked, |
| 1064 |
.bdt-checkbox:checked, |
| 1065 |
.bdt-checkbox:indeterminate { |
| 1066 |
background-color: #1e87f0; |
| 1067 |
} |
| 1068 |
/* Focus */ |
| 1069 |
.bdt-radio:checked:focus, |
| 1070 |
.bdt-checkbox:checked:focus, |
| 1071 |
.bdt-checkbox:indeterminate:focus { |
| 1072 |
background-color: #0e6dcd; |
| 1073 |
} |
| 1074 |
/* |
| 1075 |
* Icons |
| 1076 |
*/ |
| 1077 |
.bdt-radio:checked { |
| 1078 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Ccircle%20fill%3D%22%23fff%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0D%0A%3C%2Fsvg%3E"); |
| 1079 |
} |
| 1080 |
.bdt-checkbox:checked { |
| 1081 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23fff%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0D%0A%3C%2Fsvg%3E%0D%0A"); |
| 1082 |
} |
| 1083 |
.bdt-checkbox:indeterminate { |
| 1084 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Crect%20fill%3D%22%23fff%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0D%0A%3C%2Fsvg%3E"); |
| 1085 |
} |
| 1086 |
/* |
| 1087 |
* Disabled |
| 1088 |
*/ |
| 1089 |
.bdt-radio:disabled, |
| 1090 |
.bdt-checkbox:disabled { |
| 1091 |
background-color: #f8f8f8; |
| 1092 |
} |
| 1093 |
.bdt-radio:disabled:checked { |
| 1094 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Ccircle%20fill%3D%22%23999%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0D%0A%3C%2Fsvg%3E"); |
| 1095 |
} |
| 1096 |
.bdt-checkbox:disabled:checked { |
| 1097 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23999%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0D%0A%3C%2Fsvg%3E%0D%0A"); |
| 1098 |
} |
| 1099 |
.bdt-checkbox:disabled:indeterminate { |
| 1100 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Crect%20fill%3D%22%23999%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0D%0A%3C%2Fsvg%3E"); |
| 1101 |
} |
| 1102 |
/* Legend |
| 1103 |
========================================================================== */ |
| 1104 |
/* |
| 1105 |
* Legend |
| 1106 |
* 1. Behave like block element |
| 1107 |
* 2. Correct the color inheritance from `fieldset` elements in IE. |
| 1108 |
* 3. Remove padding so people aren't caught out if they zero out fieldsets. |
| 1109 |
* 4. Style |
| 1110 |
*/ |
| 1111 |
.bdt-legend { |
| 1112 |
/* 1 */ |
| 1113 |
width: 100%; |
| 1114 |
/* 2 */ |
| 1115 |
color: inherit; |
| 1116 |
/* 3 */ |
| 1117 |
padding: 0; |
| 1118 |
/* 4 */ |
| 1119 |
font-size: 1.5rem; |
| 1120 |
line-height: 1.4; |
| 1121 |
} |
| 1122 |
/* Custom controls |
| 1123 |
========================================================================== */ |
| 1124 |
/* |
| 1125 |
* 1. Container fits its content |
| 1126 |
* 2. Create position context |
| 1127 |
* 3. Prevent content overflow |
| 1128 |
* 4. Behave like most inline-block elements |
| 1129 |
*/ |
| 1130 |
.bdt-form-custom { |
| 1131 |
/* 1 */ |
| 1132 |
display: inline-block; |
| 1133 |
/* 2 */ |
| 1134 |
position: relative; |
| 1135 |
/* 3 */ |
| 1136 |
max-width: 100%; |
| 1137 |
/* 4 */ |
| 1138 |
vertical-align: middle; |
| 1139 |
} |
| 1140 |
/* |
| 1141 |
* 1. Position and resize the form control to always cover its container |
| 1142 |
* 2. Required for Firefox for positioning to the left |
| 1143 |
* 3. Required for Webkit to make `height` work |
| 1144 |
* 4. Hide controle and show cursor |
| 1145 |
* 5. Needed for the cursor |
| 1146 |
* 6. Clip height caused by 5. Needed for Webkit only |
| 1147 |
*/ |
| 1148 |
.bdt-form-custom select, |
| 1149 |
.bdt-form-custom input[type="file"] { |
| 1150 |
/* 1 */ |
| 1151 |
position: absolute; |
| 1152 |
top: 0; |
| 1153 |
z-index: 1; |
| 1154 |
width: 100%; |
| 1155 |
height: 100%; |
| 1156 |
/* 2 */ |
| 1157 |
left: 0; |
| 1158 |
/* 3 */ |
| 1159 |
-webkit-appearance: none; |
| 1160 |
/* 4 */ |
| 1161 |
opacity: 0; |
| 1162 |
cursor: pointer; |
| 1163 |
} |
| 1164 |
.bdt-form-custom input[type="file"] { |
| 1165 |
/* 5 */ |
| 1166 |
font-size: 500px; |
| 1167 |
/* 6 */ |
| 1168 |
overflow: hidden; |
| 1169 |
} |
| 1170 |
/* Label |
| 1171 |
========================================================================== */ |
| 1172 |
/* Layout |
| 1173 |
========================================================================== */ |
| 1174 |
/* |
| 1175 |
* Stacked |
| 1176 |
*/ |
| 1177 |
.bdt-form-stacked .bdt-form-label { |
| 1178 |
display: block; |
| 1179 |
margin-bottom: 10px; |
| 1180 |
} |
| 1181 |
/* |
| 1182 |
* Horizontal |
| 1183 |
*/ |
| 1184 |
/* Tablet portrait and smaller */ |
| 1185 |
@media (max-width: 959px) { |
| 1186 |
/* Behave like `bdt-form-stacked` */ |
| 1187 |
.bdt-form-horizontal .bdt-form-label { |
| 1188 |
display: block; |
| 1189 |
margin-bottom: 10px; |
| 1190 |
} |
| 1191 |
} |
| 1192 |
/* Tablet landscape and bigger */ |
| 1193 |
@media (min-width: 960px) { |
| 1194 |
.bdt-form-horizontal .bdt-form-label { |
| 1195 |
width: 200px; |
| 1196 |
margin-top: 7px; |
| 1197 |
float: left; |
| 1198 |
} |
| 1199 |
.bdt-form-horizontal .bdt-form-controls { |
| 1200 |
margin-left: 215px; |
| 1201 |
} |
| 1202 |
/* Better vertical alignment if controls are checkboxes and radio buttons with text */ |
| 1203 |
.bdt-form-horizontal .bdt-form-controls-text { |
| 1204 |
padding-top: 7px; |
| 1205 |
} |
| 1206 |
} |
| 1207 |
/* Icons |
| 1208 |
========================================================================== */ |
| 1209 |
/* |
| 1210 |
* 1. Set position |
| 1211 |
* 2. Set width |
| 1212 |
* 3. Center icon vertically and horizontally |
| 1213 |
* 4. Style |
| 1214 |
*/ |
| 1215 |
.bdt-form-icon { |
| 1216 |
/* 1 */ |
| 1217 |
position: absolute; |
| 1218 |
top: 0; |
| 1219 |
bottom: 0; |
| 1220 |
left: 0; |
| 1221 |
/* 2 */ |
| 1222 |
width: 40px; |
| 1223 |
/* 3 */ |
| 1224 |
display: inline-flex; |
| 1225 |
justify-content: center; |
| 1226 |
align-items: center; |
| 1227 |
/* 4 */ |
| 1228 |
color: #999; |
| 1229 |
} |
| 1230 |
/* |
| 1231 |
* Required for `a`. |
| 1232 |
*/ |
| 1233 |
.bdt-form-icon:hover { |
| 1234 |
color: #666; |
| 1235 |
} |
| 1236 |
/* |
| 1237 |
* Make `input` element clickable through icon, e.g. if it's a `span` |
| 1238 |
*/ |
| 1239 |
.bdt-form-icon:not(a):not(button):not(input) { |
| 1240 |
pointer-events: none; |
| 1241 |
} |
| 1242 |
/* |
| 1243 |
* Input padding |
| 1244 |
*/ |
| 1245 |
.bdt-form-icon:not(.bdt-form-icon-flip) ~ .bdt-input { |
| 1246 |
padding-left: 40px !important; |
| 1247 |
} |
| 1248 |
/* |
| 1249 |
* Position modifier |
| 1250 |
*/ |
| 1251 |
.bdt-form-icon-flip { |
| 1252 |
right: 0; |
| 1253 |
left: auto; |
| 1254 |
} |
| 1255 |
.bdt-form-icon-flip ~ .bdt-input { |
| 1256 |
padding-right: 40px !important; |
| 1257 |
} |
| 1258 |
/* ======================================================================== |
| 1259 |
Component: Button |
| 1260 |
========================================================================== */ |
| 1261 |
/* |
| 1262 |
* 1. Remove margins in Chrome, Safari and Opera. |
| 1263 |
* 2. Remove borders for `button`. |
| 1264 |
* 3. Address `overflow` set to `hidden` in IE. |
| 1265 |
* 4. Correct `font` properties and `color` not being inherited for `button`. |
| 1266 |
* 5. Remove the inheritance of text transform in Edge, Firefox, and IE. |
| 1267 |
* 6. Remove default style for `input type="submit"`in iOS. |
| 1268 |
* 7. Style |
| 1269 |
* 8. `line-height` is used to create a height because it also centers the text vertically for `a` elements. |
| 1270 |
* Better would be to use height and flexbox to center the text vertically but flexbox doesn't work in Firefox on `button` elements. |
| 1271 |
* 9. Align text if button has a width |
| 1272 |
* 10. Required for `a`. |
| 1273 |
*/ |
| 1274 |
.bdt-button { |
| 1275 |
/* 1 */ |
| 1276 |
margin: 0; |
| 1277 |
/* 2 */ |
| 1278 |
border: none; |
| 1279 |
/* 3 */ |
| 1280 |
overflow: visible; |
| 1281 |
/* 4 */ |
| 1282 |
font: inherit; |
| 1283 |
color: inherit; |
| 1284 |
/* 5 */ |
| 1285 |
text-transform: none; |
| 1286 |
/* 6 */ |
| 1287 |
-webkit-appearance: none; |
| 1288 |
border-radius: 0; |
| 1289 |
/* 7 */ |
| 1290 |
display: inline-block; |
| 1291 |
box-sizing: border-box; |
| 1292 |
padding: 0 30px; |
| 1293 |
vertical-align: middle; |
| 1294 |
font-size: 16px; |
| 1295 |
/* 8 */ |
| 1296 |
line-height: 40px; |
| 1297 |
/* 9 */ |
| 1298 |
text-align: center; |
| 1299 |
/* 10 */ |
| 1300 |
text-decoration: none; |
| 1301 |
border-radius: 3px; |
| 1302 |
} |
| 1303 |
.bdt-button:not(:disabled) { |
| 1304 |
cursor: pointer; |
| 1305 |
} |
| 1306 |
/* |
| 1307 |
* Remove the inner border and padding in Firefox. |
| 1308 |
*/ |
| 1309 |
.bdt-button::-moz-focus-inner { |
| 1310 |
border: 0; |
| 1311 |
padding: 0; |
| 1312 |
} |
| 1313 |
/* Hover */ |
| 1314 |
.bdt-button:hover { |
| 1315 |
/* 9 */ |
| 1316 |
text-decoration: none; |
| 1317 |
} |
| 1318 |
/* OnClick + Active */ |
| 1319 |
/* Style modifiers |
| 1320 |
========================================================================== */ |
| 1321 |
/* |
| 1322 |
* Default |
| 1323 |
*/ |
| 1324 |
.bdt-button-default { |
| 1325 |
background-color: #f8f8f8; |
| 1326 |
color: #333; |
| 1327 |
} |
| 1328 |
/* Hover */ |
| 1329 |
.bdt-button-default:hover { |
| 1330 |
background-color: #ebebeb; |
| 1331 |
color: #333; |
| 1332 |
} |
| 1333 |
/* OnClick + Active */ |
| 1334 |
.bdt-button-default:active, |
| 1335 |
.bdt-button-default.bdt-active { |
| 1336 |
background-color: #dfdfdf; |
| 1337 |
color: #333; |
| 1338 |
} |
| 1339 |
/* |
| 1340 |
* Primary |
| 1341 |
*/ |
| 1342 |
.bdt-button-primary { |
| 1343 |
background-color: #1e87f0; |
| 1344 |
color: #fff; |
| 1345 |
} |
| 1346 |
/* Hover */ |
| 1347 |
.bdt-button-primary:hover { |
| 1348 |
background-color: #0f7ae5; |
| 1349 |
color: #fff; |
| 1350 |
} |
| 1351 |
/* OnClick + Active */ |
| 1352 |
.bdt-button-primary:active, |
| 1353 |
.bdt-button-primary.bdt-active { |
| 1354 |
background-color: #0e6dcd; |
| 1355 |
color: #fff; |
| 1356 |
} |
| 1357 |
/* |
| 1358 |
* Secondary |
| 1359 |
*/ |
| 1360 |
.bdt-button-secondary { |
| 1361 |
background-color: #222; |
| 1362 |
color: #fff; |
| 1363 |
} |
| 1364 |
/* Hover */ |
| 1365 |
.bdt-button-secondary:hover { |
| 1366 |
background-color: #151515; |
| 1367 |
color: #fff; |
| 1368 |
} |
| 1369 |
/* OnClick + Active */ |
| 1370 |
.bdt-button-secondary:active, |
| 1371 |
.bdt-button-secondary.bdt-active { |
| 1372 |
background-color: #080808; |
| 1373 |
color: #fff; |
| 1374 |
} |
| 1375 |
/* |
| 1376 |
* Danger |
| 1377 |
*/ |
| 1378 |
.bdt-button-danger { |
| 1379 |
background-color: #f0506e; |
| 1380 |
color: #fff; |
| 1381 |
} |
| 1382 |
/* Hover */ |
| 1383 |
.bdt-button-danger:hover { |
| 1384 |
background-color: #ee395b; |
| 1385 |
color: #fff; |
| 1386 |
} |
| 1387 |
/* OnClick + Active */ |
| 1388 |
.bdt-button-danger:active, |
| 1389 |
.bdt-button-danger.bdt-active { |
| 1390 |
background-color: #ec2147; |
| 1391 |
color: #fff; |
| 1392 |
} |
| 1393 |
/* |
| 1394 |
* Disabled |
| 1395 |
* The same for all style modifiers |
| 1396 |
*/ |
| 1397 |
.bdt-button-default:disabled, |
| 1398 |
.bdt-button-primary:disabled, |
| 1399 |
.bdt-button-secondary:disabled, |
| 1400 |
.bdt-button-danger:disabled { |
| 1401 |
background-color: #f8f8f8; |
| 1402 |
color: #999; |
| 1403 |
} |
| 1404 |
/* Size modifiers |
| 1405 |
========================================================================== */ |
| 1406 |
.bdt-button-small { |
| 1407 |
padding: 0 15px; |
| 1408 |
line-height: 30px; |
| 1409 |
font-size: 0.875rem; |
| 1410 |
} |
| 1411 |
.bdt-button-large { |
| 1412 |
padding: 0 40px; |
| 1413 |
line-height: 55px; |
| 1414 |
font-size: 1.25rem; |
| 1415 |
} |
| 1416 |
/* Text modifiers |
| 1417 |
========================================================================== */ |
| 1418 |
/* |
| 1419 |
* Text |
| 1420 |
* 1. Reset |
| 1421 |
* 2. Style |
| 1422 |
*/ |
| 1423 |
.bdt-button-text { |
| 1424 |
/* 1 */ |
| 1425 |
padding: 0; |
| 1426 |
line-height: 1.5; |
| 1427 |
background: none; |
| 1428 |
/* 2 */ |
| 1429 |
color: #333; |
| 1430 |
} |
| 1431 |
/* Hover */ |
| 1432 |
.bdt-button-text:hover { |
| 1433 |
color: #999; |
| 1434 |
} |
| 1435 |
/* Disabled */ |
| 1436 |
.bdt-button-text:disabled { |
| 1437 |
color: #999; |
| 1438 |
} |
| 1439 |
/* |
| 1440 |
* Link |
| 1441 |
* 1. Reset |
| 1442 |
* 2. Style |
| 1443 |
*/ |
| 1444 |
.bdt-button-link { |
| 1445 |
/* 1 */ |
| 1446 |
padding: 0; |
| 1447 |
line-height: 1.5; |
| 1448 |
background: none; |
| 1449 |
/* 2 */ |
| 1450 |
color: #333; |
| 1451 |
} |
| 1452 |
/* Hover */ |
| 1453 |
.bdt-button-link:hover { |
| 1454 |
color: #999; |
| 1455 |
text-decoration: none; |
| 1456 |
} |
| 1457 |
/* Disabled */ |
| 1458 |
.bdt-button-link:disabled { |
| 1459 |
color: #999; |
| 1460 |
text-decoration: none; |
| 1461 |
} |
| 1462 |
/* Group |
| 1463 |
========================================================================== */ |
| 1464 |
/* |
| 1465 |
* 1. Using `flex` instead of `inline-block` to prevent whitespace betweent child elements |
| 1466 |
* 2. Behave like button |
| 1467 |
* 3. Create position context |
| 1468 |
*/ |
| 1469 |
.bdt-button-group { |
| 1470 |
/* 1 */ |
| 1471 |
display: inline-flex; |
| 1472 |
/* 2 */ |
| 1473 |
vertical-align: middle; |
| 1474 |
/* 3 */ |
| 1475 |
position: relative; |
| 1476 |
} |
| 1477 |
/* ======================================================================== |
| 1478 |
Component: Section |
| 1479 |
========================================================================== */ |
| 1480 |
/* |
| 1481 |
* 1. Make it work with `100vh` and height in general |
| 1482 |
*/ |
| 1483 |
.bdt-section { |
| 1484 |
display: flow-root; |
| 1485 |
box-sizing: border-box; |
| 1486 |
/* 1 */ |
| 1487 |
padding-top: 40px; |
| 1488 |
padding-bottom: 40px; |
| 1489 |
} |
| 1490 |
/* Desktop and bigger */ |
| 1491 |
@media (min-width: 960px) { |
| 1492 |
.bdt-section { |
| 1493 |
padding-top: 70px; |
| 1494 |
padding-bottom: 70px; |
| 1495 |
} |
| 1496 |
} |
| 1497 |
/* |
| 1498 |
* Remove margin from the last-child |
| 1499 |
*/ |
| 1500 |
.bdt-section > :last-child { |
| 1501 |
margin-bottom: 0; |
| 1502 |
} |
| 1503 |
/* Size modifiers |
| 1504 |
========================================================================== */ |
| 1505 |
/* |
| 1506 |
* XSmall |
| 1507 |
*/ |
| 1508 |
.bdt-section-xsmall { |
| 1509 |
padding-top: 20px; |
| 1510 |
padding-bottom: 20px; |
| 1511 |
} |
| 1512 |
/* |
| 1513 |
* Small |
| 1514 |
*/ |
| 1515 |
.bdt-section-small { |
| 1516 |
padding-top: 40px; |
| 1517 |
padding-bottom: 40px; |
| 1518 |
} |
| 1519 |
/* |
| 1520 |
* Large |
| 1521 |
*/ |
| 1522 |
.bdt-section-large { |
| 1523 |
padding-top: 70px; |
| 1524 |
padding-bottom: 70px; |
| 1525 |
} |
| 1526 |
/* Tablet landscape and bigger */ |
| 1527 |
@media (min-width: 960px) { |
| 1528 |
.bdt-section-large { |
| 1529 |
padding-top: 140px; |
| 1530 |
padding-bottom: 140px; |
| 1531 |
} |
| 1532 |
} |
| 1533 |
/* |
| 1534 |
* XLarge |
| 1535 |
*/ |
| 1536 |
.bdt-section-xlarge { |
| 1537 |
padding-top: 140px; |
| 1538 |
padding-bottom: 140px; |
| 1539 |
} |
| 1540 |
/* Tablet landscape and bigger */ |
| 1541 |
@media (min-width: 960px) { |
| 1542 |
.bdt-section-xlarge { |
| 1543 |
padding-top: 210px; |
| 1544 |
padding-bottom: 210px; |
| 1545 |
} |
| 1546 |
} |
| 1547 |
/* Style modifiers |
| 1548 |
========================================================================== */ |
| 1549 |
/* |
| 1550 |
* Default |
| 1551 |
*/ |
| 1552 |
.bdt-section-default { |
| 1553 |
background: #fff; |
| 1554 |
} |
| 1555 |
/* |
| 1556 |
* Muted |
| 1557 |
*/ |
| 1558 |
.bdt-section-muted { |
| 1559 |
background: #f8f8f8; |
| 1560 |
} |
| 1561 |
/* |
| 1562 |
* Primary |
| 1563 |
*/ |
| 1564 |
.bdt-section-primary { |
| 1565 |
background: #1e87f0; |
| 1566 |
} |
| 1567 |
/* |
| 1568 |
* Secondary |
| 1569 |
*/ |
| 1570 |
.bdt-section-secondary { |
| 1571 |
background: #222; |
| 1572 |
} |
| 1573 |
/* Overlap modifier |
| 1574 |
========================================================================== */ |
| 1575 |
/* |
| 1576 |
* Reserved modifier to make a section overlap another section with an border image |
| 1577 |
* Implemented by the theme |
| 1578 |
*/ |
| 1579 |
/* ======================================================================== |
| 1580 |
Component: Container |
| 1581 |
========================================================================== */ |
| 1582 |
/* |
| 1583 |
* 1. Box sizing has to be `content-box` so the max-width is always the same and |
| 1584 |
* unaffected by the padding on different breakpoints. It's important for the size modifiers. |
| 1585 |
*/ |
| 1586 |
.bdt-container { |
| 1587 |
display: flow-root; |
| 1588 |
/* 1 */ |
| 1589 |
box-sizing: content-box; |
| 1590 |
max-width: 1200px; |
| 1591 |
margin-left: auto; |
| 1592 |
margin-right: auto; |
| 1593 |
padding-left: 15px; |
| 1594 |
padding-right: 15px; |
| 1595 |
} |
| 1596 |
/* Phone landscape and bigger */ |
| 1597 |
@media (min-width: 640px) { |
| 1598 |
.bdt-container { |
| 1599 |
padding-left: 30px; |
| 1600 |
padding-right: 30px; |
| 1601 |
} |
| 1602 |
} |
| 1603 |
/* Tablet landscape and bigger */ |
| 1604 |
@media (min-width: 960px) { |
| 1605 |
.bdt-container { |
| 1606 |
padding-left: 40px; |
| 1607 |
padding-right: 40px; |
| 1608 |
} |
| 1609 |
} |
| 1610 |
/* |
| 1611 |
* Remove margin from the last-child |
| 1612 |
*/ |
| 1613 |
.bdt-container > :last-child { |
| 1614 |
margin-bottom: 0; |
| 1615 |
} |
| 1616 |
/* |
| 1617 |
* Remove padding from nested containers |
| 1618 |
*/ |
| 1619 |
.bdt-container .bdt-container { |
| 1620 |
padding-left: 0; |
| 1621 |
padding-right: 0; |
| 1622 |
} |
| 1623 |
/* Size modifier |
| 1624 |
========================================================================== */ |
| 1625 |
.bdt-container-xsmall { |
| 1626 |
max-width: 750px; |
| 1627 |
} |
| 1628 |
.bdt-container-small { |
| 1629 |
max-width: 900px; |
| 1630 |
} |
| 1631 |
.bdt-container-large { |
| 1632 |
max-width: 1400px; |
| 1633 |
} |
| 1634 |
.bdt-container-xlarge { |
| 1635 |
max-width: 1600px; |
| 1636 |
} |
| 1637 |
.bdt-container-expand { |
| 1638 |
max-width: none; |
| 1639 |
} |
| 1640 |
/* Expand modifier |
| 1641 |
========================================================================== */ |
| 1642 |
/* |
| 1643 |
* Expand one side only |
| 1644 |
*/ |
| 1645 |
.bdt-container-expand-left { |
| 1646 |
margin-left: 0; |
| 1647 |
} |
| 1648 |
.bdt-container-expand-right { |
| 1649 |
margin-right: 0; |
| 1650 |
} |
| 1651 |
/* Phone landscape and bigger */ |
| 1652 |
@media (min-width: 640px) { |
| 1653 |
.bdt-container-expand-left.bdt-container-xsmall, |
| 1654 |
.bdt-container-expand-right.bdt-container-xsmall { |
| 1655 |
max-width: calc(50% + (750px / 2) - 30px); |
| 1656 |
} |
| 1657 |
.bdt-container-expand-left.bdt-container-small, |
| 1658 |
.bdt-container-expand-right.bdt-container-small { |
| 1659 |
max-width: calc(50% + (900px / 2) - 30px); |
| 1660 |
} |
| 1661 |
} |
| 1662 |
/* Tablet landscape and bigger */ |
| 1663 |
@media (min-width: 960px) { |
| 1664 |
.bdt-container-expand-left, |
| 1665 |
.bdt-container-expand-right { |
| 1666 |
max-width: calc(50% + (1200px / 2) - 40px); |
| 1667 |
} |
| 1668 |
.bdt-container-expand-left.bdt-container-xsmall, |
| 1669 |
.bdt-container-expand-right.bdt-container-xsmall { |
| 1670 |
max-width: calc(50% + (750px / 2) - 40px); |
| 1671 |
} |
| 1672 |
.bdt-container-expand-left.bdt-container-small, |
| 1673 |
.bdt-container-expand-right.bdt-container-small { |
| 1674 |
max-width: calc(50% + (900px / 2) - 40px); |
| 1675 |
} |
| 1676 |
.bdt-container-expand-left.bdt-container-large, |
| 1677 |
.bdt-container-expand-right.bdt-container-large { |
| 1678 |
max-width: calc(50% + (1400px / 2) - 40px); |
| 1679 |
} |
| 1680 |
.bdt-container-expand-left.bdt-container-xlarge, |
| 1681 |
.bdt-container-expand-right.bdt-container-xlarge { |
| 1682 |
max-width: calc(50% + (1600px / 2) - 40px); |
| 1683 |
} |
| 1684 |
} |
| 1685 |
/* Item |
| 1686 |
========================================================================== */ |
| 1687 |
/* |
| 1688 |
* Utility classes to reset container padding on the left or right side |
| 1689 |
* Note: It has to be negative margin on the item, because it's specific to the item. |
| 1690 |
*/ |
| 1691 |
.bdt-container-item-padding-remove-left, |
| 1692 |
.bdt-container-item-padding-remove-right { |
| 1693 |
width: calc(100% + 15px); |
| 1694 |
} |
| 1695 |
.bdt-container-item-padding-remove-left { |
| 1696 |
margin-left: -15px; |
| 1697 |
} |
| 1698 |
.bdt-container-item-padding-remove-right { |
| 1699 |
margin-right: -15px; |
| 1700 |
} |
| 1701 |
/* Phone landscape and bigger */ |
| 1702 |
@media (min-width: 640px) { |
| 1703 |
.bdt-container-item-padding-remove-left, |
| 1704 |
.bdt-container-item-padding-remove-right { |
| 1705 |
width: calc(100% + 30px); |
| 1706 |
} |
| 1707 |
.bdt-container-item-padding-remove-left { |
| 1708 |
margin-left: -30px; |
| 1709 |
} |
| 1710 |
.bdt-container-item-padding-remove-right { |
| 1711 |
margin-right: -30px; |
| 1712 |
} |
| 1713 |
} |
| 1714 |
/* Tablet landscape and bigger */ |
| 1715 |
@media (min-width: 960px) { |
| 1716 |
.bdt-container-item-padding-remove-left, |
| 1717 |
.bdt-container-item-padding-remove-right { |
| 1718 |
width: calc(100% + 40px); |
| 1719 |
} |
| 1720 |
.bdt-container-item-padding-remove-left { |
| 1721 |
margin-left: -40px; |
| 1722 |
} |
| 1723 |
.bdt-container-item-padding-remove-right { |
| 1724 |
margin-right: -40px; |
| 1725 |
} |
| 1726 |
} |
| 1727 |
/* ======================================================================== |
| 1728 |
Component: Grid |
| 1729 |
========================================================================== */ |
| 1730 |
/* |
| 1731 |
* 1. Allow cells to wrap into the next line |
| 1732 |
* 2. Reset list |
| 1733 |
*/ |
| 1734 |
.bdt-grid { |
| 1735 |
display: flex; |
| 1736 |
/* 1 */ |
| 1737 |
flex-wrap: wrap; |
| 1738 |
/* 2 */ |
| 1739 |
margin: 0; |
| 1740 |
padding: 0; |
| 1741 |
list-style: none; |
| 1742 |
} |
| 1743 |
/* |
| 1744 |
* Grid cell |
| 1745 |
* Note: Space is allocated solely based on content dimensions, but shrinks: 0 1 auto |
| 1746 |
* Reset margin for e.g. paragraphs |
| 1747 |
*/ |
| 1748 |
.bdt-grid > * { |
| 1749 |
margin: 0; |
| 1750 |
} |
| 1751 |
/* |
| 1752 |
* Remove margin from the last-child |
| 1753 |
*/ |
| 1754 |
.bdt-grid > * > :last-child { |
| 1755 |
margin-bottom: 0; |
| 1756 |
} |
| 1757 |
/* Gutter |
| 1758 |
========================================================================== */ |
| 1759 |
/* |
| 1760 |
* Default |
| 1761 |
*/ |
| 1762 |
/* Horizontal */ |
| 1763 |
.bdt-grid { |
| 1764 |
margin-left: -30px; |
| 1765 |
} |
| 1766 |
.bdt-grid > * { |
| 1767 |
padding-left: 30px; |
| 1768 |
} |
| 1769 |
/* Vertical */ |
| 1770 |
.bdt-grid + .bdt-grid, |
| 1771 |
.bdt-grid > .bdt-grid-margin, |
| 1772 |
* + .bdt-grid-margin { |
| 1773 |
margin-top: 30px; |
| 1774 |
} |
| 1775 |
/* Desktop and bigger */ |
| 1776 |
@media (min-width: 1200px) { |
| 1777 |
/* Horizontal */ |
| 1778 |
.bdt-grid { |
| 1779 |
margin-left: -40px; |
| 1780 |
} |
| 1781 |
.bdt-grid > * { |
| 1782 |
padding-left: 40px; |
| 1783 |
} |
| 1784 |
/* Vertical */ |
| 1785 |
.bdt-grid + .bdt-grid, |
| 1786 |
.bdt-grid > .bdt-grid-margin, |
| 1787 |
* + .bdt-grid-margin { |
| 1788 |
margin-top: 40px; |
| 1789 |
} |
| 1790 |
} |
| 1791 |
/* |
| 1792 |
* Small |
| 1793 |
*/ |
| 1794 |
/* Horizontal */ |
| 1795 |
.bdt-grid-small, |
| 1796 |
.bdt-grid-column-small { |
| 1797 |
margin-left: -15px; |
| 1798 |
} |
| 1799 |
.bdt-grid-small > *, |
| 1800 |
.bdt-grid-column-small > * { |
| 1801 |
padding-left: 15px; |
| 1802 |
} |
| 1803 |
/* Vertical */ |
| 1804 |
.bdt-grid + .bdt-grid-small, |
| 1805 |
.bdt-grid + .bdt-grid-row-small, |
| 1806 |
.bdt-grid-small > .bdt-grid-margin, |
| 1807 |
.bdt-grid-row-small > .bdt-grid-margin, |
| 1808 |
* + .bdt-grid-margin-small { |
| 1809 |
margin-top: 15px; |
| 1810 |
} |
| 1811 |
/* |
| 1812 |
* Medium |
| 1813 |
*/ |
| 1814 |
/* Horizontal */ |
| 1815 |
.bdt-grid-medium, |
| 1816 |
.bdt-grid-column-medium { |
| 1817 |
margin-left: -30px; |
| 1818 |
} |
| 1819 |
.bdt-grid-medium > *, |
| 1820 |
.bdt-grid-column-medium > * { |
| 1821 |
padding-left: 30px; |
| 1822 |
} |
| 1823 |
/* Vertical */ |
| 1824 |
.bdt-grid + .bdt-grid-medium, |
| 1825 |
.bdt-grid + .bdt-grid-row-medium, |
| 1826 |
.bdt-grid-medium > .bdt-grid-margin, |
| 1827 |
.bdt-grid-row-medium > .bdt-grid-margin, |
| 1828 |
* + .bdt-grid-margin-medium { |
| 1829 |
margin-top: 30px; |
| 1830 |
} |
| 1831 |
/* |
| 1832 |
* Large |
| 1833 |
*/ |
| 1834 |
/* Horizontal */ |
| 1835 |
.bdt-grid-large, |
| 1836 |
.bdt-grid-column-large { |
| 1837 |
margin-left: -40px; |
| 1838 |
} |
| 1839 |
.bdt-grid-large > *, |
| 1840 |
.bdt-grid-column-large > * { |
| 1841 |
padding-left: 40px; |
| 1842 |
} |
| 1843 |
/* Vertical */ |
| 1844 |
.bdt-grid + .bdt-grid-large, |
| 1845 |
.bdt-grid + .bdt-grid-row-large, |
| 1846 |
.bdt-grid-large > .bdt-grid-margin, |
| 1847 |
.bdt-grid-row-large > .bdt-grid-margin, |
| 1848 |
* + .bdt-grid-margin-large { |
| 1849 |
margin-top: 40px; |
| 1850 |
} |
| 1851 |
/* Desktop and bigger */ |
| 1852 |
@media (min-width: 1200px) { |
| 1853 |
/* Horizontal */ |
| 1854 |
.bdt-grid-large, |
| 1855 |
.bdt-grid-column-large { |
| 1856 |
margin-left: -70px; |
| 1857 |
} |
| 1858 |
.bdt-grid-large > *, |
| 1859 |
.bdt-grid-column-large > * { |
| 1860 |
padding-left: 70px; |
| 1861 |
} |
| 1862 |
/* Vertical */ |
| 1863 |
.bdt-grid + .bdt-grid-large, |
| 1864 |
.bdt-grid + .bdt-grid-row-large, |
| 1865 |
.bdt-grid-large > .bdt-grid-margin, |
| 1866 |
.bdt-grid-row-large > .bdt-grid-margin, |
| 1867 |
* + .bdt-grid-margin-large { |
| 1868 |
margin-top: 70px; |
| 1869 |
} |
| 1870 |
} |
| 1871 |
/* |
| 1872 |
* Collapse |
| 1873 |
*/ |
| 1874 |
/* Horizontal */ |
| 1875 |
.bdt-grid-collapse, |
| 1876 |
.bdt-grid-column-collapse { |
| 1877 |
margin-left: 0; |
| 1878 |
} |
| 1879 |
.bdt-grid-collapse > *, |
| 1880 |
.bdt-grid-column-collapse > * { |
| 1881 |
padding-left: 0; |
| 1882 |
} |
| 1883 |
/* Vertical */ |
| 1884 |
.bdt-grid + .bdt-grid-collapse, |
| 1885 |
.bdt-grid + .bdt-grid-row-collapse, |
| 1886 |
.bdt-grid-collapse > .bdt-grid-margin, |
| 1887 |
.bdt-grid-row-collapse > .bdt-grid-margin { |
| 1888 |
margin-top: 0; |
| 1889 |
} |
| 1890 |
/* Divider |
| 1891 |
========================================================================== */ |
| 1892 |
.bdt-grid-divider > * { |
| 1893 |
position: relative; |
| 1894 |
} |
| 1895 |
.bdt-grid-divider > :not(.bdt-first-column)::before { |
| 1896 |
content: ""; |
| 1897 |
position: absolute; |
| 1898 |
top: 0; |
| 1899 |
bottom: 0; |
| 1900 |
border-left: 1px solid rgba(214, 214, 214, 0.49); |
| 1901 |
} |
| 1902 |
/* Vertical */ |
| 1903 |
.bdt-grid-divider.bdt-grid-stack > .bdt-grid-margin::before { |
| 1904 |
content: ""; |
| 1905 |
position: absolute; |
| 1906 |
left: 0; |
| 1907 |
right: 0; |
| 1908 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 1909 |
} |
| 1910 |
/* |
| 1911 |
* Default |
| 1912 |
*/ |
| 1913 |
/* Horizontal */ |
| 1914 |
.bdt-grid-divider { |
| 1915 |
margin-left: -60px; |
| 1916 |
} |
| 1917 |
.bdt-grid-divider > * { |
| 1918 |
padding-left: 60px; |
| 1919 |
} |
| 1920 |
.bdt-grid-divider > :not(.bdt-first-column)::before { |
| 1921 |
left: 30px; |
| 1922 |
} |
| 1923 |
/* Vertical */ |
| 1924 |
.bdt-grid-divider.bdt-grid-stack > .bdt-grid-margin { |
| 1925 |
margin-top: 60px; |
| 1926 |
} |
| 1927 |
.bdt-grid-divider.bdt-grid-stack > .bdt-grid-margin::before { |
| 1928 |
top: -30px; |
| 1929 |
left: 60px; |
| 1930 |
} |
| 1931 |
/* Desktop and bigger */ |
| 1932 |
@media (min-width: 1200px) { |
| 1933 |
/* Horizontal */ |
| 1934 |
.bdt-grid-divider { |
| 1935 |
margin-left: -80px; |
| 1936 |
} |
| 1937 |
.bdt-grid-divider > * { |
| 1938 |
padding-left: 80px; |
| 1939 |
} |
| 1940 |
.bdt-grid-divider > :not(.bdt-first-column)::before { |
| 1941 |
left: 40px; |
| 1942 |
} |
| 1943 |
/* Vertical */ |
| 1944 |
.bdt-grid-divider.bdt-grid-stack > .bdt-grid-margin { |
| 1945 |
margin-top: 80px; |
| 1946 |
} |
| 1947 |
.bdt-grid-divider.bdt-grid-stack > .bdt-grid-margin::before { |
| 1948 |
top: -40px; |
| 1949 |
left: 80px; |
| 1950 |
} |
| 1951 |
} |
| 1952 |
/* |
| 1953 |
* Small |
| 1954 |
*/ |
| 1955 |
/* Horizontal */ |
| 1956 |
.bdt-grid-divider.bdt-grid-small, |
| 1957 |
.bdt-grid-divider.bdt-grid-column-small { |
| 1958 |
margin-left: -30px; |
| 1959 |
} |
| 1960 |
.bdt-grid-divider.bdt-grid-small > *, |
| 1961 |
.bdt-grid-divider.bdt-grid-column-small > * { |
| 1962 |
padding-left: 30px; |
| 1963 |
} |
| 1964 |
.bdt-grid-divider.bdt-grid-small > :not(.bdt-first-column)::before, |
| 1965 |
.bdt-grid-divider.bdt-grid-column-small > :not(.bdt-first-column)::before { |
| 1966 |
left: 15px; |
| 1967 |
} |
| 1968 |
/* Vertical */ |
| 1969 |
.bdt-grid-divider.bdt-grid-small.bdt-grid-stack > .bdt-grid-margin, |
| 1970 |
.bdt-grid-divider.bdt-grid-row-small.bdt-grid-stack > .bdt-grid-margin { |
| 1971 |
margin-top: 30px; |
| 1972 |
} |
| 1973 |
.bdt-grid-divider.bdt-grid-small.bdt-grid-stack > .bdt-grid-margin::before { |
| 1974 |
top: -15px; |
| 1975 |
left: 30px; |
| 1976 |
} |
| 1977 |
.bdt-grid-divider.bdt-grid-row-small.bdt-grid-stack > .bdt-grid-margin::before { |
| 1978 |
top: -15px; |
| 1979 |
} |
| 1980 |
.bdt-grid-divider.bdt-grid-column-small.bdt-grid-stack > .bdt-grid-margin::before { |
| 1981 |
left: 30px; |
| 1982 |
} |
| 1983 |
/* |
| 1984 |
* Medium |
| 1985 |
*/ |
| 1986 |
/* Horizontal */ |
| 1987 |
.bdt-grid-divider.bdt-grid-medium, |
| 1988 |
.bdt-grid-divider.bdt-grid-column-medium { |
| 1989 |
margin-left: -60px; |
| 1990 |
} |
| 1991 |
.bdt-grid-divider.bdt-grid-medium > *, |
| 1992 |
.bdt-grid-divider.bdt-grid-column-medium > * { |
| 1993 |
padding-left: 60px; |
| 1994 |
} |
| 1995 |
.bdt-grid-divider.bdt-grid-medium > :not(.bdt-first-column)::before, |
| 1996 |
.bdt-grid-divider.bdt-grid-column-medium > :not(.bdt-first-column)::before { |
| 1997 |
left: 30px; |
| 1998 |
} |
| 1999 |
/* Vertical */ |
| 2000 |
.bdt-grid-divider.bdt-grid-medium.bdt-grid-stack > .bdt-grid-margin, |
| 2001 |
.bdt-grid-divider.bdt-grid-row-medium.bdt-grid-stack > .bdt-grid-margin { |
| 2002 |
margin-top: 60px; |
| 2003 |
} |
| 2004 |
.bdt-grid-divider.bdt-grid-medium.bdt-grid-stack > .bdt-grid-margin::before { |
| 2005 |
top: -30px; |
| 2006 |
left: 60px; |
| 2007 |
} |
| 2008 |
.bdt-grid-divider.bdt-grid-row-medium.bdt-grid-stack > .bdt-grid-margin::before { |
| 2009 |
top: -30px; |
| 2010 |
} |
| 2011 |
.bdt-grid-divider.bdt-grid-column-medium.bdt-grid-stack > .bdt-grid-margin::before { |
| 2012 |
left: 60px; |
| 2013 |
} |
| 2014 |
/* |
| 2015 |
* Large |
| 2016 |
*/ |
| 2017 |
/* Horizontal */ |
| 2018 |
.bdt-grid-divider.bdt-grid-large, |
| 2019 |
.bdt-grid-divider.bdt-grid-column-large { |
| 2020 |
margin-left: -80px; |
| 2021 |
} |
| 2022 |
.bdt-grid-divider.bdt-grid-large > *, |
| 2023 |
.bdt-grid-divider.bdt-grid-column-large > * { |
| 2024 |
padding-left: 80px; |
| 2025 |
} |
| 2026 |
.bdt-grid-divider.bdt-grid-large > :not(.bdt-first-column)::before, |
| 2027 |
.bdt-grid-divider.bdt-grid-column-large > :not(.bdt-first-column)::before { |
| 2028 |
left: 40px; |
| 2029 |
} |
| 2030 |
/* Vertical */ |
| 2031 |
.bdt-grid-divider.bdt-grid-large.bdt-grid-stack > .bdt-grid-margin, |
| 2032 |
.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack > .bdt-grid-margin { |
| 2033 |
margin-top: 80px; |
| 2034 |
} |
| 2035 |
.bdt-grid-divider.bdt-grid-large.bdt-grid-stack > .bdt-grid-margin::before { |
| 2036 |
top: -40px; |
| 2037 |
left: 80px; |
| 2038 |
} |
| 2039 |
.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack > .bdt-grid-margin::before { |
| 2040 |
top: -40px; |
| 2041 |
} |
| 2042 |
.bdt-grid-divider.bdt-grid-column-large.bdt-grid-stack > .bdt-grid-margin::before { |
| 2043 |
left: 80px; |
| 2044 |
} |
| 2045 |
/* Desktop and bigger */ |
| 2046 |
@media (min-width: 1200px) { |
| 2047 |
/* Horizontal */ |
| 2048 |
.bdt-grid-divider.bdt-grid-large, |
| 2049 |
.bdt-grid-divider.bdt-grid-column-large { |
| 2050 |
margin-left: -140px; |
| 2051 |
} |
| 2052 |
.bdt-grid-divider.bdt-grid-large > *, |
| 2053 |
.bdt-grid-divider.bdt-grid-column-large > * { |
| 2054 |
padding-left: 140px; |
| 2055 |
} |
| 2056 |
.bdt-grid-divider.bdt-grid-large > :not(.bdt-first-column)::before, |
| 2057 |
.bdt-grid-divider.bdt-grid-column-large > :not(.bdt-first-column)::before { |
| 2058 |
left: 70px; |
| 2059 |
} |
| 2060 |
/* Vertical */ |
| 2061 |
.bdt-grid-divider.bdt-grid-large.bdt-grid-stack > .bdt-grid-margin, |
| 2062 |
.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack > .bdt-grid-margin { |
| 2063 |
margin-top: 140px; |
| 2064 |
} |
| 2065 |
.bdt-grid-divider.bdt-grid-large.bdt-grid-stack > .bdt-grid-margin::before { |
| 2066 |
top: -70px; |
| 2067 |
left: 140px; |
| 2068 |
} |
| 2069 |
.bdt-grid-divider.bdt-grid-row-large.bdt-grid-stack > .bdt-grid-margin::before { |
| 2070 |
top: -70px; |
| 2071 |
} |
| 2072 |
.bdt-grid-divider.bdt-grid-column-large.bdt-grid-stack > .bdt-grid-margin::before { |
| 2073 |
left: 140px; |
| 2074 |
} |
| 2075 |
} |
| 2076 |
/* Match child of a grid cell |
| 2077 |
========================================================================== */ |
| 2078 |
/* |
| 2079 |
* Behave like a block element |
| 2080 |
* 1. Wrap into the next line |
| 2081 |
* 2. Take the full width, at least 100%. Only if no class from the Width component is set. |
| 2082 |
* 3. Expand width even if larger than 100%, e.g. because of negative margin (Needed for nested grids) |
| 2083 |
*/ |
| 2084 |
.bdt-grid-match > *, |
| 2085 |
.bdt-grid-item-match { |
| 2086 |
display: flex; |
| 2087 |
/* 1 */ |
| 2088 |
flex-wrap: wrap; |
| 2089 |
} |
| 2090 |
.bdt-grid-match > * > :not([class*='bdt-width']), |
| 2091 |
.bdt-grid-item-match > :not([class*='bdt-width']) { |
| 2092 |
/* 2 */ |
| 2093 |
box-sizing: border-box; |
| 2094 |
width: 100%; |
| 2095 |
/* 3 */ |
| 2096 |
flex: auto; |
| 2097 |
} |
| 2098 |
/* ======================================================================== |
| 2099 |
Component: Tile |
| 2100 |
========================================================================== */ |
| 2101 |
.bdt-tile { |
| 2102 |
display: flow-root; |
| 2103 |
position: relative; |
| 2104 |
box-sizing: border-box; |
| 2105 |
padding-left: 15px; |
| 2106 |
padding-right: 15px; |
| 2107 |
padding-top: 40px; |
| 2108 |
padding-bottom: 40px; |
| 2109 |
} |
| 2110 |
/* Phone landscape and bigger */ |
| 2111 |
@media (min-width: 640px) { |
| 2112 |
.bdt-tile { |
| 2113 |
padding-left: 30px; |
| 2114 |
padding-right: 30px; |
| 2115 |
} |
| 2116 |
} |
| 2117 |
/* Tablet landscape and bigger */ |
| 2118 |
@media (min-width: 960px) { |
| 2119 |
.bdt-tile { |
| 2120 |
padding-left: 40px; |
| 2121 |
padding-right: 40px; |
| 2122 |
padding-top: 70px; |
| 2123 |
padding-bottom: 70px; |
| 2124 |
} |
| 2125 |
} |
| 2126 |
/* |
| 2127 |
* Remove margin from the last-child |
| 2128 |
*/ |
| 2129 |
.bdt-tile > :last-child { |
| 2130 |
margin-bottom: 0; |
| 2131 |
} |
| 2132 |
/* Size modifiers |
| 2133 |
========================================================================== */ |
| 2134 |
/* |
| 2135 |
* XSmall |
| 2136 |
*/ |
| 2137 |
.bdt-tile-xsmall { |
| 2138 |
padding-top: 20px; |
| 2139 |
padding-bottom: 20px; |
| 2140 |
} |
| 2141 |
/* |
| 2142 |
* Small |
| 2143 |
*/ |
| 2144 |
.bdt-tile-small { |
| 2145 |
padding-top: 40px; |
| 2146 |
padding-bottom: 40px; |
| 2147 |
} |
| 2148 |
/* |
| 2149 |
* Large |
| 2150 |
*/ |
| 2151 |
.bdt-tile-large { |
| 2152 |
padding-top: 70px; |
| 2153 |
padding-bottom: 70px; |
| 2154 |
} |
| 2155 |
/* Tablet landscape and bigger */ |
| 2156 |
@media (min-width: 960px) { |
| 2157 |
.bdt-tile-large { |
| 2158 |
padding-top: 140px; |
| 2159 |
padding-bottom: 140px; |
| 2160 |
} |
| 2161 |
} |
| 2162 |
/* |
| 2163 |
* XLarge |
| 2164 |
*/ |
| 2165 |
.bdt-tile-xlarge { |
| 2166 |
padding-top: 140px; |
| 2167 |
padding-bottom: 140px; |
| 2168 |
} |
| 2169 |
/* Tablet landscape and bigger */ |
| 2170 |
@media (min-width: 960px) { |
| 2171 |
.bdt-tile-xlarge { |
| 2172 |
padding-top: 210px; |
| 2173 |
padding-bottom: 210px; |
| 2174 |
} |
| 2175 |
} |
| 2176 |
/* Style modifiers |
| 2177 |
========================================================================== */ |
| 2178 |
/* |
| 2179 |
* Default |
| 2180 |
*/ |
| 2181 |
.bdt-tile-default { |
| 2182 |
background-color: #fff; |
| 2183 |
} |
| 2184 |
/* |
| 2185 |
* Muted |
| 2186 |
*/ |
| 2187 |
.bdt-tile-muted { |
| 2188 |
background-color: #f8f8f8; |
| 2189 |
} |
| 2190 |
/* |
| 2191 |
* Primary |
| 2192 |
*/ |
| 2193 |
.bdt-tile-primary { |
| 2194 |
background-color: #1e87f0; |
| 2195 |
} |
| 2196 |
/* |
| 2197 |
* Secondary |
| 2198 |
*/ |
| 2199 |
.bdt-tile-secondary { |
| 2200 |
background-color: #222; |
| 2201 |
} |
| 2202 |
/* ======================================================================== |
| 2203 |
Component: Card |
| 2204 |
========================================================================== */ |
| 2205 |
.bdt-card { |
| 2206 |
position: relative; |
| 2207 |
box-sizing: border-box; |
| 2208 |
} |
| 2209 |
/* Sections |
| 2210 |
========================================================================== */ |
| 2211 |
.bdt-card-body { |
| 2212 |
display: flow-root; |
| 2213 |
padding: 30px 30px; |
| 2214 |
} |
| 2215 |
.bdt-card-header { |
| 2216 |
display: flow-root; |
| 2217 |
padding: 15px 30px; |
| 2218 |
} |
| 2219 |
.bdt-card-footer { |
| 2220 |
display: flow-root; |
| 2221 |
padding: 15px 30px; |
| 2222 |
} |
| 2223 |
/* Desktop and bigger */ |
| 2224 |
@media (min-width: 1200px) { |
| 2225 |
.bdt-card-body { |
| 2226 |
padding: 40px 40px; |
| 2227 |
} |
| 2228 |
.bdt-card-header { |
| 2229 |
padding: 20px 40px; |
| 2230 |
} |
| 2231 |
.bdt-card-footer { |
| 2232 |
padding: 20px 40px; |
| 2233 |
} |
| 2234 |
} |
| 2235 |
/* |
| 2236 |
* Remove margin from the last-child |
| 2237 |
*/ |
| 2238 |
.bdt-card-body > :last-child, |
| 2239 |
.bdt-card-header > :last-child, |
| 2240 |
.bdt-card-footer > :last-child { |
| 2241 |
margin-bottom: 0; |
| 2242 |
} |
| 2243 |
/* Media |
| 2244 |
========================================================================== */ |
| 2245 |
/* |
| 2246 |
* Reserved alignment modifier to style the media element, e.g. with `border-radius` |
| 2247 |
* Implemented by the theme |
| 2248 |
*/ |
| 2249 |
/* Title |
| 2250 |
========================================================================== */ |
| 2251 |
.bdt-card-title { |
| 2252 |
font-size: 1.5rem; |
| 2253 |
line-height: 1.4; |
| 2254 |
} |
| 2255 |
/* Badge |
| 2256 |
========================================================================== */ |
| 2257 |
/* |
| 2258 |
* 1. Position |
| 2259 |
* 2. Size |
| 2260 |
* 3. Style |
| 2261 |
* 4. Center child vertically |
| 2262 |
*/ |
| 2263 |
.bdt-card-badge { |
| 2264 |
/* 1 */ |
| 2265 |
position: absolute; |
| 2266 |
top: 15px; |
| 2267 |
right: 15px; |
| 2268 |
z-index: 1; |
| 2269 |
/* 2 */ |
| 2270 |
height: 22px; |
| 2271 |
padding: 0 10px; |
| 2272 |
/* 3 */ |
| 2273 |
background: #1e87f0; |
| 2274 |
color: #fff; |
| 2275 |
font-size: 0.875rem; |
| 2276 |
/* 4 */ |
| 2277 |
display: flex; |
| 2278 |
justify-content: center; |
| 2279 |
align-items: center; |
| 2280 |
line-height: 0; |
| 2281 |
} |
| 2282 |
/* |
| 2283 |
* Remove margin from adjacent element |
| 2284 |
*/ |
| 2285 |
.bdt-card-badge:first-child + * { |
| 2286 |
margin-top: 0; |
| 2287 |
} |
| 2288 |
/* Hover modifier |
| 2289 |
========================================================================== */ |
| 2290 |
.bdt-card-hover:not(.bdt-card-default):not(.bdt-card-primary):not(.bdt-card-secondary):hover { |
| 2291 |
background-color: #f8f8f8; |
| 2292 |
} |
| 2293 |
/* Style modifiers |
| 2294 |
========================================================================== */ |
| 2295 |
/* |
| 2296 |
* Default |
| 2297 |
* Note: Header and Footer are only implemented for the default style |
| 2298 |
*/ |
| 2299 |
.bdt-card-default { |
| 2300 |
background-color: #f8f8f8; |
| 2301 |
color: #666; |
| 2302 |
} |
| 2303 |
.bdt-card-default .bdt-card-title { |
| 2304 |
color: #333; |
| 2305 |
} |
| 2306 |
.bdt-card-default.bdt-card-hover:hover { |
| 2307 |
background-color: #ebebeb; |
| 2308 |
} |
| 2309 |
/* |
| 2310 |
* Primary |
| 2311 |
*/ |
| 2312 |
.bdt-card-primary { |
| 2313 |
background-color: #1e87f0; |
| 2314 |
color: #fff; |
| 2315 |
} |
| 2316 |
.bdt-card-primary .bdt-card-title { |
| 2317 |
color: #fff; |
| 2318 |
} |
| 2319 |
.bdt-card-primary.bdt-card-hover:hover { |
| 2320 |
background-color: #0f7ae5; |
| 2321 |
} |
| 2322 |
/* |
| 2323 |
* Secondary |
| 2324 |
*/ |
| 2325 |
.bdt-card-secondary { |
| 2326 |
background-color: #222; |
| 2327 |
color: #fff; |
| 2328 |
} |
| 2329 |
.bdt-card-secondary .bdt-card-title { |
| 2330 |
color: #fff; |
| 2331 |
} |
| 2332 |
.bdt-card-secondary.bdt-card-hover:hover { |
| 2333 |
background-color: #151515; |
| 2334 |
} |
| 2335 |
/* Size modifier |
| 2336 |
========================================================================== */ |
| 2337 |
/* |
| 2338 |
* Small |
| 2339 |
*/ |
| 2340 |
.bdt-card-small.bdt-card-body, |
| 2341 |
.bdt-card-small .bdt-card-body { |
| 2342 |
padding: 20px 20px; |
| 2343 |
} |
| 2344 |
.bdt-card-small .bdt-card-header { |
| 2345 |
padding: 13px 20px; |
| 2346 |
} |
| 2347 |
.bdt-card-small .bdt-card-footer { |
| 2348 |
padding: 13px 20px; |
| 2349 |
} |
| 2350 |
/* |
| 2351 |
* Large |
| 2352 |
*/ |
| 2353 |
/* Desktop and bigger */ |
| 2354 |
@media (min-width: 1200px) { |
| 2355 |
.bdt-card-large.bdt-card-body, |
| 2356 |
.bdt-card-large .bdt-card-body { |
| 2357 |
padding: 70px 70px; |
| 2358 |
} |
| 2359 |
.bdt-card-large .bdt-card-header { |
| 2360 |
padding: 35px 70px; |
| 2361 |
} |
| 2362 |
.bdt-card-large .bdt-card-footer { |
| 2363 |
padding: 35px 70px; |
| 2364 |
} |
| 2365 |
} |
| 2366 |
/* ======================================================================== |
| 2367 |
Component: Close |
| 2368 |
========================================================================== */ |
| 2369 |
/* |
| 2370 |
* Adopts `bdt-icon` |
| 2371 |
*/ |
| 2372 |
.bdt-close { |
| 2373 |
color: #999; |
| 2374 |
} |
| 2375 |
/* Hover */ |
| 2376 |
.bdt-close:hover { |
| 2377 |
color: #666; |
| 2378 |
} |
| 2379 |
/* ======================================================================== |
| 2380 |
Component: Spinner |
| 2381 |
========================================================================== */ |
| 2382 |
/* |
| 2383 |
* Adopts `bdt-icon` |
| 2384 |
*/ |
| 2385 |
/* SVG |
| 2386 |
========================================================================== */ |
| 2387 |
.bdt-spinner > * { |
| 2388 |
animation: bdt-spinner-rotate 1.4s linear infinite; |
| 2389 |
} |
| 2390 |
@keyframes bdt-spinner-rotate { |
| 2391 |
0% { |
| 2392 |
transform: rotate(0deg); |
| 2393 |
} |
| 2394 |
100% { |
| 2395 |
transform: rotate(270deg); |
| 2396 |
} |
| 2397 |
} |
| 2398 |
/* |
| 2399 |
* Circle |
| 2400 |
*/ |
| 2401 |
.bdt-spinner > * > * { |
| 2402 |
stroke-dasharray: 88px; |
| 2403 |
stroke-dashoffset: 0; |
| 2404 |
transform-origin: center; |
| 2405 |
animation: bdt-spinner-dash 1.4s ease-in-out infinite; |
| 2406 |
stroke-width: 1; |
| 2407 |
stroke-linecap: round; |
| 2408 |
} |
| 2409 |
@keyframes bdt-spinner-dash { |
| 2410 |
0% { |
| 2411 |
stroke-dashoffset: 88px; |
| 2412 |
} |
| 2413 |
50% { |
| 2414 |
stroke-dashoffset: 22px; |
| 2415 |
transform: rotate(135deg); |
| 2416 |
} |
| 2417 |
100% { |
| 2418 |
stroke-dashoffset: 88px; |
| 2419 |
transform: rotate(450deg); |
| 2420 |
} |
| 2421 |
} |
| 2422 |
/* ======================================================================== |
| 2423 |
Component: Totop |
| 2424 |
========================================================================== */ |
| 2425 |
/* |
| 2426 |
* Addopts `bdt-icon` |
| 2427 |
*/ |
| 2428 |
.bdt-totop { |
| 2429 |
padding: 5px; |
| 2430 |
color: #999; |
| 2431 |
} |
| 2432 |
/* Hover */ |
| 2433 |
.bdt-totop:hover { |
| 2434 |
color: #666; |
| 2435 |
} |
| 2436 |
/* OnClick */ |
| 2437 |
.bdt-totop:active { |
| 2438 |
color: #333; |
| 2439 |
} |
| 2440 |
/* ======================================================================== |
| 2441 |
Component: Marker |
| 2442 |
========================================================================== */ |
| 2443 |
/* |
| 2444 |
* Addopts `bdt-icon` |
| 2445 |
*/ |
| 2446 |
.bdt-marker { |
| 2447 |
padding: 5px; |
| 2448 |
background: #222; |
| 2449 |
color: #fff; |
| 2450 |
} |
| 2451 |
/* Hover */ |
| 2452 |
.bdt-marker:hover { |
| 2453 |
color: #fff; |
| 2454 |
} |
| 2455 |
/* ======================================================================== |
| 2456 |
Component: Alert |
| 2457 |
========================================================================== */ |
| 2458 |
.bdt-alert { |
| 2459 |
position: relative; |
| 2460 |
margin-bottom: 20px; |
| 2461 |
padding: 15px 29px 15px 15px; |
| 2462 |
background: #f8f8f8; |
| 2463 |
color: #666; |
| 2464 |
} |
| 2465 |
/* Add margin if adjacent element */ |
| 2466 |
* + .bdt-alert { |
| 2467 |
margin-top: 20px; |
| 2468 |
} |
| 2469 |
/* |
| 2470 |
* Remove margin from the last-child |
| 2471 |
*/ |
| 2472 |
.bdt-alert > :last-child { |
| 2473 |
margin-bottom: 0; |
| 2474 |
} |
| 2475 |
/* Close |
| 2476 |
* Adopts `bdt-close` |
| 2477 |
========================================================================== */ |
| 2478 |
.bdt-alert-close { |
| 2479 |
position: absolute; |
| 2480 |
top: 20px; |
| 2481 |
right: 15px; |
| 2482 |
} |
| 2483 |
/* |
| 2484 |
* Remove margin from adjacent element |
| 2485 |
*/ |
| 2486 |
.bdt-alert-close:first-child + * { |
| 2487 |
margin-top: 0; |
| 2488 |
} |
| 2489 |
/* |
| 2490 |
* Hover |
| 2491 |
*/ |
| 2492 |
/* Style modifiers |
| 2493 |
========================================================================== */ |
| 2494 |
/* |
| 2495 |
* Primary |
| 2496 |
*/ |
| 2497 |
.bdt-alert-primary { |
| 2498 |
background: #d8eafc; |
| 2499 |
color: #1e87f0; |
| 2500 |
} |
| 2501 |
/* |
| 2502 |
* Success |
| 2503 |
*/ |
| 2504 |
.bdt-alert-success { |
| 2505 |
background: #edfbf6; |
| 2506 |
color: #32d296; |
| 2507 |
} |
| 2508 |
/* |
| 2509 |
* Warning |
| 2510 |
*/ |
| 2511 |
.bdt-alert-warning { |
| 2512 |
background: #fff6ee; |
| 2513 |
color: #faa05a; |
| 2514 |
} |
| 2515 |
/* |
| 2516 |
* Danger |
| 2517 |
*/ |
| 2518 |
.bdt-alert-danger { |
| 2519 |
background: #fef4f6; |
| 2520 |
color: #f0506e; |
| 2521 |
} |
| 2522 |
/* ======================================================================== |
| 2523 |
Component: Badge |
| 2524 |
========================================================================== */ |
| 2525 |
/* |
| 2526 |
* 1. Style |
| 2527 |
* 2. Center child vertically and horizontally |
| 2528 |
*/ |
| 2529 |
.bdt-badge { |
| 2530 |
box-sizing: border-box; |
| 2531 |
min-width: 18px; |
| 2532 |
height: 18px; |
| 2533 |
padding: 0 5px; |
| 2534 |
border-radius: 500px; |
| 2535 |
vertical-align: middle; |
| 2536 |
/* 1 */ |
| 2537 |
background: #1e87f0; |
| 2538 |
color: #fff; |
| 2539 |
font-size: 11px; |
| 2540 |
/* 2 */ |
| 2541 |
display: inline-flex; |
| 2542 |
justify-content: center; |
| 2543 |
align-items: center; |
| 2544 |
line-height: 0; |
| 2545 |
} |
| 2546 |
/* |
| 2547 |
* Required for `a` |
| 2548 |
*/ |
| 2549 |
.bdt-badge:hover { |
| 2550 |
text-decoration: none; |
| 2551 |
} |
| 2552 |
/* ======================================================================== |
| 2553 |
Component: Label |
| 2554 |
========================================================================== */ |
| 2555 |
.bdt-label { |
| 2556 |
display: inline-block; |
| 2557 |
padding: 0 10px; |
| 2558 |
background: #1e87f0; |
| 2559 |
line-height: 1.5; |
| 2560 |
font-size: 0.875rem; |
| 2561 |
color: #fff; |
| 2562 |
vertical-align: middle; |
| 2563 |
white-space: nowrap; |
| 2564 |
} |
| 2565 |
/* Color modifiers |
| 2566 |
========================================================================== */ |
| 2567 |
/* |
| 2568 |
* Success |
| 2569 |
*/ |
| 2570 |
.bdt-label-success { |
| 2571 |
background-color: #32d296; |
| 2572 |
color: #fff; |
| 2573 |
} |
| 2574 |
/* |
| 2575 |
* Warning |
| 2576 |
*/ |
| 2577 |
.bdt-label-warning { |
| 2578 |
background-color: #faa05a; |
| 2579 |
color: #fff; |
| 2580 |
} |
| 2581 |
/* |
| 2582 |
* Danger |
| 2583 |
*/ |
| 2584 |
.bdt-label-danger { |
| 2585 |
background-color: #f0506e; |
| 2586 |
color: #fff; |
| 2587 |
} |
| 2588 |
/* ======================================================================== |
| 2589 |
Component: Overlay |
| 2590 |
========================================================================== */ |
| 2591 |
.bdt-overlay { |
| 2592 |
padding: 30px 30px; |
| 2593 |
} |
| 2594 |
/* |
| 2595 |
* Remove margin from the last-child |
| 2596 |
*/ |
| 2597 |
.bdt-overlay > :last-child { |
| 2598 |
margin-bottom: 0; |
| 2599 |
} |
| 2600 |
/* Icon |
| 2601 |
========================================================================== */ |
| 2602 |
/* Style modifiers |
| 2603 |
========================================================================== */ |
| 2604 |
/* |
| 2605 |
* Default |
| 2606 |
*/ |
| 2607 |
.bdt-overlay-default { |
| 2608 |
background: rgba(0, 0, 0, 0.5); |
| 2609 |
} |
| 2610 |
/* |
| 2611 |
* Primary |
| 2612 |
*/ |
| 2613 |
.bdt-overlay-primary { |
| 2614 |
background: rgba(34, 34, 34, 0.8); |
| 2615 |
} |
| 2616 |
/* ======================================================================== |
| 2617 |
Component: Article |
| 2618 |
========================================================================== */ |
| 2619 |
.bdt-article { |
| 2620 |
display: flow-root; |
| 2621 |
} |
| 2622 |
/* |
| 2623 |
* Remove margin from the last-child |
| 2624 |
*/ |
| 2625 |
.bdt-article > :last-child { |
| 2626 |
margin-bottom: 0; |
| 2627 |
} |
| 2628 |
/* Adjacent sibling |
| 2629 |
========================================================================== */ |
| 2630 |
.bdt-article + .bdt-article { |
| 2631 |
margin-top: 70px; |
| 2632 |
} |
| 2633 |
/* Title |
| 2634 |
========================================================================== */ |
| 2635 |
.bdt-article-title { |
| 2636 |
font-size: 2.23125rem; |
| 2637 |
line-height: 1.2; |
| 2638 |
} |
| 2639 |
/* Tablet landscape and bigger */ |
| 2640 |
@media (min-width: 960px) { |
| 2641 |
.bdt-article-title { |
| 2642 |
font-size: 2.625rem; |
| 2643 |
} |
| 2644 |
} |
| 2645 |
/* Meta |
| 2646 |
========================================================================== */ |
| 2647 |
.bdt-article-meta { |
| 2648 |
font-size: 0.875rem; |
| 2649 |
line-height: 1.4; |
| 2650 |
color: #999; |
| 2651 |
} |
| 2652 |
/* ======================================================================== |
| 2653 |
Component: Comment |
| 2654 |
========================================================================== */ |
| 2655 |
/* Sections |
| 2656 |
========================================================================== */ |
| 2657 |
.bdt-comment-body { |
| 2658 |
display: flow-root; |
| 2659 |
overflow-wrap: break-word; |
| 2660 |
word-wrap: break-word; |
| 2661 |
} |
| 2662 |
.bdt-comment-header { |
| 2663 |
display: flow-root; |
| 2664 |
margin-bottom: 20px; |
| 2665 |
} |
| 2666 |
/* |
| 2667 |
* Remove margin from the last-child |
| 2668 |
*/ |
| 2669 |
.bdt-comment-body > :last-child, |
| 2670 |
.bdt-comment-header > :last-child { |
| 2671 |
margin-bottom: 0; |
| 2672 |
} |
| 2673 |
/* Title |
| 2674 |
========================================================================== */ |
| 2675 |
.bdt-comment-title { |
| 2676 |
font-size: 1.25rem; |
| 2677 |
line-height: 1.4; |
| 2678 |
} |
| 2679 |
/* Meta |
| 2680 |
========================================================================== */ |
| 2681 |
.bdt-comment-meta { |
| 2682 |
font-size: 0.875rem; |
| 2683 |
line-height: 1.4; |
| 2684 |
color: #999; |
| 2685 |
} |
| 2686 |
/* Avatar |
| 2687 |
========================================================================== */ |
| 2688 |
/* List |
| 2689 |
========================================================================== */ |
| 2690 |
.bdt-comment-list { |
| 2691 |
padding: 0; |
| 2692 |
list-style: none; |
| 2693 |
} |
| 2694 |
/* Adjacent siblings */ |
| 2695 |
.bdt-comment-list > :nth-child(n+2) { |
| 2696 |
margin-top: 70px; |
| 2697 |
} |
| 2698 |
/* |
| 2699 |
* Sublists |
| 2700 |
* Note: General sibling selector allows reply block between comment and sublist |
| 2701 |
*/ |
| 2702 |
.bdt-comment-list .bdt-comment ~ ul { |
| 2703 |
margin: 70px 0 0 0; |
| 2704 |
padding-left: 30px; |
| 2705 |
list-style: none; |
| 2706 |
} |
| 2707 |
/* Tablet and bigger */ |
| 2708 |
@media (min-width: 960px) { |
| 2709 |
.bdt-comment-list .bdt-comment ~ ul { |
| 2710 |
padding-left: 100px; |
| 2711 |
} |
| 2712 |
} |
| 2713 |
/* Adjacent siblings */ |
| 2714 |
.bdt-comment-list .bdt-comment ~ ul > :nth-child(n+2) { |
| 2715 |
margin-top: 70px; |
| 2716 |
} |
| 2717 |
/* Style modifier |
| 2718 |
========================================================================== */ |
| 2719 |
/* ======================================================================== |
| 2720 |
Component: Search |
| 2721 |
========================================================================== */ |
| 2722 |
/* |
| 2723 |
* 1. Container fits its content |
| 2724 |
* 2. Create position context |
| 2725 |
* 3. Prevent content overflow |
| 2726 |
* 4. Reset `form` |
| 2727 |
*/ |
| 2728 |
.bdt-search { |
| 2729 |
/* 1 */ |
| 2730 |
display: inline-block; |
| 2731 |
/* 2 */ |
| 2732 |
position: relative; |
| 2733 |
/* 3 */ |
| 2734 |
max-width: 100%; |
| 2735 |
/* 4 */ |
| 2736 |
margin: 0; |
| 2737 |
} |
| 2738 |
/* Input |
| 2739 |
========================================================================== */ |
| 2740 |
/* |
| 2741 |
* Remove the inner padding and cancel buttons in Chrome on OS X and Safari on OS X. |
| 2742 |
*/ |
| 2743 |
.bdt-search-input::-webkit-search-cancel-button, |
| 2744 |
.bdt-search-input::-webkit-search-decoration { |
| 2745 |
-webkit-appearance: none; |
| 2746 |
} |
| 2747 |
/* |
| 2748 |
* Removes placeholder transparency in Firefox. |
| 2749 |
*/ |
| 2750 |
.bdt-search-input::-moz-placeholder { |
| 2751 |
opacity: 1; |
| 2752 |
} |
| 2753 |
/* |
| 2754 |
* 1. Define consistent box sizing. |
| 2755 |
* 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. |
| 2756 |
* 3. Remove `border-radius` in iOS. |
| 2757 |
* 4. Change font properties to `inherit` in all browsers |
| 2758 |
* 5. Show the overflow in Edge. |
| 2759 |
* 6. Remove default style in iOS. |
| 2760 |
* 7. Vertical alignment |
| 2761 |
* 8. Take the full container width |
| 2762 |
* 9. Style |
| 2763 |
*/ |
| 2764 |
.bdt-search-input { |
| 2765 |
/* 1 */ |
| 2766 |
box-sizing: border-box; |
| 2767 |
/* 2 */ |
| 2768 |
margin: 0; |
| 2769 |
/* 3 */ |
| 2770 |
border-radius: 0; |
| 2771 |
/* 4 */ |
| 2772 |
font: inherit; |
| 2773 |
/* 5 */ |
| 2774 |
overflow: visible; |
| 2775 |
/* 6 */ |
| 2776 |
-webkit-appearance: none; |
| 2777 |
/* 7 */ |
| 2778 |
vertical-align: middle; |
| 2779 |
/* 8 */ |
| 2780 |
width: 100%; |
| 2781 |
/* 9 */ |
| 2782 |
border: none; |
| 2783 |
color: #666; |
| 2784 |
} |
| 2785 |
.bdt-search-input:focus { |
| 2786 |
outline: none; |
| 2787 |
} |
| 2788 |
/* Placeholder */ |
| 2789 |
.bdt-search-input::placeholder { |
| 2790 |
color: #999; |
| 2791 |
} |
| 2792 |
/* Icon (Adopts `bdt-icon`) |
| 2793 |
========================================================================== */ |
| 2794 |
/* |
| 2795 |
* Position above input |
| 2796 |
* 1. Set position |
| 2797 |
* 2. Center icon vertically and horizontally |
| 2798 |
* 3. Style |
| 2799 |
*/ |
| 2800 |
.bdt-search .bdt-search-icon { |
| 2801 |
/* 1 */ |
| 2802 |
position: absolute; |
| 2803 |
top: 0; |
| 2804 |
bottom: 0; |
| 2805 |
left: 0; |
| 2806 |
/* 2 */ |
| 2807 |
display: inline-flex; |
| 2808 |
justify-content: center; |
| 2809 |
align-items: center; |
| 2810 |
/* 3 */ |
| 2811 |
color: #999; |
| 2812 |
} |
| 2813 |
/* |
| 2814 |
* Required for `a`. |
| 2815 |
*/ |
| 2816 |
.bdt-search .bdt-search-icon:hover { |
| 2817 |
color: #999; |
| 2818 |
} |
| 2819 |
/* |
| 2820 |
* Make `input` element clickable through icon, e.g. if it's a `span` |
| 2821 |
*/ |
| 2822 |
.bdt-search .bdt-search-icon:not(a):not(button):not(input) { |
| 2823 |
pointer-events: none; |
| 2824 |
} |
| 2825 |
/* |
| 2826 |
* Position modifier |
| 2827 |
*/ |
| 2828 |
.bdt-search .bdt-search-icon-flip { |
| 2829 |
right: 0; |
| 2830 |
left: auto; |
| 2831 |
} |
| 2832 |
/* Default modifier |
| 2833 |
========================================================================== */ |
| 2834 |
.bdt-search-default { |
| 2835 |
width: 240px; |
| 2836 |
} |
| 2837 |
/* |
| 2838 |
* Input |
| 2839 |
*/ |
| 2840 |
.bdt-search-default .bdt-search-input { |
| 2841 |
height: 40px; |
| 2842 |
padding-left: 10px; |
| 2843 |
padding-right: 10px; |
| 2844 |
background: #f8f8f8; |
| 2845 |
} |
| 2846 |
/* Focus */ |
| 2847 |
.bdt-search-default .bdt-search-input:focus { |
| 2848 |
background-color: #ebebeb; |
| 2849 |
} |
| 2850 |
/* |
| 2851 |
* Icon |
| 2852 |
*/ |
| 2853 |
.bdt-search-default .bdt-search-icon { |
| 2854 |
width: 40px; |
| 2855 |
} |
| 2856 |
.bdt-search-default .bdt-search-icon:not(.bdt-search-icon-flip) ~ .bdt-search-input { |
| 2857 |
padding-left: 40px; |
| 2858 |
} |
| 2859 |
.bdt-search-default .bdt-search-icon-flip ~ .bdt-search-input { |
| 2860 |
padding-right: 40px; |
| 2861 |
} |
| 2862 |
/* Navbar modifier |
| 2863 |
========================================================================== */ |
| 2864 |
.bdt-search-navbar { |
| 2865 |
width: 400px; |
| 2866 |
} |
| 2867 |
/* |
| 2868 |
* Input |
| 2869 |
*/ |
| 2870 |
.bdt-search-navbar .bdt-search-input { |
| 2871 |
height: 40px; |
| 2872 |
background: transparent; |
| 2873 |
font-size: 1.5rem; |
| 2874 |
} |
| 2875 |
/* Focus */ |
| 2876 |
/* |
| 2877 |
* Icon |
| 2878 |
*/ |
| 2879 |
.bdt-search-navbar .bdt-search-icon { |
| 2880 |
width: 40px; |
| 2881 |
} |
| 2882 |
.bdt-search-navbar .bdt-search-icon:not(.bdt-search-icon-flip) ~ .bdt-search-input { |
| 2883 |
padding-left: 40px; |
| 2884 |
} |
| 2885 |
.bdt-search-navbar .bdt-search-icon-flip ~ .bdt-search-input { |
| 2886 |
padding-right: 40px; |
| 2887 |
} |
| 2888 |
/* Large modifier |
| 2889 |
========================================================================== */ |
| 2890 |
.bdt-search-large { |
| 2891 |
width: 500px; |
| 2892 |
} |
| 2893 |
/* |
| 2894 |
* Input |
| 2895 |
*/ |
| 2896 |
.bdt-search-large .bdt-search-input { |
| 2897 |
height: 80px; |
| 2898 |
background: transparent; |
| 2899 |
font-size: 2.625rem; |
| 2900 |
} |
| 2901 |
/* Focus */ |
| 2902 |
/* |
| 2903 |
* Icon |
| 2904 |
*/ |
| 2905 |
.bdt-search-large .bdt-search-icon { |
| 2906 |
width: 80px; |
| 2907 |
} |
| 2908 |
.bdt-search-large .bdt-search-icon:not(.bdt-search-icon-flip) ~ .bdt-search-input { |
| 2909 |
padding-left: 80px; |
| 2910 |
} |
| 2911 |
.bdt-search-large .bdt-search-icon-flip ~ .bdt-search-input { |
| 2912 |
padding-right: 80px; |
| 2913 |
} |
| 2914 |
/* Toggle |
| 2915 |
========================================================================== */ |
| 2916 |
.bdt-search-toggle { |
| 2917 |
color: #999; |
| 2918 |
} |
| 2919 |
/* Hover */ |
| 2920 |
.bdt-search-toggle:hover { |
| 2921 |
color: #666; |
| 2922 |
} |
| 2923 |
/* ======================================================================== |
| 2924 |
Component: Nav |
| 2925 |
========================================================================== */ |
| 2926 |
/* |
| 2927 |
* Reset |
| 2928 |
*/ |
| 2929 |
.bdt-nav, |
| 2930 |
.bdt-nav ul { |
| 2931 |
margin: 0; |
| 2932 |
padding: 0; |
| 2933 |
list-style: none; |
| 2934 |
} |
| 2935 |
/* |
| 2936 |
* 1. Center content vertically, e.g. an icon |
| 2937 |
* 2. Imitate white space gap when using flexbox |
| 2938 |
* 3. Reset link |
| 2939 |
* 4. Space is allocated solely based on content dimensions: 0 0 auto |
| 2940 |
*/ |
| 2941 |
.bdt-nav li > a { |
| 2942 |
/* 1 */ |
| 2943 |
display: flex; |
| 2944 |
align-items: center; |
| 2945 |
/* 2 */ |
| 2946 |
column-gap: 0.25em; |
| 2947 |
/* 3*/ |
| 2948 |
text-decoration: none; |
| 2949 |
} |
| 2950 |
/* 4 */ |
| 2951 |
.bdt-nav li > a > * { |
| 2952 |
flex: none; |
| 2953 |
} |
| 2954 |
/* |
| 2955 |
* Items |
| 2956 |
* Must target `a` elements to exclude other elements (e.g. lists) |
| 2957 |
*/ |
| 2958 |
.bdt-nav > li > a { |
| 2959 |
padding: 5px 0; |
| 2960 |
} |
| 2961 |
/* Sublists |
| 2962 |
========================================================================== */ |
| 2963 |
/* |
| 2964 |
* Level 2 |
| 2965 |
* `ul` needed for higher specificity to override padding |
| 2966 |
*/ |
| 2967 |
ul.bdt-nav-sub { |
| 2968 |
padding: 5px 0 5px 15px; |
| 2969 |
} |
| 2970 |
/* |
| 2971 |
* Level 3 and deeper |
| 2972 |
*/ |
| 2973 |
.bdt-nav-sub ul { |
| 2974 |
padding-left: 15px; |
| 2975 |
} |
| 2976 |
/* |
| 2977 |
* Items |
| 2978 |
*/ |
| 2979 |
.bdt-nav-sub a { |
| 2980 |
padding: 2px 0; |
| 2981 |
} |
| 2982 |
/* Parent icon modifier |
| 2983 |
========================================================================== */ |
| 2984 |
.bdt-nav-parent-icon > .bdt-parent > a::after { |
| 2985 |
content: ""; |
| 2986 |
width: 1.5em; |
| 2987 |
height: 1.5em; |
| 2988 |
margin-left: auto; |
| 2989 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%23666%22%20stroke-width%3D%221.1%22%20points%3D%2210%201%204%207%2010%2013%22%20%2F%3E%0D%0A%3C%2Fsvg%3E"); |
| 2990 |
background-repeat: no-repeat; |
| 2991 |
background-position: 50% 50%; |
| 2992 |
} |
| 2993 |
.bdt-nav-parent-icon > .bdt-parent.bdt-open > a::after { |
| 2994 |
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%0A%20%20%20%20%3Cpolyline%20fill%3D%22none%22%20stroke%3D%22%23666%22%20stroke-width%3D%221.1%22%20points%3D%221%204%207%2010%2013%204%22%20%2F%3E%0D%0A%3C%2Fsvg%3E"); |
| 2995 |
} |
| 2996 |
/* Header |
| 2997 |
========================================================================== */ |
| 2998 |
.bdt-nav-header { |
| 2999 |
padding: 5px 0; |
| 3000 |
text-transform: uppercase; |
| 3001 |
font-size: 0.875rem; |
| 3002 |
} |
| 3003 |
.bdt-nav-header:not(:first-child) { |
| 3004 |
margin-top: 20px; |
| 3005 |
} |
| 3006 |
/* Divider |
| 3007 |
========================================================================== */ |
| 3008 |
.bdt-nav > .bdt-nav-divider { |
| 3009 |
margin: 5px 0; |
| 3010 |
} |
| 3011 |
/* Default modifier |
| 3012 |
========================================================================== */ |
| 3013 |
/* |
| 3014 |
* Items |
| 3015 |
*/ |
| 3016 |
.bdt-nav-default > li > a { |
| 3017 |
color: #999; |
| 3018 |
} |
| 3019 |
/* Hover */ |
| 3020 |
.bdt-nav-default > li > a:hover { |
| 3021 |
color: #666; |
| 3022 |
} |
| 3023 |
/* Active */ |
| 3024 |
.bdt-nav-default > li.bdt-active > a { |
| 3025 |
color: #333; |
| 3026 |
} |
| 3027 |
/* |
| 3028 |
* Header |
| 3029 |
*/ |
| 3030 |
.bdt-nav-default .bdt-nav-header { |
| 3031 |
color: #333; |
| 3032 |
} |
| 3033 |
/* |
| 3034 |
* Divider |
| 3035 |
*/ |
| 3036 |
.bdt-nav-default .bdt-nav-divider { |
| 3037 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 3038 |
} |
| 3039 |
/* |
| 3040 |
* Sublists |
| 3041 |
*/ |
| 3042 |
.bdt-nav-default .bdt-nav-sub a { |
| 3043 |
color: #999; |
| 3044 |
} |
| 3045 |
.bdt-nav-default .bdt-nav-sub a:hover { |
| 3046 |
color: #666; |
| 3047 |
} |
| 3048 |
.bdt-nav-default .bdt-nav-sub li.bdt-active > a { |
| 3049 |
color: #333; |
| 3050 |
} |
| 3051 |
/* Primary modifier |
| 3052 |
========================================================================== */ |
| 3053 |
/* |
| 3054 |
* Items |
| 3055 |
*/ |
| 3056 |
.bdt-nav-primary > li > a { |
| 3057 |
font-size: 1.5rem; |
| 3058 |
line-height: 1.5; |
| 3059 |
color: #999; |
| 3060 |
} |
| 3061 |
/* Hover */ |
| 3062 |
.bdt-nav-primary > li > a:hover { |
| 3063 |
color: #666; |
| 3064 |
} |
| 3065 |
/* Active */ |
| 3066 |
.bdt-nav-primary > li.bdt-active > a { |
| 3067 |
color: #333; |
| 3068 |
} |
| 3069 |
/* |
| 3070 |
* Header |
| 3071 |
*/ |
| 3072 |
.bdt-nav-primary .bdt-nav-header { |
| 3073 |
color: #333; |
| 3074 |
} |
| 3075 |
/* |
| 3076 |
* Divider |
| 3077 |
*/ |
| 3078 |
.bdt-nav-primary .bdt-nav-divider { |
| 3079 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 3080 |
} |
| 3081 |
/* |
| 3082 |
* Sublists |
| 3083 |
*/ |
| 3084 |
.bdt-nav-primary .bdt-nav-sub a { |
| 3085 |
color: #999; |
| 3086 |
} |
| 3087 |
.bdt-nav-primary .bdt-nav-sub a:hover { |
| 3088 |
color: #666; |
| 3089 |
} |
| 3090 |
.bdt-nav-primary .bdt-nav-sub li.bdt-active > a { |
| 3091 |
color: #333; |
| 3092 |
} |
| 3093 |
/* Alignment modifier |
| 3094 |
========================================================================== */ |
| 3095 |
/* |
| 3096 |
* 1. Center header |
| 3097 |
* 2. Center items |
| 3098 |
*/ |
| 3099 |
/* 1 */ |
| 3100 |
.bdt-nav-center { |
| 3101 |
text-align: center; |
| 3102 |
} |
| 3103 |
/* 2 */ |
| 3104 |
.bdt-nav-center li > a { |
| 3105 |
justify-content: center; |
| 3106 |
} |
| 3107 |
/* Sublists */ |
| 3108 |
.bdt-nav-center .bdt-nav-sub, |
| 3109 |
.bdt-nav-center .bdt-nav-sub ul { |
| 3110 |
padding-left: 0; |
| 3111 |
} |
| 3112 |
/* Parent icon modifier */ |
| 3113 |
.bdt-nav-center.bdt-nav-parent-icon > .bdt-parent > a::after { |
| 3114 |
margin-left: 0; |
| 3115 |
} |
| 3116 |
/* Style modifier |
| 3117 |
========================================================================== */ |
| 3118 |
.bdt-nav.bdt-nav-divider > :not(.bdt-nav-divider) + :not(.bdt-nav-header, .bdt-nav-divider) { |
| 3119 |
margin-top: 0; |
| 3120 |
padding-top: 0; |
| 3121 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 3122 |
} |
| 3123 |
/* ======================================================================== |
| 3124 |
Component: Navbar |
| 3125 |
========================================================================== */ |
| 3126 |
/* |
| 3127 |
* 1. Create position context to center navbar group |
| 3128 |
*/ |
| 3129 |
.bdt-navbar { |
| 3130 |
display: flex; |
| 3131 |
/* 1 */ |
| 3132 |
position: relative; |
| 3133 |
} |
| 3134 |
/* Container |
| 3135 |
========================================================================== */ |
| 3136 |
.bdt-navbar-container:not(.bdt-navbar-transparent) { |
| 3137 |
background: #f8f8f8; |
| 3138 |
} |
| 3139 |
/* Groups |
| 3140 |
========================================================================== */ |
| 3141 |
/* |
| 3142 |
* 1. Align navs and items vertically if they have a different height |
| 3143 |
* 2. Note: IE 11 requires an extra `div` which affects the center selector |
| 3144 |
*/ |
| 3145 |
.bdt-navbar-left, |
| 3146 |
.bdt-navbar-right, |
| 3147 |
.bdt-navbar-center, |
| 3148 |
.bdt-navbar-center-left > *, |
| 3149 |
.bdt-navbar-center-right > * { |
| 3150 |
display: flex; |
| 3151 |
/* 1 */ |
| 3152 |
align-items: center; |
| 3153 |
} |
| 3154 |
/* |
| 3155 |
* Horizontal alignment |
| 3156 |
* 1. Create position context for centered navbar with sub groups (left/right) |
| 3157 |
* 2. Fix text wrapping if content is larger than 50% of the container. |
| 3158 |
* 3. Needed for dropdowns because a new position context is created |
| 3159 |
* `z-index` must be smaller than off-canvas |
| 3160 |
* 4. Align sub groups for centered navbar |
| 3161 |
*/ |
| 3162 |
.bdt-navbar-right { |
| 3163 |
margin-left: auto; |
| 3164 |
} |
| 3165 |
.bdt-navbar-center:only-child { |
| 3166 |
margin-left: auto; |
| 3167 |
margin-right: auto; |
| 3168 |
/* 1 */ |
| 3169 |
position: relative; |
| 3170 |
} |
| 3171 |
.bdt-navbar-center:not(:only-child) { |
| 3172 |
position: absolute; |
| 3173 |
top: 50%; |
| 3174 |
left: 50%; |
| 3175 |
transform: translate(-50%, -50%); |
| 3176 |
/* 2 */ |
| 3177 |
width: max-content; |
| 3178 |
box-sizing: border-box; |
| 3179 |
/* 3 */ |
| 3180 |
z-index: 990; |
| 3181 |
} |
| 3182 |
/* 4 */ |
| 3183 |
.bdt-navbar-center-left, |
| 3184 |
.bdt-navbar-center-right { |
| 3185 |
position: absolute; |
| 3186 |
top: 0; |
| 3187 |
} |
| 3188 |
.bdt-navbar-center-left { |
| 3189 |
right: 100%; |
| 3190 |
} |
| 3191 |
.bdt-navbar-center-right { |
| 3192 |
left: 100%; |
| 3193 |
} |
| 3194 |
[class*='bdt-navbar-center-'] { |
| 3195 |
width: max-content; |
| 3196 |
box-sizing: border-box; |
| 3197 |
} |
| 3198 |
/* Nav |
| 3199 |
========================================================================== */ |
| 3200 |
/* |
| 3201 |
* 1. Reset list |
| 3202 |
*/ |
| 3203 |
.bdt-navbar-nav { |
| 3204 |
display: flex; |
| 3205 |
/* 1 */ |
| 3206 |
margin: 0; |
| 3207 |
padding: 0; |
| 3208 |
list-style: none; |
| 3209 |
} |
| 3210 |
/* |
| 3211 |
* Allow items to wrap into the next line |
| 3212 |
* Only not `absolute` positioned groups |
| 3213 |
*/ |
| 3214 |
.bdt-navbar-left, |
| 3215 |
.bdt-navbar-right, |
| 3216 |
.bdt-navbar-center:only-child { |
| 3217 |
flex-wrap: wrap; |
| 3218 |
} |
| 3219 |
/* |
| 3220 |
* Items |
| 3221 |
* 1. Center content vertically and horizontally |
| 3222 |
* 2. Imitate white space gap when using flexbox |
| 3223 |
* 3. Dimensions |
| 3224 |
* 4. Style |
| 3225 |
* 5. Required for `a` |
| 3226 |
*/ |
| 3227 |
.bdt-navbar-nav > li > a, |
| 3228 |
.bdt-navbar-item, |
| 3229 |
.bdt-navbar-toggle { |
| 3230 |
/* 1 */ |
| 3231 |
display: flex; |
| 3232 |
justify-content: center; |
| 3233 |
align-items: center; |
| 3234 |
/* 2 */ |
| 3235 |
column-gap: 0.25em; |
| 3236 |
/* 3 */ |
| 3237 |
box-sizing: border-box; |
| 3238 |
min-height: 80px; |
| 3239 |
padding: 0 15px; |
| 3240 |
/* 4 */ |
| 3241 |
font-size: 16px; |
| 3242 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 3243 |
/* 5 */ |
| 3244 |
text-decoration: none; |
| 3245 |
} |
| 3246 |
/* |
| 3247 |
* Nav items |
| 3248 |
*/ |
| 3249 |
.bdt-navbar-nav > li > a { |
| 3250 |
color: #999; |
| 3251 |
} |
| 3252 |
/* |
| 3253 |
* Hover |
| 3254 |
* Apply hover style also if dropdown is opened |
| 3255 |
*/ |
| 3256 |
.bdt-navbar-nav > li:hover > a, |
| 3257 |
.bdt-navbar-nav > li > a[aria-expanded="true"] { |
| 3258 |
color: #666; |
| 3259 |
} |
| 3260 |
/* OnClick */ |
| 3261 |
.bdt-navbar-nav > li > a:active { |
| 3262 |
color: #333; |
| 3263 |
} |
| 3264 |
/* Active */ |
| 3265 |
.bdt-navbar-nav > li.bdt-active > a { |
| 3266 |
color: #333; |
| 3267 |
} |
| 3268 |
/* Item |
| 3269 |
========================================================================== */ |
| 3270 |
.bdt-navbar-item { |
| 3271 |
color: #666; |
| 3272 |
} |
| 3273 |
/* |
| 3274 |
* Remove margin from the last-child |
| 3275 |
*/ |
| 3276 |
.bdt-navbar-item > :last-child { |
| 3277 |
margin-bottom: 0; |
| 3278 |
} |
| 3279 |
/* Toggle |
| 3280 |
========================================================================== */ |
| 3281 |
.bdt-navbar-toggle { |
| 3282 |
color: #999; |
| 3283 |
} |
| 3284 |
.bdt-navbar-toggle:hover, |
| 3285 |
.bdt-navbar-toggle[aria-expanded="true"] { |
| 3286 |
color: #666; |
| 3287 |
text-decoration: none; |
| 3288 |
} |
| 3289 |
/* |
| 3290 |
* Icon |
| 3291 |
* Adopts `bdt-icon` |
| 3292 |
*/ |
| 3293 |
/* Hover */ |
| 3294 |
/* Subtitle |
| 3295 |
========================================================================== */ |
| 3296 |
.bdt-navbar-subtitle { |
| 3297 |
font-size: 0.875rem; |
| 3298 |
} |
| 3299 |
/* Style modifiers |
| 3300 |
========================================================================== */ |
| 3301 |
/* Dropdown |
| 3302 |
========================================================================== */ |
| 3303 |
/* |
| 3304 |
* Adopts `bdt-dropdown` |
| 3305 |
* 1. Hide by default |
| 3306 |
* 2. Set position |
| 3307 |
* 3. Set a default width |
| 3308 |
* 4. Style |
| 3309 |
*/ |
| 3310 |
.bdt-navbar-dropdown { |
| 3311 |
/* 1 */ |
| 3312 |
display: none; |
| 3313 |
/* 2 */ |
| 3314 |
position: absolute; |
| 3315 |
z-index: 1020; |
| 3316 |
/* 3 */ |
| 3317 |
box-sizing: border-box; |
| 3318 |
width: 200px; |
| 3319 |
/* 4 */ |
| 3320 |
padding: 15px; |
| 3321 |
background: #f8f8f8; |
| 3322 |
color: #666; |
| 3323 |
} |
| 3324 |
/* Show */ |
| 3325 |
.bdt-navbar-dropdown.bdt-open { |
| 3326 |
display: block; |
| 3327 |
} |
| 3328 |
/* |
| 3329 |
* Direction / Alignment modifiers |
| 3330 |
*/ |
| 3331 |
/* Direction */ |
| 3332 |
[class*='bdt-navbar-dropdown-top'] { |
| 3333 |
margin-top: 0; |
| 3334 |
} |
| 3335 |
[class*='bdt-navbar-dropdown-bottom'] { |
| 3336 |
margin-top: 0; |
| 3337 |
} |
| 3338 |
[class*='bdt-navbar-dropdown-left'] { |
| 3339 |
margin-left: 0; |
| 3340 |
} |
| 3341 |
[class*='bdt-navbar-dropdown-right'] { |
| 3342 |
margin-left: 0; |
| 3343 |
} |
| 3344 |
/* |
| 3345 |
* Grid |
| 3346 |
* Adopts `bdt-grid` |
| 3347 |
*/ |
| 3348 |
/* Gutter Horizontal */ |
| 3349 |
.bdt-navbar-dropdown-grid { |
| 3350 |
margin-left: -30px; |
| 3351 |
} |
| 3352 |
.bdt-navbar-dropdown-grid > * { |
| 3353 |
padding-left: 30px; |
| 3354 |
} |
| 3355 |
/* Gutter Vertical */ |
| 3356 |
.bdt-navbar-dropdown-grid > .bdt-grid-margin { |
| 3357 |
margin-top: 30px; |
| 3358 |
} |
| 3359 |
/* Stack */ |
| 3360 |
.bdt-navbar-dropdown-stack .bdt-navbar-dropdown-grid > * { |
| 3361 |
width: 100% !important; |
| 3362 |
} |
| 3363 |
/* |
| 3364 |
* Width modifier |
| 3365 |
*/ |
| 3366 |
.bdt-navbar-dropdown-width-2:not(.bdt-navbar-dropdown-stack) { |
| 3367 |
width: 400px; |
| 3368 |
} |
| 3369 |
.bdt-navbar-dropdown-width-3:not(.bdt-navbar-dropdown-stack) { |
| 3370 |
width: 600px; |
| 3371 |
} |
| 3372 |
.bdt-navbar-dropdown-width-4:not(.bdt-navbar-dropdown-stack) { |
| 3373 |
width: 800px; |
| 3374 |
} |
| 3375 |
.bdt-navbar-dropdown-width-5:not(.bdt-navbar-dropdown-stack) { |
| 3376 |
width: 1000px; |
| 3377 |
} |
| 3378 |
/* |
| 3379 |
* Dropbar modifier |
| 3380 |
*/ |
| 3381 |
.bdt-navbar-dropdown-dropbar { |
| 3382 |
margin-top: 0; |
| 3383 |
margin-bottom: 0; |
| 3384 |
} |
| 3385 |
/* Dropdown Nav |
| 3386 |
* Adopts `bdt-nav` |
| 3387 |
========================================================================== */ |
| 3388 |
/* |
| 3389 |
* Items |
| 3390 |
*/ |
| 3391 |
.bdt-navbar-dropdown-nav > li > a { |
| 3392 |
color: #999; |
| 3393 |
} |
| 3394 |
/* Hover */ |
| 3395 |
.bdt-navbar-dropdown-nav > li > a:hover { |
| 3396 |
color: #666; |
| 3397 |
} |
| 3398 |
/* Active */ |
| 3399 |
.bdt-navbar-dropdown-nav > li.bdt-active > a { |
| 3400 |
color: #333; |
| 3401 |
} |
| 3402 |
/* |
| 3403 |
* Header |
| 3404 |
*/ |
| 3405 |
.bdt-navbar-dropdown-nav .bdt-nav-header { |
| 3406 |
color: #333; |
| 3407 |
} |
| 3408 |
/* |
| 3409 |
* Divider |
| 3410 |
*/ |
| 3411 |
.bdt-navbar-dropdown-nav .bdt-nav-divider { |
| 3412 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 3413 |
} |
| 3414 |
/* |
| 3415 |
* Sublists |
| 3416 |
*/ |
| 3417 |
.bdt-navbar-dropdown-nav .bdt-nav-sub a { |
| 3418 |
color: #999; |
| 3419 |
} |
| 3420 |
.bdt-navbar-dropdown-nav .bdt-nav-sub a:hover { |
| 3421 |
color: #666; |
| 3422 |
} |
| 3423 |
.bdt-navbar-dropdown-nav .bdt-nav-sub li.bdt-active > a { |
| 3424 |
color: #333; |
| 3425 |
} |
| 3426 |
/* Dropbar |
| 3427 |
========================================================================== */ |
| 3428 |
.bdt-navbar-dropbar { |
| 3429 |
background: #f8f8f8; |
| 3430 |
} |
| 3431 |
/* |
| 3432 |
* Slide modifier |
| 3433 |
*/ |
| 3434 |
.bdt-navbar-dropbar-slide { |
| 3435 |
position: absolute; |
| 3436 |
z-index: 980; |
| 3437 |
left: 0; |
| 3438 |
right: 0; |
| 3439 |
} |
| 3440 |
/* ======================================================================== |
| 3441 |
Component: Subnav |
| 3442 |
========================================================================== */ |
| 3443 |
/* |
| 3444 |
* 1. Allow items to wrap into the next line |
| 3445 |
* 2. Center items vertically if they have a different height |
| 3446 |
* 3. Gutter |
| 3447 |
* 4. Reset list |
| 3448 |
*/ |
| 3449 |
.bdt-subnav { |
| 3450 |
display: flex; |
| 3451 |
/* 1 */ |
| 3452 |
flex-wrap: wrap; |
| 3453 |
/* 2 */ |
| 3454 |
align-items: center; |
| 3455 |
/* 3 */ |
| 3456 |
margin-left: -20px; |
| 3457 |
/* 4 */ |
| 3458 |
padding: 0; |
| 3459 |
list-style: none; |
| 3460 |
} |
| 3461 |
/* |
| 3462 |
* 1. Space is allocated solely based on content dimensions: 0 0 auto |
| 3463 |
* 2. Gutter |
| 3464 |
* 3. Create position context for dropdowns |
| 3465 |
*/ |
| 3466 |
.bdt-subnav > * { |
| 3467 |
/* 1 */ |
| 3468 |
flex: none; |
| 3469 |
/* 2 */ |
| 3470 |
padding-left: 20px; |
| 3471 |
/* 3 */ |
| 3472 |
position: relative; |
| 3473 |
} |
| 3474 |
/* Items |
| 3475 |
========================================================================== */ |
| 3476 |
/* |
| 3477 |
* Items must target `a` elements to exclude other elements (e.g. dropdowns) |
| 3478 |
* Using `:first-child` instead of `a` to support `span` elements for text |
| 3479 |
* 1. Center content vertically, e.g. an icon |
| 3480 |
* 2. Imitate white space gap when using flexbox |
| 3481 |
* 3. Style |
| 3482 |
*/ |
| 3483 |
.bdt-subnav > * > :first-child { |
| 3484 |
/* 1 */ |
| 3485 |
display: flex; |
| 3486 |
align-items: center; |
| 3487 |
/* 2 */ |
| 3488 |
column-gap: 0.25em; |
| 3489 |
/* 3 */ |
| 3490 |
color: #999; |
| 3491 |
} |
| 3492 |
/* Hover */ |
| 3493 |
.bdt-subnav > * > a:hover { |
| 3494 |
color: #666; |
| 3495 |
text-decoration: none; |
| 3496 |
} |
| 3497 |
/* Active */ |
| 3498 |
.bdt-subnav > .bdt-active > a { |
| 3499 |
color: #333; |
| 3500 |
} |
| 3501 |
/* Divider modifier |
| 3502 |
========================================================================== */ |
| 3503 |
/* |
| 3504 |
* Set gutter |
| 3505 |
*/ |
| 3506 |
.bdt-subnav-divider { |
| 3507 |
margin-left: -41px; |
| 3508 |
} |
| 3509 |
/* |
| 3510 |
* Align items and divider vertically |
| 3511 |
*/ |
| 3512 |
.bdt-subnav-divider > * { |
| 3513 |
display: flex; |
| 3514 |
align-items: center; |
| 3515 |
} |
| 3516 |
/* |
| 3517 |
* Divider |
| 3518 |
* 1. `nth-child` makes it also work without JS if it's only one row |
| 3519 |
*/ |
| 3520 |
.bdt-subnav-divider > ::before { |
| 3521 |
content: ""; |
| 3522 |
height: 1.5em; |
| 3523 |
margin-left: 0px; |
| 3524 |
margin-right: 20px; |
| 3525 |
border-left: 1px solid transparent; |
| 3526 |
} |
| 3527 |
/* 1 */ |
| 3528 |
.bdt-subnav-divider > :nth-child(n+2):not(.bdt-first-column)::before { |
| 3529 |
border-left-color: rgba(214, 214, 214, 0.49); |
| 3530 |
} |
| 3531 |
/* Pill modifier |
| 3532 |
========================================================================== */ |
| 3533 |
.bdt-subnav-pill > * > :first-child { |
| 3534 |
padding: 5px 10px; |
| 3535 |
background: transparent; |
| 3536 |
color: #999; |
| 3537 |
} |
| 3538 |
/* Hover */ |
| 3539 |
.bdt-subnav-pill > * > a:hover { |
| 3540 |
background-color: #f8f8f8; |
| 3541 |
color: #666; |
| 3542 |
} |
| 3543 |
/* OnClick */ |
| 3544 |
.bdt-subnav-pill > * > a:active { |
| 3545 |
background-color: #f8f8f8; |
| 3546 |
color: #666; |
| 3547 |
} |
| 3548 |
/* Active */ |
| 3549 |
.bdt-subnav-pill > .bdt-active > a { |
| 3550 |
background-color: #1e87f0; |
| 3551 |
color: #fff; |
| 3552 |
} |
| 3553 |
/* Disabled |
| 3554 |
* The same for all style modifiers |
| 3555 |
========================================================================== */ |
| 3556 |
.bdt-subnav > .bdt-disabled > a { |
| 3557 |
color: #999; |
| 3558 |
} |
| 3559 |
/* ======================================================================== |
| 3560 |
Component: Breadcrumb |
| 3561 |
========================================================================== */ |
| 3562 |
/* |
| 3563 |
* Reset list |
| 3564 |
*/ |
| 3565 |
.bdt-breadcrumb { |
| 3566 |
padding: 0; |
| 3567 |
list-style: none; |
| 3568 |
} |
| 3569 |
/* |
| 3570 |
* 1. Doesn't generate any box and replaced by child boxes |
| 3571 |
*/ |
| 3572 |
.bdt-breadcrumb > * { |
| 3573 |
display: contents; |
| 3574 |
} |
| 3575 |
/* Items |
| 3576 |
========================================================================== */ |
| 3577 |
.bdt-breadcrumb > * > * { |
| 3578 |
font-size: 0.875rem; |
| 3579 |
color: #999; |
| 3580 |
} |
| 3581 |
/* Hover */ |
| 3582 |
.bdt-breadcrumb > * > :hover { |
| 3583 |
color: #666; |
| 3584 |
text-decoration: none; |
| 3585 |
} |
| 3586 |
/* Disabled */ |
| 3587 |
/* Active */ |
| 3588 |
.bdt-breadcrumb > :last-child > span, |
| 3589 |
.bdt-breadcrumb > :last-child > a:not([href]) { |
| 3590 |
color: #666; |
| 3591 |
} |
| 3592 |
/* |
| 3593 |
* Divider |
| 3594 |
* `nth-child` makes it also work without JS if it's only one row |
| 3595 |
* 1. Remove space between inline block elements. |
| 3596 |
* 2. Style |
| 3597 |
*/ |
| 3598 |
.bdt-breadcrumb > :nth-child(n+2):not(.bdt-first-column)::before { |
| 3599 |
content: "/"; |
| 3600 |
display: inline-block; |
| 3601 |
/* 1 */ |
| 3602 |
margin: 0 20px 0 calc(20px - 4px); |
| 3603 |
/* 2 */ |
| 3604 |
font-size: 0.875rem; |
| 3605 |
color: #999; |
| 3606 |
} |
| 3607 |
/* ======================================================================== |
| 3608 |
Component: Pagination |
| 3609 |
========================================================================== */ |
| 3610 |
/* |
| 3611 |
* 1. Allow items to wrap into the next line |
| 3612 |
* 2. Gutter |
| 3613 |
* 3. Reset list |
| 3614 |
*/ |
| 3615 |
.bdt-pagination { |
| 3616 |
display: flex; |
| 3617 |
/* 1 */ |
| 3618 |
flex-wrap: wrap; |
| 3619 |
/* 2 */ |
| 3620 |
margin-left: 0; |
| 3621 |
/* 3 */ |
| 3622 |
padding: 0; |
| 3623 |
list-style: none; |
| 3624 |
} |
| 3625 |
/* |
| 3626 |
* 1. Space is allocated solely based on content dimensions: 0 0 auto |
| 3627 |
* 2. Gutter |
| 3628 |
* 3. Create position context for dropdowns |
| 3629 |
*/ |
| 3630 |
.bdt-pagination > * { |
| 3631 |
/* 1 */ |
| 3632 |
flex: none; |
| 3633 |
/* 2 */ |
| 3634 |
padding-left: 0; |
| 3635 |
/* 3 */ |
| 3636 |
position: relative; |
| 3637 |
} |
| 3638 |
/* Items |
| 3639 |
========================================================================== */ |
| 3640 |
/* |
| 3641 |
* 1. Prevent gap if child element is `inline-block`, e.g. an icon |
| 3642 |
* 2. Style |
| 3643 |
*/ |
| 3644 |
.bdt-pagination > * > * { |
| 3645 |
/* 1 */ |
| 3646 |
display: block; |
| 3647 |
/* 2 */ |
| 3648 |
padding: 5px 10px; |
| 3649 |
color: #999; |
| 3650 |
} |
| 3651 |
/* Hover */ |
| 3652 |
.bdt-pagination > * > :hover { |
| 3653 |
color: #666; |
| 3654 |
text-decoration: none; |
| 3655 |
} |
| 3656 |
/* Active */ |
| 3657 |
.bdt-pagination > .bdt-active > * { |
| 3658 |
color: #666; |
| 3659 |
} |
| 3660 |
/* Disabled */ |
| 3661 |
.bdt-pagination > .bdt-disabled > * { |
| 3662 |
color: #999; |
| 3663 |
} |
| 3664 |
/* ======================================================================== |
| 3665 |
Component: Tab |
| 3666 |
========================================================================== */ |
| 3667 |
/* |
| 3668 |
* 1. Allow items to wrap into the next line |
| 3669 |
* 2. Gutter |
| 3670 |
* 3. Reset list |
| 3671 |
*/ |
| 3672 |
.bdt-tab { |
| 3673 |
display: flex; |
| 3674 |
/* 1 */ |
| 3675 |
flex-wrap: wrap; |
| 3676 |
/* 2 */ |
| 3677 |
margin-left: -20px; |
| 3678 |
/* 3 */ |
| 3679 |
padding: 0; |
| 3680 |
list-style: none; |
| 3681 |
} |
| 3682 |
/* |
| 3683 |
* 1. Space is allocated solely based on content dimensions: 0 0 auto |
| 3684 |
* 2. Gutter |
| 3685 |
* 3. Create position context for dropdowns |
| 3686 |
*/ |
| 3687 |
.bdt-tab > * { |
| 3688 |
/* 1 */ |
| 3689 |
flex: none; |
| 3690 |
/* 2 */ |
| 3691 |
padding-left: 20px; |
| 3692 |
/* 3 */ |
| 3693 |
position: relative; |
| 3694 |
} |
| 3695 |
/* Items |
| 3696 |
========================================================================== */ |
| 3697 |
/* |
| 3698 |
* Items must target `a` elements to exclude other elements (e.g. dropdowns) |
| 3699 |
* 1. Center content vertically, e.g. an icon |
| 3700 |
* 2. Imitate white space gap when using flexbox |
| 3701 |
* 3. Center content if a width is set |
| 3702 |
* 4. Style |
| 3703 |
*/ |
| 3704 |
.bdt-tab > * > a { |
| 3705 |
/* 1 */ |
| 3706 |
display: flex; |
| 3707 |
align-items: center; |
| 3708 |
/* 2 */ |
| 3709 |
column-gap: 0.25em; |
| 3710 |
/* 3 */ |
| 3711 |
justify-content: center; |
| 3712 |
/* 4 */ |
| 3713 |
padding: 10px 15px; |
| 3714 |
color: #999; |
| 3715 |
} |
| 3716 |
/* Hover */ |
| 3717 |
.bdt-tab > * > a:hover { |
| 3718 |
color: #666; |
| 3719 |
text-decoration: none; |
| 3720 |
} |
| 3721 |
/* Active */ |
| 3722 |
.bdt-tab > .bdt-active > a { |
| 3723 |
color: #333; |
| 3724 |
} |
| 3725 |
/* Disabled */ |
| 3726 |
.bdt-tab > .bdt-disabled > a { |
| 3727 |
color: #999; |
| 3728 |
} |
| 3729 |
/* Position modifier |
| 3730 |
========================================================================== */ |
| 3731 |
/* |
| 3732 |
* Bottom |
| 3733 |
*/ |
| 3734 |
/* |
| 3735 |
* Left + Right |
| 3736 |
* 1. Reset Gutter |
| 3737 |
*/ |
| 3738 |
.bdt-tab-left, |
| 3739 |
.bdt-tab-right { |
| 3740 |
flex-direction: column; |
| 3741 |
/* 1 */ |
| 3742 |
margin-left: 0; |
| 3743 |
} |
| 3744 |
/* 1 */ |
| 3745 |
.bdt-tab-left > *, |
| 3746 |
.bdt-tab-right > * { |
| 3747 |
padding-left: 0; |
| 3748 |
} |
| 3749 |
.bdt-tab-left > * > a { |
| 3750 |
justify-content: left; |
| 3751 |
} |
| 3752 |
.bdt-tab-right > * > a { |
| 3753 |
justify-content: left; |
| 3754 |
} |
| 3755 |
/* ======================================================================== |
| 3756 |
Component: Slidenav |
| 3757 |
========================================================================== */ |
| 3758 |
/* |
| 3759 |
* Adopts `bdt-icon` |
| 3760 |
*/ |
| 3761 |
.bdt-slidenav { |
| 3762 |
padding: 5px 10px; |
| 3763 |
color: rgba(102, 102, 102, 0.5); |
| 3764 |
} |
| 3765 |
/* Hover */ |
| 3766 |
.bdt-slidenav:hover { |
| 3767 |
color: rgba(102, 102, 102, 0.9); |
| 3768 |
} |
| 3769 |
/* OnClick */ |
| 3770 |
.bdt-slidenav:active { |
| 3771 |
color: rgba(102, 102, 102, 0.5); |
| 3772 |
} |
| 3773 |
/* Icon modifier |
| 3774 |
========================================================================== */ |
| 3775 |
/* |
| 3776 |
* Previous |
| 3777 |
*/ |
| 3778 |
/* |
| 3779 |
* Next |
| 3780 |
*/ |
| 3781 |
/* Size modifier |
| 3782 |
========================================================================== */ |
| 3783 |
.bdt-slidenav-large { |
| 3784 |
padding: 10px 10px; |
| 3785 |
} |
| 3786 |
/* Container |
| 3787 |
========================================================================== */ |
| 3788 |
.bdt-slidenav-container { |
| 3789 |
display: flex; |
| 3790 |
} |
| 3791 |
/* ======================================================================== |
| 3792 |
Component: Dotnav |
| 3793 |
========================================================================== */ |
| 3794 |
/* |
| 3795 |
* 1. Allow items to wrap into the next line |
| 3796 |
* 2. Reset list |
| 3797 |
* 3. Gutter |
| 3798 |
*/ |
| 3799 |
.bdt-dotnav { |
| 3800 |
display: flex; |
| 3801 |
/* 1 */ |
| 3802 |
flex-wrap: wrap; |
| 3803 |
/* 2 */ |
| 3804 |
margin: 0; |
| 3805 |
padding: 0; |
| 3806 |
list-style: none; |
| 3807 |
/* 3 */ |
| 3808 |
margin-left: -12px; |
| 3809 |
} |
| 3810 |
/* |
| 3811 |
* 1. Space is allocated solely based on content dimensions: 0 0 auto |
| 3812 |
* 2. Gutter |
| 3813 |
*/ |
| 3814 |
.bdt-dotnav > * { |
| 3815 |
/* 1 */ |
| 3816 |
flex: none; |
| 3817 |
/* 2 */ |
| 3818 |
padding-left: 12px; |
| 3819 |
} |
| 3820 |
/* Items |
| 3821 |
========================================================================== */ |
| 3822 |
/* |
| 3823 |
* Items |
| 3824 |
* 1. Hide text if present |
| 3825 |
*/ |
| 3826 |
.bdt-dotnav > * > * { |
| 3827 |
display: block; |
| 3828 |
box-sizing: border-box; |
| 3829 |
width: 10px; |
| 3830 |
height: 10px; |
| 3831 |
border-radius: 50%; |
| 3832 |
background: rgba(102, 102, 102, 0.2); |
| 3833 |
/* 1 */ |
| 3834 |
text-indent: 100%; |
| 3835 |
overflow: hidden; |
| 3836 |
white-space: nowrap; |
| 3837 |
} |
| 3838 |
/* Hover */ |
| 3839 |
.bdt-dotnav > * > :hover { |
| 3840 |
background-color: rgba(102, 102, 102, 0.6); |
| 3841 |
} |
| 3842 |
/* OnClick */ |
| 3843 |
.bdt-dotnav > * > :active { |
| 3844 |
background-color: rgba(102, 102, 102, 0.2); |
| 3845 |
} |
| 3846 |
/* Active */ |
| 3847 |
.bdt-dotnav > .bdt-active > * { |
| 3848 |
background-color: rgba(102, 102, 102, 0.6); |
| 3849 |
} |
| 3850 |
/* Modifier: 'bdt-dotnav-vertical' |
| 3851 |
========================================================================== */ |
| 3852 |
/* |
| 3853 |
* 1. Change direction |
| 3854 |
* 2. Gutter |
| 3855 |
*/ |
| 3856 |
.bdt-dotnav-vertical { |
| 3857 |
/* 1 */ |
| 3858 |
flex-direction: column; |
| 3859 |
/* 2 */ |
| 3860 |
margin-left: 0; |
| 3861 |
margin-top: -12px; |
| 3862 |
} |
| 3863 |
/* 2 */ |
| 3864 |
.bdt-dotnav-vertical > * { |
| 3865 |
padding-left: 0; |
| 3866 |
padding-top: 12px; |
| 3867 |
} |
| 3868 |
/* ======================================================================== |
| 3869 |
Component: Thumbnav |
| 3870 |
========================================================================== */ |
| 3871 |
/* |
| 3872 |
* 1. Allow items to wrap into the next line |
| 3873 |
* 2. Reset list |
| 3874 |
* 3. Gutter |
| 3875 |
*/ |
| 3876 |
.bdt-thumbnav { |
| 3877 |
display: flex; |
| 3878 |
/* 1 */ |
| 3879 |
flex-wrap: wrap; |
| 3880 |
/* 2 */ |
| 3881 |
margin: 0; |
| 3882 |
padding: 0; |
| 3883 |
list-style: none; |
| 3884 |
/* 3 */ |
| 3885 |
margin-left: -15px; |
| 3886 |
} |
| 3887 |
/* |
| 3888 |
* Space is allocated based on content dimensions, but shrinks: 0 1 auto |
| 3889 |
* 1. Gutter |
| 3890 |
*/ |
| 3891 |
.bdt-thumbnav > * { |
| 3892 |
/* 1 */ |
| 3893 |
padding-left: 15px; |
| 3894 |
} |
| 3895 |
/* Items |
| 3896 |
========================================================================== */ |
| 3897 |
/* |
| 3898 |
* Items |
| 3899 |
*/ |
| 3900 |
.bdt-thumbnav > * > * { |
| 3901 |
display: inline-block; |
| 3902 |
} |
| 3903 |
/* Hover */ |
| 3904 |
/* Active */ |
| 3905 |
/* Modifier: 'bdt-thumbnav-vertical' |
| 3906 |
========================================================================== */ |
| 3907 |
/* |
| 3908 |
* 1. Change direction |
| 3909 |
* 2. Gutter |
| 3910 |
*/ |
| 3911 |
.bdt-thumbnav-vertical { |
| 3912 |
/* 1 */ |
| 3913 |
flex-direction: column; |
| 3914 |
/* 2 */ |
| 3915 |
margin-left: 0; |
| 3916 |
margin-top: -15px; |
| 3917 |
} |
| 3918 |
/* 2 */ |
| 3919 |
.bdt-thumbnav-vertical > * { |
| 3920 |
padding-left: 0; |
| 3921 |
padding-top: 15px; |
| 3922 |
} |
| 3923 |
/* ======================================================================== |
| 3924 |
Component: Accordion |
| 3925 |
========================================================================== */ |
| 3926 |
.bdt-accordion { |
| 3927 |
padding: 0; |
| 3928 |
list-style: none; |
| 3929 |
} |
| 3930 |
/* Item |
| 3931 |
========================================================================== */ |
| 3932 |
.bdt-accordion > :nth-child(n+2) { |
| 3933 |
margin-top: 20px; |
| 3934 |
} |
| 3935 |
/* Title |
| 3936 |
========================================================================== */ |
| 3937 |
.bdt-accordion-title { |
| 3938 |
display: block; |
| 3939 |
font-size: 1.25rem; |
| 3940 |
line-height: 1.4; |
| 3941 |
color: #333; |
| 3942 |
} |
| 3943 |
/* Hover */ |
| 3944 |
.bdt-accordion-title:hover { |
| 3945 |
color: #666; |
| 3946 |
text-decoration: none; |
| 3947 |
} |
| 3948 |
/* Content |
| 3949 |
========================================================================== */ |
| 3950 |
.bdt-accordion-content { |
| 3951 |
display: flow-root; |
| 3952 |
margin-top: 20px; |
| 3953 |
} |
| 3954 |
/* |
| 3955 |
* Remove margin from the last-child |
| 3956 |
*/ |
| 3957 |
.bdt-accordion-content > :last-child { |
| 3958 |
margin-bottom: 0; |
| 3959 |
} |
| 3960 |
/* ======================================================================== |
| 3961 |
Component: Drop |
| 3962 |
========================================================================== */ |
| 3963 |
/* |
| 3964 |
* 1. Hide by default |
| 3965 |
* 2. Set position |
| 3966 |
* 3. Set a default width |
| 3967 |
*/ |
| 3968 |
.bdt-drop { |
| 3969 |
/* 1 */ |
| 3970 |
display: none; |
| 3971 |
/* 2 */ |
| 3972 |
position: absolute; |
| 3973 |
z-index: 1020; |
| 3974 |
/* 3 */ |
| 3975 |
box-sizing: border-box; |
| 3976 |
width: 300px; |
| 3977 |
} |
| 3978 |
/* Show */ |
| 3979 |
.bdt-drop.bdt-open { |
| 3980 |
display: block; |
| 3981 |
} |
| 3982 |
/* Direction / Alignment modifiers |
| 3983 |
========================================================================== */ |
| 3984 |
/* Direction */ |
| 3985 |
[class*='bdt-drop-top'] { |
| 3986 |
margin-top: -20px; |
| 3987 |
} |
| 3988 |
[class*='bdt-drop-bottom'] { |
| 3989 |
margin-top: 20px; |
| 3990 |
} |
| 3991 |
[class*='bdt-drop-left'] { |
| 3992 |
margin-left: -20px; |
| 3993 |
} |
| 3994 |
[class*='bdt-drop-right'] { |
| 3995 |
margin-left: 20px; |
| 3996 |
} |
| 3997 |
/* Grid modifiers |
| 3998 |
========================================================================== */ |
| 3999 |
.bdt-drop-stack .bdt-drop-grid > * { |
| 4000 |
width: 100% !important; |
| 4001 |
} |
| 4002 |
/* ======================================================================== |
| 4003 |
Component: Dropdown |
| 4004 |
========================================================================== */ |
| 4005 |
/* |
| 4006 |
* 1. Hide by default |
| 4007 |
* 2. Set position |
| 4008 |
* 3. Set a default width |
| 4009 |
* 4. Style |
| 4010 |
*/ |
| 4011 |
.bdt-dropdown { |
| 4012 |
/* 1 */ |
| 4013 |
display: none; |
| 4014 |
/* 2 */ |
| 4015 |
position: absolute; |
| 4016 |
z-index: 1020; |
| 4017 |
/* 3 */ |
| 4018 |
box-sizing: border-box; |
| 4019 |
min-width: 200px; |
| 4020 |
/* 4 */ |
| 4021 |
padding: 15px; |
| 4022 |
background: #f8f8f8; |
| 4023 |
color: #666; |
| 4024 |
} |
| 4025 |
/* Show */ |
| 4026 |
.bdt-dropdown.bdt-open { |
| 4027 |
display: block; |
| 4028 |
} |
| 4029 |
/* Nav |
| 4030 |
* Adopts `bdt-nav` |
| 4031 |
========================================================================== */ |
| 4032 |
.bdt-dropdown-nav { |
| 4033 |
white-space: nowrap; |
| 4034 |
} |
| 4035 |
/* |
| 4036 |
* Items |
| 4037 |
*/ |
| 4038 |
.bdt-dropdown-nav > li > a { |
| 4039 |
color: #999; |
| 4040 |
} |
| 4041 |
/* Hover + Active */ |
| 4042 |
.bdt-dropdown-nav > li > a:hover, |
| 4043 |
.bdt-dropdown-nav > li.bdt-active > a { |
| 4044 |
color: #666; |
| 4045 |
} |
| 4046 |
/* |
| 4047 |
* Header |
| 4048 |
*/ |
| 4049 |
.bdt-dropdown-nav .bdt-nav-header { |
| 4050 |
color: #333; |
| 4051 |
} |
| 4052 |
/* |
| 4053 |
* Divider |
| 4054 |
*/ |
| 4055 |
.bdt-dropdown-nav .bdt-nav-divider { |
| 4056 |
border-top: 1px solid rgba(214, 214, 214, 0.49); |
| 4057 |
} |
| 4058 |
/* |
| 4059 |
* Sublists |
| 4060 |
*/ |
| 4061 |
.bdt-dropdown-nav .bdt-nav-sub a { |
| 4062 |
color: #999; |
| 4063 |
} |
| 4064 |
.bdt-dropdown-nav .bdt-nav-sub a:hover, |
| 4065 |
.bdt-dropdown-nav .bdt-nav-sub li.bdt-active > a { |
| 4066 |
color: #666; |
| 4067 |
} |
| 4068 |
/* Direction / Alignment modifiers |
| 4069 |
========================================================================== */ |
| 4070 |
/* Direction */ |
| 4071 |
[class*='bdt-dropdown-top'] { |
| 4072 |
margin-top: -10px; |
| 4073 |
} |
| 4074 |
[class*='bdt-dropdown-bottom'] { |
| 4075 |
margin-top: 10px; |
| 4076 |
} |
| 4077 |
[class*='bdt-dropdown-left'] { |
| 4078 |
margin-left: -10px; |
| 4079 |
} |
| 4080 |
[class*='bdt-dropdown-right'] { |
| 4081 |
margin-left: 10px; |
| 4082 |
} |
| 4083 |
/* Grid modifiers |
| 4084 |
========================================================================== */ |
| 4085 |
.bdt-dropdown-stack .bdt-dropdown-grid > * { |
| 4086 |
width: 100% !important; |
| 4087 |
} |
| 4088 |
/* ======================================================================== |
| 4089 |
Component: Modal |
| 4090 |
========================================================================== */ |
| 4091 |
/* |
| 4092 |
* 1. Hide by default |
| 4093 |
* 2. Set position |
| 4094 |
* 3. Allow scrolling for the modal dialog |
| 4095 |
* 4. Horizontal padding |
| 4096 |
* 5. Mask the background page |
| 4097 |
* 6. Fade-in transition |
| 4098 |
*/ |
| 4099 |
.bdt-modal { |
| 4100 |
/* 1 */ |
| 4101 |
display: none; |
| 4102 |
/* 2 */ |
| 4103 |
position: fixed; |
| 4104 |
top: 0; |
| 4105 |
right: 0; |
| 4106 |
bottom: 0; |
| 4107 |
left: 0; |
| 4108 |
z-index: 1010; |
| 4109 |
/* 3 */ |
| 4110 |
overflow-y: auto; |
| 4111 |
-webkit-overflow-scrolling: touch; |
| 4112 |
/* 4 */ |
| 4113 |
padding: 15px 15px; |
| 4114 |
/* 5 */ |
| 4115 |
background: rgba(0, 0, 0, 0.6); |
| 4116 |
/* 6 */ |
| 4117 |
opacity: 0; |
| 4118 |
transition: opacity 0.15s linear; |
| 4119 |
} |
| 4120 |
/* Phone landscape and bigger */ |
| 4121 |
@media (min-width: 640px) { |
| 4122 |
.bdt-modal { |
| 4123 |
padding: 50px 30px; |
| 4124 |
} |
| 4125 |
} |
| 4126 |
/* Tablet landscape and bigger */ |
| 4127 |
@media (min-width: 960px) { |
| 4128 |
.bdt-modal { |
| 4129 |
padding-left: 40px; |
| 4130 |
padding-right: 40px; |
| 4131 |
} |
| 4132 |
} |
| 4133 |
/* |
| 4134 |
* Open |
| 4135 |
*/ |
| 4136 |
.bdt-modal.bdt-open { |
| 4137 |
opacity: 1; |
| 4138 |
} |
| 4139 |
/* Page |
| 4140 |
========================================================================== */ |
| 4141 |
/* |
| 4142 |
* Prevent scrollbars |
| 4143 |
*/ |
| 4144 |
.bdt-modal-page { |
| 4145 |
overflow: hidden; |
| 4146 |
} |
| 4147 |
/* Dialog |
| 4148 |
========================================================================== */ |
| 4149 |
/* |
| 4150 |
* 1. Create position context for spinner and close button |
| 4151 |
* 2. Dimensions |
| 4152 |
* 3. `!important` is needed to overwrite `bdt-width-auto`. See `#modal-media-image` in tests |
| 4153 |
* 4. Style |
| 4154 |
* 5. Slide-in transition |
| 4155 |
*/ |
| 4156 |
.bdt-modal-dialog { |
| 4157 |
/* 1 */ |
| 4158 |
position: relative; |
| 4159 |
/* 2 */ |
| 4160 |
box-sizing: border-box; |
| 4161 |
margin: 0 auto; |
| 4162 |
width: 600px; |
| 4163 |
/* 3 */ |
| 4164 |
max-width: 100% !important; |
| 4165 |
/* 4 */ |
| 4166 |
background: #fff; |
| 4167 |
/* 5 */ |
| 4168 |
opacity: 0; |
| 4169 |
transform: translateY(-100px); |
| 4170 |
transition: 0.3s linear; |
| 4171 |
transition-property: opacity, transform; |
| 4172 |
border-radius: 3px; |
| 4173 |
} |
| 4174 |
/* |
| 4175 |
* Open |
| 4176 |
*/ |
| 4177 |
.bdt-open > .bdt-modal-dialog { |
| 4178 |
opacity: 1; |
| 4179 |
transform: translateY(0); |
| 4180 |
} |
| 4181 |
/* Size modifier |
| 4182 |
========================================================================== */ |
| 4183 |
/* |
| 4184 |
* Container size |
| 4185 |
* Take the same size as the Container component |
| 4186 |
*/ |
| 4187 |
.bdt-modal-container .bdt-modal-dialog { |
| 4188 |
width: 1200px; |
| 4189 |
} |
| 4190 |
/* |
| 4191 |
* Full size |
| 4192 |
* 1. Remove padding and background from modal |
| 4193 |
* 2. Reset all default declarations from modal dialog |
| 4194 |
*/ |
| 4195 |
/* 1 */ |
| 4196 |
.bdt-modal-full { |
| 4197 |
padding: 0; |
| 4198 |
background: none; |
| 4199 |
} |
| 4200 |
/* 2 */ |
| 4201 |
.bdt-modal-full .bdt-modal-dialog { |
| 4202 |
margin: 0; |
| 4203 |
width: 100%; |
| 4204 |
max-width: 100%; |
| 4205 |
transform: translateY(0); |
| 4206 |
} |
| 4207 |
/* Sections |
| 4208 |
========================================================================== */ |
| 4209 |
.bdt-modal-body { |
| 4210 |
display: flow-root; |
| 4211 |
padding: 30px 30px; |
| 4212 |
} |
| 4213 |
.bdt-modal-header { |
| 4214 |
display: flow-root; |
| 4215 |
padding: 15px 30px; |
| 4216 |
background: #f8f8f8; |
| 4217 |
} |
| 4218 |
.bdt-modal-footer { |
| 4219 |
display: flow-root; |
| 4220 |
padding: 15px 30px; |
| 4221 |
background: #f8f8f8; |
| 4222 |
} |
| 4223 |
/* |
| 4224 |
* Remove margin from the last-child |
| 4225 |
*/ |
| 4226 |
.bdt-modal-body > :last-child, |
| 4227 |
.bdt-modal-header > :last-child, |
| 4228 |
.bdt-modal-footer > :last-child { |
| 4229 |
margin-bottom: 0; |
| 4230 |
} |
| 4231 |
/* Title |
| 4232 |
========================================================================== */ |
| 4233 |
.bdt-modal-title { |
| 4234 |
font-size: 1.6rem; |
| 4235 |
line-height: 1.3; |
| 4236 |
font-weight: 400; |
| 4237 |
} |
| 4238 |
/* Close |
| 4239 |
* Adopts `bdt-close` |
| 4240 |
========================================================================== */ |
| 4241 |
[class*='bdt-modal-close-'] { |
| 4242 |
position: absolute; |
| 4243 |
z-index: 1010; |
| 4244 |
top: 10px; |
| 4245 |
right: 10px; |
| 4246 |
padding: 5px; |
| 4247 |
} |
| 4248 |
/* |
| 4249 |
* Remove margin from adjacent element |
| 4250 |
*/ |
| 4251 |
[class*='bdt-modal-close-']:first-child + * { |
| 4252 |
margin-top: 0; |
| 4253 |
} |
| 4254 |
/* |
| 4255 |
* Hover |
| 4256 |
*/ |
| 4257 |
/* |
| 4258 |
* Default |
| 4259 |
*/ |
| 4260 |
/* |
| 4261 |
* Outside |
| 4262 |
* 1. Prevent scrollbar on small devices |
| 4263 |
*/ |
| 4264 |
.bdt-modal-close-outside { |
| 4265 |
top: 0; |
| 4266 |
/* 1 */ |
| 4267 |
right: -5px; |
| 4268 |
transform: translate(0, -100%); |
| 4269 |
color: #ffffff; |
| 4270 |
} |
| 4271 |
.bdt-modal-close-outside:hover { |
| 4272 |
color: #fff; |
| 4273 |
} |
| 4274 |
/* Tablet landscape and bigger */ |
| 4275 |
@media (min-width: 960px) { |
| 4276 |
/* 1 */ |
| 4277 |
.bdt-modal-close-outside { |
| 4278 |
right: 0; |
| 4279 |
transform: translate(100%, -100%); |
| 4280 |
} |
| 4281 |
} |
| 4282 |
/* |
| 4283 |
* Full |
| 4284 |
*/ |
| 4285 |
/* ======================================================================== |
| 4286 |
Component: Lightbox |
| 4287 |
========================================================================== */ |
| 4288 |
/* |
| 4289 |
* 1. Hide by default |
| 4290 |
* 2. Set position |
| 4291 |
* 3. Allow scrolling for the modal dialog |
| 4292 |
* 4. Horizontal padding |
| 4293 |
* 5. Mask the background page |
| 4294 |
* 6. Fade-in transition |
| 4295 |
* 7. Prevent cancellation of pointer events while dragging |
| 4296 |
*/ |
| 4297 |
.bdt-lightbox { |
| 4298 |
/* 1 */ |
| 4299 |
display: none; |
| 4300 |
/* 2 */ |
| 4301 |
position: fixed; |
| 4302 |
top: 0; |
| 4303 |
right: 0; |
| 4304 |
bottom: 0; |
| 4305 |
left: 0; |
| 4306 |
z-index: 1010; |
| 4307 |
/* 5 */ |
| 4308 |
background: #000; |
| 4309 |
/* 6 */ |
| 4310 |
opacity: 0; |
| 4311 |
transition: opacity 0.15s linear; |
| 4312 |
/* 7 */ |
| 4313 |
touch-action: pinch-zoom; |
| 4314 |
} |
| 4315 |
/* |
| 4316 |
* Open |
| 4317 |
* 1. Center child |
| 4318 |
* 2. Fade-in |
| 4319 |
*/ |
| 4320 |
.bdt-lightbox.bdt-open { |
| 4321 |
display: block; |
| 4322 |
/* 2 */ |
| 4323 |
opacity: 1; |
| 4324 |
} |
| 4325 |
/* |
| 4326 |
* Focus |
| 4327 |
*/ |
| 4328 |
.bdt-lightbox :focus { |
| 4329 |
outline-color: rgba(255, 255, 255, 0.7); |
| 4330 |
} |
| 4331 |
.bdt-lightbox :focus-visible { |
| 4332 |
outline-color: rgba(255, 255, 255, 0.7); |
| 4333 |
} |
| 4334 |
/* Page |
| 4335 |
========================================================================== */ |
| 4336 |
/* |
| 4337 |
* Prevent scrollbars |
| 4338 |
*/ |
| 4339 |
.bdt-lightbox-page { |
| 4340 |
overflow: hidden; |
| 4341 |
} |
| 4342 |
/* Item |
| 4343 |
========================================================================== */ |
| 4344 |
/* |
| 4345 |
* 1. Center child within the viewport |
| 4346 |
* 2. Not visible by default |
| 4347 |
* 3. Color needed for spinner icon |
| 4348 |
* 4. Optimize animation |
| 4349 |
* 5. Responsiveness |
| 4350 |
* Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera |
| 4351 |
*/ |
| 4352 |
.bdt-lightbox-items > * { |
| 4353 |
/* 1 */ |
| 4354 |
position: absolute; |
| 4355 |
top: 0; |
| 4356 |
right: 0; |
| 4357 |
bottom: 0; |
| 4358 |
left: 0; |
| 4359 |
/* 2 */ |
| 4360 |
display: none; |
| 4361 |
justify-content: center; |
| 4362 |
align-items: center; |
| 4363 |
/* 3 */ |
| 4364 |
color: rgba(255, 255, 255, 0.7); |
| 4365 |
/* 4 */ |
| 4366 |
will-change: transform, opacity; |
| 4367 |
} |
| 4368 |
/* 5 */ |
| 4369 |
.bdt-lightbox-items > * > * { |
| 4370 |
max-width: 100vw; |
| 4371 |
max-height: 100vh; |
| 4372 |
} |
| 4373 |
.bdt-lightbox-items > * > :not(iframe) { |
| 4374 |
width: auto; |
| 4375 |
height: auto; |
| 4376 |
} |
| 4377 |
.bdt-lightbox-items > .bdt-active { |
| 4378 |
display: flex; |
| 4379 |
} |
| 4380 |
/* Toolbar |
| 4381 |
========================================================================== */ |
| 4382 |
.bdt-lightbox-toolbar { |
| 4383 |
padding: 10px 10px; |
| 4384 |
background: rgba(0, 0, 0, 0.3); |
| 4385 |
color: rgba(255, 255, 255, 0.7); |
| 4386 |
} |
| 4387 |
.bdt-lightbox-toolbar > * { |
| 4388 |
color: rgba(255, 255, 255, 0.7); |
| 4389 |
} |
| 4390 |
/* Toolbar Icon (Close) |
| 4391 |
========================================================================== */ |
| 4392 |
.bdt-lightbox-toolbar-icon { |
| 4393 |
padding: 5px; |
| 4394 |
color: rgba(255, 255, 255, 0.7); |
| 4395 |
} |
| 4396 |
/* |
| 4397 |
* Hover |
| 4398 |
*/ |
| 4399 |
.bdt-lightbox-toolbar-icon:hover { |
| 4400 |
color: #fff; |
| 4401 |
} |
| 4402 |
/* Button (Slidenav) |
| 4403 |
========================================================================== */ |
| 4404 |
/* |
| 4405 |
* 1. Center icon vertically and horizontally |
| 4406 |
*/ |
| 4407 |
.bdt-lightbox-button { |
| 4408 |
box-sizing: border-box; |
| 4409 |
width: 50px; |
| 4410 |
height: 50px; |
| 4411 |
background: rgba(0, 0, 0, 0.3); |
| 4412 |
color: rgba(255, 255, 255, 0.7); |
| 4413 |
/* 1 */ |
| 4414 |
display: inline-flex; |
| 4415 |
justify-content: center; |
| 4416 |
align-items: center; |
| 4417 |
} |
| 4418 |
/* Hover */ |
| 4419 |
.bdt-lightbox-button:hover { |
| 4420 |
color: #fff; |
| 4421 |
} |
| 4422 |
/* OnClick */ |
| 4423 |
/* Caption |
| 4424 |
========================================================================== */ |
| 4425 |
.bdt-lightbox-caption:empty { |
| 4426 |
display: none; |
| 4427 |
} |
| 4428 |
/* Iframe |
| 4429 |
========================================================================== */ |
| 4430 |
.bdt-lightbox-iframe { |
| 4431 |
width: 80%; |
| 4432 |
height: 80%; |
| 4433 |
} |
| 4434 |
/* ======================================================================== |
| 4435 |
Component: Slideshow |
| 4436 |
========================================================================== */ |
| 4437 |
/* |
| 4438 |
* 1. Prevent tab highlighting on iOS. |
| 4439 |
*/ |
| 4440 |
.bdt-slideshow { |
| 4441 |
/* 1 */ |
| 4442 |
-webkit-tap-highlight-color: transparent; |
| 4443 |
} |
| 4444 |
/* Items |
| 4445 |
========================================================================== */ |
| 4446 |
/* |
| 4447 |
* 1. Create position and stacking context |
| 4448 |
* 2. Reset list |
| 4449 |
* 3. Clip child elements |
| 4450 |
* 4. Prevent displaying the callout information on iOS. |
| 4451 |
* 5. Disable horizontal panning gestures |
| 4452 |
*/ |
| 4453 |
.bdt-slideshow-items { |
| 4454 |
/* 1 */ |
| 4455 |
position: relative; |
| 4456 |
z-index: 0; |
| 4457 |
/* 2 */ |
| 4458 |
margin: 0; |
| 4459 |
padding: 0; |
| 4460 |
list-style: none; |
| 4461 |
/* 3 */ |
| 4462 |
overflow: hidden; |
| 4463 |
/* 4 */ |
| 4464 |
-webkit-touch-callout: none; |
| 4465 |
/* 5 */ |
| 4466 |
touch-action: pan-y; |
| 4467 |
} |
| 4468 |
/* Item |
| 4469 |
========================================================================== */ |
| 4470 |
/* |
| 4471 |
* 1. Position items above each other |
| 4472 |
* 2. Take the full width |
| 4473 |
* 3. Clip child elements, e.g. for `bdt-cover` |
| 4474 |
* 4. Optimize animation |
| 4475 |
*/ |
| 4476 |
.bdt-slideshow-items > * { |
| 4477 |
/* 1 */ |
| 4478 |
position: absolute; |
| 4479 |
top: 0; |
| 4480 |
left: 0; |
| 4481 |
/* 2 */ |
| 4482 |
right: 0; |
| 4483 |
bottom: 0; |
| 4484 |
/* 3 */ |
| 4485 |
overflow: hidden; |
| 4486 |
/* 4 */ |
| 4487 |
will-change: transform, opacity; |
| 4488 |
} |
| 4489 |
/* |
| 4490 |
* Hide not active items |
| 4491 |
*/ |
| 4492 |
.bdt-slideshow-items > :not(.bdt-active) { |
| 4493 |
display: none; |
| 4494 |
} |
| 4495 |
/* ======================================================================== |
| 4496 |
Component: Slider |
| 4497 |
========================================================================== */ |
| 4498 |
/* |
| 4499 |
* 1. Prevent tab highlighting on iOS. |
| 4500 |
*/ |
| 4501 |
.bdt-slider { |
| 4502 |
/* 1 */ |
| 4503 |
-webkit-tap-highlight-color: transparent; |
| 4504 |
} |
| 4505 |
/* Container |
| 4506 |
========================================================================== */ |
| 4507 |
/* |
| 4508 |
* Clip child elements |
| 4509 |
*/ |
| 4510 |
.bdt-slider-container { |
| 4511 |
overflow: hidden; |
| 4512 |
} |
| 4513 |
/* |
| 4514 |
* Widen container to prevent box-shadows from clipping, `large-box-shadow` |
| 4515 |
*/ |
| 4516 |
.bdt-slider-container-offset { |
| 4517 |
margin: -11px -25px -39px -25px; |
| 4518 |
padding: 11px 25px 39px 25px; |
| 4519 |
} |
| 4520 |
/* Items |
| 4521 |
========================================================================== */ |
| 4522 |
/* |
| 4523 |
* 1. Optimize animation |
| 4524 |
* 2. Create a containing block. In Safari it's neither created by `transform` nor `will-change`. |
| 4525 |
* 3. Disable horizontal panning gestures |
| 4526 |
*/ |
| 4527 |
.bdt-slider-items { |
| 4528 |
/* 1 */ |
| 4529 |
will-change: transform; |
| 4530 |
/* 2 */ |
| 4531 |
position: relative; |
| 4532 |
/* 3 */ |
| 4533 |
touch-action: pan-y; |
| 4534 |
} |
| 4535 |
/* |
| 4536 |
* 1. Reset list style without interfering with grid |
| 4537 |
* 2. Prevent displaying the callout information on iOS. |
| 4538 |
*/ |
| 4539 |
.bdt-slider-items:not(.bdt-grid) { |
| 4540 |
display: flex; |
| 4541 |
/* 1 */ |
| 4542 |
margin: 0; |
| 4543 |
padding: 0; |
| 4544 |
list-style: none; |
| 4545 |
/* 2 */ |
| 4546 |
-webkit-touch-callout: none; |
| 4547 |
} |
| 4548 |
.bdt-slider-items.bdt-grid { |
| 4549 |
flex-wrap: nowrap; |
| 4550 |
} |
| 4551 |
/* Item |
| 4552 |
========================================================================== */ |
| 4553 |
/* |
| 4554 |
* 1. Let items take content dimensions (0 0 auto) |
| 4555 |
* `max-width` needed to keep image responsiveness and prevent content overflow |
| 4556 |
* 3. Create position context |
| 4557 |
*/ |
| 4558 |
.bdt-slider-items > * { |
| 4559 |
/* 1 */ |
| 4560 |
flex: none; |
| 4561 |
max-width: 100%; |
| 4562 |
/* 3 */ |
| 4563 |
position: relative; |
| 4564 |
} |
| 4565 |
/* ======================================================================== |
| 4566 |
Component: Sticky |
| 4567 |
========================================================================== */ |
| 4568 |
/* |
| 4569 |
* Create position context so it's t the same like when fixed. |
| 4570 |
*/ |
| 4571 |
.bdt-sticky { |
| 4572 |
position: relative; |
| 4573 |
} |
| 4574 |
/* |
| 4575 |
* 1. Force new layer to resolve frame rate issues on devices with lower frame rates |
| 4576 |
*/ |
| 4577 |
.bdt-sticky-fixed { |
| 4578 |
z-index: 980; |
| 4579 |
box-sizing: border-box; |
| 4580 |
margin: 0 !important; |
| 4581 |
/* 1 */ |
| 4582 |
-webkit-backface-visibility: hidden; |
| 4583 |
backface-visibility: hidden; |
| 4584 |
} |
| 4585 |
/* |
| 4586 |
* Faster animations |
| 4587 |
*/ |
| 4588 |
.bdt-sticky[class*='bdt-animation-'] { |
| 4589 |
animation-duration: 0.2s; |
| 4590 |
} |
| 4591 |
.bdt-sticky.bdt-animation-reverse { |
| 4592 |
animation-duration: 0.2s; |
| 4593 |
} |
| 4594 |
/* ======================================================================== |
| 4595 |
Component: Off-canvas |
| 4596 |
========================================================================== */ |
| 4597 |
/* |
| 4598 |
* 1. Hide by default |
| 4599 |
* 2. Set position |
| 4600 |
*/ |
| 4601 |
.bdt-offcanvas { |
| 4602 |
/* 1 */ |
| 4603 |
display: none; |
| 4604 |
/* 2 */ |
| 4605 |
position: fixed; |
| 4606 |
top: 0; |
| 4607 |
bottom: 0; |
| 4608 |
left: 0; |
| 4609 |
z-index: 1000; |
| 4610 |
} |
| 4611 |
/* |
| 4612 |
* Flip modifier |
| 4613 |
*/ |
| 4614 |
.bdt-offcanvas-flip .bdt-offcanvas { |
| 4615 |
right: 0; |
| 4616 |
left: auto; |
| 4617 |
} |
| 4618 |
/* Bar |
| 4619 |
========================================================================== */ |
| 4620 |
/* |
| 4621 |
* 1. Set position |
| 4622 |
* 2. Size and style |
| 4623 |
* 3. Allow scrolling |
| 4624 |
*/ |
| 4625 |
.bdt-offcanvas-bar { |
| 4626 |
/* 1 */ |
| 4627 |
position: absolute; |
| 4628 |
top: 0; |
| 4629 |
bottom: 0; |
| 4630 |
left: -270px; |
| 4631 |
/* 2 */ |
| 4632 |
box-sizing: border-box; |
| 4633 |
width: 270px; |
| 4634 |
padding: 20px 20px; |
| 4635 |
background: #222; |
| 4636 |
/* 3 */ |
| 4637 |
overflow-y: auto; |
| 4638 |
-webkit-overflow-scrolling: touch; |
| 4639 |
} |
| 4640 |
/* Tablet landscape and bigger */ |
| 4641 |
@media (min-width: 960px) { |
| 4642 |
.bdt-offcanvas-bar { |
| 4643 |
left: -350px; |
| 4644 |
width: 350px; |
| 4645 |
padding: 40px 40px; |
| 4646 |
} |
| 4647 |
} |
| 4648 |
/* Flip modifier */ |
| 4649 |
.bdt-offcanvas-flip .bdt-offcanvas-bar { |
| 4650 |
left: auto; |
| 4651 |
right: -270px; |
| 4652 |
} |
| 4653 |
/* Tablet landscape and bigger */ |
| 4654 |
@media (min-width: 960px) { |
| 4655 |
.bdt-offcanvas-flip .bdt-offcanvas-bar { |
| 4656 |
right: -350px; |
| 4657 |
} |
| 4658 |
} |
| 4659 |
/* |
| 4660 |
* Open |
| 4661 |
*/ |
| 4662 |
.bdt-open > .bdt-offcanvas-bar { |
| 4663 |
left: 0; |
| 4664 |
} |
| 4665 |
.bdt-offcanvas-flip .bdt-open > .bdt-offcanvas-bar { |
| 4666 |
left: auto; |
| 4667 |
right: 0; |
| 4668 |
} |
| 4669 |
/* |
| 4670 |
* Slide Animation (Used in slide and push mode) |
| 4671 |
*/ |
| 4672 |
.bdt-offcanvas-bar-animation { |
| 4673 |
transition: left 0.3s ease-out; |
| 4674 |
} |
| 4675 |
.bdt-offcanvas-flip .bdt-offcanvas-bar-animation { |
| 4676 |
transition-property: right; |
| 4677 |
} |
| 4678 |
/* |
| 4679 |
* Reveal Animation |
| 4680 |
* 1. Set position |
| 4681 |
* 2. Clip the bar |
| 4682 |
* 3. Animation |
| 4683 |
* 4. Reset position |
| 4684 |
*/ |
| 4685 |
.bdt-offcanvas-reveal { |
| 4686 |
/* 1 */ |
| 4687 |
position: absolute; |
| 4688 |
top: 0; |
| 4689 |
bottom: 0; |
| 4690 |
left: 0; |
| 4691 |
/* 2 */ |
| 4692 |
width: 0; |
| 4693 |
overflow: hidden; |
| 4694 |
/* 3 */ |
| 4695 |
transition: width 0.3s ease-out; |
| 4696 |
} |
| 4697 |
.bdt-offcanvas-reveal .bdt-offcanvas-bar { |
| 4698 |
/* 4 */ |
| 4699 |
left: 0; |
| 4700 |
} |
| 4701 |
.bdt-offcanvas-flip .bdt-offcanvas-reveal .bdt-offcanvas-bar { |
| 4702 |
/* 4 */ |
| 4703 |
left: auto; |
| 4704 |
right: 0; |
| 4705 |
} |
| 4706 |
.bdt-open > .bdt-offcanvas-reveal { |
| 4707 |
width: 270px; |
| 4708 |
} |
| 4709 |
/* Tablet landscape and bigger */ |
| 4710 |
@media (min-width: 960px) { |
| 4711 |
.bdt-open > .bdt-offcanvas-reveal { |
| 4712 |
width: 350px; |
| 4713 |
} |
| 4714 |
} |
| 4715 |
/* |
| 4716 |
* Flip modifier |
| 4717 |
*/ |
| 4718 |
.bdt-offcanvas-flip .bdt-offcanvas-reveal { |
| 4719 |
right: 0; |
| 4720 |
left: auto; |
| 4721 |
} |
| 4722 |
/* Close |
| 4723 |
* Adopts `bdt-close` |
| 4724 |
========================================================================== */ |
| 4725 |
.bdt-offcanvas-close { |
| 4726 |
position: absolute; |
| 4727 |
z-index: 1000; |
| 4728 |
top: 20px; |
| 4729 |
right: 20px; |
| 4730 |
padding: 5px; |
| 4731 |
} |
| 4732 |
/* Overlay |
| 4733 |
========================================================================== */ |
| 4734 |
/* |
| 4735 |
* Overlay the whole page. Needed for the `::before` |
| 4736 |
* 1. Using `100vw` so no modification is needed when off-canvas is flipped |
| 4737 |
* 2. Allow for closing with swipe gesture on devices with pointer events. |
| 4738 |
*/ |
| 4739 |
.bdt-offcanvas-overlay { |
| 4740 |
/* 1 */ |
| 4741 |
width: 100vw; |
| 4742 |
/* 2 */ |
| 4743 |
touch-action: none; |
| 4744 |
} |
| 4745 |
/* |
| 4746 |
* 1. Mask the whole page |
| 4747 |
* 2. Fade-in transition |
| 4748 |
*/ |
| 4749 |
.bdt-offcanvas-overlay::before { |
| 4750 |
/* 1 */ |
| 4751 |
content: ""; |
| 4752 |
position: absolute; |
| 4753 |
top: 0; |
| 4754 |
bottom: 0; |
| 4755 |
left: 0; |
| 4756 |
right: 0; |
| 4757 |
background: rgba(0, 0, 0, 0.1); |
| 4758 |
/* 2 */ |
| 4759 |
opacity: 0; |
| 4760 |
transition: opacity 0.15s linear; |
| 4761 |
} |
| 4762 |
.bdt-offcanvas-overlay.bdt-open::before { |
| 4763 |
opacity: 1; |
| 4764 |
} |
| 4765 |
/* Prevent scrolling |
| 4766 |
========================================================================== */ |
| 4767 |
/* |
| 4768 |
* Prevent horizontal scrollbar when the content is slide-out |
| 4769 |
* Has to be on the `html` element too to make it work on the `body` |
| 4770 |
*/ |
| 4771 |
.bdt-offcanvas-page, |
| 4772 |
.bdt-offcanvas-container { |
| 4773 |
overflow-x: hidden; |
| 4774 |
} |
| 4775 |
/* Container |
| 4776 |
========================================================================== */ |
| 4777 |
/* |
| 4778 |
* Prepare slide-out animation (Used in reveal and push mode) |
| 4779 |
* Using `position: left` instead of `transform` because position `fixed` elements like sticky navbars |
| 4780 |
* lose their fixed state and behaves like `absolute` within a transformed container |
| 4781 |
* 1. Provide a fixed width and prevent shrinking |
| 4782 |
*/ |
| 4783 |
.bdt-offcanvas-container { |
| 4784 |
position: relative; |
| 4785 |
left: 0; |
| 4786 |
transition: left 0.3s ease-out; |
| 4787 |
/* 1 */ |
| 4788 |
box-sizing: border-box; |
| 4789 |
width: 100%; |
| 4790 |
} |
| 4791 |
/* |
| 4792 |
* Activate slide-out animation |
| 4793 |
*/ |
| 4794 |
:not(.bdt-offcanvas-flip).bdt-offcanvas-container-animation { |
| 4795 |
left: 270px; |
| 4796 |
} |
| 4797 |
.bdt-offcanvas-flip.bdt-offcanvas-container-animation { |
| 4798 |
left: -270px; |
| 4799 |
} |
| 4800 |
/* Tablet landscape and bigger */ |
| 4801 |
@media (min-width: 960px) { |
| 4802 |
:not(.bdt-offcanvas-flip).bdt-offcanvas-container-animation { |
| 4803 |
left: 350px; |
| 4804 |
} |
| 4805 |
.bdt-offcanvas-flip.bdt-offcanvas-container-animation { |
| 4806 |
left: -350px; |
| 4807 |
} |
| 4808 |
} |
| 4809 |
/* ======================================================================== |
| 4810 |
Component: Switcher |
| 4811 |
========================================================================== */ |
| 4812 |
/* |
| 4813 |
* Reset list |
| 4814 |
*/ |
| 4815 |
.bdt-switcher { |
| 4816 |
margin: 0; |
| 4817 |
padding: 0; |
| 4818 |
list-style: none; |
| 4819 |
} |
| 4820 |
/* Items |
| 4821 |
========================================================================== */ |
| 4822 |
/* |
| 4823 |
* Hide not active items |
| 4824 |
*/ |
| 4825 |
.bdt-switcher > :not(.bdt-active) { |
| 4826 |
display: none; |
| 4827 |
} |
| 4828 |
/* |
| 4829 |
* Remove margin from the last-child |
| 4830 |
*/ |
| 4831 |
.bdt-switcher > * > :last-child { |
| 4832 |
margin-bottom: 0; |
| 4833 |
} |
| 4834 |
/* ======================================================================== |
| 4835 |
Component: Leader |
| 4836 |
========================================================================== */ |
| 4837 |
.bdt-leader { |
| 4838 |
overflow: hidden; |
| 4839 |
} |
| 4840 |
/* |
| 4841 |
* 1. Place element in text flow |
| 4842 |
* 2. Never break into a new line |
| 4843 |
* 3. Get a string back with as many repeating characters to fill the container |
| 4844 |
* 4. Prevent wrapping. Overflowing characters will be clipped by the container |
| 4845 |
*/ |
| 4846 |
.bdt-leader-fill::after { |
| 4847 |
/* 1 */ |
| 4848 |
display: inline-block; |
| 4849 |
margin-left: 15px; |
| 4850 |
/* 2 */ |
| 4851 |
width: 0; |
| 4852 |
/* 3 */ |
| 4853 |
content: attr(data-fill); |
| 4854 |
/* 4 */ |
| 4855 |
white-space: nowrap; |
| 4856 |
} |
| 4857 |
/* |
| 4858 |
* Hide if media does not match |
| 4859 |
*/ |
| 4860 |
.bdt-leader-fill.bdt-leader-hide::after { |
| 4861 |
display: none; |
| 4862 |
} |
| 4863 |
/* |
| 4864 |
* Pass fill character to JS |
| 4865 |
*/ |
| 4866 |
:root { |
| 4867 |
--bdt-leader-fill-content: '.'; |
| 4868 |
} |
| 4869 |
/* ======================================================================== |
| 4870 |
Component: Iconnav |
| 4871 |
========================================================================== */ |
| 4872 |
/* |
| 4873 |
* 1. Allow items to wrap into the next line |
| 4874 |
* 2. Reset list |
| 4875 |
* 3. Gutter |
| 4876 |
*/ |
| 4877 |
.bdt-iconnav { |
| 4878 |
display: flex; |
| 4879 |
/* 1 */ |
| 4880 |
flex-wrap: wrap; |
| 4881 |
/* 2 */ |
| 4882 |
margin: 0; |
| 4883 |
padding: 0; |
| 4884 |
list-style: none; |
| 4885 |
/* 3 */ |
| 4886 |
margin-left: -10px; |
| 4887 |
} |
| 4888 |
/* |
| 4889 |
* Space is allocated based on content dimensions, but shrinks: 0 1 auto |
| 4890 |
* 1. Gutter |
| 4891 |
*/ |
| 4892 |
.bdt-iconnav > * { |
| 4893 |
/* 1 */ |
| 4894 |
padding-left: 10px; |
| 4895 |
} |
| 4896 |
/* Items |
| 4897 |
========================================================================== */ |
| 4898 |
/* |
| 4899 |
* Items must target `a` elements to exclude other elements (e.g. dropdowns) |
| 4900 |
* 1. Center content vertically if there is still some text |
| 4901 |
* 2. Imitate white space gap when using flexbox |
| 4902 |
* 3. Force text not to affect item height |
| 4903 |
* 4. Style |
| 4904 |
* 5. Required for `a` if there is still some text |
| 4905 |
*/ |
| 4906 |
.bdt-iconnav > * > a { |
| 4907 |
/* 1 */ |
| 4908 |
display: flex; |
| 4909 |
align-items: center; |
| 4910 |
/* 2 */ |
| 4911 |
column-gap: 0.25em; |
| 4912 |
/* 3 */ |
| 4913 |
line-height: 0; |
| 4914 |
/* 4 */ |
| 4915 |
color: #999; |
| 4916 |
/* 5 */ |
| 4917 |
text-decoration: none; |
| 4918 |
} |
| 4919 |
/* Hover */ |
| 4920 |
.bdt-iconnav > * > a:hover { |
| 4921 |
color: #666; |
| 4922 |
} |
| 4923 |
/* Active */ |
| 4924 |
.bdt-iconnav > .bdt-active > a { |
| 4925 |
color: #666; |
| 4926 |
} |
| 4927 |
/* Modifier: 'bdt-iconnav-vertical' |
| 4928 |
========================================================================== */ |
| 4929 |
/* |
| 4930 |
* 1. Change direction |
| 4931 |
* 2. Gutter |
| 4932 |
*/ |
| 4933 |
.bdt-iconnav-vertical { |
| 4934 |
/* 1 */ |
| 4935 |
flex-direction: column; |
| 4936 |
/* 2 */ |
| 4937 |
margin-left: 0; |
| 4938 |
margin-top: -10px; |
| 4939 |
} |
| 4940 |
/* 2 */ |
| 4941 |
.bdt-iconnav-vertical > * { |
| 4942 |
padding-left: 0; |
| 4943 |
padding-top: 10px; |
| 4944 |
} |
| 4945 |
/* ======================================================================== |
| 4946 |
Component: Notification |
| 4947 |
========================================================================== */ |
| 4948 |
/* |
| 4949 |
* 1. Set position |
| 4950 |
* 2. Dimensions |
| 4951 |
*/ |
| 4952 |
.bdt-notification { |
| 4953 |
/* 1 */ |
| 4954 |
position: fixed; |
| 4955 |
top: 10px; |
| 4956 |
left: 10px; |
| 4957 |
z-index: 1040; |
| 4958 |
/* 2 */ |
| 4959 |
box-sizing: border-box; |
| 4960 |
width: 450px; |
| 4961 |
} |
| 4962 |
/* Position modifiers |
| 4963 |
========================================================================== */ |
| 4964 |
.bdt-notification-top-right, |
| 4965 |
.bdt-notification-bottom-right { |
| 4966 |
left: auto; |
| 4967 |
right: 10px; |
| 4968 |
} |
| 4969 |
.bdt-notification-top-center, |
| 4970 |
.bdt-notification-bottom-center { |
| 4971 |
left: 50%; |
| 4972 |
margin-left: -225px; |
| 4973 |
} |
| 4974 |
.bdt-notification-bottom-left, |
| 4975 |
.bdt-notification-bottom-right, |
| 4976 |
.bdt-notification-bottom-center { |
| 4977 |
top: auto; |
| 4978 |
bottom: 10px; |
| 4979 |
} |
| 4980 |
/* Responsiveness |
| 4981 |
========================================================================== */ |
| 4982 |
/* Phones portrait and smaller */ |
| 4983 |
@media (max-width: 639px) { |
| 4984 |
.bdt-notification { |
| 4985 |
left: 10px; |
| 4986 |
right: 10px; |
| 4987 |
width: auto; |
| 4988 |
margin: 0; |
| 4989 |
} |
| 4990 |
} |
| 4991 |
/* Message |
| 4992 |
========================================================================== */ |
| 4993 |
.bdt-notification-message { |
| 4994 |
position: relative; |
| 4995 |
padding: 15px; |
| 4996 |
background: #f8f8f8; |
| 4997 |
color: #666; |
| 4998 |
font-size: 1.25rem; |
| 4999 |
line-height: 1.4; |
| 5000 |
cursor: pointer; |
| 5001 |
} |
| 5002 |
* + .bdt-notification-message { |
| 5003 |
margin-top: 10px; |
| 5004 |
} |
| 5005 |
/* Close |
| 5006 |
* Adopts `bdt-close` |
| 5007 |
========================================================================== */ |
| 5008 |
.bdt-notification-close { |
| 5009 |
display: none; |
| 5010 |
position: absolute; |
| 5011 |
top: 20px; |
| 5012 |
right: 15px; |
| 5013 |
} |
| 5014 |
.bdt-notification-message:hover .bdt-notification-close { |
| 5015 |
display: block; |
| 5016 |
} |
| 5017 |
/* Style modifiers |
| 5018 |
========================================================================== */ |
| 5019 |
/* |
| 5020 |
* Primary |
| 5021 |
*/ |
| 5022 |
.bdt-notification-message-primary { |
| 5023 |
color: #1e87f0; |
| 5024 |
} |
| 5025 |
/* |
| 5026 |
* Success |
| 5027 |
*/ |
| 5028 |
.bdt-notification-message-success { |
| 5029 |
color: #32d296; |
| 5030 |
} |
| 5031 |
/* |
| 5032 |
* Warning |
| 5033 |
*/ |
| 5034 |
.bdt-notification-message-warning { |
| 5035 |
color: #faa05a; |
| 5036 |
} |
| 5037 |
/* |
| 5038 |
* Danger |
| 5039 |
*/ |
| 5040 |
.bdt-notification-message-danger { |
| 5041 |
color: #f0506e; |
| 5042 |
} |
| 5043 |
/* ======================================================================== |
| 5044 |
Component: Tooltip |
| 5045 |
========================================================================== */ |
| 5046 |
/* |
| 5047 |
* 1. Hide by default |
| 5048 |
* 2. Position |
| 5049 |
* 3. Remove tooltip from document flow to keep the UIkit container from changing its size when injected into the document initially |
| 5050 |
* 4. Dimensions |
| 5051 |
* 5. Style |
| 5052 |
*/ |
| 5053 |
.bdt-tooltip { |
| 5054 |
/* 1 */ |
| 5055 |
display: none; |
| 5056 |
/* 2 */ |
| 5057 |
position: absolute; |
| 5058 |
z-index: 1030; |
| 5059 |
/* 3 */ |
| 5060 |
top: 0; |
| 5061 |
/* 4 */ |
| 5062 |
box-sizing: border-box; |
| 5063 |
max-width: 200px; |
| 5064 |
padding: 3px 6px; |
| 5065 |
/* 5 */ |
| 5066 |
background: #666; |
| 5067 |
border-radius: 2px; |
| 5068 |
color: #fff; |
| 5069 |
font-size: 12px; |
| 5070 |
} |
| 5071 |
/* Show */ |
| 5072 |
.bdt-tooltip.bdt-active { |
| 5073 |
display: block; |
| 5074 |
} |
| 5075 |
/* Direction / Alignment modifiers |
| 5076 |
========================================================================== */ |
| 5077 |
/* Direction */ |
| 5078 |
[class*='bdt-tooltip-top'] { |
| 5079 |
margin-top: -10px; |
| 5080 |
} |
| 5081 |
[class*='bdt-tooltip-bottom'] { |
| 5082 |
margin-top: 10px; |
| 5083 |
} |
| 5084 |
[class*='bdt-tooltip-left'] { |
| 5085 |
margin-left: -10px; |
| 5086 |
} |
| 5087 |
[class*='bdt-tooltip-right'] { |
| 5088 |
margin-left: 10px; |
| 5089 |
} |
| 5090 |
/* ======================================================================== |
| 5091 |
Component: Placeholder |
| 5092 |
========================================================================== */ |
| 5093 |
.bdt-placeholder { |
| 5094 |
margin-bottom: 20px; |
| 5095 |
padding: 30px 30px; |
| 5096 |
background: #f8f8f8; |
| 5097 |
} |
| 5098 |
/* Add margin if adjacent element */ |
| 5099 |
* + .bdt-placeholder { |
| 5100 |
margin-top: 20px; |
| 5101 |
} |
| 5102 |
/* |
| 5103 |
* Remove margin from the last-child |
| 5104 |
*/ |
| 5105 |
.bdt-placeholder > :last-child { |
| 5106 |
margin-bottom: 0; |
| 5107 |
} |
| 5108 |
/* ======================================================================== |
| 5109 |
Component: Progress |
| 5110 |
========================================================================== */ |
| 5111 |
/* |
| 5112 |
* 1. Add the correct vertical alignment in all browsers. |
| 5113 |
* 2. Behave like a block element. |
| 5114 |
* 3. Remove borders in Firefox. |
| 5115 |
* 4. Remove default style in Chrome, Safari and Edge. |
| 5116 |
* 5. Style |
| 5117 |
*/ |
| 5118 |
.bdt-progress { |
| 5119 |
/* 1 */ |
| 5120 |
vertical-align: baseline; |
| 5121 |
/* 2 */ |
| 5122 |
display: block; |
| 5123 |
width: 100%; |
| 5124 |
/* 3 */ |
| 5125 |
border: 0; |
| 5126 |
/* 4 */ |
| 5127 |
background-color: #f8f8f8; |
| 5128 |
/* 5 */ |
| 5129 |
margin-bottom: 20px; |
| 5130 |
height: 15px; |
| 5131 |
} |
| 5132 |
/* Add margin if adjacent element */ |
| 5133 |
* + .bdt-progress { |
| 5134 |
margin-top: 20px; |
| 5135 |
} |
| 5136 |
/* |
| 5137 |
* Show background color set on `bdt-progress` in Chrome, Safari and Edge. |
| 5138 |
*/ |
| 5139 |
.bdt-progress::-webkit-progress-bar { |
| 5140 |
background-color: transparent; |
| 5141 |
} |
| 5142 |
/* |
| 5143 |
* Progress Bar |
| 5144 |
* 1. Transitions don't work on `::-moz-progress-bar` pseudo element in Firefox yet. |
| 5145 |
* https://bugzilla.mozilla.org/show_bug.cgi?id=662351 |
| 5146 |
*/ |
| 5147 |
.bdt-progress::-webkit-progress-value { |
| 5148 |
background-color: #1e87f0; |
| 5149 |
transition: width 0.6s ease; |
| 5150 |
} |
| 5151 |
.bdt-progress::-moz-progress-bar { |
| 5152 |
background-color: #1e87f0; |
| 5153 |
/* 1 */ |
| 5154 |
transition: width 0.6s ease; |
| 5155 |
} |
| 5156 |
/* ======================================================================== |
| 5157 |
Component: Sortable |
| 5158 |
========================================================================== */ |
| 5159 |
.bdt-sortable { |
| 5160 |
position: relative; |
| 5161 |
} |
| 5162 |
/* |
| 5163 |
* Remove margin from the last-child |
| 5164 |
*/ |
| 5165 |
.bdt-sortable > :last-child { |
| 5166 |
margin-bottom: 0; |
| 5167 |
} |
| 5168 |
/* Drag |
| 5169 |
========================================================================== */ |
| 5170 |
.bdt-sortable-drag { |
| 5171 |
position: fixed !important; |
| 5172 |
z-index: 1050 !important; |
| 5173 |
pointer-events: none; |
| 5174 |
} |
| 5175 |
/* Placeholder |
| 5176 |
========================================================================== */ |
| 5177 |
.bdt-sortable-placeholder { |
| 5178 |
opacity: 0; |
| 5179 |
pointer-events: none; |
| 5180 |
} |
| 5181 |
/* Empty modifier |
| 5182 |
========================================================================== */ |
| 5183 |
.bdt-sortable-empty { |
| 5184 |
min-height: 50px; |
| 5185 |
} |
| 5186 |
/* Handle |
| 5187 |
========================================================================== */ |
| 5188 |
/* Hover */ |
| 5189 |
.bdt-sortable-handle:hover { |
| 5190 |
cursor: move; |
| 5191 |
} |
| 5192 |
/* ======================================================================== |
| 5193 |
Component: Countdown |
| 5194 |
========================================================================== */ |
| 5195 |
/* Item |
| 5196 |
========================================================================== */ |
| 5197 |
/* Number |
| 5198 |
========================================================================== */ |
| 5199 |
/* |
| 5200 |
* 1. Make numbers all of the same size to prevent jumping. Must be supported by the font. |
| 5201 |
* 2. Style |
| 5202 |
*/ |
| 5203 |
.bdt-countdown-number { |
| 5204 |
/* 1 */ |
| 5205 |
font-variant-numeric: tabular-nums; |
| 5206 |
/* 2 */ |
| 5207 |
font-size: 2rem; |
| 5208 |
line-height: 0.8; |
| 5209 |
} |
| 5210 |
/* Phone landscape and bigger */ |
| 5211 |
@media (min-width: 640px) { |
| 5212 |
.bdt-countdown-number { |
| 5213 |
font-size: 4rem; |
| 5214 |
} |
| 5215 |
} |
| 5216 |
/* Tablet landscape and bigger */ |
| 5217 |
@media (min-width: 960px) { |
| 5218 |
.bdt-countdown-number { |
| 5219 |
font-size: 6rem; |
| 5220 |
} |
| 5221 |
} |
| 5222 |
/* Separator |
| 5223 |
========================================================================== */ |
| 5224 |
.bdt-countdown-separator { |
| 5225 |
font-size: 1rem; |
| 5226 |
line-height: 1.6; |
| 5227 |
} |
| 5228 |
/* Phone landscape and bigger */ |
| 5229 |
@media (min-width: 640px) { |
| 5230 |
.bdt-countdown-separator { |
| 5231 |
font-size: 2rem; |
| 5232 |
} |
| 5233 |
} |
| 5234 |
/* Tablet landscape and bigger */ |
| 5235 |
@media (min-width: 960px) { |
| 5236 |
.bdt-countdown-separator { |
| 5237 |
font-size: 3rem; |
| 5238 |
} |
| 5239 |
} |
| 5240 |
/* Label |
| 5241 |
========================================================================== */ |
| 5242 |
/* ======================================================================== |
| 5243 |
Component: Animation |
| 5244 |
========================================================================== */ |
| 5245 |
[class*='bdt-animation-'] { |
| 5246 |
animation: 0.5s ease-out both; |
| 5247 |
} |
| 5248 |
/* Animations |
| 5249 |
========================================================================== */ |
| 5250 |
/* |
| 5251 |
* Fade |
| 5252 |
*/ |
| 5253 |
.bdt-animation-fade { |
| 5254 |
animation-name: bdt-fade; |
| 5255 |
animation-duration: 0.8s; |
| 5256 |
animation-timing-function: linear; |
| 5257 |
} |
| 5258 |
/* |
| 5259 |
* Scale |
| 5260 |
*/ |
| 5261 |
.bdt-animation-scale-up { |
| 5262 |
animation-name: bdt-fade, bdt-scale-up; |
| 5263 |
} |
| 5264 |
.bdt-animation-scale-down { |
| 5265 |
animation-name: bdt-fade, bdt-scale-down; |
| 5266 |
} |
| 5267 |
/* |
| 5268 |
* Slide |
| 5269 |
*/ |
| 5270 |
.bdt-animation-slide-top { |
| 5271 |
animation-name: bdt-fade, bdt-slide-top; |
| 5272 |
} |
| 5273 |
.bdt-animation-slide-bottom { |
| 5274 |
animation-name: bdt-fade, bdt-slide-bottom; |
| 5275 |
} |
| 5276 |
.bdt-animation-slide-left { |
| 5277 |
animation-name: bdt-fade, bdt-slide-left; |
| 5278 |
} |
| 5279 |
.bdt-animation-slide-right { |
| 5280 |
animation-name: bdt-fade, bdt-slide-right; |
| 5281 |
} |
| 5282 |
/* |
| 5283 |
* Slide Small |
| 5284 |
*/ |
| 5285 |
.bdt-animation-slide-top-small { |
| 5286 |
animation-name: bdt-fade, bdt-slide-top-small; |
| 5287 |
} |
| 5288 |
.bdt-animation-slide-bottom-small { |
| 5289 |
animation-name: bdt-fade, bdt-slide-bottom-small; |
| 5290 |
} |
| 5291 |
.bdt-animation-slide-left-small { |
| 5292 |
animation-name: bdt-fade, bdt-slide-left-small; |
| 5293 |
} |
| 5294 |
.bdt-animation-slide-right-small { |
| 5295 |
animation-name: bdt-fade, bdt-slide-right-small; |
| 5296 |
} |
| 5297 |
/* |
| 5298 |
* Slide Medium |
| 5299 |
*/ |
| 5300 |
.bdt-animation-slide-top-medium { |
| 5301 |
animation-name: bdt-fade, bdt-slide-top-medium; |
| 5302 |
} |
| 5303 |
.bdt-animation-slide-bottom-medium { |
| 5304 |
animation-name: bdt-fade, bdt-slide-bottom-medium; |
| 5305 |
} |
| 5306 |
.bdt-animation-slide-left-medium { |
| 5307 |
animation-name: bdt-fade, bdt-slide-left-medium; |
| 5308 |
} |
| 5309 |
.bdt-animation-slide-right-medium { |
| 5310 |
animation-name: bdt-fade, bdt-slide-right-medium; |
| 5311 |
} |
| 5312 |
/* |
| 5313 |
* Kenburns |
| 5314 |
*/ |
| 5315 |
.bdt-animation-kenburns { |
| 5316 |
animation-name: bdt-kenburns; |
| 5317 |
animation-duration: 15s; |
| 5318 |
} |
| 5319 |
/* |
| 5320 |
* Shake |
| 5321 |
*/ |
| 5322 |
.bdt-animation-shake { |
| 5323 |
animation-name: bdt-shake; |
| 5324 |
} |
| 5325 |
/* |
| 5326 |
* SVG Stroke |
| 5327 |
* The `--bdt-animation-stroke` custom property contains the longest path length. |
| 5328 |
* Set it manually or use `bdt-svg="stroke-animation: true"` to set it automatically. |
| 5329 |
* All strokes are animated by the same pace and doesn't end simultaneously. |
| 5330 |
* To end simultaneously, `pathLength="1"` could be used, but it's not working in Safari yet. |
| 5331 |
*/ |
| 5332 |
.bdt-animation-stroke { |
| 5333 |
animation-name: bdt-stroke; |
| 5334 |
animation-duration: 2s; |
| 5335 |
stroke-dasharray: var(--bdt-animation-stroke); |
| 5336 |
} |
| 5337 |
/* Direction modifier |
| 5338 |
========================================================================== */ |
| 5339 |
.bdt-animation-reverse { |
| 5340 |
animation-direction: reverse; |
| 5341 |
animation-timing-function: ease-in; |
| 5342 |
} |
| 5343 |
/* Duration modifier |
| 5344 |
========================================================================== */ |
| 5345 |
.bdt-animation-fast { |
| 5346 |
animation-duration: 0.1s; |
| 5347 |
} |
| 5348 |
/* Toggle animation based on the State of the Parent Element |
| 5349 |
========================================================================== */ |
| 5350 |
.bdt-animation-toggle:not(:hover):not(:focus) [class*='bdt-animation-'] { |
| 5351 |
animation-name: none; |
| 5352 |
} |
| 5353 |
/* Keyframes used by animation classes |
| 5354 |
========================================================================== */ |
| 5355 |
/* |
| 5356 |
* Fade |
| 5357 |
*/ |
| 5358 |
@keyframes bdt-fade { |
| 5359 |
0% { |
| 5360 |
opacity: 0; |
| 5361 |
} |
| 5362 |
100% { |
| 5363 |
opacity: 1; |
| 5364 |
} |
| 5365 |
} |
| 5366 |
/* |
| 5367 |
* Scale |
| 5368 |
*/ |
| 5369 |
@keyframes bdt-scale-up { |
| 5370 |
0% { |
| 5371 |
transform: scale(0.9); |
| 5372 |
} |
| 5373 |
100% { |
| 5374 |
transform: scale(1); |
| 5375 |
} |
| 5376 |
} |
| 5377 |
@keyframes bdt-scale-down { |
| 5378 |
0% { |
| 5379 |
transform: scale(1.1); |
| 5380 |
} |
| 5381 |
100% { |
| 5382 |
transform: scale(1); |
| 5383 |
} |
| 5384 |
} |
| 5385 |
/* |
| 5386 |
* Slide |
| 5387 |
*/ |
| 5388 |
@keyframes bdt-slide-top { |
| 5389 |
0% { |
| 5390 |
transform: translateY(-100%); |
| 5391 |
} |
| 5392 |
100% { |
| 5393 |
transform: translateY(0); |
| 5394 |
} |
| 5395 |
} |
| 5396 |
@keyframes bdt-slide-bottom { |
| 5397 |
0% { |
| 5398 |
transform: translateY(100%); |
| 5399 |
} |
| 5400 |
100% { |
| 5401 |
transform: translateY(0); |
| 5402 |
} |
| 5403 |
} |
| 5404 |
@keyframes bdt-slide-left { |
| 5405 |
0% { |
| 5406 |
transform: translateX(-100%); |
| 5407 |
} |
| 5408 |
100% { |
| 5409 |
transform: translateX(0); |
| 5410 |
} |
| 5411 |
} |
| 5412 |
@keyframes bdt-slide-right { |
| 5413 |
0% { |
| 5414 |
transform: translateX(100%); |
| 5415 |
} |
| 5416 |
100% { |
| 5417 |
transform: translateX(0); |
| 5418 |
} |
| 5419 |
} |
| 5420 |
/* |
| 5421 |
* Slide Small |
| 5422 |
*/ |
| 5423 |
@keyframes bdt-slide-top-small { |
| 5424 |
0% { |
| 5425 |
transform: translateY(-10px); |
| 5426 |
} |
| 5427 |
100% { |
| 5428 |
transform: translateY(0); |
| 5429 |
} |
| 5430 |
} |
| 5431 |
@keyframes bdt-slide-bottom-small { |
| 5432 |
0% { |
| 5433 |
transform: translateY(10px); |
| 5434 |
} |
| 5435 |
100% { |
| 5436 |
transform: translateY(0); |
| 5437 |
} |
| 5438 |
} |
| 5439 |
@keyframes bdt-slide-left-small { |
| 5440 |
0% { |
| 5441 |
transform: translateX(-10px); |
| 5442 |
} |
| 5443 |
100% { |
| 5444 |
transform: translateX(0); |
| 5445 |
} |
| 5446 |
} |
| 5447 |
@keyframes bdt-slide-right-small { |
| 5448 |
0% { |
| 5449 |
transform: translateX(10px); |
| 5450 |
} |
| 5451 |
100% { |
| 5452 |
transform: translateX(0); |
| 5453 |
} |
| 5454 |
} |
| 5455 |
/* |
| 5456 |
* Slide Medium |
| 5457 |
*/ |
| 5458 |
@keyframes bdt-slide-top-medium { |
| 5459 |
0% { |
| 5460 |
transform: translateY(-50px); |
| 5461 |
} |
| 5462 |
100% { |
| 5463 |
transform: translateY(0); |
| 5464 |
} |
| 5465 |
} |
| 5466 |
@keyframes bdt-slide-bottom-medium { |
| 5467 |
0% { |
| 5468 |
transform: translateY(50px); |
| 5469 |
} |
| 5470 |
100% { |
| 5471 |
transform: translateY(0); |
| 5472 |
} |
| 5473 |
} |
| 5474 |
@keyframes bdt-slide-left-medium { |
| 5475 |
0% { |
| 5476 |
transform: translateX(-50px); |
| 5477 |
} |
| 5478 |
100% { |
| 5479 |
transform: translateX(0); |
| 5480 |
} |
| 5481 |
} |
| 5482 |
@keyframes bdt-slide-right-medium { |
| 5483 |
0% { |
| 5484 |
transform: translateX(50px); |
| 5485 |
} |
| 5486 |
100% { |
| 5487 |
transform: translateX(0); |
| 5488 |
} |
| 5489 |
} |
| 5490 |
/* |
| 5491 |
* Kenburns |
| 5492 |
*/ |
| 5493 |
@keyframes bdt-kenburns { |
| 5494 |
0% { |
| 5495 |
transform: scale(1); |
| 5496 |
} |
| 5497 |
100% { |
| 5498 |
transform: scale(1.2); |
| 5499 |
} |
| 5500 |
} |
| 5501 |
/* |
| 5502 |
* Shake |
| 5503 |
*/ |
| 5504 |
@keyframes bdt-shake { |
| 5505 |
0%, |
| 5506 |
100% { |
| 5507 |
transform: translateX(0); |
| 5508 |
} |
| 5509 |
10% { |
| 5510 |
transform: translateX(-9px); |
| 5511 |
} |
| 5512 |
20% { |
| 5513 |
transform: translateX(8px); |
| 5514 |
} |
| 5515 |
30% { |
| 5516 |
transform: translateX(-7px); |
| 5517 |
} |
| 5518 |
40% { |
| 5519 |
transform: translateX(6px); |
| 5520 |
} |
| 5521 |
50% { |
| 5522 |
transform: translateX(-5px); |
| 5523 |
} |
| 5524 |
60% { |
| 5525 |
transform: translateX(4px); |
| 5526 |
} |
| 5527 |
70% { |
| 5528 |
transform: translateX(-3px); |
| 5529 |
} |
| 5530 |
80% { |
| 5531 |
transform: translateX(2px); |
| 5532 |
} |
| 5533 |
90% { |
| 5534 |
transform: translateX(-1px); |
| 5535 |
} |
| 5536 |
} |
| 5537 |
/* |
| 5538 |
* Stroke |
| 5539 |
*/ |
| 5540 |
@keyframes bdt-stroke { |
| 5541 |
0% { |
| 5542 |
stroke-dashoffset: var(--bdt-animation-stroke); |
| 5543 |
} |
| 5544 |
100% { |
| 5545 |
stroke-dashoffset: 0; |
| 5546 |
} |
| 5547 |
} |
| 5548 |
/* ======================================================================== |
| 5549 |
Component: Width |
| 5550 |
========================================================================== */ |
| 5551 |
/* Equal child widths |
| 5552 |
========================================================================== */ |
| 5553 |
[class*='bdt-child-width'] > * { |
| 5554 |
box-sizing: border-box; |
| 5555 |
width: 100%; |
| 5556 |
} |
| 5557 |
.bdt-child-width-1-2 > * { |
| 5558 |
width: 50%; |
| 5559 |
} |
| 5560 |
.bdt-child-width-1-3 > * { |
| 5561 |
width: calc(100% * 1 / 3.001); |
| 5562 |
} |
| 5563 |
.bdt-child-width-1-4 > * { |
| 5564 |
width: 25%; |
| 5565 |
} |
| 5566 |
.bdt-child-width-1-5 > * { |
| 5567 |
width: 20%; |
| 5568 |
} |
| 5569 |
.bdt-child-width-1-6 > * { |
| 5570 |
width: calc(100% * 1 / 6.001); |
| 5571 |
} |
| 5572 |
.bdt-child-width-auto > * { |
| 5573 |
width: auto; |
| 5574 |
} |
| 5575 |
/* |
| 5576 |
* 1. Reset the `min-width`, which is set to auto by default, because |
| 5577 |
* flex items won't shrink below their minimum intrinsic content size. |
| 5578 |
* Using `1px` instead of `0`, so items still wrap into the next line, |
| 5579 |
* if they have zero width and padding and the predecessor is 100% wide. |
| 5580 |
*/ |
| 5581 |
.bdt-child-width-expand > :not([class*='bdt-width']) { |
| 5582 |
flex: 1; |
| 5583 |
/* 1 */ |
| 5584 |
min-width: 1px; |
| 5585 |
} |
| 5586 |
/* Phone landscape and bigger */ |
| 5587 |
@media (min-width: 640px) { |
| 5588 |
.bdt-child-width-1-1\@s > * { |
| 5589 |
width: 100%; |
| 5590 |
} |
| 5591 |
.bdt-child-width-1-2\@s > * { |
| 5592 |
width: 50%; |
| 5593 |
} |
| 5594 |
.bdt-child-width-1-3\@s > * { |
| 5595 |
width: calc(100% * 1 / 3.001); |
| 5596 |
} |
| 5597 |
.bdt-child-width-1-4\@s > * { |
| 5598 |
width: 25%; |
| 5599 |
} |
| 5600 |
.bdt-child-width-1-5\@s > * { |
| 5601 |
width: 20%; |
| 5602 |
} |
| 5603 |
.bdt-child-width-1-6\@s > * { |
| 5604 |
width: calc(100% * 1 / 6.001); |
| 5605 |
} |
| 5606 |
.bdt-child-width-auto\@s > * { |
| 5607 |
width: auto; |
| 5608 |
} |
| 5609 |
.bdt-child-width-expand\@s > :not([class*='bdt-width']) { |
| 5610 |
flex: 1; |
| 5611 |
min-width: 1px; |
| 5612 |
} |
| 5613 |
} |
| 5614 |
/* Tablet landscape and bigger */ |
| 5615 |
@media (min-width: 960px) { |
| 5616 |
.bdt-child-width-1-1\@m > * { |
| 5617 |
width: 100%; |
| 5618 |
} |
| 5619 |
.bdt-child-width-1-2\@m > * { |
| 5620 |
width: 50%; |
| 5621 |
} |
| 5622 |
.bdt-child-width-1-3\@m > * { |
| 5623 |
width: calc(100% * 1 / 3.001); |
| 5624 |
} |
| 5625 |
.bdt-child-width-1-4\@m > * { |
| 5626 |
width: 25%; |
| 5627 |
} |
| 5628 |
.bdt-child-width-1-5\@m > * { |
| 5629 |
width: 20%; |
| 5630 |
} |
| 5631 |
.bdt-child-width-1-6\@m > * { |
| 5632 |
width: calc(100% * 1 / 6.001); |
| 5633 |
} |
| 5634 |
.bdt-child-width-auto\@m > * { |
| 5635 |
width: auto; |
| 5636 |
} |
| 5637 |
.bdt-child-width-expand\@m > :not([class*='bdt-width']) { |
| 5638 |
flex: 1; |
| 5639 |
min-width: 1px; |
| 5640 |
} |
| 5641 |
} |
| 5642 |
/* Desktop and bigger */ |
| 5643 |
@media (min-width: 1200px) { |
| 5644 |
.bdt-child-width-1-1\@l > * { |
| 5645 |
width: 100%; |
| 5646 |
} |
| 5647 |
.bdt-child-width-1-2\@l > * { |
| 5648 |
width: 50%; |
| 5649 |
} |
| 5650 |
.bdt-child-width-1-3\@l > * { |
| 5651 |
width: calc(100% * 1 / 3.001); |
| 5652 |
} |
| 5653 |
.bdt-child-width-1-4\@l > * { |
| 5654 |
width: 25%; |
| 5655 |
} |
| 5656 |
.bdt-child-width-1-5\@l > * { |
| 5657 |
width: 20%; |
| 5658 |
} |
| 5659 |
.bdt-child-width-1-6\@l > * { |
| 5660 |
width: calc(100% * 1 / 6.001); |
| 5661 |
} |
| 5662 |
.bdt-child-width-auto\@l > * { |
| 5663 |
width: auto; |
| 5664 |
} |
| 5665 |
.bdt-child-width-expand\@l > :not([class*='bdt-width']) { |
| 5666 |
flex: 1; |
| 5667 |
min-width: 1px; |
| 5668 |
} |
| 5669 |
} |
| 5670 |
/* Large screen and bigger */ |
| 5671 |
@media (min-width: 1600px) { |
| 5672 |
.bdt-child-width-1-1\@xl > * { |
| 5673 |
width: 100%; |
| 5674 |
} |
| 5675 |
.bdt-child-width-1-2\@xl > * { |
| 5676 |
width: 50%; |
| 5677 |
} |
| 5678 |
.bdt-child-width-1-3\@xl > * { |
| 5679 |
width: calc(100% * 1 / 3.001); |
| 5680 |
} |
| 5681 |
.bdt-child-width-1-4\@xl > * { |
| 5682 |
width: 25%; |
| 5683 |
} |
| 5684 |
.bdt-child-width-1-5\@xl > * { |
| 5685 |
width: 20%; |
| 5686 |
} |
| 5687 |
.bdt-child-width-1-6\@xl > * { |
| 5688 |
width: calc(100% * 1 / 6.001); |
| 5689 |
} |
| 5690 |
.bdt-child-width-auto\@xl > * { |
| 5691 |
width: auto; |
| 5692 |
} |
| 5693 |
.bdt-child-width-expand\@xl > :not([class*='bdt-width']) { |
| 5694 |
flex: 1; |
| 5695 |
min-width: 1px; |
| 5696 |
} |
| 5697 |
} |
| 5698 |
/* Single Widths |
| 5699 |
========================================================================== */ |
| 5700 |
/* |
| 5701 |
* 1. `max-width` is needed for the pixel-based classes |
| 5702 |
*/ |
| 5703 |
[class*='bdt-width'] { |
| 5704 |
box-sizing: border-box; |
| 5705 |
width: 100%; |
| 5706 |
/* 1 */ |
| 5707 |
max-width: 100%; |
| 5708 |
} |
| 5709 |
/* Halves */ |
| 5710 |
.bdt-width-1-2 { |
| 5711 |
width: 50%; |
| 5712 |
} |
| 5713 |
/* Thirds */ |
| 5714 |
.bdt-width-1-3 { |
| 5715 |
width: calc(100% * 1 / 3.001); |
| 5716 |
} |
| 5717 |
.bdt-width-2-3 { |
| 5718 |
width: calc(100% * 2 / 3.001); |
| 5719 |
} |
| 5720 |
/* Quarters */ |
| 5721 |
.bdt-width-1-4 { |
| 5722 |
width: 25%; |
| 5723 |
} |
| 5724 |
.bdt-width-3-4 { |
| 5725 |
width: 75%; |
| 5726 |
} |
| 5727 |
/* Fifths */ |
| 5728 |
.bdt-width-1-5 { |
| 5729 |
width: 20%; |
| 5730 |
} |
| 5731 |
.bdt-width-2-5 { |
| 5732 |
width: 40%; |
| 5733 |
} |
| 5734 |
.bdt-width-3-5 { |
| 5735 |
width: 60%; |
| 5736 |
} |
| 5737 |
.bdt-width-4-5 { |
| 5738 |
width: 80%; |
| 5739 |
} |
| 5740 |
/* Sixths */ |
| 5741 |
.bdt-width-1-6 { |
| 5742 |
width: calc(100% * 1 / 6.001); |
| 5743 |
} |
| 5744 |
.bdt-width-5-6 { |
| 5745 |
width: calc(100% * 5 / 6.001); |
| 5746 |
} |
| 5747 |
/* Pixel */ |
| 5748 |
.bdt-width-small { |
| 5749 |
width: 150px; |
| 5750 |
} |
| 5751 |
.bdt-width-medium { |
| 5752 |
width: 300px; |
| 5753 |
} |
| 5754 |
.bdt-width-large { |
| 5755 |
width: 450px; |
| 5756 |
} |
| 5757 |
.bdt-width-xlarge { |
| 5758 |
width: 600px; |
| 5759 |
} |
| 5760 |
.bdt-width-2xlarge { |
| 5761 |
width: 750px; |
| 5762 |
} |
| 5763 |
/* Auto */ |
| 5764 |
.bdt-width-auto { |
| 5765 |
width: auto; |
| 5766 |
} |
| 5767 |
/* Expand */ |
| 5768 |
.bdt-width-expand { |
| 5769 |
flex: 1; |
| 5770 |
min-width: 1px; |
| 5771 |
} |
| 5772 |
/* Phone landscape and bigger */ |
| 5773 |
@media (min-width: 640px) { |
| 5774 |
/* Whole */ |
| 5775 |
.bdt-width-1-1\@s { |
| 5776 |
width: 100%; |
| 5777 |
} |
| 5778 |
/* Halves */ |
| 5779 |
.bdt-width-1-2\@s { |
| 5780 |
width: 50%; |
| 5781 |
} |
| 5782 |
/* Thirds */ |
| 5783 |
.bdt-width-1-3\@s { |
| 5784 |
width: calc(100% * 1 / 3.001); |
| 5785 |
} |
| 5786 |
.bdt-width-2-3\@s { |
| 5787 |
width: calc(100% * 2 / 3.001); |
| 5788 |
} |
| 5789 |
/* Quarters */ |
| 5790 |
.bdt-width-1-4\@s { |
| 5791 |
width: 25%; |
| 5792 |
} |
| 5793 |
.bdt-width-3-4\@s { |
| 5794 |
width: 75%; |
| 5795 |
} |
| 5796 |
/* Fifths */ |
| 5797 |
.bdt-width-1-5\@s { |
| 5798 |
width: 20%; |
| 5799 |
} |
| 5800 |
.bdt-width-2-5\@s { |
| 5801 |
width: 40%; |
| 5802 |
} |
| 5803 |
.bdt-width-3-5\@s { |
| 5804 |
width: 60%; |
| 5805 |
} |
| 5806 |
.bdt-width-4-5\@s { |
| 5807 |
width: 80%; |
| 5808 |
} |
| 5809 |
/* Sixths */ |
| 5810 |
.bdt-width-1-6\@s { |
| 5811 |
width: calc(100% * 1 / 6.001); |
| 5812 |
} |
| 5813 |
.bdt-width-5-6\@s { |
| 5814 |
width: calc(100% * 5 / 6.001); |
| 5815 |
} |
| 5816 |
/* Pixel */ |
| 5817 |
.bdt-width-small\@s { |
| 5818 |
width: 150px; |
| 5819 |
} |
| 5820 |
.bdt-width-medium\@s { |
| 5821 |
width: 300px; |
| 5822 |
} |
| 5823 |
.bdt-width-large\@s { |
| 5824 |
width: 450px; |
| 5825 |
} |
| 5826 |
.bdt-width-xlarge\@s { |
| 5827 |
width: 600px; |
| 5828 |
} |
| 5829 |
.bdt-width-2xlarge\@s { |
| 5830 |
width: 750px; |
| 5831 |
} |
| 5832 |
/* Auto */ |
| 5833 |
.bdt-width-auto\@s { |
| 5834 |
width: auto; |
| 5835 |
} |
| 5836 |
/* Expand */ |
| 5837 |
.bdt-width-expand\@s { |
| 5838 |
flex: 1; |
| 5839 |
min-width: 1px; |
| 5840 |
} |
| 5841 |
} |
| 5842 |
/* Tablet landscape and bigger */ |
| 5843 |
@media (min-width: 960px) { |
| 5844 |
/* Whole */ |
| 5845 |
.bdt-width-1-1\@m { |
| 5846 |
width: 100%; |
| 5847 |
} |
| 5848 |
/* Halves */ |
| 5849 |
.bdt-width-1-2\@m { |
| 5850 |
width: 50%; |
| 5851 |
} |
| 5852 |
/* Thirds */ |
| 5853 |
.bdt-width-1-3\@m { |
| 5854 |
width: calc(100% * 1 / 3.001); |
| 5855 |
} |
| 5856 |
.bdt-width-2-3\@m { |
| 5857 |
width: calc(100% * 2 / 3.001); |
| 5858 |
} |
| 5859 |
/* Quarters */ |
| 5860 |
.bdt-width-1-4\@m { |
| 5861 |
width: 25%; |
| 5862 |
} |
| 5863 |
.bdt-width-3-4\@m { |
| 5864 |
width: 75%; |
| 5865 |
} |
| 5866 |
/* Fifths */ |
| 5867 |
.bdt-width-1-5\@m { |
| 5868 |
width: 20%; |
| 5869 |
} |
| 5870 |
.bdt-width-2-5\@m { |
| 5871 |
width: 40%; |
| 5872 |
} |
| 5873 |
.bdt-width-3-5\@m { |
| 5874 |
width: 60%; |
| 5875 |
} |
| 5876 |
.bdt-width-4-5\@m { |
| 5877 |
width: 80%; |
| 5878 |
} |
| 5879 |
/* Sixths */ |
| 5880 |
.bdt-width-1-6\@m { |
| 5881 |
width: calc(100% * 1 / 6.001); |
| 5882 |
} |
| 5883 |
.bdt-width-5-6\@m { |
| 5884 |
width: calc(100% * 5 / 6.001); |
| 5885 |
} |
| 5886 |
/* Pixel */ |
| 5887 |
.bdt-width-small\@m { |
| 5888 |
width: 150px; |
| 5889 |
} |
| 5890 |
.bdt-width-medium\@m { |
| 5891 |
width: 300px; |
| 5892 |
} |
| 5893 |
.bdt-width-large\@m { |
| 5894 |
width: 450px; |
| 5895 |
} |
| 5896 |
.bdt-width-xlarge\@m { |
| 5897 |
width: 600px; |
| 5898 |
} |
| 5899 |
.bdt-width-2xlarge\@m { |
| 5900 |
width: 750px; |
| 5901 |
} |
| 5902 |
/* Auto */ |
| 5903 |
.bdt-width-auto\@m { |
| 5904 |
width: auto; |
| 5905 |
} |
| 5906 |
/* Expand */ |
| 5907 |
.bdt-width-expand\@m { |
| 5908 |
flex: 1; |
| 5909 |
min-width: 1px; |
| 5910 |
} |
| 5911 |
} |
| 5912 |
/* Desktop and bigger */ |
| 5913 |
@media (min-width: 1200px) { |
| 5914 |
/* Whole */ |
| 5915 |
.bdt-width-1-1\@l { |
| 5916 |
width: 100%; |
| 5917 |
} |
| 5918 |
/* Halves */ |
| 5919 |
.bdt-width-1-2\@l { |
| 5920 |
width: 50%; |
| 5921 |
} |
| 5922 |
/* Thirds */ |
| 5923 |
.bdt-width-1-3\@l { |
| 5924 |
width: calc(100% * 1 / 3.001); |
| 5925 |
} |
| 5926 |
.bdt-width-2-3\@l { |
| 5927 |
width: calc(100% * 2 / 3.001); |
| 5928 |
} |
| 5929 |
/* Quarters */ |
| 5930 |
.bdt-width-1-4\@l { |
| 5931 |
width: 25%; |
| 5932 |
} |
| 5933 |
.bdt-width-3-4\@l { |
| 5934 |
width: 75%; |
| 5935 |
} |
| 5936 |
/* Fifths */ |
| 5937 |
.bdt-width-1-5\@l { |
| 5938 |
width: 20%; |
| 5939 |
} |
| 5940 |
.bdt-width-2-5\@l { |
| 5941 |
width: 40%; |
| 5942 |
} |
| 5943 |
.bdt-width-3-5\@l { |
| 5944 |
width: 60%; |
| 5945 |
} |
| 5946 |
.bdt-width-4-5\@l { |
| 5947 |
width: 80%; |
| 5948 |
} |
| 5949 |
/* Sixths */ |
| 5950 |
.bdt-width-1-6\@l { |
| 5951 |
width: calc(100% * 1 / 6.001); |
| 5952 |
} |
| 5953 |
.bdt-width-5-6\@l { |
| 5954 |
width: calc(100% * 5 / 6.001); |
| 5955 |
} |
| 5956 |
/* Pixel */ |
| 5957 |
.bdt-width-small\@l { |
| 5958 |
width: 150px; |
| 5959 |
} |
| 5960 |
.bdt-width-medium\@l { |
| 5961 |
width: 300px; |
| 5962 |
} |
| 5963 |
.bdt-width-large\@l { |
| 5964 |
width: 450px; |
| 5965 |
} |
| 5966 |
.bdt-width-xlarge\@l { |
| 5967 |
width: 600px; |
| 5968 |
} |
| 5969 |
.bdt-width-2xlarge\@l { |
| 5970 |
width: 750px; |
| 5971 |
} |
| 5972 |
/* Auto */ |
| 5973 |
.bdt-width-auto\@l { |
| 5974 |
width: auto; |
| 5975 |
} |
| 5976 |
/* Expand */ |
| 5977 |
.bdt-width-expand\@l { |
| 5978 |
flex: 1; |
| 5979 |
min-width: 1px; |
| 5980 |
} |
| 5981 |
} |
| 5982 |
/* Large screen and bigger */ |
| 5983 |
@media (min-width: 1600px) { |
| 5984 |
/* Whole */ |
| 5985 |
.bdt-width-1-1\@xl { |
| 5986 |
width: 100%; |
| 5987 |
} |
| 5988 |
/* Halves */ |
| 5989 |
.bdt-width-1-2\@xl { |
| 5990 |
width: 50%; |
| 5991 |
} |
| 5992 |
/* Thirds */ |
| 5993 |
.bdt-width-1-3\@xl { |
| 5994 |
width: calc(100% * 1 / 3.001); |
| 5995 |
} |
| 5996 |
.bdt-width-2-3\@xl { |
| 5997 |
width: calc(100% * 2 / 3.001); |
| 5998 |
} |
| 5999 |
/* Quarters */ |
| 6000 |
.bdt-width-1-4\@xl { |
| 6001 |
width: 25%; |
| 6002 |
} |
| 6003 |
.bdt-width-3-4\@xl { |
| 6004 |
width: 75%; |
| 6005 |
} |
| 6006 |
/* Fifths */ |
| 6007 |
.bdt-width-1-5\@xl { |
| 6008 |
width: 20%; |
| 6009 |
} |
| 6010 |
.bdt-width-2-5\@xl { |
| 6011 |
width: 40%; |
| 6012 |
} |
| 6013 |
.bdt-width-3-5\@xl { |
| 6014 |
width: 60%; |
| 6015 |
} |
| 6016 |
.bdt-width-4-5\@xl { |
| 6017 |
width: 80%; |
| 6018 |
} |
| 6019 |
/* Sixths */ |
| 6020 |
.bdt-width-1-6\@xl { |
| 6021 |
width: calc(100% * 1 / 6.001); |
| 6022 |
} |
| 6023 |
.bdt-width-5-6\@xl { |
| 6024 |
width: calc(100% * 5 / 6.001); |
| 6025 |
} |
| 6026 |
/* Pixel */ |
| 6027 |
.bdt-width-small\@xl { |
| 6028 |
width: 150px; |
| 6029 |
} |
| 6030 |
.bdt-width-medium\@xl { |
| 6031 |
width: 300px; |
| 6032 |
} |
| 6033 |
.bdt-width-large\@xl { |
| 6034 |
width: 450px; |
| 6035 |
} |
| 6036 |
.bdt-width-xlarge\@xl { |
| 6037 |
width: 600px; |
| 6038 |
} |
| 6039 |
.bdt-width-2xlarge\@xl { |
| 6040 |
width: 750px; |
| 6041 |
} |
| 6042 |
/* Auto */ |
| 6043 |
.bdt-width-auto\@xl { |
| 6044 |
width: auto; |
| 6045 |
} |
| 6046 |
/* Expand */ |
| 6047 |
.bdt-width-expand\@xl { |
| 6048 |
flex: 1; |
| 6049 |
min-width: 1px; |
| 6050 |
} |
| 6051 |
} |
| 6052 |
/* Intrinsic Widths |
| 6053 |
========================================================================== */ |
| 6054 |
.bdt-width-max-content { |
| 6055 |
width: max-content; |
| 6056 |
} |
| 6057 |
.bdt-width-min-content { |
| 6058 |
width: min-content; |
| 6059 |
} |
| 6060 |
/* ======================================================================== |
| 6061 |
Component: Height |
| 6062 |
========================================================================== */ |
| 6063 |
[class*='bdt-height'] { |
| 6064 |
box-sizing: border-box; |
| 6065 |
} |
| 6066 |
/* |
| 6067 |
* Only works if parent element has a height set |
| 6068 |
*/ |
| 6069 |
.bdt-height-1-1 { |
| 6070 |
height: 100%; |
| 6071 |
} |
| 6072 |
/* |
| 6073 |
* Useful to create image teasers |
| 6074 |
*/ |
| 6075 |
.bdt-height-viewport { |
| 6076 |
min-height: 100vh; |
| 6077 |
} |
| 6078 |
.bdt-height-viewport-2 { |
| 6079 |
min-height: 200vh; |
| 6080 |
} |
| 6081 |
.bdt-height-viewport-3 { |
| 6082 |
min-height: 300vh; |
| 6083 |
} |
| 6084 |
.bdt-height-viewport-4 { |
| 6085 |
min-height: 400vh; |
| 6086 |
} |
| 6087 |
/* |
| 6088 |
* Pixel |
| 6089 |
* Useful for `overflow: auto` |
| 6090 |
*/ |
| 6091 |
.bdt-height-small { |
| 6092 |
height: 150px; |
| 6093 |
} |
| 6094 |
.bdt-height-medium { |
| 6095 |
height: 300px; |
| 6096 |
} |
| 6097 |
.bdt-height-large { |
| 6098 |
height: 450px; |
| 6099 |
} |
| 6100 |
.bdt-height-max-small { |
| 6101 |
max-height: 150px; |
| 6102 |
} |
| 6103 |
.bdt-height-max-medium { |
| 6104 |
max-height: 300px; |
| 6105 |
} |
| 6106 |
.bdt-height-max-large { |
| 6107 |
max-height: 450px; |
| 6108 |
} |
| 6109 |
/* ======================================================================== |
| 6110 |
Component: Text |
| 6111 |
========================================================================== */ |
| 6112 |
/* Style modifiers |
| 6113 |
========================================================================== */ |
| 6114 |
.bdt-text-lead { |
| 6115 |
font-size: 1.5rem; |
| 6116 |
line-height: 1.5; |
| 6117 |
color: #333; |
| 6118 |
} |
| 6119 |
.bdt-text-meta { |
| 6120 |
font-size: 0.875rem; |
| 6121 |
line-height: 1.4; |
| 6122 |
color: #999; |
| 6123 |
} |
| 6124 |
/* Size modifiers |
| 6125 |
========================================================================== */ |
| 6126 |
.bdt-text-small { |
| 6127 |
font-size: 0.875rem; |
| 6128 |
line-height: 1.5; |
| 6129 |
} |
| 6130 |
.bdt-text-large { |
| 6131 |
font-size: 1.5rem; |
| 6132 |
line-height: 1.5; |
| 6133 |
} |
| 6134 |
.bdt-text-default { |
| 6135 |
font-size: 16px; |
| 6136 |
line-height: 1.5; |
| 6137 |
} |
| 6138 |
/* Weight modifier |
| 6139 |
========================================================================== */ |
| 6140 |
.bdt-text-light { |
| 6141 |
font-weight: 300; |
| 6142 |
} |
| 6143 |
.bdt-text-normal { |
| 6144 |
font-weight: 400; |
| 6145 |
} |
| 6146 |
.bdt-text-bold { |
| 6147 |
font-weight: 700; |
| 6148 |
} |
| 6149 |
.bdt-text-lighter { |
| 6150 |
font-weight: lighter; |
| 6151 |
} |
| 6152 |
.bdt-text-bolder { |
| 6153 |
font-weight: bolder; |
| 6154 |
} |
| 6155 |
/* Style modifier |
| 6156 |
========================================================================== */ |
| 6157 |
.bdt-text-italic { |
| 6158 |
font-style: italic; |
| 6159 |
} |
| 6160 |
/* Transform modifier |
| 6161 |
========================================================================== */ |
| 6162 |
.bdt-text-capitalize { |
| 6163 |
text-transform: capitalize !important; |
| 6164 |
} |
| 6165 |
.bdt-text-uppercase { |
| 6166 |
text-transform: uppercase !important; |
| 6167 |
} |
| 6168 |
.bdt-text-lowercase { |
| 6169 |
text-transform: lowercase !important; |
| 6170 |
} |
| 6171 |
/* Decoration modifier |
| 6172 |
========================================================================== */ |
| 6173 |
.bdt-text-decoration-none { |
| 6174 |
text-decoration: none !important; |
| 6175 |
} |
| 6176 |
/* Color modifiers |
| 6177 |
========================================================================== */ |
| 6178 |
.bdt-text-muted { |
| 6179 |
color: #999 !important; |
| 6180 |
} |
| 6181 |
.bdt-text-emphasis { |
| 6182 |
color: #333 !important; |
| 6183 |
} |
| 6184 |
.bdt-text-primary { |
| 6185 |
color: #1e87f0 !important; |
| 6186 |
} |
| 6187 |
.bdt-text-secondary { |
| 6188 |
color: #222 !important; |
| 6189 |
} |
| 6190 |
.bdt-text-success { |
| 6191 |
color: #32d296 !important; |
| 6192 |
} |
| 6193 |
.bdt-text-warning { |
| 6194 |
color: #faa05a !important; |
| 6195 |
} |
| 6196 |
.bdt-text-danger { |
| 6197 |
color: #f0506e !important; |
| 6198 |
} |
| 6199 |
/* Background modifier |
| 6200 |
========================================================================== */ |
| 6201 |
/* |
| 6202 |
* 1. The background clips to the foreground text. Works in all browsers. |
| 6203 |
* 2. Default color is set to transparent. |
| 6204 |
* 3. Container fits the text |
| 6205 |
* 4. Style |
| 6206 |
*/ |
| 6207 |
.bdt-text-background { |
| 6208 |
/* 1 */ |
| 6209 |
-webkit-background-clip: text; |
| 6210 |
/* 2 */ |
| 6211 |
color: transparent !important; |
| 6212 |
/* 3 */ |
| 6213 |
display: inline-block; |
| 6214 |
/* 4 */ |
| 6215 |
background-color: #1e87f0; |
| 6216 |
} |
| 6217 |
/* Alignment modifiers |
| 6218 |
========================================================================== */ |
| 6219 |
.bdt-text-left { |
| 6220 |
text-align: left !important; |
| 6221 |
} |
| 6222 |
.bdt-text-right { |
| 6223 |
text-align: right !important; |
| 6224 |
} |
| 6225 |
.bdt-text-center { |
| 6226 |
text-align: center !important; |
| 6227 |
} |
| 6228 |
.bdt-text-justify { |
| 6229 |
text-align: justify !important; |
| 6230 |
} |
| 6231 |
/* Phone landscape and bigger */ |
| 6232 |
@media (min-width: 640px) { |
| 6233 |
.bdt-text-left\@s { |
| 6234 |
text-align: left !important; |
| 6235 |
} |
| 6236 |
.bdt-text-right\@s { |
| 6237 |
text-align: right !important; |
| 6238 |
} |
| 6239 |
.bdt-text-center\@s { |
| 6240 |
text-align: center !important; |
| 6241 |
} |
| 6242 |
} |
| 6243 |
/* Tablet landscape and bigger */ |
| 6244 |
@media (min-width: 960px) { |
| 6245 |
.bdt-text-left\@m { |
| 6246 |
text-align: left !important; |
| 6247 |
} |
| 6248 |
.bdt-text-right\@m { |
| 6249 |
text-align: right !important; |
| 6250 |
} |
| 6251 |
.bdt-text-center\@m { |
| 6252 |
text-align: center !important; |
| 6253 |
} |
| 6254 |
} |
| 6255 |
/* Desktop and bigger */ |
| 6256 |
@media (min-width: 1200px) { |
| 6257 |
.bdt-text-left\@l { |
| 6258 |
text-align: left !important; |
| 6259 |
} |
| 6260 |
.bdt-text-right\@l { |
| 6261 |
text-align: right !important; |
| 6262 |
} |
| 6263 |
.bdt-text-center\@l { |
| 6264 |
text-align: center !important; |
| 6265 |
} |
| 6266 |
} |
| 6267 |
/* Large screen and bigger */ |
| 6268 |
@media (min-width: 1600px) { |
| 6269 |
.bdt-text-left\@xl { |
| 6270 |
text-align: left !important; |
| 6271 |
} |
| 6272 |
.bdt-text-right\@xl { |
| 6273 |
text-align: right !important; |
| 6274 |
} |
| 6275 |
.bdt-text-center\@xl { |
| 6276 |
text-align: center !important; |
| 6277 |
} |
| 6278 |
} |
| 6279 |
/* |
| 6280 |
* Vertical |
| 6281 |
*/ |
| 6282 |
.bdt-text-top { |
| 6283 |
vertical-align: top !important; |
| 6284 |
} |
| 6285 |
.bdt-text-middle { |
| 6286 |
vertical-align: middle !important; |
| 6287 |
} |
| 6288 |
.bdt-text-bottom { |
| 6289 |
vertical-align: bottom !important; |
| 6290 |
} |
| 6291 |
.bdt-text-baseline { |
| 6292 |
vertical-align: baseline !important; |
| 6293 |
} |
| 6294 |
/* Wrap modifiers |
| 6295 |
========================================================================== */ |
| 6296 |
/* |
| 6297 |
* Prevent text from wrapping onto multiple lines |
| 6298 |
*/ |
| 6299 |
.bdt-text-nowrap { |
| 6300 |
white-space: nowrap; |
| 6301 |
} |
| 6302 |
/* |
| 6303 |
* 1. Make sure a max-width is set after which truncation can occur |
| 6304 |
* 2. Prevent text from wrapping onto multiple lines, and truncate with an ellipsis |
| 6305 |
* 3. Fix for table cells |
| 6306 |
*/ |
| 6307 |
.bdt-text-truncate { |
| 6308 |
/* 1 */ |
| 6309 |
max-width: 100%; |
| 6310 |
/* 2 */ |
| 6311 |
overflow: hidden; |
| 6312 |
text-overflow: ellipsis; |
| 6313 |
white-space: nowrap; |
| 6314 |
} |
| 6315 |
/* 2 */ |
| 6316 |
th.bdt-text-truncate, |
| 6317 |
td.bdt-text-truncate { |
| 6318 |
max-width: 0; |
| 6319 |
} |
| 6320 |
/* |
| 6321 |
* Wrap long words onto the next line and break them if they are too long to fit. |
| 6322 |
* 1. Make it work with table cells in all browsers. |
| 6323 |
* Note: Not using `hyphens: auto` because it hyphenates text even if not needed. |
| 6324 |
*/ |
| 6325 |
.bdt-text-break { |
| 6326 |
overflow-wrap: break-word; |
| 6327 |
} |
| 6328 |
/* 1 */ |
| 6329 |
th.bdt-text-break, |
| 6330 |
td.bdt-text-break { |
| 6331 |
word-break: break-word; |
| 6332 |
} |
| 6333 |
/* ======================================================================== |
| 6334 |
Component: Column |
| 6335 |
========================================================================== */ |
| 6336 |
[class*='bdt-column-'] { |
| 6337 |
column-gap: 30px; |
| 6338 |
} |
| 6339 |
/* Desktop and bigger */ |
| 6340 |
@media (min-width: 1200px) { |
| 6341 |
[class*='bdt-column-'] { |
| 6342 |
column-gap: 40px; |
| 6343 |
} |
| 6344 |
} |
| 6345 |
/* |
| 6346 |
* Fix image 1px line wrapping into the next column in Chrome |
| 6347 |
*/ |
| 6348 |
[class*='bdt-column-'] img { |
| 6349 |
transform: translate3d(0, 0, 0); |
| 6350 |
} |
| 6351 |
/* Divider |
| 6352 |
========================================================================== */ |
| 6353 |
/* |
| 6354 |
* 1. Double the column gap |
| 6355 |
*/ |
| 6356 |
.bdt-column-divider { |
| 6357 |
column-rule: 1px solid rgba(214, 214, 214, 0.49); |
| 6358 |
/* 1 */ |
| 6359 |
column-gap: 60px; |
| 6360 |
} |
| 6361 |
/* Desktop and bigger */ |
| 6362 |
@media (min-width: 1200px) { |
| 6363 |
.bdt-column-divider { |
| 6364 |
column-gap: 80px; |
| 6365 |
} |
| 6366 |
} |
| 6367 |
/* Width modifiers |
| 6368 |
========================================================================== */ |
| 6369 |
.bdt-column-1-2 { |
| 6370 |
column-count: 2; |
| 6371 |
} |
| 6372 |
.bdt-column-1-3 { |
| 6373 |
column-count: 3; |
| 6374 |
} |
| 6375 |
.bdt-column-1-4 { |
| 6376 |
column-count: 4; |
| 6377 |
} |
| 6378 |
.bdt-column-1-5 { |
| 6379 |
column-count: 5; |
| 6380 |
} |
| 6381 |
.bdt-column-1-6 { |
| 6382 |
column-count: 6; |
| 6383 |
} |
| 6384 |
/* Phone landscape and bigger */ |
| 6385 |
@media (min-width: 640px) { |
| 6386 |
.bdt-column-1-2\@s { |
| 6387 |
column-count: 2; |
| 6388 |
} |
| 6389 |
.bdt-column-1-3\@s { |
| 6390 |
column-count: 3; |
| 6391 |
} |
| 6392 |
.bdt-column-1-4\@s { |
| 6393 |
column-count: 4; |
| 6394 |
} |
| 6395 |
.bdt-column-1-5\@s { |
| 6396 |
column-count: 5; |
| 6397 |
} |
| 6398 |
.bdt-column-1-6\@s { |
| 6399 |
column-count: 6; |
| 6400 |
} |
| 6401 |
} |
| 6402 |
/* Tablet landscape and bigger */ |
| 6403 |
@media (min-width: 960px) { |
| 6404 |
.bdt-column-1-2\@m { |
| 6405 |
column-count: 2; |
| 6406 |
} |
| 6407 |
.bdt-column-1-3\@m { |
| 6408 |
column-count: 3; |
| 6409 |
} |
| 6410 |
.bdt-column-1-4\@m { |
| 6411 |
column-count: 4; |
| 6412 |
} |
| 6413 |
.bdt-column-1-5\@m { |
| 6414 |
column-count: 5; |
| 6415 |
} |
| 6416 |
.bdt-column-1-6\@m { |
| 6417 |
column-count: 6; |
| 6418 |
} |
| 6419 |
} |
| 6420 |
/* Desktop and bigger */ |
| 6421 |
@media (min-width: 1200px) { |
| 6422 |
.bdt-column-1-2\@l { |
| 6423 |
column-count: 2; |
| 6424 |
} |
| 6425 |
.bdt-column-1-3\@l { |
| 6426 |
column-count: 3; |
| 6427 |
} |
| 6428 |
.bdt-column-1-4\@l { |
| 6429 |
column-count: 4; |
| 6430 |
} |
| 6431 |
.bdt-column-1-5\@l { |
| 6432 |
column-count: 5; |
| 6433 |
} |
| 6434 |
.bdt-column-1-6\@l { |
| 6435 |
column-count: 6; |
| 6436 |
} |
| 6437 |
} |
| 6438 |
/* Large screen and bigger */ |
| 6439 |
@media (min-width: 1600px) { |
| 6440 |
.bdt-column-1-2\@xl { |
| 6441 |
column-count: 2; |
| 6442 |
} |
| 6443 |
.bdt-column-1-3\@xl { |
| 6444 |
column-count: 3; |
| 6445 |
} |
| 6446 |
.bdt-column-1-4\@xl { |
| 6447 |
column-count: 4; |
| 6448 |
} |
| 6449 |
.bdt-column-1-5\@xl { |
| 6450 |
column-count: 5; |
| 6451 |
} |
| 6452 |
.bdt-column-1-6\@xl { |
| 6453 |
column-count: 6; |
| 6454 |
} |
| 6455 |
} |
| 6456 |
/* Make element span across all columns |
| 6457 |
* Does not work in Firefox yet |
| 6458 |
========================================================================== */ |
| 6459 |
.bdt-column-span { |
| 6460 |
column-span: all; |
| 6461 |
} |
| 6462 |
/* ======================================================================== |
| 6463 |
Component: Cover |
| 6464 |
========================================================================== */ |
| 6465 |
/* |
| 6466 |
* Works with iframes and embedded content |
| 6467 |
* 1. Use attribute to apply transform instantly. Needed if transform is transitioned. |
| 6468 |
* 2. Reset responsiveness for embedded content |
| 6469 |
* 3. Center object |
| 6470 |
* Note: Percent values on the `top` property only works if this element |
| 6471 |
* is absolute positioned or if the container has a height |
| 6472 |
*/ |
| 6473 |
/* 1 */ |
| 6474 |
[bdt-cover], |
| 6475 |
[data-bdt-cover] { |
| 6476 |
/* 2 */ |
| 6477 |
max-width: none; |
| 6478 |
/* 3 */ |
| 6479 |
position: absolute; |
| 6480 |
left: 50%; |
| 6481 |
top: 50%; |
| 6482 |
--bdt-position-translate-x: -50%; |
| 6483 |
--bdt-position-translate-y: -50%; |
| 6484 |
transform: translate(var(--bdt-position-translate-x), var(--bdt-position-translate-y)); |
| 6485 |
} |
| 6486 |
iframe[bdt-cover], |
| 6487 |
iframe[data-bdt-cover] { |
| 6488 |
pointer-events: none; |
| 6489 |
} |
| 6490 |
/* Container |
| 6491 |
========================================================================== */ |
| 6492 |
/* |
| 6493 |
* 1. Parent container which clips resized object |
| 6494 |
* 2. Needed if the child is positioned absolute. See note above |
| 6495 |
*/ |
| 6496 |
.bdt-cover-container { |
| 6497 |
/* 1 */ |
| 6498 |
overflow: hidden; |
| 6499 |
/* 2 */ |
| 6500 |
position: relative; |
| 6501 |
} |
| 6502 |
/* ======================================================================== |
| 6503 |
Component: Background |
| 6504 |
========================================================================== */ |
| 6505 |
/* Color |
| 6506 |
========================================================================== */ |
| 6507 |
.bdt-background-default { |
| 6508 |
background-color: #fff; |
| 6509 |
} |
| 6510 |
.bdt-background-muted { |
| 6511 |
background-color: #f8f8f8; |
| 6512 |
} |
| 6513 |
.bdt-background-primary { |
| 6514 |
background-color: #1e87f0; |
| 6515 |
} |
| 6516 |
.bdt-background-secondary { |
| 6517 |
background-color: #222; |
| 6518 |
} |
| 6519 |
/* Size |
| 6520 |
========================================================================== */ |
| 6521 |
.bdt-background-cover, |
| 6522 |
.bdt-background-contain, |
| 6523 |
.bdt-background-width-1-1, |
| 6524 |
.bdt-background-height-1-1 { |
| 6525 |
background-position: 50% 50%; |
| 6526 |
background-repeat: no-repeat; |
| 6527 |
} |
| 6528 |
.bdt-background-cover { |
| 6529 |
background-size: cover; |
| 6530 |
} |
| 6531 |
.bdt-background-contain { |
| 6532 |
background-size: contain; |
| 6533 |
} |
| 6534 |
.bdt-background-width-1-1 { |
| 6535 |
background-size: 100%; |
| 6536 |
} |
| 6537 |
.bdt-background-height-1-1 { |
| 6538 |
background-size: auto 100%; |
| 6539 |
} |
| 6540 |
/* Position |
| 6541 |
========================================================================== */ |
| 6542 |
.bdt-background-top-left { |
| 6543 |
background-position: 0 0; |
| 6544 |
} |
| 6545 |
.bdt-background-top-center { |
| 6546 |
background-position: 50% 0; |
| 6547 |
} |
| 6548 |
.bdt-background-top-right { |
| 6549 |
background-position: 100% 0; |
| 6550 |
} |
| 6551 |
.bdt-background-center-left { |
| 6552 |
background-position: 0 50%; |
| 6553 |
} |
| 6554 |
.bdt-background-center-center { |
| 6555 |
background-position: 50% 50%; |
| 6556 |
} |
| 6557 |
.bdt-background-center-right { |
| 6558 |
background-position: 100% 50%; |
| 6559 |
} |
| 6560 |
.bdt-background-bottom-left { |
| 6561 |
background-position: 0 100%; |
| 6562 |
} |
| 6563 |
.bdt-background-bottom-center { |
| 6564 |
background-position: 50% 100%; |
| 6565 |
} |
| 6566 |
.bdt-background-bottom-right { |
| 6567 |
background-position: 100% 100%; |
| 6568 |
} |
| 6569 |
/* Repeat |
| 6570 |
========================================================================== */ |
| 6571 |
.bdt-background-norepeat { |
| 6572 |
background-repeat: no-repeat; |
| 6573 |
} |
| 6574 |
/* Attachment |
| 6575 |
========================================================================== */ |
| 6576 |
/* |
| 6577 |
* 1. Fix bug introduced in Chrome 67: the background image is not visible if any element on the page uses `translate3d` |
| 6578 |
*/ |
| 6579 |
.bdt-background-fixed { |
| 6580 |
background-attachment: fixed; |
| 6581 |
/* 1 */ |
| 6582 |
backface-visibility: hidden; |
| 6583 |
} |
| 6584 |
/* |
| 6585 |
* Exclude touch devices because `fixed` doesn't work on iOS and Android |
| 6586 |
*/ |
| 6587 |
@media (pointer: coarse) { |
| 6588 |
.bdt-background-fixed { |
| 6589 |
background-attachment: scroll; |
| 6590 |
} |
| 6591 |
} |
| 6592 |
/* Image |
| 6593 |
========================================================================== */ |
| 6594 |
/* Phone portrait and smaller */ |
| 6595 |
@media (max-width: 639px) { |
| 6596 |
.bdt-background-image\@s { |
| 6597 |
background-image: none !important; |
| 6598 |
} |
| 6599 |
} |
| 6600 |
/* Phone landscape and smaller */ |
| 6601 |
@media (max-width: 959px) { |
| 6602 |
.bdt-background-image\@m { |
| 6603 |
background-image: none !important; |
| 6604 |
} |
| 6605 |
} |
| 6606 |
/* Tablet landscape and smaller */ |
| 6607 |
@media (max-width: 1199px) { |
| 6608 |
.bdt-background-image\@l { |
| 6609 |
background-image: none !important; |
| 6610 |
} |
| 6611 |
} |
| 6612 |
/* Desktop and smaller */ |
| 6613 |
@media (max-width: 1599px) { |
| 6614 |
.bdt-background-image\@xl { |
| 6615 |
background-image: none !important; |
| 6616 |
} |
| 6617 |
} |
| 6618 |
/* Blend modes |
| 6619 |
========================================================================== */ |
| 6620 |
.bdt-background-blend-multiply { |
| 6621 |
background-blend-mode: multiply; |
| 6622 |
} |
| 6623 |
.bdt-background-blend-screen { |
| 6624 |
background-blend-mode: screen; |
| 6625 |
} |
| 6626 |
.bdt-background-blend-overlay { |
| 6627 |
background-blend-mode: overlay; |
| 6628 |
} |
| 6629 |
.bdt-background-blend-darken { |
| 6630 |
background-blend-mode: darken; |
| 6631 |
} |
| 6632 |
.bdt-background-blend-lighten { |
| 6633 |
background-blend-mode: lighten; |
| 6634 |
} |
| 6635 |
.bdt-background-blend-color-dodge { |
| 6636 |
background-blend-mode: color-dodge; |
| 6637 |
} |
| 6638 |
.bdt-background-blend-color-burn { |
| 6639 |
background-blend-mode: color-burn; |
| 6640 |
} |
| 6641 |
.bdt-background-blend-hard-light { |
| 6642 |
background-blend-mode: hard-light; |
| 6643 |
} |
| 6644 |
.bdt-background-blend-soft-light { |
| 6645 |
background-blend-mode: soft-light; |
| 6646 |
} |
| 6647 |
.bdt-background-blend-difference { |
| 6648 |
background-blend-mode: difference; |
| 6649 |
} |
| 6650 |
.bdt-background-blend-exclusion { |
| 6651 |
background-blend-mode: exclusion; |
| 6652 |
} |
| 6653 |
.bdt-background-blend-hue { |
| 6654 |
background-blend-mode: hue; |
| 6655 |
} |
| 6656 |
.bdt-background-blend-saturation { |
| 6657 |
background-blend-mode: saturation; |
| 6658 |
} |
| 6659 |
.bdt-background-blend-color { |
| 6660 |
background-blend-mode: color; |
| 6661 |
} |
| 6662 |
.bdt-background-blend-luminosity { |
| 6663 |
background-blend-mode: luminosity; |
| 6664 |
} |
| 6665 |
/* ======================================================================== |
| 6666 |
Component: Align |
| 6667 |
========================================================================== */ |
| 6668 |
/* |
| 6669 |
* Default |
| 6670 |
*/ |
| 6671 |
[class*='bdt-align'] { |
| 6672 |
display: block; |
| 6673 |
margin-bottom: 30px; |
| 6674 |
} |
| 6675 |
* + [class*='bdt-align'] { |
| 6676 |
margin-top: 30px; |
| 6677 |
} |
| 6678 |
/* |
| 6679 |
* Center |
| 6680 |
*/ |
| 6681 |
.bdt-align-center { |
| 6682 |
margin-left: auto; |
| 6683 |
margin-right: auto; |
| 6684 |
} |
| 6685 |
/* |
| 6686 |
* Left/Right |
| 6687 |
*/ |
| 6688 |
.bdt-align-left { |
| 6689 |
margin-top: 0; |
| 6690 |
margin-right: 30px; |
| 6691 |
float: left; |
| 6692 |
} |
| 6693 |
.bdt-align-right { |
| 6694 |
margin-top: 0; |
| 6695 |
margin-left: 30px; |
| 6696 |
float: right; |
| 6697 |
} |
| 6698 |
/* Phone landscape and bigger */ |
| 6699 |
@media (min-width: 640px) { |
| 6700 |
.bdt-align-left\@s { |
| 6701 |
margin-top: 0; |
| 6702 |
margin-right: 30px; |
| 6703 |
float: left; |
| 6704 |
} |
| 6705 |
.bdt-align-right\@s { |
| 6706 |
margin-top: 0; |
| 6707 |
margin-left: 30px; |
| 6708 |
float: right; |
| 6709 |
} |
| 6710 |
} |
| 6711 |
/* Tablet landscape and bigger */ |
| 6712 |
@media (min-width: 960px) { |
| 6713 |
.bdt-align-left\@m { |
| 6714 |
margin-top: 0; |
| 6715 |
margin-right: 30px; |
| 6716 |
float: left; |
| 6717 |
} |
| 6718 |
.bdt-align-right\@m { |
| 6719 |
margin-top: 0; |
| 6720 |
margin-left: 30px; |
| 6721 |
float: right; |
| 6722 |
} |
| 6723 |
} |
| 6724 |
/* Desktop and bigger */ |
| 6725 |
@media (min-width: 1200px) { |
| 6726 |
.bdt-align-left\@l { |
| 6727 |
margin-top: 0; |
| 6728 |
float: left; |
| 6729 |
} |
| 6730 |
.bdt-align-right\@l { |
| 6731 |
margin-top: 0; |
| 6732 |
float: right; |
| 6733 |
} |
| 6734 |
.bdt-align-left, |
| 6735 |
.bdt-align-left\@s, |
| 6736 |
.bdt-align-left\@m, |
| 6737 |
.bdt-align-left\@l { |
| 6738 |
margin-right: 40px; |
| 6739 |
} |
| 6740 |
.bdt-align-right, |
| 6741 |
.bdt-align-right\@s, |
| 6742 |
.bdt-align-right\@m, |
| 6743 |
.bdt-align-right\@l { |
| 6744 |
margin-left: 40px; |
| 6745 |
} |
| 6746 |
} |
| 6747 |
/* Large screen and bigger */ |
| 6748 |
@media (min-width: 1600px) { |
| 6749 |
.bdt-align-left\@xl { |
| 6750 |
margin-top: 0; |
| 6751 |
margin-right: 40px; |
| 6752 |
float: left; |
| 6753 |
} |
| 6754 |
.bdt-align-right\@xl { |
| 6755 |
margin-top: 0; |
| 6756 |
margin-left: 40px; |
| 6757 |
float: right; |
| 6758 |
} |
| 6759 |
} |
| 6760 |
/* ======================================================================== |
| 6761 |
Component: SVG |
| 6762 |
========================================================================== */ |
| 6763 |
/* |
| 6764 |
* 1. Fill all SVG elements with the current text color if no `fill` attribute is set |
| 6765 |
* 2. Set the fill and stroke color of all SVG elements to the current text color |
| 6766 |
*/ |
| 6767 |
/* 1 */ |
| 6768 |
.bdt-svg, |
| 6769 |
.bdt-svg:not(.bdt-preserve) [fill*='#']:not(.bdt-preserve) { |
| 6770 |
fill: currentcolor; |
| 6771 |
} |
| 6772 |
.bdt-svg:not(.bdt-preserve) [stroke*='#']:not(.bdt-preserve) { |
| 6773 |
stroke: currentcolor; |
| 6774 |
} |
| 6775 |
/* |
| 6776 |
* Fix Firefox blurry SVG rendering: https://bugzilla.mozilla.org/show_bug.cgi?id=1046835 |
| 6777 |
*/ |
| 6778 |
.bdt-svg { |
| 6779 |
transform: translate(0, 0); |
| 6780 |
} |
| 6781 |
/* ======================================================================== |
| 6782 |
Component: Utility |
| 6783 |
========================================================================== */ |
| 6784 |
/* Panel |
| 6785 |
========================================================================== */ |
| 6786 |
.bdt-panel { |
| 6787 |
display: flow-root; |
| 6788 |
position: relative; |
| 6789 |
box-sizing: border-box; |
| 6790 |
} |
| 6791 |
/* |
| 6792 |
* Remove margin from the last-child |
| 6793 |
*/ |
| 6794 |
.bdt-panel > :last-child { |
| 6795 |
margin-bottom: 0; |
| 6796 |
} |
| 6797 |
/* |
| 6798 |
* Scrollable |
| 6799 |
*/ |
| 6800 |
.bdt-panel-scrollable { |
| 6801 |
height: 170px; |
| 6802 |
padding: 10px; |
| 6803 |
border: 1px solid rgba(214, 214, 214, 0.49); |
| 6804 |
overflow: auto; |
| 6805 |
-webkit-overflow-scrolling: touch; |
| 6806 |
resize: both; |
| 6807 |
} |
| 6808 |
/* Clearfix |
| 6809 |
========================================================================== */ |
| 6810 |
/* |
| 6811 |
* 1. `table-cell` is used with `::before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit |
| 6812 |
* 2. `table` is used again with `::after` because `clear` only works with block elements. |
| 6813 |
* Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari |
| 6814 |
*/ |
| 6815 |
/* 1 */ |
| 6816 |
.bdt-clearfix::before { |
| 6817 |
content: ""; |
| 6818 |
display: table-cell; |
| 6819 |
} |
| 6820 |
/* 2 */ |
| 6821 |
.bdt-clearfix::after { |
| 6822 |
content: ""; |
| 6823 |
display: table; |
| 6824 |
clear: both; |
| 6825 |
} |
| 6826 |
/* Float |
| 6827 |
========================================================================== */ |
| 6828 |
/* |
| 6829 |
* 1. Prevent content overflow |
| 6830 |
*/ |
| 6831 |
.bdt-float-left { |
| 6832 |
float: left; |
| 6833 |
} |
| 6834 |
.bdt-float-right { |
| 6835 |
float: right; |
| 6836 |
} |
| 6837 |
/* 1 */ |
| 6838 |
[class*='bdt-float-'] { |
| 6839 |
max-width: 100%; |
| 6840 |
} |
| 6841 |
/* Overfow |
| 6842 |
========================================================================== */ |
| 6843 |
.bdt-overflow-hidden { |
| 6844 |
overflow: hidden; |
| 6845 |
} |
| 6846 |
/* |
| 6847 |
* Enable scrollbars if content is clipped |
| 6848 |
* Note: Firefox ignores `padding-bottom` for the scrollable overflow https://bugzilla.mozilla.org/show_bug.cgi?id=748518 |
| 6849 |
*/ |
| 6850 |
.bdt-overflow-auto { |
| 6851 |
overflow: auto; |
| 6852 |
-webkit-overflow-scrolling: touch; |
| 6853 |
} |
| 6854 |
.bdt-overflow-auto > :last-child { |
| 6855 |
margin-bottom: 0; |
| 6856 |
} |
| 6857 |
/* Resize |
| 6858 |
========================================================================== */ |
| 6859 |
.bdt-resize { |
| 6860 |
resize: both; |
| 6861 |
} |
| 6862 |
.bdt-resize-vertical { |
| 6863 |
resize: vertical; |
| 6864 |
} |
| 6865 |
/* Display |
| 6866 |
========================================================================== */ |
| 6867 |
.bdt-display-block { |
| 6868 |
display: block !important; |
| 6869 |
} |
| 6870 |
.bdt-display-inline { |
| 6871 |
display: inline !important; |
| 6872 |
} |
| 6873 |
.bdt-display-inline-block { |
| 6874 |
display: inline-block !important; |
| 6875 |
} |
| 6876 |
/* Inline |
| 6877 |
========================================================================== */ |
| 6878 |
/* |
| 6879 |
* 1. Container fits its content |
| 6880 |
* 2. Create position context |
| 6881 |
* 3. Prevent content overflow |
| 6882 |
* 4. Behave like most inline-block elements |
| 6883 |
* 5. Force new layer without creating a new stacking context |
| 6884 |
* to fix 1px glitch when combined with overlays and transitions in Webkit |
| 6885 |
* 6. Clip child elements |
| 6886 |
*/ |
| 6887 |
[class*='bdt-inline'] { |
| 6888 |
/* 1 */ |
| 6889 |
display: inline-block; |
| 6890 |
/* 2 */ |
| 6891 |
position: relative; |
| 6892 |
/* 3 */ |
| 6893 |
max-width: 100%; |
| 6894 |
/* 4 */ |
| 6895 |
vertical-align: middle; |
| 6896 |
/* 5 */ |
| 6897 |
-webkit-backface-visibility: hidden; |
| 6898 |
} |
| 6899 |
.bdt-inline-clip { |
| 6900 |
/* 6 */ |
| 6901 |
overflow: hidden; |
| 6902 |
} |
| 6903 |
/* Responsive objects |
| 6904 |
========================================================================== */ |
| 6905 |
/* |
| 6906 |
* Preserve original dimensions |
| 6907 |
* Because `img, `video`, `canvas` and `audio` are already responsive by default, see Base component |
| 6908 |
*/ |
| 6909 |
.bdt-preserve-width, |
| 6910 |
.bdt-preserve-width canvas, |
| 6911 |
.bdt-preserve-width img, |
| 6912 |
.bdt-preserve-width svg, |
| 6913 |
.bdt-preserve-width video { |
| 6914 |
max-width: none; |
| 6915 |
} |
| 6916 |
/* |
| 6917 |
* Responsiveness |
| 6918 |
* Corrects `max-width` and `max-height` behavior if padding and border are used |
| 6919 |
*/ |
| 6920 |
.bdt-responsive-width, |
| 6921 |
.bdt-responsive-height { |
| 6922 |
box-sizing: border-box; |
| 6923 |
} |
| 6924 |
/* |
| 6925 |
* 1. Set a maximum width. `important` needed to override `bdt-preserve-width img` |
| 6926 |
* 2. Auto scale the height. Only needed if `height` attribute is present |
| 6927 |
*/ |
| 6928 |
.bdt-responsive-width { |
| 6929 |
/* 1 */ |
| 6930 |
max-width: 100% !important; |
| 6931 |
/* 2 */ |
| 6932 |
height: auto; |
| 6933 |
} |
| 6934 |
/* |
| 6935 |
* 1. Set a maximum height. Only works if the parent element has a fixed height |
| 6936 |
* 2. Auto scale the width. Only needed if `width` attribute is present |
| 6937 |
* 3. Reset max-width, which `img, `video`, `canvas` and `audio` already have by default |
| 6938 |
*/ |
| 6939 |
.bdt-responsive-height { |
| 6940 |
/* 1 */ |
| 6941 |
max-height: 100%; |
| 6942 |
/* 2 */ |
| 6943 |
width: auto; |
| 6944 |
/* 3 */ |
| 6945 |
max-width: none; |
| 6946 |
} |
| 6947 |
/* |
| 6948 |
* Fix initial iframe width. Without the viewport is expanded on iOS devices |
| 6949 |
*/ |
| 6950 |
[bdt-responsive], |
| 6951 |
[data-bdt-responsive] { |
| 6952 |
max-width: 100%; |
| 6953 |
} |
| 6954 |
/* Object |
| 6955 |
========================================================================== */ |
| 6956 |
.bdt-object-cover { |
| 6957 |
object-fit: cover; |
| 6958 |
} |
| 6959 |
.bdt-object-contain { |
| 6960 |
object-fit: contain; |
| 6961 |
} |
| 6962 |
.bdt-object-fill { |
| 6963 |
object-fit: fill; |
| 6964 |
} |
| 6965 |
.bdt-object-none { |
| 6966 |
object-fit: none; |
| 6967 |
} |
| 6968 |
.bdt-object-scale-down { |
| 6969 |
object-fit: scale-down; |
| 6970 |
} |
| 6971 |
/* |
| 6972 |
* Position |
| 6973 |
*/ |
| 6974 |
.bdt-object-top-left { |
| 6975 |
object-position: 0 0; |
| 6976 |
} |
| 6977 |
.bdt-object-top-center { |
| 6978 |
object-position: 50% 0; |
| 6979 |
} |
| 6980 |
.bdt-object-top-right { |
| 6981 |
object-position: 100% 0; |
| 6982 |
} |
| 6983 |
.bdt-object-center-left { |
| 6984 |
object-position: 0 50%; |
| 6985 |
} |
| 6986 |
.bdt-object-center-center { |
| 6987 |
object-position: 50% 50%; |
| 6988 |
} |
| 6989 |
.bdt-object-center-right { |
| 6990 |
object-position: 100% 50%; |
| 6991 |
} |
| 6992 |
.bdt-object-bottom-left { |
| 6993 |
object-position: 0 100%; |
| 6994 |
} |
| 6995 |
.bdt-object-bottom-center { |
| 6996 |
object-position: 50% 100%; |
| 6997 |
} |
| 6998 |
.bdt-object-bottom-right { |
| 6999 |
object-position: 100% 100%; |
| 7000 |
} |
| 7001 |
/* Border |
| 7002 |
========================================================================== */ |
| 7003 |
.bdt-border-circle { |
| 7004 |
border-radius: 50%; |
| 7005 |
} |
| 7006 |
.bdt-border-pill { |
| 7007 |
border-radius: 500px; |
| 7008 |
} |
| 7009 |
.bdt-border-rounded { |
| 7010 |
border-radius: 5px; |
| 7011 |
} |
| 7012 |
/* |
| 7013 |
* Fix `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit |
| 7014 |
*/ |
| 7015 |
.bdt-inline-clip[class*='bdt-border-'] { |
| 7016 |
-webkit-transform: translateZ(0); |
| 7017 |
} |
| 7018 |
/* Box-shadow |
| 7019 |
========================================================================== */ |
| 7020 |
.bdt-box-shadow-small { |
| 7021 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| 7022 |
} |
| 7023 |
.bdt-box-shadow-medium { |
| 7024 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); |
| 7025 |
} |
| 7026 |
.bdt-box-shadow-large { |
| 7027 |
box-shadow: 0 14px 25px rgba(0, 0, 0, 0.16); |
| 7028 |
} |
| 7029 |
.bdt-box-shadow-xlarge { |
| 7030 |
box-shadow: 0 28px 50px rgba(0, 0, 0, 0.16); |
| 7031 |
} |
| 7032 |
/* |
| 7033 |
* Hover |
| 7034 |
*/ |
| 7035 |
[class*='bdt-box-shadow-hover'] { |
| 7036 |
transition: box-shadow 0.1s ease-in-out; |
| 7037 |
} |
| 7038 |
.bdt-box-shadow-hover-small:hover { |
| 7039 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| 7040 |
} |
| 7041 |
.bdt-box-shadow-hover-medium:hover { |
| 7042 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); |
| 7043 |
} |
| 7044 |
.bdt-box-shadow-hover-large:hover { |
| 7045 |
box-shadow: 0 14px 25px rgba(0, 0, 0, 0.16); |
| 7046 |
} |
| 7047 |
.bdt-box-shadow-hover-xlarge:hover { |
| 7048 |
box-shadow: 0 28px 50px rgba(0, 0, 0, 0.16); |
| 7049 |
} |
| 7050 |
/* Box-shadow bottom |
| 7051 |
========================================================================== */ |
| 7052 |
/* |
| 7053 |
* 1. Set position. |
| 7054 |
* 2. Set style |
| 7055 |
* 3. Fix shadow being clipped in Safari if container is animated |
| 7056 |
*/ |
| 7057 |
@supports (filter: blur(0)) { |
| 7058 |
.bdt-box-shadow-bottom { |
| 7059 |
display: inline-block; |
| 7060 |
position: relative; |
| 7061 |
z-index: 0; |
| 7062 |
max-width: 100%; |
| 7063 |
vertical-align: middle; |
| 7064 |
} |
| 7065 |
.bdt-box-shadow-bottom::after { |
| 7066 |
content: ""; |
| 7067 |
/* 1 */ |
| 7068 |
position: absolute; |
| 7069 |
bottom: -30px; |
| 7070 |
left: 0; |
| 7071 |
right: 0; |
| 7072 |
z-index: -1; |
| 7073 |
/* 2 */ |
| 7074 |
height: 30px; |
| 7075 |
border-radius: 100%; |
| 7076 |
background: #444; |
| 7077 |
filter: blur(20px); |
| 7078 |
/* 3 */ |
| 7079 |
will-change: filter; |
| 7080 |
} |
| 7081 |
} |
| 7082 |
/* Drop cap |
| 7083 |
========================================================================== */ |
| 7084 |
/* |
| 7085 |
* 1. Firefox doesn't apply `::first-letter` if the first letter is inside child elements |
| 7086 |
* https://bugzilla.mozilla.org/show_bug.cgi?id=214004 |
| 7087 |
* 2. In Firefox, a floating `::first-letter` doesn't have a line box and there for no `line-height` |
| 7088 |
* https://bugzilla.mozilla.org/show_bug.cgi?id=317933 |
| 7089 |
*/ |
| 7090 |
.bdt-dropcap::first-letter, |
| 7091 |
.bdt-dropcap > p:first-of-type::first-letter { |
| 7092 |
display: block; |
| 7093 |
margin-right: 10px; |
| 7094 |
float: left; |
| 7095 |
font-size: 4.5em; |
| 7096 |
line-height: 1; |
| 7097 |
} |
| 7098 |
/* 2 */ |
| 7099 |
@-moz-document url-prefix() { |
| 7100 |
.bdt-dropcap::first-letter, |
| 7101 |
.bdt-dropcap > p:first-of-type::first-letter { |
| 7102 |
margin-top: 1.1%; |
| 7103 |
} |
| 7104 |
} |
| 7105 |
/* Logo |
| 7106 |
========================================================================== */ |
| 7107 |
/* |
| 7108 |
* 1. Required for `a` |
| 7109 |
*/ |
| 7110 |
.bdt-logo { |
| 7111 |
font-size: 1.5rem; |
| 7112 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 7113 |
color: #333; |
| 7114 |
/* 1 */ |
| 7115 |
text-decoration: none; |
| 7116 |
} |
| 7117 |
/* Hover */ |
| 7118 |
.bdt-logo:hover { |
| 7119 |
color: #333; |
| 7120 |
/* 1 */ |
| 7121 |
text-decoration: none; |
| 7122 |
} |
| 7123 |
.bdt-logo > :where(img, svg, video) { |
| 7124 |
display: block; |
| 7125 |
} |
| 7126 |
.bdt-logo-inverse { |
| 7127 |
display: none; |
| 7128 |
} |
| 7129 |
/* Disabled State |
| 7130 |
========================================================================== */ |
| 7131 |
.bdt-disabled { |
| 7132 |
pointer-events: none; |
| 7133 |
} |
| 7134 |
/* Drag State |
| 7135 |
========================================================================== */ |
| 7136 |
/* |
| 7137 |
* 1. Needed if moving over elements with have their own cursor on hover, e.g. links or buttons |
| 7138 |
* 2. Fix dragging over iframes |
| 7139 |
*/ |
| 7140 |
.bdt-drag, |
| 7141 |
.bdt-drag * { |
| 7142 |
cursor: move; |
| 7143 |
} |
| 7144 |
/* 2 */ |
| 7145 |
.bdt-drag iframe { |
| 7146 |
pointer-events: none; |
| 7147 |
} |
| 7148 |
/* Dragover State |
| 7149 |
========================================================================== */ |
| 7150 |
/* |
| 7151 |
* Create a box-shadow when dragging a file over the upload area |
| 7152 |
*/ |
| 7153 |
.bdt-dragover { |
| 7154 |
box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); |
| 7155 |
} |
| 7156 |
/* Blend modes |
| 7157 |
========================================================================== */ |
| 7158 |
.bdt-blend-multiply { |
| 7159 |
mix-blend-mode: multiply; |
| 7160 |
} |
| 7161 |
.bdt-blend-screen { |
| 7162 |
mix-blend-mode: screen; |
| 7163 |
} |
| 7164 |
.bdt-blend-overlay { |
| 7165 |
mix-blend-mode: overlay; |
| 7166 |
} |
| 7167 |
.bdt-blend-darken { |
| 7168 |
mix-blend-mode: darken; |
| 7169 |
} |
| 7170 |
.bdt-blend-lighten { |
| 7171 |
mix-blend-mode: lighten; |
| 7172 |
} |
| 7173 |
.bdt-blend-color-dodge { |
| 7174 |
mix-blend-mode: color-dodge; |
| 7175 |
} |
| 7176 |
.bdt-blend-color-burn { |
| 7177 |
mix-blend-mode: color-burn; |
| 7178 |
} |
| 7179 |
.bdt-blend-hard-light { |
| 7180 |
mix-blend-mode: hard-light; |
| 7181 |
} |
| 7182 |
.bdt-blend-soft-light { |
| 7183 |
mix-blend-mode: soft-light; |
| 7184 |
} |
| 7185 |
.bdt-blend-difference { |
| 7186 |
mix-blend-mode: difference; |
| 7187 |
} |
| 7188 |
.bdt-blend-exclusion { |
| 7189 |
mix-blend-mode: exclusion; |
| 7190 |
} |
| 7191 |
.bdt-blend-hue { |
| 7192 |
mix-blend-mode: hue; |
| 7193 |
} |
| 7194 |
.bdt-blend-saturation { |
| 7195 |
mix-blend-mode: saturation; |
| 7196 |
} |
| 7197 |
.bdt-blend-color { |
| 7198 |
mix-blend-mode: color; |
| 7199 |
} |
| 7200 |
.bdt-blend-luminosity { |
| 7201 |
mix-blend-mode: luminosity; |
| 7202 |
} |
| 7203 |
/* Transform |
| 7204 |
========================================================================== */ |
| 7205 |
.bdt-transform-center { |
| 7206 |
transform: translate(-50%, -50%); |
| 7207 |
} |
| 7208 |
/* Transform Origin |
| 7209 |
========================================================================== */ |
| 7210 |
.bdt-transform-origin-top-left { |
| 7211 |
transform-origin: 0 0; |
| 7212 |
} |
| 7213 |
.bdt-transform-origin-top-center { |
| 7214 |
transform-origin: 50% 0; |
| 7215 |
} |
| 7216 |
.bdt-transform-origin-top-right { |
| 7217 |
transform-origin: 100% 0; |
| 7218 |
} |
| 7219 |
.bdt-transform-origin-center-left { |
| 7220 |
transform-origin: 0 50%; |
| 7221 |
} |
| 7222 |
.bdt-transform-origin-center-right { |
| 7223 |
transform-origin: 100% 50%; |
| 7224 |
} |
| 7225 |
.bdt-transform-origin-bottom-left { |
| 7226 |
transform-origin: 0 100%; |
| 7227 |
} |
| 7228 |
.bdt-transform-origin-bottom-center { |
| 7229 |
transform-origin: 50% 100%; |
| 7230 |
} |
| 7231 |
.bdt-transform-origin-bottom-right { |
| 7232 |
transform-origin: 100% 100%; |
| 7233 |
} |
| 7234 |
/* ======================================================================== |
| 7235 |
Component: Flex |
| 7236 |
========================================================================== */ |
| 7237 |
.bdt-flex { |
| 7238 |
display: flex; |
| 7239 |
} |
| 7240 |
.bdt-flex-inline { |
| 7241 |
display: inline-flex; |
| 7242 |
} |
| 7243 |
/* Alignment |
| 7244 |
========================================================================== */ |
| 7245 |
/* |
| 7246 |
* Align items along the main axis of the current line of the flex container |
| 7247 |
* Row: Horizontal |
| 7248 |
*/ |
| 7249 |
.bdt-flex-left { |
| 7250 |
justify-content: flex-start; |
| 7251 |
} |
| 7252 |
.bdt-flex-center { |
| 7253 |
justify-content: center; |
| 7254 |
} |
| 7255 |
.bdt-flex-right { |
| 7256 |
justify-content: flex-end; |
| 7257 |
} |
| 7258 |
.bdt-flex-between { |
| 7259 |
justify-content: space-between; |
| 7260 |
} |
| 7261 |
.bdt-flex-around { |
| 7262 |
justify-content: space-around; |
| 7263 |
} |
| 7264 |
/* Phone landscape and bigger */ |
| 7265 |
@media (min-width: 640px) { |
| 7266 |
.bdt-flex-left\@s { |
| 7267 |
justify-content: flex-start; |
| 7268 |
} |
| 7269 |
.bdt-flex-center\@s { |
| 7270 |
justify-content: center; |
| 7271 |
} |
| 7272 |
.bdt-flex-right\@s { |
| 7273 |
justify-content: flex-end; |
| 7274 |
} |
| 7275 |
.bdt-flex-between\@s { |
| 7276 |
justify-content: space-between; |
| 7277 |
} |
| 7278 |
.bdt-flex-around\@s { |
| 7279 |
justify-content: space-around; |
| 7280 |
} |
| 7281 |
} |
| 7282 |
/* Tablet landscape and bigger */ |
| 7283 |
@media (min-width: 960px) { |
| 7284 |
.bdt-flex-left\@m { |
| 7285 |
justify-content: flex-start; |
| 7286 |
} |
| 7287 |
.bdt-flex-center\@m { |
| 7288 |
justify-content: center; |
| 7289 |
} |
| 7290 |
.bdt-flex-right\@m { |
| 7291 |
justify-content: flex-end; |
| 7292 |
} |
| 7293 |
.bdt-flex-between\@m { |
| 7294 |
justify-content: space-between; |
| 7295 |
} |
| 7296 |
.bdt-flex-around\@m { |
| 7297 |
justify-content: space-around; |
| 7298 |
} |
| 7299 |
} |
| 7300 |
/* Desktop and bigger */ |
| 7301 |
@media (min-width: 1200px) { |
| 7302 |
.bdt-flex-left\@l { |
| 7303 |
justify-content: flex-start; |
| 7304 |
} |
| 7305 |
.bdt-flex-center\@l { |
| 7306 |
justify-content: center; |
| 7307 |
} |
| 7308 |
.bdt-flex-right\@l { |
| 7309 |
justify-content: flex-end; |
| 7310 |
} |
| 7311 |
.bdt-flex-between\@l { |
| 7312 |
justify-content: space-between; |
| 7313 |
} |
| 7314 |
.bdt-flex-around\@l { |
| 7315 |
justify-content: space-around; |
| 7316 |
} |
| 7317 |
} |
| 7318 |
/* Large screen and bigger */ |
| 7319 |
@media (min-width: 1600px) { |
| 7320 |
.bdt-flex-left\@xl { |
| 7321 |
justify-content: flex-start; |
| 7322 |
} |
| 7323 |
.bdt-flex-center\@xl { |
| 7324 |
justify-content: center; |
| 7325 |
} |
| 7326 |
.bdt-flex-right\@xl { |
| 7327 |
justify-content: flex-end; |
| 7328 |
} |
| 7329 |
.bdt-flex-between\@xl { |
| 7330 |
justify-content: space-between; |
| 7331 |
} |
| 7332 |
.bdt-flex-around\@xl { |
| 7333 |
justify-content: space-around; |
| 7334 |
} |
| 7335 |
} |
| 7336 |
/* |
| 7337 |
* Align items in the cross axis of the current line of the flex container |
| 7338 |
* Row: Vertical |
| 7339 |
*/ |
| 7340 |
.bdt-flex-stretch { |
| 7341 |
align-items: stretch; |
| 7342 |
} |
| 7343 |
.bdt-flex-top { |
| 7344 |
align-items: flex-start; |
| 7345 |
} |
| 7346 |
.bdt-flex-middle { |
| 7347 |
align-items: center; |
| 7348 |
} |
| 7349 |
.bdt-flex-bottom { |
| 7350 |
align-items: flex-end; |
| 7351 |
} |
| 7352 |
/* Direction |
| 7353 |
========================================================================== */ |
| 7354 |
.bdt-flex-row { |
| 7355 |
flex-direction: row; |
| 7356 |
} |
| 7357 |
.bdt-flex-row-reverse { |
| 7358 |
flex-direction: row-reverse; |
| 7359 |
} |
| 7360 |
.bdt-flex-column { |
| 7361 |
flex-direction: column; |
| 7362 |
} |
| 7363 |
.bdt-flex-column-reverse { |
| 7364 |
flex-direction: column-reverse; |
| 7365 |
} |
| 7366 |
/* Wrap |
| 7367 |
========================================================================== */ |
| 7368 |
.bdt-flex-nowrap { |
| 7369 |
flex-wrap: nowrap; |
| 7370 |
} |
| 7371 |
.bdt-flex-wrap { |
| 7372 |
flex-wrap: wrap; |
| 7373 |
} |
| 7374 |
.bdt-flex-wrap-reverse { |
| 7375 |
flex-wrap: wrap-reverse; |
| 7376 |
} |
| 7377 |
/* |
| 7378 |
* Aligns items within the flex container when there is extra space in the cross-axis |
| 7379 |
* Only works if there is more than one line of flex items |
| 7380 |
*/ |
| 7381 |
.bdt-flex-wrap-stretch { |
| 7382 |
align-content: stretch; |
| 7383 |
} |
| 7384 |
.bdt-flex-wrap-top { |
| 7385 |
align-content: flex-start; |
| 7386 |
} |
| 7387 |
.bdt-flex-wrap-middle { |
| 7388 |
align-content: center; |
| 7389 |
} |
| 7390 |
.bdt-flex-wrap-bottom { |
| 7391 |
align-content: flex-end; |
| 7392 |
} |
| 7393 |
.bdt-flex-wrap-between { |
| 7394 |
align-content: space-between; |
| 7395 |
} |
| 7396 |
.bdt-flex-wrap-around { |
| 7397 |
align-content: space-around; |
| 7398 |
} |
| 7399 |
/* Item ordering |
| 7400 |
========================================================================== */ |
| 7401 |
/* |
| 7402 |
* Default is 0 |
| 7403 |
*/ |
| 7404 |
.bdt-flex-first { |
| 7405 |
order: -1; |
| 7406 |
} |
| 7407 |
.bdt-flex-last { |
| 7408 |
order: 99; |
| 7409 |
} |
| 7410 |
/* Phone landscape and bigger */ |
| 7411 |
@media (min-width: 640px) { |
| 7412 |
.bdt-flex-first\@s { |
| 7413 |
order: -1; |
| 7414 |
} |
| 7415 |
.bdt-flex-last\@s { |
| 7416 |
order: 99; |
| 7417 |
} |
| 7418 |
} |
| 7419 |
/* Tablet landscape and bigger */ |
| 7420 |
@media (min-width: 960px) { |
| 7421 |
.bdt-flex-first\@m { |
| 7422 |
order: -1; |
| 7423 |
} |
| 7424 |
.bdt-flex-last\@m { |
| 7425 |
order: 99; |
| 7426 |
} |
| 7427 |
} |
| 7428 |
/* Desktop and bigger */ |
| 7429 |
@media (min-width: 1200px) { |
| 7430 |
.bdt-flex-first\@l { |
| 7431 |
order: -1; |
| 7432 |
} |
| 7433 |
.bdt-flex-last\@l { |
| 7434 |
order: 99; |
| 7435 |
} |
| 7436 |
} |
| 7437 |
/* Large screen and bigger */ |
| 7438 |
@media (min-width: 1600px) { |
| 7439 |
.bdt-flex-first\@xl { |
| 7440 |
order: -1; |
| 7441 |
} |
| 7442 |
.bdt-flex-last\@xl { |
| 7443 |
order: 99; |
| 7444 |
} |
| 7445 |
} |
| 7446 |
/* Item dimensions |
| 7447 |
========================================================================== */ |
| 7448 |
/* |
| 7449 |
* Initial: 0 1 auto |
| 7450 |
* Content dimensions, but shrinks |
| 7451 |
*/ |
| 7452 |
/* |
| 7453 |
* No Flex: 0 0 auto |
| 7454 |
* Content dimensions |
| 7455 |
*/ |
| 7456 |
.bdt-flex-none { |
| 7457 |
flex: none; |
| 7458 |
} |
| 7459 |
/* |
| 7460 |
* Relative Flex: 1 1 auto |
| 7461 |
* Space is allocated considering content |
| 7462 |
*/ |
| 7463 |
.bdt-flex-auto { |
| 7464 |
flex: auto; |
| 7465 |
} |
| 7466 |
/* |
| 7467 |
* Absolute Flex: 1 1 0% |
| 7468 |
* Space is allocated solely based on flex |
| 7469 |
*/ |
| 7470 |
.bdt-flex-1 { |
| 7471 |
flex: 1; |
| 7472 |
} |
| 7473 |
/* ======================================================================== |
| 7474 |
Component: Margin |
| 7475 |
========================================================================== */ |
| 7476 |
/* |
| 7477 |
* Default |
| 7478 |
*/ |
| 7479 |
.bdt-margin { |
| 7480 |
margin-bottom: 20px; |
| 7481 |
} |
| 7482 |
* + .bdt-margin { |
| 7483 |
margin-top: 20px !important; |
| 7484 |
} |
| 7485 |
.bdt-margin-top { |
| 7486 |
margin-top: 20px !important; |
| 7487 |
} |
| 7488 |
.bdt-margin-bottom { |
| 7489 |
margin-bottom: 20px !important; |
| 7490 |
} |
| 7491 |
.bdt-margin-left { |
| 7492 |
margin-left: 20px !important; |
| 7493 |
} |
| 7494 |
.bdt-margin-right { |
| 7495 |
margin-right: 20px !important; |
| 7496 |
} |
| 7497 |
/* Small |
| 7498 |
========================================================================== */ |
| 7499 |
.bdt-margin-small { |
| 7500 |
margin-bottom: 10px; |
| 7501 |
} |
| 7502 |
* + .bdt-margin-small { |
| 7503 |
margin-top: 10px !important; |
| 7504 |
} |
| 7505 |
.bdt-margin-small-top { |
| 7506 |
margin-top: 10px !important; |
| 7507 |
} |
| 7508 |
.bdt-margin-small-bottom { |
| 7509 |
margin-bottom: 10px !important; |
| 7510 |
} |
| 7511 |
.bdt-margin-small-left { |
| 7512 |
margin-left: 10px !important; |
| 7513 |
} |
| 7514 |
.bdt-margin-small-right { |
| 7515 |
margin-right: 10px !important; |
| 7516 |
} |
| 7517 |
/* Medium |
| 7518 |
========================================================================== */ |
| 7519 |
.bdt-margin-medium { |
| 7520 |
margin-bottom: 40px; |
| 7521 |
} |
| 7522 |
* + .bdt-margin-medium { |
| 7523 |
margin-top: 40px !important; |
| 7524 |
} |
| 7525 |
.bdt-margin-medium-top { |
| 7526 |
margin-top: 40px !important; |
| 7527 |
} |
| 7528 |
.bdt-margin-medium-bottom { |
| 7529 |
margin-bottom: 40px !important; |
| 7530 |
} |
| 7531 |
.bdt-margin-medium-left { |
| 7532 |
margin-left: 40px !important; |
| 7533 |
} |
| 7534 |
.bdt-margin-medium-right { |
| 7535 |
margin-right: 40px !important; |
| 7536 |
} |
| 7537 |
/* Large |
| 7538 |
========================================================================== */ |
| 7539 |
.bdt-margin-large { |
| 7540 |
margin-bottom: 40px; |
| 7541 |
} |
| 7542 |
* + .bdt-margin-large { |
| 7543 |
margin-top: 40px !important; |
| 7544 |
} |
| 7545 |
.bdt-margin-large-top { |
| 7546 |
margin-top: 40px !important; |
| 7547 |
} |
| 7548 |
.bdt-margin-large-bottom { |
| 7549 |
margin-bottom: 40px !important; |
| 7550 |
} |
| 7551 |
.bdt-margin-large-left { |
| 7552 |
margin-left: 40px !important; |
| 7553 |
} |
| 7554 |
.bdt-margin-large-right { |
| 7555 |
margin-right: 40px !important; |
| 7556 |
} |
| 7557 |
/* Desktop and bigger */ |
| 7558 |
@media (min-width: 1200px) { |
| 7559 |
.bdt-margin-large { |
| 7560 |
margin-bottom: 70px; |
| 7561 |
} |
| 7562 |
* + .bdt-margin-large { |
| 7563 |
margin-top: 70px !important; |
| 7564 |
} |
| 7565 |
.bdt-margin-large-top { |
| 7566 |
margin-top: 70px !important; |
| 7567 |
} |
| 7568 |
.bdt-margin-large-bottom { |
| 7569 |
margin-bottom: 70px !important; |
| 7570 |
} |
| 7571 |
.bdt-margin-large-left { |
| 7572 |
margin-left: 70px !important; |
| 7573 |
} |
| 7574 |
.bdt-margin-large-right { |
| 7575 |
margin-right: 70px !important; |
| 7576 |
} |
| 7577 |
} |
| 7578 |
/* XLarge |
| 7579 |
========================================================================== */ |
| 7580 |
.bdt-margin-xlarge { |
| 7581 |
margin-bottom: 70px; |
| 7582 |
} |
| 7583 |
* + .bdt-margin-xlarge { |
| 7584 |
margin-top: 70px !important; |
| 7585 |
} |
| 7586 |
.bdt-margin-xlarge-top { |
| 7587 |
margin-top: 70px !important; |
| 7588 |
} |
| 7589 |
.bdt-margin-xlarge-bottom { |
| 7590 |
margin-bottom: 70px !important; |
| 7591 |
} |
| 7592 |
.bdt-margin-xlarge-left { |
| 7593 |
margin-left: 70px !important; |
| 7594 |
} |
| 7595 |
.bdt-margin-xlarge-right { |
| 7596 |
margin-right: 70px !important; |
| 7597 |
} |
| 7598 |
/* Desktop and bigger */ |
| 7599 |
@media (min-width: 1200px) { |
| 7600 |
.bdt-margin-xlarge { |
| 7601 |
margin-bottom: 140px; |
| 7602 |
} |
| 7603 |
* + .bdt-margin-xlarge { |
| 7604 |
margin-top: 140px !important; |
| 7605 |
} |
| 7606 |
.bdt-margin-xlarge-top { |
| 7607 |
margin-top: 140px !important; |
| 7608 |
} |
| 7609 |
.bdt-margin-xlarge-bottom { |
| 7610 |
margin-bottom: 140px !important; |
| 7611 |
} |
| 7612 |
.bdt-margin-xlarge-left { |
| 7613 |
margin-left: 140px !important; |
| 7614 |
} |
| 7615 |
.bdt-margin-xlarge-right { |
| 7616 |
margin-right: 140px !important; |
| 7617 |
} |
| 7618 |
} |
| 7619 |
/* Auto |
| 7620 |
========================================================================== */ |
| 7621 |
.bdt-margin-auto { |
| 7622 |
margin-left: auto !important; |
| 7623 |
margin-right: auto !important; |
| 7624 |
} |
| 7625 |
.bdt-margin-auto-top { |
| 7626 |
margin-top: auto !important; |
| 7627 |
} |
| 7628 |
.bdt-margin-auto-bottom { |
| 7629 |
margin-bottom: auto !important; |
| 7630 |
} |
| 7631 |
.bdt-margin-auto-left { |
| 7632 |
margin-left: auto !important; |
| 7633 |
} |
| 7634 |
.bdt-margin-auto-right { |
| 7635 |
margin-right: auto !important; |
| 7636 |
} |
| 7637 |
.bdt-margin-auto-vertical { |
| 7638 |
margin-top: auto !important; |
| 7639 |
margin-bottom: auto !important; |
| 7640 |
} |
| 7641 |
/* Phone landscape and bigger */ |
| 7642 |
@media (min-width: 640px) { |
| 7643 |
.bdt-margin-auto\@s { |
| 7644 |
margin-left: auto !important; |
| 7645 |
margin-right: auto !important; |
| 7646 |
} |
| 7647 |
.bdt-margin-auto-left\@s { |
| 7648 |
margin-left: auto !important; |
| 7649 |
} |
| 7650 |
.bdt-margin-auto-right\@s { |
| 7651 |
margin-right: auto !important; |
| 7652 |
} |
| 7653 |
} |
| 7654 |
/* Tablet landscape and bigger */ |
| 7655 |
@media (min-width: 960px) { |
| 7656 |
.bdt-margin-auto\@m { |
| 7657 |
margin-left: auto !important; |
| 7658 |
margin-right: auto !important; |
| 7659 |
} |
| 7660 |
.bdt-margin-auto-left\@m { |
| 7661 |
margin-left: auto !important; |
| 7662 |
} |
| 7663 |
.bdt-margin-auto-right\@m { |
| 7664 |
margin-right: auto !important; |
| 7665 |
} |
| 7666 |
} |
| 7667 |
/* Desktop and bigger */ |
| 7668 |
@media (min-width: 1200px) { |
| 7669 |
.bdt-margin-auto\@l { |
| 7670 |
margin-left: auto !important; |
| 7671 |
margin-right: auto !important; |
| 7672 |
} |
| 7673 |
.bdt-margin-auto-left\@l { |
| 7674 |
margin-left: auto !important; |
| 7675 |
} |
| 7676 |
.bdt-margin-auto-right\@l { |
| 7677 |
margin-right: auto !important; |
| 7678 |
} |
| 7679 |
} |
| 7680 |
/* Large screen and bigger */ |
| 7681 |
@media (min-width: 1600px) { |
| 7682 |
.bdt-margin-auto\@xl { |
| 7683 |
margin-left: auto !important; |
| 7684 |
margin-right: auto !important; |
| 7685 |
} |
| 7686 |
.bdt-margin-auto-left\@xl { |
| 7687 |
margin-left: auto !important; |
| 7688 |
} |
| 7689 |
.bdt-margin-auto-right\@xl { |
| 7690 |
margin-right: auto !important; |
| 7691 |
} |
| 7692 |
} |
| 7693 |
/* Remove |
| 7694 |
========================================================================== */ |
| 7695 |
.bdt-margin-remove { |
| 7696 |
margin: 0 !important; |
| 7697 |
} |
| 7698 |
.bdt-margin-remove-top { |
| 7699 |
margin-top: 0 !important; |
| 7700 |
} |
| 7701 |
.bdt-margin-remove-bottom { |
| 7702 |
margin-bottom: 0 !important; |
| 7703 |
} |
| 7704 |
.bdt-margin-remove-left { |
| 7705 |
margin-left: 0 !important; |
| 7706 |
} |
| 7707 |
.bdt-margin-remove-right { |
| 7708 |
margin-right: 0 !important; |
| 7709 |
} |
| 7710 |
.bdt-margin-remove-vertical { |
| 7711 |
margin-top: 0 !important; |
| 7712 |
margin-bottom: 0 !important; |
| 7713 |
} |
| 7714 |
.bdt-margin-remove-adjacent + *, |
| 7715 |
.bdt-margin-remove-first-child > :first-child { |
| 7716 |
margin-top: 0 !important; |
| 7717 |
} |
| 7718 |
.bdt-margin-remove-last-child > :last-child { |
| 7719 |
margin-bottom: 0 !important; |
| 7720 |
} |
| 7721 |
/* Phone landscape and bigger */ |
| 7722 |
@media (min-width: 640px) { |
| 7723 |
.bdt-margin-remove-left\@s { |
| 7724 |
margin-left: 0 !important; |
| 7725 |
} |
| 7726 |
.bdt-margin-remove-right\@s { |
| 7727 |
margin-right: 0 !important; |
| 7728 |
} |
| 7729 |
} |
| 7730 |
/* Tablet landscape and bigger */ |
| 7731 |
@media (min-width: 960px) { |
| 7732 |
.bdt-margin-remove-left\@m { |
| 7733 |
margin-left: 0 !important; |
| 7734 |
} |
| 7735 |
.bdt-margin-remove-right\@m { |
| 7736 |
margin-right: 0 !important; |
| 7737 |
} |
| 7738 |
} |
| 7739 |
/* Desktop and bigger */ |
| 7740 |
@media (min-width: 1200px) { |
| 7741 |
.bdt-margin-remove-left\@l { |
| 7742 |
margin-left: 0 !important; |
| 7743 |
} |
| 7744 |
.bdt-margin-remove-right\@l { |
| 7745 |
margin-right: 0 !important; |
| 7746 |
} |
| 7747 |
} |
| 7748 |
/* Large screen and bigger */ |
| 7749 |
@media (min-width: 1600px) { |
| 7750 |
.bdt-margin-remove-left\@xl { |
| 7751 |
margin-left: 0 !important; |
| 7752 |
} |
| 7753 |
.bdt-margin-remove-right\@xl { |
| 7754 |
margin-right: 0 !important; |
| 7755 |
} |
| 7756 |
} |
| 7757 |
/* ======================================================================== |
| 7758 |
Component: Padding |
| 7759 |
========================================================================== */ |
| 7760 |
.bdt-padding { |
| 7761 |
padding: 30px; |
| 7762 |
} |
| 7763 |
/* Desktop and bigger */ |
| 7764 |
@media (min-width: 1200px) { |
| 7765 |
.bdt-padding { |
| 7766 |
padding: 40px; |
| 7767 |
} |
| 7768 |
} |
| 7769 |
/* Small |
| 7770 |
========================================================================== */ |
| 7771 |
.bdt-padding-small { |
| 7772 |
padding: 15px; |
| 7773 |
} |
| 7774 |
/* Large |
| 7775 |
========================================================================== */ |
| 7776 |
.bdt-padding-large { |
| 7777 |
padding: 40px; |
| 7778 |
} |
| 7779 |
/* Desktop and bigger */ |
| 7780 |
@media (min-width: 1200px) { |
| 7781 |
.bdt-padding-large { |
| 7782 |
padding: 70px; |
| 7783 |
} |
| 7784 |
} |
| 7785 |
/* Remove |
| 7786 |
========================================================================== */ |
| 7787 |
.bdt-padding-remove { |
| 7788 |
padding: 0 !important; |
| 7789 |
} |
| 7790 |
.bdt-padding-remove-top { |
| 7791 |
padding-top: 0 !important; |
| 7792 |
} |
| 7793 |
.bdt-padding-remove-bottom { |
| 7794 |
padding-bottom: 0 !important; |
| 7795 |
} |
| 7796 |
.bdt-padding-remove-left { |
| 7797 |
padding-left: 0 !important; |
| 7798 |
} |
| 7799 |
.bdt-padding-remove-right { |
| 7800 |
padding-right: 0 !important; |
| 7801 |
} |
| 7802 |
.bdt-padding-remove-vertical { |
| 7803 |
padding-top: 0 !important; |
| 7804 |
padding-bottom: 0 !important; |
| 7805 |
} |
| 7806 |
.bdt-padding-remove-horizontal { |
| 7807 |
padding-left: 0 !important; |
| 7808 |
padding-right: 0 !important; |
| 7809 |
} |
| 7810 |
/* ======================================================================== |
| 7811 |
Component: Position |
| 7812 |
========================================================================== */ |
| 7813 |
:root { |
| 7814 |
--bdt-position-margin-offset: 0px; |
| 7815 |
} |
| 7816 |
/* Directions |
| 7817 |
========================================================================== */ |
| 7818 |
/* |
| 7819 |
* 1. Prevent content overflow. |
| 7820 |
*/ |
| 7821 |
[class*='bdt-position-top'], |
| 7822 |
[class*='bdt-position-bottom'], |
| 7823 |
[class*='bdt-position-left'], |
| 7824 |
[class*='bdt-position-right'], |
| 7825 |
[class*='bdt-position-center'] { |
| 7826 |
position: absolute !important; |
| 7827 |
/* 1 */ |
| 7828 |
max-width: calc(100% - (var(--bdt-position-margin-offset) * 2)); |
| 7829 |
box-sizing: border-box; |
| 7830 |
} |
| 7831 |
/* |
| 7832 |
* Edges |
| 7833 |
* Don't use `width: 100%` because it's wrong if the parent has padding. |
| 7834 |
*/ |
| 7835 |
.bdt-position-top { |
| 7836 |
top: 0; |
| 7837 |
left: 0; |
| 7838 |
right: 0; |
| 7839 |
} |
| 7840 |
.bdt-position-bottom { |
| 7841 |
bottom: 0; |
| 7842 |
left: 0; |
| 7843 |
right: 0; |
| 7844 |
} |
| 7845 |
.bdt-position-left { |
| 7846 |
top: 0; |
| 7847 |
bottom: 0; |
| 7848 |
left: 0; |
| 7849 |
} |
| 7850 |
.bdt-position-right { |
| 7851 |
top: 0; |
| 7852 |
bottom: 0; |
| 7853 |
right: 0; |
| 7854 |
} |
| 7855 |
/* |
| 7856 |
* Corners |
| 7857 |
*/ |
| 7858 |
.bdt-position-top-left { |
| 7859 |
top: 0; |
| 7860 |
left: 0; |
| 7861 |
} |
| 7862 |
.bdt-position-top-right { |
| 7863 |
top: 0; |
| 7864 |
right: 0; |
| 7865 |
} |
| 7866 |
.bdt-position-bottom-left { |
| 7867 |
bottom: 0; |
| 7868 |
left: 0; |
| 7869 |
} |
| 7870 |
.bdt-position-bottom-right { |
| 7871 |
bottom: 0; |
| 7872 |
right: 0; |
| 7873 |
} |
| 7874 |
/* |
| 7875 |
* Center |
| 7876 |
* 1. Fix text wrapping if content is larger than 50% of the container. |
| 7877 |
* Using `max-content` requires `max-width` of 100% which is set generally. |
| 7878 |
*/ |
| 7879 |
.bdt-position-center { |
| 7880 |
top: calc(50% - var(--bdt-position-margin-offset)); |
| 7881 |
left: calc(50% - var(--bdt-position-margin-offset)); |
| 7882 |
--bdt-position-translate-x: -50%; |
| 7883 |
--bdt-position-translate-y: -50%; |
| 7884 |
transform: translate(var(--bdt-position-translate-x), var(--bdt-position-translate-y)); |
| 7885 |
/* 1 */ |
| 7886 |
width: max-content; |
| 7887 |
} |
| 7888 |
/* Vertical */ |
| 7889 |
[class*='bdt-position-center-left'], |
| 7890 |
[class*='bdt-position-center-right'] { |
| 7891 |
top: calc(50% - var(--bdt-position-margin-offset)); |
| 7892 |
--bdt-position-translate-y: -50%; |
| 7893 |
transform: translate(0, var(--bdt-position-translate-y)); |
| 7894 |
} |
| 7895 |
.bdt-position-center-left { |
| 7896 |
left: 0; |
| 7897 |
} |
| 7898 |
.bdt-position-center-right { |
| 7899 |
right: 0; |
| 7900 |
} |
| 7901 |
.bdt-position-center-left-out { |
| 7902 |
right: 100%; |
| 7903 |
width: max-content; |
| 7904 |
} |
| 7905 |
.bdt-position-center-right-out { |
| 7906 |
left: 100%; |
| 7907 |
width: max-content; |
| 7908 |
} |
| 7909 |
/* Horizontal */ |
| 7910 |
.bdt-position-top-center, |
| 7911 |
.bdt-position-bottom-center { |
| 7912 |
left: calc(50% - var(--bdt-position-margin-offset)); |
| 7913 |
--bdt-position-translate-x: -50%; |
| 7914 |
transform: translate(var(--bdt-position-translate-x), 0); |
| 7915 |
/* 1 */ |
| 7916 |
width: max-content; |
| 7917 |
} |
| 7918 |
.bdt-position-top-center { |
| 7919 |
top: 0; |
| 7920 |
} |
| 7921 |
.bdt-position-bottom-center { |
| 7922 |
bottom: 0; |
| 7923 |
} |
| 7924 |
/* |
| 7925 |
* Cover |
| 7926 |
*/ |
| 7927 |
.bdt-position-cover { |
| 7928 |
position: absolute; |
| 7929 |
top: 0; |
| 7930 |
bottom: 0; |
| 7931 |
left: 0; |
| 7932 |
right: 0; |
| 7933 |
} |
| 7934 |
/* Margin |
| 7935 |
========================================================================== */ |
| 7936 |
.bdt-position-small { |
| 7937 |
margin: 15px; |
| 7938 |
--bdt-position-margin-offset: 15px; |
| 7939 |
} |
| 7940 |
.bdt-position-medium { |
| 7941 |
margin: 30px; |
| 7942 |
--bdt-position-margin-offset: 30px; |
| 7943 |
} |
| 7944 |
.bdt-position-large { |
| 7945 |
margin: 30px; |
| 7946 |
--bdt-position-margin-offset: 30px; |
| 7947 |
} |
| 7948 |
/* Desktop and bigger */ |
| 7949 |
@media (min-width: 1200px) { |
| 7950 |
.bdt-position-large { |
| 7951 |
margin: 50px; |
| 7952 |
--bdt-position-margin-offset: 50px; |
| 7953 |
} |
| 7954 |
} |
| 7955 |
/* Schemes |
| 7956 |
========================================================================== */ |
| 7957 |
.bdt-position-relative { |
| 7958 |
position: relative !important; |
| 7959 |
} |
| 7960 |
.bdt-position-absolute { |
| 7961 |
position: absolute !important; |
| 7962 |
} |
| 7963 |
.bdt-position-fixed { |
| 7964 |
position: fixed !important; |
| 7965 |
} |
| 7966 |
.bdt-position-sticky { |
| 7967 |
position: sticky !important; |
| 7968 |
} |
| 7969 |
/* Layer |
| 7970 |
========================================================================== */ |
| 7971 |
.bdt-position-z-index { |
| 7972 |
z-index: 1; |
| 7973 |
} |
| 7974 |
.bdt-position-z-index-negative { |
| 7975 |
z-index: -1; |
| 7976 |
} |
| 7977 |
/* ======================================================================== |
| 7978 |
Component: Transition |
| 7979 |
========================================================================== */ |
| 7980 |
/* Transitions |
| 7981 |
========================================================================== */ |
| 7982 |
/* |
| 7983 |
* The toggle is triggered on touch devices by two methods: |
| 7984 |
* 1. Using `:focus` and tabindex |
| 7985 |
* 2. Using `:hover` and a `touchstart` event listener registered on the document |
| 7986 |
* (Doesn't work on Surface touch devices) |
| 7987 |
*/ |
| 7988 |
:where(.bdt-transition-fade), |
| 7989 |
:where([class*='bdt-transition-scale']), |
| 7990 |
:where([class*='bdt-transition-slide']) { |
| 7991 |
--bdt-position-translate-x: 0; |
| 7992 |
--bdt-position-translate-y: 0; |
| 7993 |
} |
| 7994 |
.bdt-transition-fade, |
| 7995 |
[class*='bdt-transition-scale'], |
| 7996 |
[class*='bdt-transition-slide'] { |
| 7997 |
--bdt-translate-x: 0; |
| 7998 |
--bdt-translate-y: 0; |
| 7999 |
--bdt-scale-x: 1; |
| 8000 |
--bdt-scale-y: 1; |
| 8001 |
transform: translate(var(--bdt-position-translate-x), var(--bdt-position-translate-y)) translate(var(--bdt-translate-x), var(--bdt-translate-y)) scale(var(--bdt-scale-x), var(--bdt-scale-y)); |
| 8002 |
transition: 0.3s ease-out; |
| 8003 |
transition-property: opacity, transform, filter; |
| 8004 |
opacity: 0; |
| 8005 |
} |
| 8006 |
/* |
| 8007 |
* Fade |
| 8008 |
*/ |
| 8009 |
.bdt-transition-toggle:hover .bdt-transition-fade, |
| 8010 |
.bdt-transition-toggle:focus .bdt-transition-fade, |
| 8011 |
.bdt-transition-toggle .bdt-transition-fade:focus-within, |
| 8012 |
.bdt-transition-active.bdt-active .bdt-transition-fade { |
| 8013 |
opacity: 1; |
| 8014 |
} |
| 8015 |
/* |
| 8016 |
* Scale |
| 8017 |
* 1. Make image rendering the same during the transition as before and after. Prefixed because of Safari. |
| 8018 |
*/ |
| 8019 |
/* 1 */ |
| 8020 |
[class*='bdt-transition-scale'] { |
| 8021 |
-webkit-backface-visibility: hidden; |
| 8022 |
} |
| 8023 |
.bdt-transition-scale-up { |
| 8024 |
--bdt-scale-x: 1; |
| 8025 |
--bdt-scale-y: 1; |
| 8026 |
} |
| 8027 |
.bdt-transition-scale-down { |
| 8028 |
--bdt-scale-x: 1.03; |
| 8029 |
--bdt-scale-y: 1.03; |
| 8030 |
} |
| 8031 |
/* Show */ |
| 8032 |
.bdt-transition-toggle:hover .bdt-transition-scale-up, |
| 8033 |
.bdt-transition-toggle:focus .bdt-transition-scale-up, |
| 8034 |
.bdt-transition-toggle .bdt-transition-scale-up:focus-within, |
| 8035 |
.bdt-transition-active.bdt-active .bdt-transition-scale-up { |
| 8036 |
--bdt-scale-x: 1.03; |
| 8037 |
--bdt-scale-y: 1.03; |
| 8038 |
opacity: 1; |
| 8039 |
} |
| 8040 |
.bdt-transition-toggle:hover .bdt-transition-scale-down, |
| 8041 |
.bdt-transition-toggle:focus .bdt-transition-scale-down, |
| 8042 |
.bdt-transition-toggle .bdt-transition-scale-down:focus-within, |
| 8043 |
.bdt-transition-active.bdt-active .bdt-transition-scale-down { |
| 8044 |
--bdt-scale-x: 1; |
| 8045 |
--bdt-scale-y: 1; |
| 8046 |
opacity: 1; |
| 8047 |
} |
| 8048 |
/* |
| 8049 |
* Slide |
| 8050 |
*/ |
| 8051 |
.bdt-transition-slide-top { |
| 8052 |
--bdt-translate-y: -100%; |
| 8053 |
} |
| 8054 |
.bdt-transition-slide-bottom { |
| 8055 |
--bdt-translate-y: 100%; |
| 8056 |
} |
| 8057 |
.bdt-transition-slide-left { |
| 8058 |
--bdt-translate-x: -100%; |
| 8059 |
} |
| 8060 |
.bdt-transition-slide-right { |
| 8061 |
--bdt-translate-x: 100%; |
| 8062 |
} |
| 8063 |
.bdt-transition-slide-top-small { |
| 8064 |
--bdt-translate-y: calc(-1 * 10px); |
| 8065 |
} |
| 8066 |
.bdt-transition-slide-bottom-small { |
| 8067 |
--bdt-translate-y: 10px; |
| 8068 |
} |
| 8069 |
.bdt-transition-slide-left-small { |
| 8070 |
--bdt-translate-x: calc(-1 * 10px); |
| 8071 |
} |
| 8072 |
.bdt-transition-slide-right-small { |
| 8073 |
--bdt-translate-x: 10px; |
| 8074 |
} |
| 8075 |
.bdt-transition-slide-top-medium { |
| 8076 |
--bdt-translate-y: calc(-1 * 50px); |
| 8077 |
} |
| 8078 |
.bdt-transition-slide-bottom-medium { |
| 8079 |
--bdt-translate-y: 50px; |
| 8080 |
} |
| 8081 |
.bdt-transition-slide-left-medium { |
| 8082 |
--bdt-translate-x: calc(-1 * 50px); |
| 8083 |
} |
| 8084 |
.bdt-transition-slide-right-medium { |
| 8085 |
--bdt-translate-x: 50px; |
| 8086 |
} |
| 8087 |
/* Show */ |
| 8088 |
.bdt-transition-toggle:hover [class*='bdt-transition-slide'], |
| 8089 |
.bdt-transition-toggle:focus [class*='bdt-transition-slide'], |
| 8090 |
.bdt-transition-toggle [class*='bdt-transition-slide']:focus-within, |
| 8091 |
.bdt-transition-active.bdt-active [class*='bdt-transition-slide'] { |
| 8092 |
--bdt-translate-x: 0; |
| 8093 |
--bdt-translate-y: 0; |
| 8094 |
opacity: 1; |
| 8095 |
} |
| 8096 |
/* Opacity modifier |
| 8097 |
========================================================================== */ |
| 8098 |
.bdt-transition-opaque { |
| 8099 |
opacity: 1; |
| 8100 |
} |
| 8101 |
/* Duration modifiers |
| 8102 |
========================================================================== */ |
| 8103 |
.bdt-transition-slow { |
| 8104 |
transition-duration: 0.7s; |
| 8105 |
} |
| 8106 |
/* ======================================================================== |
| 8107 |
Component: Visibility |
| 8108 |
========================================================================== */ |
| 8109 |
/* |
| 8110 |
* Hidden |
| 8111 |
* `hidden` attribute also set here to make it stronger |
| 8112 |
*/ |
| 8113 |
[hidden], |
| 8114 |
.bdt-hidden { |
| 8115 |
display: none !important; |
| 8116 |
} |
| 8117 |
/* Phone landscape and bigger */ |
| 8118 |
@media (min-width: 640px) { |
| 8119 |
.bdt-hidden\@s { |
| 8120 |
display: none !important; |
| 8121 |
} |
| 8122 |
} |
| 8123 |
/* Tablet landscape and bigger */ |
| 8124 |
@media (min-width: 960px) { |
| 8125 |
.bdt-hidden\@m { |
| 8126 |
display: none !important; |
| 8127 |
} |
| 8128 |
} |
| 8129 |
/* Desktop and bigger */ |
| 8130 |
@media (min-width: 1200px) { |
| 8131 |
.bdt-hidden\@l { |
| 8132 |
display: none !important; |
| 8133 |
} |
| 8134 |
} |
| 8135 |
/* Large screen and bigger */ |
| 8136 |
@media (min-width: 1600px) { |
| 8137 |
.bdt-hidden\@xl { |
| 8138 |
display: none !important; |
| 8139 |
} |
| 8140 |
} |
| 8141 |
/* |
| 8142 |
* Visible |
| 8143 |
*/ |
| 8144 |
/* Phone portrait and smaller */ |
| 8145 |
@media (max-width: 639px) { |
| 8146 |
.bdt-visible\@s { |
| 8147 |
display: none !important; |
| 8148 |
} |
| 8149 |
} |
| 8150 |
/* Phone landscape and smaller */ |
| 8151 |
@media (max-width: 959px) { |
| 8152 |
.bdt-visible\@m { |
| 8153 |
display: none !important; |
| 8154 |
} |
| 8155 |
} |
| 8156 |
/* Tablet landscape and smaller */ |
| 8157 |
@media (max-width: 1199px) { |
| 8158 |
.bdt-visible\@l { |
| 8159 |
display: none !important; |
| 8160 |
} |
| 8161 |
} |
| 8162 |
/* Desktop and smaller */ |
| 8163 |
@media (max-width: 1599px) { |
| 8164 |
.bdt-visible\@xl { |
| 8165 |
display: none !important; |
| 8166 |
} |
| 8167 |
} |
| 8168 |
/* Visibility |
| 8169 |
========================================================================== */ |
| 8170 |
.bdt-invisible { |
| 8171 |
visibility: hidden !important; |
| 8172 |
} |
| 8173 |
/* Based on the State of the Parent Element |
| 8174 |
========================================================================== */ |
| 8175 |
/* |
| 8176 |
* Can't use `display: none` nor `visibility: hidden` because both are not focusable. |
| 8177 |
* The target stays visible if any element within receives focus through keyboard. |
| 8178 |
*/ |
| 8179 |
/* |
| 8180 |
* Discard space when hidden. |
| 8181 |
*/ |
| 8182 |
.bdt-visible-toggle:not(:hover):not(:focus) .bdt-hidden-hover:not(:focus-within) { |
| 8183 |
position: absolute !important; |
| 8184 |
width: 0 !important; |
| 8185 |
height: 0 !important; |
| 8186 |
padding: 0 !important; |
| 8187 |
margin: 0 !important; |
| 8188 |
overflow: hidden !important; |
| 8189 |
} |
| 8190 |
/* |
| 8191 |
* Keep space when hidden. |
| 8192 |
*/ |
| 8193 |
.bdt-visible-toggle:not(:hover):not(:focus) .bdt-invisible-hover:not(:focus-within) { |
| 8194 |
opacity: 0 !important; |
| 8195 |
} |
| 8196 |
/* Based on Hover Capability of the Pointing Device |
| 8197 |
========================================================================== */ |
| 8198 |
/* |
| 8199 |
* Hover |
| 8200 |
*/ |
| 8201 |
/* Hide if primary pointing device doesn't support hover, e.g. touch screens. */ |
| 8202 |
@media (hover: none) { |
| 8203 |
.bdt-hidden-touch { |
| 8204 |
display: none !important; |
| 8205 |
} |
| 8206 |
} |
| 8207 |
/* Hide if primary pointing device supports hover, e.g. mice. */ |
| 8208 |
@media (hover) { |
| 8209 |
.bdt-hidden-notouch { |
| 8210 |
display: none !important; |
| 8211 |
} |
| 8212 |
} |
| 8213 |
/* ======================================================================== |
| 8214 |
Component: Inverse |
| 8215 |
========================================================================== */ |
| 8216 |
/* |
| 8217 |
* Implemented class depends on the general theme color |
| 8218 |
* `bdt-light` is for light colors on dark backgrounds |
| 8219 |
* `bdt-dark` is or dark colors on light backgrounds |
| 8220 |
*/ |
| 8221 |
/* ======================================================================== |
| 8222 |
Component: Print |
| 8223 |
========================================================================== */ |
| 8224 |
@media print { |
| 8225 |
*, |
| 8226 |
*::before, |
| 8227 |
*::after { |
| 8228 |
background: transparent !important; |
| 8229 |
color: black !important; |
| 8230 |
box-shadow: none !important; |
| 8231 |
text-shadow: none !important; |
| 8232 |
} |
| 8233 |
a, |
| 8234 |
a:visited { |
| 8235 |
text-decoration: underline; |
| 8236 |
} |
| 8237 |
pre, |
| 8238 |
blockquote { |
| 8239 |
border: 1px solid #999; |
| 8240 |
page-break-inside: avoid; |
| 8241 |
} |
| 8242 |
thead { |
| 8243 |
display: table-header-group; |
| 8244 |
} |
| 8245 |
tr, |
| 8246 |
img { |
| 8247 |
page-break-inside: avoid; |
| 8248 |
} |
| 8249 |
img { |
| 8250 |
max-width: 100% !important; |
| 8251 |
} |
| 8252 |
@page { { |
| 8253 |
margin: 0.5cm; |
| 8254 |
} |
| 8255 |
p, |
| 8256 |
h2, |
| 8257 |
h3 { |
| 8258 |
orphans: 3; |
| 8259 |
widows: 3; |
| 8260 |
} |
| 8261 |
h2, |
| 8262 |
h3 { |
| 8263 |
page-break-after: avoid; |
| 8264 |
} |
| 8265 |
} |
| 8266 |
.bdt-modal-full { |
| 8267 |
overflow-x: hidden; |
| 8268 |
} |
| 8269 |
.hook-modal-dialog { |
| 8270 |
border-radius: 3px; |
| 8271 |
} |
| 8272 |
.hook-modal-title { |
| 8273 |
font-weight: 400; |
| 8274 |
} |
| 8275 |
.bdt-cover { |
| 8276 |
max-width: none !important; |
| 8277 |
} |
| 8278 |
.bdt-drop .bdt-card p:empty { |
| 8279 |
display: none; |
| 8280 |
} |
| 8281 |
.bdt-drop .bdt-card p:not(:first-child) { |
| 8282 |
margin-top: 15px; |
| 8283 |
margin-bottom: 0; |
| 8284 |
} |
| 8285 |
.bdt-tooltip { |
| 8286 |
padding: 7px 12px; |
| 8287 |
background: #464646; |
| 8288 |
border-radius: 3px; |
| 8289 |
font-size: 13px; |
| 8290 |
} |
| 8291 |
.elementor-align-justify .bdt-button { |
| 8292 |
width: 100%; |
| 8293 |
} |
| 8294 |
.bdt-notification .bdt-spinner { |
| 8295 |
vertical-align: middle; |
| 8296 |
} |
| 8297 |
.bdt-notification .bdt-spinner svg { |
| 8298 |
width: 20px; |
| 8299 |
height: auto; |
| 8300 |
} |
| 8301 |
.bdt-notification .bdt-icon { |
| 8302 |
margin-right: 10px; |
| 8303 |
vertical-align: middle; |
| 8304 |
line-height: normal; |
| 8305 |
} |
| 8306 |
.bdt-notification .bdt-close { |
| 8307 |
top: 50%; |
| 8308 |
transform: translateY(-50%); |
| 8309 |
} |
| 8310 |
.bdt-notification .bdt-notification-message { |
| 8311 |
padding: 20px 40px 20px 20px; |
| 8312 |
background: #ffffff; |
| 8313 |
font-size: 1rem; |
| 8314 |
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); |
| 8315 |
border-radius: 3px; |
| 8316 |
} |
| 8317 |
.bdt-slideshow .bdt-slideshow-items { |
| 8318 |
padding: 0; |
| 8319 |
margin: 0; |
| 8320 |
} |
| 8321 |
.bdt-slideshow .bdt-slideshow-items[bdt-height-viewport] .bdt-slideshow-item img { |
| 8322 |
width: auto !important; |
| 8323 |
height: auto; |
| 8324 |
} |
| 8325 |
.bdt-modal-full { |
| 8326 |
background-color: #fff; |
| 8327 |
} |
| 8328 |
.hook-button { |
| 8329 |
border-radius: 3px; |
| 8330 |
} |
| 8331 |
.hook-form { |
| 8332 |
border-radius: 3px; |
| 8333 |
} |
| 8334 |
.bdt-sticky-wrapper { |
| 8335 |
width: 100%; |
| 8336 |
} |
| 8337 |
.bdt-heading-title:before, |
| 8338 |
.bdt-heading-tag:before, |
| 8339 |
.bdt-slide-title:before { |
| 8340 |
content: none; |
| 8341 |
} |
| 8342 |
.bdt-tippy-tooltip { |
| 8343 |
outline: none; |
| 8344 |
} |
| 8345 |
[class*="elementor-widget-bdt-"] a:hover { |
| 8346 |
text-decoration: none; |
| 8347 |
} |
| 8348 |
@media (max-width: 1200px) { |
| 8349 |
.bdt-user-login a.elementor-button .elementor-button-icon, |
| 8350 |
.bdt-user-register a.elementor-button .elementor-button-icon { |
| 8351 |
margin-left: 0 !important; |
| 8352 |
margin-right: 0 !important; |
| 8353 |
} |
| 8354 |
} |
| 8355 |
|