@semi-bot/semi-theme-g0-admin 1.0.0 → 1.0.1

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,11 +5,11 @@ Operator: 用户4979751231030
5
5
 
6
6
  ## Compatibility
7
7
 
8
- Compatible with Semi Foundation Version 2.90.0 or newer.
8
+ Compatible with Semi Foundation Version 2.91.0 or newer.
9
9
 
10
10
  ## Version Release Note
11
11
 
12
- init 主题定制
12
+ 暗黑链接颜色
13
13
 
14
14
 
15
15
  ## Manual
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semi-bot/semi-theme-g0-admin",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Semi theme generated by dsm. https://semi.design/dsm",
5
5
  "keywords": [
6
6
  "semi-theme",
package/raw.json CHANGED
@@ -378,7 +378,7 @@
378
378
  "bg/--semi-color-bg-3": "rgba(67, 68, 74, 1)",
379
379
  "bg/--semi-color-bg-4": "rgba(79, 81, 89, 1)",
380
380
  "info/--semi-color-info": "rgba(var(--semi-brand-5), 1)",
381
- "link/--semi-color-link": "rgba(var(--semi-blue-5), 1)",
381
+ "link/--semi-color-link": "rgba(var(--semi-brand-5), 1)",
382
382
  "nav/--semi-color-nav-bg": "rgba(35, 36, 41, 1)",
383
383
  "black/--semi-color-black": "rgba(var(--semi-black), 1)",
384
384
  "data/--semi-color-data-0": "rgba(94, 109, 194, 1)",
@@ -414,13 +414,13 @@
414
414
  "shadow/--semi-color-shadow": "rgba(var(--semi-black), 0.04)",
415
415
  "default/--semi-color-default": "rgba(var(--semi-grey-0), 1)",
416
416
  "info/--semi-color-info-hover": "rgba(var(--semi-brand-6), 1)",
417
- "link/--semi-color-link-hover": "rgba(var(--semi-blue-6), 1)",
417
+ "link/--semi-color-link-hover": "rgba(var(--semi-brand-6), 1)",
418
418
  "primary/--semi-color-primary": "rgba(var(--semi-brand-5),1)",
419
419
  "success/--semi-color-success": "rgba(var(--semi-green-5), 1)",
420
420
  "warning/--semi-color-warning": "rgba(var(--semi-orange-5), 1)",
421
421
  "info/--semi-color-info-active": "rgba(var(--semi-brand-7), 1)",
422
- "link/--semi-color-link-active": "rgba(var(--semi-blue-7), 1)",
423
- "link/--semi-color-link-visited": "rgba(var(--semi-blue-5), 1)",
422
+ "link/--semi-color-link-active": "rgba(var(--semi-brand-7), 1)",
423
+ "link/--semi-color-link-visited": "rgba(var(--semi-brand-5), 1)",
424
424
  "tertiary/--semi-color-tertiary": "rgba(var(--semi-grey-5), 1)",
425
425
  "focus/--semi-color-focus-border": "rgba(var(--semi-brand-5), 1)",
426
426
  "info/--semi-color-info-disabled": "rgba(var(--semi-brand-2), 1)",
package/scss/global.scss CHANGED
@@ -122,7 +122,7 @@ body[theme-mode="dark"], body .semi-always-dark, :host([theme-mode="dark"]), :ho
122
122
  --semi-color-bg-3: rgba(67, 68, 74, 1);
123
123
  --semi-color-bg-4: rgba(79, 81, 89, 1);
124
124
  --semi-color-info: rgba(var(--semi-brand-5), 1);
125
- --semi-color-link: rgba(var(--semi-blue-5), 1);
125
+ --semi-color-link: rgba(var(--semi-brand-5), 1);
126
126
  --semi-color-nav-bg: rgba(35, 36, 41, 1);
127
127
  --semi-color-black: rgba(var(--semi-black), 1);
128
128
  --semi-color-data-0: rgba(94, 109, 194, 1);
@@ -158,13 +158,13 @@ body[theme-mode="dark"], body .semi-always-dark, :host([theme-mode="dark"]), :ho
158
158
  --semi-color-shadow: rgba(var(--semi-black), 0.04);
159
159
  --semi-color-default: rgba(var(--semi-grey-0), 1);
160
160
  --semi-color-info-hover: rgba(var(--semi-brand-6), 1);
161
- --semi-color-link-hover: rgba(var(--semi-blue-6), 1);
161
+ --semi-color-link-hover: rgba(var(--semi-brand-6), 1);
162
162
  --semi-color-primary: rgba(var(--semi-brand-5),1);
163
163
  --semi-color-success: rgba(var(--semi-green-5), 1);
164
164
  --semi-color-warning: rgba(var(--semi-orange-5), 1);
165
165
  --semi-color-info-active: rgba(var(--semi-brand-7), 1);
166
- --semi-color-link-active: rgba(var(--semi-blue-7), 1);
167
- --semi-color-link-visited: rgba(var(--semi-blue-5), 1);
166
+ --semi-color-link-active: rgba(var(--semi-brand-7), 1);
167
+ --semi-color-link-visited: rgba(var(--semi-brand-5), 1);
168
168
  --semi-color-tertiary: rgba(var(--semi-grey-5), 1);
169
169
  --semi-color-focus-border: rgba(var(--semi-brand-5), 1);
170
170
  --semi-color-info-disabled: rgba(var(--semi-brand-2), 1);
package/semi.css CHANGED
@@ -491,7 +491,7 @@ body[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .
491
491
  --semi-color-bg-3: rgba(67, 68, 74, 1);
492
492
  --semi-color-bg-4: rgba(79, 81, 89, 1);
493
493
  --semi-color-info: rgba(var(--semi-brand-5), 1);
494
- --semi-color-link: rgba(var(--semi-blue-5), 1);
494
+ --semi-color-link: rgba(var(--semi-brand-5), 1);
495
495
  --semi-color-nav-bg: rgba(35, 36, 41, 1);
496
496
  --semi-color-black: rgba(var(--semi-black), 1);
497
497
  --semi-color-data-0: rgba(94, 109, 194, 1);
@@ -527,13 +527,13 @@ body[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .
527
527
  --semi-color-shadow: rgba(var(--semi-black), 0.04);
528
528
  --semi-color-default: rgba(var(--semi-grey-0), 1);
529
529
  --semi-color-info-hover: rgba(var(--semi-brand-6), 1);
530
- --semi-color-link-hover: rgba(var(--semi-blue-6), 1);
530
+ --semi-color-link-hover: rgba(var(--semi-brand-6), 1);
531
531
  --semi-color-primary: rgba(var(--semi-brand-5),1);
532
532
  --semi-color-success: rgba(var(--semi-green-5), 1);
533
533
  --semi-color-warning: rgba(var(--semi-orange-5), 1);
534
534
  --semi-color-info-active: rgba(var(--semi-brand-7), 1);
535
- --semi-color-link-active: rgba(var(--semi-blue-7), 1);
536
- --semi-color-link-visited: rgba(var(--semi-blue-5), 1);
535
+ --semi-color-link-active: rgba(var(--semi-brand-7), 1);
536
+ --semi-color-link-visited: rgba(var(--semi-brand-5), 1);
537
537
  --semi-color-tertiary: rgba(var(--semi-grey-5), 1);
538
538
  --semi-color-focus-border: rgba(var(--semi-brand-5), 1);
539
539
  --semi-color-info-disabled: rgba(var(--semi-brand-2), 1);
@@ -15244,6 +15244,10 @@ img[src=""], img:not([src]) {
15244
15244
  margin-right: 0;
15245
15245
  }
15246
15246
 
15247
+ .semi-json-viewer {
15248
+ box-sizing: border-box;
15249
+ padding: 12px 0;
15250
+ }
15247
15251
  .semi-json-viewer-background {
15248
15252
  background-color: var(--semi-color-default);
15249
15253
  }
@@ -19229,6 +19233,537 @@ img[src=""], img:not([src]) {
19229
19233
  text-align: right;
19230
19234
  }
19231
19235
 
19236
+ .semi-sidebar-main .semi-sidebar-container-content {
19237
+ overflow: hidden;
19238
+ }
19239
+ .semi-sidebar-main-content-wrapper {
19240
+ display: flex;
19241
+ flex-direction: column;
19242
+ height: 100%;
19243
+ }
19244
+ .semi-sidebar-main-content {
19245
+ padding: 12px;
19246
+ height: 100%;
19247
+ box-sizing: border-box;
19248
+ overflow: auto;
19249
+ }
19250
+ .semi-sidebar-container {
19251
+ height: 100%;
19252
+ border-left: 1px solid var(--semi-color-border);
19253
+ box-sizing: border-box;
19254
+ display: flex;
19255
+ flex-direction: column;
19256
+ overflow: hidden;
19257
+ position: relative;
19258
+ }
19259
+ .semi-sidebar-container-header {
19260
+ display: flex;
19261
+ align-items: center;
19262
+ padding: 12px 12px 12px 20px;
19263
+ border-bottom: 1px solid var(--semi-color-border);
19264
+ }
19265
+ .semi-sidebar-container-header-title {
19266
+ flex: 1;
19267
+ font-size: 16px;
19268
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19269
+ line-height: 22px;
19270
+ font-weight: 600;
19271
+ }
19272
+ .semi-sidebar-container-header-closeBtn {
19273
+ flex-shrink: 0;
19274
+ }
19275
+ .semi-sidebar-container-content {
19276
+ flex: 1 1;
19277
+ overflow: hidden;
19278
+ }
19279
+ .semi-sidebar-container .semi-toast-wrapper {
19280
+ position: absolute;
19281
+ }
19282
+ @keyframes semi-sidebar-slideShow_right {
19283
+ from {
19284
+ transform: translateX(100%);
19285
+ }
19286
+ to {
19287
+ transform: translateX(0);
19288
+ }
19289
+ }
19290
+ @keyframes semi-sidebar-slideHide_right {
19291
+ from {
19292
+ transform: translateX(0);
19293
+ }
19294
+ to {
19295
+ transform: translateX(100%);
19296
+ }
19297
+ }
19298
+ .semi-sidebar-animation-content_show {
19299
+ animation: semi-sidebar-slideShow_right 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
19300
+ animation-fill-mode: forwards;
19301
+ }
19302
+ .semi-sidebar-animation-content_hide {
19303
+ animation: semi-sidebar-slideHide_right 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms;
19304
+ animation-fill-mode: forwards;
19305
+ }
19306
+ .semi-sidebar-mcp-configure-content {
19307
+ padding: 20px 16px;
19308
+ display: flex;
19309
+ flex-direction: column;
19310
+ height: 100%;
19311
+ box-sizing: border-box;
19312
+ }
19313
+ .semi-sidebar-mcp-configure-content-header {
19314
+ display: flex;
19315
+ align-items: center;
19316
+ justify-content: space-between;
19317
+ }
19318
+ .semi-sidebar-mcp-configure-content-header-count {
19319
+ font-size: 12px;
19320
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19321
+ line-height: 16px;
19322
+ vertical-align: middle;
19323
+ color: var(--semi-color-text-2);
19324
+ }
19325
+ .semi-sidebar-mcp-configure-content-search {
19326
+ margin: 16px 0;
19327
+ }
19328
+ .semi-sidebar-mcp-configure-content-search-container {
19329
+ display: flex;
19330
+ column-gap: 8px;
19331
+ }
19332
+ .semi-sidebar-mcp-configure-content-item-container {
19333
+ overflow-y: auto;
19334
+ }
19335
+ .semi-sidebar-mcp-configure-content-item {
19336
+ padding: 8px 16px;
19337
+ display: flex;
19338
+ align-items: center;
19339
+ border-bottom: 1px solid var(--semi-color-border);
19340
+ }
19341
+ .semi-sidebar-mcp-configure-content-item-sign {
19342
+ width: 32px;
19343
+ height: 32px;
19344
+ margin-right: 12px;
19345
+ flex-shrink: 0;
19346
+ }
19347
+ .semi-sidebar-mcp-configure-content-item-sign .semi-icon {
19348
+ font-size: 32px;
19349
+ }
19350
+ .semi-sidebar-mcp-configure-content-item-content {
19351
+ justify-content: center;
19352
+ flex: 1;
19353
+ min-width: 0;
19354
+ margin-right: 24px;
19355
+ }
19356
+ .semi-sidebar-mcp-configure-content-item-content-label {
19357
+ font-size: 14px;
19358
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19359
+ line-height: 20px;
19360
+ font-weight: 600;
19361
+ color: var(--semi-color-text-0);
19362
+ }
19363
+ .semi-sidebar-mcp-configure-content-item-content-desc {
19364
+ font-size: 12px;
19365
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19366
+ line-height: 16px;
19367
+ color: var(--semi-color-text-0);
19368
+ overflow: hidden;
19369
+ text-overflow: ellipsis;
19370
+ white-space: nowrap;
19371
+ max-width: 100%;
19372
+ }
19373
+ .semi-sidebar-mcp-configure-content-item-button {
19374
+ flex-shrink: 0;
19375
+ }
19376
+ .semi-sidebar-mcp-configure-content-item-button-configure {
19377
+ margin-right: 12px;
19378
+ }
19379
+ .semi-sidebar-mcp-configure-content-item-button.semi-button.semi-button-with-icon-only {
19380
+ width: 24px;
19381
+ height: 24px;
19382
+ }
19383
+ .semi-sidebar-mcp-configure-content-custom-empty {
19384
+ margin-top: 64px;
19385
+ }
19386
+ .semi-sidebar-annotation .semi-sidebar-container-content {
19387
+ padding: 12px;
19388
+ overflow: auto;
19389
+ }
19390
+ .semi-sidebar-annotation-content {
19391
+ display: flex;
19392
+ flex-direction: row;
19393
+ flex-wrap: wrap;
19394
+ gap: 8px;
19395
+ width: 100%;
19396
+ }
19397
+ .semi-sidebar-annotation-item {
19398
+ cursor: pointer;
19399
+ }
19400
+ .semi-sidebar-annotation-item-title {
19401
+ overflow: hidden;
19402
+ text-overflow: ellipsis;
19403
+ white-space: normal;
19404
+ max-width: 100%;
19405
+ display: -webkit-box;
19406
+ line-clamp: 2;
19407
+ -webkit-line-clamp: 2;
19408
+ -webkit-box-orient: vertical;
19409
+ font-size: 14px;
19410
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19411
+ line-height: 20px;
19412
+ color: var(--semi-color-text-0);
19413
+ font-weight: 600;
19414
+ }
19415
+ .semi-sidebar-annotation-item-footer {
19416
+ display: flex;
19417
+ column-gap: 4px;
19418
+ align-items: center;
19419
+ }
19420
+ .semi-sidebar-annotation-item-footer-logo {
19421
+ font-size: 14px;
19422
+ width: 14px;
19423
+ height: 14px;
19424
+ }
19425
+ .semi-sidebar-annotation-item-footer-text {
19426
+ font-size: 12px;
19427
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19428
+ line-height: 16px;
19429
+ color: var(--semi-color-text-0);
19430
+ overflow: hidden;
19431
+ text-overflow: ellipsis;
19432
+ white-space: nowrap;
19433
+ flex-grow: 1;
19434
+ }
19435
+ .semi-sidebar-annotation-item-footer-order {
19436
+ box-sizing: border-box;
19437
+ min-width: 16px;
19438
+ padding: 0 2px;
19439
+ height: 16px;
19440
+ border-radius: 8px;
19441
+ background-color: var(--semi-color-fill-1);
19442
+ display: flex;
19443
+ align-items: center;
19444
+ justify-content: center;
19445
+ font-size: 12px;
19446
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19447
+ line-height: 16px;
19448
+ color: var(--semi-color-text-2);
19449
+ }
19450
+ .semi-sidebar-annotation-item-text {
19451
+ padding: 3px 12px;
19452
+ width: 100%;
19453
+ row-gap: 8px;
19454
+ display: flex;
19455
+ flex-direction: column;
19456
+ }
19457
+ .semi-sidebar-annotation-item-text-detail {
19458
+ overflow: hidden;
19459
+ text-overflow: ellipsis;
19460
+ white-space: normal;
19461
+ max-width: 100%;
19462
+ display: -webkit-box;
19463
+ line-clamp: 4;
19464
+ -webkit-line-clamp: 4;
19465
+ -webkit-box-orient: vertical;
19466
+ font-size: 12px;
19467
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19468
+ line-height: 16px;
19469
+ color: var(--semi-color-text-2);
19470
+ }
19471
+ .semi-sidebar-annotation-item-video {
19472
+ border-radius: 6px;
19473
+ border: 1px solid var(--semi-color-border);
19474
+ overflow: hidden;
19475
+ width: calc((100% - 8px) / 2);
19476
+ box-sizing: border-box;
19477
+ }
19478
+ .semi-sidebar-annotation-item-video-content {
19479
+ padding: 8px 8px 12px 8px;
19480
+ display: flex;
19481
+ flex-direction: column;
19482
+ row-gap: 8px;
19483
+ }
19484
+ .semi-sidebar-annotation-item-video .semi-sidebar-annotation-item-title {
19485
+ height: 40px;
19486
+ }
19487
+ .semi-sidebar-annotation-item-video-img {
19488
+ width: 100%;
19489
+ height: 100%;
19490
+ object-fit: cover;
19491
+ }
19492
+ .semi-sidebar-annotation-item-video-img-wrapper {
19493
+ position: relative;
19494
+ width: 100%;
19495
+ height: 107px;
19496
+ }
19497
+ .semi-sidebar-annotation-item-video-play {
19498
+ position: absolute;
19499
+ top: 6px;
19500
+ right: 6px;
19501
+ border: 1px solid var(--semi-color-bg-0);
19502
+ background: var(--semi-color-text-2);
19503
+ color: var(--semi-color-bg-0);
19504
+ border-radius: 50%;
19505
+ width: 20px;
19506
+ height: 20px;
19507
+ }
19508
+ .semi-sidebar-annotation-item-video-play.semi-icon {
19509
+ display: inline-flex;
19510
+ align-items: center;
19511
+ justify-content: center;
19512
+ font-size: 12px;
19513
+ }
19514
+ .semi-sidebar-annotation-item-video-duration {
19515
+ padding: 2px 4px;
19516
+ position: absolute;
19517
+ bottom: 6px;
19518
+ right: 6px;
19519
+ background-color: rgba(var(--semi-grey-7), 0.7);
19520
+ border-radius: 4px;
19521
+ font-size: 12px;
19522
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19523
+ line-height: 16px;
19524
+ color: var(--semi-color-bg-0);
19525
+ }
19526
+ .semi-sidebar-annotation-item-video-title {
19527
+ font-size: 14px;
19528
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19529
+ line-height: 20px;
19530
+ color: var(--semi-color-text-0);
19531
+ }
19532
+ .semi-sidebar-code-content {
19533
+ height: 100%;
19534
+ }
19535
+ .semi-sidebar-code-content .semi-codeHighlight-defaultTheme pre[class*=language-], .semi-sidebar-main-content .semi-codeHighlight-defaultTheme pre[class*=language-] {
19536
+ margin: 0px;
19537
+ padding-top: 0px;
19538
+ padding-bottom: 0px;
19539
+ background-color: transparent;
19540
+ overflow-y: hidden;
19541
+ overflow-x: auto;
19542
+ }
19543
+ .semi-sidebar-code-content .semi-codeHighlight .line-numbers .line-numbers-rows, .semi-sidebar-main-content .semi-codeHighlight .line-numbers .line-numbers-rows {
19544
+ border-right: none;
19545
+ }
19546
+ .semi-sidebar-code-content .semi-json-viewer, .semi-sidebar-main-content .semi-json-viewer {
19547
+ padding-top: 0px;
19548
+ padding-bottom: 0px;
19549
+ background-color: transparent;
19550
+ }
19551
+ .semi-sidebar-collapse .semi-collapse-item {
19552
+ border: 1px solid var(--semi-color-border);
19553
+ border-radius: 8px;
19554
+ }
19555
+ .semi-sidebar-collapse .semi-collapse-item:not(:last-child) {
19556
+ margin-bottom: 8px;
19557
+ }
19558
+ .semi-sidebar-collapse .semi-collapse-header {
19559
+ padding: 8px 16px;
19560
+ margin: 0px;
19561
+ font-weight: 400;
19562
+ }
19563
+ .semi-sidebar-collapse-header-content {
19564
+ display: flex;
19565
+ align-items: center;
19566
+ gap: 8px;
19567
+ width: 100%;
19568
+ padding-right: 8px;
19569
+ }
19570
+ .semi-sidebar-collapse-header-content .semi-icon {
19571
+ color: var(--semi-color-text-1);
19572
+ }
19573
+ .semi-sidebar-collapse-header-text {
19574
+ flex: 1;
19575
+ overflow: hidden;
19576
+ text-overflow: ellipsis;
19577
+ white-space: nowrap;
19578
+ }
19579
+ .semi-sidebar-collapse-header-expand-btn {
19580
+ flex-shrink: 0;
19581
+ }
19582
+ .semi-sidebar-collapse-header-expand-btn.semi-button.semi-button-with-icon-only {
19583
+ padding: 4px;
19584
+ width: 24px;
19585
+ height: 24px;
19586
+ }
19587
+ .semi-sidebar-collapse .semi-collapse-item-active .semi-collapsible-wrapper {
19588
+ border-top: 1px solid var(--semi-color-border);
19589
+ }
19590
+ .semi-sidebar-collapse-code .semi-collapse-content {
19591
+ padding: 12px 0px;
19592
+ }
19593
+ .semi-sidebar-options {
19594
+ display: flex;
19595
+ flex-direction: row;
19596
+ flex-wrap: wrap;
19597
+ gap: 8px;
19598
+ padding: 8px 12px;
19599
+ border-bottom: 1px solid var(--semi-color-border);
19600
+ }
19601
+ .semi-sidebar-options-button .semi-button-content-right {
19602
+ margin-left: 4px;
19603
+ }
19604
+ .semi-sidebar-options-normal.semi-button-primary.semi-button-light {
19605
+ color: var(--semi-color-text-2);
19606
+ font-weight: 400;
19607
+ }
19608
+ .semi-sidebar-file .tiptap {
19609
+ font-size: 14px;
19610
+ line-height: 24px;
19611
+ }
19612
+ .semi-sidebar-file .tiptap ::selection {
19613
+ background: rgba(var(--semi-light-blue-1), 1);
19614
+ }
19615
+ .semi-sidebar-file .tiptap ::-moz-selection {
19616
+ background: rgba(var(--semi-light-blue-1), 1);
19617
+ }
19618
+ .semi-sidebar-file .tiptap p.is-editor-empty:first-child::before {
19619
+ color: var(--semi-color-text-2);
19620
+ content: attr(data-placeholder);
19621
+ float: left;
19622
+ height: 0;
19623
+ pointer-events: none;
19624
+ }
19625
+ .semi-sidebar-file .tiptap p {
19626
+ margin: 0px;
19627
+ white-space: pre-wrap;
19628
+ color: var(--semi-color-text-0);
19629
+ }
19630
+ .semi-sidebar-file .tiptap blockquote {
19631
+ border-left: 3px solid var(--semi-color-border);
19632
+ margin: 24px 0;
19633
+ padding-left: 16px;
19634
+ }
19635
+ .semi-sidebar-file .tiptap:focus {
19636
+ outline: none;
19637
+ }
19638
+ .semi-sidebar-file .tiptap pre {
19639
+ background-color: var(--semi-color-fill-0);
19640
+ padding: 2px 4px;
19641
+ border-radius: 4px;
19642
+ overflow: auto;
19643
+ font-size: 14px;
19644
+ line-height: 24px;
19645
+ border: 1px solid var(--semi-color-border);
19646
+ }
19647
+ .semi-sidebar-file .tiptap pre code {
19648
+ background-color: transparent;
19649
+ }
19650
+ .semi-sidebar-file .tiptap code {
19651
+ background-color: var(--semi-color-border);
19652
+ padding: 2px 4px;
19653
+ }
19654
+ .semi-sidebar-file .tiptap hr {
19655
+ border: none;
19656
+ border-top: 1px solid var(--semi-color-border);
19657
+ }
19658
+ .semi-sidebar-file .tiptap span.select {
19659
+ display: inline-block;
19660
+ background-color: rgba(var(--semi-light-blue-1), 1);
19661
+ line-height: 24px;
19662
+ }
19663
+ .semi-sidebar-file .tiptap.ProseMirror img:not([data-type=emoji] img) {
19664
+ outline: 0.125rem solid transparent;
19665
+ margin: 12px 0;
19666
+ }
19667
+ .semi-sidebar-file .tiptap.ProseMirror img:not([data-type=emoji] img).ProseMirror-selectednode {
19668
+ outline-color: var(--semi-color-text-0);
19669
+ }
19670
+ .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 {
19671
+ display: none;
19672
+ }
19673
+ .semi-sidebar-file-menu-bar {
19674
+ display: flex;
19675
+ flex-direction: row;
19676
+ align-items: center;
19677
+ justify-content: center;
19678
+ flex-wrap: wrap;
19679
+ gap: 2px;
19680
+ border-top: 1px solid var(--semi-color-border);
19681
+ border-bottom: 1px solid var(--semi-color-border);
19682
+ padding: 2px 12px;
19683
+ }
19684
+ .semi-sidebar-file-menu-bar-dropdown-item-active {
19685
+ color: var(--semi-color-primary);
19686
+ background: var(--semi-color-fill-0);
19687
+ }
19688
+ .semi-sidebar-file-menu-bar .semi-divider-vertical {
19689
+ margin: 0px;
19690
+ }
19691
+ .semi-sidebar-file-menu-bar-btn-active.semi-button-tertiary.semi-button-borderless {
19692
+ background: var(--semi-color-fill-0);
19693
+ }
19694
+ .semi-sidebar-file-menu-bar-btn-codeblock {
19695
+ font-size: 12px;
19696
+ line-height: 16px;
19697
+ padding: 8px;
19698
+ }
19699
+ .semi-sidebar-file-menu-bar-link-dropdown {
19700
+ padding: 8px;
19701
+ display: flex;
19702
+ align-items: center;
19703
+ justify-content: center;
19704
+ }
19705
+ .semi-sidebar-file-menu-bar-link-dropdown-btn-active.semi-button-tertiary.semi-button-borderless {
19706
+ color: var(--semi-color-primary);
19707
+ }
19708
+ .semi-sidebar-detail .semi-sidebar-file {
19709
+ height: 100%;
19710
+ display: flex;
19711
+ flex-direction: column;
19712
+ }
19713
+ .semi-sidebar-detail .semi-sidebar-file-content {
19714
+ height: 100%;
19715
+ }
19716
+ .semi-sidebar-detail .semi-sidebar-file-editor {
19717
+ overflow: auto;
19718
+ flex: 1;
19719
+ padding: 0 12px;
19720
+ }
19721
+ .semi-sidebar-detail .semi-sidebar-code-content {
19722
+ overflow: auto;
19723
+ }
19724
+ .semi-sidebar-main .semi-sidebar-code-content {
19725
+ height: 200px;
19726
+ overflow: auto;
19727
+ }
19728
+ .semi-sidebar-main .semi-sidebar-collapse-file .semi-collapse-content {
19729
+ max-height: 400px;
19730
+ overflow: auto;
19731
+ }
19732
+ .semi-sidebar-main .semi-sidebar-collapse-code .semi-collapse-content {
19733
+ max-height: 200px;
19734
+ overflow: auto;
19735
+ }
19736
+ .semi-sidebar-main .semi-codeHighlight {
19737
+ height: 200px;
19738
+ overflow: auto;
19739
+ }
19740
+ .semi-sidebar-detail-header {
19741
+ display: flex;
19742
+ flex-direction: row;
19743
+ justify-content: space-between;
19744
+ align-items: center;
19745
+ color: var(--semi-color-text-0);
19746
+ padding: 12px;
19747
+ }
19748
+ .semi-sidebar-detail-header-left {
19749
+ display: flex;
19750
+ flex-direction: row;
19751
+ column-gap: 8px;
19752
+ align-items: center;
19753
+ }
19754
+ .semi-sidebar-detail-header-title {
19755
+ font-size: 16px;
19756
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
19757
+ line-height: 22px;
19758
+ font-weight: 600;
19759
+ }
19760
+ .semi-sidebar-detail-header-right {
19761
+ display: flex;
19762
+ flex-direction: row;
19763
+ column-gap: 4px;
19764
+ align-items: center;
19765
+ }
19766
+
19232
19767
  .semi-skeleton-avatar, .semi-skeleton-image, .semi-skeleton-title, .semi-skeleton-button {
19233
19768
  background: var(--semi-color-fill-0);
19234
19769
  border-radius: var(--semi-border-radius-small);