temp.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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: right;
  9. padding: 0 $control-spacing;
  10. font-weight: bold;
  11. background: $default-background;
  12. // border-right: $control-spacing solid $entity-color-Group; // TODO separate color
  13. border-bottom: 1px solid $entity-color-Group; // TODO separate color
  14. // border-bottom: 1px solid $entity-color-Group; // TODO separate color
  15. > .msp-icon {
  16. display: block;
  17. float: left;
  18. }
  19. }
  20. .msp-current-header {
  21. height: $row-height;
  22. line-height: $row-height;
  23. margin-bottom: $control-spacing;
  24. text-align: center;
  25. font-weight: bold;
  26. background: $default-background;
  27. }
  28. .msp-btn-row-group {
  29. display:flex;
  30. flex-direction:row;
  31. height: $row-height;
  32. margin-top: 1px;
  33. width: 100%;
  34. > button {
  35. margin: 0;
  36. flex: 1 1 auto;
  37. margin-right: 1px;
  38. height: $row-height;
  39. }
  40. > button:last-child {
  41. margin-right: 0;
  42. }
  43. }
  44. .msp-state-list {
  45. list-style: none;
  46. margin-top: $control-spacing;
  47. > li {
  48. position: relative;
  49. > button:first-child {
  50. border-left: $control-spacing solid color-increase-contrast($default-background, 12%) !important;
  51. }
  52. > div {
  53. position: absolute;
  54. right: 0;
  55. top: 0;
  56. }
  57. }
  58. button {
  59. margin-bottom: 1px;
  60. text-align: left;
  61. }
  62. }
  63. .msp-tree-row {
  64. position: relative;
  65. height: $row-height;
  66. line-height: $row-height;
  67. background: color-lower-contrast($control-background, 4%);
  68. overflow: hidden;
  69. text-overflow: ellipsis;
  70. white-space: nowrap;
  71. margin-bottom: 1px;
  72. padding-left: $row-height;
  73. padding-right: 2 * $row-height + $control-spacing;
  74. border-left: 1px solid $entity-color-Group; // TODO custom color
  75. // border-bottom-left-radius: $control-spacing;
  76. &-current {
  77. // background: $control-background;
  78. a {
  79. color: $font-color;
  80. }
  81. a:hover, a:hover > small {
  82. color: color-lower-contrast($font-color, 24%);
  83. }
  84. }
  85. a {
  86. display: block;
  87. }
  88. a > small {
  89. color: $font-color;
  90. }
  91. a:hover {
  92. font-weight: bold;
  93. text-decoration: none;
  94. }
  95. }
  96. .msp-tree-remove-button {
  97. position: absolute;
  98. right: $row-height;
  99. top: 0;
  100. width: $row-height;
  101. font-size: 80%;
  102. color: color-lower-contrast($font-color, 24%);
  103. }
  104. .msp-tree-toggle-exp-button {
  105. position: absolute;
  106. left: 0;
  107. top: 0;
  108. width: $row-height;
  109. padding: 0;
  110. color: color-lower-contrast($font-color, 24%);
  111. }
  112. .msp-tree-visibility {
  113. position: absolute;
  114. right: 0;
  115. top: 0;
  116. width: $row-height;
  117. font-size: 80%;
  118. &-hidden {
  119. color: color-lower-contrast($font-color, 36%);
  120. }
  121. }
  122. .msp-tree-children {
  123. margin-left: $control-spacing;
  124. }
  125. .msp-log-list {
  126. list-style: none;
  127. > li {
  128. background: $msp-form-control-background;
  129. margin-bottom: 1px;
  130. padding: 3px 6px;
  131. }
  132. }
  133. .msp-viewport-top-left-controls {
  134. position: absolute;
  135. left: $control-spacing;
  136. top: $control-spacing;
  137. z-index: 10000;
  138. .msp-traj-controls {
  139. line-height: $row-height;
  140. float: left;
  141. margin-right: $control-spacing;
  142. background-color: $msp-form-control-background;
  143. > span {
  144. color: $font-color;
  145. margin-left: $control-spacing;
  146. margin-right: $control-spacing;
  147. font-size: 85%;
  148. display: inline-block;
  149. }
  150. }
  151. .msp-state-snapshot-viewport-controls {
  152. line-height: $row-height;
  153. float: left;
  154. margin-right: $control-spacing;
  155. > button {
  156. background-color: $msp-form-control-background;
  157. }
  158. > select {
  159. display: inline-block;
  160. width: 200px;
  161. margin-right: $control-spacing;
  162. }
  163. }
  164. .msp-animation-viewport-controls {
  165. line-height: $row-height;
  166. float: left;
  167. margin-right: $control-spacing;
  168. position: relative;
  169. // background-color: $msp-form-control-background;
  170. .msp-animation-viewport-controls-select {
  171. width: 290px;
  172. position: absolute;
  173. left: 0;
  174. top: $row-height + $control-spacing;
  175. background: $control-background;
  176. .msp-control-row:first-child {
  177. margin-top: 0;
  178. }
  179. }
  180. }
  181. }
  182. .msp-param-object-list-item {
  183. margin-top: 1px;
  184. position: relative;
  185. > button {
  186. text-align: left;
  187. > span {
  188. font-weight: bold;
  189. }
  190. }
  191. > div {
  192. position: absolute;
  193. right: 0;
  194. top: 0
  195. }
  196. }
  197. .msp-state-actions {
  198. .msp-transform-wrapper:last-child {
  199. margin-bottom: 10px;
  200. }
  201. }