Spaces:
Sleeping
Sleeping
Update frontend/src/App.css
Browse files- frontend/src/App.css +26 -16
frontend/src/App.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/* =================================
|
| 2 |
-
|
| 3 |
-
|
| 4 |
:root {
|
| 5 |
--primary-color: #22c55e; /* Green for accents */
|
| 6 |
--background-color: #f0f2f5; /* Light grey for chat background */
|
|
@@ -22,8 +22,8 @@ body, html, #root {
|
|
| 22 |
}
|
| 23 |
|
| 24 |
/* =================================
|
| 25 |
-
|
| 26 |
-
|
| 27 |
.app-wrapper {
|
| 28 |
display: flex;
|
| 29 |
flex-direction: column;
|
|
@@ -39,8 +39,8 @@ body, html, #root {
|
|
| 39 |
}
|
| 40 |
|
| 41 |
/* =================================
|
| 42 |
-
|
| 43 |
-
|
| 44 |
.app-header {
|
| 45 |
display: flex;
|
| 46 |
justify-content: space-between;
|
|
@@ -52,6 +52,17 @@ body, html, #root {
|
|
| 52 |
flex-shrink: 0;
|
| 53 |
}
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
.logo .main-brand {
|
| 56 |
font-size: 1.8em;
|
| 57 |
font-weight: bold;
|
|
@@ -69,8 +80,8 @@ body, html, #root {
|
|
| 69 |
}
|
| 70 |
|
| 71 |
/* =================================
|
| 72 |
-
|
| 73 |
-
|
| 74 |
.link-green {
|
| 75 |
color: var(--primary-color);
|
| 76 |
font-weight: 600;
|
|
@@ -103,8 +114,8 @@ body, html, #root {
|
|
| 103 |
}
|
| 104 |
|
| 105 |
/* =================================
|
| 106 |
-
|
| 107 |
-
|
| 108 |
.auth-container {
|
| 109 |
display: flex;
|
| 110 |
justify-content: center;
|
|
@@ -164,8 +175,8 @@ body, html, #root {
|
|
| 164 |
}
|
| 165 |
|
| 166 |
/* =================================
|
| 167 |
-
|
| 168 |
-
|
| 169 |
.chat-main {
|
| 170 |
display: flex;
|
| 171 |
flex-direction: column;
|
|
@@ -251,8 +262,8 @@ body, html, #root {
|
|
| 251 |
}
|
| 252 |
|
| 253 |
/* =================================
|
| 254 |
-
|
| 255 |
-
|
| 256 |
.chat-input-area {
|
| 257 |
padding: 1rem 1.5rem;
|
| 258 |
border-top: 1px solid var(--border-color);
|
|
@@ -326,11 +337,10 @@ body, html, #root {
|
|
| 326 |
100% { transform: scale(1); }
|
| 327 |
}
|
| 328 |
|
| 329 |
-
|
| 330 |
.header-logo {
|
| 331 |
height: 40px; /* Adjust size as needed */
|
| 332 |
width: auto;
|
| 333 |
-
margin-right
|
| 334 |
}
|
| 335 |
|
| 336 |
.avatar-image {
|
|
|
|
| 1 |
/* =================================
|
| 2 |
+
Global Styles & CSS Variables
|
| 3 |
+
================================= */
|
| 4 |
:root {
|
| 5 |
--primary-color: #22c55e; /* Green for accents */
|
| 6 |
--background-color: #f0f2f5; /* Light grey for chat background */
|
|
|
|
| 22 |
}
|
| 23 |
|
| 24 |
/* =================================
|
| 25 |
+
Main App Layout
|
| 26 |
+
================================= */
|
| 27 |
.app-wrapper {
|
| 28 |
display: flex;
|
| 29 |
flex-direction: column;
|
|
|
|
| 39 |
}
|
| 40 |
|
| 41 |
/* =================================
|
| 42 |
+
Header
|
| 43 |
+
================================= */
|
| 44 |
.app-header {
|
| 45 |
display: flex;
|
| 46 |
justify-content: space-between;
|
|
|
|
| 52 |
flex-shrink: 0;
|
| 53 |
}
|
| 54 |
|
| 55 |
+
.logo {
|
| 56 |
+
display: flex; /* Make the logo container a flex container */
|
| 57 |
+
align-items: center; /* Vertically align items */
|
| 58 |
+
gap: 10px; /* Add space between Dobby text and logo */
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.logo .brand-names {
|
| 62 |
+
display: flex; /* Ensure Dobby and GUVI Assistant stack vertically */
|
| 63 |
+
flex-direction: column;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
.logo .main-brand {
|
| 67 |
font-size: 1.8em;
|
| 68 |
font-weight: bold;
|
|
|
|
| 80 |
}
|
| 81 |
|
| 82 |
/* =================================
|
| 83 |
+
Buttons & Links
|
| 84 |
+
================================= */
|
| 85 |
.link-green {
|
| 86 |
color: var(--primary-color);
|
| 87 |
font-weight: 600;
|
|
|
|
| 114 |
}
|
| 115 |
|
| 116 |
/* =================================
|
| 117 |
+
Auth Forms (Login/Sign Up)
|
| 118 |
+
================================= */
|
| 119 |
.auth-container {
|
| 120 |
display: flex;
|
| 121 |
justify-content: center;
|
|
|
|
| 175 |
}
|
| 176 |
|
| 177 |
/* =================================
|
| 178 |
+
Chat Interface
|
| 179 |
+
================================= */
|
| 180 |
.chat-main {
|
| 181 |
display: flex;
|
| 182 |
flex-direction: column;
|
|
|
|
| 262 |
}
|
| 263 |
|
| 264 |
/* =================================
|
| 265 |
+
Chat Input Area
|
| 266 |
+
================================= */
|
| 267 |
.chat-input-area {
|
| 268 |
padding: 1rem 1.5rem;
|
| 269 |
border-top: 1px solid var(--border-color);
|
|
|
|
| 337 |
100% { transform: scale(1); }
|
| 338 |
}
|
| 339 |
|
|
|
|
| 340 |
.header-logo {
|
| 341 |
height: 40px; /* Adjust size as needed */
|
| 342 |
width: auto;
|
| 343 |
+
/* Removed margin-right as gap on parent .logo handles spacing */
|
| 344 |
}
|
| 345 |
|
| 346 |
.avatar-image {
|