This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
sadmoderndeck.html
125 lines (106 loc) · 2.78 KB
/
sadmoderndeck.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<html>
<head>
<!-- <link rel="stylesheet" href="common/assets/css/components/icon.css"> -->
<style>
@font-face {
font-family:"MD";
font-style:"normal";
font-weight:400;
src:url("common/assets/fonts/Icon/ModernDeckVectors.woff2") format("woff2");
}
@font-face {
font-family:"Roboto";
font-style:"normal";
font-weight:500;
src:url("common/assets/fonts/Roboto/500-latin.woff2") format("woff2");
}
i {
display:inline-block;
vertical-align:middle;
font-family:"MD";
font-size:96px;
height:1em;
width:1em
}
.icon-sad-moderndeck:before {
font-style:normal;
content:"\f00a"
}
html {
font-family:Roboto,sans-serif;
text-align:center
}
h2 {
}
button,a.btn {
pointer-events:all;
padding:9px 10px;
cursor:pointer;
font-size:14px;
font-weight:500;
border:0;
border-color:transparent;
background:transparent;
text-shadow:none;
text-transform:uppercase;
color:#09e;
font-family:Roboto;
border-radius:3px;
transition:all 0.12s;
float:right
}
button[autofocus] {
color:#fff;
background-color:#09e;
box-shadow:0 3px 3px rgba(0,0,0,0.1)
}
button[autofocus]:focus {
background-color:#09e!important;
box-shadow:0 6px 6px rgba(0,0,0,0.3)!important;
color:#fff;
}
button[autofocus]:active {
outline:0;
background:#5af;
color:#fff
}
button:focus:not(:hover),a.btn:focus:not(:hover) {
background:rgba(0,0,0,0.1);
outline:0
}
button:focus:hover,a.btn:focus:hover {
outline:0
}
button:active,a.btn:active {
outline:0;
background:rgba(0,0,0,0.1);
color:#5af
}
a.btn, #resetProxy {
float:left
}
</style>
</head>
<body>
<i class="icon icon-sad-moderndeck"></i>
<h2 id="code"></h2>
<a class="btn" id="twitterStatus" target="_blank" href="https://api.twitterstat.us/"></a>
<button id="resetProxy"></button>
<button autofocus id="retry"></button>
<button id="close"></button>
<script>
document.getElementById("close").addEventListener("click", function() {
require("electron").ipcRenderer.send("errorQuit")
});
document.getElementById("retry").addEventListener("click", function() {
require("electron").ipcRenderer.send("errorReload")
});
document.getElementById("resetProxy").addEventListener("click", function() {
require("electron").ipcRenderer.send("resetProxy");
setTimeout(() => {
require("electron").ipcRenderer.send("errorReload");
})
});
</script>
</body>
</html>