8
0

editor.scss 900 B

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