main.less
3.93 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
.content_box {
padding: 0 0 18px;
box-sizing: border-box;
width: 100%;
}
.el-table .success-row {
background:@tablebg;
}
.main{
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 18px 18px 0!important;
}
.pagination {
padding: 18px;
}
.db{
display: block;
}
.dn{
display: none;
}
.cp{
cursor: pointer;
}
.fl{
float: left;
}
.fr{
float: right;
}
.tac{
text-align: center!important;
}
table{
border-width: 0;
}
table,td,tr,.el-col,.title{
border-color: #E6E6E6 !important;
}
.formInput {
height: 100%;
width: 100%;
line-height: 20px;
outline: none;
border: none;
color: #606764;
overflow: visible;
text-align: left;
text-indent: 20px;
padding: 0;
}
input:disabled{
cursor: not-allowed;
}
.formInput:focus{
border: 1px solid #A0C5F6!important;
}
.psr{
position: relative;
}
ol, ul { list-style:none; }
.requisite{
font-style: normal;
color: red;
}
// 滚动条样式
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar {
height: 6px;
}
::-webkit-scrollbar-thumb {
border-radius: 3px;
background: #cbcbcb;
}
::-webkit-scrollbar-thumb {
border-radius: 3px;
background: #cbcbcb;
}
::-webkit-scrollbar-track {
border-radius: 0;
}
::-webkit-scrollbar-track {
border-radius: 0;
}
//二级菜单样式
.tabs{
>.el-tabs__content{
position: unset;
margin-top: 50px;
}
>.is-top{
position: -webkit-fixed;
position: fixed;
top: 60px;
z-index: 999;
width: 100%;
margin-bottom: 0;
>.is-top>.el-tabs__nav-scroll{
height: 50px;
background-color: #ffffff;
box-sizing: border-box;
padding-left: 20px;
.el-tabs__active-bar{
display: none;
}
>.el-tabs__nav{
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 30px;
line-height: 30px;
padding: 0 20px;
margin: 9px 10px 9px 0;
}
.is-active{
color: #006CFF;
background-color: #ffffff;
}
}
}
}
}
//弹框遮罩层样式
.v-modal{
opacity: .2;
background: #fff;
}
.el-dialog{
-webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4);
box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4);
}
// 自定义右键菜单样式
.contextmenu {
margin: 0;
background: #fff;
z-index: 3000;
position: absolute;
list-style-type: none;
padding: 5px 0;
border-radius: 4px;
font-size: 12px;
font-weight: 400;
color: #333;
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
}
.contextmenu li {
margin: 0;
padding: 7px 16px;
cursor: pointer;
}
.contextmenu li:hover {
background: #eee;
}
// end
//生成按钮样式
.el-button--warning{
color: #FFF;
background-color: #F79700;
border-color: #F79700;
}
.el-button--warning:focus, .el-button--warning:hover{
background-color: rgba(247, 151, 0,.7);
border-color: rgba(247, 151, 0,.7);
}
.percent80{
width: 78%;
float: left;
}
.createBtn{
position: absolute;
width: 50px;
padding: 6px 0px;
right: 6px;
top: 4px;
}
// 增删操作按钮样式
.addMinus{
border-radius:50%;
width: 30px !important;
height: 30px !important;
font-size: 22px!important;
padding: 4px 6px;
}
.outAdd,.outAdd:hover:focus{
background-color: #2FA5FF!important;
border: 1px solid #2FA5FF!important;
color: #fff!important;
}
.inAdd,.inAdd:hover:focus{
border: 1px solid #2FA5FF!important;
background-color: #fff!important;
color: #2FA5FF!important;
}
.outMinus,.outMinus:hover:focus{
background-color: #FA6400!important;
border: 1px solid #FA6400!important;
color: #fff!important;
}
.inMinus,.inMinus:hover:focus{
border: 1px solid #FA6400!important;
background-color: #fff!important;
color: #FA6400!important;
}