Spaces:
Running
Running
File size: 1,754 Bytes
fb19a97 70656b2 fb19a97 70656b2 fb19a97 70656b2 fb19a97 70656b2 fb19a97 70656b2 fb19a97 70656b2 fb19a97 70656b2 fb19a97 70656b2 fb19a97 70656b2 fb19a97 | 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 | .chart-help-container {
z-index: 10;
}
.chart-help-container.absolute {
position: absolute;
top: 10px;
right: 10px;
}
.chart-help-container.inline {
display: inline-flex;
vertical-align: middle;
margin-left: 8px;
position: relative;
}
.chart-help-btn {
width: 20px;
height: 20px;
padding: 0;
font-size: 14px;
border-radius: 50%;
background: transparent !important;
color: inherit !important;
border: none !important;
cursor: pointer;
box-shadow: none !important;
transition: transform 0.2s;
display: flex;
align-items: center;
justify-content: center;
}
.chart-help-btn:hover, .chart-help-btn.active {
transform: scale(1.15);
}
.chart-help-popup {
position: absolute;
top: 100%;
margin-top: 8px;
right: 0;
z-index: 20;
width: 280px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: var(--shadow-lg);
padding: 12px;
animation: fadeIn 0.2s ease-out;
}
.chart-help-container.inline .chart-help-popup {
left: 0;
right: auto;
}
.chart-help-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
border-bottom: 1px solid var(--border);
padding-bottom: 8px;
}
.chart-help-header h4 {
margin: 0;
font-size: 0.9rem;
color: var(--text-main);
}
.chart-help-close {
background: none;
border: none;
color: var(--text-muted);
font-size: 1.2rem;
cursor: pointer;
padding: 0;
line-height: 1;
}
.chart-help-close:hover {
color: var(--text-main);
}
.chart-help-body {
font-size: 0.85rem;
color: var(--text-secondary);
line-height: 1.4;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}
|