Spaces:
Sleeping
Sleeping
Fix UI scrolling issue in de-identified output panel
Browse files- app/static/style.css +42 -10
app/static/style.css
CHANGED
|
@@ -26,7 +26,7 @@ body {
|
|
| 26 |
justify-content: center;
|
| 27 |
align-items: center;
|
| 28 |
overflow: hidden;
|
| 29 |
-
background-image:
|
| 30 |
radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
|
| 31 |
radial-gradient(circle at 80% 80%, rgba(58, 123, 213, 0.05) 0%, transparent 40%);
|
| 32 |
}
|
|
@@ -64,6 +64,7 @@ header {
|
|
| 64 |
font-weight: 600;
|
| 65 |
background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
|
| 66 |
-webkit-background-clip: text;
|
|
|
|
| 67 |
-webkit-text-fill-color: transparent;
|
| 68 |
}
|
| 69 |
|
|
@@ -77,9 +78,20 @@ header {
|
|
| 77 |
}
|
| 78 |
|
| 79 |
@keyframes pulse {
|
| 80 |
-
0% {
|
| 81 |
-
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
.status-bar {
|
|
@@ -101,7 +113,9 @@ header {
|
|
| 101 |
border-radius: 50%;
|
| 102 |
}
|
| 103 |
|
| 104 |
-
.status-dot.healthy {
|
|
|
|
|
|
|
| 105 |
|
| 106 |
main {
|
| 107 |
flex: 1;
|
|
@@ -111,12 +125,14 @@ main {
|
|
| 111 |
gap: 2rem;
|
| 112 |
}
|
| 113 |
|
| 114 |
-
.input-panel,
|
|
|
|
| 115 |
flex: 1;
|
| 116 |
display: flex;
|
| 117 |
flex-direction: column;
|
| 118 |
gap: 1.5rem;
|
| 119 |
min-width: 0;
|
|
|
|
| 120 |
}
|
| 121 |
|
| 122 |
.panel-header h2 {
|
|
@@ -208,7 +224,16 @@ textarea:focus {
|
|
| 208 |
font-size: 0.9rem;
|
| 209 |
}
|
| 210 |
|
| 211 |
-
.text-btn:hover {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
|
| 213 |
.result-box {
|
| 214 |
flex: 1;
|
|
@@ -220,6 +245,7 @@ textarea:focus {
|
|
| 220 |
font-size: 0.9rem;
|
| 221 |
overflow-y: auto;
|
| 222 |
white-space: pre-wrap;
|
|
|
|
| 223 |
}
|
| 224 |
|
| 225 |
.entity-highlight {
|
|
@@ -282,7 +308,9 @@ footer a {
|
|
| 282 |
transition: color 0.2s ease;
|
| 283 |
}
|
| 284 |
|
| 285 |
-
footer a:hover {
|
|
|
|
|
|
|
| 286 |
|
| 287 |
/* Loader */
|
| 288 |
.loader {
|
|
@@ -295,7 +323,11 @@ footer a:hover { color: var(--text-main); }
|
|
| 295 |
}
|
| 296 |
|
| 297 |
@keyframes spin {
|
| 298 |
-
to {
|
|
|
|
|
|
|
| 299 |
}
|
| 300 |
|
| 301 |
-
[hidden] {
|
|
|
|
|
|
|
|
|
| 26 |
justify-content: center;
|
| 27 |
align-items: center;
|
| 28 |
overflow: hidden;
|
| 29 |
+
background-image:
|
| 30 |
radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
|
| 31 |
radial-gradient(circle at 80% 80%, rgba(58, 123, 213, 0.05) 0%, transparent 40%);
|
| 32 |
}
|
|
|
|
| 64 |
font-weight: 600;
|
| 65 |
background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
|
| 66 |
-webkit-background-clip: text;
|
| 67 |
+
background-clip: text;
|
| 68 |
-webkit-text-fill-color: transparent;
|
| 69 |
}
|
| 70 |
|
|
|
|
| 78 |
}
|
| 79 |
|
| 80 |
@keyframes pulse {
|
| 81 |
+
0% {
|
| 82 |
+
transform: scale(0.95);
|
| 83 |
+
box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
70% {
|
| 87 |
+
transform: scale(1);
|
| 88 |
+
box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
100% {
|
| 92 |
+
transform: scale(0.95);
|
| 93 |
+
box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
|
| 94 |
+
}
|
| 95 |
}
|
| 96 |
|
| 97 |
.status-bar {
|
|
|
|
| 113 |
border-radius: 50%;
|
| 114 |
}
|
| 115 |
|
| 116 |
+
.status-dot.healthy {
|
| 117 |
+
background: var(--success);
|
| 118 |
+
}
|
| 119 |
|
| 120 |
main {
|
| 121 |
flex: 1;
|
|
|
|
| 125 |
gap: 2rem;
|
| 126 |
}
|
| 127 |
|
| 128 |
+
.input-panel,
|
| 129 |
+
.output-panel {
|
| 130 |
flex: 1;
|
| 131 |
display: flex;
|
| 132 |
flex-direction: column;
|
| 133 |
gap: 1.5rem;
|
| 134 |
min-width: 0;
|
| 135 |
+
min-height: 0;
|
| 136 |
}
|
| 137 |
|
| 138 |
.panel-header h2 {
|
|
|
|
| 224 |
font-size: 0.9rem;
|
| 225 |
}
|
| 226 |
|
| 227 |
+
.text-btn:hover {
|
| 228 |
+
color: var(--text-main);
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
.diff-view {
|
| 232 |
+
flex: 1;
|
| 233 |
+
display: flex;
|
| 234 |
+
flex-direction: column;
|
| 235 |
+
min-height: 0;
|
| 236 |
+
}
|
| 237 |
|
| 238 |
.result-box {
|
| 239 |
flex: 1;
|
|
|
|
| 245 |
font-size: 0.9rem;
|
| 246 |
overflow-y: auto;
|
| 247 |
white-space: pre-wrap;
|
| 248 |
+
min-height: 0;
|
| 249 |
}
|
| 250 |
|
| 251 |
.entity-highlight {
|
|
|
|
| 308 |
transition: color 0.2s ease;
|
| 309 |
}
|
| 310 |
|
| 311 |
+
footer a:hover {
|
| 312 |
+
color: var(--text-main);
|
| 313 |
+
}
|
| 314 |
|
| 315 |
/* Loader */
|
| 316 |
.loader {
|
|
|
|
| 323 |
}
|
| 324 |
|
| 325 |
@keyframes spin {
|
| 326 |
+
to {
|
| 327 |
+
transform: rotate(360deg);
|
| 328 |
+
}
|
| 329 |
}
|
| 330 |
|
| 331 |
+
[hidden] {
|
| 332 |
+
display: none !important;
|
| 333 |
+
}
|