skeletor_backbone 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
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,36 @@
1
+ // =============================================================================
2
+ // Backface Visibility
3
+ //
4
+ // The backface visibility property relates to 3d transforms. With 3d
5
+ // transforms, you can manage to rotate an element so what we think of as the
6
+ // 'front' of an element no longer faces the screen.
7
+ //
8
+ // http://www.w3.org/TR/css3-3d-transforms/#backface-visibility-property
9
+ // http://css-tricks.com/almanac/properties/b/backface-visibility/
10
+ //
11
+ // =============================================================================
12
+
13
+
14
+
15
+ // -----------------------------------------------------------------------------
16
+ // Appearance
17
+ // -----------------------------------------------------------------------------
18
+ =skeletor-backface-visibility($args)
19
+ +skeletor-prefixer(backface-visibility, unquote($args))
20
+
21
+
22
+
23
+ // -----------------------------------------------------------------------------
24
+ // Alias for backspace visibility classes
25
+ // -----------------------------------------------------------------------------
26
+ =s-backface-visibility($args)
27
+ +skeletor-backface-visibility($args)
28
+
29
+
30
+
31
+ // -----------------------------------------------------------------------------
32
+ // If no-conflict set to allow shorter mixin names
33
+ // -----------------------------------------------------------------------------
34
+ // @if $no-conflict
35
+ // =backface-visibility($args)
36
+ // +skeletor-backface-visibility($args)
@@ -0,0 +1,75 @@
1
+ // =============================================================================
2
+ // Border Radius
3
+ //
4
+ // The border-radius property is used for 'rounding corners' of elements.
5
+ //
6
+ // http://www.w3.org/TR/css3-background/#border-radius
7
+ // http://css-tricks.com/almanac/properties/b/border-radius/
8
+ //
9
+ // =============================================================================
10
+
11
+
12
+
13
+ // -----------------------------------------------------------------------------
14
+ // Border Radius
15
+ // -----------------------------------------------------------------------------
16
+ =skeletor-border-radius($args)
17
+ +skeletor-prefixer(border-radius, unquote($args))
18
+
19
+ // Shorthand Border radius mixins
20
+ =skeletor-border-top-radius($args)
21
+ +skeletor-prefixer(border-top-left-radius, unquote($args))
22
+ +skeletor-prefixer(border-top-right-radius, unquote($args))
23
+
24
+ =skeletor-border-bottom-radius($args)
25
+ +skeletor-prefixer(border-bottom-left-radius, unquote($args))
26
+ +skeletor-prefixer(border-bottom-right-radius, unquote($args))
27
+
28
+ =skeletor-border-left-radius($args)
29
+ +skeletor-prefixer(border-top-left-radius, unquote($args))
30
+ +skeletor-prefixer(border-bottom-left-radius, unquote($args))
31
+
32
+ =skeletor-border-right-radius($args)
33
+ +skeletor-prefixer(border-top-right-radius, unquote($args))
34
+ +skeletor-prefixer(border-bottom-right-radius, unquote($args))
35
+
36
+
37
+
38
+ // -----------------------------------------------------------------------------
39
+ // Alias for border-radius classes
40
+ // -----------------------------------------------------------------------------
41
+ =s-border-radius($args)
42
+ +skeletor-border-radius($args)
43
+
44
+ =s-border-top-radius($args)
45
+ +skeletor-border-top-radius($args)
46
+
47
+ =s-border-bottom-radius($args)
48
+ +skeletor-border-bottom-radius($args)
49
+
50
+ =s-border-left-radius($args)
51
+ +skeletor-border-left-radius($args)
52
+
53
+ =s-border-right-radius($args)
54
+ +skeletor-border-right-radius($args)
55
+
56
+
57
+
58
+ // -----------------------------------------------------------------------------
59
+ // If no-conflict set to allow shorter mixin names
60
+ // -----------------------------------------------------------------------------
61
+ // @if $no-conflict
62
+ // =border-radius($args)
63
+ // +skeletor-border-radius($args)
64
+
65
+ // =border-top-radius($args)
66
+ // +skeletor-border-top-radius($args)
67
+
68
+ // =border-bottom-radius($args)
69
+ // +skeletor-border-bottom-radius($args)
70
+
71
+ // =border-left-radius($args)
72
+ // +skeletor-border-left-radius($args)
73
+
74
+ // =border-right-radius($args)
75
+ // +skeletor-border-right-radius($args)
@@ -0,0 +1,38 @@
1
+ // =============================================================================
2
+ // Box Shadow
3
+ //
4
+ // The box-shadow property is used to cast a shadow off block-level elements.
5
+ //
6
+ // Available As:
7
+ // +skeletor-box-shadow()
8
+ // +s-box-shadow()
9
+ //
10
+ // http://www.w3.org/TR/css3-background/#box-shadow
11
+ // http://css-tricks.com/snippets/css/css-box-shadow/
12
+ //
13
+ // =============================================================================
14
+
15
+
16
+
17
+ // -----------------------------------------------------------------------------
18
+ // Box Shadow
19
+ // -----------------------------------------------------------------------------
20
+ =skeletor-box-shadow($args...)
21
+ +skeletor-prefixer(box-shadow, unquote($args))
22
+
23
+
24
+
25
+ // -----------------------------------------------------------------------------
26
+ // Alias for box-shadow classes
27
+ // -----------------------------------------------------------------------------
28
+ =s-box-shadow($args...)
29
+ +skeletor-box-shadow($args...)
30
+
31
+
32
+
33
+ // -----------------------------------------------------------------------------
34
+ // If no-conflict set to allow shorter mixin names
35
+ // -----------------------------------------------------------------------------
36
+ // @if $no-conflict
37
+ // =box-shadow($args...)
38
+ // +skeletor-box-shadow($args...)
@@ -0,0 +1,40 @@
1
+ // =============================================================================
2
+ // Box Sizing Mixins
3
+ //
4
+ // The box-sizing property is used to alter the default CSS box model used to
5
+ // calculate widths and heights of elements.
6
+ //
7
+ // Available As:
8
+ // +skeletor-box-sizing()
9
+ // +s-box-sizing()
10
+ //
11
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing
12
+ // http://html5please.com/#box-sizing
13
+ // http://css-tricks.com/box-sizing/
14
+ //
15
+ // =============================================================================
16
+
17
+
18
+
19
+ // -----------------------------------------------------------------------------
20
+ // Box Sizing
21
+ // -----------------------------------------------------------------------------
22
+ =skeletor-box-sizing($args)
23
+ +skeletor-prefixer(box-sizing, unquote($args))
24
+
25
+
26
+
27
+ // -----------------------------------------------------------------------------
28
+ // Alias for box-sizing classes
29
+ // -----------------------------------------------------------------------------
30
+ =s-box-sizing($args)
31
+ +skeletor-box-sizing($args)
32
+
33
+
34
+
35
+ // -----------------------------------------------------------------------------
36
+ // If no-conflict set to allow shorter mixin names
37
+ // -----------------------------------------------------------------------------
38
+ // @if $no-conflict
39
+ // =box-sizing($args)
40
+ // +skeletor-box-sizing($args)
@@ -0,0 +1,179 @@
1
+ // =============================================================================
2
+ // Flex Box Mixins
3
+ //
4
+ // The flexbox module aims at providing a more efficient way to lay out, align
5
+ // and distribute space among items in a container, even when size is unknown.
6
+ //
7
+ // https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes
8
+ // http://html5please.com/#flexbox
9
+ // http://css-tricks.com/snippets/css/a-guide-to-flexbox/
10
+ //
11
+ // =============================================================================
12
+
13
+
14
+
15
+ // -----------------------------------------------------------------------------
16
+ // Shorthand notation for flexbox
17
+ // -----------------------------------------------------------------------------
18
+ =skeletor-box($orient: inline-axis, $pack: start, $align: stretch)
19
+ +skeletor-display-box
20
+ +skeletor-box-orient($orient)
21
+ +skeletor-box-pack($pack)
22
+ +skeletor-box-align($align)
23
+
24
+
25
+
26
+ // -----------------------------------------------------------------------------
27
+ // Display Box
28
+ // -----------------------------------------------------------------------------
29
+ =skeletor-display-box
30
+ +skeletor-prefixer-value(display, box)
31
+ display: -ms-flexbox
32
+
33
+
34
+
35
+ // -----------------------------------------------------------------------------
36
+ // Box Orient
37
+ // -----------------------------------------------------------------------------
38
+ =skeletor-box-orient($args)
39
+ +skeletor-prefixer(box-orient, unquote($args))
40
+
41
+
42
+
43
+ // -----------------------------------------------------------------------------
44
+ // Box Pack
45
+ // -----------------------------------------------------------------------------
46
+ =skeletor-box-pack($args)
47
+ +skeletor-prefixer(box-pack, unquote($args))
48
+ -ms-flex-pack: unquote($args)
49
+
50
+
51
+
52
+ // -----------------------------------------------------------------------------
53
+ // Box Align
54
+ // -----------------------------------------------------------------------------
55
+ =skeletor-box-align($args)
56
+ +skeletor-prefixer(box-align, unquote($args))
57
+ -ms-flex-align: unquote($args)
58
+
59
+
60
+
61
+ // -----------------------------------------------------------------------------
62
+ // Box Direction
63
+ // -----------------------------------------------------------------------------
64
+ =skeletor-box-direction($args)
65
+ +skeletor-prefixer(box-direction, unquote($args))
66
+ -ms-flex-direction: unquote($args)
67
+
68
+
69
+
70
+ // -----------------------------------------------------------------------------
71
+ // Box Lines
72
+ // -----------------------------------------------------------------------------
73
+ =skeletor-box-lines($args)
74
+ +skeletor-prefixer(box-lines, unquote($args))
75
+
76
+
77
+
78
+ // -----------------------------------------------------------------------------
79
+ // Box Ordinal Group
80
+ // -----------------------------------------------------------------------------
81
+ =skeletor-box-ordinal-group($args)
82
+ +skeletor-prefixer(box-ordinal-group, unquote($args))
83
+ -ms-flex-order: unquote($args)
84
+
85
+
86
+
87
+ // -----------------------------------------------------------------------------
88
+ // Box Flex
89
+ // -----------------------------------------------------------------------------
90
+ =skeletor-box-flex($args)
91
+ +skeletor-prefixer(box-flex, unquote($args))
92
+ -ms-flex: unquote($args)
93
+
94
+
95
+
96
+ // -----------------------------------------------------------------------------
97
+ // Box Flex Group
98
+ // -----------------------------------------------------------------------------
99
+ =skeletor-box-flex-group($args)
100
+ +skeletor-prefixer(box-flex-group, $args)
101
+
102
+
103
+
104
+ // -----------------------------------------------------------------------------
105
+ // Alias for flex box classes
106
+ // -----------------------------------------------------------------------------
107
+ =s-box($orient: inline-axis, $pack: start, $align: stretch)
108
+ +skeletor-box($orient, $pack, $align)
109
+
110
+ =s-display-box
111
+ +skeletor-display-box
112
+
113
+ =s-box-orient($args)
114
+ +skeletor-box-orient($args)
115
+
116
+ =s-box-pack($args)
117
+ +skeletor-box-pack($args)
118
+
119
+ =s-box-align($args)
120
+ +skeletor-box-align($args)
121
+
122
+ =s-box-direction($args)
123
+ +skeletor-box-direction($args)
124
+
125
+ =s-box-lines($args)
126
+ +skeletor-box-lines($args)
127
+
128
+ =s-box-ordinal-group($args)
129
+ +skeletor-box-ordinal-group($args)
130
+
131
+ =s-box-flex($args)
132
+ +skeletor-box-flex($args)
133
+
134
+ =s-box-flex-group($args)
135
+ +skeletor-box-flex-group($args)
136
+
137
+
138
+ // -----------------------------------------------------------------------------
139
+ // If no-conflict set to allow shorter mixin names
140
+ // -----------------------------------------------------------------------------
141
+ // @if $no-conflict
142
+ // =box($orient: inline-axis, $pack: start, $align: stretch)
143
+ // +skeletor-box($orient, $pack, $align)
144
+
145
+ // // Display Box
146
+ // =display-box
147
+ // +skeletor-display-box
148
+
149
+ // // Box Orient
150
+ // =box-orient($args)
151
+ // +skeletor-box-orient($args)
152
+
153
+ // // Box Pack
154
+ // =box-pack($args)
155
+ // +skeletor-box-pack($args)
156
+
157
+ // // Box Align
158
+ // =box-align($args)
159
+ // +skeletor-box-align($args)
160
+
161
+ // // Box Direction
162
+ // =box-direction($args)
163
+ // +skeletor-box-direction($args)
164
+
165
+ // // Box Lines
166
+ // =box-lines($args)
167
+ // +skeletor-box-lines($args)
168
+
169
+ // // Box Ordinal Group
170
+ // =box-ordinal-group($args)
171
+ // +skeletor-box-ordinal-group($args)
172
+
173
+ // // Box Flex
174
+ // =box-flex($args)
175
+ // +skeletor-box-flex($args)
176
+
177
+ // // Box Flex Group
178
+ // =box-flex-group($args)
179
+ // +skeletor-box-flex-group($args)
@@ -0,0 +1,54 @@
1
+ // =============================================================================
2
+ // Gradients
3
+ //
4
+ // The gradient properties let you display smooth transitions between two or
5
+ // more specified colors.
6
+ //
7
+ // http://dev.w3.org/csswg/css3-images/#linear-gradients
8
+ // http://dev.w3.org/csswg/css3-images/#radial-gradients
9
+ // http://css-tricks.com/css3-gradients/
10
+ //
11
+ // Example:
12
+ // +linear-gradient("top, #FFF 0%, #000 100%")
13
+ // +radial-gradient("50% 50%, circle, #fff 0%, #000 100%")
14
+ //
15
+ // =============================================================================
16
+
17
+
18
+
19
+ // -----------------------------------------------------------------------------
20
+ // Linear Gradients
21
+ // -----------------------------------------------------------------------------
22
+ =skeletor-linear-gradient($args)
23
+ +skeletor-prefixer-value(background-image, linear-gradient(unquote($args)))
24
+
25
+
26
+
27
+ // -----------------------------------------------------------------------------
28
+ // Radial Gradients
29
+ // -----------------------------------------------------------------------------
30
+ =skeletor-radial-gradient($args)
31
+ +skeletor-prefixer-value(background-image, radial-gradient(unquote($args)))
32
+
33
+
34
+
35
+ // -----------------------------------------------------------------------------
36
+ // Alias for gradient classes
37
+ // -----------------------------------------------------------------------------
38
+ =s-linear-gradient($args)
39
+ +skeletor-linear-gradient($args)
40
+
41
+ =s-radial-gradient($args)
42
+ +skeletor-radial-gradient($args)
43
+
44
+
45
+
46
+ // -----------------------------------------------------------------------------
47
+ // If no-conflict set to allow shorter mixin names
48
+ // -----------------------------------------------------------------------------
49
+ // @if $no-conflict
50
+ // =linear-gradient($args)
51
+ // +skeletor-linear-gradient($args)
52
+
53
+ // =radial-gradient($args)
54
+ // +skeletor-radial-gradient($args)
@@ -0,0 +1,38 @@
1
+ // =============================================================================
2
+ // Hyphens Mixin
3
+ //
4
+ // The hyphens property controls hyphenation of text in block level elements.
5
+ //
6
+ // Available As:
7
+ // +skeletor-hyphens()
8
+ // +s-hyphens()
9
+ //
10
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens
11
+ // http://css-tricks.com/almanac/properties/h/hyphenate/
12
+ //
13
+ // =============================================================================
14
+
15
+
16
+
17
+ // -----------------------------------------------------------------------------
18
+ // Display Box
19
+ // -----------------------------------------------------------------------------
20
+ =skeletor-hyphens($args)
21
+ +skeletor-prefixer(hyphens, unquote($args))
22
+
23
+
24
+
25
+ // -----------------------------------------------------------------------------
26
+ // Display Box
27
+ // -----------------------------------------------------------------------------
28
+ =s-hyphens($args)
29
+ +skeletor-hyphens($args)
30
+
31
+
32
+
33
+ // -----------------------------------------------------------------------------
34
+ // If no-conflict set to allow shorter mixin names
35
+ // -----------------------------------------------------------------------------
36
+ // @if $no-conflict
37
+ // =hyphens($args)
38
+ // +skeletor-hyphens($args)