extras.css 592 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /* Allow using Lark's ck-box-shadow() mixin. */
  6. @import '@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css';
  7. /* The shadow should be 10% brighter than the toolbar background. */
  8. :root {
  9. --ck-shadow-color: hsl(280, 2%, 39%);
  10. }
  11. .ck-editor-toolbar {
  12. & .ck-button.ck-dropdown__button {
  13. /* Apply a dedicated inner box-shadow to the dropdown button. */
  14. @mixin ck-box-shadow
  15. 0 0 0 1px var(--ck-shadow-color) inset,
  16. 0 0 5px var(--ck-shadow-color) inset;
  17. }
  18. }