Commit c4a672b
Make TOC sections expandable and collapsible by keyboard (#1582)
* Consistent focus ring (first pass) (#1549)
* wip
* Style focus state in header nav
* update focus ring style on all focussable elements
* simplify
* fix links in mobile sidebar overlay
* put focus rings around a few more focusable elements
* polish
* update comment
* review
* better align focus ring on collapsible admonitions
* comment and simplify sphinx-togglebutton focus ring
* make css override more explicit
* Fix SD link-card focus ring and on homepage, bring links inside card
* Update docs/index.md
---------
Co-authored-by: Daniel McCloy <[email protected]>
* Resolve current sidebar link notch and focus ring (#1561)
* Fix sidebar current notch
* focus-ring-radius
* missed a spot 0.125rem
* keep focus ring on top
* Restyle Sphinx Design tabs (#1555)
* restyle sphinx design tabs
* increase panel border radius
* increase line height, zero padding-y
* use shadow variable
* Update src/pydata_sphinx_theme/assets/styles/extensions/_sphinx_design.scss
* Update src/pydata_sphinx_theme/assets/styles/extensions/_sphinx_design.scss
* Fix tabbed panel colors (#1567)
* aria attributes do not update if user uses mouse instead of keyboard
* details/summary, no checkbox
* clean up
* details["open"]
* make it work for nav level 0
* pull link outside of details tag
* make it work with show nav level 0
* make level 0 heading clickable
* comments
* restore .current notches to toc parents
* fix tests
* clean up
* more comments
* make toggle icon bigger at level 0
* comments
* clarify comment
* remove list-captions class from in-page toc styles
* Update tests/test_build.py
* Update src/pydata_sphinx_theme/toctree.py
Co-authored-by: Tania Allard <[email protected]>
* update test for verbose HTML boolean attribute
* more HTML boolean attribute notation updates
* Update comment about link vs non-link HTML structure
---------
Co-authored-by: Daniel McCloy <[email protected]>
Co-authored-by: Tania Allard <[email protected]>1 parent c05fa05 commit c4a672b
File tree
7 files changed
+218
-151
lines changed- src/pydata_sphinx_theme
- assets/styles
- components
- sections
- tests
- test_build
7 files changed
+218
-151
lines changedLines changed: 0 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 29 | | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
Lines changed: 93 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
151 | 169 | | |
152 | 170 | | |
153 | 171 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 172 | + | |
| 173 | + | |
163 | 174 | | |
164 | | - | |
165 | | - | |
166 | | - | |
| 175 | + | |
167 | 176 | | |
168 | | - | |
169 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
170 | 183 | | |
171 | 184 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
178 | 236 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 237 | | |
193 | 238 | | |
194 | 239 | | |
195 | 240 | | |
196 | 241 | | |
197 | 242 | | |
| 243 | + | |
| 244 | + | |
198 | 245 | | |
199 | 246 | | |
200 | 247 | | |
| |||
213 | 260 | | |
214 | 261 | | |
215 | 262 | | |
| 263 | + | |
216 | 264 | | |
217 | 265 | | |
218 | 266 | | |
| |||
224 | 272 | | |
225 | 273 | | |
226 | 274 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
232 | 278 | | |
233 | 279 | | |
234 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
| 342 | + | |
| 343 | + | |
346 | 344 | | |
347 | 345 | | |
348 | 346 | | |
| |||
422 | 420 | | |
423 | 421 | | |
424 | 422 | | |
425 | | - | |
426 | | - | |
427 | 423 | | |
428 | 424 | | |
429 | 425 | | |
| |||
432 | 428 | | |
433 | 429 | | |
434 | 430 | | |
435 | | - | |
| 431 | + | |
436 | 432 | | |
437 | 433 | | |
438 | 434 | | |
| |||
441 | 437 | | |
442 | 438 | | |
443 | 439 | | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | 440 | | |
450 | 441 | | |
451 | 442 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
464 | 499 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
| 500 | + | |
| 501 | + | |
469 | 502 | | |
470 | 503 | | |
| 504 | + | |
| 505 | + | |
471 | 506 | | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
476 | 515 | | |
477 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
478 | 520 | | |
479 | 521 | | |
480 | 522 | | |
| |||
0 commit comments