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,166 @@
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
+ $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
22
+ $hljs-comment: $gray !default;
23
+ $hljs-keyword: $black !default;
24
+ $hljs-number: $olive !default;
25
+ $hljs-string: $red !default;
26
+ $hljs-title: $red !default;
27
+ $hljs-type: $navy !default;
28
+ $hljs-tag: $navy !default;
29
+ $hljs-attribute: $olive !default;
30
+ $hljs-regexp: $olive !default;
31
+ $hljs-symbol: $purple !default;
32
+ $hljs-built-in: $navy !default;
33
+ $hljs-preprocessor: $gray !default;
34
+ $hljs-deletion: $fuchsia !default;
35
+ $hljs-addition: $lime !default;
36
+ $hljs-change: $navy !default;
37
+ $hljs-chunk: $silver !default;
38
+
39
+ // Custom Media Query Variables
40
+
41
+
42
+ /* Basscss Highlight */
43
+
44
+ /*
45
+
46
+ COLOR VARIABLES
47
+
48
+ - Cool
49
+ - Warm
50
+ - Gray Scale
51
+
52
+ */
53
+
54
+ .hljs {
55
+ -webkit-text-size-adjust: none;
56
+ }
57
+
58
+ .hljs-comment,
59
+ .diff .hljs-header,
60
+ .hljs-javadoc {
61
+ color: $hljs-comment;
62
+ font-style: italic;
63
+ }
64
+
65
+ .hljs-keyword,
66
+ .css .rule .hljs-keyword,
67
+ .hljs-winutils,
68
+ .nginx .hljs-title,
69
+ .hljs-subst,
70
+ .hljs-request,
71
+ .hljs-status {
72
+ color: $hljs-keyword;
73
+ font-weight: bold;
74
+ }
75
+
76
+ .hljs-number,
77
+ .hljs-hexcolor,
78
+ .ruby .hljs-constant {
79
+ color: $hljs-number;
80
+ }
81
+
82
+ .hljs-string,
83
+ .hljs-tag .hljs-value,
84
+ .hljs-phpdoc,
85
+ .hljs-dartdoc,
86
+ .tex .hljs-formula {
87
+ color: $hljs-string;
88
+ }
89
+
90
+ .hljs-title,
91
+ .hljs-id,
92
+ .scss .hljs-preprocessor {
93
+ color: $hljs-title;
94
+ font-weight: bold;
95
+ }
96
+
97
+ .hljs-list .hljs-keyword,
98
+ .hljs-subst {
99
+ font-weight: normal;
100
+ }
101
+
102
+ .hljs-class .hljs-title,
103
+ .hljs-type,
104
+ .vhdl .hljs-literal,
105
+ .tex .hljs-command {
106
+ color: $hljs-type;
107
+ font-weight: bold;
108
+ }
109
+
110
+ .hljs-tag,
111
+ .hljs-tag .hljs-title,
112
+ .hljs-rules .hljs-property,
113
+ .django .hljs-tag .hljs-keyword {
114
+ color: $hljs-tag;
115
+ font-weight: normal;
116
+ }
117
+
118
+ .hljs-attribute,
119
+ .hljs-variable,
120
+ .lisp .hljs-body {
121
+ color: $hljs-attribute;
122
+ }
123
+
124
+ .hljs-regexp {
125
+ color: $hljs-regexp;
126
+ }
127
+
128
+ .hljs-symbol,
129
+ .ruby .hljs-symbol .hljs-string,
130
+ .lisp .hljs-keyword,
131
+ .clojure .hljs-keyword,
132
+ .scheme .hljs-keyword,
133
+ .tex .hljs-special,
134
+ .hljs-prompt {
135
+ color: $hljs-symbol;
136
+ }
137
+
138
+ .hljs-built_in {
139
+ color: $hljs-built-in;
140
+ }
141
+
142
+ .hljs-preprocessor,
143
+ .hljs-pragma,
144
+ .hljs-pi,
145
+ .hljs-doctype,
146
+ .hljs-shebang,
147
+ .hljs-cdata {
148
+ color: $hljs-preprocessor;
149
+ font-weight: bold;
150
+ }
151
+
152
+ .hljs-deletion {
153
+ background: $hljs-deletion;
154
+ }
155
+
156
+ .hljs-addition {
157
+ background: $hljs-addition;
158
+ }
159
+
160
+ .diff .hljs-change {
161
+ background: $hljs-change;
162
+ }
163
+
164
+ .hljs-chunk {
165
+ color: $hljs-chunk;
166
+ }
@@ -0,0 +1,155 @@
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
+ $range-thumb-width: $form-field-padding-x !default;
56
+ $range-thumb-height: ( $form-field-height - ($form-field-padding-y * 2) ) !default;
57
+ $range-track-height: ( $form-field-padding-y / 2 ) !default;
58
+ $range-thumb-offset: ( $range-thumb-height / -2 + ($range-track-height / 2) ) !default;
59
+ $range-thumb-pseudo-size: $form-field-height !default;
60
+
61
+ // Custom Media Query Variables
62
+
63
+ $breakpoint-sm: '(min-width: 40em)' !default;
64
+ $breakpoint-md: '(min-width: 52em)' !default;
65
+ $breakpoint-lg: '(min-width: 64em)' !default;
66
+
67
+ /* Basscss Input Range */
68
+
69
+ input[type=range] {
70
+ vertical-align: middle;
71
+ background-color: transparent;
72
+ }
73
+
74
+ .range-light {
75
+ color: inherit;
76
+ -webkit-appearance: none;
77
+ padding-top: $form-field-padding-y;
78
+ padding-bottom: $form-field-padding-y;
79
+ }
80
+
81
+ .range-light::-webkit-slider-thumb {
82
+ -webkit-appearance: none;
83
+ position: relative;
84
+ width: $range-thumb-width;
85
+ height: $range-thumb-height;
86
+ border-radius: $border-radius;
87
+ background-color: currentcolor;
88
+ cursor: pointer;
89
+ margin-top: $range-thumb-offset;
90
+ }
91
+
92
+ /* Touch screen friendly pseudo element */
93
+ .range-light::-webkit-slider-thumb:before {
94
+ content: '';
95
+ display: block;
96
+ position: absolute;
97
+ top: ( -.5 * $range-thumb-pseudo-size + (.5 * $range-thumb-height) );
98
+ left: ( (-.5 * $range-thumb-pseudo-size) + (.5 * $range-thumb-width) );
99
+ width: $range-thumb-pseudo-size;
100
+ height: $range-thumb-pseudo-size;
101
+ opacity: 0;
102
+ }
103
+
104
+ .range-light::-moz-range-thumb {
105
+ width: $range-thumb-width;
106
+ height: $range-thumb-height;
107
+ border-radius: $border-radius;
108
+ border-color: transparent;
109
+ border-width: 0;
110
+ background-color: currentcolor;
111
+ cursor: pointer;
112
+ }
113
+
114
+ .range-light::-webkit-slider-runnable-track {
115
+ height: $range-track-height;
116
+ cursor: pointer;
117
+ border-radius: $border-radius;
118
+ background-color: $darken-3;
119
+ }
120
+
121
+ .range-light::-moz-range-track {
122
+ height: $range-track-height;
123
+ cursor: pointer;
124
+ border-radius: $border-radius;
125
+ background-color: $darken-3;
126
+ }
127
+
128
+ .range-light:focus {
129
+ outline: none;
130
+ }
131
+
132
+ .range-light:focus::-webkit-slider-thumb {
133
+ outline: none;
134
+ border: 0;
135
+ box-shadow: 0 0 1px 2px currentcolor;
136
+ }
137
+
138
+ .range-light:focus::-moz-range-thumb {
139
+ outline: none;
140
+ border: 0;
141
+ box-shadow: 0 0 0 3px $darken-3;
142
+ }
143
+
144
+
145
+ /* Basscss Defaults */
146
+
147
+ /*
148
+
149
+ COLOR VARIABLES
150
+
151
+ - Cool
152
+ - Warm
153
+ - Gray Scale
154
+
155
+ */
@@ -0,0 +1,22 @@
1
+
2
+ // Converted Variables
3
+
4
+
5
+ // Custom Media Query Variables
6
+
7
+
8
+ /* Basscss Positions */
9
+
10
+ .relative { position: relative }
11
+ .absolute { position: absolute }
12
+ .fixed { position: fixed }
13
+
14
+ .top-0 { top: 0 }
15
+ .right-0 { right: 0 }
16
+ .bottom-0 { bottom: 0 }
17
+ .left-0 { left: 0 }
18
+
19
+ .z1 { z-index: 1 }
20
+ .z2 { z-index: 2 }
21
+ .z3 { z-index: 3 }
22
+ .z4 { z-index: 4 }
@@ -0,0 +1,101 @@
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 Progress */
63
+
64
+ .progress {
65
+ display: block;
66
+ width: 100%;
67
+ height: ( $form-field-height / 4 );
68
+ margin: $form-field-padding-y 0;
69
+ background-color: $darken-2;
70
+ border: 0;
71
+ border-radius: 10000px;
72
+ overflow: hidden;
73
+ -webkit-appearance: none;
74
+ }
75
+
76
+ .progress::-webkit-progress-bar {
77
+ -webkit-appearance: none;
78
+ background-color: $darken-2
79
+ }
80
+
81
+ .progress::-webkit-progress-value {
82
+ -webkit-appearance: none;
83
+ background-color: currentColor;
84
+ }
85
+
86
+ .progress::-moz-progress-bar {
87
+ background-color: currentColor;
88
+ }
89
+
90
+
91
+ /* Basscss Defaults */
92
+
93
+ /*
94
+
95
+ COLOR VARIABLES
96
+
97
+ - Cool
98
+ - Warm
99
+ - Gray Scale
100
+
101
+ */
@@ -0,0 +1,114 @@
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 Utility Responsive States */
63
+
64
+ .sm-show, .md-show, .lg-show {
65
+ display: none !important
66
+ }
67
+
68
+ @media #{$breakpoint-sm} {
69
+ .sm-show { display: block !important }
70
+ }
71
+
72
+ @media #{$breakpoint-md} {
73
+ .md-show { display: block !important }
74
+ }
75
+
76
+ @media #{$breakpoint-lg} {
77
+ .lg-show { display: block !important }
78
+ }
79
+
80
+
81
+ @media #{$breakpoint-sm} {
82
+ .sm-hide { display: none !important }
83
+ }
84
+
85
+ @media #{$breakpoint-md} {
86
+ .md-hide { display: none !important }
87
+ }
88
+
89
+ @media #{$breakpoint-lg} {
90
+ .lg-hide { display: none !important }
91
+ }
92
+
93
+ .display-none { display: none !important }
94
+
95
+ .hide {
96
+ position: absolute !important;
97
+ height: 1px;
98
+ width: 1px;
99
+ overflow: hidden;
100
+ clip: rect(1px, 1px, 1px, 1px);
101
+ }
102
+
103
+
104
+ /* Basscss Defaults */
105
+
106
+ /*
107
+
108
+ COLOR VARIABLES
109
+
110
+ - Cool
111
+ - Warm
112
+ - Gray Scale
113
+
114
+ */