Spaces:
Sleeping
Sleeping
dhruv575 commited on
Commit ·
5d167d3
1
Parent(s): 09368f6
Trade always option
Browse files- static/index.html +3 -2
- static/styles.css +13 -13
static/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Safe Choices - Prediction Market Simulation</title>
|
| 7 |
-
<link rel="stylesheet" href="/static/styles.css?v=
|
| 8 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 9 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 10 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
@@ -223,6 +223,7 @@
|
|
| 223 |
<option value="0.02">Conservative</option>
|
| 224 |
<option value="0.04" selected>Moderate</option>
|
| 225 |
<option value="0.06">Aggressive</option>
|
|
|
|
| 226 |
</select>
|
| 227 |
</div>
|
| 228 |
|
|
@@ -545,6 +546,6 @@
|
|
| 545 |
</div>
|
| 546 |
</main>
|
| 547 |
|
| 548 |
-
<script src="/static/script.js?v=
|
| 549 |
</body>
|
| 550 |
</html>
|
|
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Safe Choices - Prediction Market Simulation</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/styles.css?v=12">
|
| 8 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 9 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 10 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
| 223 |
<option value="0.02">Conservative</option>
|
| 224 |
<option value="0.04" selected>Moderate</option>
|
| 225 |
<option value="0.06">Aggressive</option>
|
| 226 |
+
<option value="1.0">Every Possible Day</option>
|
| 227 |
</select>
|
| 228 |
</div>
|
| 229 |
|
|
|
|
| 546 |
</div>
|
| 547 |
</main>
|
| 548 |
|
| 549 |
+
<script src="/static/script.js?v=12"></script>
|
| 550 |
</body>
|
| 551 |
</html>
|
static/styles.css
CHANGED
|
@@ -346,22 +346,22 @@ body {
|
|
| 346 |
/* ===== PARAMETERS ===== */
|
| 347 |
.params-grid {
|
| 348 |
display: grid;
|
| 349 |
-
grid-template-columns: repeat(auto-fill, minmax(
|
| 350 |
-
gap:
|
| 351 |
margin-bottom: 24px;
|
| 352 |
}
|
| 353 |
|
| 354 |
.param-group {
|
| 355 |
display: flex;
|
| 356 |
flex-direction: column;
|
| 357 |
-
gap:
|
| 358 |
}
|
| 359 |
|
| 360 |
.param-label {
|
| 361 |
display: flex;
|
| 362 |
align-items: center;
|
| 363 |
-
gap:
|
| 364 |
-
font-size:
|
| 365 |
font-weight: 500;
|
| 366 |
color: var(--text-secondary);
|
| 367 |
}
|
|
@@ -421,12 +421,12 @@ body {
|
|
| 421 |
|
| 422 |
.param-input {
|
| 423 |
width: 100%;
|
| 424 |
-
padding:
|
| 425 |
background: var(--bg-base);
|
| 426 |
border: 1px solid var(--border);
|
| 427 |
border-radius: var(--radius-sm);
|
| 428 |
color: var(--text-primary);
|
| 429 |
-
font-size:
|
| 430 |
font-weight: 500;
|
| 431 |
font-family: var(--font);
|
| 432 |
transition: all 0.2s;
|
|
@@ -439,13 +439,13 @@ body {
|
|
| 439 |
}
|
| 440 |
|
| 441 |
.param-input-wrap .param-input {
|
| 442 |
-
padding-right:
|
| 443 |
}
|
| 444 |
|
| 445 |
.param-unit {
|
| 446 |
position: absolute;
|
| 447 |
-
right:
|
| 448 |
-
font-size:
|
| 449 |
color: var(--text-muted);
|
| 450 |
pointer-events: none;
|
| 451 |
}
|
|
@@ -453,10 +453,10 @@ body {
|
|
| 453 |
.param-select {
|
| 454 |
cursor: pointer;
|
| 455 |
appearance: none;
|
| 456 |
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='
|
| 457 |
background-repeat: no-repeat;
|
| 458 |
-
background-position: right
|
| 459 |
-
padding-right:
|
| 460 |
}
|
| 461 |
|
| 462 |
.custom-target-input {
|
|
|
|
| 346 |
/* ===== PARAMETERS ===== */
|
| 347 |
.params-grid {
|
| 348 |
display: grid;
|
| 349 |
+
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
| 350 |
+
gap: 12px;
|
| 351 |
margin-bottom: 24px;
|
| 352 |
}
|
| 353 |
|
| 354 |
.param-group {
|
| 355 |
display: flex;
|
| 356 |
flex-direction: column;
|
| 357 |
+
gap: 6px;
|
| 358 |
}
|
| 359 |
|
| 360 |
.param-label {
|
| 361 |
display: flex;
|
| 362 |
align-items: center;
|
| 363 |
+
gap: 4px;
|
| 364 |
+
font-size: 11px;
|
| 365 |
font-weight: 500;
|
| 366 |
color: var(--text-secondary);
|
| 367 |
}
|
|
|
|
| 421 |
|
| 422 |
.param-input {
|
| 423 |
width: 100%;
|
| 424 |
+
padding: 8px 10px;
|
| 425 |
background: var(--bg-base);
|
| 426 |
border: 1px solid var(--border);
|
| 427 |
border-radius: var(--radius-sm);
|
| 428 |
color: var(--text-primary);
|
| 429 |
+
font-size: 13px;
|
| 430 |
font-weight: 500;
|
| 431 |
font-family: var(--font);
|
| 432 |
transition: all 0.2s;
|
|
|
|
| 439 |
}
|
| 440 |
|
| 441 |
.param-input-wrap .param-input {
|
| 442 |
+
padding-right: 36px;
|
| 443 |
}
|
| 444 |
|
| 445 |
.param-unit {
|
| 446 |
position: absolute;
|
| 447 |
+
right: 8px;
|
| 448 |
+
font-size: 11px;
|
| 449 |
color: var(--text-muted);
|
| 450 |
pointer-events: none;
|
| 451 |
}
|
|
|
|
| 453 |
.param-select {
|
| 454 |
cursor: pointer;
|
| 455 |
appearance: none;
|
| 456 |
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
|
| 457 |
background-repeat: no-repeat;
|
| 458 |
+
background-position: right 8px center;
|
| 459 |
+
padding-right: 28px;
|
| 460 |
}
|
| 461 |
|
| 462 |
.custom-target-input {
|