purecss 0.0.11 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/HISTORY.md +20 -0
- data/README.md +2 -25
- data/app/assets/stylesheets/purecss-addons.css +1 -0
- data/lib/purecss/version.rb +1 -1
- data/vendor/assets/stylesheets/purecss-nr.css +4 -4
- data/vendor/assets/stylesheets/purecss.css +4 -4
- data/vendor/assets/stylesheets/purecss/base-context.css +1 -1
- data/vendor/assets/stylesheets/purecss/base.css +1 -1
- data/vendor/assets/stylesheets/purecss/buttons-core.css +2 -2
- data/vendor/assets/stylesheets/purecss/buttons.css +17 -22
- data/vendor/assets/stylesheets/purecss/forms-core.css +1 -1
- data/vendor/assets/stylesheets/purecss/forms-nr.css +153 -99
- data/vendor/assets/stylesheets/purecss/forms.css +213 -131
- data/vendor/assets/stylesheets/purecss/grids-core.css +1 -1
- data/vendor/assets/stylesheets/purecss/grids-nr.css +1 -1
- data/vendor/assets/stylesheets/purecss/grids-units.css +1 -1
- data/vendor/assets/stylesheets/purecss/grids.css +8 -5
- data/vendor/assets/stylesheets/purecss/menus-core.css +14 -8
- data/vendor/assets/stylesheets/purecss/menus-nr.css +25 -14
- data/vendor/assets/stylesheets/purecss/menus-paginator.css +3 -2
- data/vendor/assets/stylesheets/purecss/menus.css +26 -19
- data/vendor/assets/stylesheets/purecss/tables.css +4 -12
- metadata +3 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
2
|
+
Pure v0.2.1-pre
|
3
3
|
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
@@ -200,7 +200,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
200
200
|
max-width: 100%;
|
201
201
|
}
|
202
202
|
|
203
|
-
@media (min-width:980px) {
|
203
|
+
@media (min-width: 980px) {
|
204
204
|
.pure-visible-phone {
|
205
205
|
display: none;
|
206
206
|
}
|
@@ -211,13 +211,15 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
211
211
|
display: none;
|
212
212
|
}
|
213
213
|
}
|
214
|
-
|
214
|
+
|
215
|
+
@media (max-width: 480px) {
|
215
216
|
.pure-g-r > .pure-u,
|
216
217
|
.pure-g-r > [class *= "pure-u-"] {
|
217
218
|
width: 100%;
|
218
219
|
}
|
219
220
|
}
|
220
|
-
|
221
|
+
|
222
|
+
@media (max-width: 767px) {
|
221
223
|
.pure-g-r > .pure-u,
|
222
224
|
.pure-g-r > [class *= "pure-u-"] {
|
223
225
|
width: 100%;
|
@@ -229,7 +231,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
229
231
|
display: none;
|
230
232
|
}
|
231
233
|
}
|
232
|
-
|
234
|
+
|
235
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
233
236
|
.pure-hidden-tablet {
|
234
237
|
display: none;
|
235
238
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
2
|
+
Pure v0.2.1-pre
|
3
3
|
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
6
6
|
*/
|
7
|
-
/*csslint adjoining-classes:false*/
|
7
|
+
/*csslint adjoining-classes:false, outline-none:false*/
|
8
8
|
/*TODO: Remove this lint rule override after a refactor of this code.*/
|
9
9
|
|
10
10
|
.pure-menu ul {
|
@@ -35,9 +35,14 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
35
35
|
visibility: visible;
|
36
36
|
}
|
37
37
|
|
38
|
+
.pure-menu-open > ul:focus {
|
39
|
+
outline: 0;
|
40
|
+
}
|
41
|
+
|
38
42
|
.pure-menu li { position: relative; }
|
39
43
|
|
40
|
-
.pure-menu a,
|
44
|
+
.pure-menu a,
|
45
|
+
.pure-menu .pure-menu-heading {
|
41
46
|
display: block;
|
42
47
|
color: inherit;
|
43
48
|
line-height: 1.5em;
|
@@ -66,7 +71,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
66
71
|
.pure-menu-can-have-children > .pure-menu-label:after {
|
67
72
|
content: '\25B8';
|
68
73
|
float: right;
|
69
|
-
|
74
|
+
/* These specific fonts have the Unicode char we need. */
|
75
|
+
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif;
|
70
76
|
margin-right: -20px;
|
71
77
|
margin-top: -1px;
|
72
78
|
}
|
@@ -91,8 +97,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
91
97
|
/* FIXED MENU */
|
92
98
|
.pure-menu-fixed {
|
93
99
|
position: fixed;
|
94
|
-
top:0;
|
95
|
-
left:0;
|
100
|
+
top: 0;
|
101
|
+
left: 0;
|
96
102
|
width: 100%;
|
97
103
|
}
|
98
104
|
|
@@ -107,7 +113,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
107
113
|
vertical-align: middle;
|
108
114
|
}
|
109
115
|
|
110
|
-
/* Submenus should still be display:block; */
|
116
|
+
/* Submenus should still be display: block; */
|
111
117
|
.pure-menu-horizontal li li {
|
112
118
|
display: block;
|
113
119
|
}
|
@@ -118,7 +124,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
118
124
|
}
|
119
125
|
/*Add extra padding to elements that have the arrow so that the hover looks nice */
|
120
126
|
.pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
|
121
|
-
padding-right:30px;
|
127
|
+
padding-right: 30px;
|
122
128
|
}
|
123
129
|
|
124
130
|
/* Adjusting separator for vertical menus */
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
2
|
+
Pure v0.2.1-pre
|
3
3
|
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
6
6
|
*/
|
7
|
-
/*csslint adjoining-classes:false*/
|
7
|
+
/*csslint adjoining-classes:false, outline-none:false*/
|
8
8
|
/*TODO: Remove this lint rule override after a refactor of this code.*/
|
9
9
|
|
10
10
|
.pure-menu ul {
|
@@ -35,9 +35,14 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
35
35
|
visibility: visible;
|
36
36
|
}
|
37
37
|
|
38
|
+
.pure-menu-open > ul:focus {
|
39
|
+
outline: 0;
|
40
|
+
}
|
41
|
+
|
38
42
|
.pure-menu li { position: relative; }
|
39
43
|
|
40
|
-
.pure-menu a,
|
44
|
+
.pure-menu a,
|
45
|
+
.pure-menu .pure-menu-heading {
|
41
46
|
display: block;
|
42
47
|
color: inherit;
|
43
48
|
line-height: 1.5em;
|
@@ -66,7 +71,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
66
71
|
.pure-menu-can-have-children > .pure-menu-label:after {
|
67
72
|
content: '\25B8';
|
68
73
|
float: right;
|
69
|
-
|
74
|
+
/* These specific fonts have the Unicode char we need. */
|
75
|
+
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif;
|
70
76
|
margin-right: -20px;
|
71
77
|
margin-top: -1px;
|
72
78
|
}
|
@@ -91,8 +97,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
91
97
|
/* FIXED MENU */
|
92
98
|
.pure-menu-fixed {
|
93
99
|
position: fixed;
|
94
|
-
top:0;
|
95
|
-
left:0;
|
100
|
+
top: 0;
|
101
|
+
left: 0;
|
96
102
|
width: 100%;
|
97
103
|
}
|
98
104
|
|
@@ -107,7 +113,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
107
113
|
vertical-align: middle;
|
108
114
|
}
|
109
115
|
|
110
|
-
/* Submenus should still be display:block; */
|
116
|
+
/* Submenus should still be display: block; */
|
111
117
|
.pure-menu-horizontal li li {
|
112
118
|
display: block;
|
113
119
|
}
|
@@ -118,7 +124,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
118
124
|
}
|
119
125
|
/*Add extra padding to elements that have the arrow so that the hover looks nice */
|
120
126
|
.pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
|
121
|
-
padding-right:30px;
|
127
|
+
padding-right: 30px;
|
122
128
|
}
|
123
129
|
|
124
130
|
/* Adjusting separator for vertical menus */
|
@@ -143,7 +149,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
143
149
|
|
144
150
|
.pure-menu.pure-menu-open,
|
145
151
|
.pure-menu.pure-menu-horizontal li .pure-menu-children {
|
146
|
-
background: #
|
152
|
+
background: #fff; /* Old browsers */
|
147
153
|
border: 1px solid #b7b7b7;
|
148
154
|
}
|
149
155
|
|
@@ -154,7 +160,6 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
154
160
|
}
|
155
161
|
|
156
162
|
|
157
|
-
|
158
163
|
/* LINK STYLES */
|
159
164
|
|
160
165
|
.pure-menu a {
|
@@ -173,15 +178,20 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
173
178
|
color: #fff;
|
174
179
|
}
|
175
180
|
|
181
|
+
/* Focus style for a dropdown menu-item when the parent has been opened */
|
182
|
+
.pure-menu .pure-menu-open {
|
183
|
+
background: #dedede;
|
184
|
+
}
|
176
185
|
|
177
186
|
|
178
|
-
|
179
|
-
.pure-menu li a:
|
187
|
+
.pure-menu li a:hover,
|
188
|
+
.pure-menu li a:focus {
|
180
189
|
background: #eee;
|
181
190
|
}
|
182
191
|
|
183
192
|
/* DISABLED STATES */
|
184
|
-
.pure-menu li.pure-menu-disabled a:hover
|
193
|
+
.pure-menu li.pure-menu-disabled a:hover,
|
194
|
+
.pure-menu li.pure-menu-disabled a:focus {
|
185
195
|
background: #fff;
|
186
196
|
color: #bfbfbf;
|
187
197
|
}
|
@@ -242,7 +252,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
242
252
|
.pure-paginator .pure-button:focus {
|
243
253
|
outline-style: none;
|
244
254
|
}
|
245
|
-
.pure-paginator .prev,
|
255
|
+
.pure-paginator .prev,
|
256
|
+
.pure-paginator .next {
|
246
257
|
color: #C0C1C3;
|
247
258
|
text-shadow: 0 -1px 0 rgba(0,0,0, 0.45);
|
248
259
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
2
|
+
Pure v0.2.1-pre
|
3
3
|
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
@@ -27,7 +27,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
27
27
|
.pure-paginator .pure-button:focus {
|
28
28
|
outline-style: none;
|
29
29
|
}
|
30
|
-
.pure-paginator .prev,
|
30
|
+
.pure-paginator .prev,
|
31
|
+
.pure-paginator .next {
|
31
32
|
color: #C0C1C3;
|
32
33
|
text-shadow: 0 -1px 0 rgba(0,0,0, 0.45);
|
33
34
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
2
|
+
Pure v0.2.1-pre
|
3
3
|
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
6
6
|
*/
|
7
|
-
/*csslint adjoining-classes:false*/
|
7
|
+
/*csslint adjoining-classes:false, outline-none:false*/
|
8
8
|
/*TODO: Remove this lint rule override after a refactor of this code.*/
|
9
9
|
|
10
10
|
.pure-menu ul {
|
@@ -35,9 +35,14 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
35
35
|
visibility: visible;
|
36
36
|
}
|
37
37
|
|
38
|
+
.pure-menu-open > ul:focus {
|
39
|
+
outline: 0;
|
40
|
+
}
|
41
|
+
|
38
42
|
.pure-menu li { position: relative; }
|
39
43
|
|
40
|
-
.pure-menu a,
|
44
|
+
.pure-menu a,
|
45
|
+
.pure-menu .pure-menu-heading {
|
41
46
|
display: block;
|
42
47
|
color: inherit;
|
43
48
|
line-height: 1.5em;
|
@@ -66,7 +71,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
66
71
|
.pure-menu-can-have-children > .pure-menu-label:after {
|
67
72
|
content: '\25B8';
|
68
73
|
float: right;
|
69
|
-
|
74
|
+
/* These specific fonts have the Unicode char we need. */
|
75
|
+
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif;
|
70
76
|
margin-right: -20px;
|
71
77
|
margin-top: -1px;
|
72
78
|
}
|
@@ -91,8 +97,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
91
97
|
/* FIXED MENU */
|
92
98
|
.pure-menu-fixed {
|
93
99
|
position: fixed;
|
94
|
-
top:0;
|
95
|
-
left:0;
|
100
|
+
top: 0;
|
101
|
+
left: 0;
|
96
102
|
width: 100%;
|
97
103
|
}
|
98
104
|
|
@@ -107,7 +113,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
107
113
|
vertical-align: middle;
|
108
114
|
}
|
109
115
|
|
110
|
-
/* Submenus should still be display:block; */
|
116
|
+
/* Submenus should still be display: block; */
|
111
117
|
.pure-menu-horizontal li li {
|
112
118
|
display: block;
|
113
119
|
}
|
@@ -118,7 +124,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
118
124
|
}
|
119
125
|
/*Add extra padding to elements that have the arrow so that the hover looks nice */
|
120
126
|
.pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
|
121
|
-
padding-right:30px;
|
127
|
+
padding-right: 30px;
|
122
128
|
}
|
123
129
|
|
124
130
|
/* Adjusting separator for vertical menus */
|
@@ -143,7 +149,7 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
143
149
|
|
144
150
|
.pure-menu.pure-menu-open,
|
145
151
|
.pure-menu.pure-menu-horizontal li .pure-menu-children {
|
146
|
-
background: #
|
152
|
+
background: #fff; /* Old browsers */
|
147
153
|
border: 1px solid #b7b7b7;
|
148
154
|
}
|
149
155
|
|
@@ -154,7 +160,6 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
154
160
|
}
|
155
161
|
|
156
162
|
|
157
|
-
|
158
163
|
/* LINK STYLES */
|
159
164
|
|
160
165
|
.pure-menu a {
|
@@ -173,15 +178,20 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
173
178
|
color: #fff;
|
174
179
|
}
|
175
180
|
|
181
|
+
/* Focus style for a dropdown menu-item when the parent has been opened */
|
182
|
+
.pure-menu .pure-menu-open {
|
183
|
+
background: #dedede;
|
184
|
+
}
|
176
185
|
|
177
186
|
|
178
|
-
|
179
|
-
.pure-menu li a:
|
187
|
+
.pure-menu li a:hover,
|
188
|
+
.pure-menu li a:focus {
|
180
189
|
background: #eee;
|
181
190
|
}
|
182
191
|
|
183
192
|
/* DISABLED STATES */
|
184
|
-
.pure-menu li.pure-menu-disabled a:hover
|
193
|
+
.pure-menu li.pure-menu-disabled a:hover,
|
194
|
+
.pure-menu li.pure-menu-disabled a:focus {
|
185
195
|
background: #fff;
|
186
196
|
color: #bfbfbf;
|
187
197
|
}
|
@@ -242,7 +252,8 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
242
252
|
.pure-paginator .pure-button:focus {
|
243
253
|
outline-style: none;
|
244
254
|
}
|
245
|
-
.pure-paginator .prev,
|
255
|
+
.pure-paginator .prev,
|
256
|
+
.pure-paginator .next {
|
246
257
|
color: #C0C1C3;
|
247
258
|
text-shadow: 0 -1px 0 rgba(0,0,0, 0.45);
|
248
259
|
}
|
@@ -253,17 +264,13 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
253
264
|
border-radius: 0 2px 2px 0;
|
254
265
|
}
|
255
266
|
|
256
|
-
/* RESPONSIVE */
|
257
|
-
|
258
267
|
@media (max-width: 480px) {
|
259
|
-
|
260
268
|
.pure-menu-horizontal {
|
261
|
-
width:100%;
|
269
|
+
width: 100%;
|
262
270
|
}
|
263
271
|
|
264
272
|
.pure-menu-children li {
|
265
273
|
display: block;
|
266
274
|
border-bottom: 1px solid black;
|
267
275
|
}
|
268
|
-
|
269
276
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
2
|
+
Pure v0.2.1-pre
|
3
3
|
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
@@ -8,14 +8,6 @@ https://github.com/yui/pure/blob/master/LICENSE.md
|
|
8
8
|
normalize.css v1.1.2 | MIT License | git.io/normalize
|
9
9
|
Copyright (c) Nicolas Gallagher and Jonathan Neal
|
10
10
|
*/
|
11
|
-
/*
|
12
|
-
* CSS TABLES
|
13
|
-
* ==========
|
14
|
-
* Simple CSS for HTML Tables
|
15
|
-
* Author: tilomitra
|
16
|
-
*/
|
17
|
-
|
18
|
-
/* foundational CSS */
|
19
11
|
.pure-table {
|
20
12
|
/* Remove spacing between table cells (from Normalize.css) */
|
21
13
|
border-collapse: collapse;
|
@@ -56,7 +48,7 @@ Copyright (c) Nicolas Gallagher and Jonathan Neal
|
|
56
48
|
/*
|
57
49
|
striping:
|
58
50
|
even - #fff (white)
|
59
|
-
odd - #
|
51
|
+
odd - #f2f2f2 (light gray)
|
60
52
|
*/
|
61
53
|
.pure-table td {
|
62
54
|
background-color: transparent;
|
@@ -72,7 +64,7 @@ striping:
|
|
72
64
|
|
73
65
|
/* BORDERED TABLES */
|
74
66
|
.pure-table-bordered td {
|
75
|
-
border-bottom:1px solid #cbcbcb;
|
67
|
+
border-bottom: 1px solid #cbcbcb;
|
76
68
|
}
|
77
69
|
.pure-table-bordered tbody > tr:last-child td,
|
78
70
|
.pure-table-horizontal tbody > tr:last-child td {
|
@@ -85,7 +77,7 @@ striping:
|
|
85
77
|
.pure-table-horizontal td,
|
86
78
|
.pure-table-horizontal th {
|
87
79
|
border-width: 0 0 1px 0;
|
88
|
-
border-bottom:1px solid #cbcbcb;
|
80
|
+
border-bottom: 1px solid #cbcbcb;
|
89
81
|
}
|
90
82
|
.pure-table-horizontal tbody > tr:last-child td {
|
91
83
|
border-bottom-width: 0;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purecss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mseri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- vendor/assets/stylesheets/purecss-nr.css
|
88
88
|
- vendor/assets/stylesheets/purecss.css
|
89
89
|
- README.md
|
90
|
+
- HISTORY.md
|
90
91
|
homepage: https://github.com/mseri/rails-purecss
|
91
92
|
licenses:
|
92
93
|
- MIT
|