temp.scss 5.3 KB

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