fortitude-sass 0.7.5 → 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: a20e88eeec2fe482af8a5dd90d57afeba6676437
4
- data.tar.gz: 5c4bb7cf7f501514cbf79ac9ab15ae2a82b151bf
3
+ metadata.gz: 76acafe3d0206ab6c7b85734a4444826182b9c9c
4
+ data.tar.gz: 92bbf83546e0bfba89ee6b447802bf7237eb7112
5
5
  SHA512:
6
- metadata.gz: a67c1af4d92181fc1ab54d8c8e1ffc966ebc08e75f51dad638726a8b78738d9f1ce2ab0e4c6ac845f0849eae5ea200c951928731e1827041c5eb99e219f1ff56
7
- data.tar.gz: 5418163dc3e18bd75118454763c6fb428f5bff9892dc42d0cc9ea46edcd58d2f63cfa8fd0537e75aca72b6c182f0b02782e6111f13ab80a47e0c013f1a55f644
6
+ metadata.gz: e7cd77cb418619e37568e64050346d8473f4820be02a09984ffdbed0da479861d332357912f3f3edc46b098eb435d0fc1baa9427fc7c624dd231263b9fa5ae99
7
+ data.tar.gz: ac3c339f606a52d4aa1236ed6075e0e3c507d4526ad65b3a383e810c6cc71f6d2fae48be67ad1627ca5639327c3c1bebbf0a62a194ad029fc2abfee0aef5b9cb
data/.travis.yml CHANGED
@@ -7,4 +7,6 @@ install:
7
7
  - npm install
8
8
 
9
9
  script:
10
- - grunt test
10
+ - grunt test
11
+
12
+ sudo: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fortitude-sass (0.7.5)
4
+ fortitude-sass (0.7.7)
5
5
  autoprefixer-rails
6
6
  execjs
7
7
  sass (~> 3.3)
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2014-2015 Hired, Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -25,15 +25,17 @@ $fortitude-enable-badge--pill: false !default;
25
25
  $is-large: fortitude-contains($extensions, large);
26
26
  $is-pill: fortitude-contains($extensions, pill);
27
27
 
28
- border: $fortitude-badge-border-width $fortitude-badge-border-style transparent;
29
- display: inline-block;
30
- vertical-align: middle;
31
- font: inherit;
32
28
  background-color: transparent;
33
- text-align: center;
29
+ border-color: transparent;
30
+ border-style: $fortitude-badge-border-style;
31
+ border-width: $fortitude-badge-border-width;
32
+ display: inline-block;
34
33
  font-size: $fortitude-badge-font-size;
34
+ font: inherit;
35
35
  height: $fortitude-badge-height--default;
36
36
  overflow: visible;
37
+ text-align: center;
38
+ vertical-align: middle;
37
39
  white-space: nowrap;
38
40
 
39
41
  @if $is-small {
@@ -29,7 +29,9 @@ $fortitude-global-border-box: false !default;
29
29
  $is-pill: fortitude-contains($extensions, pill);
30
30
 
31
31
  background-color: transparent;
32
- border: $fortitude-button-border-width $fortitude-button-border-style transparent;
32
+ border-style: $fortitude-button-border-style;
33
+ border-width: $fortitude-button-border-width;
34
+ border-color: transparent;
33
35
  display: inline-block;
34
36
  vertical-align: middle;
35
37
  font: inherit;
@@ -89,8 +91,6 @@ $fortitude-global-border-box: false !default;
89
91
 
90
92
  @mixin fortitude-button--full {
91
93
  width: 100%;
92
- padding-right: 0;
93
- padding-left: 0;
94
94
  }
95
95
 
96
96
  @mixin fortitude-button--pill {
@@ -2,69 +2,53 @@
2
2
  #INPUT
3
3
  \*------------------------------------*/
4
4
 
5
- $fortitude-field-input-background-color: white !default;
6
- $fortitude-field-input-border-color: #a9a9a9 !default;
7
5
  $fortitude-field-input-border-radius: 0.2rem !default;
8
6
  $fortitude-field-input-border-style: solid !default;
9
7
  $fortitude-field-input-border-width: 0.1rem !default;
10
- $fortitude-field-input-height: fortitude-double($fortitude-base-spacing-unit) !default;
11
- $fortitude-field-input-placeholder-color: #a9a9a9 !default;
8
+ $fortitude-field-input-height: 4rem !default;
9
+ $fortitude-field-input-horizontal-padding: 1rem !default;
12
10
 
13
- $fortitude-text-input-background-color: $fortitude-field-input-background-color !default;
14
- $fortitude-text-input-border-color: $fortitude-field-input-border-color !default;
15
11
  $fortitude-text-input-border-radius: $fortitude-field-input-border-radius !default;
16
12
  $fortitude-text-input-border-style: $fortitude-field-input-border-style !default;
17
13
  $fortitude-text-input-border-width: $fortitude-field-input-border-width !default;
18
14
  $fortitude-text-input-height: $fortitude-field-input-height !default;
19
- $fortitude-text-input-placeholder-color: $fortitude-field-input-placeholder-color !default;
15
+ $fortitude-text-input-horizontal-padding: $fortitude-field-input-horizontal-padding !default;
20
16
 
21
- $fortitude-textarea-input-background-color: $fortitude-field-input-background-color !default;
22
- $fortitude-textarea-input-border-color: $fortitude-field-input-border-color !default;
23
17
  $fortitude-textarea-input-border-radius: $fortitude-field-input-border-radius !default;
24
18
  $fortitude-textarea-input-border-style: $fortitude-field-input-border-style !default;
25
19
  $fortitude-textarea-input-border-width: $fortitude-field-input-border-width !default;
26
20
  $fortitude-textarea-input-height: $fortitude-field-input-height !default;
27
- $fortitude-textarea-input-placeholder-color: $fortitude-field-input-placeholder-color !default;
21
+ $fortitude-textarea-input-min-height: $fortitude-field-input-height * 2 !default;
22
+ $fortitude-textarea-input-horizontal-padding: $fortitude-field-input-horizontal-padding !default;
28
23
 
29
- $fortitude-select-input-background-color: $fortitude-field-input-background-color !default;
30
- $fortitude-select-input-border-color: $fortitude-field-input-border-color !default;
31
24
  $fortitude-select-input-border-radius: $fortitude-field-input-border-radius !default;
32
25
  $fortitude-select-input-border-style: $fortitude-field-input-border-style !default;
33
26
  $fortitude-select-input-border-width: $fortitude-field-input-border-width !default;
34
27
  $fortitude-select-input-height: $fortitude-field-input-height !default;
35
- $fortitude-select-input-placeholder-color: $fortitude-field-input-placeholder-color !default;
28
+ $fortitude-select-input-horizontal-padding: $fortitude-field-input-horizontal-padding !default;
36
29
 
37
- $fortitude-color-input-background-color: $fortitude-field-input-background-color !default;
38
- $fortitude-color-input-border-color: $fortitude-field-input-border-color !default;
39
30
  $fortitude-color-input-border-radius: $fortitude-field-input-border-radius !default;
40
31
  $fortitude-color-input-border-style: $fortitude-field-input-border-style !default;
41
32
  $fortitude-color-input-border-width: $fortitude-field-input-border-width !default;
42
33
  $fortitude-color-input-height: $fortitude-field-input-height !default;
43
- $fortitude-color-input-placeholder-color: $fortitude-field-input-placeholder-color !default;
34
+ $fortitude-color-input-horizontal-padding: $fortitude-field-input-horizontal-padding !default;
44
35
 
45
- $fortitude-range-input-background-color: false !default;
46
- $fortitude-range-input-border-color: $fortitude-field-input-border-color !default;
47
36
  $fortitude-range-input-border-radius: $fortitude-field-input-border-radius !default;
48
37
  $fortitude-range-input-border-style: $fortitude-field-input-border-style !default;
49
38
  $fortitude-range-input-border-width: 0 !default;
50
39
  $fortitude-range-input-height: $fortitude-field-input-height !default;
40
+ $fortitude-range-input-horizontal-padding: $fortitude-field-input-horizontal-padding !default;
51
41
 
52
- $fortitude-switch-input-background-color: false !default;
53
- $fortitude-switch-input-border-color: #a9a9a9 !default;
54
42
  $fortitude-switch-input-border-radius: 0.2rem !default;
55
43
  $fortitude-switch-input-border-style: solid !default;
56
44
  $fortitude-switch-input-border-width: 0.1rem !default;
57
- $fortitude-switch-input-size: $fortitude-base-spacing-unit - 0.4rem !default;
45
+ $fortitude-switch-input-size: 1.6rem !default;
58
46
 
59
- $fortitude-checkbox-input-background-color: $fortitude-switch-input-background-color !default;
60
- $fortitude-checkbox-input-border-color: $fortitude-switch-input-border-color !default;
61
47
  $fortitude-checkbox-input-border-radius: $fortitude-switch-input-border-radius !default;
62
48
  $fortitude-checkbox-input-border-style: $fortitude-switch-input-border-style !default;
63
49
  $fortitude-checkbox-input-border-width: $fortitude-switch-input-border-width !default;
64
50
  $fortitude-checkbox-input-size: $fortitude-switch-input-size !default;
65
51
 
66
- $fortitude-radio-input-background-color: $fortitude-switch-input-background-color !default;
67
- $fortitude-radio-input-border-color: $fortitude-switch-input-border-color !default;
68
52
  $fortitude-radio-input-border-radius: 10rem !default;
69
53
  $fortitude-radio-input-border-style: $fortitude-switch-input-border-style !default;
70
54
  $fortitude-radio-input-border-width: $fortitude-switch-input-border-width !default;
@@ -96,35 +80,22 @@ $fortitude-global-border-box: false !default;
96
80
 
97
81
  @include fortitude-input($extensions);
98
82
 
83
+ border-color: transparent;
84
+ border-style: $fortitude-text-input-border-style;
85
+ border-width: if($fortitude-text-input-border-width != 0, $fortitude-text-input-border-width, 0);
99
86
  height: $fortitude-text-input-height;
100
87
  margin: fortitude-block-margin($fortitude-text-input-height, $fortitude-text-input-border-width, $fortitude-base-line-height) 0;
101
- padding: fortitude-block-padding($fortitude-text-input-height, $fortitude-text-input-border-width, $fortitude-base-line-height);
102
-
103
- @if $fortitude-text-input-border-width != 0 {
104
- border: $fortitude-text-input-border-width $fortitude-text-input-border-style $fortitude-text-input-border-color;
105
- } @else {
106
- border: 0;
107
- }
88
+ padding: fortitude-block-padding($fortitude-text-input-height, $fortitude-text-input-border-width, $fortitude-base-line-height) ($fortitude-text-input-horizontal-padding - $fortitude-text-input-border-width);
108
89
 
109
90
  @if $is-pill {
110
91
  @include fortitude-input--pill;
111
- } @else if $fortitude-text-input-border-radius != 0 {
112
- border-radius: $fortitude-text-input-border-radius;
113
92
  } @else {
114
- border-radius: 0;
115
- }
116
-
117
- @if $fortitude-text-input-background-color {
118
- background-color: $fortitude-text-input-background-color;
93
+ border-radius: if($fortitude-text-input-border-radius != 0, $fortitude-text-input-border-radius, 0);
119
94
  }
120
95
 
121
96
  @if $is-full {
122
97
  @include fortitude-input--full;
123
98
  }
124
-
125
- &::placeholder {
126
- color: $fortitude-text-input-placeholder-color;
127
- }
128
99
  }
129
100
 
130
101
  @mixin fortitude-textarea-input($extensions: ()) {
@@ -133,35 +104,22 @@ $fortitude-global-border-box: false !default;
133
104
 
134
105
  @include fortitude-input($extensions);
135
106
 
136
- min-height: $fortitude-textarea-input-height;
107
+ border-color: transparent;
108
+ border-style: $fortitude-textarea-input-border-style;
109
+ border-width: if($fortitude-textarea-input-border-width != 0, $fortitude-textarea-input-border-width, 0);
137
110
  margin: fortitude-block-margin($fortitude-textarea-input-height, $fortitude-textarea-input-border-width, $fortitude-base-line-height) 0;
138
- padding: fortitude-block-padding($fortitude-textarea-input-height, $fortitude-textarea-input-border-width, $fortitude-base-line-height);
139
-
140
- @if $fortitude-textarea-input-border-width != 0 {
141
- border: $fortitude-textarea-input-border-width $fortitude-textarea-input-border-style $fortitude-textarea-input-border-color;
142
- } @else {
143
- border: 0;
144
- }
111
+ min-height: $fortitude-textarea-input-min-height;
112
+ padding: fortitude-block-padding($fortitude-textarea-input-height, $fortitude-textarea-input-border-width, $fortitude-base-line-height) ($fortitude-textarea-input-horizontal-padding - $fortitude-textarea-input-border-width);
145
113
 
146
114
  @if $is-pill {
147
115
  @include fortitude-input--pill;
148
- } @else if $fortitude-textarea-input-border-radius != 0 {
149
- border-radius: $fortitude-textarea-input-border-radius;
150
116
  } @else {
151
- border-radius: 0;
152
- }
153
-
154
- @if $fortitude-textarea-input-background-color {
155
- background-color: $fortitude-textarea-input-background-color;
117
+ border-radius: if($fortitude-textarea-input-border-radius != 0, $fortitude-textarea-input-border-radius, 0);
156
118
  }
157
119
 
158
120
  @if $is-full {
159
121
  @include fortitude-input--full;
160
122
  }
161
-
162
- &::placeholder {
163
- color: $fortitude-textarea-input-placeholder-color;
164
- }
165
123
  }
166
124
 
167
125
  @mixin fortitude-select-input($extensions: ()) {
@@ -170,36 +128,23 @@ $fortitude-global-border-box: false !default;
170
128
 
171
129
  @include fortitude-input($extensions);
172
130
 
131
+ border-color: transparent;
132
+ border-style: $fortitude-select-input-border-style;
133
+ border-width: if($fortitude-select-input-border-width != 0, $fortitude-select-input-border-width, 0);
173
134
  height: $fortitude-select-input-height;
174
135
  margin: fortitude-block-margin($fortitude-select-input-height, $fortitude-select-input-border-width, $fortitude-base-line-height) 0;
175
- padding: fortitude-block-padding($fortitude-select-input-height, $fortitude-select-input-border-width, $fortitude-base-line-height);
176
-
177
- @if $fortitude-select-input-border-width != 0 {
178
- border: $fortitude-select-input-border-width $fortitude-select-input-border-style $fortitude-select-input-border-color;
179
- } @else {
180
- border: 0;
181
- }
136
+ padding: fortitude-block-padding($fortitude-select-input-height, $fortitude-select-input-border-width, $fortitude-base-line-height) ($fortitude-select-input-horizontal-padding - $fortitude-select-input-border-width);
182
137
 
183
138
  @if $is-pill {
184
139
  @include fortitude-input--pill;
185
- } @else if $fortitude-select-input-border-radius != 0 {
186
- border-radius: $fortitude-select-input-border-radius;
187
140
  } @else {
188
- border-radius: 0;
189
- }
190
-
191
- @if $fortitude-select-input-background-color {
192
- background-color: $fortitude-select-input-background-color;
141
+ border-radius: if($fortitude-select-input-border-radius != 0, $fortitude-select-input-border-radius, 0);
193
142
  }
194
143
 
195
144
  @if $is-full {
196
145
  @include fortitude-input--full;
197
146
  }
198
147
 
199
- &.placeholder {
200
- color: $fortitude-select-input-placeholder-color;
201
- }
202
-
203
148
  &[multiple] {
204
149
  height: auto;
205
150
  }
@@ -210,27 +155,18 @@ $fortitude-global-border-box: false !default;
210
155
 
211
156
  @include fortitude-input($extensions);
212
157
 
213
- width: $fortitude-checkbox-input-size;
158
+ border-color: transparent;
159
+ border-style: $fortitude-checkbox-input-border-style;
160
+ border-width: if($fortitude-checkbox-input-border-width != 0, $fortitude-checkbox-input-border-width, 0);
214
161
  height: $fortitude-checkbox-input-size;
215
162
  margin: fortitude-block-margin($fortitude-checkbox-input-size + 0.2rem, $fortitude-checkbox-input-border-width, $fortitude-base-line-height) 0;
216
163
  padding: fortitude-block-padding($fortitude-checkbox-input-size, $fortitude-checkbox-input-border-width, $fortitude-base-line-height);
217
-
218
- @if $fortitude-checkbox-input-border-width != 0 {
219
- border: $fortitude-checkbox-input-border-width $fortitude-checkbox-input-border-style $fortitude-checkbox-input-border-color;
220
- } @else {
221
- border: 0;
222
- }
164
+ width: $fortitude-checkbox-input-size;
223
165
 
224
166
  @if $is-pill {
225
167
  @include fortitude-input--pill;
226
- } @else if $fortitude-checkbox-input-border-radius != 0 {
227
- border-radius: $fortitude-checkbox-input-border-radius;
228
168
  } @else {
229
- border-radius: 0;
230
- }
231
-
232
- @if $fortitude-checkbox-input-background-color {
233
- background-color: $fortitude-checkbox-input-background-color;
169
+ border-radius: if($fortitude-checkbox-input-border-radius != 0, $fortitude-checkbox-input-border-radius, 0);
234
170
  }
235
171
  }
236
172
 
@@ -239,27 +175,18 @@ $fortitude-global-border-box: false !default;
239
175
 
240
176
  @include fortitude-input($extensions);
241
177
 
242
- width: $fortitude-radio-input-size;
178
+ border-color: transparent;
179
+ border-style: $fortitude-radio-input-border-style;
180
+ border-width: if($fortitude-radio-input-border-width != 0, $fortitude-radio-input-border-width, 0);
243
181
  height: $fortitude-radio-input-size;
244
182
  margin: fortitude-block-margin($fortitude-radio-input-size + 0.4rem, $fortitude-radio-input-border-width, $fortitude-base-line-height) 0;
245
183
  padding: fortitude-block-padding($fortitude-radio-input-size, $fortitude-radio-input-border-width, $fortitude-base-line-height);
246
-
247
- @if $fortitude-radio-input-border-width != 0 {
248
- border: $fortitude-radio-input-border-width $fortitude-radio-input-border-style $fortitude-radio-input-border-color;
249
- } @else {
250
- border: 0;
251
- }
184
+ width: $fortitude-radio-input-size;
252
185
 
253
186
  @if $is-pill {
254
187
  @include fortitude-input--pill;
255
- } @else if $fortitude-radio-input-border-radius != 0 {
256
- border-radius: $fortitude-radio-input-border-radius;
257
188
  } @else {
258
- border-radius: 0;
259
- }
260
-
261
- @if $fortitude-radio-input-background-color {
262
- background-color: $fortitude-radio-input-background-color;
189
+ border-radius: if($fortitude-radio-input-border-radius != 0, $fortitude-radio-input-border-radius, 0);
263
190
  }
264
191
  }
265
192
 
@@ -269,26 +196,17 @@ $fortitude-global-border-box: false !default;
269
196
 
270
197
  @include fortitude-input($extensions);
271
198
 
199
+ border-color: transparent;
200
+ border-style: $fortitude-range-input-border-style;
201
+ border-width: if($fortitude-range-input-border-width != 0, $fortitude-range-input-border-width, 0);
272
202
  height: $fortitude-range-input-height;
273
203
  margin: fortitude-block-margin($fortitude-range-input-height, $fortitude-range-input-border-width, $fortitude-base-line-height) 0;
274
- padding: fortitude-block-padding($fortitude-range-input-height, $fortitude-range-input-border-width, $fortitude-base-line-height) 0;
275
-
276
- @if $fortitude-range-input-border-width != 0 {
277
- border: $fortitude-range-input-border-width $fortitude-range-input-border-style $fortitude-range-input-border-color;
278
- } @else {
279
- border: 0;
280
- }
204
+ padding: fortitude-block-padding($fortitude-range-input-height, $fortitude-range-input-border-width, $fortitude-base-line-height) ($fortitude-range-input-horizontal-padding - $fortitude-range-input-border-width);
281
205
 
282
206
  @if $is-pill {
283
207
  @include fortitude-input--pill;
284
- } @else if $fortitude-range-input-border-radius != 0 {
285
- border-radius: $fortitude-range-input-border-radius;
286
208
  } @else {
287
- border-radius: 0;
288
- }
289
-
290
- @if $fortitude-range-input-background-color {
291
- background-color: $fortitude-range-input-background-color;
209
+ border-radius: if($fortitude-range-input-border-radius != 0, $fortitude-range-input-border-radius, 0);
292
210
  }
293
211
 
294
212
  @if $is-full {
@@ -302,35 +220,22 @@ $fortitude-global-border-box: false !default;
302
220
 
303
221
  @include fortitude-input($extensions);
304
222
 
223
+ border-color: transparent;
224
+ border-style: $fortitude-color-input-border-style;
225
+ border-width: if($fortitude-color-input-border-width != 0, $fortitude-color-input-border-width, 0);
305
226
  height: $fortitude-color-input-height;
306
227
  margin: fortitude-block-margin($fortitude-color-input-height, $fortitude-color-input-border-width, $fortitude-base-line-height) 0;
307
- padding: fortitude-block-padding($fortitude-color-input-height, $fortitude-color-input-border-width, $fortitude-base-line-height);
308
-
309
- @if $fortitude-color-input-border-width != 0 {
310
- border: $fortitude-color-input-border-width $fortitude-color-input-border-style $fortitude-color-input-border-color;
311
- } @else {
312
- border: 0;
313
- }
228
+ padding: fortitude-block-padding($fortitude-color-input-height, $fortitude-color-input-border-width, $fortitude-base-line-height) ($fortitude-color-input-horizontal-padding - $fortitude-color-input-border-width);
314
229
 
315
230
  @if $is-pill {
316
231
  @include fortitude-input--pill;
317
- } @else if $fortitude-color-input-border-radius != 0 {
318
- border-radius: $fortitude-color-input-border-radius;
319
232
  } @else {
320
- border-radius: 0;
321
- }
322
-
323
- @if $fortitude-color-input-background-color {
324
- background-color: $fortitude-color-input-background-color;
233
+ border-radius: if($fortitude-color-input-border-radius != 0, $fortitude-color-input-border-radius, 0);
325
234
  }
326
235
 
327
236
  @if $is-full {
328
237
  @include fortitude-input--full;
329
238
  }
330
-
331
- &::placeholder {
332
- color: $fortitude-color-input-placeholder-color;
333
- }
334
239
  }
335
240
 
336
241
  @mixin fortitude-input--full {
@@ -362,4 +267,4 @@ $fortitude-global-border-box: false !default;
362
267
  &:focus {
363
268
  outline: 0;
364
269
  }
365
- }
270
+ }
@@ -16,8 +16,6 @@
16
16
  html {
17
17
  font-size: $fortitude-base-rem-font-size;
18
18
  /* [1] */
19
- background-color: $fortitude-base-background-color;
20
- color: $fortitude-base-color;
21
19
  overflow-y: scroll;
22
20
  /* [2] */
23
21
  min-height: 100%;
@@ -14,8 +14,6 @@
14
14
 
15
15
  $fortitude-base-font-size: 1.2rem !default;
16
16
  $fortitude-base-line-height: 2rem !default;
17
- $fortitude-base-color: #333 !default;
18
- $fortitude-base-background-color: #fff !default;
19
17
  $fortitude-class-breakpoints: (xs: null, sm: 768px, md: 992px, lg: 1200px) !default;
20
18
  $fortitude-enable-vendor-optimizations: false !default;
21
19
 
@@ -87,7 +87,7 @@
87
87
 
88
88
  @function fortitude-block-padding($block-height, $block-border-width: 0rem, $block-line-height: $fortitude-base-line-height) {
89
89
  $value: fortitude-halve($block-height - $block-line-height - fortitude-double($block-border-width));
90
- @return fortitude-strip-unit-if-zero($value);
90
+ @return if($value > 0, fortitude-strip-unit-if-zero($value), 0);
91
91
  }
92
92
 
93
93
  @function fortitude-map-to-query($map) {
@@ -110,4 +110,4 @@
110
110
  } @else {
111
111
  @return null;
112
112
  }
113
- }
113
+ }
data/bower.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fortitude-sass",
3
3
  "homepage": "http://fortitude.io/",
4
- "version": "0.7.5",
4
+ "version": "0.7.7",
5
5
  "main": [
6
6
  "app/assets/stylesheets/fortitude/tools/_functions.scss",
7
7
  "app/assets/stylesheets/fortitude/tools/_mixins.scss",
@@ -1,3 +1,3 @@
1
1
  module Fortitude
2
- VERSION = '0.7.5'
2
+ VERSION = '0.7.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fortitude-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Reisman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-16 00:00:00.000000000 Z
11
+ date: 2015-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -100,6 +100,7 @@ files:
100
100
  - Gemfile
101
101
  - Gemfile.lock
102
102
  - Gruntfile.js
103
+ - LICENSE
103
104
  - README.md
104
105
  - Rakefile
105
106
  - app/assets/images/icons/hamburger.png
@@ -267,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
268
  version: '0'
268
269
  requirements: []
269
270
  rubyforge_project: fortitude-sass
270
- rubygems_version: 2.4.3
271
+ rubygems_version: 2.4.5.1
271
272
  signing_key:
272
273
  specification_version: 4
273
274
  summary: Fortitude Sass Framework