@import 'ui-variables'; @import 'ui-mixins'; @code-bg-color: #fcf4db; .template-picker { .content-container { height: 150px; width: 210px; overflow-y: scroll; } .footer-container { border-top: 1px solid @border-color-secondary; } } .template-status-bar { background-color: @code-bg-color; color: darken(@code-bg-color, 70%); border: 1.5px solid darken(@code-bg-color, 10%); border-radius: @border-radius-small; padding-top: @padding-small-vertical @padding-small-horizontal @padding-small-vertical @padding-small-horizontal; font-size: @font-size-small; margin-bottom: 10px; } .compose-body, .container-templates .contenteditable { code.var { font: inherit; padding: 0; padding-left: 2px; padding-right: 2px; border-bottom: 1.5px solid darken(@code-bg-color, 10%); background-color: @code-bg-color; &.empty { color: darken(@code-bg-color, 50%); } } } .container-templates { max-width: 800px; margin: 0 auto; .no-templates-message { text-align: center; margin-top: 50px; } .template-wrap { position: relative; border: 1px solid @input-border-color; background-color: @white; padding: 10px; margin-top: 20px; min-height: 200px; display: flex; .contenteditable-container { min-height: 200px; } textarea { border: 0; padding: 0; flex: 1; font-family: monospace; font-size: 0.9em; } } .section-title { display: inline-flex; width: 100%; flex-wrap: wrap; align-items: center; span { line-height: 1.7; } select { flex-basis: 100px; flex-grow: 1; margin: 0 0 0 8px; } input { flex-grow: 1; margin: 0 0 0 8px; } } .section-body { padding: 10px 0 0 0; .menu { border: solid thin #ccc; margin-right: 5px; min-height: 200px; .menu-items { margin: 0; padding: 0; list-style: none; li { padding: 6px; } } } .menu-horizontal { height: 100%; .menu-items { height: 100%; margin: 0; padding: 0; list-style: none; li { text-align: center; width: 40px; display: inline-block; padding: 8px 16px 8px 16px; border-right: solid thin #ccc; } } } .template-area { border: solid thin #ccc; min-height: 200px; } .menu-footer { border: solid thin #ccc; overflow: auto; } .template-footer { border: solid thin #ccc; overflow: auto; .edit-html-button { float: right; margin: 6px; } } } .template-name-btn { float: right; margin: 0 6px; } .template-name-input { display: inline-block; width: 100px; } .editor-note { color: #aaa; font-size: small; margin-top: 5px; } .templates-instructions { color: #333; font-size: small; margin-top: 20px; } }