mirror of https://github.com/kortix-ai/suna.git
247 lines
4.2 KiB
CSS
247 lines
4.2 KiB
CSS
:root {
|
|
--bg-dark: #0b0e11;
|
|
--bg-darker: #121619;
|
|
--primary-color: #1b2028;
|
|
--accent-color: #2968ff;
|
|
--text-light: #ffffff;
|
|
--text-muted: #8a8f9b;
|
|
--green: #02c077;
|
|
--red: #f84960;
|
|
--border-color: #2c3035;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
background-color: var(--bg-dark);
|
|
color: var(--text-light);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.app-container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid var(--primary-color);
|
|
}
|
|
|
|
.navbar .logo {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.navbar nav ul {
|
|
display: flex;
|
|
list-style: none;
|
|
}
|
|
|
|
.navbar nav ul li {
|
|
margin: 0 15px;
|
|
}
|
|
|
|
.navbar nav ul li a {
|
|
color: var(--text-light);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.navbar nav ul li a:hover {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.user-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.login-btn, .signup-btn {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.login-btn {
|
|
background-color: var(--primary-color);
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.signup-btn {
|
|
background-color: var(--accent-color);
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.dashboard {
|
|
display: grid;
|
|
grid-template-columns: 3fr 1fr;
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.trading-panel {
|
|
background-color: var(--bg-darker);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.market-overview {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.crypto-pairs {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.pair {
|
|
padding: 8px 15px;
|
|
background-color: var(--primary-color);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
opacity: 0.7;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.pair.active {
|
|
opacity: 1;
|
|
background-color: var(--accent-color);
|
|
}
|
|
|
|
.price-chart {
|
|
background-color: var(--bg-dark);
|
|
height: 300px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.trading-interface {
|
|
background-color: var(--bg-dark);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.order-types {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.order-type {
|
|
padding: 10px 20px;
|
|
background-color: var(--primary-color);
|
|
border: none;
|
|
color: var(--text-light);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.order-type.active {
|
|
background-color: var(--accent-color);
|
|
}
|
|
|
|
.order-form {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
.amount-input, .price-input {
|
|
padding: 10px;
|
|
background-color: var(--primary-color);
|
|
border: none;
|
|
color: var(--text-light);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.buy-btn, .sell-btn {
|
|
padding: 12px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-light);
|
|
cursor: pointer;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.buy-btn {
|
|
background-color: green;
|
|
}
|
|
|
|
.sell-btn {
|
|
background-color: red;
|
|
}
|
|
|
|
.bot-management {
|
|
background-color: var(--bg-darker);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.bot-list {
|
|
display: grid;
|
|
gap: 15px;
|
|
}
|
|
|
|
.bot-card {
|
|
background-color: var(--bg-dark);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.bot-stats {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.configure-bot {
|
|
background-color: var(--accent-color);
|
|
color: var(--text-light);
|
|
border: none;
|
|
padding: 8px 15px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
footer {
|
|
margin-top: 20px;
|
|
padding: 20px 0;
|
|
border-top: 1px solid var(--primary-color);
|
|
text-align: center;
|
|
}
|
|
|
|
.legal-links {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.legal-links a {
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.dashboard {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
} |