_thresholds.scss 1.6 KB

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