| 123456789101112131415161718192021 |
- // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- // For licensing, see LICENSE.md or http://ckeditor.com/license
- @mixin ck-editor-toolbar {
- .ck-button {
- // Make sure the next button does not overlap focused one.
- &:focus {
- z-index: ck-z();
- }
- // Tooltip tweaks:
- // 1. Don't display tooltips for disabled buttons in the toolbar,
- // they're unavailable anyway.
- // 2. Don't display tooltips for buttons with text; text explains
- // the button anyway.
- &.ck-button_with-text:not(.ck-dropdown__button),
- &.ck-disabled {
- @include ck-tooltip_disabled();
- }
- }
- }
|