basscss-rails 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +2 -14
  5. data/app/assets/stylesheets/basscss/_background-images.scss +17 -0
  6. data/app/assets/stylesheets/basscss/_base-buttons.scss +110 -0
  7. data/app/assets/stylesheets/basscss/_base-forms.scss +129 -0
  8. data/app/assets/stylesheets/basscss/_base-reset.scss +16 -0
  9. data/app/assets/stylesheets/basscss/_base-tables.scss +99 -0
  10. data/app/assets/stylesheets/basscss/_base-typography.scss +135 -0
  11. data/app/assets/stylesheets/basscss/_borders.scss +82 -3
  12. data/app/assets/stylesheets/basscss/_button-blue-outline.scss +46 -0
  13. data/app/assets/stylesheets/basscss/_button-blue.scss +41 -0
  14. data/app/assets/stylesheets/basscss/_button-gray.scss +42 -0
  15. data/app/assets/stylesheets/basscss/_button-light-gray.scss +43 -0
  16. data/app/assets/stylesheets/basscss/_button-link.scss +42 -0
  17. data/app/assets/stylesheets/basscss/_button-nav-dark.scss +23 -0
  18. data/app/assets/stylesheets/basscss/_button-nav-light.scss +26 -0
  19. data/app/assets/stylesheets/basscss/_button-nav-tab.scss +34 -0
  20. data/app/assets/stylesheets/basscss/_button-outline.scss +135 -0
  21. data/app/assets/stylesheets/basscss/_button-red.scss +41 -0
  22. data/app/assets/stylesheets/basscss/_button-sizes.scss +93 -0
  23. data/app/assets/stylesheets/basscss/_button-transparent.scss +139 -0
  24. data/app/assets/stylesheets/basscss/_color-base.scss +137 -0
  25. data/app/assets/stylesheets/basscss/_color-buttons.scss +196 -0
  26. data/app/assets/stylesheets/basscss/_color-forms-dark.scss +123 -0
  27. data/app/assets/stylesheets/basscss/_color-forms.scss +115 -0
  28. data/app/assets/stylesheets/basscss/_color-tables.scss +85 -0
  29. data/app/assets/stylesheets/basscss/_colors.scss +155 -19
  30. data/app/assets/stylesheets/basscss/_defaults.scss +72 -0
  31. data/app/assets/stylesheets/basscss/_flex-object.scss +109 -0
  32. data/app/assets/stylesheets/basscss/_grid.scss +303 -39
  33. data/app/assets/stylesheets/basscss/_highlight.scss +166 -0
  34. data/app/assets/stylesheets/basscss/_input-range.scss +155 -0
  35. data/app/assets/stylesheets/basscss/_positions.scss +17 -17
  36. data/app/assets/stylesheets/basscss/_progress.scss +101 -0
  37. data/app/assets/stylesheets/basscss/_responsive-states.scss +114 -0
  38. data/app/assets/stylesheets/basscss/_responsive-white-space.scss +194 -0
  39. data/app/assets/stylesheets/basscss/_table-object.scss +40 -8
  40. data/app/assets/stylesheets/basscss/_ui-utility-groups.scss +21 -0
  41. data/app/assets/stylesheets/basscss/_utility-headings.scss +33 -0
  42. data/app/assets/stylesheets/basscss/_utility-layout.scss +31 -0
  43. data/app/assets/stylesheets/basscss/_utility-typography.scss +20 -0
  44. data/app/assets/stylesheets/basscss/_white-space.scss +126 -0
  45. data/app/assets/stylesheets/basscss/basscss.scss +37 -40
  46. data/lib/basscss/rails/version.rb +1 -1
  47. metadata +38 -20
  48. data/app/assets/stylesheets/basscss/_button-themes.scss +0 -32
  49. data/app/assets/stylesheets/basscss/_buttons.scss +0 -33
  50. data/app/assets/stylesheets/basscss/_form-themes.scss +0 -37
  51. data/app/assets/stylesheets/basscss/_forms.scss +0 -68
  52. data/app/assets/stylesheets/basscss/_lists.scss +0 -16
  53. data/app/assets/stylesheets/basscss/_margins.scss +0 -34
  54. data/app/assets/stylesheets/basscss/_nav-themes.scss +0 -130
  55. data/app/assets/stylesheets/basscss/_navs.scss +0 -59
  56. data/app/assets/stylesheets/basscss/_padding.scss +0 -18
  57. data/app/assets/stylesheets/basscss/_reset.scss +0 -10
  58. data/app/assets/stylesheets/basscss/_table-themes.scss +0 -8
  59. data/app/assets/stylesheets/basscss/_tables.scss +0 -23
  60. data/app/assets/stylesheets/basscss/_theme.scss +0 -16
  61. data/app/assets/stylesheets/basscss/_type.scss +0 -43
  62. data/app/assets/stylesheets/basscss/_utilities.scss +0 -30
  63. data/app/assets/stylesheets/basscss/_variables.scss +0 -62
  64. data/app/assets/stylesheets/basscss/basscss-lite.scss +0 -19
@@ -0,0 +1,109 @@
1
+
2
+ // Converted Variables
3
+
4
+ $aqua: #7fdbff !default;
5
+ $blue: #0074d9 !default;
6
+ $navy: #001f3f !default;
7
+ $teal: #39cccc !default;
8
+ $green: #2ecc40 !default;
9
+ $olive: #3d9970 !default;
10
+ $lime: #01ff70 !default;
11
+ $yellow: #ffdc00 !default;
12
+ $orange: #ff851b !default;
13
+ $red: #ff4136 !default;
14
+ $fuchsia: #f012be !default;
15
+ $purple: #b10dc9 !default;
16
+ $maroon: #85144b !default;
17
+ $white: #fff !default;
18
+ $silver: #ddd !default;
19
+ $gray: #aaa !default;
20
+ $black: #111 !default;
21
+ $font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
22
+ $line-height: 1.5 !default;
23
+ $heading-font-family: $font-family !default;
24
+ $heading-font-weight: bold !default;
25
+ $heading-line-height: 1.25 !default;
26
+ $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
27
+ $h1: 2rem !default;
28
+ $h2: 1.5rem !default;
29
+ $h3: 1.25rem !default;
30
+ $h4: 1rem !default;
31
+ $h5: .875rem !default;
32
+ $h6: .75rem !default;
33
+ $bold-font-weight: bold !default;
34
+ $space-1: .5rem !default;
35
+ $space-2: 1rem !default;
36
+ $space-3: 2rem !default;
37
+ $space-4: 4rem !default;
38
+ $form-field-font-size: 1rem !default;
39
+ $form-field-height: 2.25rem !default;
40
+ $form-field-padding-y: .5rem !default;
41
+ $form-field-padding-x: .5rem !default;
42
+ $button-font-size: inherit !default;
43
+ $button-font-weight: bold !default;
44
+ $button-line-height: 1.125rem !default;
45
+ $button-padding-y: .5rem !default;
46
+ $button-padding-x: 1rem !default;
47
+ $container-width: 64em !default;
48
+ $darken-1: rgba(0,0,0,.0625) !default;
49
+ $darken-2: rgba(0,0,0,.125) !default;
50
+ $darken-3: rgba(0,0,0,.25) !default;
51
+ $darken-4: rgba(0,0,0,.5) !default;
52
+ $border-width: 1px !default;
53
+ $border-radius: 3px !default;
54
+ $border-color: $darken-2 !default;
55
+
56
+ // Custom Media Query Variables
57
+
58
+ $breakpoint-sm: '(min-width: 40em)' !default;
59
+ $breakpoint-md: '(min-width: 52em)' !default;
60
+ $breakpoint-lg: '(min-width: 64em)' !default;
61
+
62
+ /* Flex Object */
63
+
64
+ .flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex }
65
+
66
+ .flex-column { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column }
67
+ .flex-wrap { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap }
68
+
69
+ .flex-center { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center }
70
+ .flex-baseline { -webkit-box-align: baseline; -webkit-align-items: baseline; -ms-flex-align: baseline; align-items: baseline }
71
+ .flex-stretch { -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch }
72
+ .flex-start { -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start }
73
+ .flex-end { -webkit-box-align: end; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end }
74
+
75
+ .flex-justify { -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between }
76
+
77
+ .flex-first { -webkit-box-ordinal-group: 0; -webkit-order: -1; -ms-flex-order: -1; order: -1 }
78
+ .flex-last { -webkit-box-ordinal-group: 1025; -webkit-order: 1024; -ms-flex-order: 1024; order: 1024 }
79
+
80
+ .flex-auto { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto }
81
+ .flex-grow { -webkit-box-flex: 1; -webkit-flex: 1 0 auto; -ms-flex: 1 0 auto; flex: 1 0 auto }
82
+ .flex-none { -webkit-box-flex: 0; -webkit-flex: none; -ms-flex: none; flex: none }
83
+
84
+ .flex > div { box-sizing: border-box }
85
+ @media #{$breakpoint-sm} {
86
+ .sm-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex }
87
+ .sm-flex > div { box-sizing: border-box }
88
+ }
89
+ @media #{$breakpoint-md} {
90
+ .md-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex }
91
+ .md-flex > div { box-sizing: border-box }
92
+ }
93
+ @media #{$breakpoint-lg} {
94
+ .lg-flex { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex }
95
+ .lg-flex > div { box-sizing: border-box }
96
+ }
97
+
98
+
99
+ /* Basscss Defaults */
100
+
101
+ /*
102
+
103
+ COLOR VARIABLES
104
+
105
+ - Cool
106
+ - Warm
107
+ - Gray Scale
108
+
109
+ */
@@ -1,56 +1,320 @@
1
- // Grid
1
+
2
+ // Converted Variables
3
+
4
+ $aqua: #7fdbff !default;
5
+ $blue: #0074d9 !default;
6
+ $navy: #001f3f !default;
7
+ $teal: #39cccc !default;
8
+ $green: #2ecc40 !default;
9
+ $olive: #3d9970 !default;
10
+ $lime: #01ff70 !default;
11
+ $yellow: #ffdc00 !default;
12
+ $orange: #ff851b !default;
13
+ $red: #ff4136 !default;
14
+ $fuchsia: #f012be !default;
15
+ $purple: #b10dc9 !default;
16
+ $maroon: #85144b !default;
17
+ $white: #fff !default;
18
+ $silver: #ddd !default;
19
+ $gray: #aaa !default;
20
+ $black: #111 !default;
21
+ $font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
22
+ $line-height: 1.5 !default;
23
+ $heading-font-family: $font-family !default;
24
+ $heading-font-weight: bold !default;
25
+ $heading-line-height: 1.25 !default;
26
+ $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
27
+ $h1: 2rem !default;
28
+ $h2: 1.5rem !default;
29
+ $h3: 1.25rem !default;
30
+ $h4: 1rem !default;
31
+ $h5: .875rem !default;
32
+ $h6: .75rem !default;
33
+ $bold-font-weight: bold !default;
34
+ $space-1: .5rem !default;
35
+ $space-2: 1rem !default;
36
+ $space-3: 2rem !default;
37
+ $space-4: 4rem !default;
38
+ $form-field-font-size: 1rem !default;
39
+ $form-field-height: 2.25rem !default;
40
+ $form-field-padding-y: .5rem !default;
41
+ $form-field-padding-x: .5rem !default;
42
+ $button-font-size: inherit !default;
43
+ $button-font-weight: bold !default;
44
+ $button-line-height: 1.125rem !default;
45
+ $button-padding-y: .5rem !default;
46
+ $button-padding-x: 1rem !default;
47
+ $container-width: 64em !default;
48
+ $darken-1: rgba(0,0,0,.0625) !default;
49
+ $darken-2: rgba(0,0,0,.125) !default;
50
+ $darken-3: rgba(0,0,0,.25) !default;
51
+ $darken-4: rgba(0,0,0,.5) !default;
52
+ $border-width: 1px !default;
53
+ $border-radius: 3px !default;
54
+ $border-color: $darken-2 !default;
55
+
56
+ // Custom Media Query Variables
57
+
58
+ $breakpoint-sm: '(min-width: 40em)' !default;
59
+ $breakpoint-md: '(min-width: 52em)' !default;
60
+ $breakpoint-lg: '(min-width: 64em)' !default;
61
+
62
+ /* Basscss Grid */
2
63
 
3
64
  .container {
4
- max-width: $grid-max-width;
5
- margin-right: auto;
65
+ max-width: $container-width;
6
66
  margin-left: auto;
67
+ margin-right: auto;
7
68
  }
8
-
9
- .row {
10
- overflow: hidden;
11
- margin-right: -$grid-gutter/2;
12
- margin-left: -$grid-gutter/2;
69
+ .col {
70
+ float: left;
71
+ box-sizing: border-box;
13
72
  }
14
73
 
15
- .col,
16
- .col-right,
17
- .col-center,
18
- .mobile-col,
19
- .col-px {
74
+ .col-right {
75
+ float: right;
20
76
  box-sizing: border-box;
21
- padding-right: $grid-gutter/2;
22
- padding-left: $grid-gutter/2;
23
77
  }
24
78
 
25
- // Mobile grid
26
- .mobile-col { float: left; }
27
- @for $i from 1 through 11 {
28
- .mobile-col-#{$i} { width: percentage($i/12); }
79
+ .col-1 {
80
+ width: (1/12 * 100%);
81
+ }
82
+
83
+ .col-2 {
84
+ width: (2/12 * 100%);
85
+ }
86
+
87
+ .col-3 {
88
+ width: (3/12 * 100%);
89
+ }
90
+
91
+ .col-4 {
92
+ width: (4/12 * 100%);
93
+ }
94
+
95
+ .col-5 {
96
+ width: (5/12 * 100%);
97
+ }
98
+
99
+ .col-6 {
100
+ width: (6/12 * 100%);
101
+ }
102
+
103
+ .col-7 {
104
+ width: (7/12 * 100%);
105
+ }
106
+
107
+ .col-8 {
108
+ width: (8/12 * 100%);
109
+ }
110
+
111
+ .col-9 {
112
+ width: (9/12 * 100%);
113
+ }
114
+
115
+ .col-10 {
116
+ width: (10/12 * 100%);
117
+ }
118
+
119
+ .col-11 {
120
+ width: (11/12 * 100%);
121
+ }
122
+
123
+ .col-12 {
124
+ width: 100%;
29
125
  }
126
+ @media #{$breakpoint-sm} {
127
+
128
+ .sm-col {
129
+ float: left;
130
+ box-sizing: border-box;
131
+ }
132
+
133
+ .sm-col-right {
134
+ float: right;
135
+ box-sizing: border-box;
136
+ }
137
+
138
+ .sm-col-1 {
139
+ width: (1/12 * 100%);
140
+ }
141
+
142
+ .sm-col-2 {
143
+ width: (2/12 * 100%);
144
+ }
145
+
146
+ .sm-col-3 {
147
+ width: (3/12 * 100%);
148
+ }
149
+
150
+ .sm-col-4 {
151
+ width: (4/12 * 100%);
152
+ }
153
+
154
+ .sm-col-5 {
155
+ width: (5/12 * 100%);
156
+ }
30
157
 
31
- // Desktop grid
32
- @media screen and (min-width: $breakpoint-desktop) {
33
- .col { float: left; }
34
- .col-right { float: right; }
35
- .col-center { margin-right: auto; margin-left: auto; }
36
- @for $i from 1 through 11 {
37
- .col-#{$i} { width: percentage($i/12); }
38
- .col-offset-#{$i} { margin-left: percentage($i/12); }
158
+ .sm-col-6 {
159
+ width: (6/12 * 100%);
39
160
  }
40
- .container-col-10 {
41
- max-width: (10/12 * ($grid-max-width + $grid-gutter)) - $grid-gutter;
42
- margin-right: auto;
43
- margin-left: auto;
161
+
162
+ .sm-col-7 {
163
+ width: (7/12 * 100%);
164
+ }
165
+
166
+ .sm-col-8 {
167
+ width: (8/12 * 100%);
168
+ }
169
+
170
+ .sm-col-9 {
171
+ width: (9/12 * 100%);
44
172
  }
45
- .container-col-8 {
46
- max-width: (8/12 * ($grid-max-width + $grid-gutter)) - $grid-gutter;
47
- margin-right: auto;
48
- margin-left: auto;
173
+
174
+ .sm-col-10 {
175
+ width: (10/12 * 100%);
49
176
  }
50
- .container-col-6 {
51
- max-width: (6/12 * ($grid-max-width + $grid-gutter)) - $grid-gutter;
52
- margin-right: auto;
53
- margin-left: auto;
177
+
178
+ .sm-col-11 {
179
+ width: (11/12 * 100%);
54
180
  }
181
+
182
+ .sm-col-12 {
183
+ width: 100%;
184
+ }
185
+
55
186
  }
187
+ @media #{$breakpoint-md} {
188
+
189
+ .md-col {
190
+ float: left;
191
+ box-sizing: border-box;
192
+ }
193
+
194
+ .md-col-right {
195
+ float: right;
196
+ box-sizing: border-box;
197
+ }
198
+
199
+ .md-col-1 {
200
+ width: (1/12 * 100%);
201
+ }
202
+
203
+ .md-col-2 {
204
+ width: (2/12 * 100%);
205
+ }
206
+
207
+ .md-col-3 {
208
+ width: (3/12 * 100%);
209
+ }
210
+
211
+ .md-col-4 {
212
+ width: (4/12 * 100%);
213
+ }
214
+
215
+ .md-col-5 {
216
+ width: (5/12 * 100%);
217
+ }
218
+
219
+ .md-col-6 {
220
+ width: (6/12 * 100%);
221
+ }
222
+
223
+ .md-col-7 {
224
+ width: (7/12 * 100%);
225
+ }
226
+
227
+ .md-col-8 {
228
+ width: (8/12 * 100%);
229
+ }
230
+
231
+ .md-col-9 {
232
+ width: (9/12 * 100%);
233
+ }
234
+
235
+ .md-col-10 {
236
+ width: (10/12 * 100%);
237
+ }
238
+
239
+ .md-col-11 {
240
+ width: (11/12 * 100%);
241
+ }
242
+
243
+ .md-col-12 {
244
+ width: 100%;
245
+ }
246
+
247
+ }
248
+ @media #{$breakpoint-lg} {
249
+
250
+ .lg-col {
251
+ float: left;
252
+ box-sizing: border-box;
253
+ }
254
+
255
+ .lg-col-right {
256
+ float: right;
257
+ box-sizing: border-box;
258
+ }
259
+
260
+ .lg-col-1 {
261
+ width: (1/12 * 100%);
262
+ }
263
+
264
+ .lg-col-2 {
265
+ width: (2/12 * 100%);
266
+ }
267
+
268
+ .lg-col-3 {
269
+ width: (3/12 * 100%);
270
+ }
271
+
272
+ .lg-col-4 {
273
+ width: (4/12 * 100%);
274
+ }
275
+
276
+ .lg-col-5 {
277
+ width: (5/12 * 100%);
278
+ }
279
+
280
+ .lg-col-6 {
281
+ width: (6/12 * 100%);
282
+ }
283
+
284
+ .lg-col-7 {
285
+ width: (7/12 * 100%);
286
+ }
287
+
288
+ .lg-col-8 {
289
+ width: (8/12 * 100%);
290
+ }
291
+
292
+ .lg-col-9 {
293
+ width: (9/12 * 100%);
294
+ }
295
+
296
+ .lg-col-10 {
297
+ width: (10/12 * 100%);
298
+ }
299
+
300
+ .lg-col-11 {
301
+ width: (11/12 * 100%);
302
+ }
303
+
304
+ .lg-col-12 {
305
+ width: 100%;
306
+ }
307
+
308
+ }
309
+
310
+ /* Basscss Defaults */
311
+
312
+ /*
313
+
314
+ COLOR VARIABLES
315
+
316
+ - Cool
317
+ - Warm
318
+ - Gray Scale
56
319
 
320
+ */