代码样式优化

This commit is contained in:
Anyon 2020-09-21 15:04:01 +08:00
parent de9379a3c5
commit 1dff474ea9
3 changed files with 24 additions and 12 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -941,7 +941,8 @@
/* 通用分页 */ /* 通用分页 */
.pagination-container { .pagination-container {
line-height: 40px; margin-top: 20px;
line-height: 30px;
> span { > span {
color: #666; color: #666;
@ -949,10 +950,17 @@
} }
> ul { > ul {
float: right;
display: inline-block;
margin: 0; margin: 0;
padding: 0; padding: 0;
float: right;
display: inline-block;
> li:last-child, > li:first-child {
> a, > span {
font-size: 16px;
line-height: 27px;
}
}
> li { > li {
z-index: 1; z-index: 1;
@ -963,21 +971,25 @@
> span { > span {
color: #fff; color: #fff;
border-color: #098; border-color: #009688;
padding-right: 1px;
background: #009688 !important background: #009688 !important
} }
} }
> a, > span { > a, > span {
color: #333; color: #333;
width: 33px; width: 30px;
height: 30px; height: 30px;
font-size: 12px;
overflow: hidden;
line-height: 30px;
text-align: center;
margin-right: 3px;
border-radius: 50%;
border: 1px solid #DCDCDC; border: 1px solid #DCDCDC;
display: inline-block; display: inline-block;
margin-left: -1px; box-sizing: border-box;
text-align: center; box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
line-height: 30px
} }
> span { > span {
@ -987,7 +999,7 @@
> a:hover { > a:hover {
background: #DCDCDC; background: #DCDCDC;
border-color: #DCDCDC border-color: #009688;
} }
} }
} }