-
Notifications
You must be signed in to change notification settings - Fork 0
/
tray.htm
55 lines (54 loc) · 1 KB
/
tray.htm
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
<html window-frame="transparent">
<head>
<title>Tray Menu</title>
<style>
* {
margin: 0dip;
padding: 0dip;
}
html {
/* YOU MUST SET A WIDTH TO YOUR LIKING */
min-width: 150dip;
width: max-content;
height: max-content;
background: transparent;
overflow: hidden;
}
body {
width: max-content;
height: max-content;
border-radius: 4dip;
overflow: hidden;
background: #fff;
/* If you want to add shadow you must add margin */
box-shadow: 0 4px 6px rgba(50,50,93,0.7), 0 1px 3px rgba(0,0,0,0.4);
margin: 5dip;
}
li {
display: block;
padding: 10dip;
background: #fff;
font-size: 15dip;
font-weight: 500;
color: #222;
}
li:hover {
background: #ddd;
}
.header { font-weight: bold; font-size: 12dip; }
</style>
<script type="text/tiscript">
</script>
</head>
<body>
<ul>
<li.header>Sciter TrayMenu</li>
<hr/>
<li #show>Show app</li>
<li>More app</li>
<li #hide>Hide app</li>
<hr/>
<li #exit>Exit!</li>
</ul>
</body>
</html>