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,10 @@
1
+
2
+ // Converted Variables
3
+
4
+
5
+ // Custom Media Query Variables
6
+
7
+
8
+ body { margin: 0 }
9
+ img { max-width: 100% }
10
+ svg { max-height: 100% }
@@ -0,0 +1,99 @@
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
+ $table-header-font-weight: $bold-font-weight !default;
56
+ $table-cell-padding-x: $space-2 !default;
57
+ $table-cell-padding-y: .25rem !default;
58
+
59
+ // Custom Media Query Variables
60
+
61
+ $breakpoint-sm: '(min-width: 40em)' !default;
62
+ $breakpoint-md: '(min-width: 52em)' !default;
63
+ $breakpoint-lg: '(min-width: 64em)' !default;
64
+
65
+ /* Basscss Base Tables */
66
+
67
+ table {
68
+ border-collapse: separate;
69
+ border-spacing: 0;
70
+ max-width: 100%;
71
+ width: 100%;
72
+ }
73
+
74
+ th {
75
+ text-align: left;
76
+ font-weight: $table-header-font-weight;
77
+ }
78
+
79
+ th,
80
+ td {
81
+ padding: $table-cell-padding-y $table-cell-padding-x;
82
+ line-height: inherit;
83
+ }
84
+
85
+ th { vertical-align: bottom }
86
+ td { vertical-align: top }
87
+
88
+
89
+ /* Basscss Defaults */
90
+
91
+ /*
92
+
93
+ COLOR VARIABLES
94
+
95
+ - Cool
96
+ - Warm
97
+ - Gray Scale
98
+
99
+ */
@@ -0,0 +1,132 @@
1
+
2
+ // Converted Variables
3
+
4
+ $font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
5
+ $line-height: 1.5 !default;
6
+ $body-font-size: 100% !default;
7
+ $heading-font-family: $font-family !default;
8
+ $heading-font-weight: bold !default;
9
+ $heading-line-height: 1.25 !default;
10
+ $heading-margin-top: 1em !default;
11
+ $heading-margin-bottom: .5em !default;
12
+ $paragraph-margin-top: 0 !default;
13
+ $paragraph-margin-bottom: $space-2 !default;
14
+ $list-margin-top: 0 !default;
15
+ $list-margin-bottom: $space-2 !default;
16
+ $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
17
+ $pre-font-size: inherit !default;
18
+ $pre-margin-top: 0 !default;
19
+ $pre-margin-bottom: $space-2 !default;
20
+ $aqua: #7fdbff !default;
21
+ $blue: #0074d9 !default;
22
+ $navy: #001f3f !default;
23
+ $teal: #39cccc !default;
24
+ $green: #2ecc40 !default;
25
+ $olive: #3d9970 !default;
26
+ $lime: #01ff70 !default;
27
+ $yellow: #ffdc00 !default;
28
+ $orange: #ff851b !default;
29
+ $red: #ff4136 !default;
30
+ $fuchsia: #f012be !default;
31
+ $purple: #b10dc9 !default;
32
+ $maroon: #85144b !default;
33
+ $white: #fff !default;
34
+ $silver: #ddd !default;
35
+ $gray: #aaa !default;
36
+ $black: #111 !default;
37
+ $font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
38
+ $line-height: 1.5 !default;
39
+ $heading-font-family: $font-family !default;
40
+ $heading-font-weight: bold !default;
41
+ $heading-line-height: 1.25 !default;
42
+ $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
43
+ $h1: 2rem !default;
44
+ $h2: 1.5rem !default;
45
+ $h3: 1.25rem !default;
46
+ $h4: 1rem !default;
47
+ $h5: .875rem !default;
48
+ $h6: .75rem !default;
49
+ $bold-font-weight: bold !default;
50
+ $space-1: .5rem !default;
51
+ $space-2: 1rem !default;
52
+ $space-3: 2rem !default;
53
+ $space-4: 4rem !default;
54
+ $form-field-font-size: 1rem !default;
55
+ $form-field-height: 2.25rem !default;
56
+ $form-field-padding-y: .5rem !default;
57
+ $form-field-padding-x: .5rem !default;
58
+ $button-font-size: inherit !default;
59
+ $button-font-weight: bold !default;
60
+ $button-line-height: 1.125rem !default;
61
+ $button-padding-y: .5rem !default;
62
+ $button-padding-x: 1rem !default;
63
+ $container-width: 64em !default;
64
+ $darken-1: rgba(0,0,0,.0625) !default;
65
+ $darken-2: rgba(0,0,0,.125) !default;
66
+ $darken-3: rgba(0,0,0,.25) !default;
67
+ $darken-4: rgba(0,0,0,.5) !default;
68
+ $border-width: 1px !default;
69
+ $border-radius: 3px !default;
70
+ $border-color: $darken-2 !default;
71
+
72
+ // Custom Media Query Variables
73
+
74
+ $breakpoint-sm: '(min-width: 40em)' !default;
75
+ $breakpoint-md: '(min-width: 52em)' !default;
76
+ $breakpoint-lg: '(min-width: 64em)' !default;
77
+
78
+ /* Basscss Base Typography */
79
+
80
+ body {
81
+ font-family: $font-family;
82
+ line-height: $line-height;
83
+ font-size: $body-font-size;
84
+ }
85
+
86
+ h1, h2, h3, h4, h5, h6 {
87
+ font-family: $heading-font-family;
88
+ font-weight: $heading-font-weight;
89
+ line-height: $heading-line-height;
90
+ margin-top: $heading-margin-top;
91
+ margin-bottom: $heading-margin-bottom;
92
+ }
93
+
94
+ p {
95
+ margin-top: $paragraph-margin-top;
96
+ margin-bottom: $paragraph-margin-bottom;
97
+ }
98
+
99
+ dl, ol, ul {
100
+ margin-top: $list-margin-top;
101
+ margin-bottom: $list-margin-bottom;
102
+ }
103
+
104
+ pre, code, samp {
105
+ font-family: $monospace-font-family;
106
+ font-size: $pre-font-size;
107
+ }
108
+
109
+ pre {
110
+ margin-top: $pre-margin-top;
111
+ margin-bottom: $pre-margin-bottom;
112
+ overflow-x: scroll;
113
+ }
114
+
115
+ h1 { font-size: $h1 }
116
+ h2 { font-size: $h2 }
117
+ h3 { font-size: $h3 }
118
+ h4 { font-size: $h4 }
119
+ h5 { font-size: $h5 }
120
+ h6 { font-size: $h6 }
121
+
122
+ /* Basscss Defaults */
123
+
124
+ /*
125
+
126
+ COLOR VARIABLES
127
+
128
+ - Cool
129
+ - Warm
130
+ - Gray Scale
131
+
132
+ */
@@ -0,0 +1,99 @@
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 Border Colors */
63
+
64
+ .border-black { border-color: $black }
65
+ .border-gray { border-color: $gray }
66
+ .border-silver { border-color: $silver }
67
+ .border-white { border-color: $white }
68
+
69
+ .border-aqua { border-color: $aqua }
70
+ .border-blue { border-color: $blue }
71
+ .border-navy { border-color: $navy }
72
+ .border-teal { border-color: $teal }
73
+ .border-green { border-color: $green }
74
+ .border-olive { border-color: $olive }
75
+ .border-lime { border-color: $lime }
76
+
77
+ .border-yellow { border-color: $yellow }
78
+ .border-orange { border-color: $orange }
79
+ .border-red { border-color: $red }
80
+ .border-fuchsia { border-color: $fuchsia }
81
+ .border-purple { border-color: $purple }
82
+ .border-maroon { border-color: $maroon }
83
+
84
+ .border-darken-1 { border-color: $darken-1 }
85
+ .border-darken-2 { border-color: $darken-2 }
86
+ .border-darken-3 { border-color: $darken-3 }
87
+ .border-darken-4 { border-color: $darken-4 }
88
+
89
+ /* Basscss Defaults */
90
+
91
+ /*
92
+
93
+ COLOR VARIABLES
94
+
95
+ - Cool
96
+ - Warm
97
+ - Gray Scale
98
+
99
+ */
@@ -0,0 +1,116 @@
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 Borders */
63
+
64
+ .border {
65
+ border-style: solid;
66
+ border-width: $border-width;
67
+ border-color: $border-color;
68
+ }
69
+
70
+ .border-top {
71
+ border-top-style: solid;
72
+ border-top-width: $border-width;
73
+ border-top-color: $border-color;
74
+ }
75
+
76
+ .border-right {
77
+ border-right-style: solid;
78
+ border-right-width: $border-width;
79
+ border-right-color: $border-color;
80
+ }
81
+
82
+ .border-bottom {
83
+ border-bottom-style: solid;
84
+ border-bottom-width: $border-width;
85
+ border-bottom-color: $border-color;
86
+ }
87
+
88
+ .border-left {
89
+ border-left-style: solid;
90
+ border-left-width: $border-width;
91
+ border-left-color: $border-color;
92
+ }
93
+
94
+ .border-none { border: 0 }
95
+
96
+ .rounded { border-radius: $border-radius }
97
+ .circle { border-radius: 50% }
98
+
99
+ .rounded-top { border-radius: $border-radius $border-radius 0 0 }
100
+ .rounded-right { border-radius: 0 $border-radius $border-radius 0 }
101
+ .rounded-bottom { border-radius: 0 0 $border-radius $border-radius }
102
+ .rounded-left { border-radius: $border-radius 0 0 $border-radius }
103
+
104
+ .not-rounded { border-radius: 0 }
105
+
106
+ /* Basscss Defaults */
107
+
108
+ /*
109
+
110
+ COLOR VARIABLES
111
+
112
+ - Cool
113
+ - Warm
114
+ - Gray Scale
115
+
116
+ */