compass-excess 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/compass/excess/version.rb +1 -1
- data/stylesheets/_typography.scss +14 -12
- 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: 2c7edab6c6005ad98bdcf8eb477022d9600aa812
|
|
4
|
+
data.tar.gz: 146ce5601bca52d860ccb510e590f2c8f4119fc4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3795640163a70ea952bad66bc5c64fc2e9d2118def0c5b5c3c6350ed0477eb04e0bdab1410bffa224ccfc670afa7ad23e3a42bc8817e23fe22a696c6c86ddba8
|
|
7
|
+
data.tar.gz: 398fd4eb191607ff838bdcc7fbde228578f87e2382978cfbe59c393205b86352878abed2d53c39a51e0d2449c7d5099c22051328e09d8b861e1ecc92256f2b91
|
|
@@ -49,7 +49,7 @@ $line-height-modifiers: (
|
|
|
49
49
|
$background-color,
|
|
50
50
|
$line-height,
|
|
51
51
|
$line-width,
|
|
52
|
-
$line-offset,
|
|
52
|
+
$line-offset: 0px,
|
|
53
53
|
$platform: default
|
|
54
54
|
) {
|
|
55
55
|
$line-width: $line-width / 1px;
|
|
@@ -83,18 +83,19 @@ $line-height-modifiers: (
|
|
|
83
83
|
}
|
|
84
84
|
} // @text-underline-gradient()
|
|
85
85
|
|
|
86
|
-
@mixin text-underline-stroke($
|
|
86
|
+
@mixin text-underline-stroke($stroke-color, $stroke-width) {
|
|
87
87
|
@include text-shadow(
|
|
88
|
-
0 $stroke-width 0 $
|
|
89
|
-
$stroke-width 0 0 $
|
|
90
|
-
0 -1 * $stroke-width 0 $
|
|
91
|
-
-1 * $stroke-width 0 0 $
|
|
88
|
+
0 $stroke-width 0 $stroke-color,
|
|
89
|
+
$stroke-width 0 0 $stroke-color,
|
|
90
|
+
0 -1 * $stroke-width 0 $stroke-color,
|
|
91
|
+
-1 * $stroke-width 0 0 $stroke-color
|
|
92
92
|
);
|
|
93
93
|
} // @text-underline-stroke()
|
|
94
94
|
|
|
95
95
|
@mixin text-underline(
|
|
96
96
|
$color: black,
|
|
97
|
-
$background-color:
|
|
97
|
+
$background-color: transparent,
|
|
98
|
+
$stroke-color: white,
|
|
98
99
|
$font-size: 1.4,
|
|
99
100
|
$line-height: 1.8,
|
|
100
101
|
$stroke-width: 2px,
|
|
@@ -103,7 +104,7 @@ $line-height-modifiers: (
|
|
|
103
104
|
) {
|
|
104
105
|
@include text-underline-line-height($line-height);
|
|
105
106
|
@include text-underline-gradient($color, $background-color, $line-height, $line-width, $line-offset, default);
|
|
106
|
-
@include text-underline-stroke($
|
|
107
|
+
@include text-underline-stroke($stroke-color, $stroke-width);
|
|
107
108
|
|
|
108
109
|
body.mac &,
|
|
109
110
|
body.ios & {
|
|
@@ -115,9 +116,10 @@ $line-height-modifiers: (
|
|
|
115
116
|
}
|
|
116
117
|
} // @text-underline()
|
|
117
118
|
|
|
118
|
-
@mixin
|
|
119
|
+
@mixin text-underline-hover(
|
|
119
120
|
$color: black,
|
|
120
|
-
$background-color:
|
|
121
|
+
$background-color: transparent,
|
|
122
|
+
$stroke-color: white,
|
|
121
123
|
$font-size: 1.4,
|
|
122
124
|
$line-height: 1.8,
|
|
123
125
|
$stroke-width: 2px,
|
|
@@ -128,7 +130,7 @@ $line-height-modifiers: (
|
|
|
128
130
|
|
|
129
131
|
&:hover {
|
|
130
132
|
@include text-underline-gradient($color, $background-color, $line-width, $line-height, $line-offset);
|
|
131
|
-
@include text-underline-stroke($
|
|
133
|
+
@include text-underline-stroke($stroke-color, $stroke-width);
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
body.mac &:hover,
|
|
@@ -139,7 +141,7 @@ $line-height-modifiers: (
|
|
|
139
141
|
body.ie &:hover {
|
|
140
142
|
@include text-underline-gradient($color, $background-color, $line-width, $line-height, $line-offset, ie);
|
|
141
143
|
}
|
|
142
|
-
} // @
|
|
144
|
+
} // @text-underline-hover()
|
|
143
145
|
|
|
144
146
|
@mixin text-no-underline-hover {
|
|
145
147
|
&:hover { text-decoration: none; }
|