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,112 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Button Manual Tests</title>
|
5
|
+
<link rel="stylesheet" href="../../../../build/pure-min.css">
|
6
|
+
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css">
|
7
|
+
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome-ie7.css">
|
8
|
+
|
9
|
+
<style>
|
10
|
+
.pure-button-green {
|
11
|
+
text-transform: uppercase;
|
12
|
+
font-weight:bold;
|
13
|
+
color: white;
|
14
|
+
padding: 0.8em 2.5em;
|
15
|
+
background: #16bb51;
|
16
|
+
border-radius: 6px;
|
17
|
+
text-shadow: 0 1px 1px rgb(22, 116, 29);
|
18
|
+
}
|
19
|
+
|
20
|
+
.pure-button-red {
|
21
|
+
background: red;
|
22
|
+
text-transform: uppercase;
|
23
|
+
color: white;
|
24
|
+
font-weight: bold;
|
25
|
+
text-shadow: 1px 1px 1px rgb(170, 46, 23);
|
26
|
+
border: 3px solid rgb(131, 2, 2);
|
27
|
+
border-radius: 20px;
|
28
|
+
}
|
29
|
+
|
30
|
+
.pure-button-yellow {
|
31
|
+
background: rgb(255, 236, 15);
|
32
|
+
color: rgb(146, 128, 32);
|
33
|
+
border: 1px solid rgb(201, 189, 52);
|
34
|
+
text-shadow: -1px 1px 1px white;
|
35
|
+
}
|
36
|
+
|
37
|
+
.pure-button-wedding:hover,
|
38
|
+
.pure-button-wedding:focus {
|
39
|
+
background: #555;
|
40
|
+
color: #eee;
|
41
|
+
}
|
42
|
+
.pure-button-wedding:active {
|
43
|
+
background: #222;
|
44
|
+
color: #fff;
|
45
|
+
box-shadow: none;
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<h1>Test Button Styles</h1>
|
52
|
+
|
53
|
+
<h2>Regular Buttons</h2>
|
54
|
+
<p>
|
55
|
+
<button class="pure-button">A Regular Button</button>
|
56
|
+
<a class="pure-button" href="#">An anchor Button</a>
|
57
|
+
</p>
|
58
|
+
|
59
|
+
<h2>Disabled Buttons</h2>
|
60
|
+
<p>
|
61
|
+
<button class="pure-button pure-button-disabled" disabled>A Regular Button</button>
|
62
|
+
<a class="pure-button pure-button-disabled" href="#">An anchor Button</a>
|
63
|
+
</p>
|
64
|
+
|
65
|
+
<h2>Active Buttons</h2>
|
66
|
+
<p>
|
67
|
+
<button class="pure-button pure-button-active">A Regular Button</button>
|
68
|
+
<a class="pure-button pure-button-active" href="#">An anchor Button</a>
|
69
|
+
</p>
|
70
|
+
|
71
|
+
<h2>Primary/Selected Buttons</h2>
|
72
|
+
<p>
|
73
|
+
<button class="pure-button pure-button-primary">A Regular Button</button>
|
74
|
+
<a class="pure-button pure-button-primary" href="#">An anchor Button</a>
|
75
|
+
</p>
|
76
|
+
|
77
|
+
<h2>Customizing Buttons</h2>
|
78
|
+
<p>
|
79
|
+
<button class="pure-button pure-button-green">A Custom Button</button>
|
80
|
+
<a class="pure-button pure-button-green" href="#">An anchor Button</a>
|
81
|
+
</p>
|
82
|
+
<p>
|
83
|
+
<button class="pure-button pure-button-red">Another custom Button</button>
|
84
|
+
<a class="pure-button pure-button-red" href="#">Custom Button</a>
|
85
|
+
</p>
|
86
|
+
<p>
|
87
|
+
<button class="pure-button pure-button-yellow">Another custom Button</button>
|
88
|
+
<a class="pure-button pure-button-yellow" href="#">Custom Button</a>
|
89
|
+
</p>
|
90
|
+
|
91
|
+
<p>
|
92
|
+
<button class="pure-button pure-button-wedding" href="#">
|
93
|
+
<i class="icon-film"></i>
|
94
|
+
Start Playing Movie
|
95
|
+
</button>
|
96
|
+
|
97
|
+
<a class="pure-button pure-button-wedding" href="#">
|
98
|
+
<i class="icon-film"></i>
|
99
|
+
Start Playing Movie
|
100
|
+
</a>
|
101
|
+
</p>
|
102
|
+
|
103
|
+
<h2>Primary Form Buttons</h2>
|
104
|
+
<p>
|
105
|
+
<a class="pure-button pure-button-primary" href="#">Anchor</a>
|
106
|
+
<button class="pure-button pure-button-primary">Button</button>
|
107
|
+
<input type="submit" class="pure-button pure-button-primary" value="Submit">
|
108
|
+
<input type="button" class="pure-button pure-button-primary" value="Input Button">
|
109
|
+
<input type="reset" class="pure-button pure-button-primary" value="Reset">
|
110
|
+
</p>
|
111
|
+
</body>
|
112
|
+
</html>
|
@@ -0,0 +1,149 @@
|
|
1
|
+
/* This page has Normalize.css form-specific style rules applied to a .pure-form context */
|
2
|
+
|
3
|
+
/* ==========
|
4
|
+
Forms Core
|
5
|
+
=========*/
|
6
|
+
|
7
|
+
/*
|
8
|
+
* Corrects margin displayed oddly in IE 6/7.
|
9
|
+
*/
|
10
|
+
|
11
|
+
.pure-form {
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
/*
|
16
|
+
* Define consistent border, margin, and padding.
|
17
|
+
*/
|
18
|
+
|
19
|
+
.pure-form fieldset {
|
20
|
+
border: 1px solid #c0c0c0;
|
21
|
+
margin: 0 2px;
|
22
|
+
padding: 0.35em 0.625em 0.75em;
|
23
|
+
}
|
24
|
+
|
25
|
+
/*
|
26
|
+
* 1. Corrects color not being inherited in IE 6/7/8/9.
|
27
|
+
* 2. Corrects text not wrapping in Firefox 3.
|
28
|
+
* 3. Corrects alignment displayed oddly in IE 6/7.
|
29
|
+
*/
|
30
|
+
|
31
|
+
.pure-form legend {
|
32
|
+
border: 0; /* 1 */
|
33
|
+
padding: 0;
|
34
|
+
white-space: normal; /* 2 */
|
35
|
+
*margin-left: -7px; /* 3 */
|
36
|
+
}
|
37
|
+
|
38
|
+
/*
|
39
|
+
* 1. Corrects font size not being inherited in all browsers.
|
40
|
+
* 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
|
41
|
+
* and Chrome.
|
42
|
+
* 3. Improves appearance and consistency in all browsers.
|
43
|
+
*/
|
44
|
+
|
45
|
+
.pure-form button,
|
46
|
+
.pure-form input,
|
47
|
+
.pure-form select,
|
48
|
+
.pure-form textarea {
|
49
|
+
font-size: 100%; /* 1 */
|
50
|
+
margin: 0; /* 2 */
|
51
|
+
vertical-align: baseline; /* 3 */
|
52
|
+
*vertical-align: middle; /* 3 */
|
53
|
+
}
|
54
|
+
|
55
|
+
/*
|
56
|
+
* Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
|
57
|
+
* the UA stylesheet.
|
58
|
+
*/
|
59
|
+
|
60
|
+
.pure-form button,
|
61
|
+
.pure-form input {
|
62
|
+
line-height: normal;
|
63
|
+
}
|
64
|
+
|
65
|
+
/*
|
66
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
67
|
+
* and `video` controls.
|
68
|
+
* 2. Corrects inability to style clickable `input` types in iOS.
|
69
|
+
* 3. Improves usability and consistency of cursor style between image-type
|
70
|
+
* `input` and others.
|
71
|
+
* 4. Removes inner spacing in IE 7 without affecting normal text inputs.
|
72
|
+
* Known issue: inner spacing remains in IE 6.
|
73
|
+
*/
|
74
|
+
|
75
|
+
.pure-form button,
|
76
|
+
.pure-form input[type="button"], /* 1 */
|
77
|
+
.pure-form input[type="reset"],
|
78
|
+
.pure-form input[type="submit"] {
|
79
|
+
-webkit-appearance: button; /* 2 */
|
80
|
+
cursor: pointer; /* 3 */
|
81
|
+
*overflow: visible; /* 4 */
|
82
|
+
}
|
83
|
+
|
84
|
+
/*
|
85
|
+
* Re-set default cursor for disabled elements.
|
86
|
+
*/
|
87
|
+
|
88
|
+
.pure-form button[disabled],
|
89
|
+
.pure-form input[disabled] {
|
90
|
+
cursor: default;
|
91
|
+
}
|
92
|
+
|
93
|
+
/*
|
94
|
+
* 1. Addresses box sizing set to content-box in IE 8/9.
|
95
|
+
* 2. Removes excess padding in IE 8/9.
|
96
|
+
* 3. Removes excess padding in IE 7.
|
97
|
+
* Known issue: excess padding remains in IE 6.
|
98
|
+
*/
|
99
|
+
|
100
|
+
.pure-form input[type="checkbox"],
|
101
|
+
.pure-form input[type="radio"] {
|
102
|
+
box-sizing: border-box; /* 1 */
|
103
|
+
padding: 0; /* 2 */
|
104
|
+
*height: 13px; /* 3 */
|
105
|
+
*width: 13px; /* 3 */
|
106
|
+
}
|
107
|
+
|
108
|
+
/*
|
109
|
+
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
|
110
|
+
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
|
111
|
+
* (include `-moz` to future-proof).
|
112
|
+
*/
|
113
|
+
|
114
|
+
.pure-form input[type="search"] {
|
115
|
+
-webkit-appearance: textfield; /* 1 */
|
116
|
+
-moz-box-sizing: content-box;
|
117
|
+
-webkit-box-sizing: content-box; /* 2 */
|
118
|
+
box-sizing: content-box;
|
119
|
+
}
|
120
|
+
|
121
|
+
/*
|
122
|
+
* Removes inner padding and search cancel button in Safari 5 and Chrome
|
123
|
+
* on OS X.
|
124
|
+
*/
|
125
|
+
|
126
|
+
.pure-form input[type="search"]::-webkit-search-cancel-button,
|
127
|
+
.pure-form input[type="search"]::-webkit-search-decoration {
|
128
|
+
-webkit-appearance: none;
|
129
|
+
}
|
130
|
+
|
131
|
+
/*
|
132
|
+
* Removes inner padding and border in Firefox 3+.
|
133
|
+
*/
|
134
|
+
|
135
|
+
.pure-form button::-moz-focus-inner,
|
136
|
+
.pure-form input::-moz-focus-inner {
|
137
|
+
border: 0;
|
138
|
+
padding: 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
/*
|
142
|
+
* 1. Removes default vertical scrollbar in IE 6/7/8/9.
|
143
|
+
* 2. Improves readability and alignment in all browsers.
|
144
|
+
*/
|
145
|
+
|
146
|
+
.pure-form textarea {
|
147
|
+
overflow: auto; /* 1 */
|
148
|
+
vertical-align: top; /* 2 */
|
149
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
@media only screen and (max-width : 480px) {
|
2
|
+
.pure-form button[type="submit"] {
|
3
|
+
margin: 0.7em 0 0;
|
4
|
+
}
|
5
|
+
|
6
|
+
.pure-form input[type="text"],
|
7
|
+
.pure-form input[type="password"],
|
8
|
+
.pure-form input[type="email"],
|
9
|
+
.pure-form input[type="url"],
|
10
|
+
.pure-form input[type="date"],
|
11
|
+
.pure-form input[type="month"],
|
12
|
+
.pure-form input[type="time"],
|
13
|
+
.pure-form input[type="datetime"],
|
14
|
+
.pure-form input[type="datetime-local"],
|
15
|
+
.pure-form input[type="week"],
|
16
|
+
.pure-form input[type="number"],
|
17
|
+
.pure-form input[type="search"],
|
18
|
+
.pure-form input[type="tel"],
|
19
|
+
.pure-form input[type="color"],
|
20
|
+
.pure-form label {
|
21
|
+
margin-bottom: 0.3em;
|
22
|
+
display: block;
|
23
|
+
}
|
24
|
+
|
25
|
+
.pure-group input[type="text"],
|
26
|
+
.pure-form input[type="password"],
|
27
|
+
.pure-form input[type="email"],
|
28
|
+
.pure-form input[type="url"],
|
29
|
+
.pure-form input[type="date"],
|
30
|
+
.pure-form input[type="month"],
|
31
|
+
.pure-form input[type="time"],
|
32
|
+
.pure-form input[type="datetime"],
|
33
|
+
.pure-form input[type="datetime-local"],
|
34
|
+
.pure-form input[type="week"],
|
35
|
+
.pure-form input[type="number"],
|
36
|
+
.pure-form input[type="search"],
|
37
|
+
.pure-form input[type="tel"],
|
38
|
+
.pure-form input[type="color"] {
|
39
|
+
margin-bottom: 0;
|
40
|
+
}
|
41
|
+
|
42
|
+
.pure-form-aligned .pure-control-group label {
|
43
|
+
margin-bottom: 0.3em;
|
44
|
+
text-align: left;
|
45
|
+
display: block;
|
46
|
+
width: 100%;
|
47
|
+
}
|
48
|
+
|
49
|
+
.pure-form-aligned .pure-controls {
|
50
|
+
margin: 1.5em 0 0 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
54
|
+
.pure-form .pure-help-inline,
|
55
|
+
.pure-form-message-inline,
|
56
|
+
.pure-form-message {
|
57
|
+
display: block;
|
58
|
+
font-size: 80%;
|
59
|
+
/* Increased bottom padding to make it group with its related input element. */
|
60
|
+
padding: 0.2em 0 0.8em;
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,244 @@
|
|
1
|
+
.pure-form input[type="text"],
|
2
|
+
.pure-form input[type="password"],
|
3
|
+
.pure-form input[type="email"],
|
4
|
+
.pure-form input[type="url"],
|
5
|
+
.pure-form input[type="date"],
|
6
|
+
.pure-form input[type="month"],
|
7
|
+
.pure-form input[type="time"],
|
8
|
+
.pure-form input[type="datetime"],
|
9
|
+
.pure-form input[type="datetime-local"],
|
10
|
+
.pure-form input[type="week"],
|
11
|
+
.pure-form input[type="number"],
|
12
|
+
.pure-form input[type="search"],
|
13
|
+
.pure-form input[type="tel"],
|
14
|
+
.pure-form input[type="color"],
|
15
|
+
.pure-form select,
|
16
|
+
.pure-form textarea {
|
17
|
+
padding: 0.5em 0.6em;
|
18
|
+
display: inline-block;
|
19
|
+
border: 1px solid #ccc;
|
20
|
+
font-size: 0.8em;
|
21
|
+
box-shadow: inset 0 1px 3px #ddd;
|
22
|
+
border-radius: 4px;
|
23
|
+
-webkit-transition: 0.3s linear border;
|
24
|
+
-moz-transition: 0.3s linear border;
|
25
|
+
-ms-transition: 0.3s linear border;
|
26
|
+
-o-transition: 0.3s linear border;
|
27
|
+
transition: 0.3s linear border;
|
28
|
+
-webkit-box-sizing: border-box;
|
29
|
+
-moz-box-sizing: border-box;
|
30
|
+
box-sizing: border-box;
|
31
|
+
-webkit-font-smoothing: antialiased;
|
32
|
+
}
|
33
|
+
|
34
|
+
.pure-form input[type="text"]:focus,
|
35
|
+
.pure-form input[type="password"]:focus,
|
36
|
+
.pure-form input[type="email"]:focus,
|
37
|
+
.pure-form input[type="url"]:focus,
|
38
|
+
.pure-form input[type="date"]:focus,
|
39
|
+
.pure-form input[type="month"]:focus,
|
40
|
+
.pure-form input[type="time"]:focus,
|
41
|
+
.pure-form input[type="datetime"]:focus,
|
42
|
+
.pure-form input[type="datetime-local"]:focus,
|
43
|
+
.pure-form input[type="week"]:focus,
|
44
|
+
.pure-form input[type="number"]:focus,
|
45
|
+
.pure-form input[type="search"]:focus,
|
46
|
+
.pure-form input[type="tel"]:focus,
|
47
|
+
.pure-form input[type="color"]:focus,
|
48
|
+
.pure-form select:focus,
|
49
|
+
.pure-form textarea:focus {
|
50
|
+
outline: 0;
|
51
|
+
outline: thin dotted \9; /* IE6-9 */
|
52
|
+
border-color: #129FEA;
|
53
|
+
}
|
54
|
+
|
55
|
+
.pure-form input[type="file"]:focus,
|
56
|
+
.pure-form input[type="radio"]:focus,
|
57
|
+
.pure-form input[type="checkbox"]:focus {
|
58
|
+
outline: thin dotted #333;
|
59
|
+
outline: 1px auto #129FEA;
|
60
|
+
}
|
61
|
+
.pure-form .pure-checkbox,
|
62
|
+
.pure-form .pure-radio {
|
63
|
+
margin: 0.5em 0;
|
64
|
+
display: block;
|
65
|
+
}
|
66
|
+
.pure-form input[type="text"][disabled],
|
67
|
+
.pure-form input[type="password"][disabled],
|
68
|
+
.pure-form input[type="email"][disabled],
|
69
|
+
.pure-form input[type="url"][disabled],
|
70
|
+
.pure-form input[type="date"][disabled],
|
71
|
+
.pure-form input[type="month"][disabled],
|
72
|
+
.pure-form input[type="time"][disabled],
|
73
|
+
.pure-form input[type="datetime"][disabled],
|
74
|
+
.pure-form input[type="datetime-local"][disabled],
|
75
|
+
.pure-form input[type="week"][disabled],
|
76
|
+
.pure-form input[type="number"][disabled],
|
77
|
+
.pure-form input[type="search"][disabled],
|
78
|
+
.pure-form input[type="tel"][disabled],
|
79
|
+
.pure-form input[type="color"][disabled],
|
80
|
+
.pure-form select[disabled],
|
81
|
+
.pure-form textarea[disabled],
|
82
|
+
.pure-form input[readonly],
|
83
|
+
.pure-form select[readonly],
|
84
|
+
.pure-form textarea[readonly] {
|
85
|
+
cursor: not-allowed;
|
86
|
+
background-color: #eaeded;
|
87
|
+
color: #cad2d3;
|
88
|
+
border-color: transparent;
|
89
|
+
}
|
90
|
+
.pure-form input:focus:invalid,
|
91
|
+
.pure-form textarea:focus:invalid,
|
92
|
+
.pure-form select:focus:invalid {
|
93
|
+
color: #b94a48;
|
94
|
+
border: 1px solid #ee5f5b;
|
95
|
+
}
|
96
|
+
.pure-form input:focus:invalid:focus,
|
97
|
+
.pure-form textarea:focus:invalid:focus,
|
98
|
+
.pure-form select:focus:invalid:focus {
|
99
|
+
border-color: #e9322d;
|
100
|
+
}
|
101
|
+
.pure-form input[type="file"]:focus:invalid:focus,
|
102
|
+
.pure-form input[type="radio"]:focus:invalid:focus,
|
103
|
+
.pure-form input[type="checkbox"]:focus:invalid:focus {
|
104
|
+
outline-color: #e9322d;
|
105
|
+
}
|
106
|
+
.pure-form select {
|
107
|
+
border: 1px solid #ccc;
|
108
|
+
background-color: white;
|
109
|
+
}
|
110
|
+
.pure-form select[multiple] {
|
111
|
+
height: auto;
|
112
|
+
}
|
113
|
+
.pure-form label {
|
114
|
+
margin: 0.5em 0 0.2em;
|
115
|
+
color: #999;
|
116
|
+
font-size: 90%;
|
117
|
+
}
|
118
|
+
.pure-form fieldset {
|
119
|
+
margin: 0;
|
120
|
+
padding: 0.35em 0 0.75em;
|
121
|
+
border: 0;
|
122
|
+
}
|
123
|
+
.pure-form legend {
|
124
|
+
display: block;
|
125
|
+
width: 100%;
|
126
|
+
padding: 0.3em 0;
|
127
|
+
margin-bottom: 0.3em;
|
128
|
+
font-size: 125%;
|
129
|
+
color: #333;
|
130
|
+
border-bottom: 1px solid #e5e5e5;
|
131
|
+
}
|
132
|
+
|
133
|
+
.pure-form-stacked input[type="text"],
|
134
|
+
.pure-form-stacked input[type="password"],
|
135
|
+
.pure-form-stacked input[type="email"],
|
136
|
+
.pure-form-stacked input[type="url"],
|
137
|
+
.pure-form-stacked input[type="date"],
|
138
|
+
.pure-form-stacked input[type="month"],
|
139
|
+
.pure-form-stacked input[type="time"],
|
140
|
+
.pure-form-stacked input[type="datetime"],
|
141
|
+
.pure-form-stacked input[type="datetime-local"],
|
142
|
+
.pure-form-stacked input[type="week"],
|
143
|
+
.pure-form-stacked input[type="number"],
|
144
|
+
.pure-form-stacked input[type="search"],
|
145
|
+
.pure-form-stacked input[type="tel"],
|
146
|
+
.pure-form-stacked input[type="color"],
|
147
|
+
.pure-form-stacked select,
|
148
|
+
.pure-form-stacked label {
|
149
|
+
display: block;
|
150
|
+
}
|
151
|
+
|
152
|
+
.pure-form-aligned input,
|
153
|
+
.pure-form-aligned textarea,
|
154
|
+
.pure-form-aligned select,
|
155
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
156
|
+
.pure-form-aligned .pure-help-inline,
|
157
|
+
.pure-form-message-inline {
|
158
|
+
display: inline-block;
|
159
|
+
*display: inline;
|
160
|
+
*zoom: 1;
|
161
|
+
vertical-align: middle;
|
162
|
+
}
|
163
|
+
|
164
|
+
/* Aligned Forms */
|
165
|
+
.pure-form-aligned .pure-control-group {
|
166
|
+
margin-bottom: 0.5em;
|
167
|
+
}
|
168
|
+
.pure-form-aligned .pure-control-group label {
|
169
|
+
text-align: right;
|
170
|
+
display: inline-block;
|
171
|
+
vertical-align: middle;
|
172
|
+
width: 10em;
|
173
|
+
margin: 0 1em 0 0;
|
174
|
+
}
|
175
|
+
.pure-form-aligned .pure-controls {
|
176
|
+
margin: 1.5em 0 0 10em;
|
177
|
+
}
|
178
|
+
|
179
|
+
/* Rounded Inputs */
|
180
|
+
.pure-form .pure-input-rounded {
|
181
|
+
border-radius: 20px;
|
182
|
+
padding-left: 1em;
|
183
|
+
}
|
184
|
+
|
185
|
+
/* Grouped Inputs */
|
186
|
+
.pure-form .pure-group fieldset {
|
187
|
+
margin-bottom: 10px;
|
188
|
+
}
|
189
|
+
.pure-form .pure-group input {
|
190
|
+
display: block;
|
191
|
+
padding: 10px;
|
192
|
+
margin: 0;
|
193
|
+
border-radius: 0;
|
194
|
+
position: relative;
|
195
|
+
top: -1px;
|
196
|
+
}
|
197
|
+
.pure-form .pure-group input:focus {
|
198
|
+
z-index: 2;
|
199
|
+
}
|
200
|
+
.pure-form .pure-group input:first-child {
|
201
|
+
top: 1px;
|
202
|
+
border-radius: 4px 4px 0 0;
|
203
|
+
}
|
204
|
+
.pure-form .pure-group input:last-child {
|
205
|
+
top: -2px;
|
206
|
+
border-radius: 0 0 4px 4px;
|
207
|
+
}
|
208
|
+
.pure-form .pure-group button {
|
209
|
+
margin: 0.35em 0;
|
210
|
+
}
|
211
|
+
|
212
|
+
.pure-form .pure-input-1 {
|
213
|
+
width: 100%;
|
214
|
+
}
|
215
|
+
.pure-form .pure-input-2-3 {
|
216
|
+
width: 66%;
|
217
|
+
}
|
218
|
+
.pure-form .pure-input-1-2 {
|
219
|
+
width: 50%;
|
220
|
+
}
|
221
|
+
.pure-form .pure-input-1-3 {
|
222
|
+
width: 33%;
|
223
|
+
}
|
224
|
+
.pure-form .pure-input-1-4 {
|
225
|
+
width: 25%;
|
226
|
+
}
|
227
|
+
|
228
|
+
/* Inline help for forms */
|
229
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
230
|
+
.pure-form .pure-help-inline,
|
231
|
+
.pure-form-message-inline {
|
232
|
+
display: inline-block;
|
233
|
+
padding-left: 0.3em;
|
234
|
+
color: #666;
|
235
|
+
vertical-align: middle;
|
236
|
+
font-size: 90%;
|
237
|
+
}
|
238
|
+
|
239
|
+
/* Block help for forms */
|
240
|
+
.pure-form-message {
|
241
|
+
display: block;
|
242
|
+
color: #666;
|
243
|
+
font-size: 90%;
|
244
|
+
}
|