// scss-lint:disable ImportantRule @import "constants"; @font-face { font-family: "tinymce"; src: asset-url("tinymce/skins/lightgray/fonts/tinymce.woff"); } .tinymce-view { border: solid 1px; border-color: $color-white; border-radius: 3px; float: left; padding: 3px; width: 100%; &:hover { border-color: $color-gainsboro; cursor: pointer; } &:empty::before { color: $color-silver-chalice; content: attr(data-placeholder); } } .mce-tinymce { opacity: 0; position: absolute !important; &.show { opacity: 1; position: static !important; } } .mce-container-body { position: relative !important; } .tinymce-placeholder { background: $color-concrete; opacity: .7; transition: .2s; width: 100%; } .tinymce-save-button, .tinymce-cancel-button { cursor: pointer; .fas { font-family: "Font Awesome 5 Free"; font-weight: 900; margin-top: 3px; } } .tinymce-status-badge { color: $color-silver-chalice; margin-top: -20px; } .tinymce-placeholder-text { color: $color-silver-chalice; } .mce-toolbar { background: $color-white !important; } .restore-draft-notification { align-items: center; background: $state-info-bg !important; display: flex; height: 30px !important; padding: 0 10px !important; .notification-text { flex-grow: 1; max-width: 75%; overflow: hidden; text-overflow: ellipsis; } .restore-draft-btn { border: 1px solid $color-silver-chalice; cursor: pointer; font-size: 12px; margin-left: auto; padding: 3px 10px 3px 10px; } .fas { color: $color-silver-chalice; cursor: pointer; font-family: 'Font Awesome 5 Free'; font-weight: 501; margin-left: 10px; } } .mce-stack-layout { .tinymce-active-object-handler { border-top: 1px solid rgb(226, 228, 231); height: 33px; width: 100%; .tool-button { border: 1px solid transparent; cursor: pointer; display: inline-block; line-height: 27px; margin: 2px; text-align: center; width: 30px; &:hover { border: 1px solid rgb(226, 228, 231); } } } } .mce-i-download::before { content: "\F019"; font-family: "Font Awesome 5 Free"; font-weight: 900; line-height: 16px; position: absolute; } .mce-i-pencil::before { content: "\F303"; font-family: "Font Awesome 5 Free"; font-weight: 900; line-height: 16px; position: absolute; } .mce-floatpanel[aria-label="Inline toolbar"] { border: 0; box-shadow: 0; height: 0 !important; opacity: 1; z-index: 10 !important; &::before, &::after { display: none; } .mce-container-body.mce-abs-layout { background: $brand-primary; position: relative; top: -10px; .mce-container, .mce-widget { background: transparent !important; } .mce-btn:hover { border-color: transparent; } .mce-ico { color: $color-white; } } } .mce-window { .mce-abs-layout { overflow: visible !important; } .mce-error { padding-top: 15px; } .mce-primary[disabled=disabled] { pointer-events: none; button { background: $color-alto; color: $color-volcano; } } } // scss-lint:enable ImportantRule