feat: css style

This commit is contained in:
xingyu4j
2025-10-13 14:54:56 +08:00
parent e7f1eb0844
commit 8b423d3f08

View File

@@ -139,16 +139,19 @@
border: 0; border: 0;
animation: blink 1.06s steps(1) infinite; animation: blink 1.06s steps(1) infinite;
} }
@keyframes blink { @keyframes blink {
50% { 50% {
background-color: transparent; background-color: transparent;
} }
} }
@keyframes blink { @keyframes blink {
50% { 50% {
background-color: transparent; background-color: transparent;
} }
} }
@keyframes blink { @keyframes blink {
50% { 50% {
background-color: transparent; background-color: transparent;
@@ -162,10 +165,7 @@
.CodeMirror-rulers { .CodeMirror-rulers {
position: absolute; position: absolute;
top: -50px; inset: -50px 0 -20px;
right: 0;
bottom: -20px;
left: 0;
overflow: hidden; overflow: hidden;
} }
@@ -341,15 +341,13 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-vscrollbar { .CodeMirror-vscrollbar {
top: 0; top: 0;
right: 0; right: 0;
overflow-x: hidden; overflow: hidden scroll;
overflow-y: scroll;
} }
.CodeMirror-hscrollbar { .CodeMirror-hscrollbar {
bottom: 0; bottom: 0;
left: 0; left: 0;
overflow-x: scroll; overflow: scroll hidden;
overflow-y: hidden;
} }
.CodeMirror-scrollbar-filler { .CodeMirror-scrollbar-filler {
@@ -366,8 +364,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
display: inline-block; display: inline-block;
height: 100%; height: 100%;
margin-bottom: -30px; margin-bottom: -30px;
white-space: normal;
vertical-align: top; vertical-align: top;
white-space: normal;
} }
.CodeMirror-gutter-wrapper { .CodeMirror-gutter-wrapper {
@@ -406,6 +404,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
overflow: visible; overflow: visible;
font-family: inherit; font-family: inherit;
font-size: inherit; font-size: inherit;
font-variant-ligatures: contextual;
line-height: inherit; line-height: inherit;
color: inherit; color: inherit;
word-wrap: normal; word-wrap: normal;
@@ -416,7 +415,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
/* Reset some styles that the rest of the page might have set */ /* Reset some styles that the rest of the page might have set */
border-radius: 0; border-radius: 0;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
font-variant-ligatures: contextual;
} }
.CodeMirror-wrap pre { .CodeMirror-wrap pre {
@@ -427,10 +425,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-linebackground { .CodeMirror-linebackground {
position: absolute; position: absolute;
top: 0; inset: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0; z-index: 0;
} }
@@ -459,10 +454,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-measure { .CodeMirror-measure {
position: absolute; position: absolute;
visibility: hidden;
width: 100%; width: 100%;
height: 0; height: 0;
overflow: hidden; overflow: hidden;
visibility: hidden;
} }
.CodeMirror-measure pre { .CodeMirror-measure pre {