compass-excess 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/compass/excess/version.rb +1 -1
- data/stylesheets/_typography.scss +0 -59
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0da2fce5fdf6e00ffdde173dfd88a1106bf0b469
|
4
|
+
data.tar.gz: 1661bb805ee420955b56ad261b6503ad3339504b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54d051c994a0eb41878498e4d9bf14b787c9b61a6759863b7d4f5280f3e2ce25a0fe88c6238e5610fb348a7672740f7769524d40f3316eb5650b98c0cf2bdbec
|
7
|
+
data.tar.gz: 703d82d570436020f750a2f07ed6a045add899ea6cd31a21a7df9f26a2a5dfd89c19387ae8338a0c1638dc1c6fdd4c79b3a1f9978e6d0f423a116ed34b9505ce
|
@@ -44,45 +44,6 @@ $line-height-modifiers: (
|
|
44
44
|
}
|
45
45
|
} // @text-underline-line-height()
|
46
46
|
|
47
|
-
@mixin text-underline-gradient(
|
48
|
-
$color,
|
49
|
-
$background-color,
|
50
|
-
$line-height,
|
51
|
-
$line-width,
|
52
|
-
$line-offset: 0px,
|
53
|
-
$platform: default
|
54
|
-
) {
|
55
|
-
$line-width: $line-width / 1px;
|
56
|
-
$line-offset: $line-offset / 1px;
|
57
|
-
$line-height: $line-height * map-get($line-height-modifiers, $platform);
|
58
|
-
|
59
|
-
@if $line-offset == 0 {
|
60
|
-
$color-stop: percentage(1 - ($line-width / ($line-height * 10)));
|
61
|
-
@include background-image(
|
62
|
-
linear-gradient(
|
63
|
-
$background-color,
|
64
|
-
$background-color $color-stop,
|
65
|
-
$color $color-stop,
|
66
|
-
$color 100%
|
67
|
-
)
|
68
|
-
);
|
69
|
-
} @else {
|
70
|
-
$color-stop-1: percentage(1 - (($line-width + $line-offset) / ($line-height * 10)));
|
71
|
-
$color-stop-2: percentage(1 - ($line-offset / ($line-height * 10)));
|
72
|
-
|
73
|
-
@include background-image(
|
74
|
-
linear-gradient(
|
75
|
-
$background-color,
|
76
|
-
$background-color $color-stop-1,
|
77
|
-
$color $color-stop-1,
|
78
|
-
$color $color-stop-2,
|
79
|
-
$background-color $color-stop-2,
|
80
|
-
$background-color 100%
|
81
|
-
)
|
82
|
-
);
|
83
|
-
}
|
84
|
-
} // @text-underline-gradient()
|
85
|
-
|
86
47
|
@mixin text-underline-stroke($stroke-color, $stroke-width) {
|
87
48
|
@include text-shadow(
|
88
49
|
0 $stroke-width 0 $stroke-color,
|
@@ -103,17 +64,7 @@ $line-height-modifiers: (
|
|
103
64
|
$line-offset: 0px
|
104
65
|
) {
|
105
66
|
@include text-underline-line-height($line-height);
|
106
|
-
@include text-underline-gradient($color, $background-color, $line-height, $line-width, $line-offset, default);
|
107
67
|
@include text-underline-stroke($stroke-color, $stroke-width);
|
108
|
-
|
109
|
-
body.mac &,
|
110
|
-
body.ios & {
|
111
|
-
@include text-underline-gradient($color, $background-color, $line-height, $line-width, $line-offset, mac);
|
112
|
-
}
|
113
|
-
|
114
|
-
body.ie & {
|
115
|
-
@include text-underline-gradient($color, $background-color, $line-height, $line-width, $line-offset, ie);
|
116
|
-
}
|
117
68
|
} // @text-underline()
|
118
69
|
|
119
70
|
@mixin text-underline-hover(
|
@@ -129,18 +80,8 @@ $line-height-modifiers: (
|
|
129
80
|
@include text-underline-line-height($line-height);
|
130
81
|
|
131
82
|
&:hover {
|
132
|
-
@include text-underline-gradient($color, $background-color, $line-width, $line-height, $line-offset);
|
133
83
|
@include text-underline-stroke($stroke-color, $stroke-width);
|
134
84
|
}
|
135
|
-
|
136
|
-
body.mac &:hover,
|
137
|
-
body.ios &:hover {
|
138
|
-
@include text-underline-gradient($color, $background-color, $line-width, $line-height, $line-offset, mac);
|
139
|
-
}
|
140
|
-
|
141
|
-
body.ie &:hover {
|
142
|
-
@include text-underline-gradient($color, $background-color, $line-width, $line-height, $line-offset, ie);
|
143
|
-
}
|
144
85
|
} // @text-underline-hover()
|
145
86
|
|
146
87
|
@mixin text-no-underline-hover {
|