1 | // Foundation for Sites by ZURB
|
2 | // foundation.zurb.com
|
3 | // Licensed under MIT Open Source
|
4 |
|
5 | ////
|
6 | /// @group forms
|
7 | ////
|
8 |
|
9 | /// Default color for help text.
|
10 | /// @type Color
|
11 | $helptext-color: $black !default;
|
12 |
|
13 | /// Default font size for help text.
|
14 | /// @type Number
|
15 | $helptext-font-size: rem-calc(13) !default;
|
16 |
|
17 | /// Default font style for help text.
|
18 | /// @type Keyword
|
19 | $helptext-font-style: italic !default;
|
20 |
|
21 | @mixin foundation-form-helptext {
|
22 | .help-text {
|
23 | $margin-top: ($form-spacing * 0.5) * -1;
|
24 |
|
25 | margin-top: $margin-top;
|
26 | font-size: $helptext-font-size;
|
27 | font-style: $helptext-font-style;
|
28 | color: $helptext-color;
|
29 | }
|
30 | }
|