editor.scss 600 B

12345678910111213141516171819202122232425262728
  1. // Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. @mixin 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. }