Skip to content

Commit 69887f3

Browse files
committed
chore: upgrade Font-Awesome to version 6
Signed-off-by: rogerogers <[email protected]>
1 parent c4b7674 commit 69887f3

File tree

6,698 files changed

+264
-317414
lines changed

Some content is hidden

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

6,698 files changed

+264
-317414
lines changed

assets/scss/_nav.scss

Lines changed: 181 additions & 179 deletions
Large diffs are not rendered by default.

assets/scss/_search.scss

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
// Search
22

33
.td-search-input {
4-
background: transparent;
5-
max-width: 90%;
4+
background: transparent;
5+
max-width: 90%;
66

7-
&.form-control:focus {
8-
border-color: lighten($primary, 60%);
9-
box-shadow: 0 0 0 2px lighten($primary, 30%);
10-
}
7+
&.form-control:focus {
8+
border-color: lighten($primary, 60%);
9+
box-shadow: 0 0 0 2px lighten($primary, 30%);
10+
}
1111

12-
@if $enable-rounded {
13-
border-radius: 1rem;
14-
}
12+
@if $enable-rounded {
13+
border-radius: 1rem;
14+
}
1515

16-
font-family: "Font Awesome 5 Free", $font-family-base;
16+
font-family: "Font Awesome 6 Free", $font-family-base;
1717
}
1818

1919
.popover.offline-search-result {
20-
// Override bootstrap default style (max-width: $popover-max-width;)
21-
max-width: 90%;
20+
// Override bootstrap default style (max-width: $popover-max-width;)
21+
max-width: 90%;
2222

23-
.card {
24-
margin-bottom: $spacer * .5;
23+
.card {
24+
margin-bottom: $spacer * 0.5;
2525

26-
.card-header {
27-
font-weight: bold;
28-
}
26+
.card-header {
27+
font-weight: bold;
2928
}
29+
}
3030
}

assets/scss/_taxonomy.scss

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
font-size: 0.8rem;
77

88
.taxonomy-title {
9-
display: inline;
9+
display: inline;
1010
font-size: 1.25em;
1111
height: 1em;
1212
line-height: 1em;
@@ -21,7 +21,7 @@
2121
font-size: 0.8rem;
2222

2323
.taxonomy-title {
24-
display: inline-block;
24+
display: inline-block;
2525
width: 100%;
2626
font-size: 1rem;
2727
font-weight: 700;
@@ -50,14 +50,12 @@
5050
}
5151

5252
.taxo-text-tags {
53-
5453
li + li::before {
5554
content: none;
5655
}
5756
}
5857

5958
.taxo-fruits {
60-
6159
.taxonomy-count,
6260
.taxonomy-label {
6361
display: inherit;
@@ -79,7 +77,7 @@
7977
.taxonomy-terms {
8078
list-style: none;
8179
margin: 0;
82-
overflow: hidden;
80+
overflow: hidden;
8381
padding: 0;
8482
display: inline;
8583

@@ -125,26 +123,25 @@
125123
margin: 0 0.5em 0.2em 0;
126124
text-decoration: none;
127125
-webkit-transition: color 0.2s;
128-
-webkit-clip-path: polygon(100% 0,100% 100%,0.8em 100%,0 50%,0.8em 0);
129-
clip-path: polygon(100% 0,100% 100%,0.8em 100%,0 50%,0.8em 0);
130-
126+
-webkit-clip-path: polygon(100% 0, 100% 100%, 0.8em 100%, 0 50%, 0.8em 0);
127+
clip-path: polygon(100% 0, 100% 100%, 0.8em 100%, 0 50%, 0.8em 0);
128+
131129
&:hover {
132130
background-color: $primary;
133131
color: $white;
134132

135-
.taxonomy-count{
136-
color: $dark!important;
133+
.taxonomy-count {
134+
color: $dark !important;
137135
}
138136
}
139-
137+
140138
&:hover::before {
141-
background: $primary;
139+
background: $primary;
142140
}
143141
}
144142

145143
// Example for simple tags layout
146144
.taxo-text-tags {
147-
148145
.taxonomy-term {
149146
background: none;
150147
border-width: 0;
@@ -160,16 +157,16 @@
160157
text-decoration: none;
161158
-webkit-clip-path: none;
162159
clip-path: none;
163-
160+
164161
&:hover {
165162
background: none;
166163
color: $link-color;
167164

168-
.taxonomy-count{
169-
color: $dark!important;
165+
.taxonomy-count {
166+
color: $dark !important;
170167
}
171168
}
172-
169+
173170
&:hover::before {
174171
background: none;
175172
}
@@ -201,14 +198,13 @@
201198

202199
// Example for icon tags
203200
.taxo-fruits {
204-
205201
.taxonomy-term[data-taxonomy-term]::before {
206202
font-style: normal;
207203
font-variant: normal;
208204
text-rendering: auto;
209205
-webkit-font-smoothing: antialiased;
210-
font-family: "Font Awesome 5 Free";
211-
// font-weight: 900;
206+
font-family: "Font Awesome 6 Free";
207+
// font-weight: 900;
212208
padding-right: 0.5em;
213209
font-size: 2em;
214210
min-width: 1.5em;
@@ -249,16 +245,16 @@
249245
text-decoration: none;
250246
-webkit-clip-path: none;
251247
clip-path: none;
252-
248+
253249
&:hover {
254250
background: none;
255251
color: $link-color;
256252

257-
.taxonomy-count{
258-
color: $dark!important;
253+
.taxonomy-count {
254+
color: $dark !important;
259255
}
260256
}
261-
257+
262258
&:hover::before {
263259
background: none;
264260
text-shadow: 0 0 3px $gray-900;
@@ -276,7 +272,7 @@
276272
.taxonomy-title {
277273
display: none;
278274
}
279-
}
275+
}
280276
}
281277

282278
.taxonomy-taxonomy-page {
@@ -298,7 +294,7 @@
298294
font-variant: normal;
299295
text-rendering: auto;
300296
-webkit-font-smoothing: antialiased;
301-
font-family: "Font Awesome 5 Free";
297+
font-family: "Font Awesome 6 Free";
302298
content: "\f02d";
303299
padding-right: 0.5em;
304300
}
@@ -309,7 +305,7 @@
309305
font-variant: normal;
310306
text-rendering: auto;
311307
-webkit-font-smoothing: antialiased;
312-
font-family: "Font Awesome 5 Free";
308+
font-family: "Font Awesome 6 Free";
313309
content: "\f781";
314310
padding-right: 0.5em;
315311
}
@@ -325,8 +321,8 @@
325321
font-variant: normal;
326322
text-rendering: auto;
327323
-webkit-font-smoothing: antialiased;
328-
font-family: "Font Awesome 5 Free";
324+
font-family: "Font Awesome 6 Free";
329325
content: "\f122";
330326
padding-right: 0.5em;
331327
}
332-
}
328+
}

assets/vendor/Font-Awesome/.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

assets/vendor/Font-Awesome/.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

assets/vendor/Font-Awesome/.github/ISSUE_TEMPLATE/icon-request.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

assets/vendor/Font-Awesome/.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)