File size: 7,579 Bytes
d80907b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | /* ─────────────────────────────────────────────────────────────
* misc2.css — Misc standalone templates (batch 2)
* ─────────────────────────────────────────────────────────── */
/* ── domain ─── */
.catalogue-header {
margin-bottom: 2rem;
}
.catalogue-title {
font-size: 1.375rem;
font-weight: 700;
color: var(--text);
margin: 0 0 0.25rem;
display: flex;
align-items: center;
gap: 0.625rem;
}
.catalogue-title svg {
width: 24px;
height: 24px;
color: var(--primary);
flex-shrink: 0;
}
.catalogue-desc {
font-size: 0.875rem;
color: var(--text-muted);
margin: 0;
}
/* Product cards grid */
.catalogue-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1rem;
}
.product-card {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1.25rem;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg, 12px);
text-decoration: none;
color: var(--text);
transition: border-color 0.15s, box-shadow 0.15s;
cursor: pointer;
}
.product-card:hover {
border-color: var(--primary);
}
[data-theme="dark"] .product-card:hover {
border-color: var(--primary);
}
.product-icon {
width: 42px;
height: 42px;
border-radius: var(--radius, 8px);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
color: white;
font-size: 1.125rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.product-info {
flex: 1;
min-width: 0;
}
.product-info h3 {
font-size: 0.9375rem;
font-weight: 600;
margin: 0 0 0.25rem;
color: var(--text);
}
.product-creator {
font-weight: 400;
font-size: 0.75rem;
color: var(--text-muted);
}
.product-info p {
font-size: 0.8125rem;
color: var(--text-muted);
margin: 0;
line-height: 1.4;
}
.product-arrow {
margin-left: auto;
color: var(--text-light, var(--text-muted));
opacity: 0;
transition: opacity 0.15s, transform 0.15s;
align-self: center;
flex-shrink: 0;
}
.product-card:hover .product-arrow {
opacity: 1;
transform: translateX(2px);
}
/* Empty state */
.catalogue-empty {
text-align: center;
padding: 4rem 2rem;
color: var(--text-muted);
}
.catalogue-empty svg {
width: 48px;
height: 48px;
margin: 0 auto 1rem;
opacity: 0.4;
}
@media (max-width: 640px) {
.catalogue-grid { grid-template-columns: 1fr; }
}
/* ── pwa_analytics ─── */
.analytics-dashboard {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.analytics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.analytics-card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: 12px;
padding: 1.5rem;
box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.04));
}
.analytics-card h3 {
margin: 0 0 1rem 0;
color: var(--color-primary);
font-size: 1.2rem;
}
.metric-value {
font-size: 2rem;
font-weight: bold;
color: var(--color-accent);
margin: 0.5rem 0;
}
.metric-label {
color: var(--color-text-secondary);
font-size: 0.9rem;
}
.chart-container {
position: relative;
height: 300px;
margin-top: 1rem;
}
.healthcare-insight {
background: var(--color-primary);
color: white;
border: none;
}
.healthcare-insight .metric-value {
color: white;
}
/* loading-spinner defined in main.css — uses --lg variant here */
.error-message {
color: var(--color-error);
padding: 1rem;
background: var(--color-error-bg);
border-radius: 8px;
margin: 1rem 0;
}
/* ── quick_actions ─── */
.quick-action-card {
background: var(--surface);
padding: 1.5rem;
border-radius: var(--radius);
border: 1px solid var(--border);
text-align: center;
transition: border-color 0.12s ease;
}
.quick-action-card:hover {
border-color: var(--border-strong, #d1d5db);
}
.card-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.card-title {
font-size: 1.25rem;
font-weight: 600;
color: var(--text);
margin-bottom: 0.5rem;
}
.card-description {
color: var(--text-muted);
font-size: 0.875rem;
}
/* Old modal CSS removed in Sprint 43 — using y-overlay + y-modal */
/* ── studies_dashboard ─── */
.y-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; }
.y-badge--success { background: #d1fae5; color: #065f46; }
.y-badge--warning { background: #fef3c7; color: #92400e; }
.y-badge--muted { background: var(--bg-muted); color: var(--text-muted); }
/* ── lifecycle_readiness ─── */
.rc-item { display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.625rem;border:1px solid var(--border);border-radius:0.5rem;background:var(--surface);cursor:pointer;transition:all 0.12s;position:relative; }
.rc-item:active { transform:scale(0.98); }
.rc-item.st-cleared,.rc-item.st-reviewed { background:#ecfdf5;border-color:#a7f3d040; }
.rc-item.st-pending { background:#fffbeb;border-color:#fbbf2440; }
.rc-item.st-abnormal { background:#fef2f2;border-color:#fecaca80; }
.rc-item.st-not_applicable { opacity:0.55; }
.rc-check { width:20px;height:20px;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:0.625rem;font-weight:700; }
.rc-opts { display:flex;gap:0.25rem;flex-wrap:wrap;margin-top:0.375rem;padding-left:2rem; }
.rc-opt { padding:0.1875rem 0.5rem;border-radius:4px;font-size:0.6875rem;font-weight:500;cursor:pointer;border:1px solid var(--border);background:transparent;color:var(--text-muted);min-height:28px;transition:all 0.1s; }
.rc-opt:hover { border-color:var(--primary);color:var(--primary); }
.rc-opt.on { border-color:#3b82f6;background:#3b82f620;color:#3b82f6; }
@media(max-width:640px) { .rc-opt { min-height:36px;font-size:0.75rem; } .rc-item { padding:0.625rem; } }
/* ── admin ─── */
:root { --bg: #f9fafb; --surface: #ffffff; --text: #111827; --border: #e5e7eb; }
[data-theme="dark"] { --bg: #0c0c0c; --surface: #171717; --text: #fafafa; --border: #262626; }
body { transition: background-color 0.15s ease, color 0.15s ease; }
|