custom-form.css
1.5 KB
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
83
84
85
86
87
88
#customForm {
user-select: none;
}
#customForm .types-li {
margin-bottom: 10px;
padding: 10px;
cursor: pointer;
}
#customForm .form-item {
/* display: flex; */
align-items: center;
min-height: 40px;
}
#customForm .form-item:not(:last-child) {
margin-bottom: 20px;
}
#customForm .form-item .item-title,
#customForm .form-item .item-tip,
#customForm .form-item .item-cont {
pointer-events: none;
}
#customForm .item-title {
font-weight: bold;
font-size: 15px;
}
#customForm .item-title.must::before {
content: "*";
position: relative;
top: 4px;
color: #F00;
}
#customForm .form-item .item-tip {
line-height: 1.8;
}
#customForm .form-item .el-input {
width: 180px;
}
#customForm .grid-content {
height: 666px;
overflow-x: hidden;
overflow-y: auto;
}
/*外层轨道*/
#customForm .grid-content::-webkit-scrollbar {
width: 6px;
}
/*内层轨道*/
#customForm .grid-content::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #ccc;
}
#customForm .show-box>div {
min-height: 50px;
}
#customForm .types-box .item {
cursor: pointer;
}
#customForm .show-box .form-item {
cursor: move;
}
#customForm .item {
padding: 6px;
background-color: #fdfdfd;
border: solid 1px #eee;
margin-bottom: 10px;
}
#customForm .grid-content {
padding: 8px;
border: 1px solid #DDD;
border-radius: 4px;
min-height: 36px;
}
#customForm .el-col {
border-radius: 4px;
}