8
0

editor.scss 1023 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_button.scss';
  4. .ck-editor-toolbar {
  5. .ck-button {
  6. border-width: 0;
  7. &:not(:hover):not(:focus):not(.ck-on),
  8. &.ck-disabled {
  9. background: ck-color( 'editor-toolbar-background' );
  10. }
  11. &.ck-on {
  12. @include ck-button-colors( 'editor-toolbar-button-background', 'button-default-border', -10 );
  13. }
  14. }
  15. .ck-button.ck-dropdown__button {
  16. border-width: 1px;
  17. &:not(:hover):not(:focus):not(.ck-on) {
  18. background: ck-color( 'editor-dropdown-background' );
  19. }
  20. }
  21. .ck-toolbar-container & {
  22. background: ck-color( 'editor-toolbar-background' );
  23. }
  24. }
  25. .ck-editor-toolbar-container.ck-balloon-panel_arrow {
  26. &_n,
  27. &_ne,
  28. &_nw {
  29. &:after {
  30. border-bottom-color: ck-color( 'editor-toolbar-background' );
  31. }
  32. }
  33. &_s,
  34. &_se,
  35. &_sw {
  36. &:after {
  37. border-top-color: ck-color( 'editor-toolbar-background' );
  38. }
  39. }
  40. }