1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
| .label-dm {
| margin-bottom: 0;
|
| &__text {
| padding: 0 16px;
| height: 22px;
| display: flex;
| margin-bottom: 4px;
| font-size: 14px;
| line-height: 22px;
| justify-content: space-between;
| }
|
| &__description {
| margin-top: 5px;
| font-size: 14px;
| line-height: 22px;
| color: var(--sand_500);
| }
|
| &__field {
| line-height: 0;
| }
|
| &_size_large &__text {
| font-weight: 500;
| font-size: 16px;
| line-height: 22px;
| margin-bottom: 16px;
| }
|
| &_flat &__text {
| padding: 0;
| }
|
| .input-dm,
| .select-dm,
| .textarea-dm {
| width: 100%;
| }
|
| &[data-required] &__text::after {
| content: "Required";
| color: var(--sand_500);
| }
|
| &_large &__text {
| font-size: 16px;
| font-weight: 500;
| margin-bottom: 16px;
| }
|
| &_placement_right {
| display: inline-flex;
| flex-direction: row-reverse;
| }
|
| &_placement_left {
| display: inline-flex;
| }
|
| &_empty &__text,
| &_placement_right &__text,
| &_placement_left &__text {
| margin-bottom: 0;
| font-size: 16px;
| line-height: 22px;
| height: auto;
| align-items: center;
| }
|
| &_placement_right:not(.label-dm_withDescription) &__field,
| &_placement_left:not(.label-dm_withDescription) &__field {
| display: flex;
| align-items: center;
| }
|
| &_placement_right.label-dm_withDescription &__field,
| &_placement_left.label-dm_withDescription &__field {
| margin-top: 5px;
| }
| }
|
|