123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- @import 'wizard_variables';
- .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;
- background-color: $secondary;
- border: 1px solid $primary;
- padding: 1em;
- top: 25px;
- @media screen and (max-width: 424px) {
- min-width: 300px;
- }
- input {
- width: 95%;
- }
- h3 {
- margin-bottom: 0.5em;
- }
- }
- .d-editor-textarea-wrapper,
- .d-editor-preview-wrapper {
- background-color: $secondary;
- border: 1px solid #919191;
- flex: 1;
- }
- .d-editor-textarea-wrapper {
- display: flex;
- flex-direction: column;
- position: relative;
- textarea {
- background: transparent;
- }
- }
- .d-editor-preview-wrapper {
- display: flex;
- flex-direction: column;
- }
- .d-editor-button-bar {
- display: flex;
- align-items: center;
- border-bottom: none;
- min-height: 30px;
- padding-left: 3px;
- border-bottom: 1px solid #e9e9e9;
- button {
- background-color: transparent;
- color: $primary;
- }
- .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;
- background-color: $primary;
- 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;
- }
- .d-editor-plugin {
- display: flex;
- flex: 1 1;
- overflow: auto;
- }
- .composing-whisper .d-editor-preview {
- font-style: italic;
- color: $primary !important;
- }
- .d-editor-preview > *:first-child {
- margin-top: 0;
- }
- .hide-preview .d-editor-preview-wrapper {
- display: none;
- flex: 0;
- }
- ////
- .d-editor {
- max-height: 250px;
- }
- .d-editor-modal.hidden {
- display: none;
- }
- .d-editor-button-bar .btn {
- border: none;
- }
|