-
Notifications
You must be signed in to change notification settings - Fork 0
/
dialog-list.html
96 lines (87 loc) · 2.86 KB
/
dialog-list.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- <link rel="stylesheet" href="style.css"> -->
<style>
@-moz-document url-prefix() {
@font-face {
font-family: '-webkit-standard';
src: url('nintendo_udsg-r_std_003.ttf');
}
}
body {
}
#list {
overflow:hidden; overflow-y:scroll; max-height: 260px;
}
.ok-cancel-dialog {
background-color: #464646;
color: white;
text-align: center;
font-family: '-webkit-standard';
width: 770px;
height: 500px;
border-spacing: 0px;
font-size: 24px;
border-radius: 5px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.dialog-text {
font-size: 20px;
padding-top: 50px;
}
.dialog-button {
color: #00ffc7;
height: 70px;
border-top: 2px solid #676767;
user-select: none;
}
.dialog-button:focus {
box-shadow: 0 0 2px 2px #2c95c4, inset 0 0 2px 2px #2c95c4, 0 0 2px 2px #2c95c4, inset 0 0 2px 2px #2c95c4, 0 0 2px 2px #2c95c4, inset 0 0 2px 2px #2c95c4, 0 0 2px 2px #2c95c4, inset 0 0 2px 2px #2c95c4;
border: 0px;
z-index: 1;
position: relative;
border-radius: 3px;
}
.dialog-button:active {
background-color: #3c595d;
}
.ok-cancel-dialog td:not(:first-child) { border-left:2px solid #676767; };
.ok-cancel-dialog td:not(:last-child) { border-right:2px solid #676767; };
</style>
</head>
<body>
<table class="ok-cancel-dialog">
<tr>
<td class="dialog-text" colspan="2">
A new update is available.<br>
It will be downloaded now.
<ul id="list" style= "">
<li>Mod 1</li>
<li>Mod 2</li>
<li>Mod 3</li>
<li>Mod 4</li>
<li>Mod 5</li>
<li>Mod 6</li>
<li>Mod 7</li>
<li>Mod 8</li>
<li>Mod 9</li>
<li>Mod 10</li>
<li>Mod 11</li>
<li>Mod 12</li>
</ul>
</td>
</tr>
<tr>
<td class="dialog-button" onclick="location.href='http://localhost/yes';" style="cursor:pointer;">Yes</td>
<td class="dialog-button" onclick="location.href='http://localhost/no';" style="cursor:pointer;">No</td>
</tr>
</table>
</body>
</html>