forked from olton/Metro-UI-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buttons.html
235 lines (215 loc) · 10.3 KB
/
buttons.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="description" content="Metro UI CSS - это набор стилей для создания сайтов с интерфейсом, похожим на Windows 8 Metro UI. Набор стилей разрабатывается как дополнение к любому другому CSS фрейм ворку, например можно использовать в качестве основного twitter bootstrap, а Metro UI CSS как дополнение для посторения частей интерфейса" />
<meta data-annotation="Metro UI CSS - это набор стилей для создания сайтов с интерфейсом, похожим на Windows 8 Metro UI. Набор стилей разрабатывается как дополнение к любому другому CSS фрейм ворку, например можно использовать в качестве основного twitter bootstrap, а Metro UI CSS как дополнение для посторения частей интерфейса" />
<meta name="author" content="Сергей Пименов (ака olton)" />
<meta name="copyright" content="2012, Сергей Пименов" />
<meta name="license" content="Licensed under MIT License" />
<title>Metro UI CSS Framework Demo</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<!--<link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.min.css">-->
<link rel="stylesheet" type="text/css" href="css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="css/prettify.css">
<link rel="stylesheet" type="text/css" href="css/metro.css">
<link rel="stylesheet" type="text/css" href="css/site.css">
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="js/jquery.scrollTo.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/prettify.js"></script>
<script type="text/javascript" src="js/metro.js"></script>
<script type="text/javascript" src="js/site.js"></script>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="js/google-analytics.js"></script>
<style type="text/css">
body {
background: #004050;
/* background: #fff;*/
}
.metro {
width: 940px;
overflow: hidden;
}
.start {
}
.demo-scene {
width: 100%;
float: left;
margin-right: 30px;
border-bottom: 1px #fff dashed;
padding-bottom: 20px;
color: #fff;
}
td {
vertical-align: middle;
color: #000;
}
.column {
width: 270px;
float: left;
}
</style>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="pull-left" style="margin-top: 7px; margin-right: 5px;" href="/">
<img src="img/avatar474_2.gif" style="max-height: 16px;"/>
</a>
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/">Metro UI CSS</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="/">Main</a></li>
<li><a href="./tiles.html">Tiles</a></li>
<li><a href="./tiles-1.html">Tiles 1</a></li>
<li><a href="./images.html">Images</a></li>
<li><a href="./notices.html">Notices</a></li>
<li class="active"><a href="./buttons.html">Buttons</a></li>
<li><a href="./forms.html">Form</a></li>
<li><a href="./typography.html">Typography</a></li>
<li><a href="./bonus.html">Bonus</a></li>
<li><a href="#" onclick="switchTheme()">Switch Theme</a></li>
</ul>
<ul class="nav pull-right">
<li><a href="https://github.com/olton/Metro-UI-CSS"><i class="icon-github-sign"></i>Github</a></li>
<li><a href="https://github.com/olton/Metro-UI-CSS/zipball/master"><i class="icon-download"></i>Download</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container metro">
<div class="row">
<div class="span6">
<h1 class="start">Кнопки</h1>
<h3>Button (.metro-button)</h3>
<table width="100%">
<tr>
<td width="90"><a class="metro-button" href="#">Button</a></td>
<td>class='metro-button'</td>
</tr>
<tr>
<td><a class="metro-button default" href="#">Button</a></td>
<td>class='metro-button default'</td>
</tr>
<tr>
<td><a class="metro-button disabled" href="#">Button</a></td>
<td>class='metro-button disabled'</td>
</tr>
<tr>
<td><button class="metro-button" disabled>Button</button></td>
<td>tag='button' class='metro-button' with attr <b>disabled</b></td>
</tr>
</table>
</div>
<div class="span6">
<h3>Command Button (.metro-command-button)</h3>
<a class="metro-command-button" href="#">
<span class="title">Yes, share and connect</span>
<span class="subtitle">Use this option for home or work</span>
</a>
<button class="metro-command-button default">
<span class="title">Yes, share and connect</span>
<span class="subtitle">Use this option for home or work</span>
</button>
<button class="metro-command-button disabled">
<span class="title">Yes, share and connect</span>
<span class="subtitle">Use this option for home or work</span>
</button>
<button class="metro-command-button default" disabled>
<span class="title">Yes, share and connect</span>
<span class="subtitle">Use this option for home or work</span>
</button>
</div>
</div>
<br />
<br />
<div class="row">
<div class="span4">
<h2>Radio Button</h2><br />
<form class="metro-form">
<label class="metro-radio">
<input type="radio" name="rb" checked>
<span>Checked</span>
</label>
<label class="metro-radio">
<input type="radio" name="rb">
<span>Unchecked</span>
</label>
<label class="metro-radio">
<input type="radio" name="rb" disabled>
<span>Disabled</span>
</label>
<label class="metro-radio">
<input type="radio" name="rb2" checked disabled>
<span>Disabled Checked</span>
</label>
</form>
</div>
<div class="span4">
<h2>Checkbox Button</h2><br />
<form class="metro-form">
<label class="metro-check">
<input type="checkbox" name="cb1" checked>
<span>Checked</span>
</label>
<label class="metro-check">
<input type="checkbox" name="cb2">
<span>Unchecked</span>
</label>
<label class="metro-check">
<input type="checkbox" name="cb3" disabled>
<span>Disabled</span>
</label>
<label class="metro-check">
<input type="checkbox" name="cb4" checked disabled>
<span>Disabled Checked</span>
</label>
</form>
</div>
<div class="span4">
<h2>Toggle Switch</h2><br />
<form class="metro-form">
<label class="metro-switch">
<input type="checkbox" name="sw1" checked>
<span>On</span>
</label>
<label class="metro-switch">
<input type="checkbox" name="sw2">
<span>Off</span>
</label>
<label class="metro-switch">
<input type="checkbox" name="sw3" disabled>
<span>Disabled Off</span>
</label>
<label class="metro-switch">
<input type="checkbox" name="sw4" checked disabled>
<span>Disabled On</span>
</label>
</form>
<br />
</div>
</div>
<footer class="footer">
<p class="pull-right"><a href="#">Наверх</a></p>
<p>© 2012 Сергей Пименов. Киев, Украина.</p>
<p>Лицензия: MIT License</p>
</footer>
</div>
<script type="text/javascript">
$(".metro").metro();
</script>
</body>
</html>