mirror of
https://github.com/h-sphere/sql-seal-charts.git
synced 2026-07-22 12:00:28 +00:00
81 lines
No EOL
1.7 KiB
CSS
81 lines
No EOL
1.7 KiB
CSS
.sqlseal-charts-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
position: relative;
|
|
}
|
|
|
|
.sqlseal-charts-container:hover .sqlseal-chart-header {
|
|
opacity: 1;
|
|
}
|
|
|
|
.sqlseal-chart-header {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
z-index: 10;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.sqlseal-fullscreen-button {
|
|
background: var(--background-modifier-hover);
|
|
border: none;
|
|
border-radius: var(--radius-s);
|
|
padding: 4px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0.7;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.sqlseal-fullscreen-button:hover {
|
|
background: var(--background-modifier-border-hover);
|
|
opacity: 1;
|
|
}
|
|
|
|
.sqlseal-chart-content {
|
|
width: 100%;
|
|
height: 100%;
|
|
flex: 1;
|
|
}
|
|
|
|
.sqlseal-fullscreen-modal {
|
|
z-index: 9999;
|
|
width: 100vw !important;
|
|
height: 100vh !important;
|
|
max-width: none !important;
|
|
max-height: none !important;
|
|
left: 0 !important;
|
|
top: 0 !important;
|
|
transform: none !important;
|
|
margin: 0 !important;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.sqlseal-fullscreen-modal.loaded {
|
|
opacity: 1;
|
|
}
|
|
|
|
.sqlseal-fullscreen-modal .modal-content {
|
|
width: 95vw !important;
|
|
height: 90vh !important;
|
|
max-width: none !important;
|
|
max-height: none !important;
|
|
margin: 2.5vh 2.5vw !important;
|
|
position: absolute !important;
|
|
left: 2.5vw !important;
|
|
top: 5vh !important;
|
|
}
|
|
|
|
.sqlseal-fullscreen-chart-container {
|
|
width: 100%;
|
|
height: calc(90vh - 40px);
|
|
min-height: 400px;
|
|
} |