diff src/DML/MainVisBundle/Resources/assets/bem-blocks/tooltip.less @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/DML/MainVisBundle/Resources/assets/bem-blocks/tooltip.less	Tue Feb 09 20:54:02 2016 +0100
@@ -0,0 +1,24 @@
+@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;
+    }
+}
\ No newline at end of file