|
|
@@ -1,9 +1,3 @@
|
|
|
-.panel-subtitle {
|
|
|
- font-size: 0.85rem;
|
|
|
- color: var(--text-secondary);
|
|
|
- margin-bottom: 32px;
|
|
|
-}
|
|
|
-
|
|
|
.history-grid {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
@@ -12,16 +6,36 @@
|
|
|
|
|
|
.history-item {
|
|
|
background: var(--input-bg);
|
|
|
- padding: 24px;
|
|
|
border-radius: 12px;
|
|
|
border: 1px solid var(--border-color);
|
|
|
+ overflow: hidden;
|
|
|
+ transition: border-color 0.2s ease, box-shadow 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ border-color: var(--accent-green);
|
|
|
+ }
|
|
|
+
|
|
|
+ &.expanded {
|
|
|
+ border-color: var(--accent-green);
|
|
|
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
|
+
|
|
|
+ .expand-icon {
|
|
|
+ transform: rotate(180deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.item-header {
|
|
|
+ padding: 24px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
- transition: border-color 0.2s ease, background 0.3s ease;
|
|
|
+ cursor: pointer;
|
|
|
+ background: transparent;
|
|
|
+ transition: background 0.2s ease;
|
|
|
|
|
|
&:hover {
|
|
|
- border-color: var(--accent-green);
|
|
|
+ background: rgba(255, 255, 255, 0.02);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -43,28 +57,31 @@
|
|
|
|
|
|
.summary-badges {
|
|
|
display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
gap: 8px;
|
|
|
margin-top: 8px;
|
|
|
}
|
|
|
|
|
|
.badge-item {
|
|
|
- font-size: 0.7rem;
|
|
|
- padding: 2px 8px;
|
|
|
+ font-size: 0.75rem;
|
|
|
+ padding: 4px 12px;
|
|
|
border-radius: 99px;
|
|
|
background: var(--panel-color);
|
|
|
border: 1px solid var(--border-color);
|
|
|
color: var(--text-secondary);
|
|
|
+ font-weight: 600;
|
|
|
}
|
|
|
|
|
|
.record-meta {
|
|
|
display: flex;
|
|
|
gap: 24px;
|
|
|
- text-align: right;
|
|
|
+ align-items: center;
|
|
|
|
|
|
.meta-box {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
gap: 4px;
|
|
|
+ text-align: right;
|
|
|
|
|
|
.meta-label {
|
|
|
font-size: 0.65rem;
|
|
|
@@ -79,3 +96,85 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.expand-icon {
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: rgba(255, 255, 255, 0.05);
|
|
|
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
+
|
|
|
+ .chevron {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-right: 2px solid var(--text-secondary);
|
|
|
+ border-bottom: 2px solid var(--text-secondary);
|
|
|
+ transform: rotate(45deg);
|
|
|
+ margin-top: -4px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.item-details {
|
|
|
+ background: var(--panel-color);
|
|
|
+ padding: 0 24px 24px 24px;
|
|
|
+ border-top: 1px solid var(--border-color);
|
|
|
+ animation: slideDown 0.3s ease-out;
|
|
|
+}
|
|
|
+
|
|
|
+.result-visualization {
|
|
|
+ margin-top: 24px;
|
|
|
+ border-radius: 8px;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ background: #000;
|
|
|
+
|
|
|
+ .image-wrapper {
|
|
|
+ position: relative;
|
|
|
+ display: inline-block;
|
|
|
+ width: 100%;
|
|
|
+
|
|
|
+ .result-img {
|
|
|
+ display: block;
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ max-height: 500px;
|
|
|
+ object-fit: contain;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.box-overlay {
|
|
|
+ position: absolute;
|
|
|
+ border: 3px solid #ff0000;
|
|
|
+ pointer-events: none;
|
|
|
+
|
|
|
+ &.ripe { border-color: #00ff00; }
|
|
|
+ &.alert { border-color: #ff4444; }
|
|
|
+
|
|
|
+ .box-label {
|
|
|
+ position: absolute;
|
|
|
+ top: -24px;
|
|
|
+ left: -3px;
|
|
|
+ background: inherit;
|
|
|
+ color: white;
|
|
|
+ padding: 2px 8px;
|
|
|
+ font-size: 0.75rem;
|
|
|
+ font-weight: 700;
|
|
|
+ white-space: nowrap;
|
|
|
+ border-radius: 3px 3px 0 0;
|
|
|
+
|
|
|
+ // Fallback if background: inherit doesn't solve color
|
|
|
+ background-color: inherit;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.ripe { .box-label { background-color: #00ff00; color: #000; } }
|
|
|
+ &.alert { .box-label { background-color: #ff4444; color: #fff; } }
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes slideDown {
|
|
|
+ from { opacity: 0; transform: translateY(-10px); }
|
|
|
+ to { opacity: 1; transform: translateY(0); }
|
|
|
+}
|