.msp-section-header { height: $row-height; line-height: $row-height; margin-top: $control-spacing; margin-bottom: $control-spacing; text-align: right; padding: 0 $control-spacing; font-weight: bold; background: $default-background; overflow: hidden; // border-right: $control-spacing solid $entity-color-Group; // TODO separate color border-bottom: 1px solid $entity-color-Group; // TODO separate color // border-bottom: 1px solid $entity-color-Group; // TODO separate color cursor: default; > .msp-icon { display: block; float: left; } > small { font-weight: normal; } } .msp-current-header { height: $row-height; line-height: $row-height; margin-bottom: $control-spacing; text-align: center; font-weight: bold; background: $default-background; } .msp-btn-row-group { display:flex; flex-direction:row; height: $row-height; margin-top: 1px; width: 100%; background: $default-background; > button { margin: 0; flex: 1 1 auto; margin-right: 1px; height: $row-height; } > button:last-child { margin-right: 0; } > button.msp-control-button-label { background: $default-background; } } .msp-select-row { display:flex; flex-direction:row; height: $row-height; width: inherit; background: $default-background; > select, > button { margin: 0; flex: 1 1 auto; margin-right: 1px; height: $row-height; text-align-last: center; padding: 0 $control-spacing; overflow: hidden; } > select { background: none; > option[value = _] { display: none; } } > select:last-child, > button:last-child { margin-right: 0; } } .msp-flex-row { display:flex; flex-direction:row; width: inherit; > .msp-flex-item { margin: 0; flex: 1 1 auto; margin-right: 1px; overflow: hidden; } > .msp-flex-item:last-child { margin-right: 0; } } .msp-state-list { list-style: none; margin-top: $control-spacing; > li { position: relative; overflow: hidden; > button:first-child { border-left: $control-spacing solid color-increase-contrast($default-background, 12%) !important; } > div { position: absolute; right: 0; top: 0; } } button { margin-bottom: 1px; text-align: left; } } .msp-tree-row { position: relative; height: $row-height; line-height: $row-height; background: color-lower-contrast($control-background, 4%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 1px; padding-left: $row-height; padding-right: 2 * $row-height + $control-spacing; border-left: 1px solid $entity-color-Group; // TODO custom color // border-bottom-left-radius: $control-spacing; &-current { // background: $control-background; .msp-btn-tree-label { > span { font-weight: bold; } } .msp-btn-tree-label:hover { color: $font-color; } } .msp-btn-tree-label { display: block; overflow: hidden; border: none; padding: 0; width: 100%; text-align: left; } .msp-btn-tree-label > small { color: $font-color; } } .msp-tree-remove-button { position: absolute; right: $row-height; top: 0; width: $row-height; font-size: 80%; color: color-lower-contrast($font-color, 24%); } .msp-tree-toggle-exp-button { position: absolute; left: 0; top: 0; width: $row-height; padding: 0; color: color-lower-contrast($font-color, 24%); } .msp-tree-visibility { position: absolute; right: 0; top: 0; width: $row-height; font-size: 80%; &-hidden { color: color-lower-contrast($font-color, 36%); } } .msp-tree-children { margin-left: $control-spacing; } .msp-log-list { list-style: none; > li { background: $msp-form-control-background; margin-bottom: 1px; padding: 3px 6px; } } .msp-viewport-top-left-controls { position: absolute; left: $control-spacing; top: $control-spacing; .msp-traj-controls { line-height: $row-height; float: left; margin-right: $control-spacing; background-color: $msp-form-control-background; > span { color: $font-color; margin-left: $control-spacing; margin-right: $control-spacing; font-size: 85%; display: inline-block; } } .msp-state-snapshot-viewport-controls { line-height: $row-height; float: left; margin-right: $control-spacing; > button { background-color: $msp-form-control-background; } > select { display: inline-block; width: 200px; margin-right: $control-spacing; } } .msp-animation-viewport-controls { line-height: $row-height; float: left; margin-right: $control-spacing; position: relative; // background: $default-background; > div:first-child { position: relative; display: inline-block; > button { position: relative; } } .msp-animation-viewport-controls-select { width: 290px; position: absolute; left: 0; margin-top: $control-spacing; background: $control-background; .msp-control-row:first-child { margin-top: 0; } } } } .msp-param-object-list-item { margin-top: 1px; position: relative; > button { text-align: left; > span { font-weight: bold; } } > div { position: absolute; right: 0; top: 0 } } .msp-state-actions { .msp-transform-wrapper:last-child { margin-bottom: 10px; } } .msp-button-row { display:flex; flex-direction:row; height: $row-height; width: inherit; > button { margin: 0; flex: 1 1 auto; margin-right: 1px; height: $row-height; text-align-last: center; background: none; padding: 0 $control-spacing; overflow: hidden; } } .msp-action-menu-options { .msp-control-row, button, .msp-icon { height: 24px; line-height: 24px; } button { text-align: left; } .msp-action-menu-button { margin-top: 1px; display: flex; .msp-icon { font-size: 80%; margin-right: 6px; } } } .msp-representation-entry { position: relative; > .msp-control-group-header { > .msp-btn { border-left: 1px solid $entity-color-Group; font-weight: bold; } > .msp-icon, > .msp-btn-link { line-height: 24px; height: 24px; } } }