Skip to content

Commit f7df433

Browse files
feat(gamepad-tester): add button images (#233)
1 parent 487f374 commit f7df433

File tree

9 files changed

+178
-402
lines changed

9 files changed

+178
-402
lines changed

_data/licenses.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
gamepad-helper:
3+
name: LizardByte/gamepad-helper
4+
version: '2025.501.232754'
5+
url: https://github.com/LizardByte/gamepad-helper/
6+
license: MIT
7+
shared-web:
8+
name: LizardByte/shared-web
9+
version: '2025.326.11214'
10+
url: https://github.com/LizardByte/shared-web/
11+
license: AGPL-3.0
12+
beautiful-jekyll:
13+
name: Beautiful Jekyll
14+
url: https://github.com/daattali/beautiful-jekyll/
15+
license: MIT
16+
bootstrap:
17+
name: Bootstrap
18+
url: https://getbootstrap.com/
19+
license: MIT
20+
bundler:
21+
name: Bundler
22+
url: https://bundler.io/
23+
license: MIT
24+
button-icons:
25+
name: Button Icons and Controls
26+
url: https://zacksly.itch.io/
27+
license: CC BY 3.0
28+
chartjs:
29+
name: Chart.js
30+
version: '4.4.9'
31+
url: https://www.chartjs.org/
32+
license: MIT
33+
giscus:
34+
name: Giscus
35+
url: https://giscus.app/
36+
license: MIT
37+
jekyll:
38+
name: Jekyll
39+
url: https://jekyllrb.com/
40+
license: MIT
41+
jquery:
42+
name: jQuery
43+
version: '3.7.1'
44+
url: https://jquery.com/
45+
license: MIT
46+
marked:
47+
name: Marked
48+
version: '15.0.8'
49+
url: https://marked.js.org/
50+
license: MIT

_includes/footer-extra.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
<a title="Privacy Policy" href="{{ '/privacy' | relative_url }}" class="text_muted">Privacy</a>
44
&nbsp;&bull;&nbsp;
55
<a title="Terms and Conditions" href="{{ '/terms' | relative_url }}" class="text_muted">Terms</a>
6+
&nbsp;&bull;&nbsp;
7+
<a title="Licenses and Attribution" href="{{ '/licenses' | relative_url }}" class="text_muted">Licenses</a>

_includes/license-entry.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<li class="list-group-item bg-dark text-white">
2+
<div class="d-flex justify-content-between align-items-center">
3+
<div>
4+
<strong>{{ include.item.name }}</strong>
5+
{% if include.item.version %}<span class="ms-2 badge bg-secondary">{{ include.item.version }}</span>{% endif %}
6+
<small class="d-block text-muted">
7+
<a href="{{ include.item.url }}" target="_blank" class="text-info">{{ include.item.url }}</a>
8+
</small>
9+
</div>
10+
<span class="badge bg-primary">{{ include.item.license }}</span>
11+
</div>
12+
</li>

_sass/circular-progress.scss

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
.circular-button .button-value {
9191
font-size: 0.85rem;
92-
line-height: 1;
92+
line-height: 0.5;
9393
}
9494

9595
.circular-button .progress-bar {
@@ -99,3 +99,18 @@
9999
.circular-button.active .button-content {
100100
box-shadow: 0 0 10px 3px rgba(13, 110, 253, 0.5);
101101
}
102+
103+
.circular-button .button-image-container {
104+
display: flex;
105+
flex-direction: column;
106+
align-items: center;
107+
justify-content: center;
108+
width: 100%;
109+
}
110+
111+
.circular-button .button-image {
112+
max-width: 2.5rem;
113+
max-height: 2.5rem;
114+
width: auto;
115+
height: auto;
116+
}

_sass/styles.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,19 @@ img.invert {
143143
table tr:nth-child(2n) {
144144
background-color: var(--footer-col);
145145
}
146+
147+
.list-group-item.bg-dark {
148+
border-color: var(--navbar-col);
149+
}
150+
151+
.list-group-item.bg-dark .text-muted {
152+
color: var(--text-col);
153+
}
154+
155+
.list-group-item.bg-dark a {
156+
text-decoration: none;
157+
}
158+
159+
.list-group-item.bg-dark a:hover {
160+
text-decoration: underline;
161+
}

0 commit comments

Comments
 (0)