Skip to content

Commit

Permalink
chore: Move pagination styling to dedicated file (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSenter authored Jan 2, 2025
1 parent 64d5137 commit 11a461e
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 50 deletions.
50 changes: 0 additions & 50 deletions packages/design-system/src/custom/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,56 +111,6 @@ input::placeholder {
opacity: 0.75;
}

.page-item:not(:first-child) {
.dropdown.form-control {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left-width: 0;
}

.input-group-text {
border-top-left-radius: 0;
border-bottom-left-radius: 0;

input {
border: 0;
min-width: 2rem;
max-width: 3rem;
appearance: textfield;

&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
display: none;
}
}
}
}

.page-item:not(:last-child) {
.dropdown.form-control {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right-width: 0;
}

.input-group-text {
border-top-right-radius: 0;
border-bottom-right-radius: 0;

input {
border: 0;
min-width: 2rem;
max-width: 3rem;
appearance: textfield;

&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
display: none;
}
}
}
}

/* Datetime calendar */
.calendar {
@extend .text-center;
Expand Down
50 changes: 50 additions & 0 deletions packages/design-system/src/custom/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,53 @@
-webkit-user-select: none;
user-select: none;
}

.page-item:not(:first-child) {
.dropdown.form-control {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left-width: 0;
}

.input-group-text {
border-top-left-radius: 0;
border-bottom-left-radius: 0;

input {
border: 0;
min-width: 2rem;
max-width: 3rem;
appearance: textfield;

&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
display: none;
}
}
}
}

.page-item:not(:last-child) {
.dropdown.form-control {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right-width: 0;
}

.input-group-text {
border-top-right-radius: 0;
border-bottom-right-radius: 0;

input {
border: 0;
min-width: 2rem;
max-width: 3rem;
appearance: textfield;

&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
display: none;
}
}
}
}

0 comments on commit 11a461e

Please sign in to comment.