feat: improve cursor

This commit is contained in:
陈嘉涵
2020-01-11 15:46:47 +08:00
parent 5cbb9e2998
commit 2eb680723d
33 changed files with 97 additions and 24 deletions

View File

@@ -39,7 +39,7 @@ export default {
i18n: {
'zh-CN': {
title2: '简单模式',
title3: '',
title3: '显示省略号',
prevText: '上一页',
nextText: '下一页'
},

View File

@@ -13,6 +13,7 @@
height: @pagination-height;
color: @pagination-item-default-color;
background-color: @pagination-background-color;
cursor: pointer;
user-select: none;
&:active {
@@ -28,13 +29,6 @@
border-right-width: @border-width-base;
}
&--disabled,
&--disabled:active {
color: @pagination-item-disabled-color;
background-color: @pagination-item-disabled-background-color;
opacity: @pagination-disabled-opacity;
}
&--active {
color: @white;
background-color: @pagination-item-default-color;
@@ -44,6 +38,17 @@
&__prev,
&__next {
padding: 0 @padding-base;
cursor: pointer;
}
&__item--disabled {
&,
&:active {
color: @pagination-item-disabled-color;
background-color: @pagination-item-disabled-background-color;
cursor: not-allowed;
opacity: @pagination-disabled-opacity;
}
}
&__page {