forked from Guilh/poly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
205 lines (185 loc) · 8.03 KB
/
index.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html>
<head>
<title>Poly UI Kit</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/application.css">
<link rel="shortcut icon" href="img/favicon.png">
</head>
<body>
<div class="grid">
<header class="grid__col--12 panel--padded--centered" role="banner">
<a class="site-logo" href="/">
<b class="srt">Poly - UI Toolkit</b>
</a>
<nav class="navbar" role="navigation">
<span id="toggle" class="icn--nav-toggle is-displayed-mobile">
<b class="srt">Toggle</b>
</span>
<ul class="nav is-collapsed-mobile">
<li class="nav__item"><a href="#type">Typography</a></li>
<li class="nav__item"><a href="#buttons">Buttons</a></li>
<li class="nav__item"><a href="#forms">Form</a></li>
<li class="nav__item"><a href="#progbars">Bars</a></li>
<li class="nav__item"><a href="#images">Images</a></li>
<li class="nav__item"><a href="#grid">Grid</a></li>
<li class="nav__item--current"><a href="#nav">Navigation</a></li>
</ul>
</nav>
</header>
</div>
<div class="grid is-hidden-mobile">
<div class="grid__col--12">
<img class="img--hero" src="img/hero.jpg" alt="Poly - A simple UI Kit">
</div>
</div>
<h4 id="type" class="grid">Typography</h4>
<div class="grid">
<div class="centered grid__col--8">
<h1 class="headline-primary--grouped">Take a look at this amazing headline</h1>
<h2 class="headline-secondary--grouped">Don't forget about the subtitle</h2>
<p>This is a typical paragraph for the UI Kit. <a href="#">Here is what a link might look like</a>. The typical font family for this kit is Helvetica Neue. This kit is intended for clean and refreshing web layouts. No jazz hands here, just the essentials to make dreams come true, with minimal clean web design. The kit comes fully equipped with everything from full responsive media styling to buttons to form fields. <em>I enjoy using italics as well from time to time</em>. Fell free to create the most amazing designs ever with this kit. I truly hope you enjoy not only the kit but this amazing paragraph as well. :)</p>
<blockquote>You know what really gets me going? A really nice set of block quotes. That's right, block quotes that say, "Hey, I'm an article you want to read and nurture."</blockquote>
</div>
</div>
<h4 id="buttons" class="grid">Buttons</h4>
<div class="grid">
<div class="grid__col--12">
<a class="btn--default" href="#">Button Default</a>
<a class="btn--success" href="#">Button Success</a>
<a class="btn--error" href="#">Button Error</a>
<button class="btn--warning">Button Warning</button>
<button class="btn--info">Button Info</button>
</div>
</div>
<h4 id="forms" class="grid">Form Elements</h4>
<div class="grid">
<div class="grid__col--7">
<form class="form">
<label class="form__label--hidden" for="name">Name:</label>
<input class="form__input" type="text" id="name" placeholder="Name">
<label class="form__label--hidden" for="email">Email:</label>
<input class="form__input" type="email" id="email" placeholder="[email protected]">
<label class="form__label--hidden" for="msg">Message:</label>
<textarea class="form__input" id="msg" placeholder="Message..." rows="7"></textarea>
<input class="btn--default" type="submit" value="Submit">
<input class="btn--warning" type="reset" value="Reset">
</form>
</div>
<div class="grid__col--4">
<img class="img--avatar" src="img/avatar.png" alt="Avatar">
<form>
<label class="form__label--hidden" for="username">Username:</label>
<input class="form__input" type="text" id="username" placeholder="Username">
<label class="form__label--hidden" for="password">Password:</label>
<input class="form__input" type="password" id="password" placeholder="Password">
<input class="form__btn" type="submit" value="Login">
</form>
</div>
</div>
<h4 id="progbars" class="grid">Progress Bars</h4>
<div class="grid">
<div class="grid__col--12">
<div class="progbar">
<span class="progbar__status--default"></span>
</div>
<div class="progbar">
<span class="progbar__status--success"></span>
</div>
<div class="progbar">
<span class="progbar__status--error"></span>
</div>
<div class="progbar">
<span class="progbar__status--warning"></span>
</div>
<div class="progbar">
<span class="progbar__status--info"></span>
</div>
</div>
</div>
<h4 id="images" class="grid">Images</h4>
<div class="grid">
<div class="grid__col--5">
<img src="img/sample.jpg" alt="sample image">
</div>
<div class="grid__col--5">
<img class="img--wrap" src="img/sample.jpg" alt="sample image">
</div>
<div class="grid__col--2">
<img class="img--avatar" src="img/avatar.png" alt="Avatar">
</div>
</div>
<h4 id="grid" class="grid">Grid System</h4>
<div class="theme__poly">
<div class="grid">
<div class="grid__col--12">.grid__col--12</div>
</div>
<div class="grid">
<div class="grid__col--6">.grid__col--6</div>
<div class="grid__col--6">.grid__col--6</div>
</div>
<div class="grid">
<div class="grid__col--4">.grid__col--4</div>
<div class="grid__col--4">.grid__col--4</div>
<div class="grid__col--4">.grid__col--4</div>
</div>
<div class="grid">
<div class="grid__col--3">.grid__col--3</div>
<div class="grid__col--3">.grid__col--3</div>
<div class="grid__col--3">.grid__col--3</div>
<div class="grid__col--3">.grid__col--3</div>
</div>
<div class="grid">
<div class="grid__col--5">.grid__col--5</div>
<div class="grid__col--7">.grid__col--7</div>
</div>
<div class="grid">
<div class="grid__col--8">.grid__col--8</div>
<div class="grid__col--4">.grid__col--4</div>
</div>
<div class="grid">
<div class="centered grid__col--7">.centered .grid__col--7</div>
</div>
</div>
<div class="grid">
<div class="grid__col--7">
<h4 id="nav">Navigation</h4>
<ul class="nav" role="navigation">
<li class="nav__item"><a href="#">Nav Link</a></li>
<li class="nav__item"><a href="#">Nav Link 2</a>
<li class="nav__item--current"><a href="#">Nav Current</a></li>
</ul>
<p>This is what the navigation menu looks like when the screen is at 769px or higher. When the screen is less than 769px, you will have the option to display a toggle menu icon.</p>
</div>
<div class="grid__col--4">
<h4>Offcanvas Menu</h4>
<div class="offcanvas">
<span class="icn--close">
<b class="srt">close</b>
</span>
<ul class="menu" role="navigation">
<a class="menu__link" href="#">Link 1</a>
<a class="menu__link" href="#">Link 2</a>
<a class="menu__link" href="#">Link 3</a>
<a class="menu__link--end" href="#">Link 4</a>
</ul>
</div>
</div>
</div>
<h4 class="grid">Footer</h4>
<div class="grid">
<footer class="grid__col--12 panel--padded--centered" role="contentinfo">
<a class="site-logo" href="#">
<b class="srt">Poly - UI Toolkit</b>
</a>
<p>A simple UI Kit for everyone to share and enjoy.</p>
</footer>
</div>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script>
$('#toggle').click(function() {
$(this).next('.nav').toggleClass("is-collapsed-mobile");
});
</script>
</body>
</html>