forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyleguide.html
860 lines (856 loc) · 36.2 KB
/
styleguide.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
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
{% extends "base.html" %}
{% load i18n %}
{% load staticfiles %}
{% load bootstrap_form from bootstrap4 %}
{% block title %}Style guide — {{ block.super }}{% endblock %}
{% block header %}
<div class="container navbar__login">
</div>
<header class="checkout__header">
<div class="container">
<a href="/">
<svg data-src="{% static "images/logo.svg" %}" height="38px" width="176px" />
</a>
<h1>Style guide</h1>
</div>
</header>
{% endblock %}
{% block content %}
<div class="container styleguide">
<div class="row">
<div class="col-md-3 push-md-9">
<nav class="styleguide__nav">
<a href="#typography">Typography</a>
<a href="#colors">Colors</a>
<a href="#grid">Grid</a>
<a href="#responsive">Responsive breakpoints</a>
<a href="#helpers">Helper classes</a>
<a href="#icons">Icons</a>
<a href="#s">Buttons</a>
<a href="#forms">Forms</a>
<a href="#pagination">Pagination</a>
<a href="#breadcrumbs">Breadcrumbs</a>
<a href="#notifications">Notifications</a>
<a href="#mainnav">Main navigation</a>
<a href="#tabs">Tabs</a>
<a href="#tables">Tables</a>
<a href="#cards">Cards</a>
<a href="#product">Product items</a>
<a href="#product-gallery">Product gallery</a>
</nav>
</div>
<div class="col-md-9 pull-md-3 styleguide__content">
<div id="typography" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Typography</h3>
<p>
We use Lato fontface in Regular(400), <span class="styleguide__content__block__light">Light(300)</span> and <span class="styleguide__content__block__bold">Bold(700)</span> weights.<br>
Lato includes only latin and latin extended characters. For other alphabets the default sans serif font will be used.
</p>
<p>Click and edit any text below to see how the component looks with different text</p>
<p><strong>Headers</strong></p>
</div>
<div class="styleguide__section">
<h1 contenteditable="true">H1 example text</h1>
<h2 contenteditable="true">H2 example text</h2>
<h3 contenteditable="true">H3 example text (always uppercased)</h3>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Paragraph</strong></p>
</div>
<div class="styleguide__section">
<p contenteditable="true">Saleor is open and free to use. It is not a bait to force you to pay us later and we promise to do our bests to fix bugs and improve the code. Some situations however call for a custom solution and extra code to be written. Whether you need us to cover an exotic use case or build you a custom e-commerce appliance, our team can help.</p>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Links</strong></p>
</div>
<div class="styleguide__section">
<a href="#" contenteditable="true">Link example text</a>
<a href="#" class="link--styled" contenteditable="true">Styled link example text</a>
</div>
</div>
<div id="colors" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Colors</h3>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--body-color">
</div>
<p>#333333<br>$body-color</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--white">
</div>
<p>#ffffff<br>$white</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--light-gray">
</div>
<p>#f2f2f2<br>$light-gray</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--gray">
</div>
<p>#D3D1D0<br>$gray</p>
</div>
</div>
<div class="row">
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--darken-gray">
</div>
<p>#bab7b6<br>$darken-gray</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--skull-gray">
</div>
<p>#828282<br>$skull-gray</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--blue">
</div>
<p>#26A5D4<br>$blue</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--darken-blue">
</div>
<p>#1e83a9<br>$darken-blue</p>
</div>
</div>
<div class="row">
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--red">
</div>
<p>#EB5757<br>$red</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--dark-red">
</div>
<p>#c53636<br>$dark-red</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--green">
</div>
<p>#27AE60<br>$green</p>
</div>
<div class="col-md-3 col-6 styleguide__content__block__color">
<div class="styleguide__content__block__color--beige">
</div>
<p>#FFFAEC<br>$beige</p>
</div>
</div>
</div>
</div>
<div id="grid" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Grid</h3>
<p>We use <a target="_blank" href="https://v4-alpha.getbootstrap.com/getting-started/introduction/">Bootstrap 4</a> responsive grid which is based on a 12 column layout. In most cases we use following combinations:</p>
</div>
<div class="styleguide__section">
<div class="row styleguide__content__block__grid">
<div class="col-md-3 col-6">
<p>col-md-3 col-6</p>
</div>
<div class="col-md-3 col-6">
<p>col-md-3 col-6</p>
</div>
<div class="col-md-3 col-6">
<p>col-md-3 col-6</p>
</div>
<div class="col-md-3 col-6">
<p>col-md-3 col-6</p>
</div>
</div>
<div class="row styleguide__content__block__grid">
<div class="col-md-6">
<p>col-md-6</p>
</div>
<div class="col-md-6">
<p>col-md-6</p>
</div>
</div>
<div class="row styleguide__content__block__grid">
<div class="col-lg-10 m-auto">
<p>col-lg-10 m-auto</p>
</div>
</div>
<div class="row styleguide__content__block__grid">
<div class="col-md-7">
<p>col-md-7</p>
</div>
<div class="col-md-5 styleguide__content__block__grid">
<p>col-md-5</p>
</div>
</div>
</div>
</div>
<div id="responsive" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Responsive breakpoints</h3>
</div>
<div class="styleguide__section">
<div class="table__header">
<div class="row">
<div class="col-4">
</div>
<div class="col-4">
<small>Max container width</small>
</div>
<div class="col-4">
<small>Class prefix</small>
</div>
</div>
</div>
<div class="table__row">
<div class="row">
<div class="col-4">
Extra small<br><576px
</div>
<div class="col-4">
None (auto)
</div>
<div class="col-4">
.col-
</div>
</div>
</div>
<div class="table__row">
<div class="row">
<div class="col-4">
Small<br>≥576px
</div>
<div class="col-4">
540px
</div>
<div class="col-4">
.col-sm
</div>
</div>
</div>
<div class="table__row">
<div class="row">
<div class="col-4">
Medium<br>≥768px
</div>
<div class="col-4">
720px
</div>
<div class="col-4">
.col-md
</div>
</div>
</div>
<div class="table__row">
<div class="row">
<div class="col-4">
Large<br>≥992px
</div>
<div class="col-4">
960px
</div>
<div class="col-4">
.col-lg
</div>
</div>
</div>
<div class="table__row">
<div class="row">
<div class="col-4">
Extra large<br>≥1200px
</div>
<div class="col-4">
1140px
</div>
<div class="col-4">
.col-xl
</div>
</div>
</div>
</div>
</div>
<div id="helpers" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Helper classes</h3>
<p>Storefront templates built with <a target="_blank" href="https://v4-alpha.getbootstrap.com/getting-started/introduction/">Bootstrap 4</a> framework wich has handful utility classes:</p>
<p><strong>Responsive floats</strong></p>
</div>
<div class="styleguide__section">
<div>
<p class="float-left">
<code><div class="float-left"></code>Float left on all viewport sizes<code></div></code>
</p>
</div>
<br>
<div>
<p class="float-right">
<code><div class="float-right"></code>Float right on all viewport sizes<code></div></code>
</p>
</div>
<br>
<div>
<p class="float-none">
<code><div class="float-none"></code>Don't float on all viewport sizes<code></div></code>
</p>
</div>
<br>
<div>
<p class="float-sm-left">
<code><div class="float-sm-left"></code>Float left on viewports sized SM (small) or wider<code></div></code>
</p>
</div>
<br>
<div>
<p class="float-md-right">
<code><div class="float-md-right"></code>Float right on viewports sized MD (medium) or wider<code></div></code>
</p>
</div>
<br>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Responsive utilities</strong></p>
</div>
<div class="styleguide__section">
<p>The <code>.hidden-*-up</code> classes hide the element when the viewport is at the given breakpoint or wider. For example, <code>.hidden-md-up</code> hides an element on medium, large, and extra-large viewports.</p>
<p>The <code>.hidden-*-down</code> classes hide the element when the viewport is at the given breakpoint or smaller. For example, <code>.hidden-md-down</code> hides an element on extra-small, small, and medium viewports.</p>
</div>
</div>
<div id="icons" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Icons</h3>
</div>
<div class="styleguide__section">
<svg data-src="{% static "images/cart.svg" %}" />
<svg data-src="{% static "images/chevron-down.svg" %}" />
<svg data-src="{% static "images/chevron-up.svg" %}" />
<svg data-src="{% static "images/arrow-down.svg" %}" />
<svg data-src="{% static "images/arrow-up.svg" %}" />
<svg data-src="{% static "images/search.svg" %}" />
<svg data-src="{% static "images/gallery-arrow.svg" %}" />
<svg data-src="{% static "images/delete.svg" %}" />
<svg data-src="{% static "images/loader.svg" %}" />
</div>
</div>
<div id="buttons" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Buttons</h3>
<p>Click and edit any button below to see how the component looks with different text</p>
</div>
<div class="styleguide__section">
<button class="btn primary">
<span contenteditable="true">Primary Button (buttons can be really very wide)</span>
</button>
<button class="btn secondary">
<span contenteditable="true">Secondary Button</span>
</button>
<button class="btn danger">
<span contenteditable="true">Danger Button</span>
</button>
<button class="btn primary disabled">
<span contenteditable="true">Disabled Button</span>
</button>
<button class="btn gray">
<span contenteditable="true">Gray Button</span>
</button>
<button class="btn primary narrow">
<span contenteditable="true">Primary Narrow Button</span>
</button>
<button class="btn secondary narrow">
<span contenteditable="true">Secondary Narrow Button</span>
</button>
<button class="btn danger narrow">
<span contenteditable="true">Danger Narrow Button</span>
</button>
<div class="home__block1">
<div class="home--square">
<div class="home--content">
<div class="home--content-wrapper">
<div class="home--content-inner">
<a class="btn btn-secondary home__button" href="#" onclick="return false;">
<span contenteditable="true">Home page button</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="forms" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Forms</h3>
<p><strong>Text form</strong></p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-12 col-md-6">
<div class="form-group">
<label class="control-label" contenteditable="true">Given name</label>
<input autocomplete="given-name" class="form-control" maxlength="256" name="first_name" title="" type="text">
</div>
</div>
<div class="col-12 col-md-6">
<div class="form-group">
<label class="control-label" contenteditable="true">Family name</label>
<input autocomplete="family-name" class="form-control" id="id_last_name" maxlength="256" name="last_name" title="" type="text">
</div>
</div>
</div>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Filters</strong></p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-lg-4 col-md-6 m-auto">
<div class="styleguide__section">
<div class="product-filters">
<h3 contenteditable="true">Box Size
<div class="collapse-filters-icon">
<svg data-src="{% static "images/chevron-up.svg" %}" />
</div>
</h3>
<ul id="box-size">
<li class="item"><label><input type="checkbox" name="box-size"><span contenteditable="true">100g</span></label></li>
<li class="item"><label><input type="checkbox" name="box-size"><span contenteditable="true">250g</span></label></li>
<li class="item"><label><input type="checkbox" name="box-size"><span contenteditable="true">500g</span></label></li>
<li class="item"><label><input type="checkbox" name="box-size"><span contenteditable="true">Feel free to place here as long option as you want</span></label></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Select</strong></p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-12">
<div class="deliveryform">
<select>
<option>Option 1 </option>
<option>Option 2 </option>
<option>Option 3 </option>
<option>Option 4 </option>
</select>
</div>
</div>
</div>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Number input</strong></p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-12">
<form role="form" class="form-cart">
<div class="" tabindex="-1">
<input id="id_quantity" max="50" min="1" name="quantity" type="number" value="2" required="">
</div>
</form>
</div>
</div>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Radio buttons</strong></p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-12">
<div class="radio">
<label>
<input type="radio" name="styleguide-radio">
<span contenteditable="true">First option</span>
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="styleguide-radio">
<span contenteditable="true">Feel free to place here as long text as you want</span>
</label>
</div>
</div>
</div>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Input groups</strong></p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-md-6">
<form class="form-inline search-form" action="{% url "search:search" %}">
<input class="form-control" type="text" name="q" required value="{% if query %}{{ query }}{% endif %}" placeholder="Search for product">
<button class="btn btn-link" type="submit">
<svg data-src="{% static "images/search.svg" %}" width="19" height="19" />
</button>
</form>
</div>
<div class="col-md-6">
<form class="form-group input-btn">
<div class="form-group">
<input class="form-control" id="id_discount-voucher" name="discount-voucher" title="" type="text" required="">
</div>
<button class="btn secondary narrow" type="submit">Use</button>
</form>
</div>
</div>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Variant picker</strong></p>
</div>
<div class="variant-picker styleguide__section">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-secondary variant-picker__option"><input type="radio" name="4"><span contenteditable="true">100g</span></label>
<label class="btn btn-secondary variant-picker__option" aria-pressed="true"><input type="radio" name="5"><span contenteditable="true">250g</span></label>
<label class="btn btn-secondary variant-picker__option active" aria-pressed="true"><input type="radio" name="6"><span contenteditable="true">Feel free to place here as long text as you want</span></label>
</div>
</div>
<div class="styleguide__sub-tittle">
<p><strong>Errors</strong></p>
<p>Errors are always displayed as a small red text below the form explaining what cause the error.</p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-12">
<div class="form-group">
<label class="control-label" for="id_first_name" contenteditable="true">Email</label>
<input autocomplete="given-name" class="form-control" id="id_first_name" maxlength="256" name="first_name" title="" type="text">
<span class="help-block">
<div class="help-block" contenteditable="true">This field is required</div>
</span>
</div>
</div>
</div>
<div class="row">
<div class="col-8 col-md-6">
<p contenteditable="true">Radio form</p>
<div class="radio">
<label>
<input type="radio" name="styleguide-radio">
<span contenteditable="true">First option</span>
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="styleguide-radio">
<span contenteditable="true">Feel free to place here as long text as you want</span>
</label>
</div>
<span class="help-block">
<div class="help-block" contenteditable="true">This field is required.</div>
</span>
</div>
<div class="col-4 col-md-6">
<p contenteditable="true">Quantity</p>
<form role="form" class="form-cart form-group">
<div class="" tabindex="-1">
<input id="id_quantity" max="50" min="1" name="quantity" type="number" value="52" required="">
</div>
</form>
<span class="help-block">
<div class="help-block" contenteditable="true">Only 32 remaining in stock.</div>
</span>
</div>
</div>
</div>
</div>
<div id="pagination" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Pagination</h3>
<p>Click and edit any item below to see how the component looks with different text</p>
</div>
<ul class="pagination styleguide__section">
<li class="prev disabled"><a>«</a></li>
<li><a contenteditable="true">1</a></li>
<li class="active"><a contenteditable="true">2</a></li>
<li><a contenteditable="true">3</a></li>
<li class="last disabled"><a>»</a></li>
</ul>
</div>
<div id="breadcrumbs" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Breadcrumbs</h3>
<p>Click and edit any item below to see how the component looks with different text</p>
</div>
<ul class="breadcrumbs list-unstyled styleguide__section">
<li>
<a href="/" contenteditable="true">
Home
</a>
</li>
<li>
<a href="{% url "account:details" %}" contenteditable="true">
Your profile
</a>
</li>
<li>
<a href="#" contenteditable="true">
Edit address
</a>
</li>
</ul>
</div>
<div id="notifications" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Notifications</h3>
<p>Click and edit any item below to see how the component looks with different text</p>
</div>
<div class="styleguide__section">
<div class="alert alert-success">
<button type="button" class="close" aria-hidden="true">×</button>
<span contenteditable="true">This is Success alert.</span>
</div>
<div class="alert alert-danger">
<button type="button" class="close" aria-hidden="true">×</button>
<span contenteditable="true">This is Danger alert.</span>
</div>
<div class="alert alert-warning">
<button type="button" class="close" aria-hidden="true">×</button>
<span contenteditable="true">This is Warning alert. Notifications content is not limited with container width. Place here as many information as you want or need to.</span>
</div>
</div>
</div>
<div id="mainnav" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Main navigation</h3>
<p>Click and edit any item below to see how the component looks with different text</p>
</div>
<nav class="navigation styleguide__section">
<ul class="nav navbar-nav{% if request.get_full_path == home_url %} no-border{% endif %}" >
{% for category in categories %}
{% url 'home' as home_url %}
<li class="nav-item">
<a class="nav-link" href="{{ category.get_absolute_url }}" contenteditable="true">
{{ category }}
</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
<div id="tabs" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Tabs navigation</h3>
</div>
<div class="styleguide__section">
<ul class="nav nav-tabs col-lg-10 m-auto" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#orders" role="tab">
<h3>Recent Orders</h3>
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#password" role="tab">
<h3>Change password</h3>
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#addresses" role="tab">
<h3>Addresses book</h3>
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active fade show" id="orders" role="tabpanel">
<div class="col-lg-10 m-auto">
<p class="text-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent porttitor, felis et volutpat blandit, ex turpis consectetur eros, sit amet malesuada diam elit ut arcu.</p>
</div>
</div>
<div class="tab-pane fade" id="password" role="tabpanel">
<div class="col-lg-10 m-auto">
<p class="text-center">Cras dapibus at turpis eget porta. Donec laoreet nulla nunc, ac euismod diam efficitur et. In hac habitasse platea dictumst. Donec eleifend pharetra est, ac molestie lorem lacinia a.</p>
</div>
</div>
<div class="tab-pane fade" id="addresses" role="tabpanel">
<div class="col-lg-10 m-auto">
<p class="text-center">Nullam sit amet finibus tortor. Curabitur auctor malesuada dui, quis ornare libero posuere quis. Aliquam non faucibus erat, nec hendrerit ex.</p>
</div>
</div>
</div>
</div>
</div>
<div id="tables" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Tables</h3>
<p>Click and edit any text below to see how the component looks with different text</p>
</div>
<div class="styleguide__section">
<div class="table__header">
<div class="row">
<div class="col-md-2 col-3">
<small contenteditable="true">Order</small>
</div>
<div class="col-md-4 d-none d-md-block">
<small contenteditable="true">Date</small>
</div>
<div class="col-md-2 col-4 text-right">
<small contenteditable="true">Summary</small>
</div>
<div class="col-md-3 d-none d-md-block">
<small contenteditable="true">Status</small>
</div>
<div class="col-md-1 col-5"></div>
</div>
</div>
<div class="table__row">
<div class="row">
<div class="col-md-2 col-3" contenteditable="true">
#1
</div>
<div class="col-md-4 hidden-sm-down" contenteditable="true">
{% now "F j, Y, H:i a" %}
</div>
<div class="col-md-2 col-4">
<span class="float-right" contenteditable="true">$129.35</span>
</div>
<div class="col-md-3 hidden-sm-down">
<span class="label label-default" contenteditable="true">Payment pending</span>
</div>
<div class="col-md-1 col-5">
<a href="#" class="float-right link--styled" contenteditable="true">
Details
</a>
</div>
</div>
</div>
<div class="table__row">
<div class="row">
<div class="col-md-2 col-3" contenteditable="true">
#2
</div>
<div class="col-md-4 hidden-sm-down" contenteditable="true">
{% now "F j, Y, H:i a" %}
</div>
<div class="col-md-2 col-4">
<span class="float-right" contenteditable="true">$129.35</span>
</div>
<div class="col-md-3 hidden-sm-down">
<span class="label label-success" contenteditable="true">Fully paid</span>
</div>
<div class="col-md-1 col-5">
<a href="#" class="float-right link--styled" contenteditable="true">
Details
</a>
</div>
</div>
</div>
</div>
</div>
<div id="cards" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Cards</h3>
<p>Click and edit any text below to see how the component looks with different text</p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="card-deck col-md-6 m-auto">
<div class="card card-block">
<div class="address-details">
<p contenteditable="true">Mr. Walter C. Brown<br>
49 Featherstone Street<br>
London, EC1Y 8SY
<br>
United Kingdom<br>
</p>
</div>
<ul class="icons">
<li>
<a href="#" contenteditable="true">Edit</a>
</li>
<li>
<a class="delete-icon"><svg data-src="{% static "images/delete.svg" %}" height="20px" width="20px" /></a>
</li>
</ul>
<div class="address-delete none">
<form>
<button type="submit" class="btn danger narrow float-right" contenteditable="true">
Remove Address
</button>
<a class="btn btn-link cancel float-md-right" contenteditable="true">
Cancel
</a>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="product" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Products</h3>
<p>Click and edit any text below to see how the component looks with different text</p>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-6 col-lg-3 product-list">
<div class="text-center">
<div>
<img class="img-responsive" src="{% static "images/sample-product.jpg" %}" alt="">
<span class="product-list-item-name" contenteditable="true">Johnson-Brown</span>
</div>
<div class="panel-footer">
<span contenteditable="true">$32.13</span>
</div>
</div>
</div>
<div class="col-6 col-lg-3 product-list">
<div class="text-center">
<div>
<img class="img-responsive" src="{% static "images/sample-product2.jpg" %}" alt="">
<span class="product-list-item-name" contenteditable="true">Johnson-Brown</span>
</div>
<div class="panel-footer">
<div class="product-list__sale">
<svg data-src="{% static "images/sale-bg.svg" %}" />
<span class="product-list__sale__text" contenteditable="true">Sale</span>
</div>
<span contenteditable="true">FROM $72.25</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="product-gallery" class="styleguide__content__block">
<div class="styleguide__tittle">
<h3 class="styleguide__content__block__title">Product gallery</h3>
</div>
<div class="styleguide__section">
<div class="row">
<div class="col-md-8 col-lg-6 col-12 m-auto product__gallery">
<div id="carousel-example-generic" class="carousel slide">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block img-fluid" src="{% static "images/sample-product.jpg" %}" alt="">
</div>
<div class="carousel-item">
<img class="d-block img-fluid" src="{% static "images/sample-product2.jpg" %}" alt="">
</div>
</div>
<a class="carousel-control-prev" href="#carousel-example-generic" role="button" data-slide="prev">
<svg data-src="{% static "images/gallery-arrow.svg" %}" />
</a>
<a class="carousel-control-next" href="#carousel-example-generic" role="button" data-slide="next">
<svg data-src="{% static "images/gallery-arrow.svg" %}" />
</a>
<ol class="carousel-indicators hidden-sm-down">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active">
<img src="{% static "images/sample-product.jpg" %}" alt="">
</li>
<li data-target="#carousel-example-generic" data-slide-to="1" class="">
<img src="{% static "images/sample-product2.jpg" %}" alt="">
</li>
</ol>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% block footer %}
{% endblock %}