Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(theme-chalk): [pagination] style if selected value is disabled #8447

Merged
merged 1 commit into from Jun 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/theme-chalk/src/pagination.scss
Expand Up @@ -240,6 +240,11 @@
&.is-disabled {
color: getCssVar('text-color', 'placeholder');
background-color: getCssVar('disabled-bg-color');

&.is-active {
color: getCssVar('text-color', 'secondary');
background-color: getCssVar('fill-color', 'dark');
}
}
@include when(first) {
margin-left: 0;
Expand Down Expand Up @@ -350,6 +355,11 @@
&.is-active {
color: getCssVar('pagination-hover-color');
cursor: default;

&.is-disabled {
font-weight: bold;
color: getCssVar('text-color', 'secondary');
}
}
}

Expand Down