optimize some style

optimize some style
This commit is contained in:
梁灏 2016-11-09 18:02:18 +08:00
parent 3c01d81a11
commit d9ef3d93b7
5 changed files with 33 additions and 27 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

@ -12,9 +12,9 @@
&-item { &-item {
float: left; float: left;
min-width: 28px; min-width: @btn-circle-size;
height: 28px; height: @btn-circle-size;
line-height: 26px; line-height: @btn-circle-size - 2px;
margin-right: 4px; margin-right: 4px;
text-align: center; text-align: center;
list-style: none; list-style: none;
@ -104,9 +104,9 @@
&-item-jump-next { &-item-jump-next {
display: inline-block; display: inline-block;
float: left; float: left;
min-width: 28px; min-width: @btn-circle-size;
height: 28px; height: @btn-circle-size;
line-height: 26px; line-height: @btn-circle-size - 2px;
list-style: none; list-style: none;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
@ -123,6 +123,7 @@
a { a {
color: #666; color: #666;
font-size: 14px;
} }
&:hover { &:hover {
@ -158,8 +159,8 @@
&-elevator { &-elevator {
float: left; float: left;
height: 28px; height: @btn-circle-size;
line-height: 28px; line-height: @btn-circle-size;
input { input {
.input; .input;
@ -172,8 +173,8 @@
&-total { &-total {
float: left; float: left;
height: 30px; height: @btn-circle-size;
line-height: 30px; line-height: @btn-circle-size;
margin-right: 10px; margin-right: 10px;
} }
@ -207,44 +208,48 @@
border-color: @primary-color; border-color: @primary-color;
} }
} }
span{
padding: 0 8px 0 2px;
}
} }
} }
.@{page-prefix-cls} { .@{page-prefix-cls} {
&.mini &-total { &.mini &-total {
height: 20px; height: @btn-circle-size-small;
line-height: 20px; line-height: @btn-circle-size-small;
} }
&.mini &-item { &.mini &-item {
border: 0; border: 0;
margin: 0; margin: 0;
min-width: 20px; min-width: @btn-circle-size-small;
height: 20px; height: @btn-circle-size-small;
line-height: 20px; line-height: @btn-circle-size-small;
border-radius: @btn-border-radius-small; border-radius: @btn-border-radius-small;
} }
&.mini &-prev, &.mini &-prev,
&.mini &-next { &.mini &-next {
margin: 0; margin: 0;
min-width: 20px; min-width: @btn-circle-size-small;
height: 20px; height: @btn-circle-size-small;
line-height: 20px; line-height: @btn-circle-size-small;
border: 0; border: 0;
a { a {
i:after { i:after {
height: 20px; height: @btn-circle-size-small;
line-height: 20px; line-height: @btn-circle-size-small;
} }
} }
} }
&.mini &-item-jump-prev, &.mini &-item-jump-prev,
&.mini &-item-jump-next { &.mini &-item-jump-next {
height: 20px; height: @btn-circle-size-small;
line-height: 20px; line-height: @btn-circle-size-small;
border: none; border: none;
margin-right: 0; margin-right: 0;
} }
@ -252,8 +257,8 @@
&.mini &-options { &.mini &-options {
margin-left: 8px; margin-left: 8px;
&-elevator { &-elevator {
height: 20px; height: @btn-circle-size-small;
line-height: 20px; line-height: @btn-circle-size-small;
input { input {
.input-small; .input-small;

View file

@ -3,7 +3,7 @@
.@{progress-prefix-cls} { .@{progress-prefix-cls} {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
font-size: 14px; font-size: @font-size-small;
position: relative; position: relative;
&-outer { &-outer {

View file

@ -188,6 +188,7 @@
padding: 7px 16px 8px; padding: 7px 16px 8px;
clear: both; clear: both;
color: @text-color; color: @text-color;
font-size: @font-size-small;
//border-radius: @btn-border-radius-small; //border-radius: @btn-border-radius-small;
white-space: nowrap; white-space: nowrap;
cursor: pointer; cursor: pointer;