Skip to content

Commit 2186028

Browse files
committed
chore(assets): Add Apache license and format code for iconfont file
1 parent 9c21dd2 commit 2186028

4 files changed

Lines changed: 186 additions & 320 deletions

File tree

ui-vue3/src/assets/iconfont/demo.css

Lines changed: 76 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
/* Logo 字体 */
219
@font-face {
3-
font-family: "iconfont logo";
20+
font-family: 'iconfont logo';
421
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
5-
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
22+
src:
23+
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix')
24+
format('embedded-opentype'),
625
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
726
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
8-
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
27+
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont')
28+
format('svg');
929
}
1030

1131
.logo {
12-
font-family: "iconfont logo";
32+
font-family: 'iconfont logo';
1333
font-size: 160px;
1434
font-style: normal;
1535
-webkit-font-smoothing: antialiased;
@@ -48,7 +68,6 @@
4868
color: #666;
4969
}
5070

51-
5271
#tabs .active {
5372
border-bottom-color: #f00;
5473
color: #222;
@@ -119,9 +138,15 @@
119138
font-size: 42px;
120139
margin: 10px auto;
121140
color: #333;
122-
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
123-
-moz-transition: font-size 0.25s linear, width 0.25s linear;
124-
transition: font-size 0.25s linear, width 0.25s linear;
141+
-webkit-transition:
142+
font-size 0.25s linear,
143+
width 0.25s linear;
144+
-moz-transition:
145+
font-size 0.25s linear,
146+
width 0.25s linear;
147+
transition:
148+
font-size 0.25s linear,
149+
width 0.25s linear;
125150
}
126151

127152
.icon_lists .icon:hover {
@@ -215,35 +240,35 @@
215240
margin: 1em 0;
216241
}
217242

218-
.markdown>p,
219-
.markdown>blockquote,
220-
.markdown>.highlight,
221-
.markdown>ol,
222-
.markdown>ul {
243+
.markdown > p,
244+
.markdown > blockquote,
245+
.markdown > .highlight,
246+
.markdown > ol,
247+
.markdown > ul {
223248
width: 80%;
224249
}
225250

226-
.markdown ul>li {
251+
.markdown ul > li {
227252
list-style: circle;
228253
}
229254

230-
.markdown>ul li,
231-
.markdown blockquote ul>li {
255+
.markdown > ul li,
256+
.markdown blockquote ul > li {
232257
margin-left: 20px;
233258
padding-left: 4px;
234259
}
235260

236-
.markdown>ul li p,
237-
.markdown>ol li p {
261+
.markdown > ul li p,
262+
.markdown > ol li p {
238263
margin: 0.6em 0;
239264
}
240265

241-
.markdown ol>li {
266+
.markdown ol > li {
242267
list-style: decimal;
243268
}
244269

245-
.markdown>ol li,
246-
.markdown blockquote ol>li {
270+
.markdown > ol li,
271+
.markdown blockquote ol > li {
247272
margin-left: 20px;
248273
padding-left: 4px;
249274
}
@@ -260,7 +285,7 @@
260285
font-weight: 600;
261286
}
262287

263-
.markdown>table {
288+
.markdown > table {
264289
border-collapse: collapse;
265290
border-spacing: 0px;
266291
empty-cells: show;
@@ -269,21 +294,21 @@
269294
margin-bottom: 24px;
270295
}
271296

272-
.markdown>table th {
297+
.markdown > table th {
273298
white-space: nowrap;
274299
color: #333;
275300
font-weight: 600;
276301
}
277302

278-
.markdown>table th,
279-
.markdown>table td {
303+
.markdown > table th,
304+
.markdown > table td {
280305
border: 1px solid #e9e9e9;
281306
padding: 8px 16px;
282307
text-align: left;
283308
}
284309

285-
.markdown>table th {
286-
background: #F7F7F7;
310+
.markdown > table th {
311+
background: #f7f7f7;
287312
}
288313

289314
.markdown blockquote {
@@ -318,12 +343,11 @@
318343
display: inline-block;
319344
}
320345

321-
.markdown>br,
322-
.markdown>p>br {
346+
.markdown > br,
347+
.markdown > p > br {
323348
clear: both;
324349
}
325350

326-
327351
.hljs {
328352
display: block;
329353
background: white;
@@ -399,8 +423,8 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
399423
* Based on dabblet (http://dabblet.com)
400424
* @author Lea Verou
401425
*/
402-
code[class*="language-"],
403-
pre[class*="language-"] {
426+
code[class*='language-'],
427+
pre[class*='language-'] {
404428
color: black;
405429
background: none;
406430
text-shadow: 0 1px white;
@@ -422,46 +446,45 @@ pre[class*="language-"] {
422446
hyphens: none;
423447
}
424448

425-
pre[class*="language-"]::-moz-selection,
426-
pre[class*="language-"] ::-moz-selection,
427-
code[class*="language-"]::-moz-selection,
428-
code[class*="language-"] ::-moz-selection {
449+
pre[class*='language-']::-moz-selection,
450+
pre[class*='language-'] ::-moz-selection,
451+
code[class*='language-']::-moz-selection,
452+
code[class*='language-'] ::-moz-selection {
429453
text-shadow: none;
430454
background: #b3d4fc;
431455
}
432456

433-
pre[class*="language-"]::selection,
434-
pre[class*="language-"] ::selection,
435-
code[class*="language-"]::selection,
436-
code[class*="language-"] ::selection {
457+
pre[class*='language-']::selection,
458+
pre[class*='language-'] ::selection,
459+
code[class*='language-']::selection,
460+
code[class*='language-'] ::selection {
437461
text-shadow: none;
438462
background: #b3d4fc;
439463
}
440464

441465
@media print {
442-
443-
code[class*="language-"],
444-
pre[class*="language-"] {
466+
code[class*='language-'],
467+
pre[class*='language-'] {
445468
text-shadow: none;
446469
}
447470
}
448471

449472
/* Code blocks */
450-
pre[class*="language-"] {
473+
pre[class*='language-'] {
451474
padding: 1em;
452-
margin: .5em 0;
475+
margin: 0.5em 0;
453476
overflow: auto;
454477
}
455478

456-
:not(pre)>code[class*="language-"],
457-
pre[class*="language-"] {
479+
:not(pre) > code[class*='language-'],
480+
pre[class*='language-'] {
458481
background: #f5f2f0;
459482
}
460483

461484
/* Inline code */
462-
:not(pre)>code[class*="language-"] {
463-
padding: .1em;
464-
border-radius: .3em;
485+
:not(pre) > code[class*='language-'] {
486+
padding: 0.1em;
487+
border-radius: 0.3em;
465488
white-space: normal;
466489
}
467490

@@ -477,7 +500,7 @@ pre[class*="language-"] {
477500
}
478501

479502
.namespace {
480-
opacity: .7;
503+
opacity: 0.7;
481504
}
482505

483506
.token.property,
@@ -505,7 +528,7 @@ pre[class*="language-"] {
505528
.language-css .token.string,
506529
.style .token.string {
507530
color: #9a6e3a;
508-
background: hsla(0, 0%, 100%, .5);
531+
background: hsla(0, 0%, 100%, 0.5);
509532
}
510533

511534
.token.atrule,
@@ -516,7 +539,7 @@ pre[class*="language-"] {
516539

517540
.token.function,
518541
.token.class-name {
519-
color: #DD4A68;
542+
color: #dd4a68;
520543
}
521544

522545
.token.regex,

0 commit comments

Comments
 (0)