74 lines
No EOL
1.4 KiB
CSS
74 lines
No EOL
1.4 KiB
CSS
/* Custom styles for Fitness Parser */
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
}
|
|
|
|
/* Sidebar navigation */
|
|
.sidebar .nav-link:hover:not(.active) {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.sidebar {
|
|
flex: 0 0 15rem;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|
|
/* Lets wide tables scroll inside the content instead of stretching the page */
|
|
.content {
|
|
min-width: 0;
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid #ddd;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn {
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Text with a tooltip */
|
|
.has-tip {
|
|
cursor: help;
|
|
border-bottom: 1px dotted currentColor;
|
|
}
|
|
|
|
/* Trainings table */
|
|
td.date {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* DataTables right-aligns columns it detects as dates; dates read better on the left.
|
|
Same selector as in dataTables.bootstrap5.min.css, this file is loaded after it. */
|
|
table.dataTable th.dt-type-date,
|
|
table.dataTable td.dt-type-date {
|
|
text-align: left;
|
|
}
|
|
|
|
.approach {
|
|
display: inline-block;
|
|
margin: 0 0.35rem 0.15rem 0;
|
|
padding: 0.05rem 0.5rem;
|
|
border-radius: 0.75rem;
|
|
background: #eef2f7;
|
|
font-size: 0.875rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
margin-top: auto;
|
|
border-top: 1px solid #ddd;
|
|
} |