|
3 | 3 | @mixin dynamic-form-custom { |
4 | 4 | --top-level-font-size: var(--yc-text-display-2-font-size); |
5 | 5 | --top-level-line-height: var(--yc-text-display-2-line-height); |
6 | | - --block-propery-font-size: var(--yc-text-body-3-font-size); |
7 | | - --block-property-line-height: var(--yc-text-body-3-line-height); |
8 | | - --nested-property-font-size: var(--yc-text-body-1-font-size); |
9 | | - --nested-property-line-height: var(--yc-text-body-1-line-height); |
10 | | - --complex-nested-property-font-size: var(--yc-text-body-2-font-size); |
11 | | - --complex-nested-property-line-height: var(--yc-text-body-2-line-height); |
| 6 | + --block-level-complex-propery-font-size: var(--yc-text-body-3-font-size); |
| 7 | + --block-level-complex-property-line-height: var(--yc-text-body-3-line-height); |
| 8 | + --complex-property-font-size: var(--yc-text-body-2-font-size); |
| 9 | + --complex-property-line-height: var(--yc-text-body-2-line-height); |
| 10 | + --property-font-size: var(--yc-text-body-1-font-size); |
| 11 | + --property-line-height: var(--yc-text-body-1-line-height); |
12 | 12 |
|
13 | 13 | --input-min-width: 150px; |
14 | | - --property-title-width: 140px; |
| 14 | + --property-title-width: 96px; |
15 | 15 |
|
16 | 16 | // blocks list level definitons |
17 | 17 | --button-height: 48px; |
|
30 | 30 | --icon-size: 20px; |
31 | 31 | --icon-margin: 30px; |
32 | 32 |
|
33 | | - --header-text-size: var(--block-propery-font-size); |
34 | | - --header-line-height: var(--block-property-line-height); |
35 | | - --text-size: var(--block-propery-font-size); |
36 | | - --line-height: var(--block-property-line-height); |
| 33 | + --header-text-size: var(--block-level-complex-propery-font-size); |
| 34 | + --header-line-height: var(--block-level-complex-property-line-height); |
| 35 | + --text-size: var(--property-font-size); |
| 36 | + --line-height: var(--property-line-height); |
| 37 | + --property-font-weight: 400; |
37 | 38 | } |
38 | 39 |
|
39 | 40 | // block nested properties level definitons |
|
43 | 44 | --icon-margin: 25px; |
44 | 45 | --property-font-weight: 400; |
45 | 46 |
|
46 | | - --header-text-size: var(--complex-nested-property-font-size); |
47 | | - --header-line-height: var(--complex-nested-property-line-height); |
48 | | - --text-size: var(--nested-property-font-size); |
49 | | - --line-height: var(--nested-property-line-height); |
| 47 | + --header-text-size: var(--complex-property-font-size); |
| 48 | + --header-line-height: var(--complex-property-line-height); |
| 49 | + --text-size: var(--property-font-size); |
| 50 | + --line-height: var(--property-line-height); |
| 51 | + |
| 52 | + --oneof-text-size: var(--complex-propery-font-size); |
| 53 | + --oneof-line-height: var(--complex-property-line-height); |
50 | 54 | } |
51 | 55 |
|
52 | 56 | .df-row { |
|
97 | 101 | } |
98 | 102 | } |
99 | 103 |
|
| 104 | + .df-simple-vertical-accordeon__body { |
| 105 | + margin-top: 0px; |
| 106 | + padding-top: $indentXXS; |
| 107 | + } |
| 108 | + |
| 109 | + .df-use-search { |
| 110 | + margin: 4px 0; |
| 111 | + } |
| 112 | + |
100 | 113 | .df-simple-vertical-accordeon__body, |
101 | 114 | .df-group-indent > .df-use-search { |
102 | 115 | margin-top: 0; |
103 | 116 | margin-left: 1px; |
104 | | - |
105 | | - padding-top: $indentXXS; |
106 | | - padding-left: $indentXS; |
107 | | - |
| 117 | + padding-top: 4px; |
| 118 | + padding-bottom: 4px; |
| 119 | + padding-left: $indentXXS; |
108 | 120 | border-left: 1px solid var(--yc-color-line-generic-accent); |
109 | 121 | } |
110 | 122 |
|
| 123 | + .df-simple-vertical-accordeon_branch .df-simple-vertical-accordeon__body { |
| 124 | + padding-left: $indentXXS; |
| 125 | + } |
| 126 | + |
111 | 127 | .g-select, |
112 | 128 | .yc-text-input { |
113 | | - width: var(--input-min-width); |
| 129 | + min-width: var(--input-min-width); |
| 130 | + width: 100%; |
114 | 131 | } |
115 | 132 | } |
0 commit comments