piecss 0.7.6 → 0.7.7

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: eb1022a5bfd5be7d0eb20e4582c17155bc07f314
4
- data.tar.gz: f731ff16cc1f77039777dc23d5a4d19b5586cc4a
3
+ metadata.gz: 6c9a946ff4dad8e55eba3dc7d234e78d0d9aed5a
4
+ data.tar.gz: 00e9d96eff39ebbad37ca9b84626ef350077e1dd
5
5
  SHA512:
6
- metadata.gz: adfe8b2162095bb4429f9c067910702e9ae9b389b4a946c259d2831bfa60655645b07fa5199ae91f8c3dcde730ef8a06b6dad0a51bce67da40af7477308ed4bc
7
- data.tar.gz: 0352cc378b6b3bef5228db16483bd9d9fb9ce50cf891509b63610f02421cd7072a0491081c8d4d4ccf6b507944f4bf9b132b55e79bb30aef9037d7a9c9654f92
6
+ metadata.gz: f71103a761ed3ce89b9887741d2334c3a7f12eeb0ffe7e08d8cb3335004d20b827e3d542e46b715aa4d6e701e23c8d9b1a156a9619bcbc8a107cab31754af558
7
+ data.tar.gz: f0cedfbbd8b97d8bbd63619da97e087134ef477b3cd91d177820c8f9c478f277c8e3ee7956ba2eeb32d2d3d4d1a414f6de9f79b6bef5094f651292fd1486d617
@@ -168,7 +168,7 @@
168
168
  @if not($font-size) {
169
169
  $font-size: $argument;
170
170
  }
171
- @elseif not($line-height) {
171
+ @else if not($line-height) {
172
172
  $line-height: $argument;
173
173
  }
174
174
  }
@@ -190,7 +190,7 @@
190
190
  @if $font-size and $line-height {
191
191
  $font: append($font, #{$font-size}/#{$line-height});
192
192
  }
193
- @elseif $font-size {
193
+ @else if $font-size {
194
194
  $font: append($font, #{$font-size});
195
195
  }
196
196
  $font: append($font, #{$font-family});
@@ -62,10 +62,10 @@
62
62
  // Now, calculate the correct contextual value in requested unit
63
63
  @if unit($unit) == "px" {
64
64
  }
65
- @elseif unit($unit) == "%" {
65
+ @else if unit($unit) == "%" {
66
66
  $number: percentage($number / $context);
67
67
  }
68
- @elseif unit($unit) == "rem" {
68
+ @else if unit($unit) == "rem" {
69
69
  $number: $number / $default-font-size * $unit;
70
70
  }
71
71
  @else {
@@ -124,13 +124,13 @@
124
124
 
125
125
  @if unit($value) == "px" {
126
126
  }
127
- @elseif unit($value) == "rem" {
127
+ @else if unit($value) == "rem" {
128
128
  $value: rem-to-px($value);
129
129
  }
130
- @elseif unit($value) == "em" {
130
+ @else if unit($value) == "em" {
131
131
  $value: em-to-px($value, $context);
132
132
  }
133
- @elseif unit($value) == "%" {
133
+ @else if unit($value) == "%" {
134
134
  $value: percentage-to-px($value);
135
135
  }
136
136
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piecss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Babs Gosgens