Spaces:
Running

volatilitybot-pro / style.css
Fraqim's picture
Add martingale 0.5 incase of a loss to recover
fab03ee verified
Raw History Blame Contribute Delete
3.67 kB
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #0f172a;
}
::-webkit-scrollbar-thumb {
background: #334155;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #475569;
}
/* Glassmorphism Utilities */
.glass {
background: rgba(30, 41, 59, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Chart Animations */
.candle-rise {
animation: candleRise 0.3s ease-out;
}
.candle-fall {
animation: candleFall 0.3s ease-out;
}
@keyframes candleRise {
from { transform: scaleY(0); opacity: 0; }
to { transform: scaleY(1); opacity: 1; }
}
@keyframes candleFall {
from { transform: scaleY(0); opacity: 0; }
to { transform: scaleY(1); opacity: 1; }
}
/* Pulse Animation for Live Indicator */
.live-pulse {
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
animation: livePulse 2s infinite;
}
@keyframes livePulse {
0% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
}
100% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
}
}
/* Gradient Text */
.gradient-text {
background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Neon Glow Effects */
.neon-border {
box-shadow: 0 0 5px rgba(99, 102, 241, 0.5),
0 0 20px rgba(99, 102, 241, 0.3),
inset 0 0 10px rgba(99, 102, 241, 0.1);
}
/* Custom Range Slider */
input[type=range] {
-webkit-appearance: none;
width: 100%;
background: transparent;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: #6366f1;
cursor: pointer;
margin-top: -6px;
box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
cursor: pointer;
background: #334155;
border-radius: 2px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #475569;
}
/* Toggle Switch */
.toggle-checkbox:checked {
right: 0;
border-color: #6366f1;
}
.toggle-checkbox:checked + .toggle-label {
background-color: #6366f1;
}
/* Trading Line Animation */
.trading-line {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: drawLine 2s ease-out forwards;
}
@keyframes drawLine {
to {
stroke-dashoffset: 0;
}
}
/* Profit/Loss Colors */
.profit-text {
color: #10b981;
text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.loss-text {
color: #f43f5e;
text-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}
/* Grid Background */
.grid-bg {
background-image:
linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
background-size: 20px 20px;
}
/* Loading Spinner */
.spinner {
border: 3px solid rgba(99, 102, 241, 0.3);
border-radius: 50%;
border-top: 3px solid #6366f1;
width: 24px;
height: 24px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Responsive Table */
@media (max-width: 640px) {
.responsive-table {
display: block;
overflow-x: auto;
white-space: nowrap;
}
}