From e866f9ac3268da510b075e93311148d49470546a Mon Sep 17 00:00:00 2001 From: Cadiducho Date: Fri, 25 Oct 2024 22:08:02 +0200 Subject: [PATCH] tweaks and unit some components --- .../gps/AdminGrandPrixPageHeader.vue | 26 ++++++ src/components/lib/forms/PButton.vue | 2 +- src/components/lib/forms/PCheckbox.vue | 90 +++++++++++-------- src/components/lib/forms/PInput.vue | 22 +++-- src/components/lib/forms/PLabel.vue | 22 +++++ 5 files changed, 115 insertions(+), 47 deletions(-) create mode 100644 src/components/gps/AdminGrandPrixPageHeader.vue create mode 100644 src/components/lib/forms/PLabel.vue diff --git a/src/components/gps/AdminGrandPrixPageHeader.vue b/src/components/gps/AdminGrandPrixPageHeader.vue new file mode 100644 index 0000000..f1c2533 --- /dev/null +++ b/src/components/gps/AdminGrandPrixPageHeader.vue @@ -0,0 +1,26 @@ + + + diff --git a/src/components/lib/forms/PButton.vue b/src/components/lib/forms/PButton.vue index f95d40b..6da2937 100644 --- a/src/components/lib/forms/PButton.vue +++ b/src/components/lib/forms/PButton.vue @@ -143,7 +143,7 @@ export default defineComponent({ @apply bg-yellow-500 hover:bg-yellow-600 dark:focus:ring-offset-gray-800 text-white; } &.green, &.success { - @apply bg-green-400 hover:bg-green-600 dark:focus:ring-offset-gray-800 text-white; + @apply bg-green-500 hover:bg-green-600 dark:focus:ring-offset-gray-800 text-white; } &.blue, &.info { @apply bg-blue-500 hover:bg-blue-600 dark:focus:ring-offset-gray-800 text-white; diff --git a/src/components/lib/forms/PCheckbox.vue b/src/components/lib/forms/PCheckbox.vue index 7da282b..95893be 100644 --- a/src/components/lib/forms/PCheckbox.vue +++ b/src/components/lib/forms/PCheckbox.vue @@ -1,57 +1,69 @@ \ No newline at end of file + diff --git a/src/components/lib/forms/PInput.vue b/src/components/lib/forms/PInput.vue index 30ced49..ec30356 100644 --- a/src/components/lib/forms/PInput.vue +++ b/src/components/lib/forms/PInput.vue @@ -1,19 +1,27 @@ + +