(
diff --git a/console/console-src/modules/system/roles/RoleDetail.vue b/console/console-src/modules/system/roles/RoleDetail.vue
index 0f3cc9848..e8922503c 100644
--- a/console/console-src/modules/system/roles/RoleDetail.vue
+++ b/console/console-src/modules/system/roles/RoleDetail.vue
@@ -233,18 +233,11 @@ onMounted(() => {
v-if="!isSuperRole"
v-model="selectedRoleTemplates"
:value="role.metadata.name"
- class="h-4 w-4 rounded border-gray-300 text-indigo-600"
type="checkbox"
:disabled="isSystemReserved"
@change="handleRoleTemplateSelect"
/>
-
+
{{
diff --git a/console/console-src/modules/system/roles/components/RoleEditingModal.vue b/console/console-src/modules/system/roles/components/RoleEditingModal.vue
index 19dd9da17..00b1d1a56 100644
--- a/console/console-src/modules/system/roles/components/RoleEditingModal.vue
+++ b/console/console-src/modules/system/roles/components/RoleEditingModal.vue
@@ -219,7 +219,6 @@ const handleResetForm = () => {
diff --git a/console/console-src/modules/system/users/UserList.vue b/console/console-src/modules/system/users/UserList.vue
index 772d6077f..ef98a1bdf 100644
--- a/console/console-src/modules/system/users/UserList.vue
+++ b/console/console-src/modules/system/users/UserList.vue
@@ -299,7 +299,6 @@ onMounted(() => {
>
@@ -412,7 +411,6 @@ onMounted(() => {
=3.0.0 || >= 3.0.0-alpha.1'
+ dependencies:
+ mini-svg-data-uri: 1.4.4
+ tailwindcss: 3.3.0(postcss@8.4.21)
+ dev: true
+
/@tanstack/match-sorter-utils@8.7.6:
resolution: {integrity: sha512-2AMpRiA6QivHOUiBpQAVxjiHAA68Ei23ZUMNaRJrN6omWiSFLoYrxGcT6BXtuzp0Jw4h6HZCmGGIM/gbwebO2A==}
engines: {node: '>=12'}
@@ -8798,6 +8810,11 @@ packages:
engines: {node: '>=4'}
dev: true
+ /mini-svg-data-uri@1.4.4:
+ resolution: {integrity: sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==}
+ hasBin: true
+ dev: true
+
/minimatch@3.1.2:
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
dependencies:
diff --git a/console/src/components/global-search/GlobalSearchModal.vue b/console/src/components/global-search/GlobalSearchModal.vue
index aeee76ef6..343ec8b05 100644
--- a/console/src/components/global-search/GlobalSearchModal.vue
+++ b/console/src/components/global-search/GlobalSearchModal.vue
@@ -382,7 +382,7 @@ const onVisibleChange = (visible: boolean) => {
ref="globalSearchInput"
v-model="keyword"
:placeholder="$t('core.components.global_search.placeholder')"
- class="w-full py-1 text-base outline-none"
+ class="w-full px-0 py-1 text-base outline-none"
autocomplete="off"
autocorrect="off"
spellcheck="false"
diff --git a/console/src/formkit/theme.ts b/console/src/formkit/theme.ts
index 27d90b2e0..70c9a91ad 100644
--- a/console/src/formkit/theme.ts
+++ b/console/src/formkit/theme.ts
@@ -4,7 +4,7 @@ const textClassification = {
inner:
"inline-flex items-center w-full relative box-border border border-gray-300 formkit-invalid:border-red-500 h-9 rounded-base overflow-hidden focus-within:border-primary focus-within:shadow-sm w-full sm:max-w-lg transition-all",
input:
- "outline-0 bg-white antialiased resize-none w-full text-black block transition-all appearance-none h-full px-3 text-sm",
+ "bg-white resize-none w-full text-black block transition-all h-full px-3 text-sm",
};
const boxClassification = {
@@ -15,8 +15,7 @@ const boxClassification = {
wrapper:
"flex items-center mb-1 cursor-pointer group-[.formkit-fieldset]:px-2",
help: "mb-2 mt-0 px-2",
- input:
- "form-check-input h-4 w-4 mr-2 border border-gray-500 rounded-sm bg-white checked:bg-primary focus:outline-none focus:ring-0 transition duration-200",
+ input: "form-check-input mr-2 bg-white",
inner: "flex items-center",
};
@@ -105,7 +104,7 @@ const theme: Record> = {
tagSelect: {
...textClassification,
inner: `${textClassification.inner} !overflow-visible !h-auto min-h-[2.25rem]`,
- input: `w-0 flex-grow outline-0 bg-transparent py-1 px-3 block transition-all appearance-none text-sm antialiased`,
+ input: `w-0 flex-grow bg-transparent py-1 px-3 block transition-all text-sm`,
"post-tags-wrapper": "flex w-full items-center",
"post-tags": "flex w-full flex-wrap items-center",
"post-tag-wrapper": "inline-flex items-center p-1",
@@ -118,7 +117,7 @@ const theme: Record> = {
categorySelect: {
...textClassification,
inner: `${textClassification.inner} !overflow-visible !h-auto min-h-[2.25rem]`,
- input: `w-0 flex-grow outline-0 bg-transparent py-1 px-3 block transition-all appearance-none text-sm antialiased`,
+ input: `w-0 flex-grow bg-transparent py-1 px-3 block transition-all text-sm`,
"post-categories-wrapper": "flex w-full items-center",
"post-categories": "flex w-full flex-wrap items-center",
"post-categories-button":
diff --git a/console/src/styles/tailwind.css b/console/src/styles/tailwind.css
index b5c61c956..4d9e70473 100644
--- a/console/src/styles/tailwind.css
+++ b/console/src/styles/tailwind.css
@@ -1,3 +1,26 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+
+/* override @tailwindcss/forms styles */
+input[type="text"],
+input[type="password"],
+input[type="email"],
+input[type="number"],
+input[type="url"],
+input[type="date"],
+input[type="datetime-local"],
+input[type="month"],
+input[type="week"],
+input[type="time"],
+input[type="search"],
+input[type="tel"],
+input:where(:not([type])),
+select,
+textarea {
+ @apply border-none py-0 focus:outline-0 focus:ring-0;
+}
+
+input[type="checkbox"] {
+ @apply rounded-sm border-gray-500;
+}
diff --git a/console/tailwind.config.js b/console/tailwind.config.js
index 9e030c7ad..e807b8c95 100644
--- a/console/tailwind.config.js
+++ b/console/tailwind.config.js
@@ -24,6 +24,7 @@ module.exports = {
require("@tailwindcss/aspect-ratio"),
require("@formkit/themes/tailwindcss"),
require("@tailwindcss/container-queries"),
+ require("@tailwindcss/forms"),
require("tailwindcss-themer")({
defaultTheme: {
extend: {
diff --git a/console/uc-src/modules/profile/components/PersonalAccessTokenCreationModal.vue b/console/uc-src/modules/profile/components/PersonalAccessTokenCreationModal.vue
index ee0dc2f8c..46f77adfd 100644
--- a/console/uc-src/modules/profile/components/PersonalAccessTokenCreationModal.vue
+++ b/console/uc-src/modules/profile/components/PersonalAccessTokenCreationModal.vue
@@ -179,7 +179,6 @@ const { copy } = useClipboard({