沈斌
2017-12-15 f9b157566af34b8dc28ba10b34d025ac04f3168b
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
<div class="content__title">
    <h1>
        Typography
    </h1>
</div>
<div nz-row [nzGutter]="16">
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Headings">
            <h1 class="h1">
                Heading 1
                <small>Sub-heading</small>
            </h1>
            <h2 class="h2">
                Heading 2
                <small>Sub-heading</small>
            </h2>
            <h3 class="h3">
                Heading 3
                <small>Sub-heading</small>
            </h3>
            <h4 class="h4">
                Heading 4
                <small>Sub-heading</small>
            </h4>
            <h5 class="h5">
                Heading 5
                <small>Sub-heading</small>
            </h5>
            <h6 class="h6">
                Heading 6
                <small>Sub-heading</small>
            </h6>
        </nz-card>
    </div>
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Paragraphs">
            <p>
                <small>This is an example of small, fine print text.</small>
            </p>
            <p class="mt-sm">
                <strong>This is an example of strong, bold text.</strong>
            </p>
            <p class="mt-sm">
                <em>This is an example of emphasized, italic text.</em>
            </p>
            <h4 class="mt-sm">Alignment & Sizing Helpers</h4>
            <p class="mt-sm text-left text-sm">Left aligned text.</p>
            <p class="mt-sm text-center text-md">Center aligned text.</p>
            <p class="text-right text-lg">Right aligned text.</p>
        </nz-card>
    </div>
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Text Colors">
            <p *ngFor="let color of colors" class="pt-sm text-{{color}}">This is an example of {{color}} text.</p>
        </nz-card>
    </div>
</div>
<div nz-row [nzGutter]="16">
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Formatting">
            <h4>text-nowrap</h4>
            <p class="pt-sm text-nowrap">Ad eiusmod eu velit veniam laborum voluptate duis aliqua esse eiusmod ut labore deserunt. Minim cillum ullamco sit do dolor non adipisicing nulla dolore id minim sint. Commodo occaecat eu laboris ut do irure amet nulla dolor ex do anim quis dolor. Pariatur est deserunt esse anim commodo fugiat esse sit. Aliquip ipsum velit Lorem elit excepteur laboris in aute dolor.</p>
            <h4 class="pt-sm">text-truncate</h4>
            <p class="pt-sm text-truncate">Officia nulla velit minim mollit laborum et irure ullamco nisi dolore qui. Sint aute aliqua tempor commodo officia sunt non do id laborum mollit ex ea cupidatat. Amet ad non fugiat magna. Ut cupidatat labore pariatur esse reprehenderit esse sint in proident elit minim sunt enim sit. Enim sint deserunt exercitation duis. Aliquip cillum irure do incididunt do eu eiusmod excepteur culpa ex consectetur nulla duis sit. Ex officia excepteur officia ea ea cupidatat veniam officia officia est.</p>
            <h4 class="pt-sm">Transformation</h4>
            <p class="pt-sm text-lowercase">text-lowercase</p>
            <p class="pt-sm text-uppercase">text-uppercase</p>
            <p class="pt-sm text-capitalize">text-capitalize</p>
            <p class="pt-sm text-deleted">text-deleted</p>
        </nz-card>
    </div>
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Border">
            <div class="p-sm m-sm text-center width-sm d-inline-block border border-primary">border-primary</div>
            <div class="p-sm m-sm text-center width-sm d-inline-block border-top-1 border-success rounded-circle">border-success</div>
            <div class="p-sm m-sm text-center width-sm d-inline-block border-bottom-1 border-error">border-error</div>
            <div class="p-sm m-sm text-center width-md d-inline-block border-right-1 border-warning">border-warning</div>
        </nz-card>
    </div>
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Lists">
            <h4>list styled</h4>
            <ol class="mt-sm list-styled">
                <li>List Item</li>
                <li>List Item</li>
                <li>List Item</li>
            </ol>
            <h4 class="mt-sm">Unstyled List</h4>
            <ul class="mt-sm list-unstyled">
                <li>List Item</li>
                <li>List Item</li>
                <li>List Item</li>
            </ul>
        </nz-card>
    </div>
</div>
<div nz-row [nzGutter]="16">
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Display">
            <p class="display-1">.display-1</p>
            <p class="display-2">.display-2</p>
            <p class="display-3">.display-3</p>
        </nz-card>
    </div>
    <div nz-col [nzMd]="8">
        <nz-card nzTitle="Code">
            <p>This is an example of an inline code element within body copy. Wrap inline code within a<code>...</code>tag.</p>
            <pre class="mt-sm"><code>This is an example of preformatted text.</code></pre>
        </nz-card>
    </div>
</div>