extras.scss 742 B

123456789101112131415161718192021
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. // Allow using Lark's ck-box-shadow() mixin.
  4. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_shadow.scss';
  5. // Allow using colors defined in Lark and the ck-color() mixin.
  6. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_colors.scss';
  7. // The shadow should be 10% brighter than the toolbar background.
  8. $shadow-color: ck-color( 'editor-toolbar-background', 10 );
  9. .ck-editor-toolbar {
  10. .ck-button.ck-dropdown__button {
  11. // Apply a dedicated inner box-shadow to the dropdown button.
  12. @include ck-box-shadow(
  13. 0 0 0 1px $shadow-color inset,
  14. 0 0 5px $shadow-color inset
  15. );
  16. }
  17. }