2015-09-28 13:01:16 -05:00
|
|
|
.d-editor-container {
|
2017-11-08 03:39:26 -06:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2015-09-28 13:01:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-overlay {
|
|
|
|
position: absolute;
|
|
|
|
background-color: black;
|
|
|
|
opacity: 0.8;
|
2015-11-06 14:45:04 -06:00
|
|
|
z-index: 1000;
|
2015-09-28 13:01:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-modals {
|
|
|
|
position: absolute;
|
2015-11-06 14:45:04 -06:00
|
|
|
z-index: 1001;
|
2015-09-28 13:01:16 -05:00
|
|
|
}
|
|
|
|
|
2017-11-08 03:39:26 -06:00
|
|
|
.d-editor {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
2015-09-28 13:01:16 -05:00
|
|
|
.d-editor .d-editor-modal {
|
|
|
|
min-width: 400px;
|
|
|
|
position: absolute;
|
|
|
|
background-color: $secondary;
|
2017-06-11 21:20:14 -05:00
|
|
|
border: 1px solid $primary-low;
|
2015-09-28 13:01:16 -05:00
|
|
|
padding: 1em;
|
2016-04-08 15:13:29 -05:00
|
|
|
top: 25px;
|
2015-09-28 13:01:16 -05:00
|
|
|
|
|
|
|
input {
|
|
|
|
width: 98%;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-08 03:39:26 -06:00
|
|
|
.d-editor-textarea-wrapper,
|
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-textarea-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background-color: $secondary;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
margin-left: 5px;
|
|
|
|
max-width: 50%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background: $secondary;
|
|
|
|
}
|
|
|
|
|
2015-09-28 13:01:16 -05:00
|
|
|
.d-editor-button-bar {
|
2017-11-08 03:39:26 -06:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 2px solid $primary-low;
|
|
|
|
min-height: 30px;
|
2015-09-28 13:01:16 -05:00
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: transparent;
|
2017-11-08 03:39:26 -06:00
|
|
|
color: $primary-medium;
|
2016-08-12 18:43:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn:not(.no-text) {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.bold {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2015-09-28 13:01:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-spacer {
|
|
|
|
width: 1px;
|
|
|
|
height: 20px;
|
2017-11-08 03:39:26 -06:00
|
|
|
margin: 0 5px;
|
2017-06-11 21:20:14 -05:00
|
|
|
background-color: $primary-low;
|
2015-09-28 13:01:16 -05:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-11-08 03:39:26 -06:00
|
|
|
.d-editor-input,
|
|
|
|
.d-editor-preview {
|
|
|
|
box-shadow: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
min-height: auto;
|
|
|
|
width: 100%;
|
|
|
|
word-wrap: break-word;
|
|
|
|
flex-grow: 1;
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
2015-09-28 13:01:16 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-08 03:39:26 -06:00
|
|
|
.d-editor-plugin {
|
|
|
|
display: flex;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-input {
|
|
|
|
border: 0;
|
|
|
|
padding: 7px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2015-09-28 13:01:16 -05:00
|
|
|
.d-editor-preview {
|
2017-06-11 21:20:14 -05:00
|
|
|
border: 1px dashed $primary-low;
|
2015-09-28 13:01:16 -05:00
|
|
|
overflow: auto;
|
|
|
|
cursor: default;
|
2017-11-08 03:39:26 -06:00
|
|
|
background-color: $secondary;
|
|
|
|
padding: 7px;
|
2016-10-17 15:53:07 -05:00
|
|
|
}
|
2017-11-08 03:39:26 -06:00
|
|
|
|
|
|
|
.composing-whisper .d-editor-preview {
|
|
|
|
font-style: italic;
|
|
|
|
color: $primary-medium !important;
|
2015-09-28 13:01:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-preview > *:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2017-11-08 03:39:26 -06:00
|
|
|
|
|
|
|
.hide-preview .d-editor-preview-wrapper {
|
|
|
|
display: none;
|
|
|
|
flex: 0;
|
|
|
|
}
|
2017-11-10 10:52:08 -06:00
|
|
|
|
|
|
|
.user-preferences .bio-composer,
|
|
|
|
.edit-category-tab-topic-template {
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.d-editor-container {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.d-editor-textarea-wrapper {
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
}
|
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
.d-editor-preview {
|
|
|
|
background-color: dark-light-diff($primary, $secondary, 97%, -70%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-preferences .bio-composer {
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
}
|