-
Notifications
You must be signed in to change notification settings - Fork 44
/
about.html
128 lines (128 loc) · 2.73 KB
/
about.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
126
127
128
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>About Firebase Admin</title>
<style>
html, body{
height: 100%;
margin: 0;
padding: 0;
}
body{
font-family: system,-apple-system,".SFNSDisplay-Regular","Helvetica Neue",Helvetica,"Segoe UI",sans-serif;
-webkit-user-select: none;
user-select: none;
text-align: center;
background: #6ea75d;
color: #fff;
box-sizing: border-box;
animation: color-anim 30s ease infinite;
}
.no-drag{
height: 30px;
}
.about-wrap{
-webkit-app-region: drag;
padding-top: 20px;
}
.logo{
width: 50px;
}
.detail{
font-size: 12px;
padding-top: 8px;
line-height: 2;
}
.footer {
position: fixed;
bottom: 0;
font-size: 12px;
width: 100%;
padding-bottom: 10px;
color: rgba(0, 0, 0, 0.6);
}
@-webkit-keyframes color-anim {
0% { background: #3a8cc0; }
20% { background: #c5a853; }
40% { background: #3dad6c; }
60% { background: #6b4ebc; }
80% { background: #d85c5c; }
100% { background: #3a8cc0; }
}
.close{
background-color: #ff6159;
border-radius: 100%;
padding: 0;
height: 12px;
width: 12px;
border: 1px solid rgba(0, 0, 0, 0.06);
box-sizing: border-box;
margin-right: 3.5px;
position: fixed;
outline: none;
top: 5px;
left: 5px;
}
.close:before, .close:after{
content: '';
position: absolute;
border-radius: 1px;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: auto;
background-color: rgba(0,0,0,.5);
width: 8px;
height: 2px;
transform: rotate(-45deg);
}
.close:before{
transform: rotate(45deg);
}
.win32 .close{
top: 0;
left: inherit;
right: 0;
margin-right: 0;
width: 40px;
height: 28px;
border-radius: 0;
background-color: transparent;
border-color: transparent;
}
.win32 .close:before, .win32 .close:after{
height: 1px;
width: 14px;
}
.win32 .close:hover{
background: #e51400;
}
.win32 .close:hover:before, .win32 .close:hover:after{
background-color: #fff;
}
</style>
</head>
<body class="about">
<div class="no-drag"></div>
<div class="about-wrap">
<img class="logo" src="img/logo.svg">
<div style="padding-top: 20px;">Firebase Admin</div>
<div class="detail">
Version: <span id="version-number"></span><br>
Credits: Karthik Bhat, Koushik Bhushan
</div>
<div class="footer">Made with love in India</div>
</div>
<div class="close" onclick="closeWindow()"></div>
<script>
document.getElementsByTagName('body')[0].classList.add(process.platform)
function closeWindow() {
window.close()
}
require('electron').webFrame.setZoomLevelLimits(1, 1)
document.getElementById('version-number').innerHTML = require('electron').remote.app.getVersion()
</script>
</body>
</html>