style: perf

This commit is contained in:
元凛
2022-02-10 14:24:22 +08:00
parent 92b9e397a9
commit 2b4519585f
4 changed files with 27 additions and 23 deletions

View File

@@ -24,8 +24,6 @@
- Remove title body default
- `month-statistics` is removed, can use [issues-month-statistics](https://github.com/actions-cool/issues-month-statistics)
<!-- V3 -->
## v2.5.0
`2021.10.19`

1
dist/index.js vendored
View File

@@ -15673,7 +15673,6 @@ class IssueCoreEngine {
repo,
issue_number: issueNumber,
});
console.log(issue);
return issue.data;
});
}

View File

@@ -136,7 +136,6 @@ export class IssueCoreEngine implements IIssueCoreEngine {
repo,
issue_number: issueNumber,
});
console.log(issue)
return issue.data as unknown as TIssueInfo;
}

View File

@@ -44,11 +44,9 @@ html {
z-index: -1;
display: inline-block;
height: 10px;
background: radial-gradient(
ellipse at center,
background: radial-gradient(ellipse at center,
rgba(0, 0, 0, 0.35) 0%,
rgba(0, 0, 0, 0) 80%
);
rgba(0, 0, 0, 0) 80%);
opacity: 0;
transition-duration: 0.3s;
transition-property: transform, opacity;
@@ -57,6 +55,7 @@ html {
&:hover {
transform: translateY(-5px);
&::before {
transform: translateY(5px);
opacity: 1;
@@ -77,10 +76,12 @@ html {
background: linear-gradient(45deg, #72a2de 30%, #5db8c7 90%) !important;
border-radius: 2px !important;
border: none !important;
a {
color: #fff !important;
letter-spacing: 0.6px;
}
&::before {
position: absolute;
top: 0;
@@ -90,19 +91,26 @@ html {
display: inline-block;
width: 0;
height: 0;
background: linear-gradient(
225deg,
background: linear-gradient(225deg,
white 45%,
#aaa 50%,
#ccc 56%,
white 80%
);
white 80%);
box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
opacity: 1;
transition-duration: 0.3s;
transition-property: width, height;
content: '';
[data-prefers-color=dark] & {
background: linear-gradient(225deg,
#141414 45%,
#aaa 50%,
#ccc 56%,
white 80%);
}
}
&:hover::before {
width: 14px;
height: 14px;