-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (68 loc) · 1.72 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta name="color-scheme" content="light" />
<title>Vimer</title>
<style type="text/css">
html, body {
margin: 0;
padding: 0;
overflow: hidden;
width: 100vw;
height: 100vh;
}
iframe {
position: absolute;
top: 30px;
width: 100vw;
height: calc(100vh - 30px);
z-index: 0;
}
header#custom-frame {
background: #d0cce0;
}
header#custom-frame .cf-title {
font-weight: bold;
}
header#custom-frame i {
color: #391259;
}
.cf-btn:hover:not(.cf-close) {
background-color: #c1b4cb;
}
.cf-close:hover * {
color: white !important;
}
.cf-title img {
width: 49px;
height: 13px;
position: relative;
top: 1px;
}
</style>
</head>
<body>
<iframe src="about:blank" frameborder="0" scrolling="no" allow="fullscreen; autoplay"></iframe>
<script type="text/javascript" src="assets/custom-frame/custom-frame.js"></script>
<script src="./assets/scripts/events.js"></script>
<script src="./modules/bridge/client.js"></script>
<script src="./assets/scripts/ffmpeg-electron.js"></script>
<script src="./node_modules/jquery/dist/jquery.js"></script>
<script>
CustomFrame.attach(window, {
icon: './default_icon.png',
uiIconsTheme: './assets/custom-frame/icons/css/cf-fa.css',
style: './assets/custom-frame/custom-frame-core.css',
frameTheme: './assets/custom-frame/custom-frame-theme.css',
frameIconSize: 21,
size: 30,
win: api.window,
details: {
title: 'Vimer',
icon: './default_icon.png'
}
})
document.querySelector('.cf-title').innerHTML = `<img src="assets/images/vimer.png" />`
</script>
</body>
</html>