/* * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ .ck-tooltip, .ck-tooltip__text::after { position: absolute; /*Without this, hovering the tooltip could keep it visible.*/ pointer-events: none; /*This is to get rid of flickering when transitioning opacity in Chrome. It's weird but it works.*/ -webkit-backface-visibility: hidden; } .ck-tooltip { /*Tooltip is hidden by default.*/ visibility: hidden; opacity: 0; display: none; z-index: var(--ck-z-modal); } .ck-tooltip__text { display: inline-block; } .ck-tooltip__text::after { content: ""; width: 0; height: 0; }