1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | @mixin input-sizes() {
|
8 | @each $size in nb-get-sizes() {
|
9 | &.size-#{$size} {
|
10 | font-size: nb-theme(input-#{$size}-text-font-size);
|
11 | font-weight: nb-theme(input-#{$size}-text-font-weight);
|
12 | line-height: nb-theme(input-#{$size}-text-line-height);
|
13 | padding: nb-theme(input-#{$size}-padding);
|
14 |
|
15 | &:not(.input-full-width) {
|
16 | max-width: nb-theme(input-#{$size}-max-width);
|
17 | }
|
18 |
|
19 | &::placeholder {
|
20 | font-size: nb-theme(input-#{$size}-placeholder-text-font-size);
|
21 | font-weight: nb-theme(input-#{$size}-placeholder-text-font-weight);
|
22 |
|
23 | line-height: nb-theme(input-#{$size}-placeholder-text-line-height);
|
24 | }
|
25 | }
|
26 | }
|
27 | }
|