File size: 3,005 Bytes
c23a645 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | /* Dashboard specific styles - Light Mode */
.dashboard-header {
margin-bottom: 40px;
animation: fadeIn 0.8s ease-out;
}
.page-title {
font-size: 42px;
font-weight: 800;
color: var(--text-main);
margin-bottom: 8px;
font-family: 'Syne', sans-serif;
letter-spacing: -1px;
}
.status-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: white;
border: 1px solid var(--border-glass);
border-radius: 50px;
color: var(--primary-dark);
font-size: 13px;
font-weight: 600;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.status-dot {
width: 8px;
height: 8px;
background: var(--primary);
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(0, 180, 166, 0.4);
}
70% {
box-shadow: 0 0 0 8px rgba(0, 180, 166, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(0, 180, 166, 0);
}
}
/* Stocks Grid */
.stocks-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
margin-top: 30px;
}
.stock-card {
padding: 30px;
position: relative;
overflow: hidden;
border-color: var(--border-glass);
}
.stock-card::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100px;
height: 100px;
background: radial-gradient(circle at top right, var(--primary-glow), transparent 70%);
opacity: 0.8;
}
.stock-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 20px;
}
.stock-symbol {
font-size: 28px;
font-weight: 800;
color: var(--text-main);
font-family: 'Syne', sans-serif;
}
.stock-trend-icon {
font-size: 24px;
}
.stock-name {
font-size: 14px;
color: var(--text-dim);
margin-bottom: 20px;
font-weight: 500;
}
.stock-price {
font-size: 44px;
font-weight: 800;
color: var(--text-main);
margin-bottom: 12px;
letter-spacing: -1.5px;
}
.stock-change {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: 12px;
font-size: 14px;
font-weight: 700;
}
.stock-change.positive {
background: #d1fae5;
color: #065f46;
}
/* Emeral 100/900 */
.stock-change.negative {
background: #fee2e2;
color: #991b1b;
}
/* Red 100/900 */
.stock-meta {
display: flex;
justify-content: space-between;
padding-top: 20px;
margin-top: 20px;
border-top: 1px solid var(--border-glass);
}
.meta-label {
font-size: 11px;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 1px;
display: block;
}
.meta-value {
font-size: 15px;
color: var(--text-main);
font-weight: 600;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
} |