Agent Zero AI framework
disabled dropdown btn style
3clyp50244913c192e5
diff --git a/webui/components/chat/input/bottom-actions.html b/webui/components/chat/input/bottom-actions.htmlindex a3c8fb324..35c303ab1 100644--- a/webui/components/chat/input/bottom-actions.html+++ b/webui/components/chat/input/bottom-actions.html@@ -84,8 +84,9 @@<style>.text-buttons-row { width: 100%; display: flex; padding-top: var(--spacing-xs); margin-left: var(--spacing-xs); }.text-button { background-color: transparent; border: none; border-radius: 5px; color: var(--color-text); font-family: "Rubik", Arial, Helvetica, sans-serif; font-size: 0.6rem; padding: 6px var(--spacing-sm); cursor: pointer; opacity: 0.8; -webkit-transition: all 0.3s; transition: all 0.3s; display: flex; align-items: center; gap: var(--spacing-xs); }- .text-button:hover { opacity: 1; background-color: var(--color-secondary); border-radius: 4px; }- .text-button:active { opacity: 0.5; }+ .text-button:hover:not(:disabled) { opacity: 1; background-color: var(--color-secondary); border-radius: 4px; }+ .text-button:active:not(:disabled) { opacity: 0.5; }+ .text-button:disabled { opacity: 0.4; cursor: not-allowed; }.text-button svg { width: 14px; height: 14px; flex-shrink: 0; }.text-button p { margin-block: 0; }diff --git a/webui/index.css b/webui/index.cssindex ce110c96e..d757ddc6f 100644--- a/webui/index.css+++ b/webui/index.css@@ -1337,6 +1337,12 @@ nav ul li a img {opacity: 0.7;}+.dropdown-item:disabled {+ opacity: 0.4;+ cursor: not-allowed;+ pointer-events: none;+}+.dropdown-item svg {width: 18px;height: 18px;