temp.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .msp-right-controls {
  2. padding-top: $control-spacing;
  3. }
  4. .msp-section-header {
  5. height: $row-height;
  6. line-height: $row-height;
  7. margin-bottom: $control-spacing;
  8. text-align: center;
  9. font-weight: bold;
  10. background: $default-background;
  11. // border-right: $control-spacing solid $entity-color-Group; // TODO separate color
  12. border-top: 1px solid $entity-color-Group; // TODO separate color
  13. // border-bottom: 1px solid $entity-color-Group; // TODO separate color
  14. }
  15. .msp-current-header {
  16. height: $row-height;
  17. line-height: $row-height;
  18. margin-bottom: $control-spacing;
  19. text-align: center;
  20. font-weight: bold;
  21. background: $default-background;
  22. }
  23. .msp-btn-row-group {
  24. display:flex;
  25. flex-direction:row;
  26. height: $row-height;
  27. margin-top: 1px;
  28. width: 100%;
  29. > button {
  30. margin: 0;
  31. flex: 1 1 auto;
  32. margin-right: 1px;
  33. height: $row-height;
  34. }
  35. > button:last-child {
  36. margin-right: 0;
  37. }
  38. }
  39. .msp-state-list {
  40. list-style: none;
  41. margin-top: $control-spacing;
  42. > li {
  43. position: relative;
  44. > button:first-child {
  45. border-left: $control-spacing solid color-increase-contrast($default-background, 12%) !important;
  46. }
  47. }
  48. button {
  49. margin-bottom: 1px;
  50. text-align: left;
  51. }
  52. }
  53. .msp-state-list-remove-button {
  54. position: absolute;
  55. right: 0;
  56. top: 0;
  57. width: $row-height;
  58. }
  59. .msp-tree-row {
  60. position: relative;
  61. height: $row-height;
  62. line-height: $row-height;
  63. background: color-lower-contrast($control-background, 4%);
  64. overflow: hidden;
  65. text-overflow: ellipsis;
  66. white-space: nowrap;
  67. margin-bottom: 1px;
  68. padding-left: $row-height;
  69. padding-right: 2 * $row-height + $control-spacing;
  70. border-left: 1px solid $entity-color-Group; // TODO custom color
  71. // border-bottom-left-radius: $control-spacing;
  72. &-current {
  73. // background: $control-background;
  74. a {
  75. color: $font-color;
  76. }
  77. a:hover, a:hover > small {
  78. color: color-lower-contrast($font-color, 24%);
  79. }
  80. }
  81. a {
  82. display: block;
  83. }
  84. a > small {
  85. color: $font-color;
  86. }
  87. a:hover {
  88. font-weight: bold;
  89. text-decoration: none;
  90. }
  91. }
  92. .msp-tree-remove-button {
  93. position: absolute;
  94. right: $row-height;
  95. top: 0;
  96. width: $row-height;
  97. font-size: 80%;
  98. color: color-lower-contrast($font-color, 24%);
  99. }
  100. .msp-tree-toggle-exp-button {
  101. position: absolute;
  102. left: 0;
  103. top: 0;
  104. width: $row-height;
  105. padding: 0;
  106. color: color-lower-contrast($font-color, 24%);
  107. }
  108. .msp-tree-visibility {
  109. position: absolute;
  110. right: 0;
  111. top: 0;
  112. width: $row-height;
  113. font-size: 80%;
  114. &-hidden {
  115. color: color-lower-contrast($font-color, 36%);
  116. }
  117. }
  118. .msp-tree-children {
  119. margin-left: $control-spacing;
  120. }
  121. .msp-log-list {
  122. list-style: none;
  123. > li {
  124. background: $msp-form-control-background;
  125. margin-bottom: 1px;
  126. padding: 3px 6px;
  127. }
  128. }