Commit 871e7ad
committed
rustdoc: add a handle that makes sidebar resizing more obvious
This change is based on some discussion on [lolbinarycat's idea],
but with a more "traditional" design. Specifically, this is the
closest thing I could find to a consensus across many systems I
looked at for inspiration:
- In Jira, resizable sidebars have a stack of four dots.
- In The GIMP, resizable sidebars have a stack of three dots.
- In [old Windows], "panes" are defined to have the same border
style as a window, which has a raised appearance.
- In [NeXT], a drag point usually had an innie, whether the line in a
slider or the circle in a scroller; I can also hide and show the
favorites bar in Workspace by dragging on a circular "grip spot"
- In [old Mac], drag handles for things usually had a "grip track"
of parallel lines.
- [OSX] kept that, but the "Source List" part of the Finder still had
the circle grip for a time the same way Workspace did
[lolbinarycat's idea]: rust-lang#139420
[old Windows]: https://archive.org/details/windowsinterface00micr/page/n9/mode/2up
[old Mac]: https://archive.org/details/apple-hig/1996_Human_Interface_Guidelines_for_Mac_OS_8_%28WWDC_Release%29/page/16/mode/2up
[NeXT]: https://archive.org/details/apple-hig/1993%20NeXTSTEP%20User%20Interface%20Guidelines%20-%20Release%203/page/145/mode/2up
[OSX]: https://dn721903.ca.archive.org/0/items/apple-hig/MacOSX_HIG_2005_09_08.pdf#page=2671 parent d934244 commit 871e7ad
2 files changed
+53
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
| |||
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
244 | 248 | | |
245 | 249 | | |
246 | 250 | | |
| 251 | + | |
| 252 | + | |
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
493 | 495 | | |
494 | 496 | | |
495 | 497 | | |
| 498 | + | |
| 499 | + | |
496 | 500 | | |
497 | 501 | | |
498 | 502 | | |
499 | 503 | | |
500 | 504 | | |
501 | | - | |
502 | 505 | | |
503 | 506 | | |
504 | 507 | | |
| |||
516 | 519 | | |
517 | 520 | | |
518 | 521 | | |
519 | | - | |
520 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
521 | 544 | | |
522 | 545 | | |
523 | 546 | | |
| |||
540 | 563 | | |
541 | 564 | | |
542 | 565 | | |
543 | | - | |
| 566 | + | |
544 | 567 | | |
545 | 568 | | |
546 | 569 | | |
| |||
558 | 581 | | |
559 | 582 | | |
560 | 583 | | |
561 | | - | |
| 584 | + | |
562 | 585 | | |
563 | 586 | | |
564 | 587 | | |
| |||
575 | 598 | | |
576 | 599 | | |
577 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
578 | 605 | | |
579 | 606 | | |
580 | 607 | | |
| |||
585 | 612 | | |
586 | 613 | | |
587 | 614 | | |
588 | | - | |
| 615 | + | |
589 | 616 | | |
| 617 | + | |
| 618 | + | |
590 | 619 | | |
591 | 620 | | |
592 | 621 | | |
| |||
2510 | 2539 | | |
2511 | 2540 | | |
2512 | 2541 | | |
| 2542 | + | |
| 2543 | + | |
2513 | 2544 | | |
2514 | 2545 | | |
2515 | 2546 | | |
| |||
2893 | 2924 | | |
2894 | 2925 | | |
2895 | 2926 | | |
| 2927 | + | |
2896 | 2928 | | |
2897 | 2929 | | |
2898 | 2930 | | |
| |||
2985 | 3017 | | |
2986 | 3018 | | |
2987 | 3019 | | |
| 3020 | + | |
| 3021 | + | |
2988 | 3022 | | |
2989 | 3023 | | |
2990 | 3024 | | |
| |||
2998 | 3032 | | |
2999 | 3033 | | |
3000 | 3034 | | |
| 3035 | + | |
3001 | 3036 | | |
3002 | 3037 | | |
3003 | 3038 | | |
| |||
3093 | 3128 | | |
3094 | 3129 | | |
3095 | 3130 | | |
| 3131 | + | |
| 3132 | + | |
3096 | 3133 | | |
3097 | 3134 | | |
3098 | 3135 | | |
| |||
3110 | 3147 | | |
3111 | 3148 | | |
3112 | 3149 | | |
| 3150 | + | |
3113 | 3151 | | |
3114 | 3152 | | |
3115 | 3153 | | |
| |||
3205 | 3243 | | |
3206 | 3244 | | |
3207 | 3245 | | |
| 3246 | + | |
| 3247 | + | |
3208 | 3248 | | |
3209 | 3249 | | |
3210 | 3250 | | |
| |||
0 commit comments