compass-excess 0.5.2 → 0.5.3
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 +11 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ce838eb9dbb32fd78ff8ea27a94b32266fa7a79
|
4
|
+
data.tar.gz: 32237037b01bebfa4da2fb7130da991dc6913413
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e3e1c172a88cecb36aa2c3daf521d0b761b746af37c5095262ae84c827fe8662164b413747ed2881d77d4dcfde5f463348005b6296ba02c30d7ee019a3e01da
|
7
|
+
data.tar.gz: 1f60b7fb805cc31affe45123dbfb583d456d656e2f51691f8e84b34081b620ff0741e3f8977d053839b77eef77ceddbc52544e76d3cc269e6f0b2772f1f3f061
|
@@ -42,15 +42,21 @@ $line-height-modifiers: (
|
|
42
42
|
$background-color,
|
43
43
|
$line-height,
|
44
44
|
$line-width,
|
45
|
-
$line-offset:
|
45
|
+
$line-offset: 0,
|
46
46
|
$platform: default
|
47
47
|
) {
|
48
|
-
|
49
|
-
|
48
|
+
|
49
|
+
@if not unitless($line-width) {
|
50
|
+
$line-width: $line-width / 1px;
|
51
|
+
}
|
52
|
+
|
53
|
+
@if not unitless($line-offset) {
|
54
|
+
$line-offset: $line-offset / 1px;
|
55
|
+
}
|
56
|
+
|
50
57
|
$line-height: $line-height * map-get($line-height-modifiers, $platform);
|
51
58
|
|
52
59
|
@if $line-offset == 0 {
|
53
|
-
@debug $line-width;
|
54
60
|
$color-stop: percentage(1 - ($line-width / ($line-height * 10)));
|
55
61
|
@include background-image(
|
56
62
|
linear-gradient(
|
@@ -118,7 +124,7 @@ $line-height-modifiers: (
|
|
118
124
|
$line-height: 1.8,
|
119
125
|
$stroke-width: 2px,
|
120
126
|
$line-width: 1,
|
121
|
-
$line-offset:
|
127
|
+
$line-offset: 0
|
122
128
|
) {
|
123
129
|
@include text-underline-line-height($line-height);
|
124
130
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-excess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Darlow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compass
|