2018-02-08 05:30:55 +01:00
|
|
|
.d-editor-container {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-overlay {
|
|
|
|
position: absolute;
|
|
|
|
background-color: black;
|
|
|
|
opacity: 0.8;
|
|
|
|
z-index: z("modal","overlay");
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-modals {
|
|
|
|
position: absolute;
|
|
|
|
z-index: z("modal","content");
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor .d-editor-modal {
|
|
|
|
min-width: 400px;
|
|
|
|
position: absolute;
|
2020-08-19 06:41:20 +02:00
|
|
|
background-color: var(--secondary);
|
|
|
|
border: 1px solid var(--primary);
|
2018-02-08 05:30:55 +01:00
|
|
|
padding: 1em;
|
|
|
|
top: 25px;
|
|
|
|
|
2018-02-10 08:04:31 +01:00
|
|
|
@media screen and (max-width: 424px) {
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
|
|
|
|
2018-02-08 05:30:55 +01:00
|
|
|
input {
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-02 02:33:01 +02:00
|
|
|
.wizard-field-composer .wmd-controls {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2020-09-21 07:36:11 +02:00
|
|
|
.wizard-field-composer.show-preview .d-editor-textarea-wrapper {
|
2019-11-20 13:08:04 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-09-21 07:36:11 +02:00
|
|
|
.custom-wizard .wizard-field-composer .toggle-preview {
|
2019-11-20 13:08:04 +01:00
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
2018-02-08 05:30:55 +01:00
|
|
|
.d-editor-textarea-wrapper,
|
|
|
|
.d-editor-preview-wrapper {
|
2020-08-19 06:41:20 +02:00
|
|
|
background-color: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-medium);
|
2018-02-08 05:30:55 +01:00
|
|
|
flex: 1;
|
2020-10-02 02:33:01 +02:00
|
|
|
max-width: unset;
|
2018-02-08 05:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-textarea-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-10-05 03:32:14 +02:00
|
|
|
margin-left: 0;
|
2018-02-08 05:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-button-bar {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: none;
|
|
|
|
min-height: 30px;
|
|
|
|
padding-left: 3px;
|
2020-08-19 05:14:28 +02:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2018-02-08 05:30:55 +01:00
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: transparent;
|
2020-08-19 06:41:20 +02:00
|
|
|
color: var(--primary);
|
2018-02-08 05:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn:not(.no-text) {
|
|
|
|
font-size: 1.1487em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.bold {
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-spacer {
|
|
|
|
width: 1px;
|
|
|
|
height: 20px;
|
|
|
|
margin: 0 5px;
|
2020-08-19 06:41:20 +02:00
|
|
|
background-color: var(--primary);
|
2018-02-08 05:30:55 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-preview-wrapper {
|
|
|
|
overflow: auto;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-input,
|
|
|
|
.d-editor-preview {
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 1 1 100%;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
min-height: auto;
|
|
|
|
word-wrap: break-word;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
border-radius: 0;
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-input {
|
|
|
|
border: 0;
|
|
|
|
padding: 10px;
|
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-preview {
|
|
|
|
height: auto;
|
2019-11-20 13:08:04 +01:00
|
|
|
padding: 10px;
|
2018-02-08 05:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-plugin {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composing-whisper .d-editor-preview {
|
|
|
|
font-style: italic;
|
2020-08-19 06:41:20 +02:00
|
|
|
color: var(--primary) !important;
|
2018-02-08 05:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-preview > *:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide-preview .d-editor-preview-wrapper {
|
|
|
|
display: none;
|
|
|
|
flex: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
////
|
|
|
|
|
|
|
|
.d-editor {
|
2019-06-03 10:18:31 +02:00
|
|
|
min-height: 200px;
|
|
|
|
|
|
|
|
.d-editor-input {
|
|
|
|
resize: vertical;
|
|
|
|
flex: initial;
|
|
|
|
}
|
2019-11-20 13:08:04 +01:00
|
|
|
|
|
|
|
textarea {
|
|
|
|
min-height: calc(200px - 32px);
|
|
|
|
}
|
2018-02-08 05:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-modal.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-button-bar .btn {
|
|
|
|
border: none;
|
2020-10-02 02:33:01 +02:00
|
|
|
font-size: 0.9em;
|
2018-02-08 05:30:55 +01:00
|
|
|
}
|
2020-10-01 07:43:29 +02:00
|
|
|
|
|
|
|
.wizard-composer-upload {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-10-01 15:48:20 +02:00
|
|
|
|
2020-10-02 02:33:01 +02:00
|
|
|
.wizard-composer-hyperlink {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba($primary, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-composer-hyperlink-contents {
|
|
|
|
background-color: $secondary;
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-link-url,
|
|
|
|
.composer-link-name {
|
|
|
|
display: block;
|
|
|
|
min-width: 450px;
|
|
|
|
}
|
2020-10-01 15:48:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hide-hyperlink-box, .add-link {
|
|
|
|
display: inline;
|
|
|
|
}
|
2020-10-02 02:33:01 +02:00
|
|
|
|
|
|
|
#file-uploading {
|
|
|
|
position: absolute;
|
|
|
|
bottom: -40px;
|
|
|
|
right: 0;
|
|
|
|
}
|