forked from vincentzyc/form-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.styl
More file actions
100 lines (85 loc) · 1.61 KB
/
index.styl
File metadata and controls
100 lines (85 loc) · 1.61 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
89
90
91
92
93
94
95
96
97
98
99
100
$primary-color = #409EFF;
$primary-background-color = #ecf5ff;
// 覆盖element-ui样式
.el-container {
height: 100% !important;
justify-content: center;
}
// 覆盖element-ui样式 end
:not(.form-edit-wrapper)::-webkit-scrollbar {
display: none;
}
.home {
height: calc(100% - 70px);
user-select: none;
.form-edit-wrapper {
display: flex !important;
max-width: calc(40vw + 720px);
overflow: auto;
flex: auto;
}
}
.center-container {
min-width: 400px;
max-width: 720px;
border-left: 1px solid #e0e0e0;
border-right: 1px solid #e0e0e0;
.btn-bar {
height: 45px;
line-height: 45px;
font-size: 18px;
border-bottom: solid 2px #e4e7ed;
text-align: right;
}
.el-main {
padding: 0;
position: relative;
}
}
.components-list {
padding: 8px 0;
width: 100%;
height: 100%;
.widget-cate {
padding: 8px 12px;
font-size: 13px;
}
ul {
position: relative;
overflow: hidden;
padding: 0 10px 10px;
margin: 0;
}
.ghost {
background: #fff;
border: 1px dashed $primary-color;
&::after {
background: #fff;
}
}
.form-edit-widget-label {
font-size: 12px;
display: block;
width: 48%;
line-height: 30px;
position: relative;
float: left;
left: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin: 1%;
color: #333;
border: 1px solid #F4F6FC;
text-align: center;
&:hover {
color: $primary-color;
border: 1px dashed $primary-color;
}
& > a {
display: block;
cursor: move;
background: #F4F6FC;
}
}
}