| 1 |
/* === Content Menu Block === */ |
| 2 |
|
| 3 |
.bkbg-cm-app { display: none; } |
| 4 |
|
| 5 |
/* ---- Base nav ---- */ |
| 6 |
.bkbg-cm-nav { |
| 7 |
display: inline-flex; |
| 8 |
flex-direction: column; |
| 9 |
gap: 2px; |
| 10 |
padding: 6px; |
| 11 |
border-radius: 12px; |
| 12 |
box-sizing: border-box; |
| 13 |
z-index: 999; |
| 14 |
} |
| 15 |
|
| 16 |
.bkbg-cm-nav.cm-tabs { |
| 17 |
flex-direction: row; |
| 18 |
flex-wrap: wrap; |
| 19 |
} |
| 20 |
|
| 21 |
.bkbg-cm-nav.cm-dots { |
| 22 |
gap: 6px; |
| 23 |
padding: 8px 6px; |
| 24 |
align-items: center; |
| 25 |
} |
| 26 |
|
| 27 |
/* ---- Fixed positioning ---- */ |
| 28 |
.bkbg-cm-nav.cm-fixed-left { |
| 29 |
position: fixed; |
| 30 |
left: 0; |
| 31 |
transform: translateY(-50%); |
| 32 |
} |
| 33 |
|
| 34 |
.bkbg-cm-nav.cm-fixed-right { |
| 35 |
position: fixed; |
| 36 |
right: 0; |
| 37 |
transform: translateY(-50%); |
| 38 |
} |
| 39 |
|
| 40 |
/* ---- Link ---- */ |
| 41 |
.bkbg-cm-link { |
| 42 |
display: flex; |
| 43 |
align-items: center; |
| 44 |
gap: 8px; |
| 45 |
text-decoration: none; |
| 46 |
cursor: pointer; |
| 47 |
transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s; |
| 48 |
white-space: nowrap; |
| 49 |
user-select: none; |
| 50 |
box-sizing: border-box; |
| 51 |
font-family: var(--bkcm-link-font-family, inherit); |
| 52 |
font-size: var(--bkcm-link-font-size-d, var(--bkcm-link-font-size, 14px)); |
| 53 |
font-weight: var(--bkcm-link-font-weight, 500); |
| 54 |
font-style: var(--bkcm-link-font-style, normal); |
| 55 |
text-transform: var(--bkcm-link-text-transform, none); |
| 56 |
text-decoration: var(--bkcm-link-text-decoration, none); |
| 57 |
line-height: var(--bkcm-link-line-height-d, var(--bkcm-link-line-height, 1.4)); |
| 58 |
letter-spacing: var(--bkcm-link-letter-spacing-d, var(--bkcm-link-letter-spacing, normal)); |
| 59 |
word-spacing: var(--bkcm-link-word-spacing-d, var(--bkcm-link-word-spacing, normal)); |
| 60 |
} |
| 61 |
|
| 62 |
.bkbg-cm-link.active { font-weight: 700; } |
| 63 |
|
| 64 |
/* Pills */ |
| 65 |
.cm-pills .bkbg-cm-link { |
| 66 |
padding: 7px 16px; |
| 67 |
border-radius: 8px; |
| 68 |
} |
| 69 |
|
| 70 |
.cm-pills .bkbg-cm-link:hover { opacity: 0.85; } |
| 71 |
|
| 72 |
/* List */ |
| 73 |
.cm-list .bkbg-cm-link { |
| 74 |
padding: 9px 14px; |
| 75 |
border-left: 3px solid transparent; |
| 76 |
} |
| 77 |
|
| 78 |
.cm-list .bkbg-cm-link.active { font-weight: 700; } |
| 79 |
|
| 80 |
/* Tabs */ |
| 81 |
.cm-tabs .bkbg-cm-link { |
| 82 |
padding: 9px 18px; |
| 83 |
border-bottom: 2px solid transparent; |
| 84 |
} |
| 85 |
|
| 86 |
.cm-tabs .bkbg-cm-link.active { font-weight: 700; } |
| 87 |
|
| 88 |
/* Dots */ |
| 89 |
.cm-dots .bkbg-cm-dot { |
| 90 |
border-radius: 999px; |
| 91 |
cursor: pointer; |
| 92 |
transition: width 0.25s ease, background 0.25s ease; |
| 93 |
height: 10px; |
| 94 |
display: block; |
| 95 |
} |
| 96 |
|
| 97 |
/* Link number badge */ |
| 98 |
.bkbg-cm-num { |
| 99 |
font-size: 11px; |
| 100 |
font-weight: 700; |
| 101 |
opacity: 0.55; |
| 102 |
min-width: 16px; |
| 103 |
} |
| 104 |
|
| 105 |
.bkbg-cm-link-icon { |
| 106 |
font-size: 14px; |
| 107 |
line-height: 1; |
| 108 |
flex-shrink: 0; |
| 109 |
} |
| 110 |
.bkbg-cm-link-icon svg { width: 1em; height: 1em; fill: currentColor; } |
| 111 |
.bkbg-cm-link-icon .dashicons { font-size: inherit; width: 1em; height: 1em; line-height: 1; } |
| 112 |
.bkbg-cm-link-icon .bkbg-icon-img { width: 1em; height: 1em; object-fit: contain; } |
| 113 |
|
| 114 |
/* Responsive: hide fixed menus on mobile */ |
| 115 |
@media (max-width: 1024px) { |
| 116 |
.bkbg-cm-link { |
| 117 |
font-size: var(--bkcm-link-font-size-t, var(--bkcm-link-font-size-d, var(--bkcm-link-font-size, 14px))); |
| 118 |
line-height: var(--bkcm-link-line-height-t, var(--bkcm-link-line-height-d, var(--bkcm-link-line-height, 1.4))); |
| 119 |
letter-spacing: var(--bkcm-link-letter-spacing-t, var(--bkcm-link-letter-spacing-d, var(--bkcm-link-letter-spacing, normal))); |
| 120 |
word-spacing: var(--bkcm-link-word-spacing-t, var(--bkcm-link-word-spacing-d, var(--bkcm-link-word-spacing, normal))); |
| 121 |
} |
| 122 |
} |
| 123 |
@media (max-width: 768px) { |
| 124 |
.bkbg-cm-link { |
| 125 |
font-size: var(--bkcm-link-font-size-m, var(--bkcm-link-font-size-t, var(--bkcm-link-font-size-d, var(--bkcm-link-font-size, 14px)))); |
| 126 |
line-height: var(--bkcm-link-line-height-m, var(--bkcm-link-line-height-t, var(--bkcm-link-line-height-d, var(--bkcm-link-line-height, 1.4)))); |
| 127 |
letter-spacing: var(--bkcm-link-letter-spacing-m, var(--bkcm-link-letter-spacing-t, var(--bkcm-link-letter-spacing-d, var(--bkcm-link-letter-spacing, normal)))); |
| 128 |
word-spacing: var(--bkcm-link-word-spacing-m, var(--bkcm-link-word-spacing-t, var(--bkcm-link-word-spacing-d, var(--bkcm-link-word-spacing, normal)))); |
| 129 |
} |
| 130 |
.bkbg-cm-nav.cm-fixed-left, |
| 131 |
.bkbg-cm-nav.cm-fixed-right { |
| 132 |
display: none; |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
/* Editor-only note (avoid inline typography in edit preview) */ |
| 137 |
.bkbg-cm-editor-note { |
| 138 |
background: #fef3c7; |
| 139 |
border: 1px solid #f59e0b; |
| 140 |
border-radius: 6px; |
| 141 |
padding: 6px 12px; |
| 142 |
font-size: 12px; |
| 143 |
color: #92400e; |
| 144 |
margin-bottom: 8px; |
| 145 |
} |
| 146 |
|