Intalled pagy and applyed to admin/users index
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
@import "pagy.tailwind.css";
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
|
||||
@layer components {
|
||||
.btn {
|
||||
@apply px-4 py-2 font-semibold text-white transition-colors duration-100 bg-opacity-100 shadow bg-hsrm-gray-light hover:bg-opacity-75 ;
|
||||
|
||||
21
app/assets/stylesheets/pagy.tailwind.css
Normal file
21
app/assets/stylesheets/pagy.tailwind.css
Normal file
@@ -0,0 +1,21 @@
|
||||
.pagy {
|
||||
@apply flex pt-2 space-x-1 font-semibold text-gray-500;
|
||||
a:not(.gap) {
|
||||
@apply block px-3 py-1 bg-gray-200 shadow-lg;
|
||||
&:hover {
|
||||
@apply bg-gray-300;
|
||||
}
|
||||
&:not([href]) { /* disabled links */
|
||||
@apply text-gray-300 bg-gray-100 cursor-default;
|
||||
}
|
||||
&.current {
|
||||
@apply text-white bg-hsrm-red;
|
||||
}
|
||||
}
|
||||
label {
|
||||
@apply inline-block whitespace-nowrap bg-gray-200 px-3 py-0.5;
|
||||
input {
|
||||
@apply bg-gray-100 border-none rounded-md;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user