jquery.nouislider.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /* Functional styling;
  2. * These styles are required for noUiSlider to function.
  3. * You don't need to change these rules to apply your design.
  4. */
  5. .noUi-target,
  6. .noUi-target * {
  7. -webkit-touch-callout: none;
  8. -webkit-user-select: none;
  9. -ms-touch-action: none;
  10. -ms-user-select: none;
  11. -moz-user-select: none;
  12. -moz-box-sizing: border-box;
  13. box-sizing: border-box;
  14. }
  15. .noUi-target {
  16. position: relative;
  17. direction: ltr;
  18. }
  19. .noUi-base {
  20. width: 100%;
  21. height: 100%;
  22. position: relative;
  23. }
  24. .noUi-origin {
  25. position: absolute;
  26. right: 0;
  27. top: 0;
  28. left: 0;
  29. bottom: 0;
  30. }
  31. .noUi-handle {
  32. position: relative;
  33. z-index: 1;
  34. }
  35. .noUi-stacking .noUi-handle {
  36. /* This class is applied to the lower origin when
  37. its values is > 50%. */
  38. z-index: 10;
  39. }
  40. .noUi-stacking + .noUi-origin {
  41. /* Fix stacking order in IE7, which incorrectly
  42. creates a new context for the origins. */
  43. *z-index: -1;
  44. }
  45. .noUi-state-tap .noUi-origin {
  46. -webkit-transition: left 0.3s, top 0.3s;
  47. transition: left 0.3s, top 0.3s;
  48. }
  49. .noUi-state-drag * {
  50. cursor: inherit !important;
  51. }
  52. /* Painting and performance;
  53. * Browsers can paint handles in their own layer.
  54. */
  55. .noUi-base {
  56. -webkit-transform: translate3d(0,0,0);
  57. transform: translate3d(0,0,0);
  58. }
  59. /* Slider size and handle placement;
  60. */
  61. .noUi-horizontal {
  62. height: 18px;
  63. }
  64. .noUi-horizontal .noUi-handle {
  65. width: 34px;
  66. height: 28px;
  67. left: -17px;
  68. top: -6px;
  69. }
  70. .noUi-vertical {
  71. width: 18px;
  72. }
  73. .noUi-vertical .noUi-handle {
  74. width: 28px;
  75. height: 34px;
  76. left: -6px;
  77. top: -17px;
  78. }
  79. /* Styling;
  80. */
  81. .noUi-background {
  82. background: #FAFAFA;
  83. box-shadow: inset 0 1px 1px #f0f0f0;
  84. }
  85. .noUi-connect {
  86. background: #3FB8AF;
  87. box-shadow: inset 0 0 3px rgba(51,51,51,0.45);
  88. -webkit-transition: background 450ms;
  89. transition: background 450ms;
  90. }
  91. .noUi-origin {
  92. border-radius: 2px;
  93. }
  94. .noUi-target {
  95. border-radius: 4px;
  96. border: 1px solid #D3D3D3;
  97. box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
  98. }
  99. .noUi-target.noUi-connect {
  100. box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #BBB;
  101. }
  102. /* Handles and cursors;
  103. */
  104. .noUi-dragable {
  105. cursor: w-resize;
  106. }
  107. .noUi-vertical .noUi-dragable {
  108. cursor: n-resize;
  109. }
  110. .noUi-handle {
  111. border: 1px solid #D9D9D9;
  112. border-radius: 3px;
  113. background: #FFF;
  114. cursor: default;
  115. box-shadow: inset 0 0 1px #FFF,
  116. inset 0 1px 7px #EBEBEB,
  117. 0 3px 6px -3px #BBB;
  118. }
  119. .noUi-active {
  120. box-shadow: inset 0 0 1px #FFF,
  121. inset 0 1px 7px #DDD,
  122. 0 3px 6px -3px #BBB;
  123. }
  124. /* Handle stripes;
  125. */
  126. .noUi-handle:before,
  127. .noUi-handle:after {
  128. content: "";
  129. display: block;
  130. position: absolute;
  131. height: 14px;
  132. width: 1px;
  133. background: #E8E7E6;
  134. left: 14px;
  135. top: 6px;
  136. }
  137. .noUi-handle:after {
  138. left: 17px;
  139. }
  140. .noUi-vertical .noUi-handle:before,
  141. .noUi-vertical .noUi-handle:after {
  142. width: 14px;
  143. height: 1px;
  144. left: 6px;
  145. top: 14px;
  146. }
  147. .noUi-vertical .noUi-handle:after {
  148. top: 17px;
  149. }
  150. /* Disabled state;
  151. */
  152. [disabled].noUi-connect,
  153. [disabled] .noUi-connect {
  154. background: #B8B8B8;
  155. }
  156. [disabled] .noUi-handle {
  157. cursor: not-allowed;
  158. }