+163
-18
@@ -2097,8 +2097,7 @@ button.has-validation-error {
|
||||
|
||||
.medication-enrichment-collapsed-hint,
|
||||
.medication-enrichment-description,
|
||||
.medication-enrichment-manual-hint,
|
||||
.medication-enrichment-selection-summary {
|
||||
.medication-enrichment-manual-hint {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -2133,21 +2132,95 @@ button.has-validation-error {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.medication-enrichment-spinner {
|
||||
width: 0.9rem;
|
||||
height: 0.9rem;
|
||||
border-radius: 999px;
|
||||
border: 2px solid color-mix(in srgb, var(--accent) 24%, transparent);
|
||||
border-top-color: var(--accent-light);
|
||||
animation: medication-enrichment-spin 0.8s linear infinite;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.medication-enrichment-search-row button {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.medication-enrichment-action-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.65rem;
|
||||
transition:
|
||||
transform 160ms ease,
|
||||
box-shadow 160ms ease,
|
||||
border-color 160ms ease,
|
||||
background 160ms ease,
|
||||
opacity 160ms ease;
|
||||
}
|
||||
|
||||
.medication-enrichment-action-button.is-loading {
|
||||
opacity: 1;
|
||||
border-color: color-mix(in srgb, var(--accent) 34%, var(--border-primary));
|
||||
background: color-mix(in srgb, var(--accent-bg) 44%, var(--bg-secondary));
|
||||
box-shadow:
|
||||
0 10px 24px rgba(47, 134, 246, 0.16),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
.medication-enrichment-action-button.is-loading:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.medication-enrichment-results {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.medication-enrichment-toggle-button {
|
||||
min-width: 11rem;
|
||||
justify-self: flex-end;
|
||||
transition:
|
||||
transform 160ms ease,
|
||||
box-shadow 160ms ease,
|
||||
border-color 160ms ease,
|
||||
background 160ms ease;
|
||||
}
|
||||
|
||||
.medication-enrichment-toggle-button.primary {
|
||||
box-shadow:
|
||||
0 10px 24px rgba(47, 134, 246, 0.22),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.medication-enrichment-toggle-button.primary:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow:
|
||||
0 14px 28px rgba(47, 134, 246, 0.28),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
@keyframes medication-enrichment-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.medication-enrichment-results-footer {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.medication-enrichment-load-more-button.is-loading {
|
||||
opacity: 1;
|
||||
border-color: color-mix(in srgb, var(--accent) 30%, var(--border-primary));
|
||||
background: color-mix(in srgb, var(--accent-bg) 38%, var(--bg-secondary));
|
||||
}
|
||||
|
||||
.medication-enrichment-result {
|
||||
display: grid;
|
||||
gap: 0.6rem;
|
||||
@@ -2164,8 +2237,8 @@ button.has-validation-error {
|
||||
|
||||
.medication-enrichment-result-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
@@ -2187,30 +2260,42 @@ button.has-validation-error {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.medication-enrichment-result-package {
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-secondary);
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.medication-enrichment-result-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.medication-enrichment-result-meta {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 0.5rem 1rem;
|
||||
gap: 0.9rem 1.15rem;
|
||||
margin: 0;
|
||||
padding-top: 0.35rem;
|
||||
}
|
||||
|
||||
.medication-enrichment-result-meta div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.medication-enrichment-result-meta-full {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.medication-enrichment-result-meta dt {
|
||||
margin-bottom: 0.15rem;
|
||||
margin-bottom: 0.35rem;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
@@ -2222,14 +2307,16 @@ button.has-validation-error {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.medication-enrichment-followup {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem;
|
||||
border: 1px dashed var(--border-secondary);
|
||||
border-radius: 10px;
|
||||
background: color-mix(in srgb, var(--bg-secondary) 55%, transparent);
|
||||
.medication-enrichment-detail-stack {
|
||||
display: grid;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.medication-enrichment-package-details {
|
||||
margin: 0;
|
||||
padding-left: 1rem;
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.medication-enrichment-strengths {
|
||||
@@ -2248,13 +2335,71 @@ button.has-validation-error {
|
||||
.medication-enrichment-strength-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.medication-enrichment-strength-list button {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.medication-enrichment-detail-hint {
|
||||
margin: 0;
|
||||
max-width: 44rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.medication-enrichment-applied-note {
|
||||
margin: 0;
|
||||
padding: 0.7rem 0.9rem;
|
||||
border: 1px solid color-mix(in srgb, var(--success) 35%, transparent);
|
||||
border-radius: 12px;
|
||||
background: color-mix(in srgb, var(--success-bg) 75%, transparent);
|
||||
line-height: 1.45;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.medication-enrichment-inline-action {
|
||||
justify-self: flex-start;
|
||||
}
|
||||
|
||||
.medication-enrichment-package-choice-list {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.medication-enrichment-package-choice-list button.medication-enrichment-package-choice-button {
|
||||
width: 100%;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 0.65rem;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.medication-enrichment-package-choice-list button.medication-enrichment-package-choice-button.is-loading {
|
||||
box-shadow:
|
||||
0 10px 24px rgba(47, 134, 246, 0.16),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.medication-enrichment-pending-panel {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
min-height: 3.25rem;
|
||||
padding: 0.8rem 0.95rem;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border-primary));
|
||||
border-radius: 12px;
|
||||
background: color-mix(in srgb, var(--accent-bg) 54%, var(--bg-secondary));
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.medication-enrichment-header,
|
||||
.medication-enrichment-result-header,
|
||||
|
||||
Reference in New Issue
Block a user