toolkit 2.7.0 → 2.8.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: 58d37125285242e58743c407bea4f55f2c087512
4
- data.tar.gz: 47fbc89356ca7d94ac53a59bcede133fc65e0edf
3
+ metadata.gz: 7eed398608e38b71b5129725f1ee9085f5fe3378
4
+ data.tar.gz: f6fb1d263d7768f398730ba32f182e522f655d0a
5
5
  SHA512:
6
- metadata.gz: f92243b070a6ff815f6b4acccf1e29752cf231aeeecd85924197673513dfb0e396f8b276ee392d2181cbc9d6b457bd0993a8f0d7c5d899bf1c7d25203a56547c
7
- data.tar.gz: 0460fcfc57746bf8968be8c3259eddb081cdbc56d77ebaebffeab2b5e26a914e359a0ff1a16af9cd065b2c463ebc40ac92cfa33ac1fc8aacdba039595a9b221c
6
+ metadata.gz: 2536b135886fa7675f6ba22e7db9582b217634fbd60da673db1b2ea28b410dcdc384501d944994ff23c2a4733ff256b4fca1d20e90d04cce7c233909293f1fb8
7
+ data.tar.gz: 3f7aa7ba701fc26e0722f85ff7e3bbad25e2f0178be3761184184ad109f1fee9ae6e8dff9308d552f55067b324ebac3f7525e9de4e17afd229057113b5bfc270
data/lib/toolkit.rb CHANGED
@@ -12,6 +12,6 @@ end
12
12
 
13
13
 
14
14
  module Toolkit
15
- VERSION = "2.7.0"
16
- DATE = "2015-01-21"
17
- end
15
+ VERSION = "2.8.0"
16
+ DATE = "2015-03-03"
17
+ end
@@ -30,11 +30,11 @@
30
30
  $font-stack: ();
31
31
  $font-src: '';
32
32
  $eot: false;
33
- $font-extensions: ('eot': 'embedded-opentype', 'woff': 'woff', 'ttf': 'truetype', 'svg': 'svg');
33
+ $font-extensions: ('eot': 'embedded-opentype', 'woff2': 'woff2', 'woff': 'woff', 'ttf': 'truetype', 'svg': 'svg');
34
34
 
35
35
  @each $ext, $format in $font-extensions {
36
36
  @if map-has-key($files, $ext) {
37
- @if function-exists(inline-font-files) and $inline-woff == true and $ext == 'woff' {
37
+ @if function-exists(inline-font-files) and $inline-woff == true and ($ext == 'woff' or $ext == 'woff2') {
38
38
  $font-src: inline-font-files(map-get($files, $ext));
39
39
  }
40
40
  @else if function-exists(font-url) {
@@ -133,4 +133,4 @@
133
133
  opacity: 0;
134
134
  }
135
135
  }
136
- }
136
+ }
@@ -1,4 +1,4 @@
1
- *, *:before, *:after {
1
+ html {
2
2
  @if mixin-exists('box-sizing') {
3
3
  @include box-sizing('border-box');
4
4
  }
@@ -8,7 +8,14 @@
8
8
  }
9
9
  }
10
10
 
11
- img, video {
11
+ *, *:before, *:after {
12
+ box-sizing: inherit;
13
+ }
14
+
15
+ embed,
16
+ img,
17
+ object,
18
+ video {
12
19
  max-width: 100%;
13
20
  height: auto;
14
- }
21
+ }
@@ -0,0 +1,480 @@
1
+ /*! Reset/normalize hybrid with major contributions from normalize.css, html5doctor.com Reset Stylesheet, and http://html5reset.org/
2
+
3
+ * Sam Richard - http://snugug.com/
4
+ * Nicholas Gallagher, Jonathan Neal - http://necolas.github.io/normalize.css/
5
+ * Richard Clark - http://richclarkdesign.com
6
+ * Tim Murtaugh - http://monkeydo.biz/
7
+ */
8
+
9
+ //////////////////////////////
10
+ // Basic reset
11
+ //////////////////////////////
12
+ abbr,
13
+ address,
14
+ article,
15
+ aside,
16
+ audio,
17
+ b,
18
+ blockquote,
19
+ body,
20
+ canvas,
21
+ caption,
22
+ cite,
23
+ code,
24
+ dd,
25
+ del,
26
+ details,
27
+ dfn,
28
+ div,
29
+ dl,
30
+ dt,
31
+ em,
32
+ fieldset,
33
+ figcaption,
34
+ figure,
35
+ footer,
36
+ form,
37
+ h1,
38
+ h2,
39
+ h3,
40
+ h4,
41
+ h5,
42
+ h6,
43
+ header,
44
+ hgroup,
45
+ html,
46
+ i,
47
+ iframe,
48
+ img,
49
+ ins,
50
+ kbd,
51
+ label,
52
+ legend,
53
+ li,
54
+ mark,
55
+ main,
56
+ menu,
57
+ nav,
58
+ object,
59
+ ol,
60
+ p,
61
+ pre,
62
+ q,
63
+ samp,
64
+ section,
65
+ small,
66
+ span,
67
+ strong,
68
+ sub,
69
+ summary,
70
+ sup,
71
+ table,
72
+ tbody,
73
+ td,
74
+ tfoot,
75
+ th,
76
+ thead,
77
+ time,
78
+ tr,
79
+ ul,
80
+ var,
81
+ video {
82
+ background: transparent;
83
+ border: 0;
84
+ font-size: 100%;
85
+ margin: 0;
86
+ outline: 0;
87
+ padding: 0;
88
+ vertical-align: baseline;
89
+ }
90
+
91
+ //////////////////////////////
92
+ // Prevent iOS text size adjust after orientation change, without disabling user zoom.
93
+ //////////////////////////////
94
+
95
+ html {
96
+ -ms-text-size-adjust: 100%;
97
+ -webkit-text-size-adjust: 100%;
98
+ }
99
+
100
+ //////////////////////////////
101
+ // Resets body line height
102
+ //////////////////////////////
103
+
104
+ body {
105
+ line-height: 1;
106
+ }
107
+
108
+ //////////////////////////////////////////////////////////////////////////
109
+ // HTML5 display definitions
110
+ //////////////////////////////////////////////////////////////////////////
111
+
112
+
113
+ //////////////////////////////
114
+ // Correct `block` display not defined for any HTML5 element in IE 8/9.
115
+ // Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
116
+ // Correct `block` display not defined for `main` in IE 11.
117
+ //////////////////////////////
118
+
119
+ article,
120
+ aside,
121
+ details,
122
+ figcaption,
123
+ figure,
124
+ footer,
125
+ header,
126
+ hgroup,
127
+ main,
128
+ menu,
129
+ nav,
130
+ section,
131
+ summary {
132
+ display: block;
133
+ }
134
+
135
+ //////////////////////////////
136
+ // 1. Correct `inline-block` display not defined in IE 8/9.
137
+ // 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
138
+ //////////////////////////////
139
+
140
+ audio,
141
+ canvas,
142
+ progress,
143
+ video {
144
+ display: inline-block; // 1
145
+ vertical-align: baseline; // 2
146
+ }
147
+
148
+ //////////////////////////////
149
+ // Prevent modern browsers from displaying `audio` without controls.
150
+ // Remove excess height in iOS 5 devices.
151
+ //////////////////////////////
152
+
153
+ audio:not([controls]) {
154
+ display: none;
155
+ height: 0;
156
+ }
157
+
158
+ //////////////////////////////
159
+ // Address `[hidden]` styling not present in IE 8/9/10.
160
+ // Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
161
+ //////////////////////////////
162
+
163
+ [hidden],
164
+ template {
165
+ display: none;
166
+ }
167
+
168
+ //////////////////////////////////////////////////////////////////////////
169
+ // Links
170
+ //////////////////////////////////////////////////////////////////////////
171
+
172
+ //////////////////////////////
173
+ // Remove the gray background color from active links in IE 10.
174
+ //////////////////////////////
175
+
176
+ a {
177
+ background-color: transparent;
178
+ font-size: 100%;
179
+ margin: 0;
180
+ padding: 0;
181
+ vertical-align: baseline;
182
+ }
183
+
184
+ //////////////////////////////
185
+ // Improve readability when focused and also mouse hovered in all browsers.
186
+ //////////////////////////////
187
+
188
+ a:active,
189
+ a:hover {
190
+ outline: 0;
191
+ }
192
+
193
+ //////////////////////////////////////////////////////////////////////////
194
+ // Text-level semantics
195
+ //////////////////////////////////////////////////////////////////////////
196
+
197
+ //////////////////////////////
198
+ // Address styling not present in IE 8/9/10/11, Safari, and Chrome.
199
+ //////////////////////////////
200
+
201
+ abbr[title],
202
+ dfn[title] {
203
+ border-bottom: 1px dotted;
204
+ cursor: help;
205
+ }
206
+
207
+ //////////////////////////////
208
+ // Remove text decoration
209
+ //////////////////////////////
210
+
211
+ ins {
212
+ text-decoration: none;
213
+ }
214
+
215
+ //////////////////////////////
216
+ // Adds strikethrough
217
+ //////////////////////////////
218
+ del {
219
+ text-decoration: line-through;
220
+ }
221
+
222
+ //////////////////////////////
223
+ // Reset quotes for blockquote
224
+ //////////////////////////////
225
+
226
+ blockquote,
227
+ q {
228
+ quotes: none;
229
+ }
230
+
231
+ blockquote:before,
232
+ blockquote:after,
233
+ q:before,
234
+ q:after {
235
+ content: '';
236
+ content: none;
237
+ }
238
+
239
+ //////////////////////////////
240
+ // Remove list style for lists
241
+ //////////////////////////////
242
+ ul {
243
+ list-style: none;
244
+ }
245
+
246
+ //////////////////////////////////////////////////////////////////////////
247
+ // Embedded content
248
+ //////////////////////////////////////////////////////////////////////////
249
+
250
+ //////////////////////////////
251
+ // Remove border when inside `a` element in IE 8/9/10.
252
+ //////////////////////////////
253
+ img {
254
+ border: 0;
255
+ }
256
+
257
+ //////////////////////////////
258
+ // Correct overflow not hidden in IE 9/10/11.
259
+ //////////////////////////////
260
+
261
+ svg:not(:root) {
262
+ overflow: hidden;
263
+ }
264
+
265
+ //////////////////////////////////////////////////////////////////////////
266
+ // Grouping content
267
+ //////////////////////////////////////////////////////////////////////////
268
+
269
+ //////////////////////////////
270
+ // 1. Contain overflow in all browsers.
271
+ // 2. Pre-format text
272
+ //////////////////////////////
273
+
274
+ pre {
275
+ overflow: auto; // 1
276
+ white-space: pre; // 2
277
+ white-space: pre-wrap; // 2
278
+ white-space: pre-line; // 2
279
+ word-wrap: break-word; // 2
280
+ }
281
+
282
+ //////////////////////////////
283
+ // 1. Address odd `em`-unit font size rendering in all browsers.
284
+ // 2. Ensure monospace font
285
+ //////////////////////////////
286
+
287
+ code,
288
+ kbd,
289
+ pre,
290
+ samp {
291
+ font-size: 1em; // 1
292
+ font-family: monospace, sans-serif;
293
+ }
294
+
295
+ //////////////////////////////
296
+ // Address differences between Firefox and other browsers
297
+ //////////////////////////////
298
+
299
+ hr {
300
+ display: block;
301
+ height: 1px;
302
+ border: 0;
303
+ border-top: 1px solid;
304
+ margin: 1em 0;
305
+ padding: 0;
306
+ }
307
+
308
+ //////////////////////////////////////////////////////////////////////////
309
+ // Forms
310
+ //////////////////////////////////////////////////////////////////////////
311
+
312
+ //////////////////////////////
313
+ // Known limitation: by default, Chrome and Safari on OS X allow very limited styling of `select`, unless a `border` property is set.
314
+ //////////////////////////////
315
+
316
+ //////////////////////////////
317
+ // 1. Correct color not being inherited.
318
+ // Known issue: affects color of disabled elements.
319
+ // 2. Correct font properties not being inherited.
320
+ // 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
321
+ //////////////////////////////
322
+
323
+ button,
324
+ input,
325
+ optgroup,
326
+ select,
327
+ textarea {
328
+ color: inherit; // 1
329
+ font: inherit; // 2
330
+ margin: 0; // 3
331
+ }
332
+
333
+ //////////////////////////////
334
+ // Address `overflow` set to `hidden` in IE 8/9/10/11.
335
+ //////////////////////////////
336
+
337
+ button,
338
+ input[type="button"] {
339
+ overflow: visible;
340
+ }
341
+
342
+ //////////////////////////////
343
+ // Address inconsistent `text-transform` inheritance for `button` and `select`.
344
+ // All other form control elements do not inherit `text-transform` values.
345
+ // Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
346
+ // Correct `select` style inheritance in Firefox.
347
+ //////////////////////////////
348
+
349
+ button,
350
+ select {
351
+ text-transform: none;
352
+ }
353
+
354
+ //////////////////////////////
355
+ // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
356
+ // 2. Correct inability to style clickable `input` types in iOS.
357
+ // 3. Improve usability and consistency of cursor style between image-type `input` and others.
358
+ //////////////////////////////
359
+
360
+ button,
361
+ html input[type="button"], // 1
362
+ input[type="file"],
363
+ input[type="reset"],
364
+ input[type="submit"] {
365
+ -webkit-appearance: button; // 2
366
+ cursor: pointer; // 3
367
+ }
368
+
369
+ //////////////////////////////
370
+ // Re-set default cursor for disabled elements.
371
+ //////////////////////////////
372
+
373
+ button[disabled],
374
+ html input[disabled] {
375
+ cursor: default;
376
+ }
377
+
378
+ //////////////////////////////
379
+ // Remove inner padding and border in Firefox 4+.
380
+ //////////////////////////////
381
+
382
+ button::-moz-focus-inner,
383
+ input::-moz-focus-inner {
384
+ border: 0;
385
+ padding: 0;
386
+ }
387
+
388
+ //////////////////////////////
389
+ // Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
390
+ //////////////////////////////
391
+
392
+ input {
393
+ line-height: normal;
394
+ }
395
+
396
+ //////////////////////////////
397
+ // It's recommended that you don't attempt to style these elements.
398
+ // Firefox's implementation doesn't respect box-sizing, padding, or width.
399
+ //
400
+ // Removes excess padding in IE 8/9/10.
401
+ //////////////////////////////
402
+
403
+ input[type="checkbox"],
404
+ input[type="radio"] {
405
+ padding: 0;
406
+ }
407
+
408
+ //////////////////////////////
409
+ // Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`.
410
+ //////////////////////////////
411
+
412
+ input[type="number"]::-webkit-inner-spin-button,
413
+ input[type="number"]::-webkit-outer-spin-button {
414
+ height: auto;
415
+ }
416
+
417
+ //////////////////////////////
418
+ // Remove inner padding and search cancel button in Safari and Chrome on OS X.
419
+ // Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance).
420
+ //////////////////////////////
421
+
422
+ input[type="search"]::-webkit-search-cancel-button,
423
+ input[type="search"]::-webkit-search-decoration {
424
+ -webkit-appearance: none;
425
+ }
426
+
427
+ //////////////////////////////
428
+ // 1. Correct `color` not being inherited in IE 8/9/10/11.
429
+ // 2. Remove padding so people aren't caught out if they zero out fieldsets.
430
+ //////////////////////////////
431
+
432
+ legend {
433
+ border: 0; // 1
434
+ padding: 0; // 2
435
+ }
436
+
437
+ //////////////////////////////
438
+ // Remove default vertical scrollbar in IE 8/9/10/11.
439
+ //////////////////////////////
440
+
441
+ textarea {
442
+ overflow: auto;
443
+ }
444
+
445
+ //////////////////////////////
446
+ // Align input and select text
447
+ //////////////////////////////
448
+
449
+ input,
450
+ select {
451
+ vertical-align:middle;
452
+ }
453
+
454
+ //////////////////////////////////////////////////////////////////////////
455
+ // Tables
456
+ //////////////////////////////////////////////////////////////////////////
457
+
458
+ //////////////////////////////
459
+ // Remove most spacing between table cells.
460
+ //////////////////////////////
461
+
462
+ table {
463
+ border-collapse: collapse;
464
+ border-spacing: 0;
465
+ }
466
+
467
+ //////////////////////////////
468
+ // Remove padding from table cell and table header
469
+ //////////////////////////////
470
+
471
+ td,
472
+ th {
473
+ padding: 0;
474
+ }
475
+
476
+ //////////////////////////////////////////////////////////////////////////
477
+ // Kickstart
478
+ //////////////////////////////////////////////////////////////////////////
479
+
480
+ @import "kickstart";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Richard
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-01-21 00:00:00.000000000 Z
13
+ date: 2015-03-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sass
@@ -48,6 +48,7 @@ files:
48
48
  - stylesheets/toolkit/_nested-context.scss
49
49
  - stylesheets/toolkit/_parallax.scss
50
50
  - stylesheets/toolkit/_placeholders.scss
51
+ - stylesheets/toolkit/_reset.scss
51
52
  - stylesheets/toolkit/_rtl.scss
52
53
  - stylesheets/toolkit/_set-multiple.scss
53
54
  - stylesheets/toolkit/_settings.scss