-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
83 lines (73 loc) · 1.8 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
<html>
<head>
<title>Happiness Jar</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
width: 300px;
float: left;
background-color: #FFFFCB;
height: auto;
border: none;
}
#newMessage {
width: 100%;
height: 200px;
}
#icon {
width:14%;
float: right;
}
.textAndButtons {
float: left;
width: 80%;
}
#addMessage{
display: none;
}
button {
background-color: #C2FFFF;
/*color: #000066;*/
color: #0063A6;
border-radius: 6px;
border-style: solid;
border-color: #0063A6;
vertical-align: -webkit-baseline-middle;
margin: 5px;
}
button:hover {
background-color: #A7FFFF;
}
#refresh {
width: 15px;
}
#instructions {
color:#0063A6;
font-weight: bold;
}
#message {
color: #0063A6;
}
</style>
<script src="jquery-2.1.4.js"></script>
<script src="popup.js"></script>
</head>
<body>
<div class="textAndButtons">
<div id="displayMessage">
<div id="message"></div>
<div id="displayMessageButtons">
<button id="addButton">Add a happy thought</button>
<button id="refreshButton"><img id="refresh" src="refresh.png" title="Click for a random happy thought"/></button>
</div>
</div>
<div id="addMessage">
<div id="instructions">Add your new happy thought below!</div>
<textarea id="newMessage"></textarea>
<button id="submitAndBackButton">Submit</button>
</div>
</div>
<img id="icon" src="icon.png" />
</body>
</html>