element.less
1.71 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
// element 样式补丁
.el-card {
&.is-always-shadow {
box-shadow: 0 0 8px 0 rgba(232,237,250,.6), 0 2px 4px 0 rgba(232,237,250,.5);
}
&.is-hover-shadow {
&:hover {
box-shadow: 0 0 8px 0 rgba(232,237,250,.6), 0 2px 4px 0 rgba(232,237,250,.5);
}
}
}
.el-menu--horizontal {
border-bottom: none !important;
}
// element 弹框 头部偏高
.el-dialog__body{
padding-top: 0!important;
}
.el-tabs__item:focus.is-active.is-focus:not(:active) {
box-shadow: none !important;
}
// element table 不能对齐
.el-table th.gutter{
display: table-cell!important;
}
// input type=number 上下箭头
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
// Radio 单选框升级之后的问题
.el-radio{
margin-right: 0!important;
}
// Divider 分割线 样式的修改
.el-divider--horizontal{
margin: 10px 0!important;
}
// form
// .el-form-item__content{
// margin-left: 0!important;
// }
.el-form-item{
margin-bottom: 10px;
margin-right: 18px;
}
.el-icon-full-screen{
cursor: pointer;
}
// .el-dialog__wrapper{
// overflow: hidden!important;
// }
//table样式
.el-table .even-row {
background: #f7f9fb;
}
.el-table th {
background-color: #f3f5fa;
}
//操作提示样式
.el-message{
min-width: 200px!important;
top: 50px!important;
}
.el-pager li{
background-color: #FFFFFF!important;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: #409EFF!important;
color: #FFF;
}
.el-pagination{
margin-left: -8px;
}