Mercurial > hg > dml-open-vis
annotate 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 |
rev | line source |
---|---|
Daniel@0 | 1 @import "../config.less"; |
Daniel@0 | 2 |
Daniel@0 | 3 .tooltip { |
Daniel@0 | 4 .font_small(); |
Daniel@0 | 5 position: absolute; |
Daniel@0 | 6 opacity: 0; |
Daniel@0 | 7 pointer-events: none; |
Daniel@0 | 8 background: rgba(0, 0, 0, 0.8); |
Daniel@0 | 9 border-radius: @--border-radius; |
Daniel@0 | 10 color: rgba(255, 255, 255, 0.8); |
Daniel@0 | 11 padding: 5px; |
Daniel@0 | 12 z-index: @z-index_tooltip; |
Daniel@0 | 13 white-space: nowrap; |
Daniel@0 | 14 |
Daniel@0 | 15 &_animation_slow-opacity { |
Daniel@0 | 16 -moz-transition: opacity 0.5s ease-in-out; |
Daniel@0 | 17 -webkit-transition: opacity 0.5s ease-in-out; |
Daniel@0 | 18 transition: opacity 0.5s ease-in-out; |
Daniel@0 | 19 } |
Daniel@0 | 20 |
Daniel@0 | 21 &_state_visible { |
Daniel@0 | 22 opacity: 1; |
Daniel@0 | 23 } |
Daniel@0 | 24 } |