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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4bf6674162e38d48c53cfbae775e07083e9fabd
4
- data.tar.gz: aa965f70cbda90e9219c56245f84ee89d5810a80
3
+ metadata.gz: 0da2fce5fdf6e00ffdde173dfd88a1106bf0b469
4
+ data.tar.gz: 1661bb805ee420955b56ad261b6503ad3339504b
5
5
  SHA512:
6
- metadata.gz: 299132fa53374046e113fe4dc8bfcc4ecda35a2822857da8cf8e19d23c2422697f8a24c320d36df3fcf37b8ad95af592423aba465e59500376a29fd0e69e9591
7
- data.tar.gz: 12188c1c484cb761e0d8b40c0be5c7a77619bf9aac6c85548f714acd0f1316b496857fa09a24adfc02f2138629ec91c62a4b0db80d576020a80b6394305bbcb4
6
+ metadata.gz: 54d051c994a0eb41878498e4d9bf14b787c9b61a6759863b7d4f5280f3e2ce25a0fe88c6238e5610fb348a7672740f7769524d40f3316eb5650b98c0cf2bdbec
7
+ data.tar.gz: 703d82d570436020f750a2f07ed6a045add899ea6cd31a21a7df9f26a2a5dfd89c19387ae8338a0c1638dc1c6fdd4c79b3a1f9978e6d0f423a116ed34b9505ce
@@ -1,5 +1,5 @@
1
1
  module Compass
2
2
  module Excess
3
- VERSION = '0.2.1'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -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 {
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.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Darlow