| 1 |
/* ========================================================= |
| 2 |
Breadcrumbs – bkbg-bc-* |
| 3 |
========================================================= */ |
| 4 |
|
| 5 |
.bkbg-bc-wrap { |
| 6 |
--bkbg-bc-gap: 8px; |
| 7 |
--bkbg-bc-padv: 10px; |
| 8 |
--bkbg-bc-text: #6b7280; |
| 9 |
--bkbg-bc-link: #2563eb; |
| 10 |
--bkbg-bc-hover: #1d4ed8; |
| 11 |
--bkbg-bc-sep: #9ca3af; |
| 12 |
--bkbg-bc-active: #111827; |
| 13 |
|
| 14 |
color: var(--bkbg-bc-text); |
| 15 |
padding-top: var(--bkbg-bc-padv); |
| 16 |
padding-bottom: var(--bkbg-bc-padv); |
| 17 |
box-sizing: border-box; |
| 18 |
font-family: var(--bkbg-bc-typo-font-family, inherit); |
| 19 |
font-weight: var(--bkbg-bc-typo-font-weight, 400); |
| 20 |
font-style: var(--bkbg-bc-typo-font-style, normal); |
| 21 |
text-transform: var(--bkbg-bc-typo-text-transform, none); |
| 22 |
text-decoration: var(--bkbg-bc-typo-text-decoration, none); |
| 23 |
font-size: var(--bkbg-bc-typo-font-size-d, 14px); |
| 24 |
line-height: var(--bkbg-bc-typo-line-height-d, 1.5); |
| 25 |
letter-spacing: var(--bkbg-bc-typo-letter-spacing-d, normal); |
| 26 |
word-spacing: var(--bkbg-bc-typo-word-spacing-d, normal); |
| 27 |
} |
| 28 |
|
| 29 |
/* Alignment */ |
| 30 |
.bkbg-bc-align--left .bkbg-bc-list { justify-content: flex-start; } |
| 31 |
.bkbg-bc-align--center .bkbg-bc-list { justify-content: center; } |
| 32 |
.bkbg-bc-align--right .bkbg-bc-list { justify-content: flex-end; } |
| 33 |
|
| 34 |
/* List */ |
| 35 |
.bkbg-bc-list { |
| 36 |
list-style: none; |
| 37 |
margin: 0; |
| 38 |
padding: 0; |
| 39 |
display: flex; |
| 40 |
flex-wrap: wrap; |
| 41 |
align-items: center; |
| 42 |
gap: 0; |
| 43 |
} |
| 44 |
|
| 45 |
/* Item */ |
| 46 |
.bkbg-bc-item { |
| 47 |
display: inline-flex; |
| 48 |
align-items: center; |
| 49 |
gap: 4px; |
| 50 |
} |
| 51 |
|
| 52 |
/* Separator */ |
| 53 |
.bkbg-bc-sep { |
| 54 |
display: inline-block; |
| 55 |
margin: 0 var(--bkbg-bc-gap); |
| 56 |
color: var(--bkbg-bc-sep); |
| 57 |
font-size: 0.9em; |
| 58 |
user-select: none; |
| 59 |
line-height: 1; |
| 60 |
} |
| 61 |
|
| 62 |
/* Link */ |
| 63 |
.bkbg-bc-link { |
| 64 |
color: var(--bkbg-bc-link); |
| 65 |
text-decoration: none; |
| 66 |
transition: color 0.18s ease; |
| 67 |
} |
| 68 |
.bkbg-bc-link:hover { |
| 69 |
color: var(--bkbg-bc-hover); |
| 70 |
text-decoration: underline; |
| 71 |
text-underline-offset: 2px; |
| 72 |
} |
| 73 |
|
| 74 |
/* Current/active crumb */ |
| 75 |
.bkbg-bc-item--current .bkbg-bc-text, |
| 76 |
.bkbg-bc-item--current { |
| 77 |
color: var(--bkbg-bc-active); |
| 78 |
font-weight: 500; |
| 79 |
} |
| 80 |
|
| 81 |
/* Home icon */ |
| 82 |
.bkbg-bc-home-icon { |
| 83 |
display: inline-flex; |
| 84 |
align-items: center; |
| 85 |
color: var(--bkbg-bc-link); |
| 86 |
transition: color 0.18s; |
| 87 |
margin-top: -1px; |
| 88 |
} |
| 89 |
.bkbg-bc-home-icon:hover { color: var(--bkbg-bc-hover); } |
| 90 |
.bkbg-bc-home-icon svg { |
| 91 |
width: 14px; |
| 92 |
height: 14px; |
| 93 |
vertical-align: middle; |
| 94 |
} |
| 95 |
|
| 96 |
/* === Typography responsive === */ |
| 97 |
@media (max-width: 1024px) { |
| 98 |
.bkbg-bc-wrap { |
| 99 |
font-size: var(--bkbg-bc-typo-font-size-t, var(--bkbg-bc-typo-font-size-d, 14px)); |
| 100 |
line-height: var(--bkbg-bc-typo-line-height-t, var(--bkbg-bc-typo-line-height-d, 1.5)); |
| 101 |
letter-spacing: var(--bkbg-bc-typo-letter-spacing-t, var(--bkbg-bc-typo-letter-spacing-d, normal)); |
| 102 |
word-spacing: var(--bkbg-bc-typo-word-spacing-t, var(--bkbg-bc-typo-word-spacing-d, normal)); |
| 103 |
} |
| 104 |
} |
| 105 |
|
| 106 |
@media (max-width: 767px) { |
| 107 |
.bkbg-bc-wrap { |
| 108 |
font-size: var(--bkbg-bc-typo-font-size-m, var(--bkbg-bc-typo-font-size-t, var(--bkbg-bc-typo-font-size-d, 14px))); |
| 109 |
line-height: var(--bkbg-bc-typo-line-height-m, var(--bkbg-bc-typo-line-height-t, var(--bkbg-bc-typo-line-height-d, 1.5))); |
| 110 |
letter-spacing: var(--bkbg-bc-typo-letter-spacing-m, var(--bkbg-bc-typo-letter-spacing-t, var(--bkbg-bc-typo-letter-spacing-d, normal))); |
| 111 |
word-spacing: var(--bkbg-bc-typo-word-spacing-m, var(--bkbg-bc-typo-word-spacing-t, var(--bkbg-bc-typo-word-spacing-d, normal))); |
| 112 |
} |
| 113 |
} |
| 114 |
|