Spaces:
Running
Running
Update app/frontend/style.css
Browse files- app/frontend/style.css +185 -21
app/frontend/style.css
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
/* LionGuard 2 - Warm, Inviting, and Bright Design */
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
:root {
|
| 5 |
/* Modern color palette inspired by logo */
|
|
@@ -105,7 +110,7 @@ main {
|
|
| 105 |
margin-left: auto;
|
| 106 |
display: flex;
|
| 107 |
align-items: center;
|
| 108 |
-
gap:
|
| 109 |
flex-wrap: wrap;
|
| 110 |
justify-content: flex-end;
|
| 111 |
background: transparent;
|
|
@@ -130,8 +135,10 @@ main {
|
|
| 130 |
|
| 131 |
.logo-text h1 {
|
| 132 |
font-family: 'Poppins', sans-serif;
|
| 133 |
-
font-size: 1.
|
| 134 |
-
|
|
|
|
|
|
|
| 135 |
margin-bottom: 0px;
|
| 136 |
line-height: 1.2;
|
| 137 |
}
|
|
@@ -321,7 +328,7 @@ body.dark-mode .toggle-icon-moon {
|
|
| 321 |
display: inline-flex;
|
| 322 |
align-items: center;
|
| 323 |
flex-wrap: wrap;
|
| 324 |
-
gap:
|
| 325 |
margin-bottom: 0;
|
| 326 |
background: transparent;
|
| 327 |
border: none;
|
|
@@ -373,11 +380,12 @@ body.dark-mode .toggle-icon-moon {
|
|
| 373 |
}
|
| 374 |
|
| 375 |
.tab-icon {
|
| 376 |
-
font-size: 1.
|
|
|
|
| 377 |
}
|
| 378 |
|
| 379 |
.dropdown-toggle {
|
| 380 |
-
padding-right: 22px;
|
| 381 |
}
|
| 382 |
|
| 383 |
.dropdown-caret {
|
|
@@ -942,39 +950,45 @@ body.dark-mode .score-chip.bad {
|
|
| 942 |
background: var(--warm-cream);
|
| 943 |
border: 1px solid var(--warm-tan);
|
| 944 |
border-radius: var(--border-radius);
|
| 945 |
-
padding:
|
| 946 |
-
margin-top:
|
| 947 |
text-align: center;
|
| 948 |
}
|
| 949 |
|
| 950 |
.feedback-prompt {
|
| 951 |
color: var(--text-secondary);
|
| 952 |
-
margin-bottom:
|
| 953 |
font-weight: 500;
|
| 954 |
-
font-size: 0.
|
| 955 |
}
|
| 956 |
|
| 957 |
.feedback-buttons {
|
| 958 |
display: flex;
|
| 959 |
-
gap:
|
| 960 |
-
margin-bottom:
|
| 961 |
flex-wrap: wrap;
|
| 962 |
justify-content: center;
|
| 963 |
}
|
| 964 |
|
| 965 |
-
.feedback-buttons .btn {
|
| 966 |
-
flex: 0 0 auto;
|
| 967 |
-
padding: 6px 12px;
|
| 968 |
-
font-size: 0.8rem;
|
| 969 |
-
justify-content: center;
|
| 970 |
-
}
|
| 971 |
-
|
| 972 |
.feedback-message {
|
| 973 |
-
padding
|
| 974 |
border-radius: var(--border-radius-sm);
|
| 975 |
font-weight: 600;
|
| 976 |
text-align: center;
|
| 977 |
font-size: 0.85rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 978 |
}
|
| 979 |
|
| 980 |
.feedback-message.success {
|
|
@@ -1287,3 +1301,153 @@ body.dark-mode .score-chip.bad {
|
|
| 1287 |
grid-template-columns: 1fr;
|
| 1288 |
}
|
| 1289 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
/* LionGuard 2 - Warm, Inviting, and Bright Design */
|
| 2 |
+
|
| 3 |
+
/* Icons alignment */
|
| 4 |
+
.bx {
|
| 5 |
+
vertical-align: middle;
|
| 6 |
+
line-height: 1;
|
| 7 |
+
}
|
| 8 |
|
| 9 |
:root {
|
| 10 |
/* Modern color palette inspired by logo */
|
|
|
|
| 110 |
margin-left: auto;
|
| 111 |
display: flex;
|
| 112 |
align-items: center;
|
| 113 |
+
gap: 24px; /* Increased gap for better spacing */
|
| 114 |
flex-wrap: wrap;
|
| 115 |
justify-content: flex-end;
|
| 116 |
background: transparent;
|
|
|
|
| 135 |
|
| 136 |
.logo-text h1 {
|
| 137 |
font-family: 'Poppins', sans-serif;
|
| 138 |
+
font-size: 1.5rem;
|
| 139 |
+
font-weight: 700;
|
| 140 |
+
color: var(--primary-dark);
|
| 141 |
+
letter-spacing: -0.02em;
|
| 142 |
margin-bottom: 0px;
|
| 143 |
line-height: 1.2;
|
| 144 |
}
|
|
|
|
| 328 |
display: inline-flex;
|
| 329 |
align-items: center;
|
| 330 |
flex-wrap: wrap;
|
| 331 |
+
gap: 24px; /* Increased gap for better spacing */
|
| 332 |
margin-bottom: 0;
|
| 333 |
background: transparent;
|
| 334 |
border: none;
|
|
|
|
| 380 |
}
|
| 381 |
|
| 382 |
.tab-icon {
|
| 383 |
+
font-size: 1.25rem;
|
| 384 |
+
margin-bottom: 1px;
|
| 385 |
}
|
| 386 |
|
| 387 |
.dropdown-toggle {
|
| 388 |
+
/* padding-right: 22px; removed to fix gap */
|
| 389 |
}
|
| 390 |
|
| 391 |
.dropdown-caret {
|
|
|
|
| 950 |
background: var(--warm-cream);
|
| 951 |
border: 1px solid var(--warm-tan);
|
| 952 |
border-radius: var(--border-radius);
|
| 953 |
+
padding: 16px 20px; /* Increased padding */
|
| 954 |
+
margin-top: 12px;
|
| 955 |
text-align: center;
|
| 956 |
}
|
| 957 |
|
| 958 |
.feedback-prompt {
|
| 959 |
color: var(--text-secondary);
|
| 960 |
+
margin-bottom: 12px; /* Balanced spacing */
|
| 961 |
font-weight: 500;
|
| 962 |
+
font-size: 0.85rem; /* Slightly larger */
|
| 963 |
}
|
| 964 |
|
| 965 |
.feedback-buttons {
|
| 966 |
display: flex;
|
| 967 |
+
gap: 12px; /* More gap between buttons */
|
| 968 |
+
margin-bottom: 0; /* Remove bottom margin, let padding handle it unless message appears */
|
| 969 |
flex-wrap: wrap;
|
| 970 |
justify-content: center;
|
| 971 |
}
|
| 972 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 973 |
.feedback-message {
|
| 974 |
+
/* Removed default padding to avoid ghost space */
|
| 975 |
border-radius: var(--border-radius-sm);
|
| 976 |
font-weight: 600;
|
| 977 |
text-align: center;
|
| 978 |
font-size: 0.85rem;
|
| 979 |
+
margin-top: 0;
|
| 980 |
+
transition: all 0.3s ease;
|
| 981 |
+
opacity: 0;
|
| 982 |
+
height: 0;
|
| 983 |
+
overflow: hidden;
|
| 984 |
+
}
|
| 985 |
+
|
| 986 |
+
.feedback-message.success,
|
| 987 |
+
.feedback-message.info {
|
| 988 |
+
padding: 10px;
|
| 989 |
+
margin-top: 12px; /* Add space only when message appears */
|
| 990 |
+
opacity: 1;
|
| 991 |
+
height: auto;
|
| 992 |
}
|
| 993 |
|
| 994 |
.feedback-message.success {
|
|
|
|
| 1301 |
grid-template-columns: 1fr;
|
| 1302 |
}
|
| 1303 |
}
|
| 1304 |
+
|
| 1305 |
+
/* Get Started Tab Styles */
|
| 1306 |
+
.get-started-container {
|
| 1307 |
+
max-width: 1000px;
|
| 1308 |
+
margin: 0 auto;
|
| 1309 |
+
display: flex;
|
| 1310 |
+
flex-direction: column;
|
| 1311 |
+
gap: 20px;
|
| 1312 |
+
}
|
| 1313 |
+
|
| 1314 |
+
.option-card.full-width-card {
|
| 1315 |
+
width: 100%;
|
| 1316 |
+
background: var(--soft-white);
|
| 1317 |
+
border: 1px solid var(--warm-tan);
|
| 1318 |
+
border-radius: var(--border-radius);
|
| 1319 |
+
padding: 16px; /* Restored to a slightly larger padding */
|
| 1320 |
+
box-shadow: var(--shadow-soft);
|
| 1321 |
+
display: flex;
|
| 1322 |
+
flex-direction: column;
|
| 1323 |
+
gap: 12px; /* Slightly reduced gap */
|
| 1324 |
+
}
|
| 1325 |
+
|
| 1326 |
+
.option-header {
|
| 1327 |
+
display: flex;
|
| 1328 |
+
gap: 12px;
|
| 1329 |
+
align-items: flex-start; /* Reverted to align-items: flex-start */
|
| 1330 |
+
}
|
| 1331 |
+
|
| 1332 |
+
.option-icon {
|
| 1333 |
+
font-size: 1.5rem;
|
| 1334 |
+
color: var(--primary-red);
|
| 1335 |
+
background: var(--warm-cream);
|
| 1336 |
+
padding: 8px;
|
| 1337 |
+
border-radius: 50%;
|
| 1338 |
+
}
|
| 1339 |
+
|
| 1340 |
+
.option-header h2 {
|
| 1341 |
+
font-family: 'Poppins', sans-serif;
|
| 1342 |
+
font-size: 1.15rem;
|
| 1343 |
+
color: var(--primary-dark);
|
| 1344 |
+
margin-bottom: 4px;
|
| 1345 |
+
}
|
| 1346 |
+
|
| 1347 |
+
.option-header p {
|
| 1348 |
+
color: var(--text-secondary);
|
| 1349 |
+
font-size: 0.9rem;
|
| 1350 |
+
}
|
| 1351 |
+
|
| 1352 |
+
.code-section {
|
| 1353 |
+
background: #2d2d2d; /* Prism Tomorrow bg match */
|
| 1354 |
+
border-radius: var(--border-radius);
|
| 1355 |
+
overflow: hidden;
|
| 1356 |
+
margin-top: 4px;
|
| 1357 |
+
}
|
| 1358 |
+
|
| 1359 |
+
.code-tabs-header {
|
| 1360 |
+
display: flex;
|
| 1361 |
+
justify-content: space-between;
|
| 1362 |
+
align-items: center;
|
| 1363 |
+
background: #1f1f1f; /* Slightly darker */
|
| 1364 |
+
border-bottom: 1px solid #3d3d3d;
|
| 1365 |
+
padding-right: 10px;
|
| 1366 |
+
}
|
| 1367 |
+
|
| 1368 |
+
.code-tabs {
|
| 1369 |
+
display: flex;
|
| 1370 |
+
overflow-x: auto;
|
| 1371 |
+
}
|
| 1372 |
+
|
| 1373 |
+
.code-tab {
|
| 1374 |
+
background: transparent;
|
| 1375 |
+
border: none;
|
| 1376 |
+
color: #94A3B8;
|
| 1377 |
+
padding: 8px 16px;
|
| 1378 |
+
cursor: pointer;
|
| 1379 |
+
font-size: 0.8rem;
|
| 1380 |
+
font-family: 'Inter', sans-serif;
|
| 1381 |
+
font-weight: 500;
|
| 1382 |
+
border-bottom: 2px solid transparent;
|
| 1383 |
+
transition: all 0.2s ease;
|
| 1384 |
+
white-space: nowrap;
|
| 1385 |
+
}
|
| 1386 |
+
|
| 1387 |
+
.code-tab:hover {
|
| 1388 |
+
color: #E2E8F0;
|
| 1389 |
+
background: rgba(255, 255, 255, 0.05);
|
| 1390 |
+
}
|
| 1391 |
+
|
| 1392 |
+
.code-tab.active {
|
| 1393 |
+
color: #FFFFFF;
|
| 1394 |
+
border-bottom-color: var(--primary-red);
|
| 1395 |
+
background: rgba(255, 255, 255, 0.08);
|
| 1396 |
+
}
|
| 1397 |
+
|
| 1398 |
+
.copy-btn {
|
| 1399 |
+
background: transparent;
|
| 1400 |
+
border: 1px solid #475569;
|
| 1401 |
+
color: #cbd5e1;
|
| 1402 |
+
padding: 4px 10px;
|
| 1403 |
+
border-radius: 4px;
|
| 1404 |
+
font-size: 0.75rem;
|
| 1405 |
+
cursor: pointer;
|
| 1406 |
+
display: flex;
|
| 1407 |
+
align-items: center;
|
| 1408 |
+
gap: 6px;
|
| 1409 |
+
transition: all 0.2s ease;
|
| 1410 |
+
}
|
| 1411 |
+
|
| 1412 |
+
.copy-btn:hover {
|
| 1413 |
+
background: rgba(255, 255, 255, 0.1);
|
| 1414 |
+
border-color: #94a3b8;
|
| 1415 |
+
color: white;
|
| 1416 |
+
}
|
| 1417 |
+
|
| 1418 |
+
.code-display {
|
| 1419 |
+
padding: 16px;
|
| 1420 |
+
background: #2d2d2d; /* Match Prism theme */
|
| 1421 |
+
overflow-x: auto;
|
| 1422 |
+
}
|
| 1423 |
+
|
| 1424 |
+
.code-block {
|
| 1425 |
+
display: none;
|
| 1426 |
+
}
|
| 1427 |
+
|
| 1428 |
+
.code-block.active {
|
| 1429 |
+
display: block;
|
| 1430 |
+
animation: fadeIn 0.3s ease;
|
| 1431 |
+
}
|
| 1432 |
+
|
| 1433 |
+
/* Override Prism margins */
|
| 1434 |
+
.code-block pre[class*="language-"] {
|
| 1435 |
+
margin: 0 !important;
|
| 1436 |
+
padding: 0 !important;
|
| 1437 |
+
background: transparent !important;
|
| 1438 |
+
text-shadow: none !important;
|
| 1439 |
+
border-radius: 0 !important;
|
| 1440 |
+
box-shadow: none !important;
|
| 1441 |
+
}
|
| 1442 |
+
|
| 1443 |
+
.code-block code[class*="language-"] {
|
| 1444 |
+
font-family: 'Menlo', 'Monaco', 'Courier New', monospace !important;
|
| 1445 |
+
font-size: 0.85rem !important;
|
| 1446 |
+
line-height: 1.5 !important;
|
| 1447 |
+
}
|
| 1448 |
+
|
| 1449 |
+
.option-action {
|
| 1450 |
+
display: flex;
|
| 1451 |
+
justify-content: flex-start; /* Align button to the left */
|
| 1452 |
+
margin-top: 0; /* Relies on parent gap */
|
| 1453 |
+
}
|