Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

range.css 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. .leaflet-sbs-range,
  2. .leaflet-sbs-range::-webkit-slider-thumb {
  3. -webkit-appearance: none;
  4. margin: 0;
  5. padding: 0;
  6. border: 0;
  7. }
  8. .leaflet-sbs-range {
  9. display: inline-block!important;
  10. vertical-align: middle;
  11. height: 0;
  12. padding: 0;
  13. margin: 0;
  14. border: 0;
  15. background: rgba(0, 0, 0, 0.25);
  16. min-width: 100px;
  17. cursor: pointer;
  18. pointer-events: none;
  19. z-index: 999;
  20. }
  21. .leaflet-sbs-range::-ms-fill-upper {
  22. background: transparent;
  23. }
  24. .leaflet-sbs-range::-ms-fill-lower {
  25. background: rgba(255, 255, 255, 0.25);
  26. }
  27. /* Browser thingies */
  28. .leaflet-sbs-range::-moz-range-track {
  29. opacity: 0;
  30. }
  31. .leaflet-sbs-range::-ms-track {
  32. opacity: 0;
  33. }
  34. .leaflet-sbs-range::-ms-tooltip {
  35. display: none;
  36. }
  37. /* For whatever reason, these need to be defined
  38. * on their own so dont group them */
  39. .leaflet-sbs-range::-webkit-slider-thumb {
  40. background: #fff;
  41. height: 40px;
  42. width: 40px;
  43. border-radius: 20px;
  44. cursor: ew-resize;
  45. pointer-events: auto;
  46. border: 1px solid #ddd;
  47. background-image: url(range-icon.png);
  48. background-position: 50% 50%;
  49. background-repeat: no-repeat;
  50. background-size: 40px 40px;
  51. }
  52. .leaflet-sbs-range::-ms-thumb {
  53. margin: 0;
  54. padding: 0;
  55. background: #fff;
  56. height: 40px;
  57. width: 40px;
  58. border-radius: 20px;
  59. cursor: ew-resize;
  60. pointer-events: auto;
  61. border: 1px solid #ddd;
  62. background-image: url(range-icon.png);
  63. background-position: 50% 50%;
  64. background-repeat: no-repeat;
  65. background-size: 40px 40px;
  66. }
  67. .leaflet-sbs-range::-moz-range-thumb {
  68. padding: 0;
  69. right: 0 ;
  70. background: #fff;
  71. height: 40px;
  72. width: 40px;
  73. border-radius: 20px;
  74. cursor: ew-resize;
  75. pointer-events: auto;
  76. border: 1px solid #ddd;
  77. background-image: url(range-icon.png);
  78. background-position: 50% 50%;
  79. background-repeat: no-repeat;
  80. background-size: 40px 40px;
  81. }
  82. .leaflet-sbs-range:disabled::-moz-range-thumb {
  83. cursor: default;
  84. }
  85. .leaflet-sbs-range:disabled::-ms-thumb {
  86. cursor: default;
  87. }
  88. .leaflet-sbs-range:disabled::-webkit-slider-thumb {
  89. cursor: default;
  90. }
  91. .leaflet-sbs-range:disabled {
  92. cursor: default;
  93. }
  94. .leaflet-sbs-range:focus {
  95. outline: none!important;
  96. }
  97. .leaflet-sbs-range::-moz-focus-outer {
  98. border: 0;
  99. }