Spaces:
Sleeping
Sleeping
Update src/style.css
Browse files- src/style.css +68 -110
src/style.css
CHANGED
|
@@ -1,130 +1,88 @@
|
|
| 1 |
-
/* ===
|
| 2 |
-
body {
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
font-family: 'Segoe UI', sans-serif;
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
color:
|
| 8 |
-
}
|
| 9 |
-
p, li {
|
| 10 |
-
color: #555555;
|
| 11 |
-
font-size: 1.05em;
|
| 12 |
-
}
|
| 13 |
-
.stDataFrame th {
|
| 14 |
-
background-color: #e3f2fd !important;
|
| 15 |
-
color: #004c97 !important;
|
| 16 |
-
}
|
| 17 |
-
.stButton > button {
|
| 18 |
-
padding: 15px 30px;
|
| 19 |
-
font-size: 16px;
|
| 20 |
-
font-weight: bold;
|
| 21 |
-
border: none;
|
| 22 |
-
border-radius: 12px;
|
| 23 |
-
background: linear-gradient(270deg, #36BA01, #009A22, #36BA01);
|
| 24 |
-
background-size: 400% 400%;
|
| 25 |
-
animation: gradientMove 6s ease infinite;
|
| 26 |
-
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
| 27 |
-
color: white !important;
|
| 28 |
-
cursor: pointer;
|
| 29 |
-
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
| 30 |
-
}
|
| 31 |
-
/* ✅ Force text inside button to stay white */
|
| 32 |
-
.stButton > button * {
|
| 33 |
-
color: white !important;
|
| 34 |
-
}
|
| 35 |
-
.stButton > button:hover {
|
| 36 |
-
transform: scale(1.05);
|
| 37 |
-
}
|
| 38 |
-
.stButton > button:active {
|
| 39 |
-
transform: scale(0.95);
|
| 40 |
-
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
| 41 |
-
}
|
| 42 |
-
@keyframes gradientMove {
|
| 43 |
-
0% { background-position: 0% 50%; }
|
| 44 |
-
50% { background-position: 100% 50%; }
|
| 45 |
-
100% { background-position: 0% 50%; }
|
| 46 |
}
|
| 47 |
|
| 48 |
-
/* ===
|
| 49 |
-
.
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
flex-wrap: wrap;
|
| 55 |
}
|
| 56 |
|
| 57 |
-
.
|
| 58 |
-
position:
|
| 59 |
-
width:
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
| 62 |
}
|
| 63 |
|
| 64 |
-
.
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
animation:
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
|
|
|
|
|
|
| 76 |
}
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
}
|
| 81 |
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
width: 100%;
|
| 87 |
height: 100%;
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
box-shadow: 0 6px 18px rgba(0,0,0,0.06);
|
| 92 |
-
text-align: center;
|
| 93 |
-
transition: transform 0.3s ease;
|
| 94 |
-
z-index: 1;
|
| 95 |
-
}
|
| 96 |
-
|
| 97 |
-
.stat-card:hover {
|
| 98 |
-
transform: scale(0.99);
|
| 99 |
}
|
| 100 |
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
.
|
| 111 |
-
|
| 112 |
-
font-weight: bold;
|
| 113 |
-
color: #004c97;
|
| 114 |
}
|
| 115 |
|
| 116 |
-
.
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
position: absolute;
|
| 120 |
-
top: 1rem;
|
| 121 |
-
right: 1.2rem;
|
| 122 |
}
|
| 123 |
-
.stat-up { color: #2e7d32; }
|
| 124 |
-
.stat-down { color: #c62828; }
|
| 125 |
|
| 126 |
-
.
|
| 127 |
-
|
| 128 |
-
justify-content: center;
|
| 129 |
-
margin-bottom: 1em;
|
| 130 |
}
|
|
|
|
| 1 |
+
/* === Fullscreen AI Landing Theme (Desktop-Focused) === */
|
| 2 |
+
html, body {
|
| 3 |
+
margin: 0;
|
| 4 |
+
padding: 0;
|
| 5 |
+
height: 100%;
|
| 6 |
font-family: 'Segoe UI', sans-serif;
|
| 7 |
+
background: radial-gradient(ellipse at bottom, #021d34 0%, #000 100%);
|
| 8 |
+
overflow: hidden;
|
| 9 |
+
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
}
|
| 11 |
|
| 12 |
+
/* === Background Animation === */
|
| 13 |
+
.background {
|
| 14 |
+
position: absolute;
|
| 15 |
+
inset: 0;
|
| 16 |
+
overflow: hidden;
|
| 17 |
+
z-index: 0;
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
+
.circle {
|
| 21 |
+
position: absolute;
|
| 22 |
+
width: 300px;
|
| 23 |
+
height: 300px;
|
| 24 |
+
background: radial-gradient(circle, #009fe3, #36ba01);
|
| 25 |
+
border-radius: 50%;
|
| 26 |
+
opacity: 0.1;
|
| 27 |
+
animation: float 14s ease-in-out infinite;
|
| 28 |
}
|
| 29 |
|
| 30 |
+
.circle:nth-child(1) {
|
| 31 |
+
top: 15%;
|
| 32 |
+
left: 20%;
|
| 33 |
+
animation-delay: 0s;
|
| 34 |
+
}
|
| 35 |
+
.circle:nth-child(2) {
|
| 36 |
+
top: 60%;
|
| 37 |
+
left: 70%;
|
| 38 |
+
animation-delay: 4s;
|
| 39 |
+
}
|
| 40 |
+
.circle:nth-child(3) {
|
| 41 |
+
top: 80%;
|
| 42 |
+
left: 30%;
|
| 43 |
+
animation-delay: 8s;
|
| 44 |
}
|
| 45 |
|
| 46 |
+
@keyframes float {
|
| 47 |
+
0%, 100% {
|
| 48 |
+
transform: translateY(0) scale(1);
|
| 49 |
+
opacity: 0.1;
|
| 50 |
+
}
|
| 51 |
+
50% {
|
| 52 |
+
transform: translateY(-60px) scale(1.3);
|
| 53 |
+
opacity: 0.25;
|
| 54 |
+
}
|
| 55 |
}
|
| 56 |
|
| 57 |
+
/* === Centered Button Layout === */
|
| 58 |
+
.container {
|
| 59 |
+
position: relative;
|
| 60 |
+
z-index: 1;
|
| 61 |
width: 100%;
|
| 62 |
height: 100%;
|
| 63 |
+
display: flex;
|
| 64 |
+
justify-content: center;
|
| 65 |
+
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
}
|
| 67 |
|
| 68 |
+
/* === AI Agent Button === */
|
| 69 |
+
.stButton > button, .cta-button {
|
| 70 |
+
padding: 1.2rem 3rem;
|
| 71 |
+
font-size: 1.5rem;
|
| 72 |
+
background-color: #009fe3;
|
| 73 |
+
border: none;
|
| 74 |
+
border-radius: 50px;
|
| 75 |
+
color: white !important;
|
| 76 |
+
cursor: pointer;
|
| 77 |
+
transition: all 0.3s ease;
|
| 78 |
+
box-shadow: 0 0 20px rgba(0, 159, 227, 0.5);
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
+
.stButton > button:hover, .cta-button:hover {
|
| 82 |
+
background-color: #36ba01;
|
| 83 |
+
box-shadow: 0 0 30px rgba(54, 186, 1, 0.5);
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
|
|
|
|
|
|
| 85 |
|
| 86 |
+
.stButton > button * {
|
| 87 |
+
color: white !important;
|
|
|
|
|
|
|
| 88 |
}
|