-
Notifications
You must be signed in to change notification settings - Fork 6
/
poll.html
135 lines (115 loc) · 3.4 KB
/
poll.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<title>Poll</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css">
<style>
body{
margin: 0px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.navbar{
display: block;
height: 3em;
background-color: #D8E2EE;
margin:0px;
box-shadow: 0 0 10px 0 black;
}
.new{
display: inline;
}
.new-button{
margin: 0.45em;
font-family: Arial, Helvetica, sans-serif;
color: #3E567D;
}
.search{
margin: 0.45em;
float: right;
border-radius: 10%;
border: #9bc1ff;
height: 20px;
}
.new-button{
border: none;
font-size: 1.2em;
background:none;
font-weight: bold;
}
.poll-group{
margin: 2px 0px;
}
.poll{
display: block;
background-color: #CBD9E9;
padding: 8px;
height: 24px;
}
.hidden{
visibility: hidden;
}
.title{
font-size: 0.7em;
font-weight: bold;
margin: 10px;
}
span.poll-number{
float: right;
font-size: 0.7em;
margin: 0;
padding: 3px;
height: 100%;
}
.question{
display: inline;
margin:0px 0px 1px 0px;
padding: 2px 0px;
}
span.response{
float:right;
margin: 0px;
}
.poll-content{
background-color: #f6f2ff;
padding: 18px 5px;
height: 14px;
}
</style>
</head>
<body>
<div class="navbar">
<div class="nav-item new">
<button class="new-button">+ New</button>
</div>
<div class="nav-item search">
<input type="text" class="search" placeholder="Search">
</div>
</div>
<div class="container">
<div class="poll-group">
<div class="poll">
<i class="fa fa-chevron-circle-down" aria-hidden="true"></i><i class="material-icons"></i>
<span class="title">ITCS 1110-May 31</span>
<span class="poll-number">2 polls</span>
</div>
<div class="poll-content ">
<input type="checkbox"><span class="question"> What word do you think of when you hear "life" ? </span>
<span class="response">0 response</span>
</div>
</div>
<div class="poll-group">
<div class="poll">
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i><i class="material-icons"></i>
<span class="title">Test 2</span>
<span class="poll-number">3 polls</span>
</div>
<div class="poll-content hidden">
<input type="checkbox"><span class="question"> Question 2</span>
<span class="response"></span>
</div>
</div>
</div>
</body>
</html>