// Font Awesome $fa-font-path: '~font-awesome/fonts'; @import '~font-awesome/scss/font-awesome'; @import '~substance/substance.css'; @import './elements/elements'; @import './panes/panes'; @import './miniEditor/miniEditor'; // grays $border: #ccc; $dark-gray: #999; $light-gray: #ddd; $primary: #eee; $ultra-light-gray: #fafafa; $black: #000; $shadow: rgba(0, 0, 0, .05); $teal: #46b9ba; $toolbar-active-bg: rgba(204, 204, 204, .75); $transparent-black: rgba(0, 0, 0, .75); $white: #fff; // track changes $inactive-grey: #404040; $active-blue: #4a90e2; .editor-wrapper { height: 90vh; position: relative; // move to a new file toolbar.scss ?? .view-mode { font-size: 14px; position: absolute; right: 0; text-align: center; top: 10px; width: 20%; z-index: 9999; } .track-changes-mode { div.se-content { line-height: 38px; } .sc-prose-editor-overlay-tools .se-active-tools .sc-comment-icon { top: 0; } .sc-comment-pane-list li .comment-list .single-comment-row { padding: 3px 12px; } .sc-overlay .se-active-tools .sc-overlay-bubble .sc-comment-icon { top: 0; } } } .sc-prose-editor { bottom: 0; left: 0; position: absolute; right: 0; top: 0; .se-toolbar-wrapper .sc-toolbar { background-color: $primary; border: 1px solid $border; border-right: 0; float: left; max-width: 1920px; padding-left: 0; vertical-align: middle; width: 100%; @-moz-document url-prefix() { .sc-tool-group > .sc-switch-text-type { margin: 0; position: relative; top: 8px; } } .sm-target-text { // bottom: 5px; height: 100%; padding: 0; position: relative; .sc-switch-text-type { bottom: 5px; margin-left: 1px; width: 150px; button { color: $transparent-black; height: inherit; position: relative; top: 5px; } .se-toggle { background: transparent; border: 0; font-family: 'Fira Sans'; font-size: 14px; outline: none; } .se-options { background: transparent; border: 0; box-shadow: none; top: 27px; } .se-option { background-color: #E8E8E8; border: 0; font-family: 'Fira Sans'; } } } // end dropdown .sm-target-track-change-enable { button { background-color: $inactive-grey; border-radius: 0; color: $white; line-height: 0; // cursor: pointer; padding: 0 19px; position: relative; } button::after { content: 'Record Changes'; } .track-changes-active { background-color: $active-blue; color: $white; padding: 0 10px; &:after { content: 'Recording Changes'; } } } .sm-target-track-change-toggle-view { cursor: pointer; button { background-color: $inactive-grey; border-radius: 0; color: $white; cursor: pointer; padding: 0 19px; position: relative; line-height: 0; } button::after { content: 'Changes View Off'; } .track-changes-view-active { background-color: #228b46; color: $white; padding: 0 19px } .track-changes-view-active::after { content: 'Changes View On'; } } .sm-target-document { border-left: 1px solid $border; } .sm-target-track-change-enable { padding: 0 9px; } .sm-target-document, .sm-target-annotations, .sm-target-insert, .sm-target-default { border-right: 1px solid $border; padding: 0px 9px; .sc-button { background: transparent; border: 0; border-radius: 0; font-size: 14px; outline: none; padding: 0 12px; &:hover { background: $toolbar-active-bg; &:disabled { background: transparent; } } } .sm-active { background: $toolbar-active-bg; color: $black; margin: 0; outline: none; padding: 0; &:after { bottom: 8px; color: $black; content: 'x'; font-size: 8px; left: 21px; position: absolute; } } } } // End sc-toolbar .se-scrollable { background-color: $primary; border-right: 1px solid $light-gray; margin-top: 1px; .sidenav .sc-toolbar ul li.se-option.active { background-color: #d8d8d8; } .sidenav { background-color: #e8e8e8; // box-shadow: 0 0 12px $dark-gray; box-shadow: 2px 0px 1px -1px #ccc; height: 100%; left: 0; margin-top: 149px; overflow-x: hidden; position: fixed; top: 0; width: 128px; z-index: 1; .sc-toolbar { background: transparent; border: 0; ul { margin: 0; padding: 0; li.se-option { padding: 3px; } } .sc-switch-text-type { bottom: 0px; margin: 0; padding: 0; width: 140px; } } } } div.se-content { background-color: $white; box-shadow: 0 0 8px $dark-gray; color: $transparent-black; font-family: 'Fira Sans'; margin: 1.5% 17.8% 7%; min-height: 100vh; padding: 3% 4% 1%; transition: .3s; word-wrap: break-word; ::selection { background: $light-gray; } ::-moz-selection { background: $light-gray; } .se-selection-fragment { background: none; } .sc-split-pane { position: relative; } .sc-surface { outline: none; } .sc-overlay { .se-active-tools { background: transparent; border: 0; border-radius: 0; padding: 0; } } .sc-overlay.sm-theme-dark::before { border-style: none; border-width: 0; } .sc-list-ul { list-style-type: disc; padding-left: 19px; } .sc-list-ol { list-style-type: decimal; padding-left: 19px; } } // end sc-content .sc-has-comments { div.se-content { margin: 1.5% 23.6% 5% 12%; transition: .3s; } } .se-context-section { background-color: $ultra-light-gray; border-left: 1px solid $light-gray; box-shadow: inset 0 0 10px $shadow; } .sc-comments-pane { display: flex; flex-direction: column; flex-wrap: wrap; margin-left: 8%; } }