Skip to content
This repository was archived by the owner on Jun 25, 2021. It is now read-only.

Commit 6b92577

Browse files
committed
release: v1.4.3
1 parent 917246f commit 6b92577

File tree

4 files changed

+61
-32
lines changed

4 files changed

+61
-32
lines changed

leetcode-cn-dark.user.css

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* ==UserStyle==
22
@name LeetcodeCN Dark
33
@namespace github.com/blackcater/LeetCodeCN-Dark
4-
@version 1.4.2
4+
@version 1.4.3
55
@license Mulan PSL
66
@updateURL https://raw.githubusercontent.com/blackcater/LeetCodeCN-Dark/master/leetcode-cn-dark.user.css
77
@author Elon Tang <blackcater2015@gmail.com>
@@ -2040,13 +2040,13 @@
20402040
#user-progress-app .css-1rc2chb-CalendarWrapper {
20412041
background: #2b2b2b !important;
20422042
}
2043-
#user-progress-app .css-1rc2chb-CalendarWrapper .css-4hxiu2-MedalContainer {
2043+
#user-progress-app .css-1rc2chb-CalendarWrapper .css-1qr6czm-MedalContainer {
20442044
background: none;
20452045
}
2046-
#user-progress-app .css-1rc2chb-CalendarWrapper .css-4hxiu2-MedalContainer img {
2046+
#user-progress-app .css-1rc2chb-CalendarWrapper .css-1qr6czm-MedalContainer img {
20472047
opacity: 0.5;
20482048
}
2049-
#user-progress-app .css-1rc2chb-CalendarWrapper .css-4hxiu2-MedalContainer img:hover {
2049+
#user-progress-app .css-1rc2chb-CalendarWrapper .css-1qr6czm-MedalContainer img:hover {
20502050
opacity: 1;
20512051
}
20522052
#user-progress-app .css-1rc2chb-CalendarWrapper .css-yk1l9u-CalendarTitle {
@@ -2062,7 +2062,7 @@
20622062
#user-progress-app .css-1rc2chb-CalendarWrapper .css-ctx0ft-CalendarWeek .css-11lyyu4-CalendarHeader {
20632063
color: #dbdbdb !important;
20642064
}
2065-
#user-progress-app .css-1rc2chb-CalendarWrapper .css-ctx0ft-CalendarWeek .css-400zsq-CalendarDay {
2065+
#user-progress-app .css-1rc2chb-CalendarWrapper .css-ctx0ft-CalendarWeek .css-1nl9zo2-CalendarDay {
20662066
color: #b3b3b3 !important;
20672067
}
20682068
#user-progress-app .css-1rc2chb-CalendarWrapper .css-ctx0ft-CalendarWeek .css-tgugze-CalendarDay-MissedCalendarDay {
@@ -2083,13 +2083,13 @@
20832083
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-17nb129-Title {
20842084
color: #dbdbdb !important;
20852085
}
2086-
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-1b0qeup-SessionButton {
2086+
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-4nx14l-SessionButton {
20872087
background-color: #3d3d3d !important;
20882088
}
2089-
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-1b0qeup-SessionButton .css-5lrm4v-SessionName {
2089+
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-4nx14l-SessionButton .css-5lrm4v-SessionName {
20902090
color: #b3b3b3 !important;
20912091
}
2092-
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-1b0qeup-SessionButton svg {
2092+
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-4nx14l-SessionButton svg {
20932093
fill: #b3b3b3 !important;
20942094
}
20952095
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-zndv66-ConfigButton {
@@ -2098,25 +2098,25 @@
20982098
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-134uju6-ButtonContainer .css-zndv66-ConfigButton svg {
20992099
fill: #b3b3b3 !important;
21002100
}
2101-
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-2x1u4a-DropdownContainer {
2101+
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-aj4hf2-DropdownContainer {
21022102
border: 1px solid #3d3d3d;
21032103
box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.54);
21042104
background: #2b2b2b;
21052105
}
2106-
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-2x1u4a-DropdownContainer .css-latz5u-SessionOption div {
2106+
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-aj4hf2-DropdownContainer .css-latz5u-SessionOption div {
21072107
color: #b3b3b3 !important;
21082108
}
2109-
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-2x1u4a-DropdownContainer .css-latz5u-SessionOption svg {
2109+
#user-progress-app .css-obaajf-Container .css-jg8d0x-TitleContainer .css-aj4hf2-DropdownContainer .css-latz5u-SessionOption svg {
21102110
fill: #2db55d !important;
21112111
}
2112-
#user-progress-app .css-obaajf-Container .css-eysaw4-Container .css-1yahjo4-SubmitPercentage,
2113-
#user-progress-app .css-obaajf-Container .css-eysaw4-Container .css-1cwh3x2-SubmitText {
2112+
#user-progress-app .css-obaajf-Container .css-1lr8tm-Container .css-1yahjo4-SubmitPercentage,
2113+
#user-progress-app .css-obaajf-Container .css-1lr8tm-Container .css-1cwh3x2-SubmitText {
21142114
color: #b3b3b3 !important;
21152115
}
2116-
#user-progress-app .css-obaajf-Container .css-uxkw03-Container .css-8mbaxz-AcceptedNum {
2116+
#user-progress-app .css-obaajf-Container .css-1ceziaf-Container .css-8mbaxz-AcceptedNum {
21172117
color: #b3b3b3 !important;
21182118
}
2119-
#user-progress-app .css-obaajf-Container .css-uxkw03-Container .css-1g4kd3y-TotalNum {
2119+
#user-progress-app .css-obaajf-Container .css-1ceziaf-Container .css-1g4kd3y-TotalNum {
21202120
color: #5c5c5c !important;
21212121
}
21222122
#list-card-app .sidebar-title {
@@ -2198,7 +2198,7 @@
21982198
#enterprise-tags a {
21992199
color: #b3b3b3 !important;
22002200
}
2201-
#enterprise-tags a[href="/interview/"] {
2201+
#enterprise-tags a[href="/company/"] {
22022202
color: #b3b3b3 !important;
22032203
background: linear-gradient(rgba(0, 0, 0, 0), 10%, #1c1c1c) !important;
22042204
}

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "LeetCodeCN-Dark",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"description": "中国区 LeetCode 支持黑色主题",
55
"main": "index.js",
66
"repository": "https://github.com/blackcater/LeetCodeCN-Dark.git",
@@ -16,9 +16,9 @@
1616
"gulp-concat": "^2.6.1",
1717
"gulp-header": "^2.0.9",
1818
"gulp-less": "^4.0.1",
19-
"less": "^3.12.2",
19+
"less": "^3.13.1",
2020
"less-plugin-autoprefix": "^2.0.0",
2121
"less-plugin-inline-svg": "^2.0.1",
22-
"prettier": "^2.0.5"
22+
"prettier": "^2.2.1"
2323
}
2424
}

src/problemset.less

+9-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
77
// See the Mulan PSL v2 for more details.
88

9-
@-moz-document url-prefix("https://leetcode-cn.com/problemset/") {
9+
@-moz-document url-prefix("https://leetcode-cn.com/problemset/")
10+
{
1011
@import "less/common";
1112

1213
// 问题区
@@ -252,7 +253,7 @@
252253
.css-1rc2chb-CalendarWrapper {
253254
background: @card-background-color !important;
254255

255-
.css-4hxiu2-MedalContainer {
256+
.css-1qr6czm-MedalContainer {
256257
background: none;
257258

258259
img {
@@ -282,7 +283,7 @@
282283
color: @title-color !important;
283284
}
284285

285-
.css-400zsq-CalendarDay {
286+
.css-1nl9zo2-CalendarDay {
286287
color: @text-color !important;
287288
}
288289

@@ -318,7 +319,7 @@
318319
}
319320

320321
.css-134uju6-ButtonContainer {
321-
.css-1b0qeup-SessionButton {
322+
.css-4nx14l-SessionButton {
322323
background-color: @grey4-color !important;
323324

324325
.css-5lrm4v-SessionName {
@@ -339,7 +340,7 @@
339340
}
340341
}
341342

342-
.css-2x1u4a-DropdownContainer {
343+
.css-aj4hf2-DropdownContainer {
343344
border: @dropdown-border;
344345
box-shadow: @dropdown-shadow;
345346
background: @dropdown-background-color;
@@ -356,14 +357,14 @@
356357
}
357358
}
358359

359-
.css-eysaw4-Container {
360+
.css-1lr8tm-Container {
360361
.css-1yahjo4-SubmitPercentage,
361362
.css-1cwh3x2-SubmitText {
362363
color: @text-color !important;
363364
}
364365
}
365366

366-
.css-uxkw03-Container {
367+
.css-1ceziaf-Container {
367368
.css-8mbaxz-AcceptedNum {
368369
color: @text-color !important;
369370
}
@@ -472,7 +473,7 @@
472473
color: @text-color !important;
473474
}
474475

475-
a[href="/interview/"] {
476+
a[href="/company/"] {
476477
color: @text-color !important;
477478
background: linear-gradient(
478479
rgba(0, 0, 0, 0),

yarn.lock

+33-5
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,13 @@ convert-source-map@^1.5.0:
509509
dependencies:
510510
safe-buffer "~5.1.1"
511511

512+
copy-anything@^2.0.1:
513+
version "2.0.3"
514+
resolved "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.3.tgz#842407ba02466b0df844819bbe3baebbe5d45d87"
515+
integrity sha512-GK6QUtisv4fNS+XcI7shX0Gx9ORg7QqIznyfho79JTnX1XhLiyZHfftvGiziqzRiEi/Bjhgpi+D2o7HxJFPnDQ==
516+
dependencies:
517+
is-what "^3.12.0"
518+
512519
copy-descriptor@^0.1.0:
513520
version "0.1.1"
514521
resolved "https://registry.npm.taobao.org/copy-descriptor/download/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
@@ -1363,6 +1370,11 @@ is-valid-glob@^1.0.0:
13631370
resolved "https://registry.npm.taobao.org/is-valid-glob/download/is-valid-glob-1.0.0.tgz#29bf3eff701be2d4d315dbacc39bc39fe8f601aa"
13641371
integrity sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=
13651372

1373+
is-what@^3.12.0:
1374+
version "3.12.0"
1375+
resolved "https://registry.npmjs.org/is-what/-/is-what-3.12.0.tgz#f4405ce4bd6dd420d3ced51a026fb90e03705e55"
1376+
integrity sha512-2ilQz5/f/o9V7WRWJQmpFYNmQFZ9iM+OXRonZKcYgTkCzjb949Vi4h282PD1UfmgHk666rcWonbRJ++KI41VGw==
1377+
13661378
is-windows@^1.0.1, is-windows@^1.0.2:
13671379
version "1.0.2"
13681380
resolved "https://registry.npm.taobao.org/is-windows/download/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
@@ -1480,7 +1492,7 @@ less-plugin-inline-svg@^2.0.1:
14801492
dom-serializer "^0.1.1"
14811493
htmlparser2 "^3.10.1"
14821494

1483-
"less@2.6.x || ^3.7.1", less@^3.12.2:
1495+
"less@2.6.x || ^3.7.1":
14841496
version "3.12.2"
14851497
resolved "https://registry.npm.taobao.org/less/download/less-3.12.2.tgz#157e6dd32a68869df8859314ad38e70211af3ab4"
14861498
integrity sha1-FX5t0ypohp34hZMUrTjnAhGvOrQ=
@@ -1495,6 +1507,22 @@ less-plugin-inline-svg@^2.0.1:
14951507
native-request "^1.0.5"
14961508
source-map "~0.6.0"
14971509

1510+
less@^3.13.1:
1511+
version "3.13.1"
1512+
resolved "https://registry.npmjs.org/less/-/less-3.13.1.tgz#0ebc91d2a0e9c0c6735b83d496b0ab0583077909"
1513+
integrity sha512-SwA1aQXGUvp+P5XdZslUOhhLnClSLIjWvJhmd+Vgib5BFIr9lMNlQwmwUNOjXThF/A0x+MCYYPeWEfeWiLRnTw==
1514+
dependencies:
1515+
copy-anything "^2.0.1"
1516+
tslib "^1.10.0"
1517+
optionalDependencies:
1518+
errno "^0.1.1"
1519+
graceful-fs "^4.1.2"
1520+
image-size "~0.5.0"
1521+
make-dir "^2.1.0"
1522+
mime "^1.4.1"
1523+
native-request "^1.0.5"
1524+
source-map "~0.6.0"
1525+
14981526
liftoff@^3.1.0:
14991527
version "3.1.0"
15001528
resolved "https://registry.npm.taobao.org/liftoff/download/liftoff-3.1.0.tgz#c9ba6081f908670607ee79062d700df062c52ed3"
@@ -1970,10 +1998,10 @@ postcss@^6.0.22, postcss@^6.0.23:
19701998
source-map "^0.6.1"
19711999
supports-color "^5.4.0"
19722000

1973-
prettier@^2.0.5:
1974-
version "2.0.5"
1975-
resolved "https://registry.npm.taobao.org/prettier/download/prettier-2.0.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprettier%2Fdownload%2Fprettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4"
1976-
integrity sha1-1tVigkVSQ/L5LMFxZpLAiqMVItQ=
2001+
prettier@^2.2.1:
2002+
version "2.2.1"
2003+
resolved "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
2004+
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
19772005

19782006
pretty-hrtime@^1.0.0:
19792007
version "1.0.3"

0 commit comments

Comments
 (0)