1 | @import '../../styles/common/colors';
|
2 | @import '../../styles/common/mixins';
|
3 | @import '../../styles/common/screen';
|
4 |
|
5 | .form-group {
|
6 | h3 {
|
7 | margin: 0 0 10px 0;
|
8 | }
|
9 |
|
10 | [class^='button-group'] {
|
11 | display: block;
|
12 | button {
|
13 | height: 39px;
|
14 | }
|
15 | }
|
16 | }
|
17 |
|
18 | .remove-item {
|
19 | position: absolute;
|
20 | right: 0;
|
21 | top: 11px;
|
22 | }
|
23 |
|
24 | .field {
|
25 | margin-bottom: 16px;
|
26 | }
|
27 |
|
28 | .fieldset > fieldset {
|
29 | margin-bottom: 16px;
|
30 | }
|
31 |
|
32 | fieldset.row {
|
33 | margin-bottom: 0;
|
34 | padding-right: 20px;
|
35 | position: relative;
|
36 |
|
37 | .field {
|
38 | float: left;
|
39 | display: block;
|
40 | margin: 0 16px 16px 0;
|
41 | min-width: auto;
|
42 |
|
43 | @media #{$media-small-minus} {
|
44 | margin: 0;
|
45 | min-width: 100%;
|
46 | }
|
47 | }
|
48 |
|
49 | @media #{$media-small-minus} {
|
50 | padding-right: 0;
|
51 | margin-bottom: 16px;
|
52 |
|
53 | [class^='button-group'] {
|
54 | margin-bottom: 16px;
|
55 | }
|
56 |
|
57 | .remove-item {
|
58 | right: 12px;
|
59 | top: 64px;
|
60 | }
|
61 |
|
62 | .fields {
|
63 | padding-right: 40px;
|
64 |
|
65 | [class*='datepicker-component-'] {
|
66 | > div + div {
|
67 | margin: -1px 0 0;
|
68 | }
|
69 | > div:first-of-type > div {
|
70 | border-radius: 3px 3px 0 0;
|
71 | }
|
72 | > div:nth-of-type(2), > div:last-of-type {
|
73 | > div {
|
74 | border-radius: 0;
|
75 | }
|
76 | }
|
77 | }
|
78 | > .field {
|
79 | > div, > input {
|
80 | border-radius: 3px 3px 0 0;
|
81 | }
|
82 | + .field {
|
83 | margin-top: -1px;
|
84 | > div, > input {
|
85 | border-radius: 0;
|
86 | }
|
87 | &[class*='datepicker-component-'] {
|
88 | > div:first-of-type, > div:nth-of-type(2), > div:last-of-type {
|
89 | > div {
|
90 | border-radius: 0;
|
91 | }
|
92 | }
|
93 | }
|
94 | &:last-child {
|
95 | > div, > input {
|
96 | border-radius: 0 0 3px 3px;
|
97 | }
|
98 | &[class*='datepicker-component-'] {
|
99 | > div:first-of-type, > div:nth-of-type(2) {
|
100 | > div {
|
101 | border-radius: 0;
|
102 | }
|
103 | }
|
104 | > div:last-of-type > div {
|
105 | border-radius: 0 0 3px 3px;
|
106 | }
|
107 | }
|
108 | }
|
109 | }
|
110 | }
|
111 | }
|
112 | }
|
113 |
|
114 | [class^='selectfield'].field ul {
|
115 | min-width: auto;
|
116 | }
|
117 | }
|
118 |
|
119 | [class^='checkbox'].field {
|
120 | &:last-child {
|
121 | margin-bottom: inherit;
|
122 | }
|
123 | }
|
124 |
|
125 | .fieldset legend {
|
126 | color: $primary-4;
|
127 | display: block;
|
128 | float: left;
|
129 | font-size: 12px;
|
130 | font-weight: normal;
|
131 | margin: 30px 0 10px;
|
132 | position: relative;
|
133 | text-transform: uppercase;
|
134 | width: 100%;
|
135 |
|
136 | span {
|
137 | background-color: $white;
|
138 | padding-right: 5px;
|
139 | position: relative;
|
140 | z-index: 1;
|
141 | }
|
142 |
|
143 | &:after {
|
144 | background-color: $neutral-1;
|
145 | content: '';
|
146 | display: block;
|
147 | height: 1px;
|
148 | position: absolute;
|
149 | top: 7px;
|
150 | width: 100%;
|
151 | }
|
152 | }
|
153 |
|
154 | .is-hidden {
|
155 | display: none !important;
|
156 | }
|
157 |
|
158 | .has-error {
|
159 | input, textarea, [class*='selectfield-value'] {
|
160 | border: 2px solid $danger !important;
|
161 | }
|
162 | }
|
163 |
|
164 | .has-error__message {
|
165 | color: $danger;
|
166 | display: block;
|
167 | margin-top: 8px;
|
168 | margin-bottom: 8px;
|
169 | }
|
170 |
|
171 | .validated-field {
|
172 | position: relative;
|
173 | display: flex;
|
174 | flex-direction: column;
|
175 | align-items: flex-start;
|
176 | justify-content: center;
|
177 | > * {
|
178 | width: 100%;
|
179 | }
|
180 | }
|