Skip to content

Commit 296902c

Browse files
committed
added more general understandable icon and adapted to the FxOS CI
1 parent ef06af0 commit 296902c

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

icons/128.png

-13.1 KB
Loading

icons/256.png

-11.3 KB
Loading

main.js

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,42 @@
66
}
77
var cardsView = document.getElementById('cards-view');
88

9+
var icon = '<svg' +
10+
' xmlns="http://www.w3.org/2000/svg"' +
11+
' viewBox="0 0 256 256"' +
12+
' height="100%"' +
13+
' width="100%">' +
14+
' <rect' +
15+
' style="fill:#ffffff"' +
16+
' width="54.468082"' +
17+
' height="176.65498"' +
18+
' x="0"' +
19+
' y="79.345016" />' +
20+
' <rect' +
21+
' style="fill:#ffffff"' +
22+
' width="54.468082"' +
23+
' height="176.65498"' +
24+
' x="201.53192"' +
25+
' y="7.6293945e-06" />' +
26+
' <rect' +
27+
' style="fill:#ffffff"' +
28+
' width="54.468082"' +
29+
' height="176.65498"' +
30+
' x="99.858162"' +
31+
' y="37.42691" />' +
32+
' </g>' +
33+
'</svg>';
34+
935
var button = document.createElement('button');
1036
// set it as type to prevent form submit.
1137
button.type = 'button';
12-
button.textContent = '🈳';
13-
button.style.background = 'none';
38+
button.innerHTML = icon;
39+
button.style.background = '#0095DD ';
1440
button.style.border = 'none';
41+
button.style.borderRadius = '1.5rem';
1542
button.style.outline = 'none';
16-
button.style.fontSize = '3rem';
43+
button.style.width = '3rem';
44+
button.style.height = '3rem';
1745
button.style.position = 'fixed';
1846
button.style.top = '3rem';
1947
button.style.right = '3rem';

0 commit comments

Comments
 (0)