Add support for html plots
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user