-
Notifications
You must be signed in to change notification settings - Fork 33
/
index.html
1414 lines (1276 loc) · 41.2 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
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
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
layout: default
variables:
- name: $steps-default-color
value: $grey-lighter
- name: $steps-completed-color
value: $success
- name: $steps-active-color
value: $success
- name: $steps-horizontal-min-width
value: 10em
- name: $steps-vertical-min-height
value: 4em
- name: $steps-marker-size
value: 2
- name: $steps-divider-size
value: .4em
- name: $steps-gap-size
value: .3rem
- name: $steps-hollow-border-size
value: .3em
- name: $steps-thin-divider-size
value: 1px
- name: $steps-thin-marker-size
value: .8em
---
<section class="section">
<div class="container">
<h1 class="title">Installation</h1>
<p>
An extension for the <a href="http://bulma.io">Bulma CSS framework</a>. See the <a href="https://github.com/octoshrimpy/bulma-o-steps">Readme on Github</a> for installation instructions.
</p>
<hr>
{%
include meta.html
colors=true
sizes=true
variables=true
%}
{% include anchor.html name="Documentation" %}
<div class="content">
<p>
The <code>steps</code> list is useful for tracking progress in multi steps forms or wizards.
</p>
<p>
You can use the <code>is-active</code> modifier to set the current active step. Any step before or after the active step will be styled differently.
</p>
</div>
{% capture steps_example %}
<ul class="steps">
<li class="steps-segment">
<a href="#" class="steps-marker"></a>
</li>
<li class="steps-segment">
<a href="#" class="steps-marker"></a>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_example}}
{% endhighlight %}
</div>
</div>
{% include anchor.html name="Marker Content" %}
<div class="content">
<p>
You can display information inside markers. About 2 or 3 characters or an <code>icon</code> will fit.
</p>
</div>
{% capture steps_marker_content_example %}
<ul class="steps">
<li class="steps-segment">
<span class="steps-marker">1</span>
</li>
<li class="steps-segment">
<span class="steps-marker">xyz</span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker">-3-</span>
</li>
<li class="steps-segment">
<span class="steps-marker">★</span>
</li>
<li class="steps-segment">
<span class="steps-marker">
<span class="icon">
<i class="fa fa-check"></i>
</span>
</span>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_marker_content_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_marker_content_example}}
{% endhighlight %}
</div>
</div>
{% include anchor.html name="Step Content" %}
<div class="content">
<p>
Use the <code>steps-content</code> class to add content to a <code>steps-segment</code>.
</p>
<p>
If the last step also has content, use the <code>is-balanced</code> modifier on the root <code>steps</code> element, to make sure that the last step has the same width as the other steps.
</p>
</div>
{% capture steps_content_example %}
<ul class="steps is-balanced">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 1</p>
<p>This is the first step, which means you start here.</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 2</p>
<p>This is the second step. Once you complete the first step, you will end up here.</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 3</p>
<p>This is the third step. This is halfway between the start and the end.</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 4</p>
<p>The fourth step. Nearly there!</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 5</p>
<p>And finally the last step. You have successfully completed all 5 steps.</p>
</div>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_content_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_content_example}}
{% endhighlight %}
</div>
</div>
<div class="content">
<p>
Use the <code>has-content-centered</code> class to align the content directly underneath the marker.
</p>
<p>
You can omit the <code>is-balanced</code> modifier, since <code>has-content-centered</code> will make sure the steps are always balanced.
</p>
</div>
{% capture steps_centered_content_example %}
<ul class="steps has-content-centered">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 1</p>
<p>This is the first step, which means you start here.</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 2</p>
<p>This is the second step. Once you complete the first step, you will end up here.</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 3</p>
<p>This is the third step. This is halfway between the start and the end.</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 4</p>
<p>The fourth step. Nearly there!</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 5</p>
<p>And finally the last step. You have successfully completed all 5 steps.</p>
</div>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_centered_content_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_centered_content_example}}
{% endhighlight %}
</div>
</div>
<div class="content">
<p>
Use the <code>is-divider-content</code> modifier to align content with the divider.
</p>
<p>
If the last step has no content, omit the <code>is-balanced</code> modifier on the root element to make sure the last step stays flush with the right edge.
</p>
</div>
{% capture steps_divider_content_example %}
<ul class="steps">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Action 1</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Action 2</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Action 3</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Action 4</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_divider_content_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_divider_content_example}}
{% endhighlight %}
</div>
</div>
<div class="content">
<p>
Use <code>has-content-above</code> modifier to move the steps above the marker.
</p>
</div>
{% capture steps_content_above_example %}
<ul class="steps is-balanced has-content-above">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 1</p>
<p>This is the first step, which means you start here.</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 2</p>
<p>This is the second step. Once you complete the first step, you will end up here.</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 3</p>
<p>This is the third step. This is halfway between the start and the end.</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 4</p>
<p>The fourth step. Nearly there!</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 5</p>
<p>And finally the last step. You have successfully completed all 5 steps.</p>
</div>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_content_above_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_content_above_example}}
{% endhighlight %}
</div>
</div>
<div class="content">
<p>
<code>has-content-above</code> also works with <code>is-divider-content</code>
</p>
</div>
{% capture steps_content_above_divider_example %}
<ul class="steps has-content-above">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Step 1</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Step 2</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Step 3</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Step 4</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content is-divider-content">
<p class="is-size-4">Step 5</p>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_content_above_divider_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_content_above_divider_example}}
{% endhighlight %}
</div>
</div>
<div class="content">
<p>
Add a sibling to <code>.steps-content</code> with the class of <code>.extra-data</code> to create between-steps data.
It works with <code>.has-content-above</code> as well.
</p>
<p>Be aware that it is floating and therefore does not occupy space within the DOM. Add margins above and below as needed.</p>
</div>
{% capture steps_extra_data_example %}
<div class="columns">
<div class="column">
<ul class="steps has-content-centered">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 1</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 2</p>
</div>
<div class="extra-data">Hello, there.</div>
</li>
<li class="steps-segment ">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 3</p>
</div>
</li>
</ul>
</div>
<div class="column">
<ul class="steps has-content-centered has-content-above">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 1</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 2</p>
</div>
<div class="extra-data">General Kenobi!</div>
</li>
<li class="steps-segment ">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 3</p>
</div>
</li>
</ul>
</div>
</div>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_extra_data_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_extra_data_example}}
{% endhighlight %}
</div>
</div>
<div class="content">
<p>
Use <code>.has-overflow-left</code> or <code>.has-overflow-right</code> to allow extra data to overflow. By default, it will center and text-wrap for you.
</p>
</div>
{% capture steps_extra_data_overflow_example %}
<div class="columns">
<div class="column">
<ul class="steps has-content-centered">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 1</p>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 2</p>
</div>
<div class="extra-data has-overflow-left">
<span>This snippet overflows from step 3, and stays right-aligned.</span>
</div>
</li>
<li class="steps-segment ">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 3</p>
</div>
</li>
</ul>
</div>
<div class="column">
<ul class="steps has-content-centered">
<li class="steps-segment">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 1</p>
</div>
<div class="extra-data has-overflow-right">
<span>This one overflows from step 1 in the opposite direction.</span>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 2</p>
</div>
</li>
<li class="steps-segment ">
<span class="steps-marker"></span>
<div class="steps-content">
<p class="is-size-4">Step 3</p>
</div>
</li>
</ul>
</div>
</div>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_extra_data_overflow_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_extra_data_overflow_example}}
{% endhighlight %}
</div>
</div>
{% include anchor.html name="Colors" %}
<div class="content">
<p>
Every marker can have a different color. This can be used to indicate steps with errors, for example.
</p>
</div>
{% capture steps_marker_colors1_example %}
<ul class="steps has-content-centered">
<li class="steps-segment">
<span class="steps-marker is-white">1</span>
<div class="steps-content">
<code>is-white</code>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker is-light">2</span>
<div class="steps-content">
<code>is-light</code>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker is-dark">3</span>
<div class="steps-content">
<code>is-dark</code>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker is-black">4</span>
<div class="steps-content">
<code>is-black</code>
</div>
</li>
</ul>
{% endcapture %}
{% capture steps_marker_colors2_example %}
<ul class="steps has-content-centered">
<li class="steps-segment">
<span class="steps-marker is-primary">1</span>
<div class="steps-content">
<code>is-primary</code>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker is-info">2</span>
<div class="steps-content">
<code>is-info</code>
</div>
</li>
<li class="steps-segment is-active">
<span class="steps-marker is-success">3</span>
<div class="steps-content">
<code>is-success</code>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker is-warning">4</span>
<div class="steps-content">
<code>is-warning</code>
</div>
</li>
<li class="steps-segment">
<span class="steps-marker is-danger">5</span>
<div class="steps-content">
<code>is-danger</code>
</div>
</li>
</ul>
{% endcapture %}
<div class="columns">
<div class="column">
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_marker_colors1_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_marker_colors1_example}}
{% endhighlight %}
</div>
</div>
</div>
<div class="column">
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_marker_colors2_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_marker_colors2_example}}
{% endhighlight %}
</div>
</div>
</div>
</div>
{% include anchor.html name="Sizes" %}
<div class="content">
<p>
You can use the <code>is-small</code>, <code>is-medium</code> or <code>is-large</code> modifiers to change the size.
</p>
</div>
{% capture steps_sizes_example %}
<ul class="steps is-small">
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
<ul class="steps">
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
<ul class="steps is-medium">
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
<ul class="steps is-large">
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
{% capture steps_sizes_short_example %}
<ul class="steps is-small">...</ul>
<ul class="steps">...</ul>
<ul class="steps is-medium">...</ul>
<ul class="steps is-large">...</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_sizes_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_sizes_short_example}}
{% endhighlight %}
</div>
</div>
<div class="content">
<p>
Or if you want to go really small, use the <code>is-thin</code> modifier to have 1px wide
dividers. The markers will also be made smaller, so you can't put anything inside them
anymore.
</p>
</div>
{% capture steps_thin_example %}
<ul class="steps is-thin">
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_thin_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_thin_example}}
{% endhighlight %}
</div>
</div>
{% include anchor.html name="Narrow" %}
<div class="content">
<p>
By default, the <code>steps</code> component will take up the entire width. Add the <code>is-narrow</code> modifier to only take up as much space as needed.
</p>
<p>
You can combine that with the <code>is-centered</code> or <code>is-right</code> modifiers to change the alignment.
</p>
</div>
{% capture steps_narrow_example %}
<ul class="steps is-narrow">
<li class="steps-segment">
<span href="#" class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
<ul class="steps is-narrow is-centered">
<li class="steps-segment">
<span href="#" class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
<ul class="steps is-narrow is-right">
<li class="steps-segment">
<span href="#" class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_narrow_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_narrow_example}}
{% endhighlight %}
</div>
</div>
{% include anchor.html name="Short" %}
<div class="content">
<p>
By default, the <code>steps</code> component with <code>is-vertical</code> modifier will take up the entire height. Add the <code>is-short</code> modifier to only take up as much space as needed.
</p>
<p>
You can combine that with the <code>is-centered</code> or <code>is-right</code> modifiers to change the alignment.
</p>
</div>
{% capture steps_is-short_example %}
<ul class="steps is-vertical is-short">
<li class="steps-segment">
<span href="#" class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
<ul class="steps is-vertical is-short is-centered">
<li class="steps-segment">
<span href="#" class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
<ul class="steps is-vertical is-short is-bottom">
<li class="steps-segment">
<span href="#" class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
<div class="bd-snippet bd-is-vertical">
<div class="bd-snippet-preview">
{{steps_is-short_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_is-short_example}}
{% endhighlight %}
</div>
</div>
{% include anchor.html name="Marker Style" %}
<div class="content">
<p>
The marker can be styled using the <code>is-hollow</code> modifier. It can apply to all steps by defining it on the root <code>steps</code> element or each marker separately.
</p>
</div>
{% capture steps_hollow_example %}
<ul class="steps is-hollow">
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker"></span>
</li>
</ul>
{% endcapture %}
{% capture steps_hollow_mixed_example %}
<ul class="steps">
<li class="steps-segment">
<span class="steps-marker is-hollow"></span>
</li>
<li class="steps-segment is-active">
<span class="steps-marker"></span>
</li>
<li class="steps-segment">
<span class="steps-marker is-hollow"></span>
</li>
</ul>
{% endcapture %}
<div class="columns">
<div class="column">
<h4 class="title">For all steps</h4>
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_hollow_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_hollow_example}}
{% endhighlight %}
</div>
</div>
</div>
<div class="column">
<h4 class="title">Per step</h4>
<div class="bd-snippet">
<div class="bd-snippet-preview">
{{steps_hollow_mixed_example}}
</div>
<div class="bd-snippet-code highlight-full">
{% highlight html %}
{{steps_hollow_mixed_example}}
{% endhighlight %}
</div>