bassy-rails 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +24 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +35 -0
  6. data/Rakefile +10 -0
  7. data/app/assets/stylesheets/basscss/_align.scss +13 -0
  8. data/app/assets/stylesheets/basscss/_background-colors.scss +99 -0
  9. data/app/assets/stylesheets/basscss/_background-images.scss +17 -0
  10. data/app/assets/stylesheets/basscss/_base-buttons.scss +114 -0
  11. data/app/assets/stylesheets/basscss/_base-forms.scss +128 -0
  12. data/app/assets/stylesheets/basscss/_base-reset.scss +10 -0
  13. data/app/assets/stylesheets/basscss/_base-tables.scss +99 -0
  14. data/app/assets/stylesheets/basscss/_base-typography.scss +132 -0
  15. data/app/assets/stylesheets/basscss/_border-colors.scss +99 -0
  16. data/app/assets/stylesheets/basscss/_borders.scss +116 -0
  17. data/app/assets/stylesheets/basscss/_btn-outline.scss +98 -0
  18. data/app/assets/stylesheets/basscss/_btn-primary.scss +97 -0
  19. data/app/assets/stylesheets/basscss/_btn.scss +113 -0
  20. data/app/assets/stylesheets/basscss/_button-blue-outline.scss +46 -0
  21. data/app/assets/stylesheets/basscss/_button-blue.scss +41 -0
  22. data/app/assets/stylesheets/basscss/_button-gray.scss +42 -0
  23. data/app/assets/stylesheets/basscss/_button-light-gray.scss +43 -0
  24. data/app/assets/stylesheets/basscss/_button-link.scss +42 -0
  25. data/app/assets/stylesheets/basscss/_button-nav-dark.scss +23 -0
  26. data/app/assets/stylesheets/basscss/_button-nav-light.scss +26 -0
  27. data/app/assets/stylesheets/basscss/_button-nav-tab.scss +34 -0
  28. data/app/assets/stylesheets/basscss/_button-outline.scss +123 -0
  29. data/app/assets/stylesheets/basscss/_button-red.scss +41 -0
  30. data/app/assets/stylesheets/basscss/_button-sizes.scss +93 -0
  31. data/app/assets/stylesheets/basscss/_button-solid.scss +104 -0
  32. data/app/assets/stylesheets/basscss/_button-transparent.scss +127 -0
  33. data/app/assets/stylesheets/basscss/_color-base.scss +110 -0
  34. data/app/assets/stylesheets/basscss/_color-buttons.scss +196 -0
  35. data/app/assets/stylesheets/basscss/_color-forms-dark.scss +142 -0
  36. data/app/assets/stylesheets/basscss/_color-forms.scss +135 -0
  37. data/app/assets/stylesheets/basscss/_color-input-range.scss +119 -0
  38. data/app/assets/stylesheets/basscss/_color-progress.scss +95 -0
  39. data/app/assets/stylesheets/basscss/_color-tables.scss +85 -0
  40. data/app/assets/stylesheets/basscss/_colors.scss +97 -0
  41. data/app/assets/stylesheets/basscss/_defaults.scss +72 -0
  42. data/app/assets/stylesheets/basscss/_flex-object.scss +104 -0
  43. data/app/assets/stylesheets/basscss/_grid.scss +320 -0
  44. data/app/assets/stylesheets/basscss/_highlight.scss +166 -0
  45. data/app/assets/stylesheets/basscss/_input-range.scss +155 -0
  46. data/app/assets/stylesheets/basscss/_positions.scss +22 -0
  47. data/app/assets/stylesheets/basscss/_progress.scss +101 -0
  48. data/app/assets/stylesheets/basscss/_responsive-states.scss +114 -0
  49. data/app/assets/stylesheets/basscss/_responsive-white-space.scss +194 -0
  50. data/app/assets/stylesheets/basscss/_table-object.scss +58 -0
  51. data/app/assets/stylesheets/basscss/_type-scale.scss +81 -0
  52. data/app/assets/stylesheets/basscss/_ui-utility-groups.scss +21 -0
  53. data/app/assets/stylesheets/basscss/_utility-headings.scss +33 -0
  54. data/app/assets/stylesheets/basscss/_utility-layout.scss +32 -0
  55. data/app/assets/stylesheets/basscss/_utility-typography.scss +33 -0
  56. data/app/assets/stylesheets/basscss/_white-space.scss +128 -0
  57. data/app/assets/stylesheets/basscss/basscss.scss +42 -0
  58. data/bassy-rails.gemspec +23 -0
  59. data/lib/bassy/rails.rb +7 -0
  60. data/lib/bassy/rails/engine.rb +8 -0
  61. data/lib/bassy/rails/version.rb +5 -0
  62. metadata +134 -0
@@ -0,0 +1,194 @@
1
+
2
+ // Converted Variables
3
+
4
+ $space-1: .5rem !default;
5
+ $space-2: 1rem !default;
6
+ $space-3: 2rem !default;
7
+ $space-4: 4rem !default;
8
+
9
+ // Custom Media Query Variables
10
+
11
+ $breakpoint-sm: '(min-width: 40em)' !default;
12
+ $breakpoint-md: '(min-width: 52em)' !default;
13
+ $breakpoint-lg: '(min-width: 64em)' !default;
14
+
15
+ /* Basscss Responsive White Space */
16
+
17
+ @media #{$breakpoint-sm} {
18
+
19
+ .sm-m0 { margin: 0 }
20
+ .sm-mt0 { margin-top: 0 }
21
+ .sm-mr0 { margin-right: 0 }
22
+ .sm-mb0 { margin-bottom: 0 }
23
+ .sm-ml0 { margin-left: 0 }
24
+
25
+ .sm-m1 { margin: $space-1 }
26
+ .sm-mt1 { margin-top: $space-1 }
27
+ .sm-mr1 { margin-right: $space-1 }
28
+ .sm-mb1 { margin-bottom: $space-1 }
29
+ .sm-ml1 { margin-left: $space-1 }
30
+
31
+ .sm-m2 { margin: $space-2 }
32
+ .sm-mt2 { margin-top: $space-2 }
33
+ .sm-mr2 { margin-right: $space-2 }
34
+ .sm-mb2 { margin-bottom: $space-2 }
35
+ .sm-ml2 { margin-left: $space-2 }
36
+
37
+ .sm-m3 { margin: $space-3 }
38
+ .sm-mt3 { margin-top: $space-3 }
39
+ .sm-mr3 { margin-right: $space-3 }
40
+ .sm-mb3 { margin-bottom: $space-3 }
41
+ .sm-ml3 { margin-left: $space-3 }
42
+
43
+ .sm-m4 { margin: $space-4 }
44
+ .sm-mt4 { margin-top: $space-4 }
45
+ .sm-mr4 { margin-right: $space-4 }
46
+ .sm-mb4 { margin-bottom: $space-4 }
47
+ .sm-ml4 { margin-left: $space-4 }
48
+
49
+ .sm-mxn1 { margin-left: -$space-1; margin-right: -$space-1; }
50
+ .sm-mxn2 { margin-left: -$space-2; margin-right: -$space-2; }
51
+ .sm-mxn3 { margin-left: -$space-3; margin-right: -$space-3; }
52
+ .sm-mxn4 { margin-left: -$space-4; margin-right: -$space-4; }
53
+
54
+ .sm-mx-auto { margin-left: auto; margin-right: auto; }
55
+
56
+ }
57
+ @media #{$breakpoint-md} {
58
+
59
+ .md-m0 { margin: 0 }
60
+ .md-mt0 { margin-top: 0 }
61
+ .md-mr0 { margin-right: 0 }
62
+ .md-mb0 { margin-bottom: 0 }
63
+ .md-ml0 { margin-left: 0 }
64
+
65
+ .md-m1 { margin: $space-1 }
66
+ .md-mt1 { margin-top: $space-1 }
67
+ .md-mr1 { margin-right: $space-1 }
68
+ .md-mb1 { margin-bottom: $space-1 }
69
+ .md-ml1 { margin-left: $space-1 }
70
+
71
+ .md-m2 { margin: $space-2 }
72
+ .md-mt2 { margin-top: $space-2 }
73
+ .md-mr2 { margin-right: $space-2 }
74
+ .md-mb2 { margin-bottom: $space-2 }
75
+ .md-ml2 { margin-left: $space-2 }
76
+
77
+ .md-m3 { margin: $space-3 }
78
+ .md-mt3 { margin-top: $space-3 }
79
+ .md-mr3 { margin-right: $space-3 }
80
+ .md-mb3 { margin-bottom: $space-3 }
81
+ .md-ml3 { margin-left: $space-3 }
82
+
83
+ .md-m4 { margin: $space-4 }
84
+ .md-mt4 { margin-top: $space-4 }
85
+ .md-mr4 { margin-right: $space-4 }
86
+ .md-mb4 { margin-bottom: $space-4 }
87
+ .md-ml4 { margin-left: $space-4 }
88
+
89
+ .md-mxn1 { margin-left: -$space-1; margin-right: -$space-1; }
90
+ .md-mxn2 { margin-left: -$space-2; margin-right: -$space-2; }
91
+ .md-mxn3 { margin-left: -$space-3; margin-right: -$space-3; }
92
+ .md-mxn4 { margin-left: -$space-4; margin-right: -$space-4; }
93
+
94
+ .md-mx-auto { margin-left: auto; margin-right: auto; }
95
+
96
+ }
97
+ @media #{$breakpoint-lg} {
98
+
99
+ .lg-m0 { margin: 0 }
100
+ .lg-mt0 { margin-top: 0 }
101
+ .lg-mr0 { margin-right: 0 }
102
+ .lg-mb0 { margin-bottom: 0 }
103
+ .lg-ml0 { margin-left: 0 }
104
+
105
+ .lg-m1 { margin: $space-1 }
106
+ .lg-mt1 { margin-top: $space-1 }
107
+ .lg-mr1 { margin-right: $space-1 }
108
+ .lg-mb1 { margin-bottom: $space-1 }
109
+ .lg-ml1 { margin-left: $space-1 }
110
+
111
+ .lg-m2 { margin: $space-2 }
112
+ .lg-mt2 { margin-top: $space-2 }
113
+ .lg-mr2 { margin-right: $space-2 }
114
+ .lg-mb2 { margin-bottom: $space-2 }
115
+ .lg-ml2 { margin-left: $space-2 }
116
+
117
+ .lg-m3 { margin: $space-3 }
118
+ .lg-mt3 { margin-top: $space-3 }
119
+ .lg-mr3 { margin-right: $space-3 }
120
+ .lg-mb3 { margin-bottom: $space-3 }
121
+ .lg-ml3 { margin-left: $space-3 }
122
+
123
+ .lg-m4 { margin: $space-4 }
124
+ .lg-mt4 { margin-top: $space-4 }
125
+ .lg-mr4 { margin-right: $space-4 }
126
+ .lg-mb4 { margin-bottom: $space-4 }
127
+ .lg-ml4 { margin-left: $space-4 }
128
+
129
+ .lg-mxn1 { margin-left: -$space-1; margin-right: -$space-1; }
130
+ .lg-mxn2 { margin-left: -$space-2; margin-right: -$space-2; }
131
+ .lg-mxn3 { margin-left: -$space-3; margin-right: -$space-3; }
132
+ .lg-mxn4 { margin-left: -$space-4; margin-right: -$space-4; }
133
+
134
+ .lg-mx-auto { margin-left: auto; margin-right: auto; }
135
+
136
+ }
137
+
138
+ @media #{$breakpoint-sm} {
139
+
140
+ .sm-p1 { padding: $space-1 }
141
+ .sm-py1 { padding-top: $space-1; padding-bottom: $space-1 }
142
+ .sm-px1 { padding-left: $space-1; padding-right: $space-1 }
143
+
144
+ .sm-p2 { padding: $space-2 }
145
+ .sm-py2 { padding-top: $space-2; padding-bottom: $space-2 }
146
+ .sm-px2 { padding-left: $space-2; padding-right: $space-2 }
147
+
148
+ .sm-p3 { padding: $space-3 }
149
+ .sm-py3 { padding-top: $space-3; padding-bottom: $space-3 }
150
+ .sm-px3 { padding-left: $space-3; padding-right: $space-3 }
151
+
152
+ .sm-p4 { padding: $space-4 }
153
+ .sm-py4 { padding-top: $space-4; padding-bottom: $space-4 }
154
+ .sm-px4 { padding-left: $space-4; padding-right: $space-4 }
155
+
156
+ }
157
+ @media #{$breakpoint-md} {
158
+
159
+ .md-p1 { padding: $space-1 }
160
+ .md-py1 { padding-top: $space-1; padding-bottom: $space-1 }
161
+ .md-px1 { padding-left: $space-1; padding-right: $space-1 }
162
+
163
+ .md-p2 { padding: $space-2 }
164
+ .md-py2 { padding-top: $space-2; padding-bottom: $space-2 }
165
+ .md-px2 { padding-left: $space-2; padding-right: $space-2 }
166
+
167
+ .md-p3 { padding: $space-3 }
168
+ .md-py3 { padding-top: $space-3; padding-bottom: $space-3 }
169
+ .md-px3 { padding-left: $space-3; padding-right: $space-3 }
170
+
171
+ .md-p4 { padding: $space-4 }
172
+ .md-py4 { padding-top: $space-4; padding-bottom: $space-4 }
173
+ .md-px4 { padding-left: $space-4; padding-right: $space-4 }
174
+
175
+ }
176
+ @media #{$breakpoint-lg} {
177
+
178
+ .lg-p1 { padding: $space-1 }
179
+ .lg-py1 { padding-top: $space-1; padding-bottom: $space-1 }
180
+ .lg-px1 { padding-left: $space-1; padding-right: $space-1 }
181
+
182
+ .lg-p2 { padding: $space-2 }
183
+ .lg-py2 { padding-top: $space-2; padding-bottom: $space-2 }
184
+ .lg-px2 { padding-left: $space-2; padding-right: $space-2 }
185
+
186
+ .lg-p3 { padding: $space-3 }
187
+ .lg-py3 { padding-top: $space-3; padding-bottom: $space-3 }
188
+ .lg-px3 { padding-left: $space-3; padding-right: $space-3 }
189
+
190
+ .lg-p4 { padding: $space-4 }
191
+ .lg-py4 { padding-top: $space-4; padding-bottom: $space-4 }
192
+ .lg-px4 { padding-left: $space-4; padding-right: $space-4 }
193
+
194
+ }
@@ -0,0 +1,58 @@
1
+
2
+ // Converted Variables
3
+
4
+
5
+ // Custom Media Query Variables
6
+
7
+ $breakpoint-sm: '(min-width: 40em)' !default;
8
+ $breakpoint-md: '(min-width: 52em)' !default;
9
+ $breakpoint-lg: '(min-width: 64em)' !default;
10
+
11
+ /* Basscss Table Object */
12
+
13
+ .table {
14
+ display: table;
15
+ width: 100%;
16
+ }
17
+ .table-cell {
18
+ display: table-cell;
19
+ vertical-align: middle;
20
+ }
21
+
22
+ .table-fixed { table-layout: fixed }
23
+ @media #{$breakpoint-sm} {
24
+
25
+ .sm-table {
26
+ display: table;
27
+ width: 100%;
28
+ }
29
+ .sm-table-cell {
30
+ display: table-cell;
31
+ vertical-align: middle;
32
+ }
33
+
34
+ }
35
+ @media #{$breakpoint-md} {
36
+
37
+ .md-table {
38
+ display: table;
39
+ width: 100%;
40
+ }
41
+ .md-table-cell {
42
+ display: table-cell;
43
+ vertical-align: middle;
44
+ }
45
+
46
+ }
47
+ @media #{$breakpoint-lg} {
48
+
49
+ .lg-table {
50
+ display: table;
51
+ width: 100%;
52
+ }
53
+ .lg-table-cell {
54
+ display: table-cell;
55
+ vertical-align: middle;
56
+ }
57
+
58
+ }
@@ -0,0 +1,81 @@
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 Type Scale */
63
+
64
+ .h1 { font-size: $h1 }
65
+ .h2 { font-size: $h2 }
66
+ .h3 { font-size: $h3 }
67
+ .h4 { font-size: $h4 }
68
+ .h5 { font-size: $h5 }
69
+ .h6 { font-size: $h6 }
70
+
71
+ /* Basscss Defaults */
72
+
73
+ /*
74
+
75
+ COLOR VARIABLES
76
+
77
+ - Cool
78
+ - Warm
79
+ - Gray Scale
80
+
81
+ */
@@ -0,0 +1,21 @@
1
+
2
+ // Converted Variables
3
+
4
+ $border-width: 1px !default;
5
+
6
+ // Custom Media Query Variables
7
+
8
+
9
+ /* Basscss UI Utility Groups */
10
+
11
+ .x-group-item { margin-left: -$border-width }
12
+ .x-group-item:first-of-type { margin-left: 0 }
13
+
14
+ .y-group-item { margin-top: -$border-width }
15
+ .y-group-item:first-of-type { margin-top: 0 }
16
+
17
+ .x-group-item:focus,
18
+ .y-group-item:focus {
19
+ position: relative;
20
+ z-index: 1;
21
+ }
@@ -0,0 +1,33 @@
1
+
2
+ // Converted Variables
3
+
4
+ $h00: 4rem !default;
5
+ $h0: 3rem !default;
6
+ $h00-responsive: 8vw !default;
7
+ $h0-responsive: 6vw !default;
8
+ $h1-responsive: 4vw !default;
9
+ $h00-responsive-max: 7.68rem !default;
10
+ $h0-responsive-max: 5.76rem !default;
11
+ $h1-responsive-max: 3.84rem !default;
12
+
13
+ // Custom Media Query Variables
14
+
15
+ $breakpoint-md: '(min-width: 52em)' !default;
16
+ $breakpoint-xl: '(min-width: 96em)' !default;
17
+
18
+ /* Basscss Utility Headings */
19
+
20
+ .h00 { font-size: $h00 }
21
+ .h0 { font-size: $h0 }
22
+
23
+ @media #{$breakpoint-md} {
24
+ .h00-responsive { font-size: $h00-responsive }
25
+ .h0-responsive { font-size: $h0-responsive }
26
+ .h1-responsive { font-size: $h1-responsive }
27
+ }
28
+
29
+ @media #{$breakpoint-xl} {
30
+ .h00-responsive { font-size: $h00-responsive-max }
31
+ .h0-responsive { font-size: $h0-responsive-max }
32
+ .h1-responsive { font-size: $h1-responsive-max }
33
+ }
@@ -0,0 +1,32 @@
1
+
2
+ // Converted Variables
3
+
4
+
5
+ // Custom Media Query Variables
6
+
7
+
8
+ /* Basscss Utility Layout */
9
+
10
+ .inline { display: inline }
11
+ .block { display: block }
12
+ .inline-block { display: inline-block }
13
+ .table { display: table }
14
+ .table-cell { display: table-cell }
15
+
16
+ .overflow-hidden { overflow: hidden }
17
+ .overflow-scroll { overflow: scroll }
18
+ .overflow-auto { overflow: auto }
19
+
20
+ .clearfix:before,
21
+ .clearfix:after {
22
+ content: " ";
23
+ display: table
24
+ }
25
+ .clearfix:after { clear: both }
26
+
27
+ .left { float: left }
28
+ .right { float: right }
29
+
30
+ .fit { max-width: 100% }
31
+
32
+ .border-box { box-sizing: border-box }
@@ -0,0 +1,33 @@
1
+
2
+ // Converted Variables
3
+
4
+
5
+ // Custom Media Query Variables
6
+
7
+
8
+ /* Basscss Utility Typography */
9
+
10
+ .bold { font-weight: $bold-font-weight /* Fallback value: bold */ }
11
+ .regular { font-weight: normal }
12
+ .italic { font-style: italic }
13
+ .caps { text-transform: uppercase; letter-spacing: .2em; }
14
+
15
+ .left-align { text-align: left }
16
+ .center { text-align: center }
17
+ .right-align { text-align: right }
18
+ .justify { text-align: justify }
19
+
20
+ .nowrap { white-space: nowrap }
21
+ .break-word { word-wrap: break-word }
22
+
23
+ .truncate {
24
+ max-width: 100%;
25
+ overflow: hidden;
26
+ text-overflow: ellipsis;
27
+ white-space: nowrap;
28
+ }
29
+
30
+ .list-reset {
31
+ list-style: none;
32
+ padding-left: 0;
33
+ }