39428-vm/assets/css/custom.css
Flatlogic Bot 765d998fa1 V1
2026-04-01 10:36:51 +00:00

609 lines
11 KiB
CSS

:root {
--app-bg: #F1EFE3;
--app-surface: #FBFAF6;
--app-surface-strong: #FFFFFF;
--app-border: rgba(0, 0, 0, 0.10);
--app-border-strong: rgba(0, 0, 0, 0.16);
--app-text: #000000;
--app-muted: rgba(0, 0, 0, 0.62);
--app-primary: #68BB59;
--app-primary-strong: #32CD32;
--app-warning: #B88A1A;
--app-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
--radius-sm: 10px;
--radius-md: 14px;
--radius-lg: 18px;
--spacing-1: 0.25rem;
--spacing-2: 0.5rem;
--spacing-3: 0.75rem;
--spacing-4: 1rem;
--spacing-5: 1.5rem;
--spacing-6: 2rem;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
background: var(--app-bg);
color: var(--app-text);
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.5;
}
a {
color: inherit;
}
.app-shell,
.detail-shell {
min-height: 100vh;
}
.app-shell {
display: grid;
grid-template-columns: 100%;
}
.sidebar-panel {
background: rgba(255, 255, 255, 0.4);
border-bottom: 1px solid var(--app-border);
padding: var(--spacing-5);
display: flex;
flex-direction: column;
gap: var(--spacing-5);
}
.brand-mark {
display: inline-flex;
align-items: center;
gap: 0.8rem;
color: var(--app-text);
}
.brand-mark strong,
.profile-chip strong {
display: block;
font-size: 0.95rem;
font-weight: 600;
}
.brand-mark small,
.profile-chip small {
display: block;
color: var(--app-muted);
font-size: 0.75rem;
}
.brand-dot,
.profile-avatar {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.25rem;
height: 2.25rem;
border-radius: 50%;
background: var(--app-primary);
color: #fff;
font-weight: 700;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.sidebar-copy,
.table-subtext,
.activity-meta,
.text-muted,
.meta-list span,
.meta-list dd span {
color: var(--app-muted) !important;
}
.sidebar-nav {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.sidebar-link {
display: inline-flex;
align-items: center;
border: 1px solid var(--app-border);
padding: 0.55rem 0.8rem;
border-radius: var(--radius-sm);
text-decoration: none;
font-size: 0.9rem;
background: rgba(255, 255, 255, 0.65);
transition: border-color 0.2s ease, background-color 0.2s ease;
}
.sidebar-link:hover,
.sidebar-link.active {
border-color: rgba(104, 187, 89, 0.45);
background: rgba(104, 187, 89, 0.14);
}
.app-main {
display: flex;
flex-direction: column;
min-width: 0;
}
.topbar,
.detail-topbar {
padding: var(--spacing-5);
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--spacing-4);
}
.topbar {
border-bottom: 1px solid var(--app-border);
background: rgba(255, 255, 255, 0.55);
position: sticky;
top: 0;
z-index: 20;
backdrop-filter: blur(10px);
}
.topbar-tools {
display: flex;
align-items: center;
gap: var(--spacing-3);
width: 100%;
flex-wrap: wrap;
}
.search-shell {
flex: 1 1 220px;
}
.profile-chip,
.notification-pill {
display: inline-flex;
align-items: center;
gap: 0.7rem;
padding: 0.55rem 0.8rem;
border-radius: var(--radius-sm);
border: 1px solid var(--app-border);
background: var(--app-surface);
}
.compact-profile {
min-width: 0;
}
.notification-pill {
font-size: 0.88rem;
}
.app-content {
padding: var(--spacing-5);
}
.page-section {
margin-bottom: var(--spacing-6);
}
.surface-card,
.surface-subtle,
.hero-card,
.score-panel,
.comment-card,
.activity-item {
border: 1px solid var(--app-border);
background: var(--app-surface-strong);
border-radius: var(--radius-md);
box-shadow: var(--app-shadow);
}
.surface-card {
padding: var(--spacing-5);
}
.surface-subtle {
background: rgba(255, 255, 255, 0.7);
}
.compact-card {
padding: var(--spacing-4);
}
.hero-card {
display: grid;
gap: var(--spacing-5);
padding: var(--spacing-5);
}
.hero-copy h2,
.page-title,
.section-title {
font-weight: 600;
letter-spacing: -0.02em;
}
.page-title {
font-size: clamp(1.65rem, 3vw, 2.25rem);
}
.hero-copy h2 {
font-size: clamp(1.5rem, 2.6vw, 2.1rem);
margin: 0.35rem 0 0.75rem;
}
.hero-copy p {
max-width: 62ch;
color: var(--app-muted);
margin-bottom: 1rem;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-3);
}
.hero-aside {
border: 1px solid var(--app-border);
border-radius: var(--radius-md);
padding: var(--spacing-4);
background: rgba(104, 187, 89, 0.08);
}
.metric-inline {
display: flex;
justify-content: space-between;
gap: var(--spacing-3);
padding: 0.7rem 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.metric-inline:last-child {
border-bottom: 0;
}
.metric-inline span {
color: var(--app-muted);
font-size: 0.86rem;
}
.metric-inline strong,
.stat-value,
.score-panel strong {
font-size: 1.65rem;
font-weight: 700;
}
.section-kicker {
color: var(--app-primary);
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.section-title {
font-size: 1.2rem;
margin: 0.3rem 0 0;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: end;
gap: var(--spacing-4);
margin-bottom: var(--spacing-4);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: var(--spacing-4);
}
.stat-card {
padding: var(--spacing-4);
}
.stat-label {
font-size: 0.82rem;
color: var(--app-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.slim-progress {
height: 0.45rem;
margin-top: 0.75rem;
background: rgba(0, 0, 0, 0.06);
}
.progress-bar {
background: var(--app-primary);
}
.status-pill {
display: inline-flex;
align-items: center;
gap: 0.4rem;
font-size: 0.78rem;
font-weight: 600;
padding: 0.35rem 0.65rem;
border-radius: 999px;
border: 1px solid transparent;
}
.status-draft {
color: #7c5b00;
background: rgba(184, 138, 26, 0.12);
border-color: rgba(184, 138, 26, 0.18);
}
.status-pending {
color: #7c5b00;
background: rgba(255, 193, 7, 0.14);
border-color: rgba(255, 193, 7, 0.22);
}
.status-approved {
color: #1e6b27;
background: rgba(104, 187, 89, 0.14);
border-color: rgba(104, 187, 89, 0.22);
}
.table-card {
padding: 0;
overflow: hidden;
}
.app-table {
margin-bottom: 0;
}
.app-table thead th {
padding: 0.95rem 1rem;
font-size: 0.74rem;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--app-muted);
border-bottom-color: var(--app-border);
white-space: nowrap;
}
.app-table tbody td {
padding: 1rem;
border-bottom-color: rgba(0, 0, 0, 0.06);
vertical-align: middle;
}
.table-actions {
display: inline-flex;
justify-content: flex-end;
flex-wrap: wrap;
gap: 0.5rem;
}
.empty-state {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.35rem;
padding: var(--spacing-4);
border: 1px dashed var(--app-border-strong);
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.8);
}
.compact-empty {
margin: 1rem;
}
.activity-list,
.comment-stream {
display: flex;
flex-direction: column;
gap: 0.85rem;
}
.activity-item,
.comment-card {
padding: 0.95rem 1rem;
}
.activity-item:hover {
border-color: rgba(104, 187, 89, 0.35);
}
.static-item:hover {
border-color: var(--app-border);
}
.activity-topline {
display: flex;
justify-content: space-between;
align-items: start;
gap: 1rem;
margin-bottom: 0.35rem;
font-size: 0.86rem;
}
.activity-topline span {
color: var(--app-muted);
white-space: nowrap;
font-size: 0.76rem;
}
.activity-text {
color: var(--app-text);
font-size: 0.92rem;
}
.key-result-row + .key-result-row {
padding-top: 0.2rem;
}
.meta-list {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.meta-grid {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 0.9rem;
}
.meta-grid dt {
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--app-muted);
margin-bottom: 0.15rem;
}
.meta-grid dd {
margin: 0;
font-weight: 600;
}
.meta-grid dd span {
display: block;
margin-top: 0.15rem;
font-weight: 400;
}
.department-card {
display: flex;
flex-direction: column;
}
.department-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--spacing-3);
}
.score-panel {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.3rem;
padding: var(--spacing-4);
background: rgba(104, 187, 89, 0.08);
}
.score-panel span,
.score-panel small {
color: var(--app-muted);
}
.footer-bar {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: var(--spacing-3);
padding: 0 var(--spacing-5) var(--spacing-5);
color: var(--app-muted);
font-size: 0.84rem;
}
.form-control,
.form-select,
textarea.form-control {
border-radius: var(--radius-sm);
border-color: var(--app-border);
min-height: 2.75rem;
background: #fff;
color: var(--app-text);
}
.form-control:focus,
.form-select:focus,
.btn:focus,
.sidebar-link:focus,
.notification-pill:focus {
border-color: rgba(104, 187, 89, 0.55);
box-shadow: 0 0 0 0.2rem rgba(104, 187, 89, 0.16);
}
.btn {
border-radius: 12px;
font-weight: 600;
padding: 0.7rem 1rem;
}
.btn-success {
background: var(--app-primary);
border-color: var(--app-primary);
color: #fff;
}
.btn-success:hover,
.btn-success:focus {
background: var(--app-primary-strong);
border-color: var(--app-primary-strong);
color: #fff;
}
.btn-outline-dark,
.btn-outline-secondary,
.btn-dark {
box-shadow: none;
}
.detail-content {
padding-top: 0;
}
.is-hidden-search {
display: none !important;
}
.toast-container {
z-index: 1080;
}
@media (min-width: 768px) {
.stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.meta-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (min-width: 992px) {
.app-shell {
grid-template-columns: 280px minmax(0, 1fr);
}
.sidebar-panel {
min-height: 100vh;
border-right: 1px solid var(--app-border);
border-bottom: 0;
position: sticky;
top: 0;
}
.hero-card {
grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
align-items: center;
}
.stats-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}