Evo-ERP/app/static/css/base.css
2024-11-06 02:55:13 +08:00

58 lines
1.0 KiB
CSS

@import 'utils/variables.css';
/* Base styles */
body {
font-family: 'Noto Sans TC', sans-serif;
min-height: 100vh;
background-color: var(--light-color);
overflow-x: hidden;
}
.main-wrapper {
margin-left: var(--sidebar-width);
min-height: 100vh;
transition: margin var(--transition-speed) ease;
}
.main-content {
padding: calc(var(--navbar-height) + var(--content-padding))
var(--content-padding)
var(--content-padding);
}
/* Alert styles */
.alert {
border-radius: var(--border-radius);
border: none;
margin-bottom: 1rem;
}
/* Button styles */
.btn {
padding: 0.5rem 1rem;
border-radius: var(--border-radius);
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn-icon {
padding: 0.5rem;
line-height: 1;
}
/* Badge styles */
.badge {
padding: 0.5em 0.8em;
font-weight: 500;
border-radius: var(--border-radius-sm);
}
/* Responsive */
@media (max-width: 991.98px) {
.main-wrapper {
margin-left: 0;
}
}