Add support for html plots

This commit is contained in:
Kylian Schmidt
2025-09-26 12:59:49 +02:00
parent 041c761df0
commit a8f2166dde
3 changed files with 123 additions and 32 deletions
+38
View File
@@ -0,0 +1,38 @@
/* Styles for HTML plots */
.plot-item.html-plot .plot-link {
position: relative;
}
.plot-item.html-plot .html-thumbnail {
background: #f5f5f5;
border: 1px solid #ddd;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 200px;
text-align: center;
padding: 20px;
}
.plot-item.html-plot .html-indicator {
position: absolute;
top: 5px;
right: 5px;
background: #4CAF50;
color: white;
padding: 2px 6px;
border-radius: 3px;
font-size: 0.8em;
}
.plot-item.html-plot .html-preview {
color: #666;
margin-top: 10px;
font-size: 0.9em;
}
/* Add a hover effect */
.plot-item.html-plot .plot-link:hover .html-thumbnail {
background: #e8e8e8;
}