|
|
|
|
|
body { |
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; |
|
|
} |
|
|
|
|
|
|
|
|
.view-content { |
|
|
animation: fadeIn 0.3s ease-out; |
|
|
} |
|
|
|
|
|
@keyframes fadeIn { |
|
|
from { opacity: 0; transform: translateY(10px); } |
|
|
to { opacity: 1; transform: translateY(0); } |
|
|
} |
|
|
|
|
|
|
|
|
.code-block { |
|
|
position: relative; |
|
|
background-color: #1e293b; |
|
|
color: #f8fafc; |
|
|
border-radius: 0.5rem; |
|
|
overflow: hidden; |
|
|
} |
|
|
|
|
|
.code-block pre { |
|
|
padding: 1.5rem; |
|
|
overflow-x: auto; |
|
|
} |
|
|
|
|
|
.code-block .code-toolbar { |
|
|
position: absolute; |
|
|
top: 0.5rem; |
|
|
right: 0.5rem; |
|
|
display: flex; |
|
|
gap: 0.5rem; |
|
|
} |
|
|
|
|
|
.code-toolbar button { |
|
|
background-color: #334155; |
|
|
color: white; |
|
|
border: none; |
|
|
padding: 0.25rem 0.5rem; |
|
|
border-radius: 0.25rem; |
|
|
cursor: pointer; |
|
|
font-size: 0.75rem; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
gap: 0.25rem; |
|
|
} |
|
|
|
|
|
.code-toolbar button:hover { |
|
|
background-color: #475569; |
|
|
} |
|
|
|
|
|
|
|
|
.chat-message.user { |
|
|
background-color: #3b82f6; |
|
|
color: white; |
|
|
border-radius: 1rem 1rem 0 1rem; |
|
|
align-self: flex-end; |
|
|
} |
|
|
|
|
|
.chat-message.assistant { |
|
|
background-color: #f1f5f9; |
|
|
color: #1e293b; |
|
|
border-radius: 1rem 1rem 1rem 0; |
|
|
align-self: flex-start; |
|
|
} |
|
|
|
|
|
|
|
|
.project-card { |
|
|
transition: all 0.2s ease; |
|
|
} |
|
|
|
|
|
.project-card:hover { |
|
|
transform: translateY(-2px); |
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); |
|
|
} |
|
|
|
|
|
.project-card.active { |
|
|
border-left: 4px solid #10b981; |
|
|
} |
|
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
|
.sidebar { |
|
|
position: fixed; |
|
|
z-index: 50; |
|
|
transform: translateX(-100%); |
|
|
transition: transform 0.3s ease; |
|
|
} |
|
|
|
|
|
.sidebar.open { |
|
|
transform: translateX(0); |
|
|
} |
|
|
|
|
|
.sidebar-overlay { |
|
|
position: fixed; |
|
|
inset: 0; |
|
|
background-color: rgba(0, 0, 0, 0.5); |
|
|
z-index: 40; |
|
|
} |
|
|
} |