temp.scss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. .msp-section-header {
  2. height: $row-height;
  3. line-height: $row-height;
  4. margin-top: $control-spacing;
  5. margin-bottom: $control-spacing;
  6. text-align: right;
  7. padding: 0 $control-spacing;
  8. font-weight: bold;
  9. background: $default-background;
  10. overflow: hidden;
  11. // border-right: $control-spacing solid $entity-color-Group; // TODO separate color
  12. border-bottom: 1px solid $entity-color-Group; // TODO separate color
  13. // border-bottom: 1px solid $entity-color-Group; // TODO separate color
  14. cursor: default;
  15. > .msp-icon {
  16. display: block;
  17. float: left;
  18. }
  19. > small {
  20. font-weight: normal;
  21. }
  22. }
  23. .msp-current-header {
  24. height: $row-height;
  25. line-height: $row-height;
  26. margin-bottom: $control-spacing;
  27. text-align: center;
  28. font-weight: bold;
  29. background: $default-background;
  30. }
  31. .msp-btn-row-group {
  32. display:flex;
  33. flex-direction:row;
  34. height: $row-height;
  35. margin-top: 1px;
  36. width: 100%;
  37. background: $default-background;
  38. > button {
  39. margin: 0;
  40. flex: 1 1 auto;
  41. margin-right: 1px;
  42. height: $row-height;
  43. }
  44. > button:last-child {
  45. margin-right: 0;
  46. }
  47. > button.msp-control-button-label {
  48. background: $default-background;
  49. }
  50. }
  51. .msp-select-row {
  52. display:flex;
  53. flex-direction:row;
  54. height: $row-height;
  55. width: inherit;
  56. background: $default-background;
  57. > select, > button {
  58. margin: 0;
  59. flex: 1 1 auto;
  60. margin-right: 1px;
  61. height: $row-height;
  62. text-align-last: center;
  63. padding: 0 $control-spacing;
  64. overflow: hidden;
  65. }
  66. > select {
  67. background: none;
  68. > option[value = _] {
  69. display: none;
  70. }
  71. }
  72. > select:last-child, > button:last-child {
  73. margin-right: 0;
  74. }
  75. }
  76. .msp-flex-row {
  77. display:flex;
  78. flex-direction:row;
  79. width: inherit;
  80. > .msp-flex-item {
  81. margin: 0;
  82. flex: 1 1 auto;
  83. margin-right: 1px;
  84. overflow: hidden;
  85. }
  86. > .msp-flex-item:last-child {
  87. margin-right: 0;
  88. }
  89. }
  90. .msp-state-list {
  91. list-style: none;
  92. margin-top: $control-spacing;
  93. > li {
  94. position: relative;
  95. overflow: hidden;
  96. > button:first-child {
  97. border-left: $control-spacing solid color-increase-contrast($default-background, 12%) !important;
  98. }
  99. > div {
  100. position: absolute;
  101. right: 0;
  102. top: 0;
  103. }
  104. }
  105. button {
  106. margin-bottom: 1px;
  107. text-align: left;
  108. }
  109. }
  110. .msp-tree-row {
  111. position: relative;
  112. height: $row-height;
  113. line-height: $row-height;
  114. background: color-lower-contrast($control-background, 4%);
  115. overflow: hidden;
  116. text-overflow: ellipsis;
  117. white-space: nowrap;
  118. margin-bottom: 1px;
  119. padding-left: $row-height;
  120. padding-right: 2 * $row-height + $control-spacing;
  121. border-left: 1px solid $entity-color-Group; // TODO custom color
  122. // border-bottom-left-radius: $control-spacing;
  123. &-current {
  124. // background: $control-background;
  125. .msp-btn-tree-label {
  126. > span {
  127. font-weight: bold;
  128. }
  129. }
  130. .msp-btn-tree-label:hover {
  131. color: $font-color;
  132. }
  133. }
  134. .msp-btn-tree-label {
  135. display: block;
  136. overflow: hidden;
  137. border: none;
  138. padding: 0;
  139. width: 100%;
  140. text-align: left;
  141. }
  142. .msp-btn-tree-label > small {
  143. color: $font-color;
  144. }
  145. }
  146. .msp-tree-remove-button {
  147. position: absolute;
  148. right: $row-height;
  149. top: 0;
  150. width: $row-height;
  151. font-size: 80%;
  152. color: color-lower-contrast($font-color, 24%);
  153. }
  154. .msp-tree-toggle-exp-button {
  155. position: absolute;
  156. left: 0;
  157. top: 0;
  158. width: $row-height;
  159. padding: 0;
  160. color: color-lower-contrast($font-color, 24%);
  161. }
  162. .msp-tree-visibility {
  163. position: absolute;
  164. right: 0;
  165. top: 0;
  166. width: $row-height;
  167. font-size: 80%;
  168. &-hidden {
  169. color: color-lower-contrast($font-color, 36%);
  170. }
  171. }
  172. .msp-tree-children {
  173. margin-left: $control-spacing;
  174. }
  175. .msp-log-list {
  176. list-style: none;
  177. > li {
  178. background: $msp-form-control-background;
  179. margin-bottom: 1px;
  180. padding: 3px 6px;
  181. }
  182. }
  183. .msp-viewport-top-left-controls {
  184. position: absolute;
  185. left: $control-spacing;
  186. top: $control-spacing;
  187. .msp-traj-controls {
  188. line-height: $row-height;
  189. float: left;
  190. margin-right: $control-spacing;
  191. background-color: $msp-form-control-background;
  192. > span {
  193. color: $font-color;
  194. margin-left: $control-spacing;
  195. margin-right: $control-spacing;
  196. font-size: 85%;
  197. display: inline-block;
  198. }
  199. }
  200. .msp-state-snapshot-viewport-controls {
  201. line-height: $row-height;
  202. float: left;
  203. margin-right: $control-spacing;
  204. > button {
  205. background-color: $msp-form-control-background;
  206. }
  207. > select {
  208. display: inline-block;
  209. width: 200px;
  210. margin-right: $control-spacing;
  211. }
  212. }
  213. .msp-animation-viewport-controls {
  214. line-height: $row-height;
  215. float: left;
  216. margin-right: $control-spacing;
  217. position: relative;
  218. // background: $default-background;
  219. > div:first-child {
  220. position: relative;
  221. display: inline-block;
  222. > button {
  223. position: relative;
  224. }
  225. }
  226. .msp-animation-viewport-controls-select {
  227. width: 290px;
  228. position: absolute;
  229. left: 0;
  230. margin-top: $control-spacing;
  231. background: $control-background;
  232. .msp-control-row:first-child {
  233. margin-top: 0;
  234. }
  235. }
  236. }
  237. }
  238. .msp-param-object-list-item {
  239. margin-top: 1px;
  240. position: relative;
  241. > button {
  242. text-align: left;
  243. > span {
  244. font-weight: bold;
  245. }
  246. }
  247. > div {
  248. position: absolute;
  249. right: 0;
  250. top: 0
  251. }
  252. }
  253. .msp-state-actions {
  254. .msp-transform-wrapper:last-child {
  255. margin-bottom: 10px;
  256. }
  257. }
  258. .msp-button-row {
  259. display:flex;
  260. flex-direction:row;
  261. height: $row-height;
  262. width: inherit;
  263. > button {
  264. margin: 0;
  265. flex: 1 1 auto;
  266. margin-right: 1px;
  267. height: $row-height;
  268. text-align-last: center;
  269. background: none;
  270. padding: 0 $control-spacing;
  271. overflow: hidden;
  272. }
  273. }
  274. .msp-action-menu-options {
  275. .msp-control-row, button, .msp-icon {
  276. height: 24px;
  277. line-height: 24px;
  278. }
  279. button {
  280. text-align: left;
  281. }
  282. .msp-action-menu-button {
  283. margin-top: 1px;
  284. display: flex;
  285. .msp-icon {
  286. font-size: 80%;
  287. margin-right: 6px;
  288. }
  289. }
  290. }
  291. .msp-representation-entry {
  292. position: relative;
  293. > .msp-control-group-header {
  294. > .msp-btn {
  295. border-left: 1px solid $entity-color-Group;
  296. font-weight: bold;
  297. }
  298. > .msp-icon, > .msp-btn-link {
  299. line-height: 24px;
  300. height: 24px;
  301. }
  302. }
  303. }