@import "../css/colors.css"; @import "../css/units.css"; .editor-container { display: flex; flex-direction: column; padding: calc(2 * $space); } .row { display: flex; flex-direction: row; align-items: center; } .top-align-row { padding-top:20px; display: flex; flex-direction: row; } .row + .row { margin-top: calc(2 * $space); } .input-group + .input-group { margin-left: calc(2 * $space); } $border-radius: 0.25rem; .button { height: 2rem; padding: 0.25rem; outline: none; background: white; border-radius: $border-radius; border: 1px solid #ddd; cursor: pointer; font-size: 0.85rem; transition: 0.2s; } .button > img { flex-grow: 1; max-width: 100%; max-height: 100%; min-width: 1.5rem; } .button-group { margin: 0 1rem; } .button-group .button { border-radius: 0; border-left: none; } .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 #ddd; border-top-left-radius: $border-radius; border-bottom-left-radius: $border-radius; } .button:disabled > img { opacity: 0.25; } .canvas-container { width: 503px; height: 403px; background-color: #e8edf1; border: 1px solid #e8edf1; border-radius: 2px; position: relative; overflow: visible; } .mode-selector { display: flex; flex-direction: column; }