_thresholds.scss 1.7 KB

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