compass-excess 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb1a3fc5c74ebf526c2ad4c4c09340e05bea4d44
4
- data.tar.gz: 458be1863f97c5aea36367a8bfdd6df14799150d
3
+ metadata.gz: 2c7edab6c6005ad98bdcf8eb477022d9600aa812
4
+ data.tar.gz: 146ce5601bca52d860ccb510e590f2c8f4119fc4
5
5
  SHA512:
6
- metadata.gz: a35936f5e5e05586872f98fff26411bb4d42d038fe52dc0e7935dac7a534611e8492ce48a020c646d4a49c4257492ca577835fc6ac380e13ac21c2e536322338
7
- data.tar.gz: 2c88797c41b17d0bb4f57052269d1bbf57325d5c410c686de8ba2c492126321fb9ad19470c6a3475fcb13ea3b368612a3e7ec2154754590c17f260f76586da30
6
+ metadata.gz: 3795640163a70ea952bad66bc5c64fc2e9d2118def0c5b5c3c6350ed0477eb04e0bdab1410bffa224ccfc670afa7ad23e3a42bc8817e23fe22a696c6c86ddba8
7
+ data.tar.gz: 398fd4eb191607ff838bdcc7fbde228578f87e2382978cfbe59c393205b86352878abed2d53c39a51e0d2449c7d5099c22051328e09d8b861e1ecc92256f2b91
@@ -1,5 +1,5 @@
1
1
  module Compass
2
2
  module Excess
3
- VERSION = '0.0.4'
3
+ VERSION = '0.1.0'
4
4
  end
5
5
  end
@@ -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($background-color, $stroke-width) {
86
+ @mixin text-underline-stroke($stroke-color, $stroke-width) {
87
87
  @include text-shadow(
88
- 0 $stroke-width 0 $background-color,
89
- $stroke-width 0 0 $background-color,
90
- 0 -1 * $stroke-width 0 $background-color,
91
- -1 * $stroke-width 0 0 $background-color
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: white,
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($background-color, $stroke-width);
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 medium-text-underline-hover(
119
+ @mixin text-underline-hover(
119
120
  $color: black,
120
- $background-color: white,
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($background-color, $stroke-width);
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
- } // @medium-text-underline-hover()
144
+ } // @text-underline-hover()
143
145
 
144
146
  @mixin text-no-underline-hover {
145
147
  &:hover { text-decoration: none; }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-excess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Darlow