You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.4 KiB

  1. /*
  2. * disable ripple effects when overscrolling a list
  3. * and dotted lines when end of list is not reached
  4. */
  5. /* -gtk-gradient(radial start_x, start_y, start_radius, end_x end_y, end_radius, color-stop (position, color), ...) */
  6. overshoot.top,
  7. overshoot.bottom,
  8. overshoot.left,
  9. overshoot.right {
  10. background: transparent;
  11. background-repeat: no-repeat;
  12. border: none;
  13. box-shadow: none;
  14. }
  15. overshoot.top {
  16. background-image: -gtk-gradient(radial, center top, 0, center top, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
  17. background-size: 100% 60%;
  18. background-position: center top;
  19. }
  20. overshoot.bottom {
  21. background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
  22. background-size: 100% 60%;
  23. background-position: center bottom;
  24. }
  25. overshoot.left {
  26. background-image: -gtk-gradient(radial, left center, 0, left center, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
  27. background-size: 60% 100%;
  28. background-position: left center;
  29. }
  30. overshoot.right {
  31. background-image: -gtk-gradient(radial, right center, 0, right center, 0.6, from(alpha(@acc1_color, 0.6)), to(transparent));
  32. background-size: 60% 100%;
  33. background-position: right center;
  34. }
  35. undershoot.top,
  36. undershoot.bottom,
  37. undershoot.left,
  38. undershoot.right {
  39. background: transparent;
  40. background-origin: content-box;
  41. border: none;
  42. box-shadow: none;
  43. }