| 123456789101112131415161718192021222324252627282930 |
- // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- // For licensing, see LICENSE.md or http://ckeditor.com/license
- .ck-button,
- a.ck-button {
- display: inline-block;
- position: relative;
- @include ck-unselectable();
- @include ck-tooltip_enabled();
- &.ck-button_with-text {
- .ck-button__label {
- display: block;
- }
- }
- &:hover {
- @include ck-tooltip_visible();
- }
- // Get rid of the native focus outline around the tooltip when focused (but not :hover).
- &:focus:not(:hover) {
- @include ck-tooltip_disabled();
- }
- .ck-button__label {
- display: none;
- }
- }
|