summaryrefslogtreecommitdiffstats
path: root/tpl/views/divider.pug
blob: 9d0b2cbae90544db9b13607e7011bbc5484142a3 (plain) (blame)
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
mixin view-divider 
    +view('divider', 'Divider')
        .c-box
            +div-heading('lg')= 'Heading'
            +divider('strong')
            p= loremIpsum

        .c-box
            +div-heading('sm')= 'Heading'
            +divider('medium')
            p= loremIpsum

        .c-box
            +div-heading('xs')= 'Heading'
            +divider('faint')
            p= loremIpsum

        .c-box
            +divider('strong')= 'Strong'
            +divider('medium')= 'Medium'
            +divider('faint')= 'Faint'

        .c-box
            +divider('strong')(color='blue')= 'Strong'
            +divider('medium')(color='blue')= 'Medium'
            +divider('faint')(color='blue')= 'Faint'

        .c-box
            +divider('strong')(color='purple')= 'Strong'
            +divider('medium')(color='purple')= 'Medium'
            +divider('faint')(color='purple')= 'Faint'

        .c-box
            +divider('strong')(color='red')= 'Strong'
            +divider('medium')(color='red')= 'Medium'
            +divider('faint')(color='red')= 'Faint'

        .c-box
            +divider('strong')(color='green')= 'Strong'
            +divider('medium')(color='green')= 'Medium'
            +divider('faint')(color='green')= 'Faint'

        .c-box
            +divider('strong')(color='yellow')= 'Strong'
            +divider('medium')(color='yellow')= 'Medium'
            +divider('faint')(color='yellow')= 'Faint'