Files
sim-link/src/lib/dashboard.css
2026-02-21 22:21:05 -05:00

154 lines
2.2 KiB
CSS

:global(body) {
font-family: "JetBrains Mono", Courier, monospace;
background-color: #ffffff;
color: #000000;
}
.page-layout {
display: flex;
gap: 30px;
align-items: flex-start;
}
.sidebar {
width: 300px;
flex-shrink: 0;
}
.table-content {
flex-grow: 1;
overflow-x: auto;
}
table {
border-collapse: collapse;
width: 100%;
margin-bottom: 20px;
}
th,
td {
border: 1px solid #000000;
padding: 12px;
text-align: left;
}
th {
background-color: #e0e0e0;
}
tbody tr:nth-child(even) {
background-color: #f9f9f9;
}
h1 {
font-size: 28px;
margin-bottom: 30px;
padding-bottom: 10px;
border-bottom: 2px solid #000;
}
a {
color: #0000ff;
text-decoration: underline;
}
a:visited {
color: #800080;
}
.error {
color: red;
font-weight: bold;
margin-bottom: 20px;
}
.filter-group {
border: 1px solid #000;
margin-bottom: 10px;
background-color: #f9f9f9;
}
summary {
font-weight: bold;
padding: 10px;
cursor: pointer;
background-color: #e0e0e0;
border-bottom: 1px solid #000;
}
details:not([open]) summary {
border-bottom: none;
}
.filter-content {
padding: 15px;
display: flex;
flex-direction: column;
gap: 15px;
}
.filter-content.col {
gap: 10px;
}
.full-width {
width: 100%;
box-sizing: border-box;
}
label {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
font-size: 14px;
font-weight: bold;
}
.input-field {
padding: 5px;
border: 1px solid #000;
font-family: inherit;
}
.small-num {
width: 70px;
}
.pagination {
margin-top: 20px;
display: flex;
align-items: center;
gap: 15px;
}
button {
padding: 5px 10px;
border: 1px solid #000;
background-color: #e0e0e0;
cursor: pointer;
font-family: inherit;
}
button:disabled {
background-color: #f0f0f0;
color: #888;
cursor: not-allowed;
}
/* Mobile Responsive Scaling */
@media (max-width: 768px) {
.page-layout {
flex-direction: column;
}
.sidebar {
width: 100%;
}
.table-content {
width: 100%;
overflow-x: auto;
}
}