Spaces:
Sleeping
Sleeping
make buttons and login smaller
Browse files- src/App.css +25 -25
src/App.css
CHANGED
|
@@ -50,15 +50,15 @@ body, html, #root {
|
|
| 50 |
}
|
| 51 |
|
| 52 |
.strict-toggle-btn {
|
| 53 |
-
padding: 0.
|
| 54 |
-
min-width:
|
| 55 |
-
height:
|
| 56 |
background: rgba(255,255,255,0.08);
|
| 57 |
color: white;
|
| 58 |
border: 1px solid rgba(255,255,255,0.2);
|
| 59 |
-
border-radius:
|
| 60 |
cursor: pointer;
|
| 61 |
-
font-size:
|
| 62 |
transition: all 0.3s ease;
|
| 63 |
display: flex;
|
| 64 |
align-items: center;
|
|
@@ -72,15 +72,15 @@ body, html, #root {
|
|
| 72 |
}
|
| 73 |
|
| 74 |
.btn-secondary {
|
| 75 |
-
padding: 0.
|
| 76 |
-
min-width:
|
| 77 |
-
height:
|
| 78 |
background: rgba(255,255,255,0.08);
|
| 79 |
color: white;
|
| 80 |
border: 1px solid rgba(255,255,255,0.2);
|
| 81 |
-
border-radius:
|
| 82 |
cursor: pointer;
|
| 83 |
-
font-size:
|
| 84 |
transition: all 0.3s ease;
|
| 85 |
display: flex;
|
| 86 |
align-items: center;
|
|
@@ -94,9 +94,9 @@ body, html, #root {
|
|
| 94 |
}
|
| 95 |
|
| 96 |
.logout-btn {
|
| 97 |
-
padding: 0.
|
| 98 |
-
min-width:
|
| 99 |
-
height:
|
| 100 |
background: linear-gradient(135deg, rgba(220,38,38,0.7), rgba(185,28,28,0.8));
|
| 101 |
color: white;
|
| 102 |
border: 1px solid rgba(220,38,38,0.5);
|
|
@@ -457,29 +457,29 @@ body, html, #root {
|
|
| 457 |
|
| 458 |
.login-form {
|
| 459 |
background: rgba(255,255,255,0.08);
|
| 460 |
-
padding: 1.
|
| 461 |
-
border-radius:
|
| 462 |
border: 1px solid rgba(255,255,255,0.15);
|
| 463 |
width: 100%;
|
| 464 |
-
max-width:
|
| 465 |
}
|
| 466 |
|
| 467 |
.login-form h2 {
|
| 468 |
-
margin-bottom:
|
| 469 |
text-align: center;
|
| 470 |
color: #f0f0f0;
|
| 471 |
-
font-size: 1.
|
| 472 |
}
|
| 473 |
|
| 474 |
.login-form input {
|
| 475 |
width: 100%;
|
| 476 |
-
padding: 0.
|
| 477 |
-
margin-bottom: 0.
|
| 478 |
-
border-radius:
|
| 479 |
border: 1px solid rgba(255,255,255,0.3);
|
| 480 |
background: rgba(255,255,255,0.1);
|
| 481 |
color: white;
|
| 482 |
-
font-size: 0.
|
| 483 |
}
|
| 484 |
|
| 485 |
.login-form input:focus {
|
|
@@ -488,14 +488,14 @@ body, html, #root {
|
|
| 488 |
|
| 489 |
.login-form button {
|
| 490 |
width: 100%;
|
| 491 |
-
padding: 0.
|
| 492 |
background: #22c55e;
|
| 493 |
color: black;
|
| 494 |
font-weight: 600;
|
| 495 |
-
border-radius:
|
| 496 |
border: none;
|
| 497 |
cursor: pointer;
|
| 498 |
-
font-size: 0.
|
| 499 |
transition: background 0.2s;
|
| 500 |
}
|
| 501 |
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
.strict-toggle-btn {
|
| 53 |
+
padding: 0.3rem;
|
| 54 |
+
min-width: 32px;
|
| 55 |
+
height: 32px;
|
| 56 |
background: rgba(255,255,255,0.08);
|
| 57 |
color: white;
|
| 58 |
border: 1px solid rgba(255,255,255,0.2);
|
| 59 |
+
border-radius: 6px;
|
| 60 |
cursor: pointer;
|
| 61 |
+
font-size: 0.9rem;
|
| 62 |
transition: all 0.3s ease;
|
| 63 |
display: flex;
|
| 64 |
align-items: center;
|
|
|
|
| 72 |
}
|
| 73 |
|
| 74 |
.btn-secondary {
|
| 75 |
+
padding: 0.3rem;
|
| 76 |
+
min-width: 32px;
|
| 77 |
+
height: 32px;
|
| 78 |
background: rgba(255,255,255,0.08);
|
| 79 |
color: white;
|
| 80 |
border: 1px solid rgba(255,255,255,0.2);
|
| 81 |
+
border-radius: 6px;
|
| 82 |
cursor: pointer;
|
| 83 |
+
font-size: 0.9rem;
|
| 84 |
transition: all 0.3s ease;
|
| 85 |
display: flex;
|
| 86 |
align-items: center;
|
|
|
|
| 94 |
}
|
| 95 |
|
| 96 |
.logout-btn {
|
| 97 |
+
padding: 0.3rem;
|
| 98 |
+
min-width: 32px;
|
| 99 |
+
height: 32px;
|
| 100 |
background: linear-gradient(135deg, rgba(220,38,38,0.7), rgba(185,28,28,0.8));
|
| 101 |
color: white;
|
| 102 |
border: 1px solid rgba(220,38,38,0.5);
|
|
|
|
| 457 |
|
| 458 |
.login-form {
|
| 459 |
background: rgba(255,255,255,0.08);
|
| 460 |
+
padding: 1.2rem;
|
| 461 |
+
border-radius: 8px;
|
| 462 |
border: 1px solid rgba(255,255,255,0.15);
|
| 463 |
width: 100%;
|
| 464 |
+
max-width: 280px;
|
| 465 |
}
|
| 466 |
|
| 467 |
.login-form h2 {
|
| 468 |
+
margin-bottom: 0.8rem;
|
| 469 |
text-align: center;
|
| 470 |
color: #f0f0f0;
|
| 471 |
+
font-size: 1.3rem;
|
| 472 |
}
|
| 473 |
|
| 474 |
.login-form input {
|
| 475 |
width: 100%;
|
| 476 |
+
padding: 0.5rem;
|
| 477 |
+
margin-bottom: 0.6rem;
|
| 478 |
+
border-radius: 5px;
|
| 479 |
border: 1px solid rgba(255,255,255,0.3);
|
| 480 |
background: rgba(255,255,255,0.1);
|
| 481 |
color: white;
|
| 482 |
+
font-size: 0.85rem;
|
| 483 |
}
|
| 484 |
|
| 485 |
.login-form input:focus {
|
|
|
|
| 488 |
|
| 489 |
.login-form button {
|
| 490 |
width: 100%;
|
| 491 |
+
padding: 0.5rem;
|
| 492 |
background: #22c55e;
|
| 493 |
color: black;
|
| 494 |
font-weight: 600;
|
| 495 |
+
border-radius: 5px;
|
| 496 |
border: none;
|
| 497 |
cursor: pointer;
|
| 498 |
+
font-size: 0.85rem;
|
| 499 |
transition: background 0.2s;
|
| 500 |
}
|
| 501 |
|