]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add new $has-tip-cursor variable to customize tooltips cursor 9983/head
authorDeckluhm <arnaud.thomas-desessarts@live.com>
Sat, 22 Apr 2017 13:09:28 +0000 (15:09 +0200)
committerDeckluhm <arnaud.thomas-desessarts@live.com>
Sat, 22 Apr 2017 13:09:28 +0000 (15:09 +0200)
scss/components/_tooltip.scss

index d31991aae59f21f38ef4cd361ca8aa3c1c4473eb..f363d3f8768e464fa4026dbf98229bcb023a0430 100644 (file)
@@ -6,6 +6,10 @@
 /// @group tooltip
 ////
 
+/// Default cursor of the defined term.
+/// @type Keyword
+$has-tip-cursor: help !default;
+
 /// Default font weight of the defined term.
 /// @type Keyword | Number
 $has-tip-font-weight: $global-weight-bold !default;
@@ -48,7 +52,7 @@ $tooltip-radius: $global-radius !default;
 
   border-bottom: $has-tip-border-bottom;
   font-weight: $has-tip-font-weight;
-  cursor: help;
+  cursor: $has-tip-cursor;
 }
 
 @mixin tooltip {