UNPKG

9.06 kBSCSSView Raw
1.ac-form-layout {
2 &-row {
3 margin: 0
4 }
5
6 &-item {
7 padding: 0;
8 margin-bottom: 8px;
9 .u-form-control{
10 padding: 0 8px;
11 }
12 .u-select .u-select-selection-rendered{
13 margin-left: 0;
14 margin-right: 0;
15 }
16 input,
17 .u-select .u-select-selection,
18 .u-input-number,.u-input-number.u-input-group>span:first-child,.u-input-number.u-input-group>span:last-child {
19 border-color: #d5d6d9;
20 }
21 .u-form-control:hover,.u-select-enabled .u-select-selection:hover,.u-input-number:hover{
22 border-color: #505766;
23 }
24 .u-form-control:active,.u-select .u-select-selection:active,.u-input-number:active,
25 .u-form-control:focus,.u-select .u-select-selection:focus,.u-input-number:focus{
26 border-color: #505766;
27 }
28 .datepicker-input-group.u-input-group:hover > input {
29 border-color: #505766;
30 }
31 .u-select .u-select-arrow,.datepicker-container .u-input-group-btn,.datepicker-input-group .u-input-group-btn,
32 .u-input-number.u-input-group > span:first-child,.u-input-number.u-input-group > span:last-child,
33 .u-input-group.simple .u-input-group-btn{
34 color: #adb4bc;
35 }
36 .u-select .u-select-arrow,.u-input-group.simple .u-input-group-btn{
37 right: 8px;
38 }
39 .u-select-selection-placeholder, .u-select-search-field-placeholder{
40 left: 8px;
41 }
42
43 .u-select-selection--single .u-select-selection-selected-value{
44 padding-left: 8px;
45 }
46 .u-label {
47 display: inline-block;
48 width: 140px;
49 text-align: right;
50 font-size: 13px;
51 color: #111111;
52 }
53
54 .u-label+* {
55 width: calc(100% - 140px);
56 display: inline-block;
57 height: 32px;
58 font-size: 13px;
59 }
60 .ac-form-layout-span{
61 line-height: 32px;
62 color: #111111;
63 padding: 0 8px;
64 overflow: hidden;
65 text-overflow: ellipsis;
66 white-space: nowrap;
67 pointer-events: painted;
68 border: 1px solid #eee;
69 border-radius: 3px;
70 }
71 .ncc-refer-container .refer-wrapper .refer-wrapper-content{
72 height: 32px;
73 }
74
75 .container-refer {
76
77 //mdf参照
78 .ant-search-input-wrapper {
79 vertical-align: middle;
80 height: 32px;
81
82 .ant-input {
83 border: 1px solid #d5d6d9;
84 padding: 0 7px;
85 }
86 }
87 }
88
89 &.error {
90
91 .u-form-control,
92 .u-input-number,
93 .u-input-number.u-input-group.simple .u-input-group-btn,
94 .u-select .u-select-selection,
95 .ncc-refer-container .refer-wrapper .refer-wrapper-content {
96 border-color: #f53c32;
97 }
98
99 .u-input-number.u-input-group.simple .u-input-group-btn .icon-group .plus,
100 .u-input-number.u-input-group.simple .u-input-group-btn .icon-group .reduce {
101 color: #f53c32;
102 }
103
104 }
105
106 .datepicker-input-group .u-form-control {
107 float: unset;
108 }
109
110 .ref-input-wrap {
111 width: 100% !important;
112 }
113
114 .u-input-number.u-input-group.simple {
115 display: inline-block;
116
117 .u-form-control {
118 float: unset;
119 height: 30px;
120 }
121
122 .u-input-group-btn {
123 position: absolute;
124 right: 2px;
125
126 .icon-group {
127 height: 30px;
128 }
129 }
130 }
131
132 &-out {
133 position: relative;
134 }
135
136 &-error-msg {
137 color: #f53c32;
138 position: absolute;
139 z-index: 2;
140 top: -30px;
141 width: 100%;
142 text-align: center;
143 overflow: hidden;
144 display: block;
145 white-space: nowrap;
146 text-overflow: ellipsis;
147 height: 30px;
148 pointer-events: none;
149
150 &-text {
151 padding: 3px 10px;
152 border-radius: 4px;
153 background: #fff;
154 box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
155 top: 6px;
156 position: relative;
157 }
158 }
159
160 &-error-msg::after {
161 position: absolute;
162 display: block;
163 width: 6px;
164 height: 6px;
165 background: #fff;
166 content: " ";
167 left: calc(50% - 5px);
168 transform: rotate(45deg);
169 border-right: 1px solid #d5d6d9;
170 border-bottom: 1px solid #d5d6d9;
171 bottom: -1px;
172 }
173
174
175 //禁用状态
176 .u-form-control[disabled] {
177 background: #f3f3f3;
178 border-color: #e0e0e0;
179 color: #2B344B !important;
180 }
181
182 .u-select-disabled {
183 .u-select-selection {
184 background: #f3f3f3;
185 border-color: #e0e0e0;
186 color: #2B344B;
187 }
188
189 }
190
191 input::-webkit-input-placeholder {
192 color: #cccccc !important;
193 font-size: 13px;
194 }
195
196 .u-select-selection-placeholder,
197 .u-select-search-field-placeholder {
198 color: #cccccc;
199 font-size: 13px;
200 }
201 }
202
203 &-mast {
204 position: relative;
205 top: 2px;
206 color: #f53c32;
207 right: 2px;
208 }
209
210 &.disabled {
211 pointer-events: none;
212
213 .ac-form-layout-mast{
214 display: none;
215 }
216 .u-label:after{
217 content: " :"
218 }
219 .ac-form-layout-item-error-msg{
220 display: none;
221 }
222 .rc-tree-select-selection,
223 .rc-tree-select-selection:hover,
224 .u-form-control {
225 background: none;
226 border-color: #eee;
227 color: #111111;
228 box-shadow: none;
229 }
230
231 .u-select .u-select-selection {
232 background: none;
233 border-color: #eee;
234 &.u-select-selection--multiple{
235 .u-select-selection-choice{
236 background: none;
237 color: #111111;
238 padding: 0;
239 }
240 }
241 }
242
243 .u-select-arrow,
244 .rc-tree-select-menu-icon,
245 .u-input-group-btn {
246 display: none;
247 }
248
249 .container-refer {
250 //mdf参照
251 .ant-search-input-wrapper {
252 .ant-input {
253 border: none;
254 background: none;
255 pointer-events: none;
256 }
257
258 .ant-input-suffix {
259 display: none;
260 }
261 }
262 .refer-wrapper{
263 pointer-events: none;
264 .refer-wrapper-content{
265 border-color: #eee;
266 background: none;
267 >ul{
268 background: none;
269 .selected-item{
270 span{
271 border: none;
272 }
273 }
274 }
275 }
276 }
277
278 .refer-canzhao-wrapper{
279 display: none;
280 }
281
282 }
283 .u-input-number{
284 border-color: #eee;
285 .u-input-group-addon{
286 display: none;
287 }
288 }
289 .ac-split-area{
290 pointer-events: auto;
291 }
292 }
293}
294.ac-form-layout-row > div {
295 padding: 0 0;
296 display: flex;
297 flex-direction: row;
298 align-items: center;
299 justify-content: flex-end;
300}
301
302//参照样式
303// .referModal{
304// .fixedDataTableRowLayout_rowWrapper,
305// .fixedDataTableRowLayout_main,
306// .fixedDataTableCellGroupLayout_cellGroupWrapper,
307// .fixedDataTableCellGroupLayout_cellGroup,
308// .fixedDataTableCellLayout_main,
309// .fixedDataTableCellLayout_columnResizerContainer,
310// .fixedDataTableCellLayout_columnResizerKnob,
311// .fixedDataTableCellLayout_wrap1{
312// height: 35px!important;
313// }
314// }
315//参照样式
316// .ncc-refer-model.ant-modal.referModal{
317// .columnSetting{
318// background: #eceff5;
319// .SettingBtn,.SettingBtn:hover{
320// background: #eceff5;
321// }
322// }
323// .pagination-new .ant-pagination.mini{
324// text-align: center;
325// }
326// .ant-modal-footer{
327// padding: 7px 20px;
328// .refer-footer-btns-container{
329// button.ant-btn-primary{
330// border: 1px solid #e14c46;
331// }
332// .refer-modal-footer-cancle-btn{
333// margin-left: 8px;
334// }
335// }
336
337// }
338// }
\No newline at end of file