assets/ml-style.css (149 lines of code) (raw):
body {
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.content {
margin-left: 260px;
margin-right: 40px;
padding: 20px;
align-items: center;
}
.sidebar {
height: 100vh;
width: 260px;
padding: 20px;
background-color: #333;
color: white;
position: fixed;
top: 0;
left: 0;
overflow-y: auto;
box-sizing: border-box;
}
.sidebar a {
display: block;
color: white;
padding: 10px 0;
text-decoration: none;
}
.sidebar a:hover {
background-color: #575757;
}
.sidebar .dropdown {
margin-bottom: 20px;
}
.dropdown select {
width: 100%;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 16px;
}
.dropdown input {
width: 40%;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 16px;
}
.row {
width: 100%;
margin-bottom: 30px;
}
.content-title {
font-size: 30px;
font-weight: bold;
margin-bottom: 30px;
text-align: center;
width: 100%;
}
.row-title {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
border-bottom: 3px double #000;
text-align: center;
width: 100%;
}
.table-container {
width: 100%;
margin-bottom: 30px;
display: flex;
align-items: center;
flex-direction: row;
justify-content: center;
gap: 20px;
}
.content-row {
width: 100%;
height: 400px;
margin-bottom: 30px;
display: flex;
align-items: center;
flex-direction: row;
justify-content: center;
gap: 20px;
}
.canvas-column canvas {
width: 100%;
height: 400px;
background-color: white;
border-radius: 1px;
align-items: center;
}
.metric-container {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
padding: 10px;
margin-top: 10px;
}
.metric-item {
padding: 5px 10px;
margin: 0 5px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f9f9f9;
font-size: 14px;
font-weight: bold;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 10px;
}
th {
padding: 10px;
text-align: center;
border-bottom: 1px solid #ddd;
font-size: 14px;
word-wrap: break-word;
background-color: #f2f2f2;
}
td {
padding: 10px;
text-align: left;
border-bottom: 1px solid #ddd;
font-size: 14px;
word-wrap: break-word;
}
/* Highlight all cells except the suite cell */
#summary-table tbody tr:hover td {
background-color: #f0f0f0;
}
/* Prevent suite cell from inheriting hover styles */
#summary-table tbody tr:hover td[rowspan] {
background-color: transparent;
}
.negative-difference {
color: red;
}
.positive-difference {
color: green;
}