htmlembed.css 857 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. /* The feature container. */
  6. .ck-widget.raw-html-embed {
  7. /* Give the embed some air. */
  8. margin: 1em auto;
  9. position: relative;
  10. clear: both;
  11. /* ----- Emebed label in the upper left corner ----------------------------------------------- */
  12. &::before {
  13. position: absolute;
  14. /* Make sure the content does not cover the label. */
  15. z-index: 1;
  16. }
  17. /* ----- Emebed internals --------------------------------------------------------------------- */
  18. /* The switch mode button wrapper. */
  19. & .raw-html-embed__buttons-wrapper {
  20. position: absolute;
  21. display: flex;
  22. flex-direction: column;
  23. }
  24. }
  25. .ck-content .raw-html-embed {
  26. /* Give the embed some air. */
  27. margin: 1em auto;
  28. }