mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-10-14 07:43:46 +08:00
style: perf
This commit is contained in:
@@ -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
1
dist/index.js
vendored
@@ -15673,7 +15673,6 @@ class IssueCoreEngine {
|
|||||||
repo,
|
repo,
|
||||||
issue_number: issueNumber,
|
issue_number: issueNumber,
|
||||||
});
|
});
|
||||||
console.log(issue);
|
|
||||||
return issue.data;
|
return issue.data;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
24
web/web.less
24
web/web.less
@@ -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;
|
||||||
|
Reference in New Issue
Block a user