_base.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. @import (reference) "_mixins";
  2. .irs {
  3. .pos-r();
  4. -webkit-touch-callout: none;
  5. .no-click();
  6. font-size: 12px;
  7. font-family: Arial, sans-serif;
  8. &-line {
  9. .pos-r();
  10. overflow: hidden;
  11. outline: none !important;
  12. }
  13. &-bar {
  14. .pos-a();
  15. left: 0;
  16. width: 0;
  17. }
  18. &-shadow {
  19. position: absolute;
  20. display: none;
  21. left: 0;
  22. width: 0;
  23. }
  24. &-handle {
  25. .pos-a();
  26. box-sizing: border-box;
  27. cursor: default;
  28. z-index: 1;
  29. &.single,
  30. &.from,
  31. &.to {}
  32. &.type_last {
  33. z-index: 2;
  34. }
  35. }
  36. &-min,
  37. &-max {
  38. .pos-a();
  39. cursor: default;
  40. }
  41. &-min {
  42. left: 0;
  43. }
  44. &-max {
  45. right: 0;
  46. }
  47. &-from,
  48. &-to,
  49. &-single {
  50. .pos-a();
  51. top: 0;
  52. left: 0;
  53. cursor: default;
  54. white-space: nowrap;
  55. }
  56. &-grid {
  57. position: absolute;
  58. display: none;
  59. bottom: 0;
  60. left: 0;
  61. width: 100%;
  62. height: 20px;
  63. .irs-with-grid & {
  64. display: block;
  65. }
  66. &-pol {
  67. position: absolute;
  68. top: 0;
  69. left: 0;
  70. width: 1px;
  71. height: 8px;
  72. background: #000;
  73. &.small {
  74. height: 4px;
  75. }
  76. }
  77. &-text {
  78. position: absolute;
  79. bottom: 0;
  80. left: 0;
  81. white-space: nowrap;
  82. text-align: center;
  83. font-size: 9px;
  84. line-height: 9px;
  85. padding: 0 3px;
  86. color: #000;
  87. }
  88. }
  89. &-disable-mask {
  90. .pos-a();
  91. top: 0;
  92. left: -1%;
  93. width: 102%;
  94. height: 100%;
  95. cursor: default;
  96. background: rgba(0,0,0,0.0);
  97. z-index: 2;
  98. .lt-ie9 & {
  99. background: #000;
  100. filter: alpha(opacity=0);
  101. cursor: not-allowed;
  102. }
  103. }
  104. &-disabled {
  105. opacity: 0.4;
  106. }
  107. &-hidden-input {
  108. position: absolute !important;
  109. display: block !important;
  110. top: 0 !important;
  111. left: 0 !important;
  112. width: 0 !important;
  113. height: 0 !important;
  114. font-size: 0 !important;
  115. line-height: 0 !important;
  116. padding: 0 !important;
  117. margin: 0 !important;
  118. overflow: hidden;
  119. outline: none !important;
  120. z-index: -9999 !important;
  121. background: none !important;
  122. border-style: solid !important;
  123. border-color: transparent !important;
  124. }
  125. }