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,135 @@
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
+ $field-focus-color: $blue !default;
56
+ $field-success-color: $green !default;
57
+ $field-warning-color: $yellow !default;
58
+ $field-error-color: $red !default;
59
+
60
+ // Custom Media Query Variables
61
+
62
+ $breakpoint-sm: '(min-width: 40em)' !default;
63
+ $breakpoint-md: '(min-width: 52em)' !default;
64
+ $breakpoint-lg: '(min-width: 64em)' !default;
65
+
66
+ /* Basscss Color Forms */
67
+
68
+ .field {
69
+ border-style: solid;
70
+ border-width: $border-width;
71
+ border-color: $border-color;
72
+ border-radius: $border-radius;
73
+ }
74
+
75
+ .field:focus,
76
+ .field.is-focused {
77
+ outline: none;
78
+ border-color: $field-focus-color;
79
+ box-shadow: 0 0 0 2px color($field-focus-color a(.5));
80
+ }
81
+
82
+ .field:disabled,
83
+ .field.is-disabled {
84
+ background-color: $darken-2;
85
+ opacity: .5;
86
+ }
87
+
88
+ .field:read-only:not(select),
89
+ .field.is-read-only {
90
+ background-color: $darken-2;
91
+ }
92
+
93
+
94
+ .field.is-success {
95
+ border-color: $field-success-color;
96
+ }
97
+
98
+ .field.is-success:focus,
99
+ .field.is-success.is-focused {
100
+ box-shadow: 0 0 0 2px color($field-success-color a(.5));
101
+ }
102
+
103
+ .field.is-warning {
104
+ border-color: $field-warning-color;
105
+ }
106
+
107
+ .field.is-warning:focus,
108
+ .field.is-warning.is-focused {
109
+ box-shadow: 0 0 0 2px color($field-warning-color a(.5));
110
+ }
111
+
112
+ .field:invalid,
113
+ .field.is-error {
114
+ border-color: $field-error-color;
115
+ }
116
+
117
+ .field:invalid:focus,
118
+ .field:invalid.is-focused,
119
+ .field.is-error:focus,
120
+ .field.is-error.is-focused {
121
+ box-shadow: 0 0 0 2px color($field-error-color a(.5));
122
+ }
123
+
124
+
125
+ /* Basscss Defaults */
126
+
127
+ /*
128
+
129
+ COLOR VARIABLES
130
+
131
+ - Cool
132
+ - Warm
133
+ - Gray Scale
134
+
135
+ */
@@ -0,0 +1,119 @@
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 Color Input Range */
63
+
64
+ .range-light {
65
+ color: inherit;
66
+ background-color: transparent;
67
+ -webkit-appearance: none;
68
+ }
69
+
70
+ .range-light::-webkit-slider-thumb {
71
+ -webkit-appearance: none;
72
+ border-radius: $border-radius;
73
+ background-color: currentcolor;
74
+ }
75
+
76
+ .range-light::-moz-range-thumb {
77
+ border-radius: $border-radius;
78
+ border-color: transparent;
79
+ border-width: 0;
80
+ background-color: currentcolor;
81
+ }
82
+
83
+ .range-light::-webkit-slider-runnable-track {
84
+ border-radius: $border-radius;
85
+ background-color: $darken-3;
86
+ }
87
+
88
+ .range-light::-moz-range-track {
89
+ border-radius: $border-radius;
90
+ background-color: $darken-3;
91
+ }
92
+
93
+ .range-light:focus {
94
+ outline: none;
95
+ }
96
+
97
+ .range-light:focus::-webkit-slider-thumb {
98
+ outline: none;
99
+ border: 0;
100
+ box-shadow: 0 0 1px 2px currentcolor;
101
+ }
102
+
103
+ .range-light:focus::-moz-range-thumb {
104
+ outline: none;
105
+ border: 0;
106
+ box-shadow: 0 0 0 3px $darken-3;
107
+ }
108
+
109
+ /* Basscss Defaults */
110
+
111
+ /*
112
+
113
+ COLOR VARIABLES
114
+
115
+ - Cool
116
+ - Warm
117
+ - Gray Scale
118
+
119
+ */
@@ -0,0 +1,95 @@
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 Color Progress */
63
+
64
+ .progress {
65
+ background-color: $darken-2;
66
+ border: 0;
67
+ border-radius: 10000px;
68
+ }
69
+
70
+ .progress::-webkit-progress-bar {
71
+ -webkit-appearance: none;
72
+ background-color: $darken-2
73
+ }
74
+
75
+ .progress::-webkit-progress-value {
76
+ -webkit-appearance: none;
77
+ background-color: currentColor;
78
+ }
79
+
80
+ .progress::-moz-progress-bar {
81
+ background-color: currentColor;
82
+ }
83
+
84
+
85
+ /* Basscss Defaults */
86
+
87
+ /*
88
+
89
+ COLOR VARIABLES
90
+
91
+ - Cool
92
+ - Warm
93
+ - Gray Scale
94
+
95
+ */
@@ -0,0 +1,85 @@
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 Color Tables */
63
+
64
+ .table-light th,
65
+ .table-light td {
66
+ border-bottom-width: $border-width;
67
+ border-bottom-style: solid;
68
+ border-bottom-color: $border-color;
69
+ }
70
+
71
+ .table-light tr:last-child td {
72
+ border-bottom: 0;
73
+ }
74
+
75
+ /* Basscss Defaults */
76
+
77
+ /*
78
+
79
+ COLOR VARIABLES
80
+
81
+ - Cool
82
+ - Warm
83
+ - Gray Scale
84
+
85
+ */
@@ -0,0 +1,97 @@
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 Colors */
63
+
64
+ .black { color: $black }
65
+ .gray { color: $gray }
66
+ .silver { color: $silver }
67
+ .white { color: $white }
68
+
69
+ .aqua { color: $aqua }
70
+ .blue { color: $blue }
71
+ .navy { color: $navy }
72
+ .teal { color: $teal }
73
+ .green { color: $green }
74
+ .olive { color: $olive }
75
+ .lime { color: $lime }
76
+
77
+ .yellow { color: $yellow }
78
+ .orange { color: $orange }
79
+ .red { color: $red }
80
+ .fuchsia { color: $fuchsia }
81
+ .purple { color: $purple }
82
+ .maroon { color: $maroon }
83
+
84
+ .color-inherit { color: inherit }
85
+ .muted { opacity: .5 }
86
+
87
+ /* Basscss Defaults */
88
+
89
+ /*
90
+
91
+ COLOR VARIABLES
92
+
93
+ - Cool
94
+ - Warm
95
+ - Gray Scale
96
+
97
+ */