bones-rails 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/{LICENSE.txt → LICENSE.md} +1 -1
  2. data/app/assets/stylesheets/bones.scss +61 -59
  3. data/app/assets/stylesheets/bones/config.scss +67 -0
  4. data/app/assets/stylesheets/bones/config/__default.scss +14 -0
  5. data/app/assets/stylesheets/bones/config/_buttons.scss +21 -0
  6. data/app/assets/stylesheets/bones/config/_colors.scss +93 -0
  7. data/app/assets/stylesheets/bones/config/_components.scss +4 -0
  8. data/app/assets/stylesheets/bones/config/_forms.scss +28 -0
  9. data/app/assets/stylesheets/bones/config/_helpers.scss +31 -0
  10. data/app/assets/stylesheets/bones/config/_images.scss +23 -0
  11. data/app/assets/stylesheets/bones/config/_nav.scss +117 -0
  12. data/app/assets/stylesheets/bones/config/_tables.scss +12 -0
  13. data/app/assets/stylesheets/bones/config/_typography.scss +83 -0
  14. data/app/assets/stylesheets/bones/config/_wireframe.scss +18 -0
  15. data/app/assets/stylesheets/bones/styles/__default.scss +27 -0
  16. data/app/assets/stylesheets/bones/styles/_buttons.scss +118 -0
  17. data/app/assets/stylesheets/bones/styles/_components.scss +24 -0
  18. data/app/assets/stylesheets/bones/{partials → styles}/_forms.scss +18 -2
  19. data/app/assets/stylesheets/bones/styles/_images.scss +69 -0
  20. data/app/assets/stylesheets/bones/styles/_nav.scss +210 -0
  21. data/app/assets/stylesheets/bones/{partials → styles}/_tables.scss +6 -4
  22. data/app/assets/stylesheets/bones/styles/_typography.scss +227 -0
  23. data/app/assets/stylesheets/bones/styles/_wireframe.scss +57 -0
  24. data/app/assets/stylesheets/bones/styles/helpers/_background.scss +201 -0
  25. data/app/assets/stylesheets/bones/styles/helpers/_border.scss +201 -0
  26. data/app/assets/stylesheets/bones/styles/helpers/_color.scss +201 -0
  27. data/app/assets/stylesheets/bones/styles/helpers/_margin.scss +82 -0
  28. data/app/assets/stylesheets/bones/styles/helpers/_padding.scss +82 -0
  29. data/app/assets/stylesheets/bones/{helpers → styles/helpers}/_positioning.scss +4 -3
  30. data/app/assets/stylesheets/bones/styles/helpers/_size.scss +11 -0
  31. data/app/assets/stylesheets/bones/styles/plugins/_syntax_highlighting.scss +273 -0
  32. data/app/assets/stylesheets/bones/vendor/_normalize.scss +1 -1
  33. data/lib/bones/generators/install_generator.rb +29 -5
  34. data/lib/bones/rails/version.rb +1 -1
  35. metadata +32 -39
  36. data/app/assets/javascripts/bones.js +0 -116
  37. data/app/assets/stylesheets/bones/config/bones_config.scss +0 -262
  38. data/app/assets/stylesheets/bones/helpers/_background.scss +0 -138
  39. data/app/assets/stylesheets/bones/helpers/_border.scss +0 -138
  40. data/app/assets/stylesheets/bones/helpers/_color.scss +0 -138
  41. data/app/assets/stylesheets/bones/helpers/_margin.scss +0 -82
  42. data/app/assets/stylesheets/bones/helpers/_padding.scss +0 -82
  43. data/app/assets/stylesheets/bones/helpers/_size.scss +0 -34
  44. data/app/assets/stylesheets/bones/mixins/_buttons.scss +0 -19
  45. data/app/assets/stylesheets/bones/mixins/_forms.scss +0 -15
  46. data/app/assets/stylesheets/bones/mixins/_globals.scss +0 -15
  47. data/app/assets/stylesheets/bones/mixins/_grid.scss +0 -4
  48. data/app/assets/stylesheets/bones/mixins/_nav.scss +0 -41
  49. data/app/assets/stylesheets/bones/mixins/_typography.scss +0 -15
  50. data/app/assets/stylesheets/bones/partials/_buttons.scss +0 -86
  51. data/app/assets/stylesheets/bones/partials/_code.scss +0 -99
  52. data/app/assets/stylesheets/bones/partials/_components.scss +0 -22
  53. data/app/assets/stylesheets/bones/partials/_globals.scss +0 -27
  54. data/app/assets/stylesheets/bones/partials/_grid.scss +0 -112
  55. data/app/assets/stylesheets/bones/partials/_images.scss +0 -52
  56. data/app/assets/stylesheets/bones/partials/_nav.scss +0 -111
  57. data/app/assets/stylesheets/bones/partials/_typography.scss +0 -174
  58. data/app/assets/stylesheets/bones/variables/_buttons.scss +0 -16
  59. data/app/assets/stylesheets/bones/variables/_code.scss +0 -15
  60. data/app/assets/stylesheets/bones/variables/_colors.scss +0 -122
  61. data/app/assets/stylesheets/bones/variables/_forms.scss +0 -12
  62. data/app/assets/stylesheets/bones/variables/_globals.scss +0 -12
  63. data/app/assets/stylesheets/bones/variables/_grid.scss +0 -8
  64. data/app/assets/stylesheets/bones/variables/_helpers.scss +0 -9
  65. data/app/assets/stylesheets/bones/variables/_images.scss +0 -13
  66. data/app/assets/stylesheets/bones/variables/_nav.scss +0 -40
  67. data/app/assets/stylesheets/bones/variables/_tables.scss +0 -7
  68. data/app/assets/stylesheets/bones/variables/_typography.scss +0 -61
@@ -0,0 +1,201 @@
1
+ .border-1 {
2
+ border: $helper-border-width $helper-border-style $color-1 !important;
3
+ }
4
+ .border-1-light {
5
+ border: $helper-border-width $helper-border-style $color-1-light !important;
6
+ }
7
+ .border-1-lighter {
8
+ border: $helper-border-width $helper-border-style $color-1-lighter !important;
9
+ }
10
+ .border-1-lightest {
11
+ border: $helper-border-width $helper-border-style $color-1-lightest !important;
12
+ }
13
+ .border-1-dark {
14
+ border: $helper-border-width $helper-border-style $color-1-dark !important;
15
+ }
16
+ .border-1-darker {
17
+ border: $helper-border-width $helper-border-style $color-1-darker !important;
18
+ }
19
+ .border-1-darkest {
20
+ border: $helper-border-width $helper-border-style $color-1-darkest !important;
21
+ }
22
+
23
+ .border-2 {
24
+ border: $helper-border-width $helper-border-style $color-2 !important;
25
+ }
26
+ .border-2-light {
27
+ border: $helper-border-width $helper-border-style $color-2-light !important;
28
+ }
29
+ .border-2-lighter {
30
+ border: $helper-border-width $helper-border-style $color-2-lighter !important;
31
+ }
32
+ .border-2-lightest {
33
+ border: $helper-border-width $helper-border-style $color-2-lightest !important;
34
+ }
35
+ .border-2-dark {
36
+ border: $helper-border-width $helper-border-style $color-2-dark !important;
37
+ }
38
+ .border-2-darker {
39
+ border: $helper-border-width $helper-border-style $color-2-darker !important;
40
+ }
41
+ .border-2-darkest {
42
+ border: $helper-border-width $helper-border-style $color-2-darkest !important;
43
+ }
44
+
45
+ .border-3 {
46
+ border: $helper-border-width $helper-border-style $color-3 !important;
47
+ }
48
+ .border-3-light {
49
+ border: $helper-border-width $helper-border-style $color-3-light !important;
50
+ }
51
+ .border-3-lighter {
52
+ border: $helper-border-width $helper-border-style $color-3-lighter !important;
53
+ }
54
+ .border-3-lightest {
55
+ border: $helper-border-width $helper-border-style $color-3-lightest !important;
56
+ }
57
+ .border-3-dark {
58
+ border: $helper-border-width $helper-border-style $color-3-dark !important;
59
+ }
60
+ .border-3-darker {
61
+ border: $helper-border-width $helper-border-style $color-3-darker !important;
62
+ }
63
+ .border-3-darkest {
64
+ border: $helper-border-width $helper-border-style $color-3-darkest !important;
65
+ }
66
+
67
+ .border-4 {
68
+ border: $helper-border-width $helper-border-style $color-4 !important;
69
+ }
70
+ .border-4-light {
71
+ border: $helper-border-width $helper-border-style $color-4-light !important;
72
+ }
73
+ .border-4-lighter {
74
+ border: $helper-border-width $helper-border-style $color-4-lighter !important;
75
+ }
76
+ .border-4-lightest {
77
+ border: $helper-border-width $helper-border-style $color-4-lightest !important;
78
+ }
79
+ .border-4-dark {
80
+ border: $helper-border-width $helper-border-style $color-4-dark !important;
81
+ }
82
+ .border-4-darker {
83
+ border: $helper-border-width $helper-border-style $color-4-darker !important;
84
+ }
85
+ .border-4-darkest {
86
+ border: $helper-border-width $helper-border-style $color-4-darkest !important;
87
+ }
88
+
89
+ .border-5 {
90
+ border: $helper-border-width $helper-border-style $color-5 !important;
91
+ }
92
+ .border-5-light {
93
+ border: $helper-border-width $helper-border-style $color-5-light !important;
94
+ }
95
+ .border-5-lighter {
96
+ border: $helper-border-width $helper-border-style $color-5-lighter !important;
97
+ }
98
+ .border-5-lightest {
99
+ border: $helper-border-width $helper-border-style $color-5-lightest !important;
100
+ }
101
+ .border-5-dark {
102
+ border: $helper-border-width $helper-border-style $color-5-dark !important;
103
+ }
104
+ .border-5-darker {
105
+ border: $helper-border-width $helper-border-style $color-5-darker !important;
106
+ }
107
+ .border-5-darkest {
108
+ border: $helper-border-width $helper-border-style $color-5-darkest !important;
109
+ }
110
+
111
+ .border-light {
112
+ border: $helper-border-width $helper-border-style $color-light !important;
113
+ }
114
+ .border-light-dark {
115
+ border: $helper-border-width $helper-border-style $color-light-dark !important;
116
+ }
117
+ .border-light-darker {
118
+ border: $helper-border-width $helper-border-style $color-light-darker !important;
119
+ }
120
+ .border-light-darkest {
121
+ border: $helper-border-width $helper-border-style $color-light-darkest !important;
122
+ }
123
+
124
+ .border-dark {
125
+ border: $helper-border-width $helper-border-style $color-dark !important;
126
+ }
127
+ .border-dark-light {
128
+ border: $helper-border-width $helper-border-style $color-dark-light !important;
129
+ }
130
+ .border-dark-lighter {
131
+ border: $helper-border-width $helper-border-style $color-dark-lighter !important;
132
+ }
133
+ .border-dark-lightest {
134
+ border: $helper-border-width $helper-border-style $color-dark-lightest !important;
135
+ }
136
+
137
+ .border-success {
138
+ border: $helper-border-width $helper-border-style $color-success !important;
139
+ }
140
+ .border-success-light {
141
+ border: $helper-border-width $helper-border-style $color-success-light !important;
142
+ }
143
+ .border-success-lighter {
144
+ border: $helper-border-width $helper-border-style $color-success-lighter !important;
145
+ }
146
+ .border-success-lightest {
147
+ border: $helper-border-width $helper-border-style $color-success-lightest !important;
148
+ }
149
+ .border-success-dark {
150
+ border: $helper-border-width $helper-border-style $color-success-dark !important;
151
+ }
152
+ .border-success-darker {
153
+ border: $helper-border-width $helper-border-style $color-success-darker !important;
154
+ }
155
+ .border-success-darkest {
156
+ border: $helper-border-width $helper-border-style $color-success-darkest !important;
157
+ }
158
+
159
+ .border-warning {
160
+ border: $helper-border-width $helper-border-style $color-warning !important;
161
+ }
162
+ .border-warning-light {
163
+ border: $helper-border-width $helper-border-style $color-warning-light !important;
164
+ }
165
+ .border-warning-lighter {
166
+ border: $helper-border-width $helper-border-style $color-warning-lighter !important;
167
+ }
168
+ .border-warning-lightest {
169
+ border: $helper-border-width $helper-border-style $color-warning-lightest !important;
170
+ }
171
+ .border-warning-dark {
172
+ border: $helper-border-width $helper-border-style $color-warning-dark !important;
173
+ }
174
+ .border-warning-darker {
175
+ border: $helper-border-width $helper-border-style $color-warning-darker !important;
176
+ }
177
+ .border-warning-darkest {
178
+ border: $helper-border-width $helper-border-style $color-warning-darkest !important;
179
+ }
180
+
181
+ .border-danger {
182
+ border: $helper-border-width $helper-border-style $color-danger !important;
183
+ }
184
+ .border-danger-light {
185
+ border: $helper-border-width $helper-border-style $color-danger-light !important;
186
+ }
187
+ .border-danger-lighter {
188
+ border: $helper-border-width $helper-border-style $color-danger-lighter !important;
189
+ }
190
+ .border-danger-lightest {
191
+ border: $helper-border-width $helper-border-style $color-danger-lightest !important;
192
+ }
193
+ .border-danger-dark {
194
+ border: $helper-border-width $helper-border-style $color-danger-dark !important;
195
+ }
196
+ .border-danger-darker {
197
+ border: $helper-border-width $helper-border-style $color-danger-darker !important;
198
+ }
199
+ .border-danger-darkest {
200
+ border: $helper-border-width $helper-border-style $color-danger-darkest !important;
201
+ }
@@ -0,0 +1,201 @@
1
+ .color-1 {
2
+ color: $color-1 !important;
3
+ }
4
+ .color-1-light {
5
+ color: $color-1-light !important;
6
+ }
7
+ .color-1-lighter {
8
+ color: $color-1-lighter !important;
9
+ }
10
+ .color-1-lightest {
11
+ color: $color-1-lightest !important;
12
+ }
13
+ .color-1-dark {
14
+ color: $color-1-dark !important;
15
+ }
16
+ .color-1-darker {
17
+ color: $color-1-darker !important;
18
+ }
19
+ .color-1-darkest {
20
+ color: $color-1-darkest !important;
21
+ }
22
+
23
+ .color-2 {
24
+ color: $color-2 !important;
25
+ }
26
+ .color-2-light {
27
+ color: $color-2-light !important;
28
+ }
29
+ .color-2-lighter {
30
+ color: $color-2-lighter !important;
31
+ }
32
+ .color-2-lightest {
33
+ color: $color-2-lightest !important;
34
+ }
35
+ .color-2-dark {
36
+ color: $color-2-dark !important;
37
+ }
38
+ .color-2-darker {
39
+ color: $color-2-darker !important;
40
+ }
41
+ .color-2-darkest {
42
+ color: $color-2-darkest !important;
43
+ }
44
+
45
+ .color-3 {
46
+ color: $color-3 !important;
47
+ }
48
+ .color-3-light {
49
+ color: $color-3-light !important;
50
+ }
51
+ .color-3-lighter {
52
+ color: $color-3-lighter !important;
53
+ }
54
+ .color-3-lightest {
55
+ color: $color-3-lightest !important;
56
+ }
57
+ .color-3-dark {
58
+ color: $color-3-dark !important;
59
+ }
60
+ .color-3-darker {
61
+ color: $color-3-darker !important;
62
+ }
63
+ .color-3-darkest {
64
+ color: $color-3-darkest !important;
65
+ }
66
+
67
+ .color-4 {
68
+ color: $color-4 !important;
69
+ }
70
+ .color-4-light {
71
+ color: $color-4-light !important;
72
+ }
73
+ .color-4-lighter {
74
+ color: $color-4-lighter !important;
75
+ }
76
+ .color-4-lightest {
77
+ color: $color-4-lightest !important;
78
+ }
79
+ .color-4-dark {
80
+ color: $color-4-dark !important;
81
+ }
82
+ .color-4-darker {
83
+ color: $color-4-darker !important;
84
+ }
85
+ .color-4-darkest {
86
+ color: $color-4-darkest !important;
87
+ }
88
+
89
+ .color-5 {
90
+ color: $color-5 !important;
91
+ }
92
+ .color-5-light {
93
+ color: $color-5-light !important;
94
+ }
95
+ .color-5-lighter {
96
+ color: $color-5-lighter !important;
97
+ }
98
+ .color-5-lightest {
99
+ color: $color-5-lightest !important;
100
+ }
101
+ .color-5-dark {
102
+ color: $color-5-dark !important;
103
+ }
104
+ .color-5-darker {
105
+ color: $color-5-darker !important;
106
+ }
107
+ .color-5-darkest {
108
+ color: $color-5-darkest !important;
109
+ }
110
+
111
+ .color-light {
112
+ color: $color-light !important;
113
+ }
114
+ .color-light-dark {
115
+ color: $color-light-dark !important;
116
+ }
117
+ .color-light-darker {
118
+ color: $color-light-darker !important;
119
+ }
120
+ .color-light-darkest {
121
+ color: $color-light-darkest !important;
122
+ }
123
+
124
+ .color-dark {
125
+ color: $color-dark !important;
126
+ }
127
+ .color-dark-light {
128
+ color: $color-dark-light !important;
129
+ }
130
+ .color-dark-lighter {
131
+ color: $color-dark-lighter !important;
132
+ }
133
+ .color-dark-lightest {
134
+ color: $color-dark-lightest !important;
135
+ }
136
+
137
+ .color-success {
138
+ color: $color-success !important;
139
+ }
140
+ .color-success-light {
141
+ color: $color-success-light !important;
142
+ }
143
+ .color-success-lighter {
144
+ color: $color-success-lighter !important;
145
+ }
146
+ .color-success-lightest {
147
+ color: $color-success-lightest !important;
148
+ }
149
+ .color-success-dark {
150
+ color: $color-success-dark !important;
151
+ }
152
+ .color-success-darker {
153
+ color: $color-success-darker !important;
154
+ }
155
+ .color-success-darkest {
156
+ color: $color-success-darkest !important;
157
+ }
158
+
159
+ .color-warning {
160
+ color: $color-warning !important;
161
+ }
162
+ .color-warning-light {
163
+ color: $color-warning-light !important;
164
+ }
165
+ .color-warning-lighter {
166
+ color: $color-warning-lighter !important;
167
+ }
168
+ .color-warning-lightest {
169
+ color: $color-warning-lightest !important;
170
+ }
171
+ .color-warning-dark {
172
+ color: $color-warning-dark !important;
173
+ }
174
+ .color-warning-darker {
175
+ color: $color-warning-darker !important;
176
+ }
177
+ .color-warning-darkest {
178
+ color: $color-warning-darkest !important;
179
+ }
180
+
181
+ .color-danger {
182
+ color: $color-danger !important;
183
+ }
184
+ .color-danger-light {
185
+ color: $color-danger-light !important;
186
+ }
187
+ .color-danger-lighter {
188
+ color: $color-danger-lighter !important;
189
+ }
190
+ .color-danger-lightest {
191
+ color: $color-danger-lightest !important;
192
+ }
193
+ .color-danger-dark {
194
+ color: $color-danger-dark !important;
195
+ }
196
+ .color-danger-darker {
197
+ color: $color-danger-darker !important;
198
+ }
199
+ .color-danger-darkest {
200
+ color: $color-danger-darkest !important;
201
+ }
@@ -0,0 +1,82 @@
1
+ // general
2
+ .margin-small {
3
+ margin: $helper-margin-small !important;
4
+ }
5
+ .margin-medium {
6
+ margin: $helper-margin-medium !important;
7
+ }
8
+ .margin-large {
9
+ margin: $helper-margin-large !important;
10
+ }
11
+
12
+ // vertical
13
+ .margin-v-small {
14
+ margin-top: $helper-margin-small !important;
15
+ margin-bottom: $helper-margin-small !important;
16
+ }
17
+ .margin-v-medium {
18
+ margin-top: $helper-margin-medium !important;
19
+ margin-bottom: $helper-margin-medium !important;
20
+ }
21
+ .margin-v-large {
22
+ margin-top: $helper-margin-large !important;
23
+ margin-bottom: $helper-margin-large !important;
24
+ }
25
+
26
+ // horizontal
27
+ .margin-h-small {
28
+ margin-right: $helper-margin-small !important;
29
+ margin-left: $helper-margin-small !important;
30
+ }
31
+ .margin-h-medium {
32
+ margin-right: $helper-margin-medium !important;
33
+ margin-left: $helper-margin-medium !important;
34
+ }
35
+ .margin-h-large {
36
+ margin-right: $helper-margin-large !important;
37
+ margin-left: $helper-margin-large !important;
38
+ }
39
+
40
+ // left
41
+ .margin-left-small {
42
+ margin-left: $helper-margin-small !important;
43
+ }
44
+ .margin-left-medium {
45
+ margin-left: $helper-margin-medium !important;
46
+ }
47
+ .margin-left-large {
48
+ margin-left: $helper-margin-large !important;
49
+ }
50
+
51
+ // right
52
+ .margin-right-small {
53
+ margin-right: $helper-margin-small !important;
54
+ }
55
+ .margin-right-medium {
56
+ margin-right: $helper-margin-medium !important;
57
+ }
58
+ .margin-right-large {
59
+ margin-right: $helper-margin-large !important;
60
+ }
61
+
62
+ // top
63
+ .margin-top-small {
64
+ margin-top: $helper-margin-small !important;
65
+ }
66
+ .margin-top-medium {
67
+ margin-top: $helper-margin-medium !important;
68
+ }
69
+ .margin-top-large {
70
+ margin-top: $helper-margin-large !important;
71
+ }
72
+
73
+ // bottom
74
+ .margin-bottom-small {
75
+ margin-bottom: $helper-margin-small !important;
76
+ }
77
+ .margin-bottom-medium {
78
+ margin-bottom: $helper-margin-medium !important;
79
+ }
80
+ .margin-bottom-large {
81
+ margin-bottom: $helper-margin-large !important;
82
+ }