Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
QuickActionPanel theme color
Tianzhou Chen4b895d0ea095
diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.cssindex 4e236e08f8..cf34b81ffd 100644--- a/frontend/src/assets/css/tailwind.css+++ b/frontend/src/assets/css/tailwind.css@@ -48,7 +48,11 @@}.btn-icon {- @apply rounded-md text-control bg-white hover:bg-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-1;+ @apply rounded-full text-control bg-white hover:bg-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-1;+}++.btn-icon-primary {+ @apply rounded-full text-white bg-accent hover:bg-accent-hover disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-1;}.btn-danger {diff --git a/frontend/src/components/QuickActionPanel.vue b/frontend/src/components/QuickActionPanel.vueindex 87f7fc0ae7..39c9d26b6c 100644--- a/frontend/src/components/QuickActionPanel.vue+++ b/frontend/src/components/QuickActionPanel.vue@@ -4,12 +4,10 @@v-if="quickActionList.includes('instance.add')"class="flex flex-col items-center w-28">- <router-link to="/instance/new" class="btn-icon">- <span- class="inline-flex items-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"- >+ <router-link to="/instance/new" class="">+ <span class="btn-icon-primary inline-flex p-3"><svg- class="w-6 h-6 text-white"+ class="w-6 h-6"fill="none"stroke="currentColor"viewBox="0 0 24 24"@@ -33,25 +31,21 @@v-if="quickActionList.includes('user.manage')"class="flex flex-col items-center w-28">- <button class="btn-icon">- <span- class="inline-flex items-center justify-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"+ <button class="btn-icon-primary p-3">+ <svg+ class="w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg">- <svg- class="w-6 h-6 text-white"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- xmlns="http://www.w3.org/2000/svg"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"- ></path>- </svg>- </span>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"+ ></path>+ </svg></button><h3class="mt-1 text-center text-base font-normal text-main tracking-tight"@@ -64,25 +58,21 @@v-if="quickActionList.includes('datasource.query')"class="flex flex-col items-center w-28">- <button class="btn-icon">- <span- class="inline-flex items-center justify-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"+ <button class="btn-icon-primary p-3">+ <svg+ class="w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg">- <svg- class="w-6 h-6 text-white"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- xmlns="http://www.w3.org/2000/svg"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"- ></path>- </svg>- </span>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"+ ></path>+ </svg></button><h3class="mt-1 text-center text-base font-normal text-main tracking-tight"@@ -95,25 +85,21 @@v-if="quickActionList.includes('datasource.data.edit')"class="flex flex-col items-center w-28">- <button class="btn-icon">- <span- class="inline-flex items-center justify-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"+ <button class="btn-icon-primary p-3">+ <svg+ class="w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg">- <svg- class="w-6 h-6 text-white"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- xmlns="http://www.w3.org/2000/svg"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"- ></path>- </svg>- </span>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"+ ></path>+ </svg></button><h3class="mt-1 text-center text-base font-normal text-main tracking-tight"@@ -126,12 +112,10 @@v-if="quickActionList.includes('datasource.add')"class="flex flex-col items-center w-28">- <router-link to="/datasource/new" class="btn-icon">- <span- class="inline-flex items-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"- >+ <router-link to="/datasource/new" class="">+ <span class="btn-icon-primary inline-flex p-3"><svg- class="w-6 h-6 text-white"+ class="w-6 h-6"fill="none"stroke="currentColor"viewBox="0 0 24 24"@@ -155,25 +139,21 @@v-if="quickActionList.includes('datasource.schema.edit')"class="flex flex-col items-center w-28">- <button class="btn-icon">- <span- class="inline-flex items-center justify-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"+ <button class="btn-icon-primary p-3">+ <svg+ class="w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg">- <svg- class="w-6 h-6 text-white"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- xmlns="http://www.w3.org/2000/svg"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"- ></path>- </svg>- </span>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"+ ></path>+ </svg></button><h3 class="mt-1 text-center text-base font-normal text-main">Edit Schema@@ -184,25 +164,21 @@v-if="quickActionList.includes('ticket.create')"class="flex flex-col items-center w-28">- <button class="btn-icon">- <span- class="inline-flex items-center justify-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"+ <button class="btn-icon-primary p-3">+ <svg+ class="w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg">- <svg- class="w-6 h-6 text-white"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- xmlns="http://www.w3.org/2000/svg"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z"- ></path>- </svg>- </span>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z"+ ></path>+ </svg></button><h3 class="mt-1 text-center text-base font-normal text-main">Ticket</h3></div>@@ -211,26 +187,21 @@v-if="quickActionList.includes('environment.add')"class="flex flex-col items-center w-36">- <button class="btn-icon">- <span- class="inline-flex items-center justify-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"- @click.prevent="addEnvironment"+ <button class="btn-icon-primary p-3" @click.prevent="addEnvironment">+ <svg+ class="w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg">- <svg- class="w-6 h-6 text-white"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- xmlns="http://www.w3.org/2000/svg"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"- ></path>- </svg>- </span>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M12 6v6m0 0v6m0-6h6m-6 0H6"+ ></path>+ </svg></button><h3 class="mt-1 text-center text-base font-normal text-main">Add Environment@@ -241,26 +212,21 @@v-if="quickActionList.includes('environment.reorder')"class="flex flex-col items-center w-28">- <button class="btn-icon">- <span- class="inline-flex items-center justify-center p-3 bg-blue-600 hover:bg-blue-700 rounded-full"- @click.prevent="reorderEnvironment"+ <button class="btn-icon-primary p-3" @click.prevent="reorderEnvironment">+ <svg+ class="transform rotate-90 w-6 h-6"+ fill="none"+ stroke="currentColor"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg">- <svg- class="transform rotate-90 w-6 h-6 text-white"- fill="none"- stroke="currentColor"- viewBox="0 0 24 24"- xmlns="http://www.w3.org/2000/svg"- >- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M8 9l4-4 4 4m0 6l-4 4-4-4"- ></path>- </svg>- </span>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M8 9l4-4 4 4m0 6l-4 4-4-4"+ ></path>+ </svg></button><h3 class="mt-1 text-center text-base font-normal text-main">Reorder</h3></div>