-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
593 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ export default { | |
.el-table{ | ||
height:calc(100% - 130px); | ||
height:100%; | ||
overflow: auto; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
@import './variables.scss'; | ||
|
||
@mixin colorBtn($color) { | ||
background: $color; | ||
&:hover { | ||
color: $color; | ||
&:before, | ||
&:after { | ||
background: $color; | ||
} | ||
} | ||
} | ||
|
||
.blue-btn { | ||
@include colorBtn($blue) | ||
} | ||
|
||
.light-blue-btn { | ||
@include colorBtn($light-blue) | ||
} | ||
|
||
.red-btn { | ||
@include colorBtn($red) | ||
} | ||
|
||
.pink-btn { | ||
@include colorBtn($pink) | ||
} | ||
|
||
.green-btn { | ||
@include colorBtn($green) | ||
} | ||
|
||
.tiffany-btn { | ||
@include colorBtn($tiffany) | ||
} | ||
|
||
.yellow-btn { | ||
@include colorBtn($yellow) | ||
} | ||
|
||
.pan-btn { | ||
font-size: 14px; | ||
color: #fff; | ||
padding: 14px 36px; | ||
border-radius: 8px; | ||
border: none; | ||
outline: none; | ||
transition: 600ms ease all; | ||
position: relative; | ||
display: inline-block; | ||
&:hover { | ||
background: #fff; | ||
&:before, | ||
&:after { | ||
width: 100%; | ||
transition: 600ms ease all; | ||
} | ||
} | ||
&:before, | ||
&:after { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
height: 2px; | ||
width: 0; | ||
transition: 400ms ease all; | ||
} | ||
&::after { | ||
right: inherit; | ||
top: inherit; | ||
left: 0; | ||
bottom: 0; | ||
} | ||
} | ||
|
||
.custom-button { | ||
display: inline-block; | ||
line-height: 1; | ||
white-space: nowrap; | ||
cursor: pointer; | ||
background: #fff; | ||
color: #fff; | ||
-webkit-appearance: none; | ||
text-align: center; | ||
box-sizing: border-box; | ||
outline: 0; | ||
margin: 0; | ||
padding: 10px 15px; | ||
font-size: 14px; | ||
border-radius: 4px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,82 @@ | ||
//覆盖一些element-ui样式 覆盖css样式可在这里添加 | ||
.el-upload { | ||
input[type="file"] { | ||
display: none !important; | ||
} | ||
} | ||
//覆盖一些element-ui样式 | ||
|
||
.el-upload__input { | ||
display: none; | ||
.el-breadcrumb__inner, .el-breadcrumb__inner a{ | ||
font-weight: 400!important; | ||
} | ||
|
||
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461 | ||
.el-dialog { | ||
transform: none; | ||
left: 0; | ||
position: relative; | ||
margin: 0 auto; | ||
} | ||
.el-upload { | ||
input[type="file"] { | ||
display: none !important; | ||
} | ||
} | ||
|
||
.el-upload__input { | ||
display: none; | ||
} | ||
|
||
.cell { | ||
.el-tag { | ||
margin-right: 0px; | ||
} | ||
} | ||
|
||
.small-padding { | ||
.cell { | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
} | ||
|
||
.fixed-width{ | ||
.el-button--mini{ | ||
padding: 7px 10px; | ||
width: 60px; | ||
} | ||
} | ||
|
||
.status-col { | ||
.cell { | ||
padding: 0 10px; | ||
text-align: center; | ||
.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; | ||
} | ||
} | ||
|
||
//element ui upload | ||
.upload-container { | ||
.el-upload { | ||
width: 100%; | ||
.el-upload-dragger { | ||
width: 100%; | ||
height: 200px; | ||
} | ||
} | ||
} | ||
|
||
//element ui upload | ||
.upload-container { | ||
.el-upload { | ||
width: 100%; | ||
.el-upload-dragger { | ||
width: 100%; | ||
height: 200px; | ||
} | ||
//dropdown | ||
.el-dropdown-menu{ | ||
a{ | ||
display: block | ||
} | ||
} |
Oops, something went wrong.