|
|
@@ -229,24 +229,102 @@
|
|
|
margin-top: 12px;
|
|
|
}
|
|
|
|
|
|
+.record-detail .customer-license-panel {
|
|
|
+ background: var(--card);
|
|
|
+}
|
|
|
+
|
|
|
.customer-license-row {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
- align-items: center;
|
|
|
- gap: 12px 16px;
|
|
|
+ gap: 12px;
|
|
|
}
|
|
|
|
|
|
-.customer-license-row > .customer-file-list {
|
|
|
+.customer-license-document {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
flex: 1 1 min(100%, 320px);
|
|
|
min-width: 0;
|
|
|
+ gap: 12px;
|
|
|
+ padding: 14px;
|
|
|
+ border: 1px solid var(--border);
|
|
|
+ border-radius: var(--radius-control);
|
|
|
+ background: var(--surface-subtle);
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-document .customer-file-thumb {
|
|
|
+ flex: none;
|
|
|
+ width: 42px;
|
|
|
+ height: 42px;
|
|
|
+ color: var(--primary-soft-foreground);
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-description {
|
|
|
+ min-width: 0;
|
|
|
+ overflow-wrap: anywhere;
|
|
|
+ font-size: var(--type-body);
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-description p {
|
|
|
+ margin: 3px 0 0;
|
|
|
+ color: var(--text-secondary);
|
|
|
+ font-size: var(--type-support);
|
|
|
+ line-height: 1.5;
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-filename,
|
|
|
+.customer-license-links {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ gap: 4px 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-links {
|
|
|
+ margin-top: 6px;
|
|
|
+ font-size: var(--type-support);
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-links a {
|
|
|
+ color: var(--primary-soft-foreground);
|
|
|
+ font-weight: 600;
|
|
|
+ text-decoration: underline;
|
|
|
+ text-underline-offset: 3px;
|
|
|
}
|
|
|
|
|
|
.customer-license-upload {
|
|
|
display: grid;
|
|
|
flex: 0 1 17rem;
|
|
|
+ align-content: center;
|
|
|
justify-items: start;
|
|
|
- gap: 5px;
|
|
|
+ gap: 7px;
|
|
|
min-width: 0;
|
|
|
+ padding: 12px 14px;
|
|
|
+ border-radius: var(--radius-control);
|
|
|
+ background: var(--primary-soft);
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-upload .customer-license-button {
|
|
|
+ min-height: 36px;
|
|
|
+ padding-inline: 12px;
|
|
|
+ border-color: transparent;
|
|
|
+ background: var(--primary);
|
|
|
+ color: var(--primary-foreground);
|
|
|
+ font-weight: 600;
|
|
|
+ transition: background-color .15s, box-shadow .15s;
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-button:hover:not(:has(input:disabled)) {
|
|
|
+ background: var(--primary-hover);
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-button:has(input:disabled),
|
|
|
+.customer-license-button input:disabled {
|
|
|
+ cursor: not-allowed;
|
|
|
+}
|
|
|
+
|
|
|
+.customer-license-button:has(input:disabled) {
|
|
|
+ background: var(--secondary);
|
|
|
+ color: var(--text-secondary);
|
|
|
}
|
|
|
|
|
|
.customer-license-upload small {
|
|
|
@@ -301,11 +379,13 @@
|
|
|
}
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
+ .customer-license-upload { flex-basis: 100%; }
|
|
|
.customer-record-metrics > div { padding-inline: 12px; }
|
|
|
.record-detail .customer-workspace-panel > .ops-record-summary,
|
|
|
.record-detail .customer-panel-grid { grid-template-columns: minmax(0, 1fr); }
|
|
|
}
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
- .record-tabs button { transition: none; }
|
|
|
+ .record-tabs button,
|
|
|
+ .customer-license-upload .customer-license-button { transition: none; }
|
|
|
}
|