Spaces:
Sleeping
Sleeping
Update client/src/index.css
Browse files- client/src/index.css +37 -69
client/src/index.css
CHANGED
|
@@ -11,28 +11,23 @@ body {
|
|
| 11 |
color: white;
|
| 12 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
| 13 |
overflow-x: hidden;
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
/*
|
| 16 |
-
background: linear-gradient(
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
#7928ca, /* Deep Purple */
|
| 20 |
-
#ff4d4d, /* Hot Red */
|
| 21 |
-
#2a0010 /* Dark Base */
|
| 22 |
-
);
|
| 23 |
-
background-size: 240% 240%; /* Zoomed in to create "movement" */
|
| 24 |
-
animation: liquidFlow 18s ease infinite; /* The slow flow */
|
| 25 |
min-height: 100vh;
|
| 26 |
}
|
| 27 |
|
| 28 |
-
/* MOVEMENT KEYFRAMES */
|
| 29 |
@keyframes liquidFlow {
|
| 30 |
0% { background-position: 0% 50%; }
|
| 31 |
50% { background-position: 100% 50%; }
|
| 32 |
100% { background-position: 0% 50%; }
|
| 33 |
}
|
| 34 |
|
| 35 |
-
/*
|
| 36 |
.glass-panel {
|
| 37 |
background: var(--glass-bg);
|
| 38 |
backdrop-filter: blur(24px);
|
|
@@ -47,14 +42,14 @@ body {
|
|
| 47 |
backdrop-filter: blur(16px);
|
| 48 |
border: 1px solid var(--glass-border);
|
| 49 |
border-radius: 9999px;
|
| 50 |
-
padding: 8px
|
| 51 |
color: white;
|
| 52 |
-
font-size:
|
| 53 |
font-weight: 500;
|
| 54 |
cursor: pointer;
|
| 55 |
transition: all 0.2s ease;
|
| 56 |
outline: none;
|
| 57 |
-
min-width:
|
| 58 |
}
|
| 59 |
.glass-pill:hover {
|
| 60 |
background: var(--glass-highlight);
|
|
@@ -62,87 +57,60 @@ body {
|
|
| 62 |
}
|
| 63 |
.glass-pill option { background: #2a0010; color: white; }
|
| 64 |
|
| 65 |
-
/*
|
| 66 |
.logo-expand-container {
|
| 67 |
display: flex;
|
| 68 |
align-items: center;
|
| 69 |
background: rgba(255, 255, 255, 0.1);
|
| 70 |
border: 1px solid rgba(255, 255, 255, 0.25);
|
| 71 |
backdrop-filter: blur(20px);
|
| 72 |
-
border-radius: 9999px;
|
| 73 |
padding: 8px 16px;
|
| 74 |
cursor: default;
|
| 75 |
-
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
| 76 |
overflow: hidden;
|
| 77 |
-
width: 32px;
|
| 78 |
white-space: nowrap;
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
-
/* HOVER STATE: Expand width */
|
| 82 |
.logo-expand-container:hover {
|
| 83 |
-
width: 110px;
|
| 84 |
background: rgba(255, 255, 255, 0.2);
|
| 85 |
box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
|
| 86 |
}
|
| 87 |
|
| 88 |
-
.logo-main {
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
text-transform: uppercase;
|
| 92 |
-
font-size: 0.9rem;
|
| 93 |
-
margin-right: 8px;
|
| 94 |
-
}
|
| 95 |
-
|
| 96 |
-
.logo-hidden {
|
| 97 |
-
opacity: 0;
|
| 98 |
-
font-size: 0.8rem;
|
| 99 |
-
letter-spacing: 1px;
|
| 100 |
-
font-weight: 400;
|
| 101 |
-
color: rgba(255, 255, 255, 0.8);
|
| 102 |
-
transform: translateX(-10px);
|
| 103 |
-
transition: all 0.3s ease;
|
| 104 |
-
}
|
| 105 |
-
|
| 106 |
-
/* REVEAL TEXT ON HOVER */
|
| 107 |
-
.logo-expand-container:hover .logo-hidden {
|
| 108 |
-
opacity: 1;
|
| 109 |
-
transform: translateX(0);
|
| 110 |
-
}
|
| 111 |
|
| 112 |
-
/*
|
| 113 |
textarea {
|
| 114 |
-
background: rgba(0, 0, 0, 0.3);
|
| 115 |
-
border:
|
| 116 |
-
color: white;
|
| 117 |
-
border-radius: 24px;
|
| 118 |
-
backdrop-filter: blur(20px);
|
| 119 |
-
font-family: inherit;
|
| 120 |
-
}
|
| 121 |
-
textarea:focus {
|
| 122 |
-
background: rgba(0, 0, 0, 0.5);
|
| 123 |
-
border-color: rgba(255,255,255,0.5);
|
| 124 |
-
outline: none;
|
| 125 |
}
|
|
|
|
| 126 |
|
| 127 |
-
/* RUN BUTTON */
|
| 128 |
.run-btn {
|
| 129 |
background: linear-gradient(135deg, #ff0080 0%, #ff4e50 100%);
|
| 130 |
-
border: none;
|
| 131 |
-
border-radius: 50%;
|
| 132 |
-
color: white;
|
| 133 |
box-shadow: 0 10px 20px rgba(255, 0, 80, 0.3);
|
| 134 |
-
transition: transform 0.2s;
|
| 135 |
-
display: flex; align-items: center; justify-content: center;
|
| 136 |
}
|
| 137 |
.run-btn:active { transform: scale(0.95); }
|
| 138 |
|
| 139 |
-
/* HOLO UPLOAD BOX */
|
| 140 |
.holo-box {
|
| 141 |
-
border: 2px dashed rgba(255, 255, 255, 0.3);
|
| 142 |
-
|
| 143 |
-
border-radius: 18px;
|
| 144 |
-
padding: 12px;
|
| 145 |
-
position: relative;
|
| 146 |
-
transition: all 0.3s;
|
| 147 |
}
|
| 148 |
.holo-box:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
color: white;
|
| 12 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
| 13 |
overflow-x: hidden;
|
| 14 |
+
/* Ensure content doesn't get stuck under phone notches */
|
| 15 |
+
padding-top: env(safe-area-inset-top);
|
| 16 |
|
| 17 |
+
/* LIQUID ANIMATION */
|
| 18 |
+
background: linear-gradient(300deg, #ff0080, #7928ca, #ff4d4d, #2a0010);
|
| 19 |
+
background-size: 240% 240%;
|
| 20 |
+
animation: liquidFlow 18s ease infinite;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
min-height: 100vh;
|
| 22 |
}
|
| 23 |
|
|
|
|
| 24 |
@keyframes liquidFlow {
|
| 25 |
0% { background-position: 0% 50%; }
|
| 26 |
50% { background-position: 100% 50%; }
|
| 27 |
100% { background-position: 0% 50%; }
|
| 28 |
}
|
| 29 |
|
| 30 |
+
/* GLASS COMPONENTS */
|
| 31 |
.glass-panel {
|
| 32 |
background: var(--glass-bg);
|
| 33 |
backdrop-filter: blur(24px);
|
|
|
|
| 42 |
backdrop-filter: blur(16px);
|
| 43 |
border: 1px solid var(--glass-border);
|
| 44 |
border-radius: 9999px;
|
| 45 |
+
padding: 8px 12px; /* Slightly tighter padding */
|
| 46 |
color: white;
|
| 47 |
+
font-size: 13px; /* Slightly smaller font for professional look */
|
| 48 |
font-weight: 500;
|
| 49 |
cursor: pointer;
|
| 50 |
transition: all 0.2s ease;
|
| 51 |
outline: none;
|
| 52 |
+
min-width: 70px;
|
| 53 |
}
|
| 54 |
.glass-pill:hover {
|
| 55 |
background: var(--glass-highlight);
|
|
|
|
| 57 |
}
|
| 58 |
.glass-pill option { background: #2a0010; color: white; }
|
| 59 |
|
| 60 |
+
/* EXPANDING LOGO */
|
| 61 |
.logo-expand-container {
|
| 62 |
display: flex;
|
| 63 |
align-items: center;
|
| 64 |
background: rgba(255, 255, 255, 0.1);
|
| 65 |
border: 1px solid rgba(255, 255, 255, 0.25);
|
| 66 |
backdrop-filter: blur(20px);
|
| 67 |
+
border-radius: 9999px;
|
| 68 |
padding: 8px 16px;
|
| 69 |
cursor: default;
|
| 70 |
+
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
| 71 |
overflow: hidden;
|
| 72 |
+
width: 32px;
|
| 73 |
white-space: nowrap;
|
| 74 |
+
flex-shrink: 0; /* Prevents it from getting squashed */
|
| 75 |
}
|
| 76 |
|
|
|
|
| 77 |
.logo-expand-container:hover {
|
| 78 |
+
width: 110px;
|
| 79 |
background: rgba(255, 255, 255, 0.2);
|
| 80 |
box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
|
| 81 |
}
|
| 82 |
|
| 83 |
+
.logo-main { font-weight: 900; letter-spacing: 2px; text-transform: uppercase; font-size: 0.9rem; margin-right: 8px; }
|
| 84 |
+
.logo-hidden { opacity: 0; font-size: 0.8rem; letter-spacing: 1px; font-weight: 400; color: rgba(255, 255, 255, 0.8); transform: translateX(-10px); transition: all 0.3s ease; }
|
| 85 |
+
.logo-expand-container:hover .logo-hidden { opacity: 1; transform: translateX(0); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
+
/* INPUTS & BUTTONS */
|
| 88 |
textarea {
|
| 89 |
+
background: rgba(0, 0, 0, 0.3); border: 1px solid var(--glass-border); color: white;
|
| 90 |
+
border-radius: 24px; backdrop-filter: blur(20px); font-family: inherit;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
}
|
| 92 |
+
textarea:focus { background: rgba(0, 0, 0, 0.5); border-color: rgba(255,255,255,0.5); outline: none; }
|
| 93 |
|
|
|
|
| 94 |
.run-btn {
|
| 95 |
background: linear-gradient(135deg, #ff0080 0%, #ff4e50 100%);
|
| 96 |
+
border: none; border-radius: 50%; color: white;
|
|
|
|
|
|
|
| 97 |
box-shadow: 0 10px 20px rgba(255, 0, 80, 0.3);
|
| 98 |
+
transition: transform 0.2s; display: flex; align-items: center; justify-content: center;
|
|
|
|
| 99 |
}
|
| 100 |
.run-btn:active { transform: scale(0.95); }
|
| 101 |
|
|
|
|
| 102 |
.holo-box {
|
| 103 |
+
border: 2px dashed rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05);
|
| 104 |
+
border-radius: 18px; padding: 5px; position: relative; transition: all 0.3s;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
}
|
| 106 |
.holo-box:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }
|
| 107 |
+
|
| 108 |
+
/* PWA INSTALL BANNER */
|
| 109 |
+
.pwa-banner {
|
| 110 |
+
position: fixed; bottom: 160px; left: 20px; right: 20px;
|
| 111 |
+
background: rgba(40, 0, 20, 0.9); backdrop-filter: blur(20px);
|
| 112 |
+
border: 1px solid var(--glass-border); border-radius: 16px;
|
| 113 |
+
padding: 15px; z-index: 100; display: flex; align-items: center; justifyContent: space-between;
|
| 114 |
+
animation: slideUp 0.5s ease-out;
|
| 115 |
+
}
|
| 116 |
+
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
|