foundation-rails 5.3.3.0 → 5.4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/bower.json +2 -2
  2. data/lib/foundation/rails/version.rb +1 -1
  3. data/vendor/assets/_settings.scss +363 -258
  4. data/vendor/assets/javascripts/foundation/foundation.joyride.js +55 -27
  5. data/vendor/assets/javascripts/foundation/foundation.js +14 -2
  6. data/vendor/assets/javascripts/foundation/foundation.magellan.js +1 -1
  7. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +37 -6
  8. data/vendor/assets/javascripts/foundation/foundation.orbit.js +1 -1
  9. data/vendor/assets/javascripts/foundation/foundation.slider.js +1 -1
  10. data/vendor/assets/javascripts/foundation/foundation.topbar.js +19 -16
  11. data/vendor/assets/stylesheets/foundation/_settings.scss +363 -258
  12. data/vendor/assets/stylesheets/foundation/components/_accordion.scss +3 -3
  13. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +2 -2
  14. data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +8 -3
  15. data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +89 -5
  16. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +2 -2
  17. data/vendor/assets/stylesheets/foundation/components/_clearing.scss +5 -5
  18. data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +4 -4
  19. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +7 -7
  20. data/vendor/assets/stylesheets/foundation/components/_forms.scss +18 -17
  21. data/vendor/assets/stylesheets/foundation/components/_global.scss +36 -9
  22. data/vendor/assets/stylesheets/foundation/components/_grid.scss +3 -1
  23. data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +96 -33
  24. data/vendor/assets/stylesheets/foundation/components/_joyride.scss +8 -8
  25. data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +4 -4
  26. data/vendor/assets/stylesheets/foundation/components/_labels.scss +2 -2
  27. data/vendor/assets/stylesheets/foundation/components/_magellan.scss +1 -1
  28. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +164 -12
  29. data/vendor/assets/stylesheets/foundation/components/_orbit.scss +10 -10
  30. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +5 -5
  31. data/vendor/assets/stylesheets/foundation/components/_panels.scss +4 -4
  32. data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +11 -11
  33. data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +2 -2
  34. data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +2 -2
  35. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +44 -38
  36. data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +1 -1
  37. data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +2 -2
  38. data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +2 -2
  39. data/vendor/assets/stylesheets/foundation/components/_switches.scss +6 -2
  40. data/vendor/assets/stylesheets/foundation/components/_tables.scss +8 -6
  41. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +17 -6
  42. data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +2 -2
  43. data/vendor/assets/stylesheets/foundation/components/_toolbar.scss +4 -4
  44. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +6 -5
  45. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +29 -26
  46. data/vendor/assets/stylesheets/foundation/components/_type.scss +8 -8
  47. metadata +4 -4
@@ -11,15 +11,15 @@
11
11
  $include-html-accordion-classes: $include-html-classes !default;
12
12
 
13
13
  $accordion-navigation-padding: rem-calc(16) !default;
14
- $accordion-navigation-bg-color: #efefef !default;
14
+ $accordion-navigation-bg-color: $silver !default;
15
15
  $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%) !default;
16
16
  $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%) !default;
17
- $accordion-navigation-font-color: #222 !default;
17
+ $accordion-navigation-font-color: $jet !default;
18
18
  $accordion-navigation-font-size: rem-calc(16) !default;
19
19
  $accordion-navigation-font-family: $body-font-family !default;
20
20
 
21
21
  $accordion-content-padding: $column-gutter/2 !default;
22
- $accordion-content-active-bg-color: #fff !default;
22
+ $accordion-content-active-bg-color: $white !default;
23
23
 
24
24
 
25
25
  // Mixin: accordion-container()
@@ -18,7 +18,7 @@ $alert-padding-bottom: $alert-padding-top !default;
18
18
  // We use these to control text style.
19
19
  $alert-font-weight: $font-weight-normal !default;
20
20
  $alert-font-size: rem-calc(13) !default;
21
- $alert-font-color: #fff !default;
21
+ $alert-font-color: $white !default;
22
22
  $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%) !default;
23
23
 
24
24
  // We use this for close hover effect.
@@ -31,7 +31,7 @@ $alert-border-color: scale-color($primary-color, $lightness: $alert-function-fac
31
31
  $alert-bottom-margin: rem-calc(20) !default;
32
32
 
33
33
  // We use these to style the close buttons
34
- $alert-close-color: #333 !default;
34
+ $alert-close-color: $oil !default;
35
35
  $alert-close-top: 50% !default;
36
36
  $alert-close-position: rem-calc(4) !default;
37
37
  $alert-close-font-size: rem-calc(22) !default;
@@ -26,13 +26,13 @@ $crumb-radius: $global-radius !default;
26
26
  // We use these to set various text styles for breadcrumbs.
27
27
  $crumb-font-size: rem-calc(11) !default;
28
28
  $crumb-font-color: $primary-color !default;
29
- $crumb-font-color-current: #333 !default;
30
- $crumb-font-color-unavailable: #999 !default;
29
+ $crumb-font-color-current: $oil !default;
30
+ $crumb-font-color-unavailable: $aluminum !default;
31
31
  $crumb-font-transform: uppercase !default;
32
32
  $crumb-link-decor: underline !default;
33
33
 
34
34
  // We use these to control the slash between breadcrumbs
35
- $crumb-slash-color: #aaa !default;
35
+ $crumb-slash-color: $base !default;
36
36
  $crumb-slash: "/" !default;
37
37
 
38
38
  //
@@ -125,3 +125,8 @@ $crumb-slash: "/" !default;
125
125
  }
126
126
  }
127
127
  }
128
+
129
+ /* Accessibility - hides the forward slash */
130
+ [aria-label="breadcrumbs"] [aria-hidden="true"]:after {
131
+ content: "/";
132
+ }
@@ -35,7 +35,7 @@ $button-group-border-width: 1px !default;
35
35
  }
36
36
 
37
37
  // We use this to control styles for button groups
38
- @mixin button-group-style($radius:false, $even:false, $float:$default-float) {
38
+ @mixin button-group-style($radius:false, $even:false, $float:false, $orientation:horizontal) {
39
39
 
40
40
  > button, .button {
41
41
  border-#{$default-float}: $button-group-border-width solid;
@@ -52,9 +52,33 @@ $button-group-border-width: 1px !default;
52
52
  @if $float {
53
53
  margin: 0;
54
54
  float: $float;
55
+ display: list-item;
55
56
  // Make sure the first child doesn't get the negative margin.
56
57
  &:first-child { margin-#{$default-float}: 0; }
57
58
  }
59
+ @else {
60
+ margin: 0 -2px;
61
+ float: none;
62
+ display: inline-block;
63
+ }
64
+
65
+ @if $orientation == vertical {
66
+ display:block;
67
+ margin:0;
68
+ > button, .button {
69
+ border-top: $button-group-border-width solid;
70
+ border-color: rgba(255, 255, 255, 0.5);
71
+ border-left-width: 0px;
72
+ margin:0;
73
+ display: block;
74
+ }
75
+
76
+ &:first-child {
77
+ button, .button {
78
+ border-top: 0;
79
+ }
80
+ }
81
+ }
58
82
 
59
83
  // We use these to control left and right radius on first/last buttons in the group.
60
84
  @if $radius == true {
@@ -65,11 +89,25 @@ $button-group-border-width: 1px !default;
65
89
  &:first-child,
66
90
  &:first-child > a,
67
91
  &:first-child > button,
68
- &:first-child > .button { @include side-radius($default-float, $button-radius); }
92
+ &:first-child > .button {
93
+ @if $orientation == vertical {
94
+ @include side-radius(top, $button-radius);
95
+ }
96
+ @else {
97
+ @include side-radius($default-float, $button-radius);
98
+ }
99
+ }
69
100
  &:last-child,
70
101
  &:last-child > a,
71
102
  &:last-child > button,
72
- &:last-child > .button { @include side-radius($opposite-direction, $button-radius); }
103
+ &:last-child > .button {
104
+ @if $orientation == vertical {
105
+ @include side-radius(bottom, $button-radius);
106
+ }
107
+ @else {
108
+ @include side-radius($opposite-direction, $button-radius);
109
+ }
110
+ }
73
111
  }
74
112
  @else if $radius {
75
113
  &,
@@ -79,11 +117,25 @@ $button-group-border-width: 1px !default;
79
117
  &:first-child,
80
118
  &:first-child > a,
81
119
  &:first-child > button,
82
- &:first-child > .button { @include side-radius($default-float, $radius); }
120
+ &:first-child > .button {
121
+ @if $orientation == vertical {
122
+ @include side-radius(top, $radius);
123
+ }
124
+ @else {
125
+ @include side-radius($default-float, $radius);
126
+ }
127
+ }
83
128
  &:last-child,
84
129
  &:last-child > a,
85
130
  &:last-child > button,
86
- &:last-child > .button { @include side-radius($opposite-direction, $radius); }
131
+ &:last-child > .button {
132
+ @if $orientation == vertical {
133
+ @include side-radius(bottom, $radius);
134
+ }
135
+ @else {
136
+ @include side-radius($opposite-direction, $radius);
137
+ }
138
+ }
87
139
  }
88
140
 
89
141
  // We use this to make the buttons even width across their container
@@ -100,8 +152,40 @@ $button-group-border-width: 1px !default;
100
152
 
101
153
  & > li { @include button-group-style(); }
102
154
 
155
+ &.stack {
156
+ & > li { @include button-group-style($orientation:vertical); }
157
+ }
158
+
159
+ &.stack-for-small {
160
+ & > li {
161
+ @include button-group-style($orientation:horizontal);
162
+ @media #{$small-only} {
163
+ @include button-group-style($orientation:vertical);
164
+ }
165
+ }
166
+ }
167
+
103
168
  &.radius > * { @include button-group-style($radius:$button-radius, $float:null); }
169
+ &.radius.stack > * { @include button-group-style($radius:$button-radius, $float:null, $orientation:vertical); }
170
+ &.radius.stack-for-small > * {
171
+ @media #{$medium-up} {
172
+ @include button-group-style($radius:$button-radius, $orientation:horizontal);
173
+ }
174
+ @media #{$small-only} {
175
+ @include button-group-style($radius:$button-radius, $orientation:vertical);
176
+ }
177
+ }
178
+
104
179
  &.round > * { @include button-group-style($radius:$button-round, $float:null); }
180
+ &.round.stack > * { @include button-group-style($radius:$button-med, $float:null, $orientation:vertical); }
181
+ &.round.stack-for-small > * {
182
+ @media #{$medium-up} {
183
+ @include button-group-style($radius:$button-round, $orientation:horizontal);
184
+ }
185
+ @media #{$small-only} {
186
+ @include button-group-style($radius:$button-med, $orientation:vertical);
187
+ }
188
+ }
105
189
 
106
190
  @for $i from 2 through 8 {
107
191
  &.even-#{$i} li { @include button-group-style($even:$i, $float:null); }
@@ -21,8 +21,8 @@ $button-margin-bottom: rem-calc(20) !default;
21
21
 
22
22
  // We use these to control button text styles.
23
23
  $button-font-family: $body-font-family !default;
24
- $button-font-color: #fff !default;
25
- $button-font-color-alt: #333 !default;
24
+ $button-font-color: $white !default;
25
+ $button-font-color-alt: $oil !default;
26
26
  $button-font-tny: rem-calc(11) !default;
27
27
  $button-font-sml: rem-calc(13) !default;
28
28
  $button-font-med: rem-calc(16) !default;
@@ -10,13 +10,13 @@
10
10
  $include-html-clearing-classes: $include-html-classes !default;
11
11
 
12
12
  // We use these to set the background colors for parts of Clearing.
13
- $clearing-bg: #333 !default;
13
+ $clearing-bg: $oil !default;
14
14
  $clearing-caption-bg: $clearing-bg !default;
15
15
  $clearing-carousel-bg: rgba(51,51,51,0.8) !default;
16
16
  $clearing-img-bg: $clearing-bg !default;
17
17
 
18
18
  // We use these to style the close button
19
- $clearing-close-color: #ccc !default;
19
+ $clearing-close-color: $iron !default;
20
20
  $clearing-close-size: 30px !default;
21
21
 
22
22
  // We use these to style the arrows
@@ -24,7 +24,7 @@ $clearing-arrow-size: 12px !default;
24
24
  $clearing-arrow-color: $clearing-close-color !default;
25
25
 
26
26
  // We use these to style captions
27
- $clearing-caption-font-color: #ccc !default;
27
+ $clearing-caption-font-color: $iron !default;
28
28
  $clearing-caption-font-size: 0.875em !default;
29
29
  $clearing-caption-padding: 10px 30px 20px !default;
30
30
 
@@ -81,7 +81,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
81
81
  position: absolute;
82
82
  top: 50%;
83
83
  left: 50%;
84
- color: #aaa;
84
+ color: $base;
85
85
  font-size: 0.6em;
86
86
  }
87
87
 
@@ -123,7 +123,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
123
123
  display: none;
124
124
 
125
125
  &:hover,
126
- &:focus { color: #ccc; }
126
+ &:focus { color: $iron; }
127
127
  }
128
128
 
129
129
  .clearing-assembled .clearing-container { height: 100%;
@@ -10,8 +10,8 @@
10
10
  $include-html-button-classes: $include-html-classes !default;
11
11
 
12
12
  // We use these to set the color of the pip in dropdown buttons
13
- $dropdown-button-pip-color: #fff !default;
14
- $dropdown-button-pip-color-alt: #333 !default;
13
+ $dropdown-button-pip-color: $white !default;
14
+ $dropdown-button-pip-color-alt: $oil !default;
15
15
 
16
16
  $button-pip-tny: rem-calc(6) !default;
17
17
  $button-pip-sml: rem-calc(7) !default;
@@ -49,10 +49,10 @@ $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3) !default;
49
49
  // We use this mixin to build off of the button mixin and add dropdown button styles
50
50
  //
51
51
  // $padding - Determines the size of button you're working with. Default: medium. Options [tiny, small, medium, large]
52
- // $pip-color - Color of the little triangle that points to the dropdown. Default: #fff.
52
+ // $pip-color - Color of the little triangle that points to the dropdown. Default: $white.
53
53
  // $base-style - Add in base-styles. This can be set to false. Default:true
54
54
 
55
- @mixin dropdown-button($padding:medium, $pip-color:#fff, $base-style:true) {
55
+ @mixin dropdown-button($padding:medium, $pip-color:$white, $base-style:true) {
56
56
 
57
57
  // We add in base styles, but they can be negated by setting to 'false'.
58
58
  @if $base-style {
@@ -27,25 +27,25 @@ $f-dropdown-margin-right: $f-dropdown-margin-top !default;
27
27
  $f-dropdown-margin-bottom: $f-dropdown-margin-top !default;
28
28
 
29
29
  // We use this to control the background color
30
- $f-dropdown-bg: #fff !default;
30
+ $f-dropdown-bg: $white !default;
31
31
 
32
32
  // We use this to set the border styles for dropdowns.
33
33
  $f-dropdown-border-style: solid !default;
34
34
  $f-dropdown-border-width: 1px !default;
35
- $f-dropdown-border-color: scale-color(#fff, $lightness: -20%) !default;
35
+ $f-dropdown-border-color: scale-color($white, $lightness: -20%) !default;
36
36
 
37
37
  // We use these to style the triangle pip.
38
38
  $f-dropdown-triangle-size: 6px !default;
39
- $f-dropdown-triangle-color: #fff !default;
39
+ $f-dropdown-triangle-color: $white !default;
40
40
  $f-dropdown-triangle-side-offset: 10px !default;
41
41
 
42
42
  // We use these to control styles for the list elements.
43
43
  $f-dropdown-list-style: none !default;
44
- $f-dropdown-font-color: #555 !default;
44
+ $f-dropdown-font-color: $charcoal !default;
45
45
  $f-dropdown-font-size: rem-calc(14) !default;
46
46
  $f-dropdown-list-padding: rem-calc(5, 10) !default;
47
47
  $f-dropdown-line-height: rem-calc(18) !default;
48
- $f-dropdown-list-hover-bg: #eeeeee !default;
48
+ $f-dropdown-list-hover-bg: $smoke !default;
49
49
  $dropdown-mobile-default-float: 0 !default;
50
50
 
51
51
  // We use this to control the styles for when the dropdown has custom content.
@@ -117,7 +117,7 @@ $f-dropdown-content-padding: rem-calc(20) !default;
117
117
  }
118
118
  }
119
119
 
120
- @if $triangle == #{$default-float} {
120
+ @if $triangle == $default-float {
121
121
  margin-top: 0;
122
122
  margin-#{$default-float}: $f-dropdown-margin-right;
123
123
 
@@ -138,7 +138,7 @@ $f-dropdown-content-padding: rem-calc(20) !default;
138
138
 
139
139
  }
140
140
 
141
- @if $triangle == #{$opposite-direction} {
141
+ @if $triangle == $opposite-direction {
142
142
  margin-top: 0;
143
143
  margin-#{$default-float}: -$f-dropdown-margin-right;
144
144
 
@@ -18,20 +18,20 @@ $form-label-pointer: pointer !default;
18
18
  $form-label-font-size: rem-calc(14) !default;
19
19
  $form-label-font-weight: $font-weight-normal !default;
20
20
  $form-label-line-height: 1.5 !default;
21
- $form-label-font-color: scale-color(#000, $lightness: 30%) !default;
21
+ $form-label-font-color: scale-color($black, $lightness: 30%) !default;
22
22
  $form-label-small-transform: capitalize !default;
23
23
  $form-label-bottom-margin: 0 !default;
24
24
  $input-font-family: inherit !default;
25
25
  $input-font-color: rgba(0,0,0,0.75) !default;
26
26
  $input-font-size: rem-calc(14) !default;
27
- $input-bg-color: #fff !default;
28
- $input-focus-bg-color: scale-color(#fff, $lightness: -2%) !default;
29
- $input-border-color: scale-color(#fff, $lightness: -20%) !default;
30
- $input-focus-border-color: scale-color(#fff, $lightness: -40%) !default;
27
+ $input-bg-color: $white !default;
28
+ $input-focus-bg-color: scale-color($white, $lightness: -2%) !default;
29
+ $input-border-color: scale-color($white, $lightness: -20%) !default;
30
+ $input-focus-border-color: scale-color($white, $lightness: -40%) !default;
31
31
  $input-border-style: solid !default;
32
32
  $input-border-width: 1px !default;
33
33
  $input-border-radius: $global-radius !default;
34
- $input-disabled-bg: #ddd !default;
34
+ $input-disabled-bg: $gainsboro !default;
35
35
  $input-disabled-cursor: $cursor-default-value !default;
36
36
  $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !default;
37
37
  $input-include-glowing-effect: true !default;
@@ -39,23 +39,23 @@ $input-include-glowing-effect: true !default;
39
39
  // We use these to style the fieldset border and spacing.
40
40
  $fieldset-border-style: solid !default;
41
41
  $fieldset-border-width: 1px !default;
42
- $fieldset-border-color: #ddd !default;
42
+ $fieldset-border-color: $gainsboro !default;
43
43
  $fieldset-padding: rem-calc(20) !default;
44
44
  $fieldset-margin: rem-calc(18 0) !default;
45
45
 
46
46
  // We use these to style the legends when you use them
47
- $legend-bg: #fff !default;
47
+ $legend-bg: $white !default;
48
48
  $legend-font-weight: $font-weight-bold !default;
49
49
  $legend-padding: rem-calc(0 3) !default;
50
50
 
51
51
  // We use these to style the prefix and postfix input elements
52
- $input-prefix-bg: scale-color(#fff, $lightness: -5%) !default;
53
- $input-prefix-border-color: scale-color(#fff, $lightness: -20%) !default;
52
+ $input-prefix-bg: scale-color($white, $lightness: -5%) !default;
53
+ $input-prefix-border-color: scale-color($white, $lightness: -20%) !default;
54
54
  $input-prefix-border-size: 1px !default;
55
55
  $input-prefix-border-type: solid !default;
56
56
  $input-prefix-overflow: hidden !default;
57
- $input-prefix-font-color: #333 !default;
58
- $input-prefix-font-color-alt: #fff !default;
57
+ $input-prefix-font-color: $oil !default;
58
+ $input-prefix-font-color-alt: $white !default;
59
59
 
60
60
  // We use this setting to turn on/off HTML5 number spinners (the up/down arrows)
61
61
  $input-number-spinners: true !default;
@@ -66,15 +66,15 @@ $input-error-message-top: -1px !default;
66
66
  $input-error-message-font-size: rem-calc(12) !default;
67
67
  $input-error-message-font-weight: $font-weight-normal !default;
68
68
  $input-error-message-font-style: italic !default;
69
- $input-error-message-font-color: #fff !default;
70
- $input-error-message-font-color-alt: #333 !default;
69
+ $input-error-message-font-color: $white !default;
70
+ $input-error-message-font-color-alt: $oil !default;
71
71
 
72
72
  // We use this to style the glowing effect of inputs when focused
73
73
  $glowing-effect-fade-time: 0.45s !default;
74
74
  $glowing-effect-color: $input-focus-border-color !default;
75
75
 
76
76
  // Select variables
77
- $select-bg-color: #fafafa !default;
77
+ $select-bg-color: $ghost !default;
78
78
  $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
79
79
 
80
80
  //
@@ -195,7 +195,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
195
195
  // @MIXIN
196
196
  //
197
197
  // We use this mixin to create prefix label styles
198
- // $bg - Default:$input-prefix-bg || scale-color(#fff, $lightness: -5%) !default;
198
+ // $bg - Default:$input-prefix-bg || scale-color($white, $lightness: -5%) !default;
199
199
  // $is-button - Toggle position settings if prefix is a button. Default:false
200
200
  //
201
201
  @mixin prefix($bg:$input-prefix-bg, $border:$input-prefix-border-color, $is-button:false) {
@@ -229,7 +229,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
229
229
  // @MIXIN
230
230
  //
231
231
  // We use this mixin to create postfix label styles
232
- // $bg - Default:$input-prefix-bg || scale-color(#fff, $lightness: -5%) !default;
232
+ // $bg - Default:$input-prefix-bg || scale-color($white, $lightness: -5%) !default;
233
233
  // $is-button - Toggle position settings if prefix is a button. Default: false
234
234
  @mixin postfix($bg:$input-prefix-bg, $border:$input-prefix-border-color, $is-button:false) {
235
235
 
@@ -418,6 +418,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
418
418
  input[type="tel"],
419
419
  input[type="time"],
420
420
  input[type="url"],
421
+ input[type="color"],
421
422
  textarea {
422
423
  -webkit-appearance: none;
423
424
  -webkit-border-radius: 0px;
@@ -42,9 +42,13 @@ $base-line-height: 150% !default;
42
42
  // $side - Options: left, right, top, bottom
43
43
  @mixin side-radius($side, $radius:$global-radius) {
44
44
  @if ($side == left or $side == right) {
45
+ -webkit-border-bottom-#{$side}-radius: $radius;
46
+ -webkit-border-top-#{$side}-radius: $radius;
45
47
  border-bottom-#{$side}-radius: $radius;
46
48
  border-top-#{$side}-radius: $radius;
47
49
  } @else {
50
+ -webkit-#{$side}-left-radius: $radius;
51
+ -webkit-#{$side}-right-radius: $radius;
48
52
  border-#{$side}-left-radius: $radius;
49
53
  border-#{$side}-right-radius: $radius;
50
54
  }
@@ -145,7 +149,7 @@ $base-line-height: 150% !default;
145
149
  }
146
150
  @else {
147
151
  top: 50%;
148
- margin-top: -$width/2;
152
+ margin-top: -($width/2);
149
153
  #{$opposite-direction}: $topbar-link-padding;
150
154
  }
151
155
 
@@ -216,6 +220,36 @@ $base-line-height: 150% !default;
216
220
  clip: auto;
217
221
  }
218
222
 
223
+ // We use these as default colors throughout
224
+ $primary-color: #008CBA !default; // bondi-blue
225
+ $secondary-color: #e7e7e7 !default; // white-lilac
226
+ $alert-color: #f04124 !default; // cinnabar
227
+ $success-color: #43AC6A !default; // sea-green
228
+ $warning-color: #f08a24 !default; // carrot
229
+ $info-color: #a0d3e8 !default; // cornflower
230
+
231
+
232
+ $white : #FFFFFF !default;
233
+ $ghost : #FAFAFA !default;
234
+ $snow : #F9F9F9 !default;
235
+ $vapor : #F6F6F6 !default;
236
+ $white-smoke : #F5F5F5 !default;
237
+ $silver : #EFEFEF !default;
238
+ $smoke : #EEEEEE !default;
239
+ $gainsboro : #DDDDDD !default;
240
+ $iron : #CCCCCC !default;
241
+ $base : #AAAAAA !default;
242
+ $aluminum : #999999 !default;
243
+ $jumbo : #888888 !default;
244
+ $monsoon : #777777 !default;
245
+ $steel : #666666 !default;
246
+ $charcoal : #555555 !default;
247
+ $tuatara : #444444 !default;
248
+ $oil : #333333 !default;
249
+ $jet : #222222 !default;
250
+ $black : #000000 !default;
251
+
252
+
219
253
  // We use these to define default font weights
220
254
  $font-weight-normal: normal !default;
221
255
  $font-weight-bold: bold !default;
@@ -241,13 +275,6 @@ $opposite-direction: right !default;
241
275
  $default-float: right;
242
276
  $opposite-direction: left;
243
277
  }
244
- // We use these as default colors throughout
245
- $primary-color: #008CBA !default;
246
- $secondary-color: #e7e7e7 !default;
247
- $alert-color: #f04124 !default;
248
- $success-color: #43AC6A !default;
249
- $warning-color: #f08a24 !default;
250
- $info-color: #a0d3e8 !default;
251
278
 
252
279
  // We use these to make sure border radius matches unless we want it different.
253
280
  $global-radius: 3px !default;
@@ -314,7 +341,7 @@ $cursor-text-value: text !default;
314
341
  // Forward slash placed around everything to convince PhantomJS to read the value.
315
342
 
316
343
  meta.foundation-version {
317
- font-family: "/5.3.3/";
344
+ font-family: "/{{ VERSION }}/";
318
345
  }
319
346
 
320
347
  meta.foundation-mq-small {