restrictedediting.css 1.1 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. /*
  6. * !! IMPORTANT & TODO !!
  7. *
  8. * This file contains all kinds of style and some of them should land in theme-lark before going to prod.
  9. * For now, let's keep them here to avoid additional branch and PR.
  10. */
  11. :root {
  12. --ck-restricted-editing-color-exception-background: hsla(31, 100%, 65%, .3);
  13. --ck-restricted-editing-color-exception-brackets: hsla(31, 100%, 40%, .4);
  14. }
  15. .ck-editor__editable .ck-restricted-editing-exception {
  16. background-color: var(--ck-restricted-editing-color-exception-background);
  17. border: 1px solid;
  18. border-image: linear-gradient(
  19. to right,
  20. var(--ck-restricted-editing-color-exception-brackets) 0%,
  21. var(--ck-restricted-editing-color-exception-brackets) 5px,
  22. hsla(0, 0%, 0%, 0) 6px,
  23. hsla(0, 0%, 0%, 0) calc(100% - 6px),
  24. var(--ck-restricted-editing-color-exception-brackets) calc(100% - 5px),
  25. var(--ck-restricted-editing-color-exception-brackets) 100%
  26. ) 1;
  27. }