diff --git a/index.php b/index.php index f1fa4f0..746ac60 100644 --- a/index.php +++ b/index.php @@ -54,7 +54,6 @@ height: 90vh; max-height: 800px; display: flex; - flex-direction: column; background: var(--card-bg); backdrop-filter: blur(10px); border-radius: 24px; @@ -62,6 +61,57 @@ border: 1px solid rgba(255, 255, 255, 0.18); overflow: hidden; z-index: 1; + transition: all 0.5s ease; + } + + .quick-actions-sidebar { + width: 0; + overflow: hidden; + flex-shrink: 0; + background: rgba(255, 255, 255, 0.5); + transition: all 0.5s ease; + border-right: 1px solid rgba(255, 255, 255, 0.3); + } + + .chat-container.sidebar-active .quick-actions-sidebar { + width: 220px; + padding: 1.5rem 1rem; + } + + .quick-actions-sidebar h3 { + margin-top: 0; + font-weight: 600; + font-size: 1.1rem; + padding-bottom: 0.5rem; + border-bottom: 1px solid #ddd; + margin-bottom: 1rem; + } + + .quick-actions { + display: flex; + flex-direction: column; + gap: 0.75rem; + } + + .quick-action { + background-color: rgba(255, 255, 255, 0.7); + border: 1px solid transparent; + color: var(--text-dark); + padding: 0.6rem 1.1rem; + border-radius: 12px; + cursor: pointer; + font-size: 0.85rem; + font-weight: 500; + transition: all 0.3s ease; + box-shadow: 0 1px 4px rgba(0,0,0,0.05); + text-align: left; + width: 100%; + } + + .quick-action:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0,0,0,0.1); + background: white; } .chat-main { @@ -111,37 +161,17 @@ align-self: flex-end; border-bottom-right-radius: 4px; } - - .quick-actions-container { + + .initial-quick-actions { padding: 1rem 1.5rem 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.3); flex-shrink: 0; } - .quick-actions { - display: flex; - flex-wrap: wrap; - gap: 0.75rem; - justify-content: flex-start; - } - - .quick-action { - background-color: rgba(255, 255, 255, 0.7); - border: 1px solid transparent; - color: var(--text-dark); - padding: 0.6rem 1.1rem; - border-radius: 16px; - cursor: pointer; - font-size: 0.85rem; - font-weight: 500; - transition: all 0.3s ease; - box-shadow: 0 1px 4px rgba(0,0,0,0.05); - } - - .quick-action:hover { - transform: translateY(-2px); - box-shadow: 0 4px 12px rgba(0,0,0,0.1); - background: white; + .initial-quick-actions .quick-actions { + flex-direction: row; + flex-wrap: wrap; + justify-content: flex-start; } .chat-input-container { @@ -211,6 +241,12 @@
+
+

Quick Actions

+ +
Marketplace Business Assistant @@ -220,14 +256,14 @@ Hello! I'm your Marketplace Assistant. How can I help you today? You can select one of the quick actions below or upload a file to analyze.
-
-
+
+
- +
@@ -246,11 +282,14 @@