Skip to content

Commit bc5bbbe

Browse files
committed
style(css): 调整 z-index 和过渡效果格式化,优化背景颜色混合属性
1 parent 47968b8 commit bc5bbbe

1 file changed

Lines changed: 19 additions & 7 deletions

File tree

resources/webview.css

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ body {
324324
flex-shrink: 0;
325325
margin-top: 6px;
326326
position: relative;
327-
z-index: 10;
327+
z-index: 3;
328328
}
329329

330330
.bubble-dot.success {
@@ -402,7 +402,9 @@ body {
402402
pointer-events: none;
403403
opacity: 0;
404404
visibility: hidden;
405-
transition: opacity 0.5s, visibility 0.5s;
405+
transition:
406+
opacity 0.5s,
407+
visibility 0.5s;
406408
}
407409

408410
.tooltip.show {
@@ -530,11 +532,19 @@ body {
530532
}
531533

532534
.diff-line.added {
533-
background: color-mix(in srgb, var(--vscode-diffEditor-insertedLineBackground, rgba(46, 160, 67, 0.18)) 100%, transparent);
535+
background: color-mix(
536+
in srgb,
537+
var(--vscode-diffEditor-insertedLineBackground, rgba(46, 160, 67, 0.18)) 100%,
538+
transparent
539+
);
534540
}
535541

536542
.diff-line.removed {
537-
background: color-mix(in srgb, var(--vscode-diffEditor-removedLineBackground, rgba(248, 81, 73, 0.16)) 100%, transparent);
543+
background: color-mix(
544+
in srgb,
545+
var(--vscode-diffEditor-removedLineBackground, rgba(248, 81, 73, 0.16)) 100%,
546+
transparent
547+
);
538548
}
539549

540550
.diff-line.context {
@@ -788,7 +798,10 @@ body {
788798
border-radius: 4px;
789799
border: 1px solid var(--border-color);
790800
background: var(--vscode-input-background);
791-
transition: border-color 0.15s ease, outline-color 0.15s ease, background-color 0.15s ease;
801+
transition:
802+
border-color 0.15s ease,
803+
outline-color 0.15s ease,
804+
background-color 0.15s ease;
792805
}
793806

794807
.input-wrap:focus-within {
@@ -1011,7 +1024,6 @@ textarea::placeholder {
10111024
font-weight: 600;
10121025
margin-bottom: 10px;
10131026
}
1014-
10151027
.context-tooltip-section {
10161028
margin-top: 10px;
10171029
padding-top: 8px;
@@ -1205,7 +1217,7 @@ textarea::placeholder {
12051217
min-width: 0;
12061218
}
12071219

1208-
.skills-tags-inner{
1220+
.skills-tags-inner {
12091221
width: 100%;
12101222
overflow: auto;
12111223
white-space: nowrap;

0 commit comments

Comments
 (0)