ion.rangeSlider.skinHTML5.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /* Ion.RangeSlider, Simple Skin
  2. // css version 2.0.3
  3. // © Denis Ineshin, 2014 https://github.com/IonDen
  4. // © guybowden, 2014 https://github.com/guybowden
  5. // ===================================================================================================================*/
  6. /* =====================================================================================================================
  7. // Skin details */
  8. body {
  9. background-color: #000;
  10. }
  11. .irs {
  12. width: 5rem;
  13. height: 30px;
  14. }
  15. .irs-with-grid {
  16. height: 60px;
  17. }
  18. .irs-line {
  19. height: 3px; top: 17px;
  20. background: #d6d6d6;
  21. border: 1px solid #d6d6d6;
  22. border-radius: 16px;
  23. -moz-border-radius: 16px;
  24. }
  25. .irs-line-left {
  26. height: 8px;
  27. }
  28. .irs-line-mid {
  29. height: 8px;
  30. }
  31. .irs-line-right {
  32. height: 8px;
  33. }
  34. .irs-bar {
  35. height: 3px; top: 17px;
  36. background: #CE5C2A;
  37. border-top: 1px solid #CE5C2A;
  38. border-bottom: 1px solid #CE5C2A;
  39. }
  40. .irs-bar-edge {
  41. height: 10px; top: 30px;
  42. width: 14px;
  43. border: 1px solid #428bca;
  44. border-right: 0;
  45. background: #428bca;
  46. background: linear-gradient(to top, rgba(66,139,202,1) 0%,rgba(127,195,232,1) 100%); /* W3C */
  47. border-radius: 16px 0 0 16px;
  48. -moz-border-radius: 16px 0 0 16px;
  49. }
  50. .irs-shadow {
  51. height: 2px; top: 28px;
  52. background: #000;
  53. opacity: 0.3;
  54. border-radius: 5px;
  55. -moz-border-radius: 5px;
  56. }
  57. .lt-ie9 .irs-shadow {
  58. filter: alpha(opacity=30);
  59. }
  60. .irs-slider {
  61. top: 7px;
  62. width: 20px; height: 20px;
  63. border: 1px solid #AAA;
  64. background: #DDD;
  65. background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(220,220,220,1) 20%,rgba(255,255,255,1) 100%); /* W3C */
  66. border-radius: 27px;
  67. -moz-border-radius: 27px;
  68. box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  69. cursor: pointer;
  70. }
  71. .irs-slider.state_hover, .irs-slider:hover {
  72. background: #FFF;
  73. }
  74. .irs-min, .irs-max {
  75. color: #78c831;
  76. font-size: 1em;
  77. line-height: 1.333;
  78. text-shadow: none;
  79. top: 18px;
  80. padding: 1px 5px;
  81. display: none;
  82. }
  83. .lt-ie9 .irs-min, .lt-ie9 .irs-max {
  84. background: #ccc;
  85. }
  86. .irs-from, .irs-to, .irs-single {
  87. display: none;
  88. color: #fff;
  89. font-size: 1em;
  90. line-height: 1.333;
  91. text-shadow: none;
  92. padding: 5px 15px;
  93. background: #9bd467;
  94. border-radius: 3px;
  95. -moz-border-radius: 3px;
  96. }
  97. .lt-ie9 .irs-from, .lt-ie9 .irs-to, .lt-ie9 .irs-single {
  98. background: #999;
  99. }
  100. .irs-grid {
  101. height: 20px;
  102. }
  103. .irs-grid-pol {
  104. opacity: 0;
  105. background: #428bca;
  106. }
  107. .irs-grid-pol.small {
  108. background: #999;
  109. }
  110. .irs-grid-text {
  111. bottom: 5px;
  112. color: #fff;
  113. font-size: 1em;
  114. }
  115. .irs-disabled {
  116. }