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 - Remove title body default
- `month-statistics` is removed, can use [issues-month-statistics](https://github.com/actions-cool/issues-month-statistics) - `month-statistics` is removed, can use [issues-month-statistics](https://github.com/actions-cool/issues-month-statistics)
<!-- V3 -->
## v2.5.0 ## v2.5.0
`2021.10.19` `2021.10.19`

1
dist/index.js vendored
View File

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

View File

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

View File

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