/* * 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 { /* Give the embed some air. */ margin: 1em auto; position: relative; /* The switch mode button wrapper. */ & .raw-html__mode-toggle-wrapper { position: absolute; } /* Using the feature with enabled previews in data. */ &.raw-html_preview_enabled { &.raw-html_preview_visible { & .raw-html__source { display: none; } & .raw-html__preview { display: block; } } /* Mode: edit the HTML source. */ &:not(.raw-html_preview_visible) .raw-html__preview { display: none; } } } .ck-content .raw-html-embed { /* Give the embed some air. */ margin: 1em auto; }