Dashboard sipadu mbip
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.

_range-slider.scss 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /*range slider start */
  2. .range-slider {
  3. min-height: 200px;
  4. display: flex;
  5. align-items: center;
  6. margin-left: 15px;
  7. b{
  8. margin-top: -10px;
  9. }
  10. }
  11. #RGB {
  12. height: 10px;
  13. background: rgb(128, 128, 128);
  14. }
  15. #RC .slider-selection {
  16. background: #FF8282;
  17. }
  18. #RC .slider-handle {
  19. background: red;
  20. }
  21. #GC .slider-selection {
  22. background: #428041;
  23. }
  24. #GC .slider-handle {
  25. background: green;
  26. }
  27. #BC .slider-selection {
  28. background: #8283FF;
  29. }
  30. #BC .slider-handle {
  31. border-bottom-color: blue;
  32. }
  33. #R,
  34. #G,
  35. #B {
  36. width: 300px;
  37. }
  38. .range-slider-contain {
  39. position: absolute;
  40. bottom: 15px;
  41. }
  42. .slider-handle {
  43. top: -5px;
  44. background-image: linear-gradient(to bottom, $primary-color 0%, $primary-color 100%);
  45. box-shadow: none;
  46. }
  47. .slider-tick,
  48. .slider-track {
  49. background-image: linear-gradient(to bottom, #BDC3C7 0%, #BDC3C7 100%)
  50. }
  51. .slider-handle.custom::before {
  52. line-height: 15px;
  53. font-size: 35px;
  54. color: $primary-color;
  55. }
  56. #slider12a,
  57. #slider12c {
  58. .slider-track-high {
  59. background: green;
  60. }
  61. }
  62. #slider12b,
  63. #slider12c {
  64. .slider-track-low {
  65. background: red;
  66. }
  67. }
  68. #slider12c .slider-selection {
  69. background: yellow;
  70. }
  71. .slider-selection.tick-slider-selection {
  72. background-image: linear-gradient(to bottom, lighten($primary-color,10%) 0%, lighten($primary-color,10%) 100%);
  73. }
  74. .slider-tick.in-selection {
  75. background-image: linear-gradient(to bottom, lighten($primary-color,10%) 0%, lighten($primary-color,10%) 100%);
  76. }
  77. .slider.slider-horizontal {
  78. .slider-track {
  79. height: 2px;
  80. }
  81. .slider-tick,
  82. .slider-handle {
  83. top: -5px;
  84. cursor: pointer;
  85. }
  86. }
  87. /*range slider end */
  88. .slider.slider-horizontal .slider-track {
  89. width: 90%;
  90. margin-top: -5px;
  91. top: 50%;
  92. left: 10px;
  93. }