Skip to content

Commit 0324e04

Browse files
authored
Merge pull request #366 from shuzijun/gradle
dependency
2 parents 856bda5 + efd866d commit 0324e04

File tree

250 files changed

+27478
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+27478
-0
lines changed

src/main/resources/icons/LeetCode.png

-464 Bytes
Binary file not shown.
-965 Bytes
Binary file not shown.
-1.04 KB
Binary file not shown.
-426 Bytes
Binary file not shown.

src/main/resources/icons/clean.png

-333 Bytes
Binary file not shown.
-658 Bytes
Binary file not shown.
-655 Bytes
Binary file not shown.
-330 Bytes
Binary file not shown.

src/main/resources/icons/clear.png

-330 Bytes
Binary file not shown.
-499 Bytes
Binary file not shown.
-499 Bytes
Binary file not shown.
-347 Bytes
Binary file not shown.

src/main/resources/icons/collapse.png

-260 Bytes
Binary file not shown.
-388 Bytes
Binary file not shown.
-388 Bytes
Binary file not shown.
-260 Bytes
Binary file not shown.

src/main/resources/icons/config.png

-387 Bytes
Binary file not shown.
-738 Bytes
Binary file not shown.
-735 Bytes
Binary file not shown.
-387 Bytes
Binary file not shown.

src/main/resources/icons/desc.png

-342 Bytes
Binary file not shown.
-481 Bytes
Binary file not shown.
-478 Bytes
Binary file not shown.
-349 Bytes
Binary file not shown.

src/main/resources/icons/edit_doc.png

-376 Bytes
Binary file not shown.
-705 Bytes
Binary file not shown.
-702 Bytes
Binary file not shown.
-389 Bytes
Binary file not shown.

src/main/resources/icons/favorite.png

-377 Bytes
Binary file not shown.
-671 Bytes
Binary file not shown.
-668 Bytes
Binary file not shown.
-393 Bytes
Binary file not shown.

src/main/resources/icons/filter.png

-249 Bytes
Binary file not shown.
-303 Bytes
Binary file not shown.
-303 Bytes
Binary file not shown.
-249 Bytes
Binary file not shown.

src/main/resources/icons/find.png

-437 Bytes
Binary file not shown.
-762 Bytes
Binary file not shown.
-759 Bytes
Binary file not shown.
-437 Bytes
Binary file not shown.

src/main/resources/icons/help.png

-398 Bytes
Binary file not shown.
-616 Bytes
Binary file not shown.
-613 Bytes
Binary file not shown.
-395 Bytes
Binary file not shown.

src/main/resources/icons/history.png

-329 Bytes
Binary file not shown.
-897 Bytes
Binary file not shown.
-894 Bytes
Binary file not shown.
-541 Bytes
Binary file not shown.

src/main/resources/icons/login.png

-319 Bytes
Binary file not shown.
-512 Bytes
Binary file not shown.
-512 Bytes
Binary file not shown.
-319 Bytes
Binary file not shown.

src/main/resources/icons/logout.png

-311 Bytes
Binary file not shown.
-480 Bytes
Binary file not shown.
-480 Bytes
Binary file not shown.
-311 Bytes
Binary file not shown.

src/main/resources/icons/note.png

-446 Bytes
Binary file not shown.
-771 Bytes
Binary file not shown.
-768 Bytes
Binary file not shown.
-446 Bytes
Binary file not shown.

src/main/resources/icons/popup.png

-291 Bytes
Binary file not shown.
-438 Bytes
Binary file not shown.
-435 Bytes
Binary file not shown.
-309 Bytes
Binary file not shown.

src/main/resources/icons/position.png

-321 Bytes
Binary file not shown.
-869 Bytes
Binary file not shown.
-866 Bytes
Binary file not shown.
-525 Bytes
Binary file not shown.

src/main/resources/icons/progress.png

-255 Bytes
Binary file not shown.
-286 Bytes
Binary file not shown.
-286 Bytes
Binary file not shown.
-255 Bytes
Binary file not shown.

src/main/resources/icons/question.png

-261 Bytes
Binary file not shown.
-433 Bytes
Binary file not shown.
-433 Bytes
Binary file not shown.
-261 Bytes
Binary file not shown.

src/main/resources/icons/random.png

-410 Bytes
Binary file not shown.
-716 Bytes
Binary file not shown.
-713 Bytes
Binary file not shown.
-410 Bytes
Binary file not shown.

src/main/resources/icons/refresh.png

-454 Bytes
Binary file not shown.
-771 Bytes
Binary file not shown.
-771 Bytes
Binary file not shown.
-454 Bytes
Binary file not shown.

src/main/resources/icons/run.png

-174 Bytes
Binary file not shown.
-201 Bytes
Binary file not shown.
-198 Bytes
Binary file not shown.

src/main/resources/icons/run_dark.png

-174 Bytes
Binary file not shown.

src/main/resources/icons/solution.png

-293 Bytes
Binary file not shown.
-831 Bytes
Binary file not shown.
-828 Bytes
Binary file not shown.
-494 Bytes
Binary file not shown.

src/main/resources/icons/sortAsc.png

-253 Bytes
Binary file not shown.
-261 Bytes
Binary file not shown.
-261 Bytes
Binary file not shown.
-253 Bytes
Binary file not shown.

src/main/resources/icons/sortDesc.png

-253 Bytes
Binary file not shown.
-261 Bytes
Binary file not shown.
-261 Bytes
Binary file not shown.
-253 Bytes
Binary file not shown.

src/main/resources/icons/submit.png

-302 Bytes
Binary file not shown.
-514 Bytes
Binary file not shown.
-511 Bytes
Binary file not shown.
-302 Bytes
Binary file not shown.

src/main/resources/icons/time.png

-325 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.
-322 Bytes
Binary file not shown.
Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
/*!
2+
* Vditor - A markdown editor written in TypeScript.
3+
*
4+
* MIT License
5+
*
6+
* Copyright (c) 2018-present B3log 开源, b3log.org
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in all
16+
* copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
* SOFTWARE.
25+
*
26+
*/
27+
28+
.vditor-reset {
29+
color: rgba(0, 0, 0, .85);
30+
font-size: 14px;
31+
line-height: 2;
32+
}
33+
34+
.vditor-reset img {
35+
max-width: calc(100% - 32px);
36+
}
37+
38+
.vditor-reset p > img {
39+
margin: 34px 0;
40+
box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35);
41+
}
42+
43+
.vditor-reset h1 {
44+
margin-bottom: 20px;
45+
color: rgba(0, 0, 0, .85);
46+
font-weight: 500;
47+
font-size: 30px;
48+
font-family: Avenir, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji, sans-serif;
49+
line-height: 38px
50+
}
51+
52+
.vditor-reset h2 {
53+
font-size: 24px;
54+
line-height: 32px;
55+
}
56+
57+
.vditor-reset h2,
58+
.vditor-reset h3,
59+
.vditor-reset h4,
60+
.vditor-reset h5,
61+
.vditor-reset h6 {
62+
clear: both;
63+
margin: 1.6em 0 .6em;
64+
color: rgba(0, 0, 0, .85);
65+
font-weight: 500;
66+
font-family: Avenir, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji, sans-serif
67+
}
68+
69+
.vditor-reset h3 {
70+
font-size: 18px;
71+
}
72+
73+
.vditor-reset h4 {
74+
font-size: 16px;
75+
}
76+
77+
.vditor-reset h5 {
78+
font-size: 14px;
79+
}
80+
81+
.vditor-reset h6 {
82+
font-size: 12px;
83+
}
84+
85+
.vditor-reset hr {
86+
clear: both;
87+
height: 1px;
88+
margin: 56px 0;
89+
background: #f0f0f0;
90+
border: 0;
91+
}
92+
93+
.vditor-reset p,
94+
.vditor-reset pre {
95+
margin: 1em 0;
96+
}
97+
98+
.vditor-reset ul > li {
99+
margin-left: 20px;
100+
padding-left: 4px;
101+
list-style-type: circle;
102+
}
103+
104+
.vditor-reset ol > li {
105+
margin-left: 20px;
106+
padding-left: 4px;
107+
list-style-type: decimal;
108+
}
109+
110+
.vditor-reset ul > li > p,
111+
.vditor-reset ol > li > p {
112+
margin: 0.2em 0;
113+
}
114+
115+
.vditor-reset code {
116+
margin: 0 1px;
117+
padding: .2em .4em;
118+
font-size: .9em;
119+
border-radius: 3px;
120+
border: 1px solid #f0f0f0;
121+
font-family: sfmono-regular, Consolas, liberation mono, Menlo, Courier, monospace;
122+
}
123+
124+
.vditor-reset code:not(.hljs):not(.highlight-chroma) {
125+
background: #f2f4f5;
126+
color: rgba(0, 0, 0, .65);
127+
}
128+
129+
.vditor-reset pre {
130+
font-family: sfmono-regular, Consolas, liberation mono, Menlo, Courier, monospace;
131+
border-radius: 2px;
132+
}
133+
134+
.vditor-reset .language-abc svg,
135+
.vditor-reset .language-abc path {
136+
fill: currentColor;
137+
color: rgba(0, 0, 0, .85);
138+
}
139+
140+
.vditor-reset .language-graphviz polygon {
141+
fill: transparent;
142+
}
143+
144+
.vditor-reset strong,
145+
.vditor-reset b {
146+
font-weight: 500;
147+
}
148+
149+
.vditor-reset > table {
150+
width: 100%;
151+
margin: 8px 0 16px;
152+
direction: ltr;
153+
empty-cells: show;
154+
border: 1px solid #f0f0f0;
155+
border-collapse: collapse;
156+
border-spacing: 0
157+
}
158+
159+
.vditor-reset > table th {
160+
color: #5c6b77;
161+
font-weight: 500;
162+
white-space: nowrap;
163+
background: rgba(0, 0, 0, .02)
164+
}
165+
166+
.vditor-reset > table th, .vditor-reset > table td {
167+
padding: 16px 24px;
168+
text-align: left;
169+
border: 1px solid #f0f0f0
170+
}
171+
172+
.vditor-reset blockquote {
173+
margin: 1em 0;
174+
padding-left: .8em;
175+
color: rgba(0, 0, 0, .45);
176+
font-size: 90%;
177+
border-left: 4px solid #f0f0f0
178+
}
179+
180+
.vditor-reset blockquote p {
181+
margin: 0;
182+
}
183+
184+
.vditor-reset .vditor-anchor {
185+
margin-left: 8px;
186+
opacity: 0;
187+
transition: opacity 0.3s;
188+
}
189+
190+
.vditor-reset h1:hover .vditor-anchor,
191+
.vditor-reset h2:hover .vditor-anchor,
192+
.vditor-reset h3:hover .vditor-anchor,
193+
.vditor-reset h4:hover .vditor-anchor,
194+
.vditor-reset h5:hover .vditor-anchor,
195+
.vditor-reset h6:hover .vditor-anchor {
196+
display: inline-block;
197+
opacity: 1;
198+
}
199+
200+
.vditor-reset > br,
201+
.vditor-reset > p > br {
202+
clear: both;
203+
}
204+
205+
.vditor-reset a, .vditor-ir__link {
206+
color: #1890ff;
207+
text-decoration: none;
208+
outline: none;
209+
cursor: pointer;
210+
}
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
/*!
2+
* Vditor - A markdown editor written in TypeScript.
3+
*
4+
* MIT License
5+
*
6+
* Copyright (c) 2018-present B3log 开源, b3log.org
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in all
16+
* copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
* SOFTWARE.
25+
*
26+
*/
27+
.vditor-reset {
28+
color: #d1d5da;
29+
}
30+
31+
.vditor-reset a, .vditor-ir__link {
32+
color: #4285f4;
33+
}
34+
35+
.vditor-reset h1, .vditor-reset h2 {
36+
padding-bottom: 0.3em;
37+
border-bottom: 1px solid #d1d5da
38+
}
39+
40+
.vditor-reset hr {
41+
background-color: #d1d5da
42+
}
43+
44+
.vditor-reset blockquote {
45+
padding: 0 1em;
46+
color: #b9b9b9;
47+
border-left: .25em solid #d1d5da
48+
}
49+
50+
.vditor-reset iframe {
51+
border: 1px solid #141414
52+
}
53+
54+
.vditor-reset table tr {
55+
background-color: #2f363d
56+
}
57+
58+
.vditor-reset table td, .vditor-reset table th {
59+
border: 1px solid #dfe2e5
60+
}
61+
62+
.vditor-reset table tbody tr:nth-child(2n) {
63+
background-color: #24292e
64+
}
65+
66+
.vditor-reset code:not(.hljs):not(.highlight-chroma) {
67+
background-color: rgba(66, 133, 244, .36);
68+
}
69+
70+
.vditor-reset .language-abc svg,
71+
.vditor-reset .language-abc path {
72+
fill: currentColor;
73+
color: #d1d5da;
74+
}
75+
76+
.language-graphviz polygon {
77+
fill: rgba(66, 133, 244, .36);
78+
}
79+
80+
.vditor-reset kbd {
81+
color: #d1d5da;
82+
background-color: #2f363d;
83+
border: 1px solid #141414;
84+
box-shadow: inset 0 -1px 0 #141414
85+
}
86+
87+
.vditor-copy svg {
88+
color: #b9b9b9
89+
}
90+
91+
.vditor-speech {
92+
background-color: #1d2125;
93+
border: 1px solid #141414;
94+
color: #b9b9b9
95+
}
96+
97+
.vditor-speech--current, .vditor-speech:hover {
98+
color: #fff
99+
}
100+
101+
.vditor-linkcard a {
102+
background-color: #1d2125;
103+
}
104+
105+
.vditor-linkcard a:visited .vditor-linkcard__abstract {
106+
color: hsla(0, 0%, 72.5%, .36)
107+
}
108+
109+
.vditor-linkcard__title {
110+
color: #d1d5da
111+
}
112+
113+
.vditor-linkcard__abstract {
114+
color: #b9b9b9
115+
}
116+
117+
.vditor-linkcard__site {
118+
color: #fff
119+
}
120+
121+
.vditor-linkcard__image {
122+
background-color: hsla(0, 0%, 72.5%, .36)
123+
}

0 commit comments

Comments
 (0)