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,127 @@
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 Button Transparent */
63
+
64
+ .button-transparent {
65
+ position: relative;
66
+ z-index: 2;
67
+ color: inherit;
68
+ background-color: transparent;
69
+ border-radius: 0;
70
+ border: $border-width solid transparent;
71
+ }
72
+
73
+ .button-transparent:before {
74
+ content: '';
75
+ display: block;
76
+ position: absolute;
77
+ z-index: -1;
78
+ top: -$border-width;
79
+ right: -$border-width;
80
+ bottom: -$border-width;
81
+ left: -$border-width;
82
+ border: $border-width solid transparent;
83
+ background-color: currentcolor;
84
+ opacity: 0;
85
+ }
86
+
87
+ .button-transparent:hover {
88
+ box-shadow: none;
89
+ }
90
+
91
+ .button-transparent:hover:before,
92
+ .button-transparent:focus:before {
93
+ opacity: .09375;
94
+ }
95
+
96
+ .button-transparent:focus {
97
+ outline: none;
98
+ border-color: transparent;
99
+ box-shadow: 0 0 0 2px;
100
+ }
101
+
102
+ .button-transparent:active,
103
+ .button-transparent.is-active {
104
+ box-shadow: none;
105
+ }
106
+
107
+ .button-transparent:active:before,
108
+ .button-transparent.is-active:before {
109
+ opacity: .0625;
110
+ }
111
+
112
+ .button-transparent:disabled,
113
+ .button-transparent.is-disabled {
114
+ opacity: .5;
115
+ }
116
+
117
+ /* Basscss Defaults */
118
+
119
+ /*
120
+
121
+ COLOR VARIABLES
122
+
123
+ - Cool
124
+ - Warm
125
+ - Gray Scale
126
+
127
+ */
@@ -0,0 +1,110 @@
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
+ $body-color: $black !default;
56
+ $body-background-color: $white !default;
57
+ $link-color: $blue !default;
58
+ $link-text-decoration: none !default;
59
+ $link-hover-text-decoration: underline !default;
60
+ $pre-background-color: transparent !default;
61
+ $pre-border-radius: $border-radius !default;
62
+ $rule-border-style: solid !default;
63
+ $rule-border-width: $border-width !default;
64
+ $rule-border-color: $border-color !default;
65
+
66
+ // Custom Media Query Variables
67
+
68
+ $breakpoint-sm: '(min-width: 40em)' !default;
69
+ $breakpoint-md: '(min-width: 52em)' !default;
70
+ $breakpoint-lg: '(min-width: 64em)' !default;
71
+
72
+ /* Basscss Color Base */
73
+
74
+ body {
75
+ color: $body-color;
76
+ background-color: $body-background-color;
77
+ }
78
+
79
+ a {
80
+ color: $link-color;
81
+ text-decoration: $link-text-decoration;
82
+ }
83
+
84
+ a:hover {
85
+ text-decoration: $link-hover-text-decoration;
86
+ }
87
+
88
+ pre, code {
89
+ background-color: $pre-background-color;
90
+ border-radius: $pre-border-radius;
91
+ }
92
+
93
+ hr {
94
+ border: 0;
95
+ border-bottom-style: $rule-border-style;
96
+ border-bottom-width: $rule-border-width;
97
+ border-bottom-color: $rule-border-color;
98
+ }
99
+
100
+ /* Basscss Defaults */
101
+
102
+ /*
103
+
104
+ COLOR VARIABLES
105
+
106
+ - Cool
107
+ - Warm
108
+ - Gray Scale
109
+
110
+ */
@@ -0,0 +1,196 @@
1
+
2
+ // Converted Variables
3
+
4
+ $blue: #0076df !default;
5
+ $border-radius: 3px !default;
6
+ $blue: #0076df !default;
7
+ $border-radius: 3px !default;
8
+ $red: #f95020 !default;
9
+ $border-radius: 3px !default;
10
+ $blue: #0076df !default;
11
+ $light-gray: #ccc !default;
12
+ $dark-gray: #333 !default;
13
+ $border-radius: 3px !default;
14
+ $dark-gray: #333 !default;
15
+ $darken-1: rgba(#000,.0625) !default;
16
+ $hover-background-color: $darken-1 !default;
17
+ $border-radius: 3px !default;
18
+ $darken-2: rgba(#000,.125) !default;
19
+ $blue: #0076df !default;
20
+ $red: #f95020 !default;
21
+ $green: #00cf26 !default;
22
+ $yellow: #efcc00 !default;
23
+ $dark-gray: #333 !default;
24
+ $mid-gray: #777 !default;
25
+ $light-gray: #ccc !default;
26
+ $lighter-gray: #eee !default;
27
+ $darken-1: rgba(#000,.0625) !default;
28
+ $darken-2: rgba(#000,.125) !default;
29
+ $darken-3: rgba(#000,.25) !default;
30
+ $darken-4: rgba(#000,.5) !default;
31
+ $hover-background-color: $darken-1 !default;
32
+ $border-color: $light-gray !default;
33
+ $border-width: 1px !default;
34
+ $border-radius: 3px !default;
35
+
36
+ // Custom Media Query Variables
37
+
38
+
39
+ /* Basscss Color Buttons */
40
+
41
+ /* Basscss Button Blue */
42
+
43
+ .button-blue {
44
+ color: white;
45
+ background-color: $blue;
46
+ border-radius: $border-radius;
47
+ -webkit-transition-duration: .1s;
48
+ transition-duration: .1s;
49
+ -webkit-transition-timing-function: ease-out;
50
+ transition-timing-function: ease-out;
51
+ -webkit-transition-property: box-shadow, background-color;
52
+ transition-property: box-shadow, background-color;
53
+ }
54
+
55
+ .button-blue:hover {
56
+ opacity: .875;
57
+ }
58
+
59
+ .button-blue:active,
60
+ .button-blue.is-active {
61
+ box-shadow: inset 0 0 0 32px rgba(#000,.125), inset 0 2px 3px 0 rgba(#000,.25);
62
+ }
63
+
64
+ .button-blue:focus {
65
+ outline: none;
66
+ box-shadow: 0 0 0 2px rgba(white, .5), 0 0 1px 4px rgba($blue, .5);
67
+ }
68
+
69
+ .button-blue:disabled,
70
+ .button-blue.is-disabled {
71
+ opacity: .5;
72
+ }
73
+ /* Basscss Button Blue Outline */
74
+
75
+ .button-blue-outline {
76
+ color: $blue;
77
+ background-color: transparent;
78
+ border-radius: $border-radius;
79
+ border: 1px solid $blue;
80
+ -webkit-transition-duration: .1s;
81
+ transition-duration: .1s;
82
+ -webkit-transition-timing-function: ease-out;
83
+ transition-timing-function: ease-out;
84
+ -webkit-transition-property: box-shadow, background-color;
85
+ transition-property: box-shadow, background-color;
86
+ }
87
+
88
+ .button-blue-outline:hover,
89
+ .button-blue-outline.is-active {
90
+ color: white;
91
+ background-color: $blue;
92
+ }
93
+
94
+ .button-blue-outline:active {
95
+ box-shadow: inset 0 3px 3px 0 rgba(#000,.25);
96
+ }
97
+
98
+ .button-blue-outline:focus {
99
+ outline: none;
100
+ box-shadow: 0 0 0 2px rgba(white, .5), 0 0 1px 4px rgba($blue, .5);
101
+ }
102
+
103
+ .button-blue-outline:disabled,
104
+ .button-blue-outline.is-disabled {
105
+ color: $blue;
106
+ background-color: transparent;
107
+ opacity: .5;
108
+ }
109
+ /* Basscss Button Red */
110
+
111
+ .button-red {
112
+ color: white;
113
+ background-color: $red;
114
+ border-radius: $border-radius;
115
+ -webkit-transition-duration: .1s;
116
+ transition-duration: .1s;
117
+ -webkit-transition-timing-function: ease-out;
118
+ transition-timing-function: ease-out;
119
+ -webkit-transition-property: box-shadow, background-color;
120
+ transition-property: box-shadow, background-color;
121
+ }
122
+
123
+ .button-red:hover {
124
+ opacity: .875;
125
+ }
126
+
127
+ .button-red:active,
128
+ .button-red.is-active {
129
+ box-shadow: inset 0 0 0 32px rgba(#000,.125), inset 0 2px 3px 0 rgba(#000,.25);
130
+ }
131
+
132
+ .button-red:focus {
133
+ outline: none;
134
+ box-shadow: 0 0 0 2px rgba(white, .5), 0 0 1px 4px rgba($red, .5);
135
+ }
136
+
137
+ .button-red:disabled,
138
+ .button-red.is-disabled {
139
+ opacity: .5;
140
+ }
141
+ /* Basscss Button Light Gray */
142
+
143
+ .button-light-gray {
144
+ color: $dark-gray;
145
+ background-color: $light-gray;
146
+ border-radius: $border-radius;
147
+ -webkit-transition-duration: .1s;
148
+ transition-duration: .1s;
149
+ -webkit-transition-timing-function: ease-out;
150
+ transition-timing-function: ease-out;
151
+ -webkit-transition-property: box-shadow, background-color;
152
+ transition-property: box-shadow, background-color;
153
+ }
154
+
155
+ .button-light-gray:hover {
156
+ opacity: .875;
157
+ }
158
+
159
+ .button-light-gray:active,
160
+ .button-light-gray:is-active {
161
+ box-shadow: inset 0 0 0 32px rgba(#000,.125), inset 0 2px 3px 0 rgba(#000,.25);
162
+ }
163
+
164
+ .button-light-gray:focus {
165
+ outline: none;
166
+ box-shadow: 0 0 0 2px white, 0 0 1px 4px rgba($blue, .5);
167
+ }
168
+
169
+ .button-light-gray:disabled,
170
+ .button-light-gray.is-disabled {
171
+ opacity: .5;
172
+ }
173
+
174
+ /* Basscss Button Nav Light */
175
+
176
+ .button-nav-light:hover {
177
+ background-color: $hover-background-color;
178
+ }
179
+ .button-nav-light:active,
180
+ .button-nav-light.is-active {
181
+ color: $dark-gray;
182
+ }
183
+ /* Basscss Button Nav Dark */
184
+
185
+ .button-nav-dark {
186
+ color: white;
187
+ }
188
+
189
+ .button-nav-dark:hover {
190
+ background-color: $darken-2;
191
+ }
192
+
193
+ .button-nav-dark:active,
194
+ .button-nav-dark.is-active {
195
+ background-color: $darken-2;
196
+ }
@@ -0,0 +1,142 @@
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-success-color: $green !default;
56
+ $field-warning-color: $yellow !default;
57
+ $field-error-color: $red !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 Color Forms Dark */
66
+
67
+ .field-dark {
68
+ color: white;
69
+ background-color: $darken-3;
70
+ border: 1px solid $darken-1;
71
+ border-radius: $border-radius /* Fallback value: 3px */;
72
+ }
73
+
74
+ .field-dark::-webkit-input-placeholder {
75
+ color: #FFFFFF;
76
+ color: rgba(255,255,255,.75);
77
+ }
78
+
79
+ .field-dark::-moz-placeholder {
80
+ color: #FFFFFF;
81
+ color: rgba(255,255,255,.75);
82
+ }
83
+
84
+ .field-dark:-ms-input-placeholder {
85
+ color: #FFFFFF;
86
+ color: rgba(255,255,255,.75);
87
+ }
88
+
89
+ .field-dark::placeholder {
90
+ color: #FFFFFF;
91
+ color: rgba(255,255,255,.75);
92
+ }
93
+
94
+ .field-dark:focus {
95
+ outline: 0;
96
+ border: 1px solid #FFFFFF;
97
+ border: 1px solid rgba(255,255,255,.5);
98
+ box-shadow: 0 0 0 2px rgba(255,255,255,.25);
99
+ }
100
+
101
+ .field-dark:read-only:not(select) {
102
+ background-color: #FFFFFF;
103
+ background-color: rgba(255,255,255,.25);
104
+ }
105
+
106
+ .field-dark.is-success {
107
+ border-color: $field-success-color;
108
+ }
109
+
110
+ .field-dark.is-success:focus {
111
+ box-shadow: 0 0 0 2px color($field-success-color a(.5));
112
+ }
113
+
114
+ .field-dark.is-warning {
115
+ border-color: $field-warning-color;
116
+ }
117
+
118
+ .field-dark.is-warning:focus {
119
+ box-shadow: 0 0 0 2px color($field-warning-color a(.5));
120
+ }
121
+
122
+ .field-dark:invalid,
123
+ .field-dark.is-error {
124
+ border-color: $field-error-color;
125
+ }
126
+
127
+ .field-dark.is-error:focus {
128
+ box-shadow: 0 0 0 2px color($field-error-color a(.5));
129
+ }
130
+
131
+
132
+ /* Basscss Defaults */
133
+
134
+ /*
135
+
136
+ COLOR VARIABLES
137
+
138
+ - Cool
139
+ - Warm
140
+ - Gray Scale
141
+
142
+ */