-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
83 lines (72 loc) · 1.44 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
width: 200px;
font-size: 14px;
font-family: sans-serif;
color: #666;
margin: 0;
padding: 16px;
height: 200px;
}
.form-item {
position: relative;
margin-bottom: 20px;
display: flex;
align-items: center;
}
.form-item__label {
width: 80px;
line-height: 2;
text-align: right;
padding-right: 10px;
}
.form-item__input {
padding: 4px 8px;
width: 100%;
box-sizing: border-box;
font-size: 14px;
color: #333;
}
.button-wrap {
text-align: right;
}
.button {
padding: 4px 8px;
background: #fff;
border: none;
color: #000;
border: 2px solid currentColor;
border-radius: 4px;
cursor: pointer;
text-align: center;
min-width: 80px;
}
.button:hover {
color: rgb(0, 95, 204);
}
.footer {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
text-align: center;
}
</style>
</head>
<body>
<form>
<div class="form-item-list" id="form">
</div>
<div class="button-wrap">
<span style="color: red;" id="error-tip"></span>
<input class="button" type="submit" id="submit"></button>
</div>
</form>
<div class="footer" id="footer">table2json@2020</div>
<script src="popup.js"></script>
</body>
</html>