forked from opentiny/tiny-vue
fix(pager): all theme use same svg to show dot (#1673)
This commit is contained in:
parent
fc13e4344c
commit
6b4801cf2e
|
@ -101,19 +101,13 @@
|
|||
|
||||
&.dot {
|
||||
.icon {
|
||||
font-size: 14px;
|
||||
font-size: var(--ti-pager-dot-is-popup-svg-font-size);
|
||||
}
|
||||
|
||||
&.is-popup {
|
||||
svg {
|
||||
display: var(--ti-pager-dot-is-popup-display);
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '\00b7\00b7\00b7';
|
||||
display: var(--ti-pager-dot-before-display);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,8 +24,7 @@ export const tinyPagerSmbTheme = {
|
|||
'ti-pager-next-padding-right': '0px',
|
||||
'ti-pager-btn-svg-fill-color': 'var(--ti-common-color-icon-normal)',
|
||||
'ti-pager-active-font-weight': '600',
|
||||
'ti-pager-dot-is-popup-display': 'none',
|
||||
'ti-pager-dot-before-display': 'block',
|
||||
'ti-pager-dot-is-popup-svg-font-size': '16px',
|
||||
'ti-pager-poplist-item-hover-bg-color': '#0000000D',
|
||||
'ti-pager-poplist-item-hover-text-color': '#191919',
|
||||
'ti-pager-li-item-hover-font-weight': 'var(--ti-common-font-weight-6)',
|
||||
|
|
|
@ -132,8 +132,8 @@
|
|||
|
||||
// 分页页码折叠时svg显示
|
||||
--ti-pager-dot-is-popup-display: inline;
|
||||
// 分页页码折叠时before显示
|
||||
--ti-pager-dot-before-display: none;
|
||||
// 分页页码折叠时svg大小
|
||||
--ti-pager-dot-is-popup-svg-font-size: 14px;
|
||||
|
||||
// 分页前进和后退按钮悬浮背景色
|
||||
--ti-pager-prev-next-hover-bg-color: var(--ti-common-color-hover-background, #f2f5fc);
|
||||
|
|
Loading…
Reference in New Issue