Upload files to "static/css"

This commit is contained in:
Blackwhitebear8 2025-07-06 17:59:27 +02:00
parent 744f764484
commit 8b7378ebaa
2 changed files with 400 additions and 0 deletions

6
static/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

394
static/css/style.css Normal file
View file

@ -0,0 +1,394 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
color: #333;
}
header {
position: relative;
background: #2D2E43;
background-size: cover;
color: white;
padding: 40px 20px;
text-align: center;
}
header::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
header h1, header p {
position: relative;
z-index: 2;
}
header h1 {
margin: 0;
font-size: 2.5em;
}
.header-content {
position: relative;
z-index: 2; /* hoger dan de overlay */
}
main {
padding: 20px;
max-width: 1440px;
margin: 0 auto;
}
section {
background: white;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
section h2 {
color: #07AAF9;
margin-top: 0;
}
footer {
background-color: #2D2E43;
color: white;
text-align: center;
padding: 10px 0;
margin-top: 20px;
}
.container {
display: flex;
gap: 50px;
}
.upstreamcon {
border: 2px solid #07AAF9;
border-radius: 8px;
padding: 10px;
width: 45%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
th.sortable {
cursor: pointer;
}
.sort-arrow::after {
content: "⇅";
margin-left: 5px;
opacity: 0.4;
}
th.asc .sort-arrow::after {
content: "▲";
opacity: 1;
}
th.desc .sort-arrow::after {
content: "▼";
opacity: 1;
}
.spinner-border {
width: 4rem;
height: 4rem;
margin-top: 6rem;
margin-bottom: 6rem;
border-width: 0.4em;
}
.spinner-border {
width: 4rem;
height: 4rem;
margin-top: 6rem;
margin-bottom: 6rem;
border-width: 0.4em;
}
#refreshSpinner.spinner-border,
#refreshSpinner2.spinner-border {
width: 0.84rem;
height: 0.84rem;
margin-top: 0rem;
margin-bottom: 0rem;
border-width: 0.15em;
vertical-align: text-bottom;
}
#bgpOutput {
white-space: pre-wrap;
background-color: #1e1e1e;
color: #d4d4d4;
padding: 1rem;
border-radius: 5px;
min-height: 400px;
min-width: 800px;
height: 100%;
overflow-y: auto;
font-family: Consolas, monospace, monospace;
border: 1px solid #444;
}
.asn-highlight {
color: #e67e22;
font-weight: bold;
}
.asn215085-highlight {
color: #07AAF9;
font-weight: bold;
}
strong.best-line {
font-weight: bold;
}
#achart-container {
display: flex;
gap: 4rem;
flex-wrap: wrap;
justify-content: center;
max-width: 100%;
}
.achart-wrapper {
width: 220px;
position: relative;
overflow: visible;
text-align: center;
}
canvas {
max-width: 100%;
height: auto !important;
}
.alegend ul {
display: flex;
flex-wrap: wrap;
padding: 0;
margin-top: 1rem;
gap: 0.5rem 1rem;
list-style: none;
justify-content: center;
}
.alegend li {
display: flex;
align-items: center;
white-space: nowrap;
}
.alegend-color {
display: inline-block;
width: 12px;
height: 12px;
margin-right: 6px;
vertical-align: middle;
border-radius: 2px;
}
.achart-wrapper-chart{
width: 1300px;
height: 600px;
position: relative;
flex-wrap: wrap;
justify-content: center;
max-width: 100%;
}
.achart-wrapper-chart canvas{
width: 100%!important;
height: 100%!important;
}
.stats-overview-container {
display: flex;
justify-content: space-between;
align-items: center;
}
#stats-container {
text-align: right;
display: flex;
gap: 1em;
}
#stats-container p {
margin: 0;
}
#legend1 li.inactive,
#legend2 li.inactive,
#legend3 li.inactive,
#legend4 li.inactive,
#legend5 li.inactive {
opacity: 0.5;
text-decoration: line-through;
}
.info-icon {
cursor: pointer;
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;
border: 1px solid #ddd;
border-radius: 8px;
margin-top: 20px;
}
#bgprtv-mynetwork .vis-network,
#bgprtv-mynetwork canvas {
height: 100% !important;
}
.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;
}
.bgprtv-legend-line.multipath {
border-top: 2px solid #F39C12;
}
.bgprtv-legend-node.multipath-node {
background-color: #FDEBD0;
}
.bgprtv-filter-title {
margin: 0;
font-size: 14px;
font-weight: bold;
color: #555;
}
.bgprtv-legend-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px 25px;
padding: 15px;
margin-bottom: 20px;
border: 1px solid #dee2e6;
border-radius: 8px;
background-color: #fff;
}
.bgprtv-filter-container {
flex-basis: 100%;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 15px;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid #eee;
}
#bgprtv-filter-controls {
display: flex;
flex-wrap: wrap;
gap: 10px 15px;
align-items: center;
}
#bgprtv-filter-controls label {
margin: 0;
font-weight: normal;
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
}
.bgprtv-filter-separator {
display: inline-block;
border-left: 1px solid #ccc;
height: 16px;
margin: 0 5px;
}