dashboard #1

Merged
andi merged 118 commits from dashboard into master 2024-09-29 06:47:35 +00:00
2 changed files with 16 additions and 7 deletions
Showing only changes of commit b0467c4571 - Show all commits

View File

@@ -5,10 +5,12 @@
class="plot-view--legend" class="plot-view--legend"
[cdkDragFreeDragPosition]="legendInitialPosition"> [cdkDragFreeDragPosition]="legendInitialPosition">
<div cdkDragHandle></div> <div cdkDragHandle></div>
<div class="plot-view--legend-content">
<ol> <ol>
<li *ngFor="let stat of dataSeries()"><div class="{{ pointTypeClass(stat.dashTypeAndColor) }}" title="{{ stat.name }}"></div>{{ stat.name }}</li> <li *ngFor="let stat of dataSeries()"><div class="{{ pointTypeClass(stat.dashTypeAndColor) }}" title="{{ stat.name }}"></div>{{ stat.name }}</li>
</ol> </ol>
</div> </div>
</div>
<div <div
*ngIf="imageUrl"> *ngIf="imageUrl">
<div <div

View File

@@ -23,7 +23,6 @@ img {
} }
.plot-view--legend { .plot-view--legend {
padding-bottom: 0.5em;
border: solid 1px #ccc; border: solid 1px #ccc;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -36,9 +35,6 @@ img {
0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12); 0 1px 5px 0 rgba(0, 0, 0, 0.12);
background-color: white; background-color: white;
max-height: 30em;
overflow: auto;
max-width: 60em;
} }
.plot-view--legend:active { .plot-view--legend:active {
@@ -58,6 +54,15 @@ img {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAF0lEQVQI12P4//8/AwMDhGSEUFCAUwYAJl4R8Z1D4wIAAAAASUVORK5CYII=); background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAF0lEQVQI12P4//8/AwMDhGSEUFCAUwYAJl4R8Z1D4wIAAAAASUVORK5CYII=);
} }
.plot-view--legend-content {
max-height: 30em;
overflow: auto;
max-width: 60em;
overflow: auto;
resize: both;
padding-bottom: 0.5em;
}
.plot-view--legend ol { .plot-view--legend ol {
padding-inline-start: 0.7em; padding-inline-start: 0.7em;
} }
@@ -70,4 +75,6 @@ img {
} }
.plot-view--legend ol li .plot-details-plotType{ .plot-view--legend ol li .plot-details-plotType{
margin-right: 0.3em; margin-right: 0.3em;
flex-shrink: 0;
flex-grow: 0;
} }