Spaces:
Paused
Paused
| /* Define a modern dark theme */ | |
| :root { | |
| --dark-surface: #190e10; /* Deep, dark maroon base */ | |
| --primary-color: #2b2b2b; /* A dark gray for sidebars and buttons */ | |
| --secondary-color: #03dac6; /* A cool teal for accents */ | |
| --accent-color: #444a89; /* A warm accent for highlights and borders */ | |
| --text-color: #e0e0e0; /* Off-white text */ | |
| --hover-bg: #3a3a3a; /* Slightly lighter for hover effects */ | |
| --transition-speed: 0.25s; /* Speed of transitions */ | |
| --search-bar: #21212f; /* Search bar background */ | |
| } | |
| /* Global font settings */ | |
| html, body { | |
| font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| background: var(--dark-surface); | |
| } | |
| /* Main container styling */ | |
| .app-container { | |
| background: var(--dark-surface); | |
| color: var(--text-color); | |
| display: flex; | |
| min-height: 100vh; | |
| position: relative; | |
| overflow-y: auto; | |
| } | |
| /* Main Content */ | |
| .main-content { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| flex-grow: 1; | |
| padding: 2rem; | |
| transition: 0.1s; | |
| width: 99%; | |
| max-width: 900px; | |
| margin: 0 auto; | |
| } | |
| /* Search Area for Initial Mode */ | |
| .search-area h1 { | |
| margin-bottom: 1.5rem; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .search-area { | |
| width: 83%; | |
| } | |
| .search-bar { | |
| position: relative; | |
| width: 100%; | |
| border-radius: 0.35rem; | |
| background-color: var(--search-bar); | |
| } | |
| .search-input-wrapper { | |
| padding: 0rem 0.6rem 4.15rem 0.6rem; | |
| } | |
| .search-input { | |
| width: 100%; | |
| max-height: 200px; | |
| overflow-y: auto; | |
| font-size: 1.2rem; | |
| border: none; | |
| background-color: transparent; | |
| color: var(--text-color); | |
| line-height: 1.4; | |
| padding: 0.65rem 0.65rem; | |
| resize: none; | |
| white-space: pre-wrap; | |
| } | |
| .search-input:focus { | |
| outline: none; | |
| } | |
| .search-input::placeholder { | |
| color: #888; | |
| } | |
| .icon-container { | |
| position: absolute; | |
| bottom: 0.25rem; | |
| left: 0; | |
| right: 0; | |
| height: 3rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 0 0.75rem; | |
| } | |
| .settings-btn, | |
| .add-btn, | |
| .send-btn { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-color); | |
| cursor: pointer; | |
| } | |
| .settings-btn svg, | |
| .add-btn svg, | |
| .send-btn svg { | |
| font-size: 1.45rem; | |
| } | |
| .settings-btn:hover, | |
| .add-btn:hover, | |
| .send-btn:hover { | |
| color: #888; | |
| } | |
| /* Stop button */ | |
| button.chat-send-btn.stop-btn, | |
| button.send-btn.stop-btn { | |
| background-color: var(--text-color) ; | |
| border-radius: 50%; | |
| width: 28.5px; | |
| height: 28.5px; | |
| border: none; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| padding: 0; | |
| margin: 0 0 10px; | |
| } | |
| button.chat-send-btn.stop-btn:hover, | |
| button.send-btn.stop-btn:hover { | |
| background-color: #888 ; | |
| } | |
| /* Chat Mode Search Bar and Textarea Styling */ | |
| .floating-chat-search-bar { | |
| position: fixed; | |
| bottom: 1.5rem; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 48%; | |
| background-color: var(--search-bar); | |
| border-radius: 0.35rem; | |
| } | |
| .floating-chat-search-bar::after { | |
| content: ""; | |
| position: absolute; | |
| left: 0; | |
| right: 0; | |
| bottom: -1.5rem; | |
| height: 1.5rem; | |
| background-color: var(--dark-surface); | |
| } | |
| .chat-search-input-wrapper { | |
| padding: 0.25rem 0.6rem; | |
| } | |
| .chat-search-input { | |
| width: 100%; | |
| min-width: 700px; | |
| max-height: 200px; | |
| overflow-y: auto; | |
| font-size: 1.2rem; | |
| border: none; | |
| background-color: transparent; | |
| color: var(--text-color); | |
| line-height: 1.4; | |
| padding: 0.65rem 3.25rem 0.65rem 5.5rem; | |
| resize: none; | |
| white-space: pre-wrap; | |
| } | |
| .left-icons { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.15rem; | |
| } | |
| .chat-search-input:focus { | |
| outline: none; | |
| } | |
| .chat-icon-container { | |
| position: absolute; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| height: 3rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 0 0.75rem; | |
| pointer-events: none; | |
| } | |
| /* Re-enable pointer events on the actual buttons so they remain clickable */ | |
| .chat-icon-container button, | |
| .chat-left-icons { | |
| pointer-events: auto; | |
| } | |
| .chat-left-icons { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.15rem; | |
| } | |
| .chat-settings-btn, | |
| .chat-add-btn, | |
| .chat-send-btn { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-color); | |
| font-size: 1.45rem; | |
| margin-bottom: 0.25rem; | |
| cursor: pointer; | |
| } | |
| .chat-settings-btn:hover, | |
| .chat-add-btn:hover, | |
| .chat-send-btn:hover { | |
| color: #888; | |
| } | |
| /* Tooltip Wrapper */ | |
| .tooltip-wrapper { | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| /* Tooltip styling */ | |
| .tooltip { | |
| position: absolute; | |
| bottom: 100%; | |
| left: 50%; | |
| transform: translateX(-50%) translateY(10px) scale(0.9); | |
| transform-origin: bottom center; | |
| margin-bottom: 0.65rem; | |
| padding: 0.3rem 0.6rem; | |
| background-color: var(--primary-color); | |
| color: var(--text-color); | |
| border-radius: 0.25rem; | |
| white-space: nowrap; | |
| font-size: 0.85rem; | |
| opacity: 0; | |
| visibility: hidden; | |
| transition: transform 0.3s ease, opacity 0.3s ease; | |
| z-index: 10; | |
| } | |
| /* Show the tooltip on hover */ | |
| .tooltip-wrapper:hover .tooltip { | |
| opacity: 1; | |
| visibility: visible; | |
| transform: translateX(-50%) translateY(0) scale(1); | |
| } | |
| /* Hide tooltip when its associated dropdown is open */ | |
| .tooltip-wrapper .tooltip.hidden { | |
| opacity: 0; | |
| visibility: hidden; | |
| } | |
| /* Floating sidebar container for chat mode */ | |
| .floating-sidebar { | |
| position: fixed; | |
| right: 0; | |
| top: 0; | |
| bottom: 0; | |
| width: var(--right-sidebar-width, 300px); | |
| z-index: 1000; | |
| } | |
| /* Chat container */ | |
| .chat-container { | |
| flex-grow: 1; | |
| margin-bottom: 40rem; | |
| } | |
| /* Responsive Adjustments */ | |
| @media (max-width: 768px) { | |
| .main-content { | |
| margin-left: 0; | |
| margin-right: 0; | |
| } | |
| } | |
| @media (max-width: 576px) { | |
| .main-content { | |
| margin: 0; | |
| padding: 1rem; | |
| } | |
| } | |