-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
65 lines (58 loc) · 1.62 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
<!doctype html>
<html>
<head>
<title>Chrome Bouncer</title>
<link rel="stylesheet" href="./materialize.min.css" />
<style>
body {
font-size : 100%;
width : 600px;
padding : 1em;
}
.mainContainer {
position : relative;
}
.overflow-ellipsis {
display : block;
white-space : nowrap;
overflow : hidden;
text-overflow : ellipsis;
}
.collection {
transition : transform .4s ease-in-out;
}
.hostDetailsCard {
visibility : hidden;
height : 0;
overflow : hidden;
position : absolute;
top : 2em;
width : 100%;
transform : translateX( 110% );
transition : all .4s ease-in-out;
}
.is-detailCardOpen {
visibility : visible;
height : auto;
transform : translateX( 0% );
}
.is-hostListClose {
transform : translateX( -110% );
}
</style>
</head>
<body>
<div class="mainContainer">
<h5 class="mdl-typography--display-1">Chrome Bouncer</h1>
<div class="collection" id="partyList"></div>
<div class="hostDetailsCard card-panel teal lighten-3" id="hostCard">
<button id="backToListBtn" class="btn waves-effect waves-light" type="button" name="Go Back">Back</button>
<div id="hostDetails"></div>
</div>
</div>
<script src="popup.js"></script>
<script type="text/javascript" src="./jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="./materialize.min.js"></script>
</body>
</body>
</html>