fe-drone-ci/src/styles/element-ui.scss

86 lines
1.1 KiB
SCSS
Raw Normal View History

2019-01-11 07:42:53 +00:00
//覆盖一些element-ui样式
2017-04-21 10:50:13 +00:00
2019-01-11 07:42:53 +00:00
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
font-weight: 400 !important;
2017-12-18 10:47:06 +00:00
}
2019-01-11 07:42:53 +00:00
.el-upload {
input[type="file"] {
display: none !important;
}
}
2017-04-21 10:50:13 +00:00
2019-01-11 07:42:53 +00:00
.el-upload__input {
display: none;
}
2017-04-21 10:50:13 +00:00
2019-01-11 07:42:53 +00:00
.cell {
.el-tag {
margin-right: 0px;
}
}
2017-04-21 10:50:13 +00:00
2019-01-11 07:42:53 +00:00
.small-padding {
.cell {
padding-left: 5px;
padding-right: 5px;
}
}
2017-04-21 10:50:13 +00:00
2019-01-11 07:42:53 +00:00
.fixed-width {
.el-button--mini {
padding: 7px 10px;
width: 60px;
}
2019-01-11 07:42:53 +00:00
}
2019-01-11 07:42:53 +00:00
.status-col {
.cell {
padding: 0 10px;
text-align: center;
2017-04-21 10:50:13 +00:00
2019-01-11 07:42:53 +00:00
.el-tag {
margin-right: 0px;
}
}
}
//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
transform: none;
left: 0;
position: relative;
margin: 0 auto;
}
//文章页textarea修改样式
.article-textarea {
textarea {
padding-right: 40px;
resize: none;
border: none;
border-radius: 0px;
border-bottom: 1px solid #bfcbd9;
}
}
2017-04-21 10:50:13 +00:00
2019-01-11 07:42:53 +00:00
//element ui upload
.upload-container {
.el-upload {
width: 100%;
2017-04-23 11:50:32 +00:00
2019-01-11 07:42:53 +00:00
.el-upload-dragger {
width: 100%;
height: 200px;
}
}
}
2018-03-30 09:29:00 +00:00
//dropdown
2019-01-11 07:42:53 +00:00
.el-dropdown-menu {
a {
2018-03-30 09:29:00 +00:00
display: block
}
}