Upload fastsearch-tauri/ui/styles.css
Browse files- fastsearch-tauri/ui/styles.css +16 -18
fastsearch-tauri/ui/styles.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
:root {
|
| 2 |
-
--bg-primary: rgba(30, 30,
|
| 3 |
-
--bg-secondary: rgba(
|
| 4 |
-
--bg-hover: rgba(
|
| 5 |
-
--bg-selected: rgba(10, 132, 255, 0.
|
| 6 |
--text-primary: #ffffff;
|
| 7 |
-
--text-secondary: rgba(255, 255, 255, 0.
|
| 8 |
--text-tertiary: rgba(255, 255, 255, 0.35);
|
| 9 |
--accent: #0a84ff;
|
| 10 |
--accent-hover: #0077e6;
|
| 11 |
--border: rgba(255, 255, 255, 0.08);
|
| 12 |
-
--shadow: 0 25px 80px rgba(0, 0, 0, 0.
|
| 13 |
--radius: 18px;
|
| 14 |
--radius-sm: 10px;
|
| 15 |
--transition: 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
@@ -23,7 +23,7 @@
|
|
| 23 |
|
| 24 |
body {
|
| 25 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
|
| 26 |
-
background:
|
| 27 |
overflow: hidden;
|
| 28 |
color: var(--text-primary);
|
| 29 |
-webkit-font-smoothing: antialiased;
|
|
@@ -38,13 +38,11 @@ body {
|
|
| 38 |
padding-top: 80px;
|
| 39 |
}
|
| 40 |
|
| 41 |
-
/*
|
| 42 |
.search-container {
|
| 43 |
width: 720px;
|
| 44 |
max-width: 90vw;
|
| 45 |
background: var(--bg-primary);
|
| 46 |
-
backdrop-filter: blur(60px) saturate(180%);
|
| 47 |
-
-webkit-backdrop-filter: blur(60px) saturate(180%);
|
| 48 |
border: 1px solid var(--border);
|
| 49 |
border-radius: var(--radius);
|
| 50 |
box-shadow: var(--shadow);
|
|
@@ -64,7 +62,7 @@ body {
|
|
| 64 |
}
|
| 65 |
}
|
| 66 |
|
| 67 |
-
/*
|
| 68 |
.search-bar {
|
| 69 |
display: flex;
|
| 70 |
align-items: center;
|
|
@@ -126,7 +124,7 @@ body {
|
|
| 126 |
flex-shrink: 0;
|
| 127 |
}
|
| 128 |
|
| 129 |
-
/*
|
| 130 |
.results-container {
|
| 131 |
max-height: 420px;
|
| 132 |
overflow-y: auto;
|
|
@@ -154,7 +152,7 @@ body {
|
|
| 154 |
padding: 6px 8px;
|
| 155 |
}
|
| 156 |
|
| 157 |
-
/*
|
| 158 |
.result-item {
|
| 159 |
display: flex;
|
| 160 |
align-items: center;
|
|
@@ -244,7 +242,7 @@ body {
|
|
| 244 |
font-family: monospace;
|
| 245 |
}
|
| 246 |
|
| 247 |
-
/*
|
| 248 |
.results-footer {
|
| 249 |
display: flex;
|
| 250 |
align-items: center;
|
|
@@ -273,7 +271,7 @@ body {
|
|
| 273 |
font-size: 11px;
|
| 274 |
}
|
| 275 |
|
| 276 |
-
/*
|
| 277 |
.empty-state {
|
| 278 |
padding: 40px 20px;
|
| 279 |
text-align: center;
|
|
@@ -333,7 +331,7 @@ body {
|
|
| 333 |
text-align: left;
|
| 334 |
}
|
| 335 |
|
| 336 |
-
/*
|
| 337 |
.no-results {
|
| 338 |
padding: 40px 20px;
|
| 339 |
text-align: center;
|
|
@@ -365,7 +363,7 @@ body {
|
|
| 365 |
display: block;
|
| 366 |
}
|
| 367 |
|
| 368 |
-
/*
|
| 369 |
.result-item {
|
| 370 |
animation: fadeIn 0.1s ease-out;
|
| 371 |
}
|
|
@@ -381,7 +379,7 @@ body {
|
|
| 381 |
}
|
| 382 |
}
|
| 383 |
|
| 384 |
-
/*
|
| 385 |
@media (max-width: 800px) {
|
| 386 |
.search-container {
|
| 387 |
width: 95vw;
|
|
|
|
| 1 |
:root {
|
| 2 |
+
--bg-primary: rgba(30, 30, 35, 0.97);
|
| 3 |
+
--bg-secondary: rgba(50, 50, 60, 0.9);
|
| 4 |
+
--bg-hover: rgba(70, 70, 85, 0.9);
|
| 5 |
+
--bg-selected: rgba(10, 132, 255, 0.4);
|
| 6 |
--text-primary: #ffffff;
|
| 7 |
+
--text-secondary: rgba(255, 255, 255, 0.6);
|
| 8 |
--text-tertiary: rgba(255, 255, 255, 0.35);
|
| 9 |
--accent: #0a84ff;
|
| 10 |
--accent-hover: #0077e6;
|
| 11 |
--border: rgba(255, 255, 255, 0.08);
|
| 12 |
+
--shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
|
| 13 |
--radius: 18px;
|
| 14 |
--radius-sm: 10px;
|
| 15 |
--transition: 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
|
|
| 23 |
|
| 24 |
body {
|
| 25 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
|
| 26 |
+
background: #1a1a24;
|
| 27 |
overflow: hidden;
|
| 28 |
color: var(--text-primary);
|
| 29 |
-webkit-font-smoothing: antialiased;
|
|
|
|
| 38 |
padding-top: 80px;
|
| 39 |
}
|
| 40 |
|
| 41 |
+
/* -- Search Container ------------------------------------------------ */
|
| 42 |
.search-container {
|
| 43 |
width: 720px;
|
| 44 |
max-width: 90vw;
|
| 45 |
background: var(--bg-primary);
|
|
|
|
|
|
|
| 46 |
border: 1px solid var(--border);
|
| 47 |
border-radius: var(--radius);
|
| 48 |
box-shadow: var(--shadow);
|
|
|
|
| 62 |
}
|
| 63 |
}
|
| 64 |
|
| 65 |
+
/* -- Search Bar ---------------------------------------------------- */
|
| 66 |
.search-bar {
|
| 67 |
display: flex;
|
| 68 |
align-items: center;
|
|
|
|
| 124 |
flex-shrink: 0;
|
| 125 |
}
|
| 126 |
|
| 127 |
+
/* -- Results Container --------------------------------------------- */
|
| 128 |
.results-container {
|
| 129 |
max-height: 420px;
|
| 130 |
overflow-y: auto;
|
|
|
|
| 152 |
padding: 6px 8px;
|
| 153 |
}
|
| 154 |
|
| 155 |
+
/* -- Result Item --------------------------------------------------- */
|
| 156 |
.result-item {
|
| 157 |
display: flex;
|
| 158 |
align-items: center;
|
|
|
|
| 242 |
font-family: monospace;
|
| 243 |
}
|
| 244 |
|
| 245 |
+
/* -- Results Footer ------------------------------------------------ */
|
| 246 |
.results-footer {
|
| 247 |
display: flex;
|
| 248 |
align-items: center;
|
|
|
|
| 271 |
font-size: 11px;
|
| 272 |
}
|
| 273 |
|
| 274 |
+
/* -- Empty State --------------------------------------------------- */
|
| 275 |
.empty-state {
|
| 276 |
padding: 40px 20px;
|
| 277 |
text-align: center;
|
|
|
|
| 331 |
text-align: left;
|
| 332 |
}
|
| 333 |
|
| 334 |
+
/* -- No Results ---------------------------------------------------- */
|
| 335 |
.no-results {
|
| 336 |
padding: 40px 20px;
|
| 337 |
text-align: center;
|
|
|
|
| 363 |
display: block;
|
| 364 |
}
|
| 365 |
|
| 366 |
+
/* -- Animations ---------------------------------------------------- */
|
| 367 |
.result-item {
|
| 368 |
animation: fadeIn 0.1s ease-out;
|
| 369 |
}
|
|
|
|
| 379 |
}
|
| 380 |
}
|
| 381 |
|
| 382 |
+
/* -- Responsive ---------------------------------------------------- */
|
| 383 |
@media (max-width: 800px) {
|
| 384 |
.search-container {
|
| 385 |
width: 95vw;
|