|
1 | | -import { Layout, Menu, Select } from 'antd' |
| 1 | +import { Layout, Menu, Select, Tag } from 'antd' |
2 | 2 | // skipcq: JS-C1003 |
3 | 3 | import * as dcmjs from 'dcmjs' |
4 | 4 | // skipcq: JS-C1003 |
@@ -421,7 +421,7 @@ function ParametrizedSlideViewer({ |
421 | 421 | style={{ |
422 | 422 | borderInlineEnd: 0, |
423 | 423 | background: 'none', |
424 | | - marginTop: 10, |
| 424 | + marginTop: 8, |
425 | 425 | }} |
426 | 426 | > |
427 | 427 | <Menu.SubMenu key="annotation-groups" title="Annotation Groups"> |
@@ -469,17 +469,55 @@ function ParametrizedSlideViewer({ |
469 | 469 | <div> |
470 | 470 | <div |
471 | 471 | style={{ |
472 | | - fontWeight: 600, |
473 | | - marginBottom: 8, |
474 | | - color: 'rgba(0,0,0,0.85)', |
475 | | - padding: '12px 12px 0 12px', |
| 472 | + display: 'flex', |
| 473 | + flexDirection: 'column', |
| 474 | + alignItems: 'flex-start', |
| 475 | + gap: 14, |
| 476 | + padding: '22px 14px 18px', |
| 477 | + borderBottom: '1px solid rgba(0, 0, 0, 0.07)', |
476 | 478 | }} |
477 | 479 | > |
478 | | - viv preview |
| 480 | + <Tag |
| 481 | + style={{ |
| 482 | + margin: 0, |
| 483 | + border: 'none', |
| 484 | + borderRadius: 999, |
| 485 | + fontSize: 10, |
| 486 | + fontWeight: 800, |
| 487 | + letterSpacing: '0.1em', |
| 488 | + textTransform: 'uppercase', |
| 489 | + padding: '7px 18px', |
| 490 | + lineHeight: 1.25, |
| 491 | + height: 'auto', |
| 492 | + background: |
| 493 | + 'linear-gradient(140deg, #4338ca 0%, #6d28d9 48%, #7e22ce 100%)', |
| 494 | + color: '#fff', |
| 495 | + boxShadow: |
| 496 | + 'inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 4px rgba(67, 56, 202, 0.18), 0 8px 20px rgba(109, 40, 217, 0.22)', |
| 497 | + }} |
| 498 | + > |
| 499 | + Viv preview |
| 500 | + </Tag> |
| 501 | + <p |
| 502 | + style={{ |
| 503 | + margin: 0, |
| 504 | + width: '100%', |
| 505 | + padding: '13px 16px', |
| 506 | + fontSize: 12, |
| 507 | + lineHeight: 1.6, |
| 508 | + color: 'rgba(0, 0, 0, 0.78)', |
| 509 | + background: |
| 510 | + 'linear-gradient(100deg, rgba(67, 56, 202, 0.09) 0%, rgba(126, 34, 206, 0.05) 52%, rgba(255, 255, 255, 0) 100%)', |
| 511 | + borderRadius: 10, |
| 512 | + border: '1px solid rgba(109, 40, 217, 0.14)', |
| 513 | + borderLeftWidth: 4, |
| 514 | + borderLeftColor: '#6d28d9', |
| 515 | + boxSizing: 'border-box', |
| 516 | + }} |
| 517 | + > |
| 518 | + Only bulk simple annotations are supported in this preview! |
| 519 | + </p> |
479 | 520 | </div> |
480 | | - <p style={{ marginBottom: 12, padding: '0 12px 12px 12px' }}> |
481 | | - Only bulk simple annotations are supported in this preview! |
482 | | - </p> |
483 | 521 | {vivAnnotationGroupPanel} |
484 | 522 | </div>, |
485 | 523 | ) |
|
0 commit comments