Spaces:
Sleeping
Sleeping
minor format changes for header items
Browse files- web/src/App.css +4 -14
- web/src/App.tsx +6 -6
web/src/App.css
CHANGED
|
@@ -104,10 +104,6 @@ body {
|
|
| 104 |
display: inline-flex;
|
| 105 |
align-items: center;
|
| 106 |
gap: 0.5rem;
|
| 107 |
-
padding: 0.4rem 0.8rem;
|
| 108 |
-
background: rgba(34, 197, 94, 0.15);
|
| 109 |
-
border: 1px solid rgba(34, 197, 94, 0.3);
|
| 110 |
-
border-radius: 4px;
|
| 111 |
margin-right: 1rem;
|
| 112 |
color: #4ade80;
|
| 113 |
font-size: 0.85rem;
|
|
@@ -180,7 +176,6 @@ body {
|
|
| 180 |
font-size: 0.75rem;
|
| 181 |
font-weight: 500;
|
| 182 |
border-radius: 4px;
|
| 183 |
-
border: 1px solid #3a342e;
|
| 184 |
}
|
| 185 |
|
| 186 |
.logical-ai-desc {
|
|
@@ -1160,13 +1155,11 @@ details.tool-section[open] summary::before {
|
|
| 1160 |
font-size: 0.9rem;
|
| 1161 |
padding: 0.5rem 1rem;
|
| 1162 |
background: #2a2520;
|
| 1163 |
-
border: 1px solid #3a342e;
|
| 1164 |
border-radius: 6px;
|
| 1165 |
}
|
| 1166 |
|
| 1167 |
.logout-btn {
|
| 1168 |
background: #2a2520;
|
| 1169 |
-
border: 1px solid #3a342e;
|
| 1170 |
color: #c9b8a3;
|
| 1171 |
padding: 0.5rem 1rem;
|
| 1172 |
cursor: pointer;
|
|
@@ -1179,7 +1172,6 @@ details.tool-section[open] summary::before {
|
|
| 1179 |
.logout-btn:hover {
|
| 1180 |
background: #3a342e;
|
| 1181 |
color: #e8d4c0;
|
| 1182 |
-
border-color: #4a433c;
|
| 1183 |
}
|
| 1184 |
|
| 1185 |
.logout-btn:active {
|
|
@@ -1187,9 +1179,8 @@ details.tool-section[open] summary::before {
|
|
| 1187 |
}
|
| 1188 |
|
| 1189 |
.new-chat-btn {
|
| 1190 |
-
background: #
|
| 1191 |
-
|
| 1192 |
-
color: #e8d4c0;
|
| 1193 |
padding: 0.5rem 1rem;
|
| 1194 |
cursor: pointer;
|
| 1195 |
font-size: 0.9rem;
|
|
@@ -1199,9 +1190,8 @@ details.tool-section[open] summary::before {
|
|
| 1199 |
}
|
| 1200 |
|
| 1201 |
.new-chat-btn:hover {
|
| 1202 |
-
background: #
|
| 1203 |
-
color: #
|
| 1204 |
-
border-color: #5a534c;
|
| 1205 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
| 1206 |
}
|
| 1207 |
|
|
|
|
| 104 |
display: inline-flex;
|
| 105 |
align-items: center;
|
| 106 |
gap: 0.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
margin-right: 1rem;
|
| 108 |
color: #4ade80;
|
| 109 |
font-size: 0.85rem;
|
|
|
|
| 176 |
font-size: 0.75rem;
|
| 177 |
font-weight: 500;
|
| 178 |
border-radius: 4px;
|
|
|
|
| 179 |
}
|
| 180 |
|
| 181 |
.logical-ai-desc {
|
|
|
|
| 1155 |
font-size: 0.9rem;
|
| 1156 |
padding: 0.5rem 1rem;
|
| 1157 |
background: #2a2520;
|
|
|
|
| 1158 |
border-radius: 6px;
|
| 1159 |
}
|
| 1160 |
|
| 1161 |
.logout-btn {
|
| 1162 |
background: #2a2520;
|
|
|
|
| 1163 |
color: #c9b8a3;
|
| 1164 |
padding: 0.5rem 1rem;
|
| 1165 |
cursor: pointer;
|
|
|
|
| 1172 |
.logout-btn:hover {
|
| 1173 |
background: #3a342e;
|
| 1174 |
color: #e8d4c0;
|
|
|
|
| 1175 |
}
|
| 1176 |
|
| 1177 |
.logout-btn:active {
|
|
|
|
| 1179 |
}
|
| 1180 |
|
| 1181 |
.new-chat-btn {
|
| 1182 |
+
background: #2a2520;
|
| 1183 |
+
color: #c9b8a3;
|
|
|
|
| 1184 |
padding: 0.5rem 1rem;
|
| 1185 |
cursor: pointer;
|
| 1186 |
font-size: 0.9rem;
|
|
|
|
| 1190 |
}
|
| 1191 |
|
| 1192 |
.new-chat-btn:hover {
|
| 1193 |
+
background: #3a342e;
|
| 1194 |
+
color: #e8d4c0;
|
|
|
|
| 1195 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
| 1196 |
}
|
| 1197 |
|
web/src/App.tsx
CHANGED
|
@@ -611,6 +611,12 @@ function App() {
|
|
| 611 |
<span className="logical-ai-desc">Logical AI</span>
|
| 612 |
</div>
|
| 613 |
<div className="header-right">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 614 |
<button
|
| 615 |
className="new-chat-btn"
|
| 616 |
onClick={handleNewChat}
|
|
@@ -618,12 +624,6 @@ function App() {
|
|
| 618 |
>
|
| 619 |
New Chat
|
| 620 |
</button>
|
| 621 |
-
{isLoading && (
|
| 622 |
-
<span className="running-indicator">
|
| 623 |
-
<span className="running-dot"></span>
|
| 624 |
-
<span className="running-text">Running</span>
|
| 625 |
-
</span>
|
| 626 |
-
)}
|
| 627 |
<span className="user-info">👤 {user?.name}</span>
|
| 628 |
<button className="logout-btn" onClick={handleLogout}>
|
| 629 |
Logout
|
|
|
|
| 611 |
<span className="logical-ai-desc">Logical AI</span>
|
| 612 |
</div>
|
| 613 |
<div className="header-right">
|
| 614 |
+
{isLoading && (
|
| 615 |
+
<span className="running-indicator">
|
| 616 |
+
<span className="running-dot"></span>
|
| 617 |
+
<span className="running-text">Running</span>
|
| 618 |
+
</span>
|
| 619 |
+
)}
|
| 620 |
<button
|
| 621 |
className="new-chat-btn"
|
| 622 |
onClick={handleNewChat}
|
|
|
|
| 624 |
>
|
| 625 |
New Chat
|
| 626 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 627 |
<span className="user-info">👤 {user?.name}</span>
|
| 628 |
<button className="logout-btn" onClick={handleLogout}>
|
| 629 |
Logout
|