ion.rangeSlider.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. /* Ion.RangeSlider
  2. // css version 1.8.5
  3. // by Denis Ineshin | ionden.com
  4. // ===================================================================================================================*/
  5. /* =====================================================================================================================
  6. // RangeSlider */
  7. .irs {
  8. position: relative;
  9. display: block;
  10. }
  11. .irs-line {
  12. position: relative;
  13. display: block;
  14. overflow: hidden;
  15. }
  16. .irs-line-left, .irs-line-mid, .irs-line-right {
  17. position: absolute;
  18. display: block;
  19. top: 0;
  20. }
  21. .irs-line-left {
  22. left: 0;
  23. width: 10%;
  24. }
  25. .irs-line-mid {
  26. left: 10%;
  27. width: 80%;
  28. }
  29. .irs-line-right {
  30. right: 0;
  31. width: 10%;
  32. }
  33. .irs-diapason {
  34. position: absolute;
  35. display: block;
  36. left: 0;
  37. width: 100%;
  38. }
  39. .irs-slider {
  40. position: absolute;
  41. display: block;
  42. cursor: default;
  43. z-index: 1;
  44. }
  45. .irs-slider.single {
  46. left: 10px;
  47. }
  48. .irs-slider.single:before {
  49. position: absolute;
  50. display: block;
  51. content: "";
  52. top: -30%;
  53. left: -30%;
  54. width: 160%;
  55. height: 160%;
  56. background: rgba(0, 0, 0, 0.0);
  57. }
  58. .irs-slider.from {
  59. left: 100px;
  60. }
  61. .irs-slider.from:before {
  62. position: absolute;
  63. display: block;
  64. content: "";
  65. top: -30%;
  66. left: -30%;
  67. width: 130%;
  68. height: 160%;
  69. background: rgba(0, 0, 0, 0.0);
  70. }
  71. .irs-slider.to {
  72. left: 300px;
  73. }
  74. .irs-slider.to:before {
  75. position: absolute;
  76. display: block;
  77. content: "";
  78. top: -30%;
  79. left: 0;
  80. width: 130%;
  81. height: 160%;
  82. background: rgba(0, 0, 0, 0.0);
  83. }
  84. .irs-slider.last {
  85. z-index: 2;
  86. }
  87. .irs-min {
  88. position: absolute;
  89. display: block;
  90. left: 0;
  91. cursor: default;
  92. }
  93. .irs-max {
  94. position: absolute;
  95. display: block;
  96. right: 0;
  97. cursor: default;
  98. }
  99. .irs-from, .irs-to, .irs-single {
  100. position: absolute;
  101. display: block;
  102. top: 0;
  103. left: 0;
  104. cursor: default;
  105. white-space: nowrap;
  106. }
  107. .irs-grid {
  108. position: absolute;
  109. display: none;
  110. bottom: 0;
  111. left: 0;
  112. width: 100%;
  113. height: 20px;
  114. }
  115. .irs-with-grid .irs-grid {
  116. display: block;
  117. }
  118. .irs-grid-pol {
  119. position: absolute;
  120. top: 0;
  121. left: 0;
  122. width: 1px;
  123. height: 8px;
  124. background: #000;
  125. }
  126. .irs-grid-pol.small {
  127. height: 4px;
  128. }
  129. .irs-grid-text {
  130. position: absolute;
  131. bottom: 0;
  132. left: 0;
  133. width: 100px;
  134. white-space: nowrap;
  135. text-align: center;
  136. font-size: 9px;
  137. line-height: 9px;
  138. color: #000;
  139. }
  140. .irs-disable-mask {
  141. position: absolute;
  142. display: block;
  143. top: 0;
  144. left: 0;
  145. width: 100%;
  146. height: 100%;
  147. cursor: default;
  148. background: rgba(0, 0, 0, 0.0);
  149. z-index: 2;
  150. }
  151. .irs-disabled {
  152. opacity: 0.4;
  153. }