/* * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ @import "../helpers/states.css"; @import "./tooltip.css"; .ck-button, a.ck-button { @mixin ck-unselectable; @mixin ck-tooltip_enabled; display: inline-block; position: relative; &.ck-button_with-text { & .ck-button__label { display: block; } } &:hover { @mixin ck-tooltip_visible; } /* Get rid of the native focus outline around the tooltip when focused (but not :hover). */ &:focus:not(:hover) { @mixin ck-tooltip_disabled; } & .ck-button__label { display: none; } }