| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
- */
- /* The feature container. */
- .ck-widget.raw-html-embed {
- /* Give the embed some air. */
- margin: 1em auto;
- position: relative;
- /* The switch mode button wrapper. */
- & .raw-html-embed__buttons-wrapper {
- position: absolute;
- display: flex;
- flex-direction: column;
- }
- /* Using the feature with enabled previews in data. */
- &.raw-html-embed_preview_enabled {
- &.raw-html-embed_preview_visible {
- & .raw-html-embed__source {
- display: none;
- }
- & .raw-html-embed__preview {
- display: block;
- }
- }
- /* Mode: edit the HTML source. */
- &:not(.raw-html-embed_preview_visible) .raw-html-embed__preview {
- display: none;
- }
- }
- }
- .ck-content .raw-html-embed {
- /* Give the embed some air. */
- margin: 1em auto;
- }
|