pure-place-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +27 -0
- data/Rakefile +1 -0
- data/app/assets/stylesheets/pure-place/.bowerrc +4 -0
- data/app/assets/stylesheets/pure-place/.csslintrc +5 -0
- data/app/assets/stylesheets/pure-place/.gitignore +6 -0
- data/app/assets/stylesheets/pure-place/.travis.yml +6 -0
- data/app/assets/stylesheets/pure-place/CONTRIBUTING.md +131 -0
- data/app/assets/stylesheets/pure-place/Gruntfile.js +444 -0
- data/app/assets/stylesheets/pure-place/HISTORY.md +109 -0
- data/app/assets/stylesheets/pure-place/LICENSE.md +52 -0
- data/app/assets/stylesheets/pure-place/README.md +120 -0
- data/app/assets/stylesheets/pure-place/bower.json +7 -0
- data/app/assets/stylesheets/pure-place/build/base-context-min.css +11 -0
- data/app/assets/stylesheets/pure-place/build/base-context.css +243 -0
- data/app/assets/stylesheets/pure-place/build/base-min.css +11 -0
- data/app/assets/stylesheets/pure-place/build/base.css +538 -0
- data/app/assets/stylesheets/pure-place/build/buttons-core-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/buttons-core.css +28 -0
- data/app/assets/stylesheets/pure-place/build/buttons-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/buttons.css +105 -0
- data/app/assets/stylesheets/pure-place/build/forms-core-min.css +11 -0
- data/app/assets/stylesheets/pure-place/build/forms-core.css +159 -0
- data/app/assets/stylesheets/pure-place/build/forms-min.css +11 -0
- data/app/assets/stylesheets/pure-place/build/forms-nr-min.css +11 -0
- data/app/assets/stylesheets/pure-place/build/forms-nr.css +404 -0
- data/app/assets/stylesheets/pure-place/build/forms.css +467 -0
- data/app/assets/stylesheets/pure-place/build/grids-core-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/grids-core.css +31 -0
- data/app/assets/stylesheets/pure-place/build/grids-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/grids-nr-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/grids-nr.css +180 -0
- data/app/assets/stylesheets/pure-place/build/grids-units-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/grids-units.css +154 -0
- data/app/assets/stylesheets/pure-place/build/grids.css +242 -0
- data/app/assets/stylesheets/pure-place/build/menus-core-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/menus-core.css +143 -0
- data/app/assets/stylesheets/pure-place/build/menus-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/menus-nr-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/menus-nr.css +265 -0
- data/app/assets/stylesheets/pure-place/build/menus-paginator-min.css +7 -0
- data/app/assets/stylesheets/pure-place/build/menus-paginator.css +40 -0
- data/app/assets/stylesheets/pure-place/build/menus.css +276 -0
- data/app/assets/stylesheets/pure-place/build/pure-min.css +16 -0
- data/app/assets/stylesheets/pure-place/build/pure-nr-min.css +16 -0
- data/app/assets/stylesheets/pure-place/build/tables-min.css +11 -0
- data/app/assets/stylesheets/pure-place/build/tables.css +84 -0
- data/app/assets/stylesheets/pure-place/grunt-pure-place.js +95 -0
- data/app/assets/stylesheets/pure-place/package.json +23 -0
- data/app/assets/stylesheets/pure-place/scss/_grid-classes.scss +4 -0
- data/app/assets/stylesheets/pure-place/scss/_grid-functions.scss +62 -0
- data/app/assets/stylesheets/pure-place/scss/_pure-classes-nr.scss +9 -0
- data/app/assets/stylesheets/pure-place/scss/_pure-classes.scss +9 -0
- data/app/assets/stylesheets/pure-place/scss/_pure-placeholders-nr.scss +8 -0
- data/app/assets/stylesheets/pure-place/scss/_pure-placeholders.scss +8 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_base.scss +565 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_buttons.scss +118 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_forms-nr.scss +453 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_forms.scss +517 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_grids-nr.scss +188 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_grids.scss +256 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_menus-nr.scss +292 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_menus.scss +303 -0
- data/app/assets/stylesheets/pure-place/scss/classes/_tables.scss +95 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_base.scss +423 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_buttons.scss +113 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_forms-nr.scss +400 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_forms.scss +464 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_grids-nr.scss +180 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_grids.scss +245 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_menus-nr.scss +287 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_menus.scss +298 -0
- data/app/assets/stylesheets/pure-place/scss/placeholders/_tables.scss +83 -0
- data/app/assets/stylesheets/pure-place/src/base/LICENSE.md +19 -0
- data/app/assets/stylesheets/pure-place/src/base/README.md +17 -0
- data/app/assets/stylesheets/pure-place/src/base/bower.json +23 -0
- data/app/assets/stylesheets/pure-place/src/base/css/normalize-context.css +233 -0
- data/app/assets/stylesheets/pure-place/src/base/css/normalize.css +528 -0
- data/app/assets/stylesheets/pure-place/src/base/tests/manual/test.html +354 -0
- data/app/assets/stylesheets/pure-place/src/buttons/css/buttons-core.css +22 -0
- data/app/assets/stylesheets/pure-place/src/buttons/css/buttons.css +76 -0
- data/app/assets/stylesheets/pure-place/src/buttons/tests/manual/button.html +112 -0
- data/app/assets/stylesheets/pure-place/src/forms/css/forms-core.css +149 -0
- data/app/assets/stylesheets/pure-place/src/forms/css/forms-r.css +62 -0
- data/app/assets/stylesheets/pure-place/src/forms/css/forms.css +244 -0
- data/app/assets/stylesheets/pure-place/src/forms/tests/manual/forms.html +324 -0
- data/app/assets/stylesheets/pure-place/src/grids/css/grids-core.css +25 -0
- data/app/assets/stylesheets/pure-place/src/grids/css/grids-r.css +61 -0
- data/app/assets/stylesheets/pure-place/src/grids/css/grids-units.css +148 -0
- data/app/assets/stylesheets/pure-place/src/grids/tests/manual/responsive.html +174 -0
- data/app/assets/stylesheets/pure-place/src/menus/css/menus-core.css +137 -0
- data/app/assets/stylesheets/pure-place/src/menus/css/menus-paginator.css +34 -0
- data/app/assets/stylesheets/pure-place/src/menus/css/menus-r.css +10 -0
- data/app/assets/stylesheets/pure-place/src/menus/css/menus.css +86 -0
- data/app/assets/stylesheets/pure-place/src/menus/tests/manual/menus.html +191 -0
- data/app/assets/stylesheets/pure-place/src/tables/css/tables.css +74 -0
- data/app/assets/stylesheets/pure-place/src/tables/tests/manual/tables.html +251 -0
- data/lib/pure-place.rb +16 -0
- data/lib/pure-place/engine.rb +5 -0
- data/lib/pure-place/version.rb +3 -0
- data/pure-place-rails.gemspec +24 -0
- metadata +161 -0
@@ -0,0 +1,467 @@
|
|
1
|
+
/*!
|
2
|
+
Pure v0.2.1-pre
|
3
|
+
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
https://github.com/yui/pure/blob/master/LICENSE.md
|
6
|
+
*/
|
7
|
+
/*!
|
8
|
+
normalize.css v1.1.2 | MIT License | git.io/normalize
|
9
|
+
Copyright (c) Nicolas Gallagher and Jonathan Neal
|
10
|
+
*/
|
11
|
+
/* This page has Normalize.css form-specific style rules applied to a .pure-form context */
|
12
|
+
|
13
|
+
/* ==========
|
14
|
+
Forms Core
|
15
|
+
=========*/
|
16
|
+
|
17
|
+
/*
|
18
|
+
* Corrects margin displayed oddly in IE 6/7.
|
19
|
+
*/
|
20
|
+
|
21
|
+
.pure-form {
|
22
|
+
margin: 0;
|
23
|
+
}
|
24
|
+
|
25
|
+
/*
|
26
|
+
* Define consistent border, margin, and padding.
|
27
|
+
*/
|
28
|
+
|
29
|
+
.pure-form fieldset {
|
30
|
+
border: 1px solid #c0c0c0;
|
31
|
+
margin: 0 2px;
|
32
|
+
padding: 0.35em 0.625em 0.75em;
|
33
|
+
}
|
34
|
+
|
35
|
+
/*
|
36
|
+
* 1. Corrects color not being inherited in IE 6/7/8/9.
|
37
|
+
* 2. Corrects text not wrapping in Firefox 3.
|
38
|
+
* 3. Corrects alignment displayed oddly in IE 6/7.
|
39
|
+
*/
|
40
|
+
|
41
|
+
.pure-form legend {
|
42
|
+
border: 0; /* 1 */
|
43
|
+
padding: 0;
|
44
|
+
white-space: normal; /* 2 */
|
45
|
+
*margin-left: -7px; /* 3 */
|
46
|
+
}
|
47
|
+
|
48
|
+
/*
|
49
|
+
* 1. Corrects font size not being inherited in all browsers.
|
50
|
+
* 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
|
51
|
+
* and Chrome.
|
52
|
+
* 3. Improves appearance and consistency in all browsers.
|
53
|
+
*/
|
54
|
+
|
55
|
+
.pure-form button,
|
56
|
+
.pure-form input,
|
57
|
+
.pure-form select,
|
58
|
+
.pure-form textarea {
|
59
|
+
font-size: 100%; /* 1 */
|
60
|
+
margin: 0; /* 2 */
|
61
|
+
vertical-align: baseline; /* 3 */
|
62
|
+
*vertical-align: middle; /* 3 */
|
63
|
+
}
|
64
|
+
|
65
|
+
/*
|
66
|
+
* Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
|
67
|
+
* the UA stylesheet.
|
68
|
+
*/
|
69
|
+
|
70
|
+
.pure-form button,
|
71
|
+
.pure-form input {
|
72
|
+
line-height: normal;
|
73
|
+
}
|
74
|
+
|
75
|
+
/*
|
76
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
77
|
+
* and `video` controls.
|
78
|
+
* 2. Corrects inability to style clickable `input` types in iOS.
|
79
|
+
* 3. Improves usability and consistency of cursor style between image-type
|
80
|
+
* `input` and others.
|
81
|
+
* 4. Removes inner spacing in IE 7 without affecting normal text inputs.
|
82
|
+
* Known issue: inner spacing remains in IE 6.
|
83
|
+
*/
|
84
|
+
|
85
|
+
.pure-form button,
|
86
|
+
.pure-form input[type="button"], /* 1 */
|
87
|
+
.pure-form input[type="reset"],
|
88
|
+
.pure-form input[type="submit"] {
|
89
|
+
-webkit-appearance: button; /* 2 */
|
90
|
+
cursor: pointer; /* 3 */
|
91
|
+
*overflow: visible; /* 4 */
|
92
|
+
}
|
93
|
+
|
94
|
+
/*
|
95
|
+
* Re-set default cursor for disabled elements.
|
96
|
+
*/
|
97
|
+
|
98
|
+
.pure-form button[disabled],
|
99
|
+
.pure-form input[disabled] {
|
100
|
+
cursor: default;
|
101
|
+
}
|
102
|
+
|
103
|
+
/*
|
104
|
+
* 1. Addresses box sizing set to content-box in IE 8/9.
|
105
|
+
* 2. Removes excess padding in IE 8/9.
|
106
|
+
* 3. Removes excess padding in IE 7.
|
107
|
+
* Known issue: excess padding remains in IE 6.
|
108
|
+
*/
|
109
|
+
|
110
|
+
.pure-form input[type="checkbox"],
|
111
|
+
.pure-form input[type="radio"] {
|
112
|
+
box-sizing: border-box; /* 1 */
|
113
|
+
padding: 0; /* 2 */
|
114
|
+
*height: 13px; /* 3 */
|
115
|
+
*width: 13px; /* 3 */
|
116
|
+
}
|
117
|
+
|
118
|
+
/*
|
119
|
+
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
|
120
|
+
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
|
121
|
+
* (include `-moz` to future-proof).
|
122
|
+
*/
|
123
|
+
|
124
|
+
.pure-form input[type="search"] {
|
125
|
+
-webkit-appearance: textfield; /* 1 */
|
126
|
+
-moz-box-sizing: content-box;
|
127
|
+
-webkit-box-sizing: content-box; /* 2 */
|
128
|
+
box-sizing: content-box;
|
129
|
+
}
|
130
|
+
|
131
|
+
/*
|
132
|
+
* Removes inner padding and search cancel button in Safari 5 and Chrome
|
133
|
+
* on OS X.
|
134
|
+
*/
|
135
|
+
|
136
|
+
.pure-form input[type="search"]::-webkit-search-cancel-button,
|
137
|
+
.pure-form input[type="search"]::-webkit-search-decoration {
|
138
|
+
-webkit-appearance: none;
|
139
|
+
}
|
140
|
+
|
141
|
+
/*
|
142
|
+
* Removes inner padding and border in Firefox 3+.
|
143
|
+
*/
|
144
|
+
|
145
|
+
.pure-form button::-moz-focus-inner,
|
146
|
+
.pure-form input::-moz-focus-inner {
|
147
|
+
border: 0;
|
148
|
+
padding: 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
/*
|
152
|
+
* 1. Removes default vertical scrollbar in IE 6/7/8/9.
|
153
|
+
* 2. Improves readability and alignment in all browsers.
|
154
|
+
*/
|
155
|
+
|
156
|
+
.pure-form textarea {
|
157
|
+
overflow: auto; /* 1 */
|
158
|
+
vertical-align: top; /* 2 */
|
159
|
+
}
|
160
|
+
|
161
|
+
.pure-form input[type="text"],
|
162
|
+
.pure-form input[type="password"],
|
163
|
+
.pure-form input[type="email"],
|
164
|
+
.pure-form input[type="url"],
|
165
|
+
.pure-form input[type="date"],
|
166
|
+
.pure-form input[type="month"],
|
167
|
+
.pure-form input[type="time"],
|
168
|
+
.pure-form input[type="datetime"],
|
169
|
+
.pure-form input[type="datetime-local"],
|
170
|
+
.pure-form input[type="week"],
|
171
|
+
.pure-form input[type="number"],
|
172
|
+
.pure-form input[type="search"],
|
173
|
+
.pure-form input[type="tel"],
|
174
|
+
.pure-form input[type="color"],
|
175
|
+
.pure-form select,
|
176
|
+
.pure-form textarea {
|
177
|
+
padding: 0.5em 0.6em;
|
178
|
+
display: inline-block;
|
179
|
+
border: 1px solid #ccc;
|
180
|
+
font-size: 0.8em;
|
181
|
+
box-shadow: inset 0 1px 3px #ddd;
|
182
|
+
border-radius: 4px;
|
183
|
+
-webkit-transition: 0.3s linear border;
|
184
|
+
-moz-transition: 0.3s linear border;
|
185
|
+
-ms-transition: 0.3s linear border;
|
186
|
+
-o-transition: 0.3s linear border;
|
187
|
+
transition: 0.3s linear border;
|
188
|
+
-webkit-box-sizing: border-box;
|
189
|
+
-moz-box-sizing: border-box;
|
190
|
+
box-sizing: border-box;
|
191
|
+
-webkit-font-smoothing: antialiased;
|
192
|
+
}
|
193
|
+
|
194
|
+
.pure-form input[type="text"]:focus,
|
195
|
+
.pure-form input[type="password"]:focus,
|
196
|
+
.pure-form input[type="email"]:focus,
|
197
|
+
.pure-form input[type="url"]:focus,
|
198
|
+
.pure-form input[type="date"]:focus,
|
199
|
+
.pure-form input[type="month"]:focus,
|
200
|
+
.pure-form input[type="time"]:focus,
|
201
|
+
.pure-form input[type="datetime"]:focus,
|
202
|
+
.pure-form input[type="datetime-local"]:focus,
|
203
|
+
.pure-form input[type="week"]:focus,
|
204
|
+
.pure-form input[type="number"]:focus,
|
205
|
+
.pure-form input[type="search"]:focus,
|
206
|
+
.pure-form input[type="tel"]:focus,
|
207
|
+
.pure-form input[type="color"]:focus,
|
208
|
+
.pure-form select:focus,
|
209
|
+
.pure-form textarea:focus {
|
210
|
+
outline: 0;
|
211
|
+
outline: thin dotted \9; /* IE6-9 */
|
212
|
+
border-color: #129FEA;
|
213
|
+
}
|
214
|
+
|
215
|
+
.pure-form input[type="file"]:focus,
|
216
|
+
.pure-form input[type="radio"]:focus,
|
217
|
+
.pure-form input[type="checkbox"]:focus {
|
218
|
+
outline: thin dotted #333;
|
219
|
+
outline: 1px auto #129FEA;
|
220
|
+
}
|
221
|
+
.pure-form .pure-checkbox,
|
222
|
+
.pure-form .pure-radio {
|
223
|
+
margin: 0.5em 0;
|
224
|
+
display: block;
|
225
|
+
}
|
226
|
+
.pure-form input[type="text"][disabled],
|
227
|
+
.pure-form input[type="password"][disabled],
|
228
|
+
.pure-form input[type="email"][disabled],
|
229
|
+
.pure-form input[type="url"][disabled],
|
230
|
+
.pure-form input[type="date"][disabled],
|
231
|
+
.pure-form input[type="month"][disabled],
|
232
|
+
.pure-form input[type="time"][disabled],
|
233
|
+
.pure-form input[type="datetime"][disabled],
|
234
|
+
.pure-form input[type="datetime-local"][disabled],
|
235
|
+
.pure-form input[type="week"][disabled],
|
236
|
+
.pure-form input[type="number"][disabled],
|
237
|
+
.pure-form input[type="search"][disabled],
|
238
|
+
.pure-form input[type="tel"][disabled],
|
239
|
+
.pure-form input[type="color"][disabled],
|
240
|
+
.pure-form select[disabled],
|
241
|
+
.pure-form textarea[disabled],
|
242
|
+
.pure-form input[readonly],
|
243
|
+
.pure-form select[readonly],
|
244
|
+
.pure-form textarea[readonly] {
|
245
|
+
cursor: not-allowed;
|
246
|
+
background-color: #eaeded;
|
247
|
+
color: #cad2d3;
|
248
|
+
border-color: transparent;
|
249
|
+
}
|
250
|
+
.pure-form input:focus:invalid,
|
251
|
+
.pure-form textarea:focus:invalid,
|
252
|
+
.pure-form select:focus:invalid {
|
253
|
+
color: #b94a48;
|
254
|
+
border: 1px solid #ee5f5b;
|
255
|
+
}
|
256
|
+
.pure-form input:focus:invalid:focus,
|
257
|
+
.pure-form textarea:focus:invalid:focus,
|
258
|
+
.pure-form select:focus:invalid:focus {
|
259
|
+
border-color: #e9322d;
|
260
|
+
}
|
261
|
+
.pure-form input[type="file"]:focus:invalid:focus,
|
262
|
+
.pure-form input[type="radio"]:focus:invalid:focus,
|
263
|
+
.pure-form input[type="checkbox"]:focus:invalid:focus {
|
264
|
+
outline-color: #e9322d;
|
265
|
+
}
|
266
|
+
.pure-form select {
|
267
|
+
border: 1px solid #ccc;
|
268
|
+
background-color: white;
|
269
|
+
}
|
270
|
+
.pure-form select[multiple] {
|
271
|
+
height: auto;
|
272
|
+
}
|
273
|
+
.pure-form label {
|
274
|
+
margin: 0.5em 0 0.2em;
|
275
|
+
color: #999;
|
276
|
+
font-size: 90%;
|
277
|
+
}
|
278
|
+
.pure-form fieldset {
|
279
|
+
margin: 0;
|
280
|
+
padding: 0.35em 0 0.75em;
|
281
|
+
border: 0;
|
282
|
+
}
|
283
|
+
.pure-form legend {
|
284
|
+
display: block;
|
285
|
+
width: 100%;
|
286
|
+
padding: 0.3em 0;
|
287
|
+
margin-bottom: 0.3em;
|
288
|
+
font-size: 125%;
|
289
|
+
color: #333;
|
290
|
+
border-bottom: 1px solid #e5e5e5;
|
291
|
+
}
|
292
|
+
|
293
|
+
.pure-form-stacked input[type="text"],
|
294
|
+
.pure-form-stacked input[type="password"],
|
295
|
+
.pure-form-stacked input[type="email"],
|
296
|
+
.pure-form-stacked input[type="url"],
|
297
|
+
.pure-form-stacked input[type="date"],
|
298
|
+
.pure-form-stacked input[type="month"],
|
299
|
+
.pure-form-stacked input[type="time"],
|
300
|
+
.pure-form-stacked input[type="datetime"],
|
301
|
+
.pure-form-stacked input[type="datetime-local"],
|
302
|
+
.pure-form-stacked input[type="week"],
|
303
|
+
.pure-form-stacked input[type="number"],
|
304
|
+
.pure-form-stacked input[type="search"],
|
305
|
+
.pure-form-stacked input[type="tel"],
|
306
|
+
.pure-form-stacked input[type="color"],
|
307
|
+
.pure-form-stacked select,
|
308
|
+
.pure-form-stacked label {
|
309
|
+
display: block;
|
310
|
+
}
|
311
|
+
|
312
|
+
.pure-form-aligned input,
|
313
|
+
.pure-form-aligned textarea,
|
314
|
+
.pure-form-aligned select,
|
315
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
316
|
+
.pure-form-aligned .pure-help-inline,
|
317
|
+
.pure-form-message-inline {
|
318
|
+
display: inline-block;
|
319
|
+
*display: inline;
|
320
|
+
*zoom: 1;
|
321
|
+
vertical-align: middle;
|
322
|
+
}
|
323
|
+
|
324
|
+
/* Aligned Forms */
|
325
|
+
.pure-form-aligned .pure-control-group {
|
326
|
+
margin-bottom: 0.5em;
|
327
|
+
}
|
328
|
+
.pure-form-aligned .pure-control-group label {
|
329
|
+
text-align: right;
|
330
|
+
display: inline-block;
|
331
|
+
vertical-align: middle;
|
332
|
+
width: 10em;
|
333
|
+
margin: 0 1em 0 0;
|
334
|
+
}
|
335
|
+
.pure-form-aligned .pure-controls {
|
336
|
+
margin: 1.5em 0 0 10em;
|
337
|
+
}
|
338
|
+
|
339
|
+
/* Rounded Inputs */
|
340
|
+
.pure-form .pure-input-rounded {
|
341
|
+
border-radius: 20px;
|
342
|
+
padding-left: 1em;
|
343
|
+
}
|
344
|
+
|
345
|
+
/* Grouped Inputs */
|
346
|
+
.pure-form .pure-group fieldset {
|
347
|
+
margin-bottom: 10px;
|
348
|
+
}
|
349
|
+
.pure-form .pure-group input {
|
350
|
+
display: block;
|
351
|
+
padding: 10px;
|
352
|
+
margin: 0;
|
353
|
+
border-radius: 0;
|
354
|
+
position: relative;
|
355
|
+
top: -1px;
|
356
|
+
}
|
357
|
+
.pure-form .pure-group input:focus {
|
358
|
+
z-index: 2;
|
359
|
+
}
|
360
|
+
.pure-form .pure-group input:first-child {
|
361
|
+
top: 1px;
|
362
|
+
border-radius: 4px 4px 0 0;
|
363
|
+
}
|
364
|
+
.pure-form .pure-group input:last-child {
|
365
|
+
top: -2px;
|
366
|
+
border-radius: 0 0 4px 4px;
|
367
|
+
}
|
368
|
+
.pure-form .pure-group button {
|
369
|
+
margin: 0.35em 0;
|
370
|
+
}
|
371
|
+
|
372
|
+
.pure-form .pure-input-1 {
|
373
|
+
width: 100%;
|
374
|
+
}
|
375
|
+
.pure-form .pure-input-2-3 {
|
376
|
+
width: 66%;
|
377
|
+
}
|
378
|
+
.pure-form .pure-input-1-2 {
|
379
|
+
width: 50%;
|
380
|
+
}
|
381
|
+
.pure-form .pure-input-1-3 {
|
382
|
+
width: 33%;
|
383
|
+
}
|
384
|
+
.pure-form .pure-input-1-4 {
|
385
|
+
width: 25%;
|
386
|
+
}
|
387
|
+
|
388
|
+
/* Inline help for forms */
|
389
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
390
|
+
.pure-form .pure-help-inline,
|
391
|
+
.pure-form-message-inline {
|
392
|
+
display: inline-block;
|
393
|
+
padding-left: 0.3em;
|
394
|
+
color: #666;
|
395
|
+
vertical-align: middle;
|
396
|
+
font-size: 90%;
|
397
|
+
}
|
398
|
+
|
399
|
+
/* Block help for forms */
|
400
|
+
.pure-form-message {
|
401
|
+
display: block;
|
402
|
+
color: #666;
|
403
|
+
font-size: 90%;
|
404
|
+
}
|
405
|
+
|
406
|
+
@media only screen and (max-width : 480px) {
|
407
|
+
.pure-form button[type="submit"] {
|
408
|
+
margin: 0.7em 0 0;
|
409
|
+
}
|
410
|
+
|
411
|
+
.pure-form input[type="text"],
|
412
|
+
.pure-form input[type="password"],
|
413
|
+
.pure-form input[type="email"],
|
414
|
+
.pure-form input[type="url"],
|
415
|
+
.pure-form input[type="date"],
|
416
|
+
.pure-form input[type="month"],
|
417
|
+
.pure-form input[type="time"],
|
418
|
+
.pure-form input[type="datetime"],
|
419
|
+
.pure-form input[type="datetime-local"],
|
420
|
+
.pure-form input[type="week"],
|
421
|
+
.pure-form input[type="number"],
|
422
|
+
.pure-form input[type="search"],
|
423
|
+
.pure-form input[type="tel"],
|
424
|
+
.pure-form input[type="color"],
|
425
|
+
.pure-form label {
|
426
|
+
margin-bottom: 0.3em;
|
427
|
+
display: block;
|
428
|
+
}
|
429
|
+
|
430
|
+
.pure-group input[type="text"],
|
431
|
+
.pure-form input[type="password"],
|
432
|
+
.pure-form input[type="email"],
|
433
|
+
.pure-form input[type="url"],
|
434
|
+
.pure-form input[type="date"],
|
435
|
+
.pure-form input[type="month"],
|
436
|
+
.pure-form input[type="time"],
|
437
|
+
.pure-form input[type="datetime"],
|
438
|
+
.pure-form input[type="datetime-local"],
|
439
|
+
.pure-form input[type="week"],
|
440
|
+
.pure-form input[type="number"],
|
441
|
+
.pure-form input[type="search"],
|
442
|
+
.pure-form input[type="tel"],
|
443
|
+
.pure-form input[type="color"] {
|
444
|
+
margin-bottom: 0;
|
445
|
+
}
|
446
|
+
|
447
|
+
.pure-form-aligned .pure-control-group label {
|
448
|
+
margin-bottom: 0.3em;
|
449
|
+
text-align: left;
|
450
|
+
display: block;
|
451
|
+
width: 100%;
|
452
|
+
}
|
453
|
+
|
454
|
+
.pure-form-aligned .pure-controls {
|
455
|
+
margin: 1.5em 0 0 0;
|
456
|
+
}
|
457
|
+
|
458
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
459
|
+
.pure-form .pure-help-inline,
|
460
|
+
.pure-form-message-inline,
|
461
|
+
.pure-form-message {
|
462
|
+
display: block;
|
463
|
+
font-size: 80%;
|
464
|
+
/* Increased bottom padding to make it group with its related input element. */
|
465
|
+
padding: 0.2em 0 0.8em;
|
466
|
+
}
|
467
|
+
}
|