feat: Implement comprehensive Forex Trading Journal platform with Myfxbook analytics
This commit is contained in:
@@ -0,0 +1,218 @@
|
||||
/*
|
||||
* Forex Trading Journal Pro • Myfxbook Style Theme
|
||||
*/
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');
|
||||
|
||||
:root {
|
||||
--font-main: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
--font-mono: 'JetBrains Mono', monospace;
|
||||
|
||||
/* Dark Theme Default */
|
||||
--bg-main: #0B0F19;
|
||||
--bg-card: #111827;
|
||||
--bg-card-hover: #1F2937;
|
||||
--bg-input: #1A2234;
|
||||
--border-color: #1F293D;
|
||||
--text-primary: #F3F4F6;
|
||||
--text-secondary: #9CA3AF;
|
||||
--text-muted: #6B7280;
|
||||
|
||||
--color-green: #10B981;
|
||||
--color-green-soft: rgba(16, 185, 129, 0.15);
|
||||
--color-red: #EF4444;
|
||||
--color-red-soft: rgba(239, 68, 68, 0.15);
|
||||
--color-blue: #3B82F6;
|
||||
--color-blue-soft: rgba(59, 130, 246, 0.15);
|
||||
--color-purple: #8B5CF6;
|
||||
--color-amber: #F59E0B;
|
||||
}
|
||||
|
||||
body.light-mode {
|
||||
--bg-main: #F4F6F9;
|
||||
--bg-card: #FFFFFF;
|
||||
--bg-card-hover: #F8FAFC;
|
||||
--bg-input: #EDF2F7;
|
||||
--border-color: #E2E8F0;
|
||||
--text-primary: #0F172A;
|
||||
--text-secondary: #475569;
|
||||
--text-muted: #94A3B8;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-main);
|
||||
background-color: var(--bg-main);
|
||||
color: var(--text-primary);
|
||||
direction: rtl;
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
transition: background-color 0.25s ease, color 0.25s ease;
|
||||
}
|
||||
|
||||
.num-font {
|
||||
font-family: var(--font-mono);
|
||||
direction: ltr;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Custom Scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--bg-main);
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #374151;
|
||||
border-radius: 4px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #4B5563;
|
||||
}
|
||||
|
||||
/* Cards & Glassmorphism */
|
||||
.glass-card {
|
||||
background-color: var(--bg-card);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25);
|
||||
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.glass-card:hover {
|
||||
border-color: rgba(59, 130, 246, 0.3);
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.stat-card::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, var(--color-blue), var(--color-purple));
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.stat-card:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
.nav-tab {
|
||||
padding: 10px 18px;
|
||||
font-weight: 600;
|
||||
font-size: 0.92rem;
|
||||
color: var(--text-secondary);
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-tab:hover {
|
||||
color: var(--text-primary);
|
||||
background-color: var(--bg-input);
|
||||
}
|
||||
|
||||
.nav-tab.active {
|
||||
color: #FFFFFF;
|
||||
background: linear-gradient(135deg, #2563EB, #1D4ED8);
|
||||
box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
|
||||
}
|
||||
|
||||
/* Badges */
|
||||
.badge-buy {
|
||||
background-color: var(--color-green-soft);
|
||||
color: var(--color-green);
|
||||
border: 1px solid rgba(16, 185, 129, 0.3);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.badge-sell {
|
||||
background-color: var(--color-red-soft);
|
||||
color: var(--color-red);
|
||||
border: 1px solid rgba(239, 68, 68, 0.3);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.profit-pos {
|
||||
color: var(--color-green);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.profit-neg {
|
||||
color: var(--color-red);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Heatmap Grid Cell */
|
||||
.heatmap-cell {
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
.heatmap-cell:hover {
|
||||
transform: scale(1.05);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Modal Animations */
|
||||
.modal-backdrop {
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
backdrop-filter: blur(4px);
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: var(--bg-card);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
|
||||
animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
@keyframes modalIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.95) translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Table styles */
|
||||
.custom-table th {
|
||||
background-color: rgba(17, 24, 39, 0.6);
|
||||
color: var(--text-secondary);
|
||||
font-weight: 600;
|
||||
font-size: 0.82rem;
|
||||
padding: 12px 14px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.custom-table td {
|
||||
padding: 12px 14px;
|
||||
border-bottom: 1px solid rgba(31, 41, 61, 0.4);
|
||||
font-size: 0.88rem;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.custom-table tr:hover td {
|
||||
background-color: var(--bg-card-hover);
|
||||
}
|
||||
Reference in New Issue
Block a user