_nouislider.scss 1006 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @import "nouislider/dist/nouislider";
  2. .noUi-target {
  3. border: 0;
  4. box-shadow: none;
  5. background: none;
  6. border-radius: 0;
  7. color: $form-range-thumb-bg;
  8. }
  9. .noUi-horizontal {
  10. height: add($form-range-track-height, 1rem);
  11. padding: .5rem 0;
  12. }
  13. .noUi-base {
  14. background: $form-range-track-bg;
  15. border-radius: $form-range-track-border-radius;
  16. }
  17. .noUi-handle {
  18. width: $form-range-thumb-width;
  19. height: $form-range-thumb-height;
  20. border: $form-range-thumb-border;
  21. box-shadow: $form-range-thumb-box-shadow;
  22. border-radius: $form-range-thumb-border-radius;
  23. background: currentColor;
  24. outline: 0;
  25. &:before,
  26. &:after {
  27. content: none;
  28. }
  29. .noUi-horizontal & {
  30. width: $form-range-thumb-width;
  31. height: $form-range-thumb-height;
  32. top: (-$form-range-thumb-height * .5);
  33. right: (-$form-range-thumb-height * .5);
  34. margin: 1px 1px 0 0;
  35. }
  36. &.noUi-active,
  37. &:focus {
  38. box-shadow: $form-range-thumb-focus-box-shadow;
  39. }
  40. }
  41. .noUi-connect {
  42. background: currentColor;
  43. }