From 0d6146feeadb681ec9414895e6cf82d947a87fbb Mon Sep 17 00:00:00 2001 From: itsmartashub <44645238+itsmartashub@users.noreply.github.com> Date: Wed, 9 Oct 2024 21:20:59 +0200 Subject: [PATCH] refactor(prompt-action-cards): Remove unused code --- src/sass/elements/_right--new-chat.scss | 11 ++--------- src/sass/elements/_right--textarea.scss | 3 +-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/sass/elements/_right--new-chat.scss b/src/sass/elements/_right--new-chat.scss index 63a6c1a..a385c83 100644 --- a/src/sass/elements/_right--new-chat.scss +++ b/src/sass/elements/_right--new-chat.scss @@ -12,8 +12,7 @@ main [role='presentation'] { button.relative.flex.w-40.flex-col.rounded-2xl.border-token-border-light, button.relative.whitespace-nowrap.rounded-2xl.border-token-border-light.text-start.align-top.shadow-xxs.transition.enabled\:hover\:bg-token-main-surface-secondary.disabled\:cursor-not-allowed { - --clr: hsla(var(--accent-hsl) / 0.1); - // --clr: hsla(var(--accent-hsl) / 0.2); + --clr: hsla(var(--accent-hsl) / 0.12); border: 1px solid var(--clr) !important; background-image: var(--c-bg-gradient) !important; color: var(--c-accent) !important; @@ -29,13 +28,7 @@ main [role='presentation'] { } &:hover { - background-color: var(--c-accent) !important; - color: var(--c-on-accent) !important; transform: scale(0.97); - - .text-gray-600 { - --c-subtext-2: var(--c-on-accent) !important; - } } } @@ -56,7 +49,7 @@ main [role='presentation'] div.w-full:has(> form #prompt-textarea) + div.hidden transform: scale(0.97); .text-gray-600 { - --c-subtext-2: var(--c-accent) !important; + --c-subtext-2: currentColor; } svg { diff --git a/src/sass/elements/_right--textarea.scss b/src/sass/elements/_right--textarea.scss index 67bf188..1be9b92 100644 --- a/src/sass/elements/_right--textarea.scss +++ b/src/sass/elements/_right--textarea.scss @@ -82,10 +82,9 @@ main form { margin-top: 0.2rem; padding: 0 !important; border-radius: var(--br-btn-big); - background-color: hsla(var(--accent-hsl) / 0.1) !important; + background-color: hsla(var(--accent-hsl) / 0.08) !important; backdrop-filter: blur(20px); - /* List of examples when clicked some of the cards below prompt field: "Summarize notes from a meeting", "Summarize my lease agreemen", etc */ ul > li > button { background: transparent !important;