_scrollbar.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // Srollbars
  3. //
  4. ::-webkit-scrollbar {
  5. width: 8px;
  6. height: 8px;
  7. }
  8. ::-webkit-scrollbar:hover {
  9. height: 8px;
  10. }
  11. ::-webkit-scrollbar-button:start:decrement,
  12. ::-webkit-scrollbar-button:end:increment { display: none; }
  13. ::-webkit-scrollbar-button:horizontal:decrement { display: none; }
  14. ::-webkit-scrollbar-button:horizontal:increment { display: none; }
  15. ::-webkit-scrollbar-button:vertical:decrement { display: none; }
  16. ::-webkit-scrollbar-button:vertical:increment { display: none; }
  17. ::-webkit-scrollbar-button:horizontal:decrement:active { background-image: none; }
  18. ::-webkit-scrollbar-button:horizontal:increment:active { background-image: none; }
  19. ::-webkit-scrollbar-button:vertical:decrement:active { background-image: none; }
  20. ::-webkit-scrollbar-button:vertical:increment:active {background-image: none; }
  21. ::-webkit-scrollbar-track-piece { background-color: transparent; }
  22. ::-webkit-scrollbar-thumb:vertical {
  23. height: 50px;
  24. background: -webkit-gradient(linear, left top, right top, color-stop(0%, $scrollbarBackground), color-stop(100%, $scrollbarBackground2));
  25. border: 1px solid $scrollbarBorder;
  26. border-top: 1px solid $scrollbarBorder;
  27. border-left: 1px solid $scrollbarBorder;
  28. }
  29. ::-webkit-scrollbar-thumb:horizontal {
  30. width: 50px;
  31. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $scrollbarBackground), color-stop(100%, $scrollbarBackground2));
  32. border: 1px solid $scrollbarBorder;
  33. border-top: 1px solid $scrollbarBorder;
  34. border-left: 1px solid $scrollbarBorder;
  35. }