|
|
@@ -3,38 +3,6 @@
|
|
|
* For licensing, see LICENSE.md.
|
|
|
*/
|
|
|
|
|
|
-@import "../helpers/zindex.css";
|
|
|
-
|
|
|
-/**
|
|
|
- * Enables the tooltip, which is the tooltip is in DOM but
|
|
|
- * not yet displayed.
|
|
|
- */
|
|
|
-@define-mixin ck-tooltip_enabled {
|
|
|
- & .ck-tooltip {
|
|
|
- display: block;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-/**
|
|
|
- * Disables the tooltip making it disappear from DOM.
|
|
|
- */
|
|
|
-@define-mixin ck-tooltip_disabled {
|
|
|
- & .ck-tooltip {
|
|
|
- display: none;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-/**
|
|
|
- * Shows the tooltip, which is already in DOM.
|
|
|
- * Requires `ck-tooltip_enabled` first.
|
|
|
- */
|
|
|
-@define-mixin ck-tooltip_visible {
|
|
|
- & .ck-tooltip {
|
|
|
- visibility: visible;
|
|
|
- opacity: 1;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
.ck-tooltip,
|
|
|
.ck-tooltip__text::after {
|
|
|
position: absolute;
|