forked from parrisvarney/trillium-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
98 lines (87 loc) · 2.37 KB
/
popup.html
File metadata and controls
98 lines (87 loc) · 2.37 KB
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
97
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Getting Started Extension's Popup</title>
<style>
body {
width: 400px;
background: rgba(0, 0, 0, 0.5) url(background.png) no-repeat left top fixed;
background-size: 100% auto;
}
#background-opacity {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(255,255,255,0.6);
z-index: -100;
}
label {
font: 24px bolder black;
text-decoration: underline;
}
h3 {
font: 18px normal black;
margin: 5px 0 5px 20px;
}
.available-beer-div {
color: #40540d;
font-size: 20px;
padding: 4px;
max-height: 300px;
overflow: hidden;
}
.available-beer-div img {
height: 200px;
display: block;
padding-left: 50%;
transform: translateX(-25%);
}
.format-span {
color: #7c4624;
font-size: 12px;
display: block;
}
#last-updated {
color: red;
font-weight: bold;
font-size: 14px;
padding: 5px;
float: right;
}
#fort-point {
padding-bottom: 20px;
}
#fort-point-hours a,
#fort-point-hours a:hover,
#fort-point-hours a:active,
#fort-point-hours a:visited {
color: #40540d;
text-decoration: none;
}
#site-link {
text-align: center;
text-decoration: underline;
cursor: pointer;
color: blue;
}
</style>
</head>
<body>
<div id="background-opacity"></div>
<div id="last-updated"></div>
<label for="fort-point">Trillium Fort Point</label>
<div id="fort-point">Loading...</div>
<label for="fort-point-hours">Fort Point Hours</label>
<div id="fort-point-hours"></div>
<div id="site-link"><span>Go to Trillium's website.</span></div>
<script src="jquery-2.1.4.min.js"></script>
<script src="popup.js"></script>
</body>
</html>