basscss-rails 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/Rakefile +2 -2
  4. data/app/assets/stylesheets/basscss/_align.scss +3 -0
  5. data/app/assets/stylesheets/basscss/_all.scss +14 -0
  6. data/app/assets/stylesheets/basscss/_background-colors.scss +24 -63
  7. data/app/assets/stylesheets/basscss/_background-images.scss +5 -0
  8. data/app/assets/stylesheets/basscss/_border-colors.scss +24 -63
  9. data/app/assets/stylesheets/basscss/_border.scss +51 -0
  10. data/app/assets/stylesheets/basscss/_btn-outline.scss +4 -70
  11. data/app/assets/stylesheets/basscss/_btn-primary.scss +6 -71
  12. data/app/assets/stylesheets/basscss/_btn.scss +5 -71
  13. data/app/assets/stylesheets/basscss/_colors.scss +25 -53
  14. data/app/assets/stylesheets/basscss/_darken.scss +20 -0
  15. data/app/assets/stylesheets/basscss/_flexbox.scss +90 -0
  16. data/app/assets/stylesheets/basscss/_forms.scss +50 -0
  17. data/app/assets/stylesheets/basscss/_grid.scss +4 -73
  18. data/app/assets/stylesheets/basscss/_hide.scss +38 -0
  19. data/app/assets/stylesheets/basscss/_highlight-dark.scss +166 -0
  20. data/app/assets/stylesheets/basscss/_highlight.scss +5 -4
  21. data/app/assets/stylesheets/basscss/_input-range.scss +19 -98
  22. data/app/assets/stylesheets/basscss/{_utility-layout.scss → _layout.scss} +21 -1
  23. data/app/assets/stylesheets/basscss/_lighten.scss +20 -0
  24. data/app/assets/stylesheets/basscss/_margin.scss +96 -0
  25. data/app/assets/stylesheets/basscss/_media-object.scss +55 -0
  26. data/app/assets/stylesheets/basscss/_padding.scss +82 -0
  27. data/app/assets/stylesheets/basscss/{_positions.scss → _position.scss} +17 -5
  28. data/app/assets/stylesheets/basscss/_progress.scss +5 -73
  29. data/app/assets/stylesheets/basscss/{_responsive-white-space.scss → _responsive-margin.scss} +44 -64
  30. data/app/assets/stylesheets/basscss/_responsive-padding.scss +147 -0
  31. data/app/assets/stylesheets/basscss/_type-scale.scss +5 -64
  32. data/app/assets/stylesheets/basscss/_typography.scss +65 -0
  33. data/app/assets/stylesheets/basscss/basscss.scss +8 -33
  34. data/lib/basscss/rails/version.rb +1 -1
  35. metadata +19 -27
  36. data/app/assets/stylesheets/basscss/_base-forms.scss +0 -132
  37. data/app/assets/stylesheets/basscss/_base-reset.scss +0 -10
  38. data/app/assets/stylesheets/basscss/_base-tables.scss +0 -103
  39. data/app/assets/stylesheets/basscss/_base-typography.scss +0 -136
  40. data/app/assets/stylesheets/basscss/_borders.scss +0 -120
  41. data/app/assets/stylesheets/basscss/_btn-sizes.scss +0 -97
  42. data/app/assets/stylesheets/basscss/_color-base.scss +0 -114
  43. data/app/assets/stylesheets/basscss/_color-forms-dark.scss +0 -146
  44. data/app/assets/stylesheets/basscss/_color-forms.scss +0 -139
  45. data/app/assets/stylesheets/basscss/_color-input-range.scss +0 -123
  46. data/app/assets/stylesheets/basscss/_color-progress.scss +0 -99
  47. data/app/assets/stylesheets/basscss/_color-tables.scss +0 -89
  48. data/app/assets/stylesheets/basscss/_defaults.scss +0 -76
  49. data/app/assets/stylesheets/basscss/_flex-object.scss +0 -119
  50. data/app/assets/stylesheets/basscss/_responsive-states.scss +0 -118
  51. data/app/assets/stylesheets/basscss/_table-object.scss +0 -58
  52. data/app/assets/stylesheets/basscss/_ui-utility-groups.scss +0 -21
  53. data/app/assets/stylesheets/basscss/_utility-headings.scss +0 -33
  54. data/app/assets/stylesheets/basscss/_utility-typography.scss +0 -33
  55. data/app/assets/stylesheets/basscss/_white-space.scss +0 -132
@@ -1,146 +0,0 @@
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
- $lighten-1: rgba(255,255,255,.0625) !default;
53
- $lighten-2: rgba(255,255,255,.125) !default;
54
- $lighten-3: rgba(255,255,255,.25) !default;
55
- $lighten-4: rgba(255,255,255,.5) !default;
56
- $border-width: 1px !default;
57
- $border-radius: 3px !default;
58
- $border-color: $darken-2 !default;
59
- $field-success-color: $green !default;
60
- $field-warning-color: $yellow !default;
61
- $field-error-color: $red !default;
62
-
63
- // Custom Media Query Variables
64
-
65
- $breakpoint-sm: '(min-width: 40em)' !default;
66
- $breakpoint-md: '(min-width: 52em)' !default;
67
- $breakpoint-lg: '(min-width: 64em)' !default;
68
-
69
- /* Basscss Color Forms Dark */
70
-
71
- .field-dark {
72
- color: white;
73
- background-color: $darken-3;
74
- border: 1px solid $darken-1;
75
- border-radius: $border-radius /* Fallback value: 3px */;
76
- }
77
-
78
- .field-dark::-webkit-input-placeholder {
79
- color: #FFFFFF;
80
- color: rgba(255,255,255,.75);
81
- }
82
-
83
- .field-dark::-moz-placeholder {
84
- color: #FFFFFF;
85
- color: rgba(255,255,255,.75);
86
- }
87
-
88
- .field-dark:-ms-input-placeholder {
89
- color: #FFFFFF;
90
- color: rgba(255,255,255,.75);
91
- }
92
-
93
- .field-dark::placeholder {
94
- color: #FFFFFF;
95
- color: rgba(255,255,255,.75);
96
- }
97
-
98
- .field-dark:focus {
99
- outline: 0;
100
- border: 1px solid #FFFFFF;
101
- border: 1px solid rgba(255,255,255,.5);
102
- box-shadow: 0 0 0 2px rgba(255,255,255,.25);
103
- }
104
-
105
- .field-dark:read-only:not(select) {
106
- background-color: #FFFFFF;
107
- background-color: rgba(255,255,255,.25);
108
- }
109
-
110
- .field-dark.is-success {
111
- border-color: $field-success-color;
112
- }
113
-
114
- .field-dark.is-success:focus {
115
- box-shadow: 0 0 0 2px color($field-success-color a(.5));
116
- }
117
-
118
- .field-dark.is-warning {
119
- border-color: $field-warning-color;
120
- }
121
-
122
- .field-dark.is-warning:focus {
123
- box-shadow: 0 0 0 2px color($field-warning-color a(.5));
124
- }
125
-
126
- .field-dark:invalid,
127
- .field-dark.is-error {
128
- border-color: $field-error-color;
129
- }
130
-
131
- .field-dark.is-error:focus {
132
- box-shadow: 0 0 0 2px color($field-error-color a(.5));
133
- }
134
-
135
-
136
- /* Basscss Defaults */
137
-
138
- /*
139
-
140
- COLOR VARIABLES
141
-
142
- - Cool
143
- - Warm
144
- - Gray Scale
145
-
146
- */
@@ -1,139 +0,0 @@
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
- $lighten-1: rgba(255,255,255,.0625) !default;
53
- $lighten-2: rgba(255,255,255,.125) !default;
54
- $lighten-3: rgba(255,255,255,.25) !default;
55
- $lighten-4: rgba(255,255,255,.5) !default;
56
- $border-width: 1px !default;
57
- $border-radius: 3px !default;
58
- $border-color: $darken-2 !default;
59
- $field-focus-color: $blue !default;
60
- $field-success-color: $green !default;
61
- $field-warning-color: $yellow !default;
62
- $field-error-color: $red !default;
63
-
64
- // Custom Media Query Variables
65
-
66
- $breakpoint-sm: '(min-width: 40em)' !default;
67
- $breakpoint-md: '(min-width: 52em)' !default;
68
- $breakpoint-lg: '(min-width: 64em)' !default;
69
-
70
- /* Basscss Color Forms */
71
-
72
- .field {
73
- border-style: solid;
74
- border-width: $border-width;
75
- border-color: $border-color;
76
- border-radius: $border-radius;
77
- }
78
-
79
- .field:focus,
80
- .field.is-focused {
81
- outline: none;
82
- border-color: $field-focus-color;
83
- box-shadow: 0 0 0 2px color($field-focus-color a(.5));
84
- }
85
-
86
- .field:disabled,
87
- .field.is-disabled {
88
- background-color: $darken-2;
89
- opacity: .5;
90
- }
91
-
92
- .field:read-only:not(select),
93
- .field.is-read-only {
94
- background-color: $darken-2;
95
- }
96
-
97
-
98
- .field.is-success {
99
- border-color: $field-success-color;
100
- }
101
-
102
- .field.is-success:focus,
103
- .field.is-success.is-focused {
104
- box-shadow: 0 0 0 2px color($field-success-color a(.5));
105
- }
106
-
107
- .field.is-warning {
108
- border-color: $field-warning-color;
109
- }
110
-
111
- .field.is-warning:focus,
112
- .field.is-warning.is-focused {
113
- box-shadow: 0 0 0 2px color($field-warning-color a(.5));
114
- }
115
-
116
- .field:invalid,
117
- .field.is-error {
118
- border-color: $field-error-color;
119
- }
120
-
121
- .field:invalid:focus,
122
- .field:invalid.is-focused,
123
- .field.is-error:focus,
124
- .field.is-error.is-focused {
125
- box-shadow: 0 0 0 2px color($field-error-color a(.5));
126
- }
127
-
128
-
129
- /* Basscss Defaults */
130
-
131
- /*
132
-
133
- COLOR VARIABLES
134
-
135
- - Cool
136
- - Warm
137
- - Gray Scale
138
-
139
- */
@@ -1,123 +0,0 @@
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
- $lighten-1: rgba(255,255,255,.0625) !default;
53
- $lighten-2: rgba(255,255,255,.125) !default;
54
- $lighten-3: rgba(255,255,255,.25) !default;
55
- $lighten-4: rgba(255,255,255,.5) !default;
56
- $border-width: 1px !default;
57
- $border-radius: 3px !default;
58
- $border-color: $darken-2 !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 Input Range */
67
-
68
- .range-light {
69
- color: inherit;
70
- background-color: transparent;
71
- -webkit-appearance: none;
72
- }
73
-
74
- .range-light::-webkit-slider-thumb {
75
- -webkit-appearance: none;
76
- border-radius: $border-radius;
77
- background-color: currentcolor;
78
- }
79
-
80
- .range-light::-moz-range-thumb {
81
- border-radius: $border-radius;
82
- border-color: transparent;
83
- border-width: 0;
84
- background-color: currentcolor;
85
- }
86
-
87
- .range-light::-webkit-slider-runnable-track {
88
- border-radius: $border-radius;
89
- background-color: $darken-3;
90
- }
91
-
92
- .range-light::-moz-range-track {
93
- border-radius: $border-radius;
94
- background-color: $darken-3;
95
- }
96
-
97
- .range-light:focus {
98
- outline: none;
99
- }
100
-
101
- .range-light:focus::-webkit-slider-thumb {
102
- outline: none;
103
- border: 0;
104
- box-shadow: 0 0 1px 2px currentcolor;
105
- }
106
-
107
- .range-light:focus::-moz-range-thumb {
108
- outline: none;
109
- border: 0;
110
- box-shadow: 0 0 0 3px $darken-3;
111
- }
112
-
113
- /* Basscss Defaults */
114
-
115
- /*
116
-
117
- COLOR VARIABLES
118
-
119
- - Cool
120
- - Warm
121
- - Gray Scale
122
-
123
- */
@@ -1,99 +0,0 @@
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
- $lighten-1: rgba(255,255,255,.0625) !default;
53
- $lighten-2: rgba(255,255,255,.125) !default;
54
- $lighten-3: rgba(255,255,255,.25) !default;
55
- $lighten-4: rgba(255,255,255,.5) !default;
56
- $border-width: 1px !default;
57
- $border-radius: 3px !default;
58
- $border-color: $darken-2 !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 Progress */
67
-
68
- .progress {
69
- background-color: $darken-2;
70
- border: 0;
71
- border-radius: 10000px;
72
- }
73
-
74
- .progress::-webkit-progress-bar {
75
- -webkit-appearance: none;
76
- background-color: $darken-2
77
- }
78
-
79
- .progress::-webkit-progress-value {
80
- -webkit-appearance: none;
81
- background-color: currentColor;
82
- }
83
-
84
- .progress::-moz-progress-bar {
85
- background-color: currentColor;
86
- }
87
-
88
-
89
- /* Basscss Defaults */
90
-
91
- /*
92
-
93
- COLOR VARIABLES
94
-
95
- - Cool
96
- - Warm
97
- - Gray Scale
98
-
99
- */