-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguideline.html
358 lines (319 loc) · 17.3 KB
/
guideline.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Guideline</title>
<!-- inject:css -->
<link rel="stylesheet" href="css/style.css">
<!-- endinject -->
<style>
hr {
border-top: 1px solid #eee;
}
</style>
</head>
<body data-spy="scroll" data-target="#scrollspy">
<div class="container">
<div class="row">
<div id="scrollspy" class="col-sm-3">
<ul class="nav nav-pills nav-stacked" role="tablist" style="position: fixed; margin-top: 80px">
<li><a href="#typography">Typography</a></li>
<li><a href="#navigation">Navigation</a></li>
<li><a href="#form">Forms</a></li>
<li><a href="#buttons">Buttons</a></li>
<li><a href="#modal">Modals, tooltips</a></li>
<li><a href="#productItem">Product items</a></li>
</ul>
</div>
<div class="col-sm-9" style="margin-bottom: 100px">
<h1>A guideline page with all project elements.</h1>
<hr>
<section id="typography">
<h2>Typography section</h2>
<a class="btn btn-info" id="typographySwitch">Cyrillic/Latin text</a>
<div class="cyrillic" style="display: none">
<h1>H1 tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра."
</h1>
<h2>H2 tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра,
которыми я наслаждаюсь от всего сердца."</h2>
<h3>H3 tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра,
которыми я наслаждаюсь от всего сердца."</h3>
<h4>H4 tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра,
которыми я наслаждаюсь от всего сердца."</h4>
<h5>H5 tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра,
которыми я наслаждаюсь от всего сердца."</h5>
<h6>H6 tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра,
которыми я наслаждаюсь от всего сердца."</h6>
<p>P tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра,
которыми я наслаждаюсь от всего сердца."</p>
<a>A tag - "Душа<sup>над</sup> моя озарена неземной радостью, как эти чудесные весенние утра,
которыми я наслаждаюсь от всего сердца."</a>
</div>
<div class="latin">
<h1>H1 tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor."</h1>
<h2>H2 tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."</h2>
<h3>H3 tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."</h3>
<h4>H4 tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."</h4>
<h5>H5 tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."</h5>
<h6>H6 tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."</h6>
<p>P tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."</p>
<a>A tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."</a>
</div>
<div style="margin-top: 20px">
<ul class="butteted-list">
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Sed do eiusmod tempor incididunt</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
</div>
<p class="ellipsis">
Example of text ellipsis - 5 lines shown.
P tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
P tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
P tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
P tag - "Lorem ipsum<sup>sup</sup> dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
</section>
<hr>
<section id="navigation">
<h2>Navigation links</h2>
<div class="topmenu-justified">
<ul class="topmenu-justified__list">
<li class="topmenu-justified__item"><a href="#">Justified menu link</a></li>
<li class="topmenu-justified__item"><a href="#">Menu link</a></li>
<li class="topmenu-justified__item"><a href="#">Menu link with a bit longer width</a></li>
<li class="topmenu-justified__item"><a href="#">Lorem ipsum link</a></li>
<li class="topmenu-justified__item"><a href="#">Last link in this menu</a></li>
</ul>
</div>
</section>
<hr>
<section id="form">
<h2>Form elements section (with error messges)</h2>
<form style="width: 50%;display: inline-block;vertical-align: top">
<div class="form-group">
<label for="select">Choose an option</label>
<div class="select-wrap">
<select id="select" class="form-control">
<option>Lorem ipsum</option>
<option>Consectetur adipiscing elit</option>
<option>Lorem ipsum</option>
<option>Lorem ipsum</option>
</select>
</div>
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<div class="form-group">
<label for="exampleInputFile">File input</label>
<input type="file" id="exampleInputFile">
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Checkbox
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" checked> Checkbox - checked
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" disabled> Checkbox - disabled
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" checked disabled> Checkbox - disabled & checked
</label>
</div>
<div class="checkbox">
<label>
<input type="radio"> Radio button
</label>
</div>
<div class="checkbox">
<label>
<input type="radio" checked> Radio button - checked
</label>
</div>
<div class="checkbox">
<label>
<input type="radio" disabled> Radio button - disabled
</label>
</div>
<div class="checkbox">
<label>
<input type="radio" checked disabled> Radio button - disabled & checked
</label>
</div>
<textarea class="form-control" style="height: 100px"></textarea>
<br>
<button type="submit" class="btn btn-default">Submit</button>
</form>
<div class="filters" style="width: 48%;display: inline-block;vertical-align: top">
<!--<h3>Other form-like elements, e.g. filters</h3>-->
</div>
</section>
<hr>
<section id="buttons">
<h2>Buttons section</h2>
<a class="button" href="#">Link normal</a>
<br>
<br>
<button class="button">Button</button>
<br>
<br>
<button type="submit" class="btn btn-default">Submit</button>
<br>
<br>
<button type="submit" class="btn btn-default btn-success">Success Submit</button>
</section>
<hr>
<section id="modal">
<h2>Modals, dropdowns, popups, tooltips</h2>
<h4>Dropdown</h4>
<div class="dropdown">
<a href="/" data-target="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown Item</a>
<ul class="dropdown-menu">
<li class=""><a href="#" class="">1.1 Menu Item</a></li>
<li class=""><a href="#" class="">1.2 Menu Item</a></li>
<li class=""><a href="#" class="">1.3 Menu Item - a bit longer</a></li>
<li class=""><a href="#" class="">1.4 Menu Item</a></li>
<li class=""><a href="#" class="">1.5 Menu Item</a></li>
</ul>
</div>
<h4>Modal</h4>
<h4>Tooltip</h4>
</section>
<hr>
<section id="productItem">
<h2>Product Item section</h2>
<h4>Item - horizontal</h4>
<div class="horizontal-item-wrap clearfix">
<div class="horizontal-item">
<div class="image-wrap col-sm-4">
<img src="http://dummyimage.com/300x200/89c287/fff">
</div>
<div class="content-wrap col-sm-8">
<h3>Item title</h3>
<p>
Item text content. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
<button type="submit" class="btn btn-default btn-success">Success Submit</button>
</div>
</div>
</div>
<h4>Item - vertical</h4>
<div class="vertical-item-wrap">
<div class="vertical-item col-sm-4">
<div class="image-wrap">
<img src="http://dummyimage.com/300x200/89c287/fff">
</div>
<div class="content-wrap">
<h3>Item title</h3>
<p>
Item text content. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
<button type="submit" class="btn btn-default btn-success">Success Submit</button>
</div>
</div>
<div class="vertical-item col-sm-4">
<div class="image-wrap">
<img src="http://dummyimage.com/400x300/89c287/fff">
</div>
<div class="content-wrap">
<h3>Item title #2</h3>
<ul class="butteted-list">
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Sed do eiusmod tempor incididunt</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
</div>
</div>
</div>
<div class="vertical-item-wrap" style="margin-top: 25px">
<div class="vertical-item col-sm-4">
<div class="image-wrap">
<img src="http://dummyimage.com/300x200/89c287/fff">
</div>
<div class="content-wrap">
<h3>Item title</h3>
<p>
Item text content. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
<button type="submit" class="btn btn-default btn-success">Success Submit</button>
</div>
</div>
<div class="vertical-item col-sm-4">
<div class="image-wrap">
<img src="http://dummyimage.com/400x300/89c287/fff">
</div>
<div class="content-wrap">
<h3>Item title #2</h3>
<ul class="butteted-list">
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Sed do eiusmod tempor incididunt</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
</div>
</div>
<div class="vertical-item col-sm-4">
<div class="image-wrap">
<img src="http://dummyimage.com/200x100/89c287/fff">
</div>
<div class="content-wrap">
<h3>Item title #3</h3>
<ul class="butteted-list">
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Consectetur adipiscing elit</li>
<li>Consectetur adipiscing elit</li>
<li>Sed do eiusmod tempor incididunt</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<!-- bower:js -->
<script src="js/vendor.min.js"></script>
<!-- endinject -->
<script>
$(function () {
$("#typographySwitch").click(function () {
$(".cyrillic").toggle();
$(".latin").toggle();
});
});
</script>
</body>
</html>