优化样式
This commit is contained in:
parent
e98bde7ad5
commit
6a209ec308
@ -23,85 +23,6 @@
|
|||||||
width: 230px !important;
|
width: 230px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.el-avatar {
|
|
||||||
display: inline-block;
|
|
||||||
text-align: center;
|
|
||||||
background: #ccc;
|
|
||||||
color: #fff;
|
|
||||||
white-space: nowrap;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
vertical-align: middle;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
line-height: 32px;
|
|
||||||
border-radius: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-con{
|
|
||||||
height: 60px;
|
|
||||||
padding: 13px 0 0;
|
|
||||||
img{
|
|
||||||
height: 32px;
|
|
||||||
width: 135px;
|
|
||||||
display: block;
|
|
||||||
//margin: 0 auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#el-login-footer {
|
|
||||||
height: 40px;
|
|
||||||
line-height: 40px;
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
color: #fff;
|
|
||||||
font-family: Arial, serif;
|
|
||||||
font-size: 12px;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#el-main-footer {
|
|
||||||
background: none repeat scroll 0 0 white;
|
|
||||||
border-top: 1px solid #e7eaec;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 10px 6px 0 6px;
|
|
||||||
height: 33px;
|
|
||||||
font-size: 0.7rem !important;
|
|
||||||
color: #7a8b9a;
|
|
||||||
letter-spacing: 0.8px;
|
|
||||||
font-family: Arial, sans-serif !important;
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 99;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.eladmin-upload {
|
|
||||||
border: 1px dashed #c0ccda;
|
|
||||||
border-radius: 5px;
|
|
||||||
height: 45px;
|
|
||||||
line-height: 45px;
|
|
||||||
width: 368px;
|
|
||||||
}
|
|
||||||
.my-blockquote{
|
|
||||||
margin: 0 0 10px;
|
|
||||||
padding: 15px;
|
|
||||||
line-height: 22px;
|
|
||||||
border-left: 5px solid #00437B;
|
|
||||||
border-radius: 0 2px 2px 0;
|
|
||||||
background-color: #f2f2f2;
|
|
||||||
}
|
|
||||||
.my-code{
|
|
||||||
position: relative;
|
|
||||||
padding: 15px;
|
|
||||||
line-height: 20px;
|
|
||||||
border-left: 5px solid #ddd;
|
|
||||||
color: #333;
|
|
||||||
font-family: Courier New, serif;
|
|
||||||
font-size: 12px
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-tabs{
|
.el-tabs{
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -82,3 +82,71 @@
|
|||||||
.el-range-separator {
|
.el-range-separator {
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
|
||||||
|
|
||||||
|
.el-table th.gutter {
|
||||||
|
display: table-cell !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-checkbox.mini .el-checkbox__label {
|
||||||
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-checkbox.small .el-checkbox__label {
|
||||||
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-checkbox.medium .el-checkbox__label {
|
||||||
|
font-size: 14px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table .fixed-width .el-button--mini {
|
||||||
|
color: #409EFF;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
width: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-tree-node__content>.el-checkbox {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// element ui 移动端组件适配
|
||||||
|
@media screen and (max-width: 500px) {
|
||||||
|
.el-message {
|
||||||
|
min-width: 300px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 500px) {
|
||||||
|
.el-message-box {
|
||||||
|
width: 300px !important;
|
||||||
|
}
|
||||||
|
.el-pagination__jump{
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.el-pagination__sizes{
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// dialog
|
||||||
|
@media screen and (max-width: 500px) {
|
||||||
|
.el-dialog__wrapper .el-dialog {
|
||||||
|
width: 95% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/** 表格更多操作下拉样式 */
|
||||||
|
.el-table .el-dropdown-link {
|
||||||
|
cursor: pointer;
|
||||||
|
color: #409EFF;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table .el-dropdown, .el-icon-arrow-down {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
//适配完毕
|
||||||
@ -342,24 +342,6 @@ aside {
|
|||||||
height: 120px;
|
height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
|
|
||||||
|
|
||||||
.el-table th.gutter {
|
|
||||||
display: table-cell !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-checkbox.mini .el-checkbox__label {
|
|
||||||
font-size: 12px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-checkbox.small .el-checkbox__label {
|
|
||||||
font-size: 12px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-checkbox.medium .el-checkbox__label {
|
|
||||||
font-size: 14px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vue-treeselect.mini {
|
.vue-treeselect.mini {
|
||||||
font-size: 12px !important;
|
font-size: 12px !important;
|
||||||
}
|
}
|
||||||
@ -397,17 +379,6 @@ aside {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.el-table .fixed-width .el-button--mini {
|
|
||||||
color: #409EFF;
|
|
||||||
padding-left: 0;
|
|
||||||
padding-right: 0;
|
|
||||||
width: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-tree-node__content>.el-checkbox {
|
|
||||||
margin-right: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list-group-striped>.list-group-item {
|
.list-group-striped>.list-group-item {
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
@ -475,6 +446,7 @@ aside {
|
|||||||
height: 120px;
|
height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导航栏头像
|
||||||
.avatar-upload-preview {
|
.avatar-upload-preview {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
@ -505,40 +477,3 @@ aside {
|
|||||||
.table-td-thumb {
|
.table-td-thumb {
|
||||||
width: 56px;
|
width: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 移动端组件适配
|
|
||||||
@media screen and (max-width: 500px) {
|
|
||||||
.el-message {
|
|
||||||
min-width: 300px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 500px) {
|
|
||||||
.el-message-box {
|
|
||||||
width: 300px !important;
|
|
||||||
}
|
|
||||||
.el-pagination__jump{
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.el-pagination__sizes{
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// dialog
|
|
||||||
@media screen and (max-width: 500px) {
|
|
||||||
.el-dialog__wrapper .el-dialog {
|
|
||||||
width: 95% !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/** 表格更多操作下拉样式 */
|
|
||||||
.el-table .el-dropdown-link {
|
|
||||||
cursor: pointer;
|
|
||||||
color: #409EFF;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-table .el-dropdown, .el-icon-arrow-down {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user