家里的样式
This commit is contained in:
69
src/styles/element-ui.scss
Normal file
69
src/styles/element-ui.scss
Normal file
@@ -0,0 +1,69 @@
|
||||
//to reset element-ui default css
|
||||
.el-upload {
|
||||
input[type="file"] {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-upload__input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
|
||||
.el-dialog {
|
||||
transform: none;
|
||||
left: 0;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
//element ui upload
|
||||
.upload-container {
|
||||
.el-upload {
|
||||
width: 100%;
|
||||
.el-upload-dragger {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-table th{
|
||||
background-color: #7eaced;
|
||||
color: white;/*修改表格头部背景*/
|
||||
line-height: 3em!important;
|
||||
}
|
||||
.el-table__row td{
|
||||
padding: 5px 0!important;
|
||||
}
|
||||
|
||||
.el-tree-node__content>.el-tree-node__expand-icon{
|
||||
display: none;
|
||||
}
|
||||
//单击表格行变色
|
||||
.el-table__body tr.current-row>td{
|
||||
background-color: rgb(216,229,245) !important;
|
||||
/* color: #f19944; */ /* 设置文字颜色,可以选择不设置 */
|
||||
}
|
||||
//聚焦表格行变色
|
||||
.hover-row td{
|
||||
background: RGB(236 245 255)!important;
|
||||
}
|
||||
.el-table td, .is-leaf{
|
||||
background-color: rgb(255, 255, 255);
|
||||
color: black;
|
||||
font-weight:400
|
||||
}
|
||||
.el-table--striped .el-table__body tr.el-table__row--striped td{
|
||||
background-color: #d8dde6;/*修改斑马线表格背景*/
|
||||
}
|
||||
.el-table thead.is-group th{
|
||||
background-color: rgb(98, 157, 209);
|
||||
}
|
||||
|
||||
.el-textarea__inner,
|
||||
.el-radio__inner,
|
||||
.el-input__inner{
|
||||
border: 1px solid rgb(49, 56, 72)!important;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user