source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tooltip.scssc in refills-0.0.1 vs source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_tooltip.scssc in refills-0.0.2
- old
+ new
@@ -1,10 +1,10 @@
-3.2.12 (Media Mark)
-c26f89f0fc110d1dbfc8708074c48515316b192b
+3.2.13 (Media Mark)
+1fe7a0d3ff90221002393485da3088f964f6c82c
o:Sass::Tree::RootNode
:
-@linei:@has_childrenT:@template"g$tooltip-color: transparentize($dark-gray, 0.1);
+@linei:@has_childrenT:@template"Ó$tooltip-color: transparentize($dark-gray, 0.1);
$tooltip-placement: top; // "top" or "bottom"
@mixin tooltip($position) {
position: relative;
$opposite-position: bottom;
@@ -23,126 +23,96 @@
visibility: visible;
}
}
.tooltip {
+ @include position(absolute, 0 0 0 50%);
+ @include transition(all 0.15s linear);
+ @include box-sizing(border-box);
+ #{$position}: -55px;
background-color: $tooltip-color;
- box-sizing: border-box;
+ border-radius: $base-border-radius;
color: white;
font-weight: normal;
+ margin-left: -(em(200)/2);
opacity: 0;
padding: 0.5em 1em;
- border-radius: $base-border-radius;
- position: absolute;
text-align: center;
text-overflow: ellipsis;
text-shadow: 0 1px 0 darken(rgb(80,80,80), 4%);
text-transform: none;
- transition: all 0.15s linear;
- white-space: nowrap;
visibility: hidden;
- width: 200px;
+ white-space: nowrap;
+ width: em(200);
z-index: 10;
- #{$position}: -50px;
- left: 50%;
- margin-left: -(200px/2);
- &:before,
&:after {
- display: block;
- pointer-events: none;
- position: absolute;
- width: 0;
- height: 0;
- content: '';
+ @include size(0);
+ @include position(absolute, 0 0 0 em(200)/2);
border: 8px solid transparent;
- }
-
- &:before {
- top: auto;
- bottom: -18px;
- left: auto;
- right: auto;
- left: 50%;
- margin-left: -(8px + 1);
- }
-
- &:after {
border-#{$position}-color: $tooltip-color;
+ content: '';
+ pointer-events: none;
+ #{$opposite-position}: -15px;
$position: auto;
- #{$opposite-position}: -16px;
- left: auto;
- right: auto;
- left: 50%;
- margin-left: -8px;
}
}
}
a.tooltip-item {
- @include button(simple, lighten($light-gray, 10));
+ @include button(simple, $base-border-color);
@include tooltip($tooltip-placement);
font-size: $base-font-size;
+ margin-bottom: $base-line-height;
+ display: block;
+ max-width: 13em;
+ text-align: center;
}
:@children[
o:Sass::Tree::VariableNode:
@expro:Sass::Script::Funcall;i:
@name"transparentize:@splat0:
@options{ :@keywords{ :
-@args[o:Sass::Script::Variable ;i;
"dark-gray:@underscored_name"dark_gray;@o:Sass::Script::Number;i:@denominator_units[ :@numerator_units[ :@original"0.1:@valuef0.10000000000000001 ™š;@;i;
"tooltip-color; [ :
@guarded0;@o;
+@args[o:Sass::Script::Variable ;i;
"dark-gray:@underscored_name"dark_gray;@o:Sass::Script::Number;i:@numerator_units[ :@original"0.1:@valuef0.10000000000000001 ™š:@denominator_units[ ;@;i;
"tooltip-color; [ :
@guarded0;@o;
;o:Sass::Script::String ;i:
-@type:identifier;"top;@;i;
"tooltip-placement; [ ;0;@o:Sass::Tree::CommentNode
-;i;:silent; [ ;["/* "top" or "bottom" */;@o:Sass::Tree::MixinDefNode;i ;
"tooltip;T;0; [
+@type:identifier;"top;@;i;
"tooltip-placement; [ ;0;@o:Sass::Tree::CommentNode
+;i;:silent; [ ;["/* "top" or "bottom" */;@o:Sass::Tree::MixinDefNode;i ;
"tooltip;T;0; [
o:Sass::Tree::PropNode;i
;
["
position:@prop_syntax:new:
-@tabsi ; [ ;o;;;;"
relative;@;@o;
-;o; ;i;;;"bottom;@;i;
"opposite-position; [ ;0;@u:Sass::Tree::IfNodeÓ[o:Sass::Script::Operation
+@tabsi ; [ ;o;;;;"
relative;@;@o;
+;o; ;i;;;"bottom;@;i;
"opposite-position; [ ;0;@u:Sass::Tree::IfNodeÓ[o:Sass::Script::Operation
:
@linei
:@operand2o:Sass::Script::String ;i
:
-@type:identifier:@value"top:
@options{ ;@ :@operator:eq:@operand1o:Sass::Script::Variable ;i
:
-@name"
position:@underscored_name"
position;@ u:Sass::Tree::IfNode^[o:Sass::Script::Operation
+@type:identifier:@value"top:
@options{ :@operand1o:Sass::Script::Variable ;i
:
+@name"
position:@underscored_name"
position;@ ;@ :@operator:equ:Sass::Tree::IfNode^[o:Sass::Script::Operation
:
@linei:@operand2o:Sass::Script::String ;i:
-@type:identifier:@value"bottom:
@options{ ;@ :@operator:eq:@operand1o:Sass::Script::Variable ;i:
-@name"
position:@underscored_name"
position;@ 0[o:Sass::Tree::VariableNode:
+@type:identifier:@value"bottom:
@options{ :@operand1o:Sass::Script::Variable ;i:
+@name"
position:@underscored_name"
position;@ ;@ :@operator:eq0[o:Sass::Tree::VariableNode:
@expro; ;i; ;
-;"top;@ ;i;"opposite-position:@children[ :
@guarded0;@ [o:Sass::Tree::VariableNode:
+;"top;@ ;i;"opposite-position:@children[ :
@guarded0;@ [o:Sass::Tree::VariableNode:
@expro; ;i; ;
-;"bottom;@ ;i;"opposite-position:@children[ :
@guarded0;@ o:Sass::Tree::RuleNode;i:@parsed_ruleso:"Sass::Selector::CommaSequence;i:
@members[o:Sass::Selector::Sequence;([o:#Sass::Selector::SimpleSequence
+;"bottom;@ ;i;"opposite-position:@children[ :
@guarded0;@ o:Sass::Tree::RuleNode;i:@parsed_ruleso:"Sass::Selector::CommaSequence;i:
@members[o:Sass::Selector::Sequence;([o:#Sass::Selector::SimpleSequence
;i:
@sourceso:Set:
@hash{ :
@subject0;([o:Sass::Selector::Parent;i:@filename"