_flicking.scss 780 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. :global(.flicking-arrow-disabled) {
  2. display: none;
  3. }
  4. :global(.flicking-arrow-prev), :global(.flicking-arrow-next) {
  5. position: absolute;
  6. overflow: hidden;
  7. top: 50%;
  8. z-index: 2;
  9. width: 35px;
  10. height: 35px;
  11. border: 1px solid #ddd;
  12. border-radius: 50%;
  13. background-color: #fff;
  14. transform: translateY(-50%);
  15. cursor: pointer;
  16. &:before,
  17. &:after {
  18. position: absolute;
  19. left: 50%;
  20. right: 22px;
  21. width: 10px;
  22. height: 2px;
  23. margin: -1px 0 0 -5px;
  24. background-color: #000;
  25. transform-origin: 100% 50%;
  26. content: '';
  27. }
  28. &:before {
  29. top: 50%;
  30. transform: rotate(45deg);
  31. }
  32. &:after {
  33. top: calc(50% - 1px);
  34. transform: rotate(-45deg);
  35. }
  36. }
  37. :global(.flicking-arrow-prev) {
  38. transform: translateY(-50%) rotate(180deg);
  39. }