view src/DML/MainVisBundle/Resources/assets/bem-blocks/tooltip.less @ 1:f38015048f48 tip

Added GPL
author Daniel Wolff
date Sat, 13 Feb 2016 20:43:38 +0100
parents 493bcb69166c
children
line wrap: on
line source
@import "../config.less";

.tooltip {
    .font_small();
    position: absolute;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    border-radius: @--border-radius;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    z-index: @z-index_tooltip;
    white-space: nowrap;
    
    &_animation_slow-opacity {
        -moz-transition: opacity 0.5s ease-in-out;
        -webkit-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }
    
    &_state_visible {
        opacity: 1;
    }
}