@semi-bot/semi-theme-imwf 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@ Operator: 小满
5
5
 
6
6
  ## Compatibility
7
7
 
8
- Compatible with Semi Foundation Version 2.90.5 or newer.
8
+ Compatible with Semi Foundation Version 2.93.0 or newer.
9
9
 
10
10
  ## Version Release Note
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semi-bot/semi-theme-imwf",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Semi theme generated by dsm. https://semi.design/dsm",
5
5
  "keywords": [
6
6
  "semi-theme",
package/raw.json CHANGED
@@ -680,10 +680,20 @@
680
680
  }
681
681
  },
682
682
  "components": {
683
+ "form": {},
683
684
  "tabs": {
685
+ "color": {
686
+ "$color-tabs_tab_button-text-default": "var(--semi-color-text-1)",
687
+ "$color-tabs_tab_line_default-text-default": "var(--semi-color-text-1)"
688
+ },
684
689
  "radius": {
685
690
  "$radius-tabs_tab_button": "23px"
686
691
  }
692
+ },
693
+ "radio": {
694
+ "radius": {
695
+ "$radius-radio_addon_buttonRadio": "6px"
696
+ }
687
697
  }
688
698
  },
689
699
  "typography": {
package/scss/local.scss CHANGED
@@ -1 +1,4 @@
1
+ $color-tabs_tab_button-text-default: var(--semi-color-text-1);
2
+ $color-tabs_tab_line_default-text-default: var(--semi-color-text-1);
1
3
  $radius-tabs_tab_button: 23px;
4
+ $radius-radio_addon_buttonRadio: 6px;
package/semi.css CHANGED
@@ -1678,6 +1678,17 @@ body, :host {
1678
1678
  height: 0;
1679
1679
  pointer-events: none;
1680
1680
  }
1681
+ .semi-aiChatInput-editor-content .tiptap p.has-skill-slot.is-editor-empty:first-child::before {
1682
+ content: none;
1683
+ }
1684
+ .semi-aiChatInput-editor-content .tiptap p.has-skill-slot.is-editor-empty:first-child::after {
1685
+ color: var(--semi-color-text-2);
1686
+ content: attr(data-placeholder);
1687
+ display: inline;
1688
+ height: 0;
1689
+ margin-left: 8px;
1690
+ pointer-events: none;
1691
+ }
1681
1692
  .semi-aiChatInput-editor-content .tiptap p {
1682
1693
  margin: 0px;
1683
1694
  white-space: pre-wrap;
@@ -15230,6 +15241,10 @@ img[src=""], img:not([src]) {
15230
15241
  margin-right: 0;
15231
15242
  }
15232
15243
 
15244
+ .semi-json-viewer {
15245
+ box-sizing: border-box;
15246
+ padding: 12px 0;
15247
+ }
15233
15248
  .semi-json-viewer-background {
15234
15249
  background-color: var(--semi-color-default);
15235
15250
  }
@@ -17824,7 +17839,7 @@ img[src=""], img:not([src]) {
17824
17839
  }
17825
17840
  .semi-radio-addon-buttonRadio {
17826
17841
  text-align: center;
17827
- border-radius: var(--semi-border-radius-small);
17842
+ border-radius: 6px;
17828
17843
  font-weight: 600;
17829
17844
  color: var(--semi-color-text-1);
17830
17845
  font-size: 12px;
@@ -19215,6 +19230,537 @@ img[src=""], img:not([src]) {
19215
19230
  text-align: right;
19216
19231
  }
19217
19232
 
19233
+ .semi-sidebar-main .semi-sidebar-container-content {
19234
+ overflow: hidden;
19235
+ }
19236
+ .semi-sidebar-main-content-wrapper {
19237
+ display: flex;
19238
+ flex-direction: column;
19239
+ height: 100%;
19240
+ }
19241
+ .semi-sidebar-main-content {
19242
+ padding: 12px;
19243
+ height: 100%;
19244
+ box-sizing: border-box;
19245
+ overflow: auto;
19246
+ }
19247
+ .semi-sidebar-container {
19248
+ height: 100%;
19249
+ border-left: 1px solid var(--semi-color-border);
19250
+ box-sizing: border-box;
19251
+ display: flex;
19252
+ flex-direction: column;
19253
+ overflow: hidden;
19254
+ position: relative;
19255
+ }
19256
+ .semi-sidebar-container-header {
19257
+ display: flex;
19258
+ align-items: center;
19259
+ padding: 12px 12px 12px 20px;
19260
+ border-bottom: 1px solid var(--semi-color-border);
19261
+ }
19262
+ .semi-sidebar-container-header-title {
19263
+ flex: 1;
19264
+ font-size: 16px;
19265
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19266
+ line-height: 22px;
19267
+ font-weight: 600;
19268
+ }
19269
+ .semi-sidebar-container-header-closeBtn {
19270
+ flex-shrink: 0;
19271
+ }
19272
+ .semi-sidebar-container-content {
19273
+ flex: 1 1;
19274
+ overflow: hidden;
19275
+ }
19276
+ .semi-sidebar-container .semi-toast-wrapper {
19277
+ position: absolute;
19278
+ }
19279
+ @keyframes semi-sidebar-slideShow_right {
19280
+ from {
19281
+ transform: translateX(100%);
19282
+ }
19283
+ to {
19284
+ transform: translateX(0);
19285
+ }
19286
+ }
19287
+ @keyframes semi-sidebar-slideHide_right {
19288
+ from {
19289
+ transform: translateX(0);
19290
+ }
19291
+ to {
19292
+ transform: translateX(100%);
19293
+ }
19294
+ }
19295
+ .semi-sidebar-animation-content_show {
19296
+ animation: semi-sidebar-slideShow_right 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
19297
+ animation-fill-mode: forwards;
19298
+ }
19299
+ .semi-sidebar-animation-content_hide {
19300
+ animation: semi-sidebar-slideHide_right 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
19301
+ animation-fill-mode: forwards;
19302
+ }
19303
+ .semi-sidebar-mcp-configure-content {
19304
+ padding: 20px 16px;
19305
+ display: flex;
19306
+ flex-direction: column;
19307
+ height: 100%;
19308
+ box-sizing: border-box;
19309
+ }
19310
+ .semi-sidebar-mcp-configure-content-header {
19311
+ display: flex;
19312
+ align-items: center;
19313
+ justify-content: space-between;
19314
+ }
19315
+ .semi-sidebar-mcp-configure-content-header-count {
19316
+ font-size: 12px;
19317
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19318
+ line-height: 16px;
19319
+ vertical-align: middle;
19320
+ color: var(--semi-color-text-2);
19321
+ }
19322
+ .semi-sidebar-mcp-configure-content-search {
19323
+ margin: 16px 0;
19324
+ }
19325
+ .semi-sidebar-mcp-configure-content-search-container {
19326
+ display: flex;
19327
+ column-gap: 8px;
19328
+ }
19329
+ .semi-sidebar-mcp-configure-content-item-container {
19330
+ overflow-y: auto;
19331
+ }
19332
+ .semi-sidebar-mcp-configure-content-item {
19333
+ padding: 8px 16px;
19334
+ display: flex;
19335
+ align-items: center;
19336
+ border-bottom: 1px solid var(--semi-color-border);
19337
+ }
19338
+ .semi-sidebar-mcp-configure-content-item-sign {
19339
+ width: 32px;
19340
+ height: 32px;
19341
+ margin-right: 12px;
19342
+ flex-shrink: 0;
19343
+ }
19344
+ .semi-sidebar-mcp-configure-content-item-sign .semi-icon {
19345
+ font-size: 32px;
19346
+ }
19347
+ .semi-sidebar-mcp-configure-content-item-content {
19348
+ justify-content: center;
19349
+ flex: 1;
19350
+ min-width: 0;
19351
+ margin-right: 24px;
19352
+ }
19353
+ .semi-sidebar-mcp-configure-content-item-content-label {
19354
+ font-size: 14px;
19355
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19356
+ line-height: 20px;
19357
+ font-weight: 600;
19358
+ color: var(--semi-color-text-0);
19359
+ }
19360
+ .semi-sidebar-mcp-configure-content-item-content-desc {
19361
+ font-size: 12px;
19362
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19363
+ line-height: 16px;
19364
+ color: var(--semi-color-text-0);
19365
+ overflow: hidden;
19366
+ text-overflow: ellipsis;
19367
+ white-space: nowrap;
19368
+ max-width: 100%;
19369
+ }
19370
+ .semi-sidebar-mcp-configure-content-item-button {
19371
+ flex-shrink: 0;
19372
+ }
19373
+ .semi-sidebar-mcp-configure-content-item-button-configure {
19374
+ margin-right: 12px;
19375
+ }
19376
+ .semi-sidebar-mcp-configure-content-item-button.semi-button.semi-button-with-icon-only {
19377
+ width: 24px;
19378
+ height: 24px;
19379
+ }
19380
+ .semi-sidebar-mcp-configure-content-custom-empty {
19381
+ margin-top: 64px;
19382
+ }
19383
+ .semi-sidebar-annotation .semi-sidebar-container-content {
19384
+ padding: 12px;
19385
+ overflow: auto;
19386
+ }
19387
+ .semi-sidebar-annotation-content {
19388
+ display: flex;
19389
+ flex-direction: row;
19390
+ flex-wrap: wrap;
19391
+ gap: 8px;
19392
+ width: 100%;
19393
+ }
19394
+ .semi-sidebar-annotation-item {
19395
+ cursor: pointer;
19396
+ }
19397
+ .semi-sidebar-annotation-item-title {
19398
+ overflow: hidden;
19399
+ text-overflow: ellipsis;
19400
+ white-space: normal;
19401
+ max-width: 100%;
19402
+ display: -webkit-box;
19403
+ line-clamp: 2;
19404
+ -webkit-line-clamp: 2;
19405
+ -webkit-box-orient: vertical;
19406
+ font-size: 14px;
19407
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19408
+ line-height: 20px;
19409
+ color: var(--semi-color-text-0);
19410
+ font-weight: 600;
19411
+ }
19412
+ .semi-sidebar-annotation-item-footer {
19413
+ display: flex;
19414
+ column-gap: 4px;
19415
+ align-items: center;
19416
+ }
19417
+ .semi-sidebar-annotation-item-footer-logo {
19418
+ font-size: 14px;
19419
+ width: 14px;
19420
+ height: 14px;
19421
+ }
19422
+ .semi-sidebar-annotation-item-footer-text {
19423
+ font-size: 12px;
19424
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19425
+ line-height: 16px;
19426
+ color: var(--semi-color-text-0);
19427
+ overflow: hidden;
19428
+ text-overflow: ellipsis;
19429
+ white-space: nowrap;
19430
+ flex-grow: 1;
19431
+ }
19432
+ .semi-sidebar-annotation-item-footer-order {
19433
+ box-sizing: border-box;
19434
+ min-width: 16px;
19435
+ padding: 0 2px;
19436
+ height: 16px;
19437
+ border-radius: 8px;
19438
+ background-color: var(--semi-color-fill-1);
19439
+ display: flex;
19440
+ align-items: center;
19441
+ justify-content: center;
19442
+ font-size: 12px;
19443
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19444
+ line-height: 16px;
19445
+ color: var(--semi-color-text-2);
19446
+ }
19447
+ .semi-sidebar-annotation-item-text {
19448
+ padding: 3px 12px;
19449
+ width: 100%;
19450
+ row-gap: 8px;
19451
+ display: flex;
19452
+ flex-direction: column;
19453
+ }
19454
+ .semi-sidebar-annotation-item-text-detail {
19455
+ overflow: hidden;
19456
+ text-overflow: ellipsis;
19457
+ white-space: normal;
19458
+ max-width: 100%;
19459
+ display: -webkit-box;
19460
+ line-clamp: 4;
19461
+ -webkit-line-clamp: 4;
19462
+ -webkit-box-orient: vertical;
19463
+ font-size: 12px;
19464
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19465
+ line-height: 16px;
19466
+ color: var(--semi-color-text-2);
19467
+ }
19468
+ .semi-sidebar-annotation-item-video {
19469
+ border-radius: 6px;
19470
+ border: 1px solid var(--semi-color-border);
19471
+ overflow: hidden;
19472
+ width: calc((100% - 8px) / 2);
19473
+ box-sizing: border-box;
19474
+ }
19475
+ .semi-sidebar-annotation-item-video-content {
19476
+ padding: 8px 8px 12px 8px;
19477
+ display: flex;
19478
+ flex-direction: column;
19479
+ row-gap: 8px;
19480
+ }
19481
+ .semi-sidebar-annotation-item-video .semi-sidebar-annotation-item-title {
19482
+ height: 40px;
19483
+ }
19484
+ .semi-sidebar-annotation-item-video-img {
19485
+ width: 100%;
19486
+ height: 100%;
19487
+ object-fit: cover;
19488
+ }
19489
+ .semi-sidebar-annotation-item-video-img-wrapper {
19490
+ position: relative;
19491
+ width: 100%;
19492
+ height: 107px;
19493
+ }
19494
+ .semi-sidebar-annotation-item-video-play {
19495
+ position: absolute;
19496
+ top: 6px;
19497
+ right: 6px;
19498
+ border: 1px solid var(--semi-color-bg-0);
19499
+ background: var(--semi-color-text-2);
19500
+ color: var(--semi-color-bg-0);
19501
+ border-radius: 50%;
19502
+ width: 20px;
19503
+ height: 20px;
19504
+ }
19505
+ .semi-sidebar-annotation-item-video-play.semi-icon {
19506
+ display: inline-flex;
19507
+ align-items: center;
19508
+ justify-content: center;
19509
+ font-size: 12px;
19510
+ }
19511
+ .semi-sidebar-annotation-item-video-duration {
19512
+ padding: 2px 4px;
19513
+ position: absolute;
19514
+ bottom: 6px;
19515
+ right: 6px;
19516
+ background-color: rgba(var(--semi-grey-7), 0.7);
19517
+ border-radius: 4px;
19518
+ font-size: 12px;
19519
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19520
+ line-height: 16px;
19521
+ color: var(--semi-color-bg-0);
19522
+ }
19523
+ .semi-sidebar-annotation-item-video-title {
19524
+ font-size: 14px;
19525
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19526
+ line-height: 20px;
19527
+ color: var(--semi-color-text-0);
19528
+ }
19529
+ .semi-sidebar-code-content {
19530
+ height: 100%;
19531
+ }
19532
+ .semi-sidebar-code-content .semi-codeHighlight-defaultTheme pre[class*=language-], .semi-sidebar-main-content .semi-codeHighlight-defaultTheme pre[class*=language-] {
19533
+ margin: 0px;
19534
+ padding-top: 0px;
19535
+ padding-bottom: 0px;
19536
+ background-color: transparent;
19537
+ overflow-y: hidden;
19538
+ overflow-x: auto;
19539
+ }
19540
+ .semi-sidebar-code-content .semi-codeHighlight .line-numbers .line-numbers-rows, .semi-sidebar-main-content .semi-codeHighlight .line-numbers .line-numbers-rows {
19541
+ border-right: none;
19542
+ }
19543
+ .semi-sidebar-code-content .semi-json-viewer, .semi-sidebar-main-content .semi-json-viewer {
19544
+ padding-top: 0px;
19545
+ padding-bottom: 0px;
19546
+ background-color: transparent;
19547
+ }
19548
+ .semi-sidebar-collapse .semi-collapse-item {
19549
+ border: 1px solid var(--semi-color-border);
19550
+ border-radius: 8px;
19551
+ }
19552
+ .semi-sidebar-collapse .semi-collapse-item:not(:last-child) {
19553
+ margin-bottom: 8px;
19554
+ }
19555
+ .semi-sidebar-collapse .semi-collapse-header {
19556
+ padding: 8px 16px;
19557
+ margin: 0px;
19558
+ font-weight: 400;
19559
+ }
19560
+ .semi-sidebar-collapse-header-content {
19561
+ display: flex;
19562
+ align-items: center;
19563
+ gap: 8px;
19564
+ width: 100%;
19565
+ padding-right: 8px;
19566
+ }
19567
+ .semi-sidebar-collapse-header-content .semi-icon {
19568
+ color: var(--semi-color-text-1);
19569
+ }
19570
+ .semi-sidebar-collapse-header-text {
19571
+ flex: 1;
19572
+ overflow: hidden;
19573
+ text-overflow: ellipsis;
19574
+ white-space: nowrap;
19575
+ }
19576
+ .semi-sidebar-collapse-header-expand-btn {
19577
+ flex-shrink: 0;
19578
+ }
19579
+ .semi-sidebar-collapse-header-expand-btn.semi-button.semi-button-with-icon-only {
19580
+ padding: 4px;
19581
+ width: 24px;
19582
+ height: 24px;
19583
+ }
19584
+ .semi-sidebar-collapse .semi-collapse-item-active .semi-collapsible-wrapper {
19585
+ border-top: 1px solid var(--semi-color-border);
19586
+ }
19587
+ .semi-sidebar-collapse-code .semi-collapse-content {
19588
+ padding: 12px 0px;
19589
+ }
19590
+ .semi-sidebar-options {
19591
+ display: flex;
19592
+ flex-direction: row;
19593
+ flex-wrap: wrap;
19594
+ gap: 8px;
19595
+ padding: 8px 12px;
19596
+ border-bottom: 1px solid var(--semi-color-border);
19597
+ }
19598
+ .semi-sidebar-options-button .semi-button-content-right {
19599
+ margin-left: 4px;
19600
+ }
19601
+ .semi-sidebar-options-normal.semi-button-primary.semi-button-light {
19602
+ color: var(--semi-color-text-2);
19603
+ font-weight: 400;
19604
+ }
19605
+ .semi-sidebar-file .tiptap {
19606
+ font-size: 14px;
19607
+ line-height: 24px;
19608
+ }
19609
+ .semi-sidebar-file .tiptap ::selection {
19610
+ background: rgba(var(--semi-light-blue-1), 1);
19611
+ }
19612
+ .semi-sidebar-file .tiptap ::-moz-selection {
19613
+ background: rgba(var(--semi-light-blue-1), 1);
19614
+ }
19615
+ .semi-sidebar-file .tiptap p.is-editor-empty:first-child::before {
19616
+ color: var(--semi-color-text-2);
19617
+ content: attr(data-placeholder);
19618
+ float: left;
19619
+ height: 0;
19620
+ pointer-events: none;
19621
+ }
19622
+ .semi-sidebar-file .tiptap p {
19623
+ margin: 0px;
19624
+ white-space: pre-wrap;
19625
+ color: var(--semi-color-text-0);
19626
+ }
19627
+ .semi-sidebar-file .tiptap blockquote {
19628
+ border-left: 3px solid var(--semi-color-border);
19629
+ margin: 24px 0;
19630
+ padding-left: 16px;
19631
+ }
19632
+ .semi-sidebar-file .tiptap:focus {
19633
+ outline: none;
19634
+ }
19635
+ .semi-sidebar-file .tiptap pre {
19636
+ background-color: var(--semi-color-fill-0);
19637
+ padding: 2px 4px;
19638
+ border-radius: 4px;
19639
+ overflow: auto;
19640
+ font-size: 14px;
19641
+ line-height: 24px;
19642
+ border: 1px solid var(--semi-color-border);
19643
+ }
19644
+ .semi-sidebar-file .tiptap pre code {
19645
+ background-color: transparent;
19646
+ }
19647
+ .semi-sidebar-file .tiptap code {
19648
+ background-color: var(--semi-color-border);
19649
+ padding: 2px 4px;
19650
+ }
19651
+ .semi-sidebar-file .tiptap hr {
19652
+ border: none;
19653
+ border-top: 1px solid var(--semi-color-border);
19654
+ }
19655
+ .semi-sidebar-file .tiptap span.select {
19656
+ display: inline-block;
19657
+ background-color: rgba(var(--semi-light-blue-1), 1);
19658
+ line-height: 24px;
19659
+ }
19660
+ .semi-sidebar-file .tiptap.ProseMirror img:not([data-type=emoji] img) {
19661
+ outline: 0.125rem solid transparent;
19662
+ margin: 12px 0;
19663
+ }
19664
+ .semi-sidebar-file .tiptap.ProseMirror img:not([data-type=emoji] img).ProseMirror-selectednode {
19665
+ outline-color: var(--semi-color-text-0);
19666
+ }
19667
+ .semi-sidebar-file .tiptap .tiptap-image-slot .uploadFail .semi-upload-drag-area, .semi-sidebar-file .tiptap .tiptap-image-slot .validateFail .semi-upload-drag-area, .semi-sidebar-file .tiptap .tiptap-image-slot .uploading .semi-upload-drag-area, .semi-sidebar-file .tiptap .tiptap-image-slot .success .semi-upload-drag-area {
19668
+ display: none;
19669
+ }
19670
+ .semi-sidebar-file-menu-bar {
19671
+ display: flex;
19672
+ flex-direction: row;
19673
+ align-items: center;
19674
+ justify-content: center;
19675
+ flex-wrap: wrap;
19676
+ gap: 2px;
19677
+ border-top: 1px solid var(--semi-color-border);
19678
+ border-bottom: 1px solid var(--semi-color-border);
19679
+ padding: 2px 12px;
19680
+ }
19681
+ .semi-sidebar-file-menu-bar-dropdown-item-active {
19682
+ color: var(--semi-color-primary);
19683
+ background: var(--semi-color-fill-0);
19684
+ }
19685
+ .semi-sidebar-file-menu-bar .semi-divider-vertical {
19686
+ margin: 0px;
19687
+ }
19688
+ .semi-sidebar-file-menu-bar-btn-active.semi-button-tertiary.semi-button-borderless {
19689
+ background: var(--semi-color-fill-0);
19690
+ }
19691
+ .semi-sidebar-file-menu-bar-btn-codeblock {
19692
+ font-size: 12px;
19693
+ line-height: 16px;
19694
+ padding: 8px;
19695
+ }
19696
+ .semi-sidebar-file-menu-bar-link-dropdown {
19697
+ padding: 8px;
19698
+ display: flex;
19699
+ align-items: center;
19700
+ justify-content: center;
19701
+ }
19702
+ .semi-sidebar-file-menu-bar-link-dropdown-btn-active.semi-button-tertiary.semi-button-borderless {
19703
+ color: var(--semi-color-primary);
19704
+ }
19705
+ .semi-sidebar-detail .semi-sidebar-file {
19706
+ height: 100%;
19707
+ display: flex;
19708
+ flex-direction: column;
19709
+ }
19710
+ .semi-sidebar-detail .semi-sidebar-file-content {
19711
+ height: 100%;
19712
+ }
19713
+ .semi-sidebar-detail .semi-sidebar-file-editor {
19714
+ overflow: auto;
19715
+ flex: 1;
19716
+ padding: 0 12px;
19717
+ }
19718
+ .semi-sidebar-detail .semi-sidebar-code-content {
19719
+ overflow: auto;
19720
+ }
19721
+ .semi-sidebar-main .semi-sidebar-code-content {
19722
+ height: 200px;
19723
+ overflow: auto;
19724
+ }
19725
+ .semi-sidebar-main .semi-sidebar-collapse-file .semi-collapse-content {
19726
+ max-height: 400px;
19727
+ overflow: auto;
19728
+ }
19729
+ .semi-sidebar-main .semi-sidebar-collapse-code .semi-collapse-content {
19730
+ max-height: 200px;
19731
+ overflow: auto;
19732
+ }
19733
+ .semi-sidebar-main .semi-codeHighlight {
19734
+ height: 200px;
19735
+ overflow: auto;
19736
+ }
19737
+ .semi-sidebar-detail-header {
19738
+ display: flex;
19739
+ flex-direction: row;
19740
+ justify-content: space-between;
19741
+ align-items: center;
19742
+ color: var(--semi-color-text-0);
19743
+ padding: 12px;
19744
+ }
19745
+ .semi-sidebar-detail-header-left {
19746
+ display: flex;
19747
+ flex-direction: row;
19748
+ column-gap: 8px;
19749
+ align-items: center;
19750
+ }
19751
+ .semi-sidebar-detail-header-title {
19752
+ font-size: 16px;
19753
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19754
+ line-height: 22px;
19755
+ font-weight: 600;
19756
+ }
19757
+ .semi-sidebar-detail-header-right {
19758
+ display: flex;
19759
+ flex-direction: row;
19760
+ column-gap: 4px;
19761
+ align-items: center;
19762
+ }
19763
+
19218
19764
  .semi-skeleton-avatar, .semi-skeleton-image, .semi-skeleton-title, .semi-skeleton-button {
19219
19765
  background: var(--semi-color-fill-0);
19220
19766
  border-radius: var(--semi-border-radius-small);
@@ -21095,7 +21641,7 @@ img[src=""], img:not([src]) {
21095
21641
  display: block;
21096
21642
  float: left;
21097
21643
  font-weight: 400;
21098
- color: var(--semi-color-text-2);
21644
+ color: var(--semi-color-text-1);
21099
21645
  user-select: none;
21100
21646
  }
21101
21647
  .semi-tabs-bar .semi-tabs-tab .semi-icon:not(.semi-icon-checkbox_tick, .semi-icon-radio, .semi-icon-checkbox_indeterminate) {
@@ -21155,7 +21701,7 @@ img[src=""], img:not([src]) {
21155
21701
  position: relative;
21156
21702
  display: inline-block;
21157
21703
  font-weight: 400;
21158
- color: var(--semi-color-text-2);
21704
+ color: var(--semi-color-text-1);
21159
21705
  user-select: none;
21160
21706
  }
21161
21707
  .semi-tabs-tab-single.semi-tabs-tab .semi-icon:not(.semi-icon-checkbox_tick, .semi-icon-radio, .semi-icon-checkbox_indeterminate) {
@@ -21449,7 +21995,7 @@ img[src=""], img:not([src]) {
21449
21995
  .semi-tabs-bar-button .semi-tabs-tab {
21450
21996
  padding: 8px 12px;
21451
21997
  border-radius: 23px;
21452
- color: var(--semi-color-text-2);
21998
+ color: var(--semi-color-text-1);
21453
21999
  border: none;
21454
22000
  transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);
21455
22001
  transform: scale(var(--semi-transform_scale-none));
@@ -21683,7 +22229,7 @@ img[src=""], img:not([src]) {
21683
22229
  .semi-tabs-tab-button.semi-tabs-tab {
21684
22230
  padding: 8px 12px;
21685
22231
  border-radius: 23px;
21686
- color: var(--semi-color-text-2);
22232
+ color: var(--semi-color-text-1);
21687
22233
  border: none;
21688
22234
  transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);
21689
22235
  transform: scale(var(--semi-transform_scale-none));
@@ -26071,6 +26617,49 @@ p.semi-typography-extended,
26071
26617
  color: var(--semi-color-warning);
26072
26618
  }
26073
26619
 
26620
+ .semi-input-textarea-wrapper-withLineNumber {
26621
+ display: flex;
26622
+ padding: 0;
26623
+ align-items: flex-start;
26624
+ }
26625
+ .semi-input-textarea-wrapper-withLineNumber .semi-input-textarea-lineNumber {
26626
+ flex-shrink: 0;
26627
+ padding: 5px 12px;
26628
+ background-color: var(--semi-color-fill-1);
26629
+ border-right: 1px solid var(--semi-color-border);
26630
+ color: var(--semi-color-text-2);
26631
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
26632
+ font-size: inherit;
26633
+ line-height: 1.5;
26634
+ text-align: right;
26635
+ user-select: none;
26636
+ min-width: 36px;
26637
+ border-radius: var(--semi-border-radius-small) 0 0 var(--semi-border-radius-small);
26638
+ overflow-y: auto;
26639
+ overflow-x: hidden;
26640
+ scrollbar-width: none;
26641
+ -ms-overflow-style: none;
26642
+ }
26643
+ .semi-input-textarea-wrapper-withLineNumber .semi-input-textarea-lineNumber::-webkit-scrollbar {
26644
+ display: none;
26645
+ }
26646
+ .semi-input-textarea-wrapper-withLineNumber .semi-input-textarea-content {
26647
+ display: flex;
26648
+ flex: 1;
26649
+ min-width: 0;
26650
+ }
26651
+ .semi-input-textarea-wrapper-withLineNumber .semi-input-textarea-lineNumber-item {
26652
+ display: flex;
26653
+ align-items: flex-start;
26654
+ justify-content: flex-end;
26655
+ box-sizing: border-box;
26656
+ }
26657
+ .semi-input-textarea-wrapper-withLineNumber .semi-input-textarea {
26658
+ border-radius: 0 var(--semi-border-radius-small) var(--semi-border-radius-small) 0;
26659
+ line-height: 1.5;
26660
+ flex: 1;
26661
+ }
26662
+
26074
26663
  .semi-rtl .semi-input-wrapper,
26075
26664
  .semi-portal-rtl .semi-input-wrapper {
26076
26665
  direction: rtl;