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.

slider.scss 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @mixin base-slider($primaryStyleName : v-slider) {
  2. .#{$primaryStyleName} {
  3. margin: 5px 0;
  4. }
  5. .#{$primaryStyleName}-base {
  6. /* changing the borders will require adjustments to ISlider.java */
  7. height: 2px;
  8. border-top: 1px solid #ddd;
  9. background: #eee;
  10. border-left: 1px solid #ddd;
  11. border-right: 1px solid #eee;
  12. }
  13. .#{$primaryStyleName}-handle {
  14. background: #aaa;
  15. width: 12px;
  16. height: 12px;
  17. margin-top: -5px;
  18. font-size: 0;
  19. -ms-touch-action: none;
  20. touch-action: none;
  21. }
  22. .#{$primaryStyleName}-vertical {
  23. width: 2px;
  24. height: auto;
  25. margin: 0 5px;
  26. border: none;
  27. border-left: 1px solid #cccfd0;
  28. border-right: 1px solid #cccfd0;
  29. }
  30. .#{$primaryStyleName}-vertical .#{$primaryStyleName}-base {
  31. width: 2px;
  32. border-bottom: 1px solid #eee;
  33. border-right: none;
  34. }
  35. .#{$primaryStyleName}-vertical .#{$primaryStyleName}-handle {
  36. width: 12px;
  37. height: 12px;
  38. font-size: 0;
  39. margin-left: -5px;
  40. }
  41. .#{$primaryStyleName}-feedback {
  42. padding: 2px 5px;
  43. background: #444;
  44. color: #fff;
  45. font-size: 11px;
  46. line-height: 13px;
  47. font-weight: bold;
  48. font-family: Arial, Helvetica, sans-serif;
  49. border-radius: 4px;
  50. -webkit-border-radius: 4px;
  51. -moz-border-radius: 4px;
  52. margin: -2px 0 0 2px;
  53. text-shadow: 0 1px 0 #000;
  54. }
  55. /* Disabled by default
  56. .#{$primaryStyleName}-error .#{$primaryStyleName}-base {
  57. background: #FFE0E0;
  58. }
  59. */
  60. /* Disabled by default
  61. .#{$primaryStyleName}-required .#{$primaryStyleName}-base {
  62. background: #FFE0E0;
  63. }
  64. */
  65. }