Commit daec5a60 authored by Karl Hasselbring's avatar Karl Hasselbring

Tooltips haben jetzt einen weichen Übergang und es gibt Verzögerte Klassen für Tooltops

parent 8cd21cf8
......@@ -220,8 +220,13 @@ button {
* Tooltip mit entsprechendem Inhalt unterhalb des Elements angezeigt
*/
*[data-tooltip]:hover {
position: relative;
*[data-tooltip] {
&:hover {
position: relative;
&:after {
opacity: 1;
}
}
&:after {
content: attr(data-tooltip);
position: absolute;
......@@ -239,5 +244,16 @@ button {
text-decoration: none;
text-align: center;
pointer-events: none;
opacity: 0;
transition: opacity 0.5s ease;
}
&.delayed:after {
transition-delay: 0.5s;
}
&.delayed-soft:after {
transition-delay: 0.2s;
}
&.delayed-strong:after {
transition-delay: 1s;
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment