-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
60 lines (56 loc) · 1.12 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
<!doctypehtml>
<html>
<head>
<title>sleep</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<style type="text/css">
body {
font-family: 'Roboto', sans-serif;
margin: 0;
margin-bottom: 10px;
white-space:nowrap;
background: #e5e5e5;
}
h1 {
font-size:30px;
color: white;
background: #333;
padding: 5px;
margin: 0px;
text-align: center;
}
#container {
align-items:center;
display:flex;
justify-content:space-between;
margin: 10px;
}
button, input {
background: white;
border: 1px solid #EEE;
}
.disable {
width: 80%;
margin-left: 10%;
background: white;
border: 1px solid #EEE;
color: black;
}
.disabled {
background: #555 !important;
border: 1px solid #666 !important;
color: white !important;
}
</style>
<script src="popup.js"></script>
</head>
<body>
<h1>Sleep</h1>
<div id="container">
<span>time: </span>
<input type="time" value='22:00'>
<button class='pew'>set</button>
</div>
<button class='disable disabled'>disable</button>
</body>
</html>