|
|
|
:root { |
|
--dark-surface: #190e10; |
|
--primary-color: #2b2b2b; |
|
--secondary-color: #03dac6; |
|
--accent-color: #444a89; |
|
--text-color: #e0e0e0; |
|
--hover-bg: #3a3a3a; |
|
--transition-speed: 0.25s; |
|
--search-bar: #21212f; |
|
} |
|
|
|
|
|
html, body { |
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; |
|
margin: 0; |
|
padding: 0; |
|
background: var(--dark-surface); |
|
} |
|
|
|
|
|
.app-container { |
|
background: var(--dark-surface); |
|
color: var(--text-color); |
|
display: flex; |
|
min-height: 100vh; |
|
position: relative; |
|
overflow-y: auto; |
|
} |
|
|
|
|
|
.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 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; |
|
} |
|
|
|
|
|
button.chat-send-btn.stop-btn, |
|
button.send-btn.stop-btn { |
|
background-color: var(--text-color) !important; |
|
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 !important; |
|
} |
|
|
|
|
|
.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; |
|
} |
|
|
|
|
|
.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 { |
|
position: relative; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
} |
|
|
|
|
|
.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; |
|
} |
|
|
|
|
|
.tooltip-wrapper:hover .tooltip { |
|
opacity: 1; |
|
visibility: visible; |
|
transform: translateX(-50%) translateY(0) scale(1); |
|
} |
|
|
|
|
|
.tooltip-wrapper .tooltip.hidden { |
|
opacity: 0; |
|
visibility: hidden; |
|
} |
|
|
|
|
|
.floating-sidebar { |
|
position: fixed; |
|
right: 0; |
|
top: 0; |
|
bottom: 0; |
|
width: var(--right-sidebar-width, 300px); |
|
z-index: 1000; |
|
} |
|
|
|
|
|
.chat-container { |
|
flex-grow: 1; |
|
margin-bottom: 9rem; |
|
} |
|
|
|
|
|
.chat-container.processing { |
|
margin-bottom: 46rem; |
|
} |
|
|
|
|
|
.slack-auth-modal { |
|
position: fixed; |
|
top: 0; |
|
left: 0; |
|
right: 0; |
|
bottom: 0; |
|
background: rgba(0, 0, 0, 0.5); |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
z-index: 10000; |
|
animation: fadeIn 0.2s ease-out; |
|
} |
|
|
|
.slack-auth-modal-content { |
|
background: white; |
|
padding: 2rem; |
|
border-radius: 12px; |
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); |
|
max-width: 500px; |
|
width: 90%; |
|
animation: slideUp 0.3s ease-out; |
|
} |
|
|
|
.slack-auth-modal-header { |
|
display: flex; |
|
align-items: center; |
|
margin-bottom: 1.5rem; |
|
gap: 1rem; |
|
} |
|
|
|
.slack-auth-modal-icon { |
|
width: 48px; |
|
height: 48px; |
|
background: #4A154B; |
|
border-radius: 12px; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
color: white; |
|
font-size: 24px; |
|
} |
|
|
|
.slack-auth-modal-title { |
|
font-size: 1.5rem; |
|
font-weight: 600; |
|
color: #333; |
|
margin: 0; |
|
} |
|
|
|
.slack-auth-modal-body { |
|
margin-bottom: 2rem; |
|
color: #666; |
|
line-height: 1.6; |
|
} |
|
|
|
.slack-auth-modal-tips { |
|
background: #f8f9fa; |
|
border-radius: 8px; |
|
padding: 1rem; |
|
margin: 1rem 0; |
|
} |
|
|
|
.slack-auth-modal-tips-title { |
|
font-weight: 600; |
|
color: #333; |
|
margin-bottom: 0.5rem; |
|
} |
|
|
|
.slack-auth-modal-tips ul { |
|
margin: 0.5rem 0 0 0; |
|
padding-left: 1.5rem; |
|
} |
|
|
|
.slack-auth-modal-tips li { |
|
margin: 0.5rem 0; |
|
} |
|
|
|
.slack-auth-modal-buttons { |
|
display: flex; |
|
gap: 1rem; |
|
justify-content: flex-end; |
|
} |
|
|
|
.slack-auth-modal-button { |
|
padding: 0.75rem 1.5rem; |
|
border-radius: 6px; |
|
border: none; |
|
font-weight: 500; |
|
cursor: pointer; |
|
transition: all 0.2s; |
|
} |
|
|
|
.slack-auth-modal-button-primary { |
|
background: #4A154B; |
|
color: white; |
|
} |
|
|
|
.slack-auth-modal-button-primary:hover { |
|
background: #3a0f3b; |
|
} |
|
|
|
.slack-auth-modal-button-secondary { |
|
background: #f1f1f1; |
|
color: #666; |
|
} |
|
|
|
.slack-auth-modal-button-secondary:hover { |
|
background: #e1e1e1; |
|
} |
|
|
|
@keyframes fadeIn { |
|
from { opacity: 0; } |
|
to { opacity: 1; } |
|
} |
|
|
|
@keyframes slideUp { |
|
from { transform: translateY(20px); opacity: 0; } |
|
to { transform: translateY(0); opacity: 1; } |
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
.main-content { |
|
margin-left: 0; |
|
margin-right: 0; |
|
} |
|
} |
|
|
|
@media (max-width: 576px) { |
|
.main-content { |
|
margin: 0; |
|
padding: 1rem; |
|
} |
|
} |
|
|