1
0

Role based access, and lots of style changes, login/signup pages still look funky in dark mode

This commit is contained in:
Ahmed Al-Taiar
2023-10-31 23:25:39 -04:00
parent fcdacd844f
commit f5a6b1c37a
20 changed files with 172 additions and 235 deletions

View File

@ -5,9 +5,6 @@
.rw-scaffold h2 {
@apply m-0;
}
.rw-scaffold a {
@apply bg-transparent;
}
.rw-scaffold ul {
@apply m-0 p-0;
}
@ -21,10 +18,10 @@
@apply text-gray-500;
}
.rw-header {
@apply flex justify-between px-8 py-4;
@apply navbar items-center justify-between space-x-3 bg-base-100 shadow-lg;
}
.rw-main {
@apply mx-4 pb-4;
@apply m-4;
}
.rw-segment {
@apply w-full overflow-hidden rounded-lg border border-gray-200;
@ -46,19 +43,19 @@
@apply bg-gray-100 p-4;
}
.rw-link {
@apply text-blue-400 underline font-inter;
@apply font-inter text-blue-400 underline;
}
.rw-link:hover {
@apply text-blue-500;
}
.rw-forgot-link {
@apply mt-1 text-right text-xs text-gray-400 underline font-inter;
@apply mt-1 text-right font-inter text-xs text-gray-400 underline;
}
.rw-forgot-link:hover {
@apply text-blue-500;
}
.rw-heading {
@apply font-semibold font-inter;
@apply font-inter font-semibold;
}
.rw-heading.rw-heading-primary {
@apply text-xl;
@ -76,7 +73,7 @@
@apply text-sm font-semibold;
}
.rw-form-wrapper {
@apply -mt-4 text-sm;
@apply text-sm;
}
.rw-cell-error,
.rw-form-error-wrapper {
@ -89,10 +86,10 @@
@apply mt-2 list-inside list-disc;
}
.rw-button {
@apply btn btn-primary font-inter
@apply btn font-inter hover:shadow-lg;
}
.rw-button.rw-button-small {
@apply rounded-sm px-2 py-1 text-xs;
@apply btn-sm;
}
.rw-button-icon {
@apply mr-1 text-xl leading-5;
@ -107,13 +104,16 @@
@apply mt-8;
}
.rw-label {
@apply mt-6 block text-left font-semibold text-gray-600 font-inter;
@apply mt-6 block text-left font-inter font-semibold text-gray-600;
}
.rw-label.rw-label-error {
@apply text-red-600;
}
.rw-input {
@apply mt-2 block w-full rounded border border-gray-200 bg-white p-2 outline-none font-inter;
@apply input input-bordered w-full max-w-xs font-inter;
}
.rw-textarea {
@apply textarea textarea-bordered font-inter max-w-xs w-full;
}
.rw-check-radio-items {
@apply flex justify-items-center;
@ -129,14 +129,14 @@
@apply border-gray-400;
}
.rw-input-error {
@apply border-red-600 text-red-600;
@apply input-error;
}
.rw-input-error:focus {
@apply border-red-600 outline-none;
box-shadow: 0 0 5px #c53030;
}
.rw-field-error {
@apply mt-1 block text-xs font-semibold text-red-600 font-inter text-left;
@apply my-3 block text-left font-inter text-xs font-semibold text-red-600;
}
.rw-table-wrapper-responsive {
@apply overflow-x-auto;
@ -182,25 +182,7 @@
@apply ml-0;
}
.rw-table-actions {
@apply flex h-4 items-center justify-end pr-1;
}
.rw-table-actions .rw-button {
@apply bg-transparent;
}
.rw-table-actions .rw-button:hover {
@apply bg-gray-500 text-white;
}
.rw-table-actions .rw-button-blue {
@apply text-blue-500;
}
.rw-table-actions .rw-button-blue:hover {
@apply bg-blue-500 text-white;
}
.rw-table-actions .rw-button-red {
@apply text-red-600;
}
.rw-table-actions .rw-button-red:hover {
@apply bg-red-600 text-white;
@apply flex h-4 items-center justify-end pr-1 space-x-2;
}
.rw-text-center {
@apply text-center;