_thresholds.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .thresholds {
  2. display: flex;
  3. margin-top: 30px;
  4. }
  5. .threshold-rows {
  6. margin-left: 5px;
  7. }
  8. .threshold-row {
  9. display: flex;
  10. align-items: center;
  11. margin: 5px 0;
  12. padding: 5px;
  13. &::before {
  14. font-family: 'FontAwesome';
  15. content: '\f0d9';
  16. color: $input-label-border-color;
  17. }
  18. }
  19. .threshold-row-inner {
  20. border: 1px solid $input-label-border-color;
  21. border-radius: $border-radius;
  22. display: flex;
  23. overflow: hidden;
  24. width: 300px;
  25. height: 37px;
  26. }
  27. .threshold-row-color {
  28. width: 36px;
  29. border-right: 1px solid $input-label-border-color;
  30. display: flex;
  31. align-items: center;
  32. justify-content: center;
  33. background-color: $input-bg;
  34. }
  35. .threshold-row-color-inner {
  36. border-radius: 10px;
  37. overflow: hidden;
  38. display: flex;
  39. align-items: center;
  40. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  41. }
  42. .threshold-row-input {
  43. padding: 8px 10px;
  44. width: 230px;
  45. }
  46. .threshold-row-label {
  47. background-color: $input-label-bg;
  48. padding: 5px;
  49. width: 36px;
  50. display: flex;
  51. align-items: center;
  52. }
  53. .threshold-row-add-label {
  54. align-items: center;
  55. display: flex;
  56. padding: 5px 8px;
  57. }
  58. .threshold-row-min {
  59. margin-top: -22px;
  60. }
  61. .threshold-row-max {
  62. margin-bottom: -22px;
  63. }
  64. .threshold-row-remove {
  65. display: flex;
  66. align-items: center;
  67. justify-content: center;
  68. width: 36px;
  69. cursor: pointer;
  70. }
  71. .threshold-row-add {
  72. border-right: $border-width solid $input-label-border-color;
  73. display: flex;
  74. align-items: center;
  75. justify-content: center;
  76. width: 36px;
  77. background-color: $green;
  78. }
  79. .threshold-row-label {
  80. border-top-left-radius: 0;
  81. border-bottom-left-radius: 0;
  82. }
  83. .indicator-section {
  84. width: 100%;
  85. cursor: pointer;
  86. }
  87. .color-indicators {
  88. width: 15px;
  89. border-radius: $border-radius;
  90. overflow: hidden;
  91. }