1 | @import "mixins/settings.global";
|
2 |
|
3 | .c-hint {
|
4 | position: absolute;
|
5 | padding: $hint-padding;
|
6 | transform: scale(.8);
|
7 | transform-origin: top left;
|
8 | color: $hint-color;
|
9 | font-size: $hint-font-size;
|
10 | opacity: 0;
|
11 | pointer-events: none;
|
12 | }
|
13 |
|
14 | .c-hint--static,
|
15 | .c-field:focus ~ .c-hint,
|
16 | .c-label__field:focus ~ .c-hint {
|
17 | transform: scale(.9);
|
18 | opacity: 1;
|
19 | }
|
20 |
|
21 | .c-hint--success {
|
22 | color: $hint-success-color;
|
23 | }
|
24 |
|
25 | .c-hint--error {
|
26 | color: $hint-error-color;
|
27 | }
|