Update static/css/style.css

This commit is contained in:
Blackwhitebear8 2025-07-05 16:20:05 +02:00
parent 97199414e6
commit fb7fa7f334

View file

@ -250,4 +250,95 @@ canvas {
.info-icon { .info-icon {
cursor: pointer; cursor: pointer;
font-weight: bold; font-weight: bold;
} }
.bgprtv-container {
max-width: 100%;
margin: 0 auto;
padding: 0px;
}
.bgprtv-h1 {
text-align: center;
color: #212529;
}
.bgprtv-form-container {
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
.bgprtv-input {
width: calc(100% - 110px);
padding: 12px;
border: 1px solid #ced4da;
border-radius: 4px;
font-size: 16px;
}
.bgprtv-submit {
width: 100px;
padding: 12px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-left: 10px;
}
#bgprtv-mynetwork {
width: 100%;
min-height: 60vh; /* Geef de container een goede minimale hoogte */
height: 60vh;
border: 1px solid #ddd;
border-radius: 8px;
margin-top: 20px;
}
#bgprtv-mynetwork .vis-network,
#bgprtv-mynetwork canvas {
height: 100% !important; /* Forceer het canvas om de container te vullen */
}
.bgprtv-legend-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 25px;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #dee2e6;
border-radius: 8px;
background-color: #fff;
}
.bgprtv-legend-item {
display: flex;
align-items: center;
font-size: 14px;
}
.bgprtv-legend-symbol {
margin-right: 10px;
flex-shrink: 0;
}
.bgprtv-legend-line {
height: 0;
width: 40px;
}
.bgprtv-legend-line.best-path {
border-top: 3px solid #C0392B;
}
.bgprtv-legend-line.alt-path {
border-top: 2px dashed #2C3E50;
}
.bgprtv-legend-node {
display: inline-block;
width: 25px;
height: 20px;
border: 2px solid #343a40;
border-radius: 3px;
}
.bgprtv-legend-node.best-path-node {
background-color: #FADBD8;
}
.bgprtv-legend-node.alt-path-node {
background-color: #D6DBDF;
}