]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Easier Tooltip border-radius settings 1664/head
authorJursdotme <rasmus@jurs.me>
Sat, 2 Mar 2013 21:09:16 +0000 (22:09 +0100)
committerJursdotme <rasmus@jurs.me>
Sat, 2 Mar 2013 21:09:16 +0000 (22:09 +0100)
$tooltip-radius doesn't seeme to do anything.
Since the span.tooltip is created on page load there is no way to add the .radius to it.
Maby the tooltip-radius should be added to .tooltip instead. Then it would have $globalRadius as default.

scss/foundation/components/_tooltips.scss

index 1946eb85e3279dc75d769245dd2c0fb4bec9cf68..34b39b8b91cbcfbbacdeb2e6946d73e7ec6e309a 100644 (file)
@@ -53,6 +53,7 @@ $tooltip-pip-size:            5px !default;
   width: 100%;
   color: $tooltip-font-color;
   background: $tooltip-bg;
+  @include radius($tooltip-radius);
 
   &>.nub {
     display: block;
@@ -68,8 +69,6 @@ $tooltip-pip-size:            5px !default;
     color: $has-tip-font-color-hover !important;
     border-bottom: $has-tip-border-bottom-hover !important;
   }
-
-  &.radius{ @include radius($tooltip-radius); }
 }
 
 .tap-to-close {