UNPKG

1.58 kBCSSView Raw
1.adm-form-item + .adm-form-item {
2 border-top: none;
3}
4.adm-form-item-label {
5 display: block;
6 height: 100%;
7 line-height: 1.5;
8 box-sizing: border-box;
9 position: relative;
10 color: var(--adm-color-text-secondary);
11}
12.adm-form-item-label .adm-form-item-required-asterisk {
13 position: absolute;
14 left: -0.6em;
15 top: 0;
16 font-family: SimSun, sans-serif;
17 color: var(--adm-color-danger);
18 -webkit-user-select: none;
19 user-select: none;
20}
21.adm-form-item-label .adm-form-item-required-text {
22 margin-left: 4px;
23 color: var(--adm-color-weak);
24}
25.adm-form-item-label-help {
26 margin-left: 4px;
27 cursor: pointer;
28}
29.adm-form-item-child {
30 display: flex;
31}
32.adm-form-item-child-position-normal {
33 justify-content: normal;
34}
35.adm-form-item-child-position-normal > * {
36 flex: auto;
37}
38.adm-form-item-child-position-right {
39 justify-content: flex-end;
40}
41.adm-form-item-child-position-right > * {
42 flex: none;
43}
44.adm-form-item-feedback-error {
45 color: var(--adm-color-danger);
46 margin-top: 4px;
47}
48.adm-form-item-feedback-warning {
49 color: var(--adm-color-warning);
50 margin-top: 4px;
51}
52.adm-form-item.adm-form-item-hidden {
53 display: none;
54}
55.adm-form-item.adm-form-item-horizontal.adm-list-item {
56 --align-items: stretch;
57}
58.adm-form-item.adm-form-item-horizontal .adm-list-item-content-prefix {
59 padding-top: 12px;
60 padding-bottom: 12px;
61}
62.adm-form-item.adm-form-item-horizontal .adm-list-item-content-extra {
63 align-self: center;
64}
65.adm-form-item.adm-form-item-vertical .adm-form-item-label {
66 font-size: var(--adm-font-size-7);
67 margin-bottom: 4px;
68}