/** * Copyright JS Foundation and other contributors, http://js.foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. **/ .red-ui-clipboard-import-error { pre { margin: 10px 0; border: none; color: var(--red-ui-primary-text-color); span { padding: 5px 0; } span.error { padding: 5px; border: 1px solid var(--red-ui-form-input-border-error-color); margin: 0 1px; } } } #red-ui-clipboard-dialog-export-tab-clipboard-preview { .red-ui-treeList-container,.red-ui-editableList-border { border: none; border-radius: 0; } } #red-ui-clipboard-dialog-export-tab-clipboard-json { padding: 10px 10px 0; } #red-ui-clipboard-dialog-import-tab-clipboard { padding: 10px; } .red-ui-clipboard-dialog-export-tab-clipboard-tab { position: absolute; top: 40px; right: 0; left: 0; bottom: 0; } .red-ui-clipboard-dialog-tab-clipboard { textarea { color: var(--red-ui-secondary-text-color-active) !important; resize: none; width: 100%; border-radius: 4px; font-family: var(--red-ui-monospace-font !important); font-size: 13px !important; height: 100%; line-height: 1.3em; padding: 6px 10px; background: var(--red-ui-clipboard-textarea-background); } } .red-ui-clipboard-dialog-tabs { position: absolute; top:0; left:0; bottom:0; width:120px; } .red-ui-clipboard-dialog-tabs-content { position: absolute; top: 0; left: 120px; right: 0; bottom: 0; padding: 0; background: var(--red-ui-form-input-background); &>div { height: 100%; box-sizing: border-box; } } .red-ui-clipboard-dialog-box { height: 400px; position:relative; border:1px solid var(--red-ui-primary-border-color); } #red-ui-clipboard-dialog-export-tab-library-filename { height: auto !important; margin-left: 10px; } #red-ui-clipboard-dialog { form { margin-bottom: 0; } .form-row:last-child { margin-bottom: 0; } } #red-ui-clipboard-dialog-tab-library-name { width: calc(100% - 120px); } .red-ui-clipboard-dialog-tabs-content>div.red-ui-clipboard-dialog-export-tab-library-browser { height: calc(100% - 60px); margin-bottom: 13px; border-bottom: 1px solid var(--red-ui-primary-border-color); box-sizing: border-box; } #red-ui-clipboard-dialog-import-tab-library-browser { height: 100%; box-sizing: border-box; } .red-ui-library-browser { position: relative; height: 100%; .red-ui-treeList-container { background: var(--red-ui-secondary-background); border: none; border-radius: 0; li { background: none; } label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } .red-ui-editableList-border { border-radius: 0; } .red-ui-treeList-label input.red-ui-treeList-input { border-radius: 2px; margin-top: -6px; margin-bottom: -6px; } } #red-ui-library-dialog-save-browser { height: calc(100% - 60px); border: 1px solid var(--red-ui-primary-border-color); margin-bottom: 10px; } #red-ui-library-dialog-load-browser { // border: 1px solid var(--red-ui-primary-border-color); } #red-ui-library-dialog-load-panes { border: 1px solid var(--red-ui-primary-border-color); } #red-ui-library-dialog-load-preview { height: 100%; } #red-ui-library-dialog-load-preview-text { box-sizing: border-box; } #red-ui-library-dialog-load-preview-details { box-sizing: border-box; .red-ui-help-info-row:first-child { border-top: none; } } .red-ui-clipboard-dialog-import-conflicts-list-container { min-height: 300px; position: relative; li:not(:first-child) .red-ui-clipboard-dialog-import-conflicts-item-header { // border-top: 1px solid var(--red-ui-secondary-border-color); } } .red-ui-clipboard-dialog-import-conflicts-item-header { background: var(--red-ui-tertiary-background); & > span:first-child { color: var(--red-ui-header-text-color); padding-left: 4px; font-size: 12px; } } .red-ui-clipboard-dialog-import-conflicts-controls { position: absolute; top:0; bottom: 0; right: 0px; text-align: center; color: var(--red-ui-form-text-color); .form-row & label { padding: 2px 0; line-height: 23px; margin-bottom: 0; width: 80px; display: inline-block; position: relative; height: 100%; width: 80px; text-align: center; border-left: 1px solid var(--red-ui-secondary-border-color); } input[type="checkbox"] { display: inline-block; width: auto; margin: 0; } } #red-ui-clipboard-dialog-import-conflicts-list .disabled .red-ui-info-outline-item { opacity: 0.4; } .form-row label.red-ui-clipboard-dialog-import-conflicts-gutter { box-sizing: border-box; width: 22px; text-align: center; .red-ui-editor-dialog & input[type="checkbox"] { width: auto; padding: 0; margin: 0; } } #red-ui-settings-tab-library-manager { box-sizing: border-box; padding: 10px; position: relative; height: 100%; li { padding: 0; } } .red-ui-settings-tab-library-entry { display: flex; flex-direction: row; span:not(:nth-child(2)) { @include disable-selection; } span { padding: 8px 0; } span:first-child { display: inline-block; width: 20px; padding-right: 8px; text-align: center; flex-grow: 0; } span:nth-child(2) { flex-grow: 1; } span:nth-child(3), span:nth-child(4) { flex-grow: 0; padding-right: 5px; color: var(--red-ui-secondary-text-color); font-size: 0.9em; } }