You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
2.9 KiB
154 lines
2.9 KiB
/* |
|
*这里的值严格按照UI设计图标注值来进行设置 |
|
*/ |
|
/* |
|
*颜色 |
|
*/ |
|
/* |
|
*页面的边距 |
|
*/ |
|
/* |
|
*字体 |
|
*/ |
|
/* |
|
*头像 |
|
*/ |
|
/* |
|
* 按钮 |
|
*/ |
|
/* |
|
*对常见的多行样式进行了方法封装,方便调用,加快开发效率 |
|
*/ |
|
html, |
|
body { |
|
min-height: 100vh; |
|
background-color: #eee; |
|
margin: 0; |
|
font-weight: initial !important; |
|
font-size: 14px !important; |
|
color: #333 !important; |
|
} |
|
html *, |
|
body * { |
|
text-decoration: none !important; |
|
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
box-sizing: border-box; |
|
} |
|
.ms-ellipsis { |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
white-space: nowrap; |
|
display: block; |
|
} |
|
.ms-align-center { |
|
display: flex; |
|
align-items: center; |
|
} |
|
input::-webkit-input-placeholder, |
|
textarea::-webkit-input-placeholder { |
|
font-weight: initial; |
|
font-size: 12px; |
|
color: #999; |
|
resize: none; |
|
} |
|
*::-webkit-scrollbar { |
|
width: 8px; |
|
height: 8px; |
|
} |
|
/*定义滚动条轨道 内阴影+圆角*/ |
|
*::-webkit-scrollbar-track { |
|
border-radius: 10px; |
|
/*滚动条的背景区域的圆角*/ |
|
background-color: #eee; |
|
/*滚动条的背景颜色*/ |
|
} |
|
/*定义滑块 内阴影+圆角*/ |
|
*::-webkit-scrollbar-thumb { |
|
border-radius: 10px; |
|
/*滚动条的圆角*/ |
|
background-color: #ddd; |
|
/*滚动条的背景颜色*/ |
|
} |
|
.ms-container { |
|
margin: 12px; |
|
height: 100%; |
|
padding: 14px 14px 0 14px; |
|
background: #fff; |
|
} |
|
.ms-header { |
|
padding: 10px; |
|
margin: 0; |
|
border-bottom: 1px solid #ddd; |
|
background: #fff; |
|
height: 50px; |
|
} |
|
.ms-pagination { |
|
padding: 20px 0; |
|
text-align: right; |
|
} |
|
.ms-fr { |
|
float: right; |
|
} |
|
.ms-tr { |
|
text-align: right; |
|
} |
|
.el-button + .el-button { |
|
margin-left: 0; |
|
} |
|
.ms-article .el-container .el-aside { |
|
padding: 14px; |
|
} |
|
.ms-article .el-container .el-aside .ms-main-article { |
|
position: relative; |
|
} |
|
.ms-article .el-container .el-aside .ms-main-article img { |
|
width: 100%; |
|
height: 146px; |
|
} |
|
.ms-article .el-container .el-aside .ms-main-article .ms-main-article-mask { |
|
background: #000; |
|
opacity: .2; |
|
width: 100%; |
|
height: 146px; |
|
position: absolute; |
|
top: 0; |
|
left: 0; |
|
} |
|
.ms-article .el-container .el-aside .ms-main-article span { |
|
position: absolute; |
|
bottom: 0; |
|
padding: 15px; |
|
color: #fff; |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
display: -webkit-box; |
|
-webkit-line-clamp: 2; |
|
-webkit-box-orient: vertical; |
|
} |
|
.ms-article .el-container .el-aside .ms-article-item { |
|
width: 100%; |
|
height: 70px; |
|
display: flex; |
|
justify-content: space-between; |
|
padding: 10px 0; |
|
border-bottom: 1px solid #ddd; |
|
} |
|
.ms-article .el-container .el-aside .ms-article-item p { |
|
margin: 0 10px 0 0; |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
} |
|
.ms-article .el-container .el-aside .ms-article-item p span { |
|
width: 100%; |
|
display: inline-block; |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
display: -webkit-box; |
|
-webkit-line-clamp: 1; |
|
-webkit-box-orient: vertical; |
|
} |
|
.ms-article .el-container .el-aside .ms-article-item img { |
|
width: 50px; |
|
height: 50px; |
|
}
|
|
|