@import "../../css/colors.css"; @import "../../css/units.css"; .editor-container { display: flex; flex-direction: column; padding: calc(3 * $grid-unit); } .row { display: flex; flex-direction: row; align-items: center; } .editor-container-top { border-bottom: 1px dashed $ui-pane-border; padding-bottom: calc(2 * $grid-unit); } .top-align-row { display: flex; padding-top: calc(5 * $grid-unit); flex-direction: row; } .row + .row { margin-top: calc(2 * $grid-unit); } .mod-dashed-border { border-right: 1px dashed $ui-pane-border; padding-right: calc(2 * $grid-unit); } .mod-unselect { user-select: none; } .mod-labeled-icon-height { height: 2.85rem; /* for the second row so the dashed borders are equal in size */ } $border-radius: 0.25rem; .button-group-button { display: inline-block; border: 1px solid $ui-pane-border; border-radius: 0; border-left: none; padding: .35rem; } .button-group-button:last-of-type { border-top-right-radius: $border-radius; border-bottom-right-radius: $border-radius; } .button-group-button:first-of-type { border-left: 1px solid $ui-pane-border; border-top-left-radius: $border-radius; border-bottom-left-radius: $border-radius; } .button-group-button.mod-left-border { border-left: 1px solid $ui-pane-border; } .button-group-button.mod-no-right-border { border-right: none; } .button-group-button-icon { width: 1.25rem; height: 1.25rem; vertical-align: middle; } .mod-context-menu { display: flex; flex-direction: column; } .mod-top-divider { border-top: 1px solid $ui-pane-border; } .mod-menu-item { display: flex; margin: 0 -$grid-unit; min-width: 6.25rem; padding: calc(3 * $grid-unit); white-space: nowrap; cursor: pointer; transition: 0.1s ease; align-items: center; font-family: "Helvetica Neue", Helvetica, sans-serif; } .mod-disabled { cursor: auto; } .mod-menu-item:hover { background: $motion-transparent; } .mod-disabled:hover { background-color: transparent; } .menu-item-icon { margin-right: calc(2 * $grid-unit); } .mod-mode-tools { margin-left: calc(2 * $grid-unit); } .canvas-container { width: 480px; height: 360px; box-sizing: content-box; border: 1px solid #e8edf1; border-radius: .25rem; position: relative; overflow: visible; } .mode-selector { display: flex; margin-right: calc(2 * $grid-unit); max-width: 6rem; flex-direction: row; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; justify-content: space-between; } .zoom-controls { display: flex; flex-direction: row-reverse; } @media only screen and (max-width: $full-size-paint) { .editor-container { padding: calc(3 * $grid-unit) $grid-unit; } .mode-selector { margin-right: $grid-unit; flex-direction: column; justify-content: flex-start; } }