File size: 1,952 Bytes
6feb262
9a9a78f
6feb262
9a9a78f
 
6feb262
 
 
9a9a78f
 
6feb262
 
 
9a9a78f
 
6feb262
 
 
 
 
 
 
9a9a78f
 
6feb262
 
 
9a9a78f
6feb262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* View Transitions */
.view-content {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Code Block Styling */
.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 Styling */
.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 Styling */
.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;
}

/* Responsive Adjustments */
@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;
    }
}