mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
feat: improve cursor
This commit is contained in:
@@ -39,7 +39,7 @@ export default {
|
||||
i18n: {
|
||||
'zh-CN': {
|
||||
title2: '简单模式',
|
||||
title3: '',
|
||||
title3: '显示省略号',
|
||||
prevText: '上一页',
|
||||
nextText: '下一页'
|
||||
},
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user