|
139 | 139 | let period_rows = $derived(period_rows_derived()); |
140 | 140 | </script> |
141 | 141 |
|
142 | | -<div class="BC-prev-next-view flex flex-col"> |
| 142 | +<div class="BC-prev-next-view bc:flex bc:flex-col"> |
143 | 143 | {#if grouped_out_edges?.prev?.length || grouped_out_edges?.next?.length} |
144 | | - <div class="BC-prev-next-daily flex"> |
| 144 | + <div class="BC-prev-next-daily bc:flex"> |
145 | 145 | <div |
146 | | - class="flex w-full flex-col" |
| 146 | + class="bc:flex bc:w-full bc:flex-col" |
147 | 147 | style="border-radius: var(--radius-m) 0 0 var(--radius-m)" |
148 | 148 | > |
149 | 149 | {#each grouped_out_edges?.prev ?? [] as edge} |
150 | 150 | <div |
151 | | - class="BC-next-prev-item flex gap-3 py-1 pl-2 pr-1 text-left" |
| 151 | + class="BC-next-prev-item bc:flex bc:gap-3 bc:py-1 bc:pl-2 bc:pr-1 bc:text-left" |
152 | 152 | > |
153 | | - <span class="BC-field px-2">{edge.edge_type}</span> |
| 153 | + <span class="BC-field bc:px-2">{edge.edge_type}</span> |
154 | 154 |
|
155 | 155 | <EdgeLink |
156 | | - cls="grow" |
| 156 | + cls="bc:grow" |
157 | 157 | {edge} |
158 | 158 | {plugin} |
159 | 159 | {node_stringify_options} |
|
163 | 163 | </div> |
164 | 164 |
|
165 | 165 | <div |
166 | | - class="flex w-full flex-col" |
| 166 | + class="bc:flex bc:w-full bc:flex-col" |
167 | 167 | style="border-radius: 0 var(--radius-m) var(--radius-m) 0" |
168 | 168 | > |
169 | 169 | {#each grouped_out_edges?.next ?? [] as edge} |
170 | 170 | <div |
171 | | - class="BC-next-prev-item flex gap-3 py-1 pl-1 pr-2 text-right" |
| 171 | + class="BC-next-prev-item bc:flex bc:gap-3 bc:py-1 bc:pl-1 bc:pr-2 bc:text-right" |
172 | 172 | > |
173 | 173 | <EdgeLink |
174 | | - cls="grow" |
| 174 | + cls="bc:grow" |
175 | 175 | {edge} |
176 | 176 | {plugin} |
177 | 177 | {node_stringify_options} |
178 | 178 | /> |
179 | 179 |
|
180 | | - <span class="BC-field px-2">{edge.edge_type}</span> |
| 180 | + <span class="BC-field bc:px-2">{edge.edge_type}</span> |
181 | 181 | </div> |
182 | 182 | {/each} |
183 | 183 | </div> |
184 | 184 | </div> |
185 | 185 | {/if} |
186 | 186 |
|
187 | 187 | {#each period_rows as row} |
188 | | - <div class="BC-period-row flex items-center gap-1 py-1 px-2"> |
189 | | - <span class="BC-period-kind text-xs opacity-60">{row.kind}</span> |
| 188 | + <div class="BC-period-row bc:flex bc:items-center bc:gap-1 bc:py-1 bc:px-2"> |
| 189 | + <span class="BC-period-kind bc:text-xs bc:opacity-60">{row.kind}</span> |
190 | 190 |
|
191 | | - <div class="flex grow items-center justify-between"> |
192 | | - <div class="flex-1 text-left"> |
| 191 | + <div class="bc:flex bc:grow bc:items-center bc:justify-between"> |
| 192 | + <div class="bc:flex-1 bc:text-left"> |
193 | 193 | {#if row.prev_path} |
194 | 194 | <EdgeLink |
195 | 195 | cls="" |
|
208 | 208 | {/if} |
209 | 209 | </div> |
210 | 210 |
|
211 | | - <span class="BC-period-current mx-2 font-medium"> |
| 211 | + <span class="BC-period-current bc:mx-2 bc:font-medium"> |
212 | 212 | {row.period_path |
213 | 213 | .split("/") |
214 | 214 | .pop() |
215 | 215 | ?.replace(/\.[^.]+$/, "") ?? ""} |
216 | 216 | </span> |
217 | 217 |
|
218 | | - <div class="flex-1 text-right"> |
| 218 | + <div class="bc:flex-1 bc:text-right"> |
219 | 219 | {#if row.next_path} |
220 | 220 | <EdgeLink |
221 | 221 | cls="" |
|
239 | 239 | .BC-prev-next-view > div { |
240 | 240 | border: 1px solid var(--background-modifier-border); |
241 | 241 | } |
242 | | - .BC-prev-next-view .flex-col { |
| 242 | + .BC-prev-next-view .bc\:flex-col { |
243 | 243 | background-color: var(--background-primary); |
244 | 244 | } |
245 | 245 | .BC-period-row { |
|
0 commit comments