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.

266 lines
5.9 KiB

  1. /* Ion.RangeSlider
  2. // css version 2.0.3
  3. // © 2013-2014 Denis Ineshin | IonDen.com
  4. // ===================================================================================================================*/
  5. /* =====================================================================================================================
  6. // RangeSlider */
  7. .irs {
  8. position: relative; display: block;
  9. -webkit-touch-callout: none;
  10. -webkit-user-select: none;
  11. -khtml-user-select: none;
  12. -moz-user-select: none;
  13. -ms-user-select: none;
  14. user-select: none;
  15. }
  16. .irs-line {
  17. position: relative; display: block;
  18. overflow: hidden;
  19. outline: none !important;
  20. }
  21. .irs-line-left, .irs-line-mid, .irs-line-right {
  22. position: absolute; display: block;
  23. top: 0;
  24. }
  25. .irs-line-left {
  26. left: 0; width: 11%;
  27. }
  28. .irs-line-mid {
  29. left: 9%; width: 82%;
  30. }
  31. .irs-line-right {
  32. right: 0; width: 11%;
  33. }
  34. .irs-bar {
  35. position: absolute; display: block;
  36. left: 0; width: 0;
  37. }
  38. .irs-bar-edge {
  39. position: absolute; display: block;
  40. top: 0; left: 0;
  41. }
  42. .irs-shadow {
  43. position: absolute; display: none;
  44. left: 0; width: 0;
  45. }
  46. .irs-slider {
  47. position: absolute; display: block;
  48. cursor: default;
  49. z-index: 1;
  50. }
  51. .irs-slider.single {
  52. }
  53. .irs-slider.from {
  54. }
  55. .irs-slider.to {
  56. }
  57. .irs-slider.type_last {
  58. z-index: 2;
  59. }
  60. .irs-min {
  61. position: absolute; display: block;
  62. left: 0;
  63. cursor: default;
  64. }
  65. .irs-max {
  66. position: absolute; display: block;
  67. right: 0;
  68. cursor: default;
  69. }
  70. .irs-from, .irs-to, .irs-single {
  71. position: absolute; display: block;
  72. top: 0; left: 0;
  73. cursor: default;
  74. white-space: nowrap;
  75. }
  76. .irs-grid {
  77. position: absolute; display: none;
  78. bottom: 0; left: 0;
  79. width: 100%; height: 20px;
  80. }
  81. .irs-with-grid .irs-grid {
  82. display: block;
  83. }
  84. .irs-grid-pol {
  85. position: absolute;
  86. top: 0; left: 0;
  87. width: 1px; height: 8px;
  88. background: #000;
  89. }
  90. .irs-grid-pol.small {
  91. height: 4px;
  92. }
  93. .irs-grid-text {
  94. position: absolute;
  95. bottom: 0; left: 0;
  96. white-space: nowrap;
  97. text-align: center;
  98. font-size: 9px; line-height: 9px;
  99. padding: 0 3px;
  100. color: #000;
  101. }
  102. .irs-disable-mask {
  103. position: absolute; display: block;
  104. top: 0; left: -1%;
  105. width: 102%; height: 100%;
  106. cursor: default;
  107. background: rgba(0,0,0,0.0);
  108. z-index: 2;
  109. }
  110. .lt-ie9 .irs-disable-mask {
  111. background: #000;
  112. filter: alpha(opacity=0);
  113. cursor: not-allowed;
  114. }
  115. .irs-disabled {
  116. opacity: 0.4;
  117. }
  118. .irs-hidden-input {
  119. position: absolute !important;
  120. display: block !important;
  121. top: 0 !important;
  122. left: 0 !important;
  123. width: 0 !important;
  124. height: 0 !important;
  125. font-size: 0 !important;
  126. line-height: 0 !important;
  127. padding: 0 !important;
  128. margin: 0 !important;
  129. outline: none !important;
  130. z-index: -9999 !important;
  131. background: none !important;
  132. border-style: solid !important;
  133. border-color: transparent !important;
  134. }
  135. /* Ion.RangeSlider, Simple Skin
  136. // css version 2.0.3
  137. // © Denis Ineshin, 2014 https://github.com/IonDen
  138. // © guybowden, 2014 https://github.com/guybowden
  139. // ===================================================================================================================*/
  140. /* =====================================================================================================================
  141. // Skin details */
  142. .irs {
  143. height: 55px;
  144. }
  145. .irs-with-grid {
  146. height: 75px;
  147. }
  148. .irs-line {
  149. height: 10px; top: 33px;
  150. background: #EEE;
  151. background: linear-gradient(to bottom, #DDD -50%, #FFF 150%); /* W3C */
  152. border: 1px solid #CCC;
  153. border-radius: 16px;
  154. -moz-border-radius: 16px;
  155. }
  156. .irs-line-left {
  157. height: 8px;
  158. }
  159. .irs-line-mid {
  160. height: 8px;
  161. }
  162. .irs-line-right {
  163. height: 8px;
  164. }
  165. .irs-bar {
  166. height: 10px; top: 33px;
  167. border-top: 1px solid #428bca;
  168. border-bottom: 1px solid #428bca;
  169. background: #428bca;
  170. background: linear-gradient(to top, rgba(66,139,202,1) 0%,rgba(127,195,232,1) 100%); /* W3C */
  171. }
  172. .irs-bar-edge {
  173. height: 10px; top: 33px;
  174. width: 14px;
  175. border: 1px solid #428bca;
  176. border-right: 0;
  177. background: #428bca;
  178. background: linear-gradient(to top, rgba(66,139,202,1) 0%,rgba(127,195,232,1) 100%); /* W3C */
  179. border-radius: 16px 0 0 16px;
  180. -moz-border-radius: 16px 0 0 16px;
  181. }
  182. .irs-shadow {
  183. height: 2px; top: 38px;
  184. background: #000;
  185. opacity: 0.3;
  186. border-radius: 5px;
  187. -moz-border-radius: 5px;
  188. }
  189. .lt-ie9 .irs-shadow {
  190. filter: alpha(opacity=30);
  191. }
  192. .irs-slider {
  193. top: 25px;
  194. width: 27px; height: 27px;
  195. border: 1px solid #AAA;
  196. background: #DDD;
  197. background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(220,220,220,1) 20%,rgba(255,255,255,1) 100%); /* W3C */
  198. border-radius: 27px;
  199. -moz-border-radius: 27px;
  200. box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  201. cursor: pointer;
  202. }
  203. .irs-slider.state_hover, .irs-slider:hover {
  204. background: #FFF;
  205. }
  206. .irs-min, .irs-max {
  207. color: #333;
  208. font-size: 12px; line-height: 1.333;
  209. text-shadow: none;
  210. top: 0;
  211. padding: 1px 5px;
  212. background: rgba(0,0,0,0.1);
  213. border-radius: 3px;
  214. -moz-border-radius: 3px;
  215. }
  216. .lt-ie9 .irs-min, .lt-ie9 .irs-max {
  217. background: #ccc;
  218. }
  219. .lt-ie9 .irs-from, .lt-ie9 .irs-to, .lt-ie9 .irs-single {
  220. background: #999;
  221. }
  222. .irs-grid {
  223. height: 27px;
  224. }
  225. .irs-grid-pol {
  226. opacity: 0.5;
  227. background: #428bca;
  228. }
  229. .irs-grid-pol.small {
  230. background: #999;
  231. }
  232. .irs-grid-text {
  233. bottom: 5px;
  234. color: #99a4ac;
  235. }
  236. .irs-disabled {
  237. }