Commit 44d9aa52 authored by timel's avatar timel

feat: styles small

parent fe9369cd
Pipeline #22447 failed with stages
in 14 minutes and 43 seconds
...@@ -17,6 +17,7 @@ export const Desc: React.FC<{ desc?: string }> = ({ desc = "" }) => { ...@@ -17,6 +17,7 @@ export const Desc: React.FC<{ desc?: string }> = ({ desc = "" }) => {
); );
}; };
/** 使用re去提取文本,并且将提取到的文本用Wrapper进行环绕 */
const RegexWrapper: React.FC<{ const RegexWrapper: React.FC<{
text: string; text: string;
re: RegExp; re: RegExp;
......
...@@ -12,10 +12,7 @@ ...@@ -12,10 +12,7 @@
border-radius: 6px; border-radius: 6px;
background: #242424; background: #242424;
.ant-drawer-header { .ant-drawer-header {
padding: 10px 0; padding: 15px 0;
button {
margin-right: 0;
}
.ant-drawer-header-title { .ant-drawer-header-title {
flex-direction: row-reverse; flex-direction: row-reverse;
padding-left: 24px; padding-left: 24px;
......
...@@ -31,9 +31,18 @@ section#mat { ...@@ -31,9 +31,18 @@ section#mat {
&.highlight { &.highlight {
// box-shadow: 0 0 0 1px #00b0ff, 0 0 13px 0px #0077ff, // box-shadow: 0 0 0 1px #00b0ff, 0 0 13px 0px #0077ff,
// 0 0 11px 0 skyblue inset; // 0 0 11px 0 skyblue inset;
background: #142f47; background: #102639;
cursor: pointer;
// animation: blink 1s linear infinite alternate;
.triangle { .triangle {
--color: #006eff; --color: #006eff;
transform: scale(1.5);
}
&:hover {
opacity: 0.7;
.triangle {
transform: scale(1.2);
}
} }
} }
.triangle { .triangle {
...@@ -43,6 +52,7 @@ section#mat { ...@@ -43,6 +52,7 @@ section#mat {
border-width: 4px; border-width: 4px;
border-style: solid; border-style: solid;
position: absolute; position: absolute;
transition: 0.3s;
&:nth-of-type(1) { &:nth-of-type(1) {
border-color: var(--color) transparent transparent var(--color); border-color: var(--color) transparent transparent var(--color);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment