skeletor_backbone 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +43 -0
  6. data/Rakefile +1 -0
  7. data/app/assets/stylesheets/skeletor.sass +21 -0
  8. data/app/assets/stylesheets/skeletor/_all.sass +5 -0
  9. data/app/assets/stylesheets/skeletor/_css3.sass +26 -0
  10. data/app/assets/stylesheets/skeletor/_functions.sass +13 -0
  11. data/app/assets/stylesheets/skeletor/_mixins.sass +23 -0
  12. data/app/assets/stylesheets/skeletor/_settings.sass +153 -0
  13. data/app/assets/stylesheets/skeletor/base/debug.sass +132 -0
  14. data/app/assets/stylesheets/skeletor/base/foundation.sass +537 -0
  15. data/app/assets/stylesheets/skeletor/base/helpers.sass +203 -0
  16. data/app/assets/stylesheets/skeletor/base/print.sass +46 -0
  17. data/app/assets/stylesheets/skeletor/base/reset.sass +125 -0
  18. data/app/assets/stylesheets/skeletor/globals/css3/_animation.sass +34 -0
  19. data/app/assets/stylesheets/skeletor/globals/css3/_appearance.sass +39 -0
  20. data/app/assets/stylesheets/skeletor/globals/css3/_backface_visibility.sass +36 -0
  21. data/app/assets/stylesheets/skeletor/globals/css3/_border_radius.sass +75 -0
  22. data/app/assets/stylesheets/skeletor/globals/css3/_box_shadow.sass +38 -0
  23. data/app/assets/stylesheets/skeletor/globals/css3/_box_sizing.sass +40 -0
  24. data/app/assets/stylesheets/skeletor/globals/css3/_flexbox.sass +179 -0
  25. data/app/assets/stylesheets/skeletor/globals/css3/_gradients.sass +54 -0
  26. data/app/assets/stylesheets/skeletor/globals/css3/_hyphens.sass +38 -0
  27. data/app/assets/stylesheets/skeletor/globals/css3/_perspective.sass +50 -0
  28. data/app/assets/stylesheets/skeletor/globals/css3/_prefixer.sass +76 -0
  29. data/app/assets/stylesheets/skeletor/globals/css3/_tab_size.sass +39 -0
  30. data/app/assets/stylesheets/skeletor/globals/css3/_text_shadow.sass +38 -0
  31. data/app/assets/stylesheets/skeletor/globals/css3/_transform.sass +112 -0
  32. data/app/assets/stylesheets/skeletor/globals/css3/_transition.sass +35 -0
  33. data/app/assets/stylesheets/skeletor/globals/css3/_user_select.sass +39 -0
  34. data/app/assets/stylesheets/skeletor/globals/functions/_calculate_em.sass +43 -0
  35. data/app/assets/stylesheets/skeletor/globals/functions/_calculate_modular_scale.sass +85 -0
  36. data/app/assets/stylesheets/skeletor/globals/functions/_calculate_percent.sass +42 -0
  37. data/app/assets/stylesheets/skeletor/globals/functions/_calculate_rem.sass +42 -0
  38. data/app/assets/stylesheets/skeletor/globals/functions/_strip_units.sass +38 -0
  39. data/app/assets/stylesheets/skeletor/globals/mixins/_accessibility.sass +49 -0
  40. data/app/assets/stylesheets/skeletor/globals/mixins/_grid_pull.sass +311 -0
  41. data/app/assets/stylesheets/skeletor/globals/mixins/_grid_push.sass +313 -0
  42. data/app/assets/stylesheets/skeletor/globals/mixins/_grid_widths.sass +275 -0
  43. data/app/assets/stylesheets/skeletor/globals/mixins/_hidpi.sass +38 -0
  44. data/app/assets/stylesheets/skeletor/globals/mixins/_media_query.sass +71 -0
  45. data/app/assets/stylesheets/skeletor/globals/mixins/_opacity.sass +36 -0
  46. data/app/assets/stylesheets/skeletor/globals/mixins/_position.sass +65 -0
  47. data/app/assets/stylesheets/skeletor/globals/mixins/_rem.sass +102 -0
  48. data/app/assets/stylesheets/skeletor/globals/mixins/_retina_image.sass +53 -0
  49. data/app/assets/stylesheets/skeletor/globals/mixins/_rgba.sass +37 -0
  50. data/app/assets/stylesheets/skeletor/globals/mixins/_silent_relative.sass +41 -0
  51. data/app/assets/stylesheets/skeletor/globals/mixins/_size.sass +71 -0
  52. data/app/assets/stylesheets/skeletor/globals/mixins/_triangle.sass +69 -0
  53. data/app/assets/stylesheets/skeletor/globals/mixins/_truncate_text.sass +41 -0
  54. data/app/assets/stylesheets/skeletor/globals/settings/_easing.sass +47 -0
  55. data/app/assets/stylesheets/skeletor/globals/settings/_font_stacks.sass +65 -0
  56. data/app/assets/stylesheets/skeletor/globals/settings/_html5_input_types.sass +51 -0
  57. data/app/assets/stylesheets/skeletor/layout/_grid.sass +147 -0
  58. data/app/assets/stylesheets/skeletor/layout/skeleton.sass +58 -0
  59. data/lib/generators/skeletor/install_generator.rb +26 -0
  60. data/lib/sass/sass_extend.rb +107 -0
  61. data/lib/skeletor_backbone.rb +23 -0
  62. data/lib/skeletor_backbone/version.rb +3 -0
  63. data/skeletor_backbone.gemspec +26 -0
  64. data/vendor/assets/stylesheets/normalize.css +406 -0
  65. metadata +163 -0
@@ -0,0 +1,58 @@
1
+ // Layout Styles based on SMACSS
2
+ // For more info on SMACSS - http://smacss.com/book/type-layout
3
+ //
4
+ // =============================================================================
5
+ // Table of Contents
6
+ // =============================================================================
7
+ //
8
+ // IMPORTS......................Imported Sass Methods
9
+ // RESPONSIVE GRIDS.............Grid System
10
+ // BASE STRUCTURE...............Content, Containers
11
+ //
12
+
13
+
14
+ // -----------------------------------------------------------------------------
15
+ // :: IMPORTS
16
+ // -----------------------------------------------------------------------------
17
+ @import "grid"
18
+
19
+
20
+
21
+
22
+ @if $grid
23
+ // ---------------------------------------------------------------------------
24
+ // :: RESPONSIVE GRIDS
25
+ // ---------------------------------------------------------------------------
26
+ // Extends placeholder from 'backbone/grid'
27
+ .l-grid
28
+ @extend %grid
29
+
30
+ .l-grid--full
31
+ @extend %grid
32
+ @extend %grid--full
33
+
34
+ .l-grid__item
35
+ @extend %grid__item
36
+
37
+
38
+
39
+
40
+
41
+ // -----------------------------------------------------------------------------
42
+ // :: BASE STRUCTURE
43
+ // -----------------------------------------------------------------------------
44
+ // Site Container full height max width
45
+ .l-container
46
+ height: auto
47
+ min-height: 100%
48
+ width: 100%
49
+
50
+ // Page max width wrapper
51
+ .l-content
52
+ margin: 0 auto
53
+ //max-width: $base-width
54
+ //width: 95%
55
+
56
+ // 100% width container
57
+ .l-content--full
58
+ width: 100%
@@ -0,0 +1,26 @@
1
+ require 'rails/generators'
2
+
3
+ module Skeletor
4
+ module Generators
5
+ class InstallGenerator < Rails::Generators::Base
6
+ source_root File.join(File.dirname(__FILE__), '..', 'templates')
7
+
8
+ def add_assets
9
+ # settings_file = File.read("#{SkeletorBackbone::css_path}/_settings.sass")
10
+ # create_file "app/assets/stylesheets/skeletor_and_settings.sass", File.read(settings_file)
11
+ `sass-convert --from sass --to scss "#{SkeletorBackbone::css_path}/_settings.sass" "app/assets/stylesheets/skeletor_backbone.scss"`
12
+ append_to_file "app/assets/stylesheets/skeletor_backbone.scss", "\n@import \"skeletor\";\n"
13
+ insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "\n#{detect_css_format[1]} require normalize \n#{detect_css_format[1]} require skeletor_backbone", :after => "require_self"
14
+ end
15
+
16
+ def detect_css_format
17
+ return ['.css', ' *='] if File.exist?('app/assets/stylesheets/application.css')
18
+ return ['.css.sass', '//='] if File.exist?('app/assets/stylesheets/application.css.sass')
19
+ return ['.sass', '//='] if File.exist?('app/assets/stylesheets/application.sass')
20
+ return ['.css.scss', '//='] if File.exist?('app/assets/stylesheets/application.css.scss')
21
+ return ['.scss', '//='] if File.exist?('app/assets/stylesheets/application.scss')
22
+ end
23
+
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,107 @@
1
+ require 'sass'
2
+
3
+ module Sass::Script::Functions
4
+ # Sass Math Helpers
5
+ def power(base, exponent)
6
+ base = base.value.to_f
7
+ exponent = exponent.value.to_f
8
+ result = base ** exponent
9
+ Sass::Script::Number.new(result)
10
+ end
11
+
12
+ # Return Calculated Modular Scale Values
13
+ def calculate_ms_ratio(num1, num2)
14
+ value = num1 / num2
15
+ return value
16
+ end
17
+
18
+ def golden_ratio
19
+ result = (1.0 / 2.0) + (Math.sqrt(5) / 2.0)
20
+ Sass::Script::Number.new(result)
21
+ end
22
+
23
+ def minor_second
24
+ result = calculate_ms_ratio(16, 15.0)
25
+ Sass::Script::Number.new(result)
26
+ end
27
+
28
+ def major_second
29
+ result = calculate_ms_ratio(9, 8.0)
30
+ Sass::Script::Number.new(result)
31
+ end
32
+
33
+ def minor_third
34
+ result = calculate_ms_ratio(6, 5.0)
35
+ Sass::Script::Number.new(result)
36
+ end
37
+
38
+ def major_third
39
+ result = calculate_ms_ratio(5, 4.0)
40
+ Sass::Script::Number.new(result)
41
+ end
42
+
43
+ def perfect_fourth
44
+ result = calculate_ms_ratio(4, 3.0)
45
+ Sass::Script::Number.new(result)
46
+ end
47
+
48
+ def augmented_fourth
49
+ result = calculate_ms_ratio(Math.sqrt(2), 1.0)
50
+ Sass::Script::Number.new(result)
51
+ end
52
+
53
+ def diminished_fifth
54
+ return augmented_fourth
55
+ end
56
+
57
+ def perfect_fifth
58
+ result = calculate_ms_ratio(3, 2.0)
59
+ Sass::Script::Number.new(result)
60
+ end
61
+
62
+ def minor_sixth
63
+ result = calculate_ms_ratio(8, 5.0)
64
+ Sass::Script::Number.new(result)
65
+ end
66
+
67
+ def major_sixth
68
+ result = calculate_ms_ratio(5, 3.0)
69
+ Sass::Script::Number.new(result)
70
+ end
71
+
72
+ def minor_seventh
73
+ result = calculate_ms_ratio(16, 9.0)
74
+ Sass::Script::Number.new(result)
75
+ end
76
+
77
+ def major_seventh
78
+ result = calculate_ms_ratio(15, 8.0)
79
+ Sass::Script::Number.new(result)
80
+ end
81
+
82
+ def octave
83
+ result = calculate_ms_ratio(2, 1.0)
84
+ Sass::Script::Number.new(result)
85
+ end
86
+
87
+ def major_tenth
88
+ result = calculate_ms_ratio(5, 2.0)
89
+ Sass::Script::Number.new(result)
90
+ end
91
+
92
+ def major_eleventh
93
+ result = calculate_ms_ratio(8, 3.0)
94
+ Sass::Script::Number.new(result)
95
+ end
96
+
97
+ def major_twelfth
98
+ result = calculate_ms_ratio(3, 1.0)
99
+ Sass::Script::Number.new(result)
100
+ end
101
+
102
+ def double_octave
103
+ result = calculate_ms_ratio(4, 1.0)
104
+ Sass::Script::Number.new(result)
105
+ end
106
+
107
+ end
@@ -0,0 +1,23 @@
1
+ require "skeletor_backbone/version"
2
+ require "sass/sass_extend"
3
+
4
+ module SkeletorBackbone
5
+ def self.root_path
6
+ File.expand_path('../..', __FILE__)
7
+ end
8
+
9
+ def self.js_path
10
+ File.expand_path("#{root_path}/app/assets/javascripts/skeletor", __FILE__)
11
+ end
12
+
13
+ def self.css_path
14
+ File.expand_path("#{root_path}/app/assets/stylesheets/skeletor", __FILE__)
15
+ end
16
+
17
+ class Engine < Rails::Engine
18
+ # require 'sass'
19
+ initializer "normalize.css asset precompile" do |app|
20
+ app.config.assets.precompile += %w( vendor/normalize.css )
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,3 @@
1
+ module SkeletorBackbone
2
+ VERSION = "0.0.3"
3
+ end
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'skeletor_backbone/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "skeletor_backbone"
8
+ spec.version = SkeletorBackbone::VERSION
9
+ spec.authors = ["Mike Reinmiller"]
10
+ spec.email = ["mikereinmiller@gmail.com"]
11
+ spec.summary = %q{Style-Agnostic CSS Framework}
12
+ spec.description = %q{CSS Framework with boilerplate styles without being too intrusive}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.5"
22
+ spec.add_development_dependency "rake"
23
+
24
+ spec.add_runtime_dependency "sass", ">= 3.2.0"
25
+ spec.add_dependency "railties", ">= 3.1.0"
26
+ end
@@ -0,0 +1,406 @@
1
+ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 8/9.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ }
35
+
36
+ /**
37
+ * Prevent modern browsers from displaying `audio` without controls.
38
+ * Remove excess height in iOS 5 devices.
39
+ */
40
+
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+
46
+ /**
47
+ * Address `[hidden]` styling not present in IE 8/9.
48
+ * Hide the `template` element in IE, Safari, and Firefox < 22.
49
+ */
50
+
51
+ [hidden],
52
+ template {
53
+ display: none;
54
+ }
55
+
56
+ /* ==========================================================================
57
+ Base
58
+ ========================================================================== */
59
+
60
+ /**
61
+ * 1. Set default font family to sans-serif.
62
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
63
+ * user zoom.
64
+ */
65
+
66
+ html {
67
+ font-family: sans-serif; /* 1 */
68
+ -ms-text-size-adjust: 100%; /* 2 */
69
+ -webkit-text-size-adjust: 100%; /* 2 */
70
+ }
71
+
72
+ /**
73
+ * Remove default margin.
74
+ */
75
+
76
+ body {
77
+ margin: 0;
78
+ }
79
+
80
+ /* ==========================================================================
81
+ Links
82
+ ========================================================================== */
83
+
84
+ /**
85
+ * Remove the gray background color from active links in IE 10.
86
+ */
87
+
88
+ a {
89
+ background: transparent;
90
+ }
91
+
92
+ /**
93
+ * Address `outline` inconsistency between Chrome and other browsers.
94
+ */
95
+
96
+ a:focus {
97
+ outline: thin dotted;
98
+ }
99
+
100
+ /**
101
+ * Improve readability when focused and also mouse hovered in all browsers.
102
+ */
103
+
104
+ a:active,
105
+ a:hover {
106
+ outline: 0;
107
+ }
108
+
109
+ /* ==========================================================================
110
+ Typography
111
+ ========================================================================== */
112
+
113
+ /**
114
+ * Address variable `h1` font-size and margin within `section` and `article`
115
+ * contexts in Firefox 4+, Safari 5, and Chrome.
116
+ */
117
+
118
+ h1 {
119
+ font-size: 2em;
120
+ margin: 0.67em 0;
121
+ }
122
+
123
+ /**
124
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
125
+ */
126
+
127
+ abbr[title] {
128
+ border-bottom: 1px dotted;
129
+ }
130
+
131
+ /**
132
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
133
+ */
134
+
135
+ b,
136
+ strong {
137
+ font-weight: bold;
138
+ }
139
+
140
+ /**
141
+ * Address styling not present in Safari 5 and Chrome.
142
+ */
143
+
144
+ dfn {
145
+ font-style: italic;
146
+ }
147
+
148
+ /**
149
+ * Address differences between Firefox and other browsers.
150
+ */
151
+
152
+ hr {
153
+ -moz-box-sizing: content-box;
154
+ box-sizing: content-box;
155
+ height: 0;
156
+ }
157
+
158
+ /**
159
+ * Address styling not present in IE 8/9.
160
+ */
161
+
162
+ mark {
163
+ background: #ff0;
164
+ color: #000;
165
+ }
166
+
167
+ /**
168
+ * Correct font family set oddly in Safari 5 and Chrome.
169
+ */
170
+
171
+ code,
172
+ kbd,
173
+ pre,
174
+ samp {
175
+ font-family: monospace, serif;
176
+ font-size: 1em;
177
+ }
178
+
179
+ /**
180
+ * Improve readability of pre-formatted text in all browsers.
181
+ */
182
+
183
+ pre {
184
+ white-space: pre-wrap;
185
+ }
186
+
187
+ /**
188
+ * Set consistent quote types.
189
+ */
190
+
191
+ q {
192
+ quotes: "\201C" "\201D" "\2018" "\2019";
193
+ }
194
+
195
+ /**
196
+ * Address inconsistent and variable font size in all browsers.
197
+ */
198
+
199
+ small {
200
+ font-size: 80%;
201
+ }
202
+
203
+ /**
204
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
205
+ */
206
+
207
+ sub,
208
+ sup {
209
+ font-size: 75%;
210
+ line-height: 0;
211
+ position: relative;
212
+ vertical-align: baseline;
213
+ }
214
+
215
+ sup {
216
+ top: -0.5em;
217
+ }
218
+
219
+ sub {
220
+ bottom: -0.25em;
221
+ }
222
+
223
+ /* ==========================================================================
224
+ Embedded content
225
+ ========================================================================== */
226
+
227
+ /**
228
+ * Remove border when inside `a` element in IE 8/9.
229
+ */
230
+
231
+ img {
232
+ border: 0;
233
+ }
234
+
235
+ /**
236
+ * Correct overflow displayed oddly in IE 9.
237
+ */
238
+
239
+ svg:not(:root) {
240
+ overflow: hidden;
241
+ }
242
+
243
+ /* ==========================================================================
244
+ Figures
245
+ ========================================================================== */
246
+
247
+ /**
248
+ * Address margin not present in IE 8/9 and Safari 5.
249
+ */
250
+
251
+ figure {
252
+ margin: 0;
253
+ }
254
+
255
+ /* ==========================================================================
256
+ Forms
257
+ ========================================================================== */
258
+
259
+ /**
260
+ * Define consistent border, margin, and padding.
261
+ */
262
+
263
+ fieldset {
264
+ border: 1px solid #c0c0c0;
265
+ margin: 0 2px;
266
+ padding: 0.35em 0.625em 0.75em;
267
+ }
268
+
269
+ /**
270
+ * 1. Correct `color` not being inherited in IE 8/9.
271
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
272
+ */
273
+
274
+ legend {
275
+ border: 0; /* 1 */
276
+ padding: 0; /* 2 */
277
+ }
278
+
279
+ /**
280
+ * 1. Correct font family not being inherited in all browsers.
281
+ * 2. Correct font size not being inherited in all browsers.
282
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
283
+ */
284
+
285
+ button,
286
+ input,
287
+ select,
288
+ textarea {
289
+ font-family: inherit; /* 1 */
290
+ font-size: 100%; /* 2 */
291
+ margin: 0; /* 3 */
292
+ }
293
+
294
+ /**
295
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
296
+ * the UA stylesheet.
297
+ */
298
+
299
+ button,
300
+ input {
301
+ line-height: normal;
302
+ }
303
+
304
+ /**
305
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
306
+ * All other form control elements do not inherit `text-transform` values.
307
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
308
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
309
+ */
310
+
311
+ button,
312
+ select {
313
+ text-transform: none;
314
+ }
315
+
316
+ /**
317
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
318
+ * and `video` controls.
319
+ * 2. Correct inability to style clickable `input` types in iOS.
320
+ * 3. Improve usability and consistency of cursor style between image-type
321
+ * `input` and others.
322
+ */
323
+
324
+ button,
325
+ html input[type="button"], /* 1 */
326
+ input[type="reset"],
327
+ input[type="submit"] {
328
+ -webkit-appearance: button; /* 2 */
329
+ cursor: pointer; /* 3 */
330
+ }
331
+
332
+ /**
333
+ * Re-set default cursor for disabled elements.
334
+ */
335
+
336
+ button[disabled],
337
+ html input[disabled] {
338
+ cursor: default;
339
+ }
340
+
341
+ /**
342
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
343
+ * 2. Remove excess padding in IE 8/9/10.
344
+ */
345
+
346
+ input[type="checkbox"],
347
+ input[type="radio"] {
348
+ box-sizing: border-box; /* 1 */
349
+ padding: 0; /* 2 */
350
+ }
351
+
352
+ /**
353
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
354
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
355
+ * (include `-moz` to future-proof).
356
+ */
357
+
358
+ input[type="search"] {
359
+ -webkit-appearance: textfield; /* 1 */
360
+ -moz-box-sizing: content-box;
361
+ -webkit-box-sizing: content-box; /* 2 */
362
+ box-sizing: content-box;
363
+ }
364
+
365
+ /**
366
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
367
+ * on OS X.
368
+ */
369
+
370
+ input[type="search"]::-webkit-search-cancel-button,
371
+ input[type="search"]::-webkit-search-decoration {
372
+ -webkit-appearance: none;
373
+ }
374
+
375
+ /**
376
+ * Remove inner padding and border in Firefox 4+.
377
+ */
378
+
379
+ button::-moz-focus-inner,
380
+ input::-moz-focus-inner {
381
+ border: 0;
382
+ padding: 0;
383
+ }
384
+
385
+ /**
386
+ * 1. Remove default vertical scrollbar in IE 8/9.
387
+ * 2. Improve readability and alignment in all browsers.
388
+ */
389
+
390
+ textarea {
391
+ overflow: auto; /* 1 */
392
+ vertical-align: top; /* 2 */
393
+ }
394
+
395
+ /* ==========================================================================
396
+ Tables
397
+ ========================================================================== */
398
+
399
+ /**
400
+ * Remove most spacing between table cells.
401
+ */
402
+
403
+ table {
404
+ border-collapse: collapse;
405
+ border-spacing: 0;
406
+ }