editor.scss 628 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. @mixin ck-editor-toolbar {
  4. .ck-button {
  5. // Make sure the next button does not overlap focused one.
  6. &:focus {
  7. z-index: ck-z();
  8. }
  9. // Tooltip tweaks:
  10. // 1. Don't display tooltips for disabled buttons in the toolbar,
  11. // they're unavailable anyway.
  12. // 2. Don't display tooltips for buttons with text; text explains
  13. // the button anyway.
  14. &.ck-button_with-text:not(.ck-dropdown__button),
  15. &.ck-disabled {
  16. @include ck-tooltip_disabled();
  17. }
  18. }
  19. }