Repository navigation
Expand file tree
/
Copy pathbuttons.html
More file actions
178 lines (175 loc) · 7.91 KB
/
Copy pathbuttons.html
File metadata and controls
178 lines (175 loc) · 7.91 KB
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
<article class="component active" id="buttons">
<h2 class="component-title">按钮</h2>
<p class="component-description">按钮</p>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<h1 class='title'>按钮</h1>
</header>
<div class="content">
<div class="content-block">
<p><a href="#" class="button">Usual Button 1</a></p>
<p><a href="#" class="button button-light">light button</a></p>
<p><a href="#" class="button button-dark">dark button</a></p>
<p><a href="#" class="button button-success">success button</a></p>
<p><a href="#" class="button button-danger">danger button</a></p>
<p><a href="#" class="button button-warning">warning button</a></p>
<p><a href="#" class="button disabled">disabled button</a></p>
</div>
<div class="content-block">
<p><a href="#" class="button button-round">Round Button 1</a></p>
</div>
<div class="content-block">
<p><a href="#" class="button button-big">Big Button </a></p>
<p><a href="#" class="button button-big button-round">Big Round Button </a></p>
</div>
</div>
</div>
{% highlight html %}
<header class="bar bar-nav">
<h1 class='title'>按钮</h1>
</header>
<div class="content">
<div class="content-block">
<p><a href="#" class="button">Usual Button 1</a></p>
<p><a href="#" class="button button-light">light button</a></p>
<p><a href="#" class="button button-dark">dark button</a></p>
<p><a href="#" class="button button-success">success button</a></p>
<p><a href="#" class="button button-danger">danger button</a></p>
<p><a href="#" class="button button-warning">warning button</a></p>
<p><a href="#" class="button disabled">disabled button</a></p>
</div>
<div class="content-block">
<p><a href="#" class="button button-round">Round Button 1</a></p>
</div>
<div class="content-block">
<p><a href="#" class="button button-big">Big Button </a></p>
<p><a href="#" class="button button-big button-round">Big Round Button </a></p>
</div>
</div>
{% endhighlight %}
</article>
<article class="component active">
<h3 class="component-title">按钮组</h3>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<h1 class='title'>按钮组</h1>
</header>
<div class="content">
<div class="content-block">
<p class="buttons-row"><a href="#" class="button">Button 1</a><a href="#" class="button">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button active">Button 1</a><a href="#" class="button">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button">Button 1</a><a href="#" class="button active">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button button-round">Button 1</a><a href="#" class="button button-round">Button 2</a></p>
<p class="buttons-row"><a href="#" class="button button-round">Button 1</a><a href="#" class="button button-round active">Button 2</a></p>
</div>
</div>
</div>
{% highlight html %}
<header class="bar bar-nav">
<h1 class='title'>按钮组</h1>
</header>
<div class="content">
<div class="content-block">
<p class="buttons-row"><a href="#" class="button">Button 1</a><a href="#" class="button">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button active">Button 1</a><a href="#" class="button">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button">Button 1</a><a href="#" class="button active">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button button-round">Button 1</a><a href="#" class="button button-round">Button 2</a></p>
<p class="buttons-row"><a href="#" class="button button-round">Button 1</a><a href="#" class="button button-round active">Button 2</a></p>
</div>
</div>
{% endhighlight %}
</article>
<article class="component active">
<h3 class="component-title">填充按钮</h3>
<p class="component-description">填充按钮</p>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<h1 class='title'>填充按钮</h1>
</header>
<div class="content">
<div class="content-block">
<p><a href="#" class="button button-fill">Fill Button </a></p>
<p><a href="#" class="button button-fill button-success">Fill Button </a></p>
<p><a href="#" class="button button-fill button-danger">Fill Button </a></p>
<p><a href="#" class="button button-fill button-warning">Fill Button </a></p>
</div>
</div>
</div>
{% highlight html %}
<header class="bar bar-nav">
<h1 class='title'>填充按钮</h1>
</header>
<div class="content">
<div class="content-block">
<p><a href="#" class="button button-fill">Fill Button </a></p>
<p><a href="#" class="button button-fill button-success">Fill Button </a></p>
<p><a href="#" class="button button-fill button-danger">Fill Button </a></p>
<p><a href="#" class="button button-fill button-warning">Fill Button </a></p>
</div>
</div>
{% endhighlight %}
</article>
<article class="component active">
<h3 class="component-title">使用列表和栅格</h3>
<p class="component-description">使用列表和栅格来进行按钮布局</p>
<div class="component-example component-example-fullbleed">
<header class="bar bar-nav">
<h1 class='title'>列表和栅格布局按钮</h1>
</header>
<div class="content">
<div class="content-block-title">List block buttons</div>
<div class="list-block">
<ul>
<li><a href="#" class="item-link list-button">List Button 1</a></li>
<li><a href="#" class="item-link list-button">List Button 2</a></li>
<li><a href="#" class="item-link list-button">List Button 3</a></li>
</ul>
</div>
<div class="content-block-title">Inset list block buttons</div>
<div class="list-block inset">
<ul>
<li><a href="#" class="item-link list-button">List Button 1</a></li>
<li><a href="#" class="item-link list-button">List Button 2</a></li>
<li><a href="#" class="item-link list-button">List Button 3</a></li>
</ul>
</div>
<div class="content-block-title">Using Grid</div>
<div class="content-block">
<div class="row">
<div class="col-50"><a href="#" class="button button-big button-fill button-danger">Cancel</a></div>
<div class="col-50"><a href="#" class="button button-big button-fill button-success">Submit</a></div>
</div>
</div>
</div>
</div>
{% highlight html %}
<header class="bar bar-nav">
<h1 class='title'>列表和栅格布局按钮</h1>
</header>
<div class="content">
<div class="content-block-title">List block buttons</div>
<div class="list-block">
<ul>
<li><a href="#" class="item-link list-button">List Button 1</a></li>
<li><a href="#" class="item-link list-button">List Button 2</a></li>
<li><a href="#" class="item-link list-button">List Button 3</a></li>
</ul>
</div>
<div class="content-block-title">Inset list block buttons</div>
<div class="list-block inset">
<ul>
<li><a href="#" class="item-link list-button">List Button 1</a></li>
<li><a href="#" class="item-link list-button">List Button 2</a></li>
<li><a href="#" class="item-link list-button">List Button 3</a></li>
</ul>
</div>
<div class="content-block-title">Using Grid</div>
<div class="content-block">
<div class="row">
<div class="col-50"><a href="#" class="button button-big button-fill button-danger">Cancel</a></div>
<div class="col-50"><a href="#" class="button button-big button-fill button-success">Submit</a></div>
</div>
</div>
</div>
{% endhighlight %}
</article>