scrollbar.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .p-ScrollBar[data-orientation='horizontal'] {
  6. min-height: 16px;
  7. max-height: 16px;
  8. min-width: 45px;
  9. border-top: 1px solid #A0A0A0;
  10. }
  11. .p-ScrollBar[data-orientation='vertical'] {
  12. min-width: 16px;
  13. max-width: 16px;
  14. min-height: 45px;
  15. border-left: 1px solid #A0A0A0;
  16. }
  17. .p-ScrollBar-button {
  18. background-color: #F0F0F0;
  19. background-position: center center;
  20. min-height: 15px;
  21. max-height: 15px;
  22. min-width: 15px;
  23. max-width: 15px;
  24. }
  25. .p-ScrollBar-button:hover {
  26. background-color: #DADADA;
  27. }
  28. .p-ScrollBar-button.p-mod-active {
  29. background-color: #CDCDCD;
  30. }
  31. .p-ScrollBar-track {
  32. background: #F0F0F0;
  33. }
  34. .p-ScrollBar-thumb {
  35. background: #CDCDCD;
  36. }
  37. .p-ScrollBar-thumb:hover {
  38. background: #BABABA;
  39. }
  40. .p-ScrollBar-thumb.p-mod-active {
  41. background: #A0A0A0;
  42. }
  43. .p-ScrollBar[data-orientation='horizontal'] .p-ScrollBar-thumb {
  44. height: 100%;
  45. min-width: 15px;
  46. border-left: 1px solid #A0A0A0;
  47. border-right: 1px solid #A0A0A0;
  48. }
  49. .p-ScrollBar[data-orientation='vertical'] .p-ScrollBar-thumb {
  50. width: 100%;
  51. min-height: 15px;
  52. border-top: 1px solid #A0A0A0;
  53. border-bottom: 1px solid #A0A0A0;
  54. }
  55. .p-ScrollBar[data-orientation='horizontal'] .p-ScrollBar-button[data-action='decrement'] {
  56. background-image: var(--jp-image-caretleft);
  57. }
  58. .p-ScrollBar[data-orientation='horizontal'] .p-ScrollBar-button[data-action='increment'] {
  59. background-image: var(--jp-image-caretright);
  60. }
  61. .p-ScrollBar[data-orientation='vertical'] .p-ScrollBar-button[data-action='decrement'] {
  62. background-image: var(--jp-image-caretup);
  63. }
  64. .p-ScrollBar[data-orientation='vertical'] .p-ScrollBar-button[data-action='increment'] {
  65. background-image: var(--jp-image-caretdown);
  66. }