From 95307d1e3c9732261219c9923689468abbf8fd25 Mon Sep 17 00:00:00 2001 From: ines Date: Wed, 17 May 2017 11:38:35 +0200 Subject: [PATCH] Add mixin to display help icon with tooltip --- website/_includes/_mixins.jade | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index d9e563ba9..a72696658 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -47,6 +47,14 @@ mixin api(path) | #[+icon("book", 18).o-icon--inline.u-color-subtle] +//- Help icon with tooltip + tooltip - [string] Tooltip text + +mixin help(tooltip) + span(data-tooltip=tooltip)&attributes(attributes) + +icon("help", 16).i-icon--inline + + //- Aside for text label - [string] aside title (optional)