survivalkit 1.0.beta.11 → 1.0.beta.12
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +4 -0
- data/lib/survivalkit.rb +2 -2
- data/stylesheets/survivalkit/fonts/_all.scss +2 -0
- data/stylesheets/survivalkit/fonts/_ss-social.scss +136 -0
- data/stylesheets/survivalkit/fonts/_ss-standard.scss +426 -0
- data/stylesheets/survivalkit/reset/_reset.scss +4 -0
- data/templates/clean/manifest.rb +0 -2
- data/templates/drupal/manifest.rb +0 -2
- data/templates/project/manifest.rb +44 -46
- data/templates/project/sources/FitVids/README.md +49 -0
- data/templates/project/sources/FitVids/jquery.fitvids.js +80 -0
- data/templates/project/sources/FitVids/tests.html +66 -0
- data/templates/project/sources/Geared-Scrolling/README.md +31 -0
- data/templates/project/sources/Geared-Scrolling/css/specific.css +88 -0
- data/templates/project/sources/Geared-Scrolling/images/col1.png +0 -0
- data/templates/project/sources/Geared-Scrolling/images/col2.png +0 -0
- data/templates/project/sources/Geared-Scrolling/images/col3.png +0 -0
- data/templates/project/sources/Geared-Scrolling/images/header.png +0 -0
- data/templates/project/sources/Geared-Scrolling/index.html +32 -0
- data/templates/project/sources/Geared-Scrolling/js/init.js +11 -0
- data/templates/project/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +283 -0
- data/templates/project/sources/Lettering.js/README.md +58 -0
- data/templates/project/sources/Lettering.js/examples/index.html +135 -0
- data/templates/project/sources/Lettering.js/examples/style.css +171 -0
- data/templates/project/sources/Lettering.js/jquery.lettering.js +66 -0
- data/templates/project/sources/Respond/README.md +100 -0
- data/templates/project/sources/Respond/cross-domain/example.html +24 -0
- data/templates/project/sources/Respond/cross-domain/respond-proxy.html +96 -0
- data/templates/project/sources/Respond/cross-domain/respond.proxy.gif +0 -0
- data/templates/project/sources/Respond/cross-domain/respond.proxy.js +127 -0
- data/templates/project/sources/Respond/respond.min.js +6 -0
- data/templates/project/sources/Respond/respond.src.js +326 -0
- data/templates/project/sources/Respond/test/test.css +80 -0
- data/templates/project/sources/Respond/test/test.html +20 -0
- data/templates/project/sources/Respond/test/test2.css +8 -0
- data/templates/project/sources/Respond/test/unit/index.html +29 -0
- data/templates/project/sources/Respond/test/unit/qunit/qunit.css +226 -0
- data/templates/project/sources/Respond/test/unit/qunit/qunit.js +1598 -0
- data/templates/project/sources/Respond/test/unit/test.css +73 -0
- data/templates/project/sources/Respond/test/unit/test2.css +5 -0
- data/templates/project/sources/Respond/test/unit/test3.css +5 -0
- data/templates/project/sources/Respond/test/unit/tests.js +144 -0
- data/templates/project/sources/box-sizing-polyfill/README.md +24 -0
- data/templates/project/sources/box-sizing-polyfill/boxsizing.htc +501 -0
- data/templates/project/sources/formalize/README.txt +26 -0
- data/templates/project/sources/formalize/assets/css/_formalize.sass +326 -0
- data/templates/project/sources/formalize/assets/css/demo.css +654 -0
- data/templates/project/sources/formalize/assets/css/formalize.css +368 -0
- data/templates/project/sources/formalize/assets/css/reset.css +211 -0
- data/templates/project/sources/formalize/assets/css/text.css +81 -0
- data/templates/project/sources/formalize/assets/images/button.png +0 -0
- data/templates/project/sources/formalize/assets/images/select_arrow.gif +0 -0
- data/templates/project/sources/formalize/assets/js/dojo.formalize.js +202 -0
- data/templates/project/sources/formalize/assets/js/dojo.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/extjs.formalize.js +192 -0
- data/templates/project/sources/formalize/assets/js/extjs.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/jquery.formalize.js +181 -0
- data/templates/project/sources/formalize/assets/js/jquery.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/mootools.formalize.js +193 -0
- data/templates/project/sources/formalize/assets/js/mootools.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/prototype.formalize.js +192 -0
- data/templates/project/sources/formalize/assets/js/prototype.formalize.min.js +1 -0
- data/templates/project/sources/formalize/assets/js/yui.formalize.js +183 -0
- data/templates/project/sources/formalize/assets/js/yui.formalize.min.js +1 -0
- data/templates/project/sources/formalize/demo.html +130 -0
- data/templates/project/sources/formalize/dojo_demo.html +215 -0
- data/templates/project/sources/formalize/dojo_disabled.html +215 -0
- data/templates/project/sources/formalize/dojo_errors.html +215 -0
- data/templates/project/sources/formalize/extjs_demo.html +215 -0
- data/templates/project/sources/formalize/extjs_disabled.html +215 -0
- data/templates/project/sources/formalize/extjs_errors.html +215 -0
- data/templates/project/sources/formalize/jquery_demo.html +215 -0
- data/templates/project/sources/formalize/jquery_disabled.html +215 -0
- data/templates/project/sources/formalize/jquery_errors.html +215 -0
- data/templates/project/sources/formalize/mootools_demo.html +215 -0
- data/templates/project/sources/formalize/mootools_disabled.html +215 -0
- data/templates/project/sources/formalize/mootools_errors.html +215 -0
- data/templates/project/sources/formalize/prototype_demo.html +215 -0
- data/templates/project/sources/formalize/prototype_disabled.html +215 -0
- data/templates/project/sources/formalize/prototype_errors.html +215 -0
- data/templates/project/sources/formalize/unstyled.html +210 -0
- data/templates/project/sources/formalize/yui_demo.html +223 -0
- data/templates/project/sources/formalize/yui_disabled.html +223 -0
- data/templates/project/sources/formalize/yui_errors.html +223 -0
- data/templates/project/sources/iOS-Orientationchange-Fix/README.md +16 -0
- data/templates/project/sources/iOS-Orientationchange-Fix/demo.html +43 -0
- data/templates/project/sources/iOS-Orientationchange-Fix/ios-orientationchange-fix.js +56 -0
- data/templates/project/sources/jQuery-widowFix/index.html +159 -0
- data/templates/project/sources/jQuery-widowFix/js/jquery-1.4.3.min.js +166 -0
- data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.js +135 -0
- data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.min.js +10 -0
- data/templates/project/sources/jQuery-widowFix/sample.html +84 -0
- data/templates/project/sources/jquery-html5-placeholder-shim/jquery.html5-placeholder-shim.js +96 -0
- data/templates/project/sources/jquery-html5-placeholder-shim/readme.md +22 -0
- data/templates/project/sources/jquery-html5-placeholder-shim/test.html +103 -0
- data/templates/project/sources/ss-social/ss-social.js +78 -0
- data/templates/project/sources/ss-standard/ss-standard.js +78 -0
- data/templates/shared/partials/01-variables/_colors.scss +2 -6
- data/templates/shared/partials/01-variables/_fonts.scss +49 -2
- data/templates/shared/partials/01-variables/_settings.scss +48 -13
- data/templates/shared/partials/04-base/_all.scss +0 -2
- data/templates/shared/partials/04-base/_common.scss +0 -4
- data/templates/shared/partials/05-layout/_grids-susy.scss +4 -4
- data/templates/shared/style.scss +9 -9
- metadata +93 -5
- data/templates/shared/partials/04-base/_edits.scss +0 -8
- data/templates/shared/partials/04-base/_font-face.scss +0 -14
@@ -0,0 +1,223 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<title>Formalize CSS</title>
|
6
|
+
<link rel="stylesheet" href="assets/css/demo.css" />
|
7
|
+
<script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
|
8
|
+
<script src="assets/js/yui.formalize.js"></script>
|
9
|
+
<script>
|
10
|
+
// Fire it off!
|
11
|
+
YUI().use('formalize', function(Y) {
|
12
|
+
Y.on('domready', function() {
|
13
|
+
Y.formalize.go();
|
14
|
+
});
|
15
|
+
});
|
16
|
+
</script>
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="wrapper">
|
20
|
+
<h1>
|
21
|
+
Example of all form elements
|
22
|
+
</h1>
|
23
|
+
<form action="#" method="post" enctype="multipart/form-data" onsubmit="return false">
|
24
|
+
<p>
|
25
|
+
<input type="checkbox" id="test_checkbox_1" name="test_checkbox_1" />
|
26
|
+
<label for="test_checkbox_1">
|
27
|
+
Test checkbox 1
|
28
|
+
</label>
|
29
|
+
|
30
|
+
|
31
|
+
<input type="checkbox" id="test_checkbox_2" name="test_checkbox_2" />
|
32
|
+
<label for="test_checkbox_2">
|
33
|
+
Test checkbox 2
|
34
|
+
</label>
|
35
|
+
|
36
|
+
|
37
|
+
<input type="checkbox" id="test_checkbox_3" name="test_checkbox_3" />
|
38
|
+
<label for="test_checkbox_3">
|
39
|
+
Test checkbox 3
|
40
|
+
</label>
|
41
|
+
</p>
|
42
|
+
<p>
|
43
|
+
<input type="radio" id="test_radio_1" name="test_radio_group" />
|
44
|
+
<label for="test_radio_1">
|
45
|
+
Test radio 1
|
46
|
+
</label>
|
47
|
+
|
48
|
+
|
49
|
+
<input type="radio" id="test_radio_2" name="test_radio_group" />
|
50
|
+
<label for="test_radio_2">
|
51
|
+
Test radio 2
|
52
|
+
</label>
|
53
|
+
|
54
|
+
|
55
|
+
<input type="radio" id="test_radio_3" name="test_radio_group" />
|
56
|
+
<label for="test_radio_3">
|
57
|
+
Test radio 3
|
58
|
+
</label>
|
59
|
+
</p>
|
60
|
+
<p>
|
61
|
+
<label for="select_dd">
|
62
|
+
Select drop-down
|
63
|
+
</label>
|
64
|
+
<br />
|
65
|
+
<select id="select_dd" name="select_dd">
|
66
|
+
<optgroup label="Group 1">
|
67
|
+
<option value="1">Some text goes here</option>
|
68
|
+
<option value="2">Another choice could be here</option>
|
69
|
+
<option value="3">Yet another item to be chosen</option>
|
70
|
+
</optgroup>
|
71
|
+
<optgroup label="Group 2">
|
72
|
+
<option value="4">Some text goes here</option>
|
73
|
+
<option value="5">Another choice could be here</option>
|
74
|
+
<option value="6">Yet another item to be chosen</option>
|
75
|
+
</optgroup>
|
76
|
+
<optgroup label="Group 3">
|
77
|
+
<option value="7">Some text goes here</option>
|
78
|
+
<option value="8">Another choice could be here</option>
|
79
|
+
<option value="9">Yet another item to be chosen</option>
|
80
|
+
</optgroup>
|
81
|
+
</select>
|
82
|
+
<input type="text" id="text_inline" name="text_inline" />
|
83
|
+
<input type="button" value="Input Button" />
|
84
|
+
<button>Button Tag</button>
|
85
|
+
<a href="#" class="button">Link Button</a>
|
86
|
+
</p>
|
87
|
+
<p>
|
88
|
+
<label for="select_multi">
|
89
|
+
Select multiple
|
90
|
+
</label>
|
91
|
+
<br />
|
92
|
+
<select id="select_multi" name="select_multi" multiple="multiple" size="10">
|
93
|
+
<optgroup label="Group 1">
|
94
|
+
<option value="1">Some text goes here</option>
|
95
|
+
<option value="2">Another choice could be here</option>
|
96
|
+
<option value="3">Yet another item to be chosen</option>
|
97
|
+
</optgroup>
|
98
|
+
<optgroup label="Group 2">
|
99
|
+
<option value="4">Some text goes here</option>
|
100
|
+
<option value="5">Another choice could be here</option>
|
101
|
+
<option value="6">Yet another item to be chosen</option>
|
102
|
+
</optgroup>
|
103
|
+
<optgroup label="Group 3">
|
104
|
+
<option value="7">Some text goes here</option>
|
105
|
+
<option value="8">Another choice could be here</option>
|
106
|
+
<option value="9">Yet another item to be chosen</option>
|
107
|
+
</optgroup>
|
108
|
+
</select>
|
109
|
+
</p>
|
110
|
+
<p>
|
111
|
+
<label for="textarea">
|
112
|
+
Textarea
|
113
|
+
</label>
|
114
|
+
<br />
|
115
|
+
<textarea id="textarea" name="textarea" rows="5" placeholder="This is an example of HTML5 placeholder text."></textarea>
|
116
|
+
</p>
|
117
|
+
<table class="horiz">
|
118
|
+
<tr>
|
119
|
+
<td>
|
120
|
+
<label for="url">
|
121
|
+
URL + Autofocus
|
122
|
+
</label>
|
123
|
+
<br />
|
124
|
+
<input type="url" id="url" name="url" value="http://" autofocus="autofocus" />
|
125
|
+
</td>
|
126
|
+
<td>
|
127
|
+
<label for="email">
|
128
|
+
Email
|
129
|
+
</label>
|
130
|
+
<br />
|
131
|
+
<input type="email" id="email" name="email" placeholder="name@example.com" />
|
132
|
+
</td>
|
133
|
+
<td>
|
134
|
+
<label for="password">
|
135
|
+
Password
|
136
|
+
</label>
|
137
|
+
<br />
|
138
|
+
<input type="password" id="password" name="password" placeholder="Alphanumeric123!" />
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td>
|
143
|
+
<label for="datetime-local">
|
144
|
+
Datetime local
|
145
|
+
</label>
|
146
|
+
<br />
|
147
|
+
<input type="datetime-local" id="datetime-local" name="datetime-local" />
|
148
|
+
</td>
|
149
|
+
<td>
|
150
|
+
<label for="number">
|
151
|
+
Number
|
152
|
+
</label>
|
153
|
+
<br />
|
154
|
+
<input type="number" id="number" name="number" min="0" max="999" step="1" />
|
155
|
+
</td>
|
156
|
+
<td>
|
157
|
+
<label for="tel">
|
158
|
+
Tel (phone)
|
159
|
+
</label>
|
160
|
+
<br />
|
161
|
+
<input type="tel" id="tel" name="tel" />
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td>
|
166
|
+
<label for="datetime">
|
167
|
+
Datetime
|
168
|
+
</label>
|
169
|
+
<br />
|
170
|
+
<input type="datetime" id="datetime" name="datetime" />
|
171
|
+
</td>
|
172
|
+
<td>
|
173
|
+
<label for="date">
|
174
|
+
Date
|
175
|
+
</label>
|
176
|
+
<br />
|
177
|
+
<input type="date" id="date" name="date" />
|
178
|
+
</td>
|
179
|
+
<td>
|
180
|
+
<label for="month">
|
181
|
+
Month
|
182
|
+
</label>
|
183
|
+
<br />
|
184
|
+
<input type="month" id="month" name="month" />
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td>
|
189
|
+
<label for="search">
|
190
|
+
Search
|
191
|
+
</label>
|
192
|
+
<br />
|
193
|
+
<input type="search" id="search" name="search" />
|
194
|
+
</td>
|
195
|
+
<td>
|
196
|
+
<label for="range">
|
197
|
+
Range
|
198
|
+
</label>
|
199
|
+
<br />
|
200
|
+
<input type="range" id="range" name="range" />
|
201
|
+
</td>
|
202
|
+
<td>
|
203
|
+
<label for="file">
|
204
|
+
File upload
|
205
|
+
</label>
|
206
|
+
<br />
|
207
|
+
<input type="file" id="file" name="file" />
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
</table>
|
211
|
+
<p>
|
212
|
+
<input type="submit" value="Input - Submit" />
|
213
|
+
|
214
|
+
<input type="button" value="Input - Button" />
|
215
|
+
|
216
|
+
<input type="reset" value="Input - Reset" />
|
217
|
+
|
218
|
+
<button>Button tag</button>
|
219
|
+
</p>
|
220
|
+
</form>
|
221
|
+
</div>
|
222
|
+
</body>
|
223
|
+
</html>
|
@@ -0,0 +1,223 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<title>Formalize CSS</title>
|
6
|
+
<link rel="stylesheet" href="assets/css/demo.css" />
|
7
|
+
<script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
|
8
|
+
<script src="assets/js/yui.formalize.js"></script>
|
9
|
+
<script>
|
10
|
+
// Fire it off!
|
11
|
+
YUI().use('formalize', function(Y) {
|
12
|
+
Y.on('domready', function() {
|
13
|
+
Y.formalize.go();
|
14
|
+
});
|
15
|
+
});
|
16
|
+
</script>
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="wrapper">
|
20
|
+
<h1>
|
21
|
+
Example of all form elements
|
22
|
+
</h1>
|
23
|
+
<form action="#" method="post" enctype="multipart/form-data" onsubmit="return false">
|
24
|
+
<p>
|
25
|
+
<input disabled="disabled" type="checkbox" id="test_checkbox_1" name="test_checkbox_1" />
|
26
|
+
<label for="test_checkbox_1">
|
27
|
+
Test checkbox 1
|
28
|
+
</label>
|
29
|
+
|
30
|
+
|
31
|
+
<input disabled="disabled" type="checkbox" id="test_checkbox_2" name="test_checkbox_2" />
|
32
|
+
<label for="test_checkbox_2">
|
33
|
+
Test checkbox 2
|
34
|
+
</label>
|
35
|
+
|
36
|
+
|
37
|
+
<input disabled="disabled" type="checkbox" id="test_checkbox_3" name="test_checkbox_3" />
|
38
|
+
<label for="test_checkbox_3">
|
39
|
+
Test checkbox 3
|
40
|
+
</label>
|
41
|
+
</p>
|
42
|
+
<p>
|
43
|
+
<input disabled="disabled" type="radio" id="test_radio_1" name="test_radio_group" />
|
44
|
+
<label for="test_radio_1">
|
45
|
+
Test radio 1
|
46
|
+
</label>
|
47
|
+
|
48
|
+
|
49
|
+
<input disabled="disabled" type="radio" id="test_radio_2" name="test_radio_group" />
|
50
|
+
<label for="test_radio_2">
|
51
|
+
Test radio 2
|
52
|
+
</label>
|
53
|
+
|
54
|
+
|
55
|
+
<input disabled="disabled" type="radio" id="test_radio_3" name="test_radio_group" />
|
56
|
+
<label for="test_radio_3">
|
57
|
+
Test radio 3
|
58
|
+
</label>
|
59
|
+
</p>
|
60
|
+
<p>
|
61
|
+
<label for="select_dd">
|
62
|
+
Select drop-down
|
63
|
+
</label>
|
64
|
+
<br />
|
65
|
+
<select disabled="disabled" id="select_dd" name="select_dd">
|
66
|
+
<optgroup label="Group 1">
|
67
|
+
<option value="1">Some text goes here</option>
|
68
|
+
<option value="2">Another choice could be here</option>
|
69
|
+
<option value="3">Yet another item to be chosen</option>
|
70
|
+
</optgroup>
|
71
|
+
<optgroup label="Group 2">
|
72
|
+
<option value="4">Some text goes here</option>
|
73
|
+
<option value="5">Another choice could be here</option>
|
74
|
+
<option value="6">Yet another item to be chosen</option>
|
75
|
+
</optgroup>
|
76
|
+
<optgroup label="Group 3">
|
77
|
+
<option value="7">Some text goes here</option>
|
78
|
+
<option value="8">Another choice could be here</option>
|
79
|
+
<option value="9">Yet another item to be chosen</option>
|
80
|
+
</optgroup>
|
81
|
+
</select>
|
82
|
+
<input disabled="disabled" type="text" id="text_inline" name="text_inline" />
|
83
|
+
<input disabled="disabled" type="button" value="Input Button" />
|
84
|
+
<button disabled="disabled">Button Tag</button>
|
85
|
+
<a href="#" class="button button_disabled">Link Button</a>
|
86
|
+
</p>
|
87
|
+
<p>
|
88
|
+
<label for="select_multi">
|
89
|
+
Select multiple
|
90
|
+
</label>
|
91
|
+
<br />
|
92
|
+
<select disabled="disabled" id="select_multi" name="select_multi" multiple="multiple" size="10">
|
93
|
+
<optgroup label="Group 1">
|
94
|
+
<option value="1">Some text goes here</option>
|
95
|
+
<option value="2">Another choice could be here</option>
|
96
|
+
<option value="3">Yet another item to be chosen</option>
|
97
|
+
</optgroup>
|
98
|
+
<optgroup label="Group 2">
|
99
|
+
<option value="4">Some text goes here</option>
|
100
|
+
<option value="5">Another choice could be here</option>
|
101
|
+
<option value="6">Yet another item to be chosen</option>
|
102
|
+
</optgroup>
|
103
|
+
<optgroup label="Group 3">
|
104
|
+
<option value="7">Some text goes here</option>
|
105
|
+
<option value="8">Another choice could be here</option>
|
106
|
+
<option value="9">Yet another item to be chosen</option>
|
107
|
+
</optgroup>
|
108
|
+
</select>
|
109
|
+
</p>
|
110
|
+
<p>
|
111
|
+
<label for="textarea">
|
112
|
+
Textarea
|
113
|
+
</label>
|
114
|
+
<br />
|
115
|
+
<textarea disabled="disabled" id="textarea" name="textarea" rows="5" placeholder="This is an example of HTML5 placeholder text."></textarea>
|
116
|
+
</p>
|
117
|
+
<table class="horiz">
|
118
|
+
<tr>
|
119
|
+
<td>
|
120
|
+
<label for="url">
|
121
|
+
URL + Autofocus
|
122
|
+
</label>
|
123
|
+
<br />
|
124
|
+
<input disabled="disabled" type="url" id="url" name="url" value="http://" autofocus="autofocus" />
|
125
|
+
</td>
|
126
|
+
<td>
|
127
|
+
<label for="email">
|
128
|
+
Email
|
129
|
+
</label>
|
130
|
+
<br />
|
131
|
+
<input disabled="disabled" type="email" id="email" name="email" placeholder="name@example.com" />
|
132
|
+
</td>
|
133
|
+
<td>
|
134
|
+
<label for="password">
|
135
|
+
Password
|
136
|
+
</label>
|
137
|
+
<br />
|
138
|
+
<input disabled="disabled" type="password" id="password" name="password" placeholder="Alphanumeric123!" />
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td>
|
143
|
+
<label for="datetime-local">
|
144
|
+
Datetime local
|
145
|
+
</label>
|
146
|
+
<br />
|
147
|
+
<input disabled="disabled" type="datetime-local" id="datetime-local" name="datetime-local" />
|
148
|
+
</td>
|
149
|
+
<td>
|
150
|
+
<label for="number">
|
151
|
+
Number
|
152
|
+
</label>
|
153
|
+
<br />
|
154
|
+
<input disabled="disabled" type="number" id="number" name="number" min="0" max="999" step="1" />
|
155
|
+
</td>
|
156
|
+
<td>
|
157
|
+
<label for="tel">
|
158
|
+
Tel (phone)
|
159
|
+
</label>
|
160
|
+
<br />
|
161
|
+
<input disabled="disabled" type="tel" id="tel" name="tel" />
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td>
|
166
|
+
<label for="datetime">
|
167
|
+
Datetime
|
168
|
+
</label>
|
169
|
+
<br />
|
170
|
+
<input disabled="disabled" type="datetime" id="datetime" name="datetime" />
|
171
|
+
</td>
|
172
|
+
<td>
|
173
|
+
<label for="date">
|
174
|
+
Date
|
175
|
+
</label>
|
176
|
+
<br />
|
177
|
+
<input disabled="disabled" type="date" id="date" name="date" />
|
178
|
+
</td>
|
179
|
+
<td>
|
180
|
+
<label for="month">
|
181
|
+
Month
|
182
|
+
</label>
|
183
|
+
<br />
|
184
|
+
<input disabled="disabled" type="month" id="month" name="month" />
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td>
|
189
|
+
<label for="search">
|
190
|
+
Search
|
191
|
+
</label>
|
192
|
+
<br />
|
193
|
+
<input disabled="disabled" type="search" id="search" name="search" />
|
194
|
+
</td>
|
195
|
+
<td>
|
196
|
+
<label for="range">
|
197
|
+
Range
|
198
|
+
</label>
|
199
|
+
<br />
|
200
|
+
<input disabled="disabled" type="range" id="range" name="range" />
|
201
|
+
</td>
|
202
|
+
<td>
|
203
|
+
<label for="file">
|
204
|
+
File upload
|
205
|
+
</label>
|
206
|
+
<br />
|
207
|
+
<input disabled="disabled" type="file" id="file" name="file" />
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
</table>
|
211
|
+
<p>
|
212
|
+
<input disabled="disabled" type="submit" value="Input - Submit" />
|
213
|
+
|
214
|
+
<input disabled="disabled" type="button" value="Input - Button" />
|
215
|
+
|
216
|
+
<input disabled="disabled" type="reset" value="Input - Reset" />
|
217
|
+
|
218
|
+
<button disabled="disabled">Button tag</button>
|
219
|
+
</p>
|
220
|
+
</form>
|
221
|
+
</div>
|
222
|
+
</body>
|
223
|
+
</html>
|
@@ -0,0 +1,223 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<title>Formalize CSS</title>
|
6
|
+
<link rel="stylesheet" href="assets/css/demo.css" />
|
7
|
+
<script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
|
8
|
+
<script src="assets/js/yui.formalize.js"></script>
|
9
|
+
<script>
|
10
|
+
// Fire it off!
|
11
|
+
YUI().use('formalize', function(Y) {
|
12
|
+
Y.on('domready', function() {
|
13
|
+
Y.formalize.go();
|
14
|
+
});
|
15
|
+
});
|
16
|
+
</script>
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="wrapper">
|
20
|
+
<h1>
|
21
|
+
Example of all form elements
|
22
|
+
</h1>
|
23
|
+
<form action="#" method="post" enctype="multipart/form-data" onsubmit="return false">
|
24
|
+
<p>
|
25
|
+
<input type="checkbox" id="test_checkbox_1" name="test_checkbox_1" />
|
26
|
+
<label class="error" for="test_checkbox_1">
|
27
|
+
Test checkbox 1
|
28
|
+
</label>
|
29
|
+
|
30
|
+
|
31
|
+
<input type="checkbox" id="test_checkbox_2" name="test_checkbox_2" />
|
32
|
+
<label class="error" for="test_checkbox_2">
|
33
|
+
Test checkbox 2
|
34
|
+
</label>
|
35
|
+
|
36
|
+
|
37
|
+
<input type="checkbox" id="test_checkbox_3" name="test_checkbox_3" />
|
38
|
+
<label class="error" for="test_checkbox_3">
|
39
|
+
Test checkbox 3
|
40
|
+
</label>
|
41
|
+
</p>
|
42
|
+
<p>
|
43
|
+
<input type="radio" id="test_radio_1" name="test_radio_group" />
|
44
|
+
<label class="error" for="test_radio_1">
|
45
|
+
Test radio 1
|
46
|
+
</label>
|
47
|
+
|
48
|
+
|
49
|
+
<input type="radio" id="test_radio_2" name="test_radio_group" />
|
50
|
+
<label class="error" for="test_radio_2">
|
51
|
+
Test radio 2
|
52
|
+
</label>
|
53
|
+
|
54
|
+
|
55
|
+
<input type="radio" id="test_radio_3" name="test_radio_group" />
|
56
|
+
<label class="error" for="test_radio_3">
|
57
|
+
Test radio 3
|
58
|
+
</label>
|
59
|
+
</p>
|
60
|
+
<p>
|
61
|
+
<label class="error" for="select_dd">
|
62
|
+
Select drop-down
|
63
|
+
</label>
|
64
|
+
<br />
|
65
|
+
<select class="error" id="select_dd" name="select_dd">
|
66
|
+
<optgroup label="Group 1">
|
67
|
+
<option value="1">Some text goes here</option>
|
68
|
+
<option value="2">Another choice could be here</option>
|
69
|
+
<option value="3">Yet another item to be chosen</option>
|
70
|
+
</optgroup>
|
71
|
+
<optgroup label="Group 2">
|
72
|
+
<option value="4">Some text goes here</option>
|
73
|
+
<option value="5">Another choice could be here</option>
|
74
|
+
<option value="6">Yet another item to be chosen</option>
|
75
|
+
</optgroup>
|
76
|
+
<optgroup label="Group 3">
|
77
|
+
<option value="7">Some text goes here</option>
|
78
|
+
<option value="8">Another choice could be here</option>
|
79
|
+
<option value="9">Yet another item to be chosen</option>
|
80
|
+
</optgroup>
|
81
|
+
</select>
|
82
|
+
<input class="error" type="text" id="text_inline" name="text_inline" />
|
83
|
+
<input type="button" value="Input Button" />
|
84
|
+
<button>Button Tag</button>
|
85
|
+
<a href="#" class="button">Link Button</a>
|
86
|
+
</p>
|
87
|
+
<p>
|
88
|
+
<label class="error" for="select_multi">
|
89
|
+
Select multiple
|
90
|
+
</label>
|
91
|
+
<br />
|
92
|
+
<select class="error" id="select_multi" name="select_multi" multiple="multiple" size="10">
|
93
|
+
<optgroup label="Group 1">
|
94
|
+
<option value="1">Some text goes here</option>
|
95
|
+
<option value="2">Another choice could be here</option>
|
96
|
+
<option value="3">Yet another item to be chosen</option>
|
97
|
+
</optgroup>
|
98
|
+
<optgroup label="Group 2">
|
99
|
+
<option value="4">Some text goes here</option>
|
100
|
+
<option value="5">Another choice could be here</option>
|
101
|
+
<option value="6">Yet another item to be chosen</option>
|
102
|
+
</optgroup>
|
103
|
+
<optgroup label="Group 3">
|
104
|
+
<option value="7">Some text goes here</option>
|
105
|
+
<option value="8">Another choice could be here</option>
|
106
|
+
<option value="9">Yet another item to be chosen</option>
|
107
|
+
</optgroup>
|
108
|
+
</select>
|
109
|
+
</p>
|
110
|
+
<p>
|
111
|
+
<label class="error" for="textarea">
|
112
|
+
Textarea
|
113
|
+
</label>
|
114
|
+
<br />
|
115
|
+
<textarea class="error" id="textarea" name="textarea" rows="5" placeholder="This is an example of HTML5 placeholder text."></textarea>
|
116
|
+
</p>
|
117
|
+
<table class="horiz">
|
118
|
+
<tr>
|
119
|
+
<td>
|
120
|
+
<label class="error" for="url">
|
121
|
+
URL + Autofocus
|
122
|
+
</label>
|
123
|
+
<br />
|
124
|
+
<input class="error" type="url" id="url" name="url" value="http://" autofocus="autofocus" />
|
125
|
+
</td>
|
126
|
+
<td>
|
127
|
+
<label class="error" for="email">
|
128
|
+
Email
|
129
|
+
</label>
|
130
|
+
<br />
|
131
|
+
<input class="error" type="email" id="email" name="email" placeholder="name@example.com" />
|
132
|
+
</td>
|
133
|
+
<td>
|
134
|
+
<label class="error" for="password">
|
135
|
+
Password
|
136
|
+
</label>
|
137
|
+
<br />
|
138
|
+
<input class="error" type="password" id="password" name="password" placeholder="Alphanumeric123!" />
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td>
|
143
|
+
<label class="error" for="datetime-local">
|
144
|
+
Datetime local
|
145
|
+
</label>
|
146
|
+
<br />
|
147
|
+
<input class="error" type="datetime-local" id="datetime-local" name="datetime-local" />
|
148
|
+
</td>
|
149
|
+
<td>
|
150
|
+
<label class="error" for="number">
|
151
|
+
Number
|
152
|
+
</label>
|
153
|
+
<br />
|
154
|
+
<input class="error" type="number" id="number" name="number" min="0" max="999" step="1" />
|
155
|
+
</td>
|
156
|
+
<td>
|
157
|
+
<label class="error" for="tel">
|
158
|
+
Tel (phone)
|
159
|
+
</label>
|
160
|
+
<br />
|
161
|
+
<input class="error" type="tel" id="tel" name="tel" />
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td>
|
166
|
+
<label class="error" for="datetime">
|
167
|
+
Datetime
|
168
|
+
</label>
|
169
|
+
<br />
|
170
|
+
<input class="error" type="datetime" id="datetime" name="datetime" />
|
171
|
+
</td>
|
172
|
+
<td>
|
173
|
+
<label class="error" for="date">
|
174
|
+
Date
|
175
|
+
</label>
|
176
|
+
<br />
|
177
|
+
<input class="error" type="date" id="date" name="date" />
|
178
|
+
</td>
|
179
|
+
<td>
|
180
|
+
<label class="error" for="month">
|
181
|
+
Month
|
182
|
+
</label>
|
183
|
+
<br />
|
184
|
+
<input class="error" type="month" id="month" name="month" />
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td>
|
189
|
+
<label class="error" for="search">
|
190
|
+
Search
|
191
|
+
</label>
|
192
|
+
<br />
|
193
|
+
<input class="error" type="search" id="search" name="search" />
|
194
|
+
</td>
|
195
|
+
<td>
|
196
|
+
<label class="error" for="range">
|
197
|
+
Range
|
198
|
+
</label>
|
199
|
+
<br />
|
200
|
+
<input class="error" type="range" id="range" name="range" />
|
201
|
+
</td>
|
202
|
+
<td>
|
203
|
+
<label class="error" for="file">
|
204
|
+
File upload
|
205
|
+
</label>
|
206
|
+
<br />
|
207
|
+
<input class="error" type="file" id="file" name="file" />
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
</table>
|
211
|
+
<p>
|
212
|
+
<input type="submit" value="Input - Submit" />
|
213
|
+
|
214
|
+
<input type="button" value="Input - Button" />
|
215
|
+
|
216
|
+
<input type="reset" value="Input - Reset" />
|
217
|
+
|
218
|
+
<button>Button tag</button>
|
219
|
+
</p>
|
220
|
+
</form>
|
221
|
+
</div>
|
222
|
+
</body>
|
223
|
+
</html>
|