Page add disabled prop

This commit is contained in:
梁灏 2019-09-04 17:44:31 +08:00
parent 53f950ab96
commit 4e32dc403f
4 changed files with 59 additions and 6 deletions

View file

@ -54,6 +54,29 @@
}
}
&-with-disabled &-item, &-with-disabled &-disabled{
cursor: @cursor-disabled;
background-color: @input-disabled-bg;
a {
color: #ccc;
}
&:hover {
border-color: @border-color-base;
a {
color: #ccc;
cursor: @cursor-disabled;
}
}
&-active {
background-color: @border-color-base;
border-color: @border-color-base;
a, &:hover a {
color: #fff;
}
}
}
&-item-jump-prev, &-item-jump-next {
&:after {
content: "•••";
@ -77,6 +100,18 @@
}
}
&-with-disabled &-item-jump-prev, &-with-disabled &-item-jump-next{
cursor: @cursor-disabled;
&:hover {
&:after{
display: block;
}
i{
display: none;
}
}
}
&-item-jump-prev:hover {
i:after {
content: "\F115";
@ -208,6 +243,7 @@
vertical-align: middle;
input {
.input;
width: 30px;
height: 24px;
margin: 0 8px;