Skip to content

Commit 1da724e

Browse files
authored
Merge pull request #21 from fairpm/feature/typo3
Add TYPO3 extension browsing support
2 parents 449837c + a9fd9a2 commit 1da724e

File tree

13 files changed

+2773
-235
lines changed

13 files changed

+2773
-235
lines changed

assets/css/_archive.scss

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
.archive-plugin-card,
2-
.archive-theme-card {
2+
.archive-theme-card,
3+
.archive-typo3-extension-card {
34
max-width: 1200px !important;
45
margin: 12px auto 0 auto;
56

67
.plugin-results-count,
7-
.theme-results-count {
8+
.theme-results-count,
9+
.typo3-extension-results-count {
810
font-size: 16px;
911
line-height: 1.5;
1012
color: #555;
1113
margin-bottom: 16px;
1214
}
1315

1416
.plugin-results,
15-
.theme-results {
17+
.theme-results,
18+
.typo3-extension-results {
1619
display: flex;
1720
flex-wrap: wrap;
1821
gap: 32px;
@@ -23,7 +26,8 @@
2326
padding: 0;
2427

2528
.plugin-card,
26-
.theme-card {
29+
.theme-card,
30+
.typo3-extension-card {
2731
background: #fff;
2832
border: 1.5px solid #e3e6ea;
2933
border-radius: 12px;
@@ -78,7 +82,8 @@
7882
justify-content: center;
7983

8084
.plugin-icon,
81-
.theme-icon {
85+
.theme-icon,
86+
.typo3-extension-icon {
8287
width: 96px;
8388
height: 96px;
8489
border-radius: 8px;
@@ -92,7 +97,8 @@
9297
flex: 1;
9398

9499
.plugin-title,
95-
.theme-title {
100+
.theme-title,
101+
.typo3-extension-title {
96102
font-size: 1.35em;
97103
font-weight: 700;
98104
color: #182b49;
@@ -112,7 +118,9 @@
112118
.plugin-author,
113119
.plugin-version,
114120
.theme-author,
115-
.theme-version {
121+
.theme-version,
122+
.typo3-extension-author,
123+
.typo3-extension-version {
116124
font-size: 1em;
117125
color: #666;
118126
margin: 0 0 4px 0;
@@ -231,7 +239,8 @@
231239
margin: 8px 0 0 0;
232240

233241
ul.plugin-tags,
234-
ul.theme-tags {
242+
ul.theme-tags,
243+
ul.typo3-extension-tags {
235244
display: flex;
236245
gap: 8px;
237246
margin: 0;
@@ -240,7 +249,8 @@
240249
flex-wrap: wrap;
241250

242251
.plugin-tag,
243-
.theme-tag {
252+
.theme-tag,
253+
.typo3-extension-tag {
244254
font-size: 0.85em;
245255
padding: 3px 9px 4px;
246256
border-radius: 4px;
@@ -394,7 +404,8 @@
394404
gap: 4px;
395405

396406
.plugin-tag,
397-
.theme-tag {
407+
.theme-tag,
408+
.typo3-extension-tag {
398409
font-size: 11px;
399410
padding: 2px 7px 3px;
400411
}
@@ -431,7 +442,8 @@
431442
gap: 2px;
432443

433444
.plugin-tag,
434-
.theme-tag {
445+
.theme-tag,
446+
.typo3-extension-tag {
435447
font-size: 10px;
436448
padding: 1px 5px 2px;
437449
}

assets/css/_search-form.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.plugin-search-form,
2-
.theme-search-form {
2+
.theme-search-form,
3+
.typo3-extension-search-form {
34
display: flex;
45
align-items: center;
56
gap: 10px;

assets/css/_single.scss

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.single-plugin-card,
2-
.single-theme-card {
2+
.single-theme-card,
3+
.single-typo3-extension-card {
34
max-width: 1200px !important;
45
box-sizing: border-box;
56
gap: 16px;
@@ -20,7 +21,8 @@
2021
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
2122
max-height: 388px;
2223

23-
&.theme-banner {
24+
&.theme-banner,
25+
&.typo3-extension-banner {
2426
aspect-ratio: 1.33 / 1;
2527
max-height: 100%;
2628
}
@@ -36,7 +38,8 @@
3638
width: 96px;
3739

3840
.plugin-icon,
39-
.theme-icon {
41+
.theme-icon,
42+
.typo3-extension-icon {
4043
width: 96px;
4144
height: 96px;
4245
}
@@ -46,7 +49,8 @@
4649
flex: 1;
4750

4851
.plugin-title,
49-
.theme-title {
52+
.theme-title,
53+
.typo3-extension-title {
5054
margin: 0 0 5px;
5155
font-size: 26px;
5256
line-height: 32px;
@@ -59,14 +63,16 @@
5963
}
6064

6165
.plugin-author,
62-
.theme-author {
66+
.theme-author,
67+
.typo3-extension-author {
6368
margin: 0;
6469
font-size: 18px;
6570
line-height: 20px;
6671
}
6772

6873
.plugin-version,
69-
.theme-version {
74+
.theme-version,
75+
.typo3-extension-version {
7076
margin: 0;
7177
font-size: 18px;
7278
line-height: 20px;
@@ -661,7 +667,8 @@
661667
margin-bottom: 32px;
662668

663669
ul.plugin-tags,
664-
ul.theme-tags {
670+
ul.theme-tags,
671+
ul.typo3-extension-tags {
665672
display: flex;
666673
flex-flow: wrap;
667674
gap: 8px;
@@ -670,7 +677,8 @@
670677
list-style: none;
671678

672679
.plugin-tag,
673-
.theme-tag {
680+
.theme-tag,
681+
.typo3-extension-tag {
674682
font-size: 0.85em;
675683
padding: 3px 9px 4px;
676684
border-radius: 4px;

0 commit comments

Comments
 (0)