purecss 0.0.1alpha3 → 0.0.2

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.
Files changed (37) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +20 -9
  3. data/lib/purecss/generators/install_generator.rb +12 -8
  4. data/lib/purecss/version.rb +1 -1
  5. data/vendor/assets/stylesheets/{purecss/pure-nr-min.css → purecss-nr.css} +1 -1
  6. data/vendor/assets/stylesheets/{purecss/pure-min.css → purecss.css} +2 -2
  7. data/vendor/assets/stylesheets/purecss/base-context.css +243 -0
  8. data/vendor/assets/stylesheets/purecss/base.css +538 -0
  9. data/vendor/assets/stylesheets/purecss/buttons-core.css +33 -0
  10. data/vendor/assets/stylesheets/purecss/buttons.css +117 -0
  11. data/vendor/assets/stylesheets/purecss/forms-core.css +159 -0
  12. data/vendor/assets/stylesheets/purecss/forms-nr.css +327 -0
  13. data/vendor/assets/stylesheets/purecss/forms.css +359 -0
  14. data/vendor/assets/stylesheets/purecss/grids-core.css +30 -0
  15. data/vendor/assets/stylesheets/purecss/grids-nr.css +178 -0
  16. data/vendor/assets/stylesheets/purecss/grids-units.css +153 -0
  17. data/vendor/assets/stylesheets/purecss/grids.css +235 -0
  18. data/vendor/assets/stylesheets/purecss/menus-core.css +117 -0
  19. data/vendor/assets/stylesheets/purecss/menus-nr.css +228 -0
  20. data/vendor/assets/stylesheets/purecss/menus-paginator.css +37 -0
  21. data/vendor/assets/stylesheets/purecss/menus.css +243 -0
  22. data/vendor/assets/stylesheets/purecss/tables.css +92 -0
  23. metadata +23 -21
  24. data/.gitignore +0 -18
  25. data/Gemfile +0 -4
  26. data/LICENSE.txt +0 -22
  27. data/Rakefile +0 -1
  28. data/purecss.gemspec +0 -23
  29. data/vendor/assets/font/FontAwesome.otf +0 -0
  30. data/vendor/assets/font/fontawesome-webfont.eot +0 -0
  31. data/vendor/assets/font/fontawesome-webfont.svg +0 -339
  32. data/vendor/assets/font/fontawesome-webfont.ttf +0 -0
  33. data/vendor/assets/font/fontawesome-webfont.woff +0 -0
  34. data/vendor/assets/javascript/index.js +0 -1
  35. data/vendor/assets/javascript/purecss.js +0 -0
  36. data/vendor/assets/stylesheets/purecss/font-awesome.min.css +0 -24
  37. data/vendor/assets/stylesheets/purecss/index.css +0 -4
@@ -0,0 +1,153 @@
1
+ /*!
2
+ Pure v0.1.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
+ .pure-u-1,
8
+ .pure-u-1-2,
9
+ .pure-u-1-3,
10
+ .pure-u-2-3,
11
+ .pure-u-1-4,
12
+ .pure-u-3-4,
13
+ .pure-u-1-5,
14
+ .pure-u-2-5,
15
+ .pure-u-3-5,
16
+ .pure-u-4-5,
17
+ .pure-u-1-6,
18
+ .pure-u-5-6,
19
+ .pure-u-1-8,
20
+ .pure-u-3-8,
21
+ .pure-u-5-8,
22
+ .pure-u-7-8,
23
+ .pure-u-1-12,
24
+ .pure-u-5-12,
25
+ .pure-u-7-12,
26
+ .pure-u-11-12,
27
+ .pure-u-1-24,
28
+ .pure-u-5-24,
29
+ .pure-u-7-24,
30
+ .pure-u-11-24,
31
+ .pure-u-13-24,
32
+ .pure-u-17-24,
33
+ .pure-u-19-24,
34
+ .pure-u-23-24 {
35
+ display: inline-block;
36
+ zoom: 1; *display: inline; /* IE < 8: fake inline-block */
37
+ letter-spacing: normal;
38
+ word-spacing: normal;
39
+ vertical-align: top;
40
+ text-rendering: auto;
41
+ }
42
+
43
+ .pure-u-1 {
44
+ display: block;
45
+ }
46
+
47
+ .pure-u-1-2 {
48
+ width: 50%;
49
+ }
50
+
51
+ .pure-u-1-3 {
52
+ width: 33.33333%;
53
+ }
54
+
55
+ .pure-u-2-3 {
56
+ width: 66.66666%;
57
+ }
58
+
59
+ .pure-u-1-4 {
60
+ width: 25%;
61
+ }
62
+
63
+ .pure-u-3-4 {
64
+ width: 75%;
65
+ }
66
+
67
+ .pure-u-1-5 {
68
+ width: 20%;
69
+ }
70
+
71
+ .pure-u-2-5 {
72
+ width: 40%;
73
+ }
74
+
75
+ .pure-u-3-5 {
76
+ width: 60%;
77
+ }
78
+
79
+ .pure-u-4-5 {
80
+ width: 80%;
81
+ }
82
+
83
+ .pure-u-1-6 {
84
+ width: 16.656%;
85
+ }
86
+
87
+ .pure-u-5-6 {
88
+ width: 83.33%;
89
+ }
90
+
91
+ .pure-u-1-8 {
92
+ width: 12.5%;
93
+ }
94
+
95
+ .pure-u-3-8 {
96
+ width: 37.5%;
97
+ }
98
+
99
+ .pure-u-5-8 {
100
+ width: 62.5%;
101
+ }
102
+
103
+ .pure-u-7-8 {
104
+ width: 87.5%;
105
+ }
106
+
107
+ .pure-u-1-12 {
108
+ width: 8.3333%;
109
+ }
110
+
111
+ .pure-u-5-12 {
112
+ width: 41.6666%;
113
+ }
114
+
115
+ .pure-u-7-12 {
116
+ width: 58.3333%;
117
+ }
118
+
119
+ .pure-u-11-12 {
120
+ width: 91.6666%;
121
+ }
122
+
123
+ .pure-u-1-24 {
124
+ width: 4.1666%;
125
+ }
126
+
127
+ .pure-u-5-24 {
128
+ width: 20.8333%;
129
+ }
130
+
131
+ .pure-u-7-24 {
132
+ width: 29.1666%;
133
+ }
134
+
135
+ .pure-u-11-24 {
136
+ width: 45.8333%;
137
+ }
138
+
139
+ .pure-u-13-24 {
140
+ width: 54.1666%;
141
+ }
142
+
143
+ .pure-u-17-24 {
144
+ width: 70.8333%;
145
+ }
146
+
147
+ .pure-u-19-24 {
148
+ width: 79.1666%;
149
+ }
150
+
151
+ .pure-u-23-24 {
152
+ width: 95.8333%;
153
+ }
@@ -0,0 +1,235 @@
1
+ /*!
2
+ Pure v0.1.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
+ .pure-g {
8
+ letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
9
+ *letter-spacing: normal; /* reset IE < 8 */
10
+ *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
11
+ text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
12
+ }
13
+
14
+ /* Opera as of 12 on Windows needs word-spacing.
15
+ The ".opera-only" selector is used to prevent actual prefocus styling
16
+ and is not required in markup.
17
+ */
18
+ .opera-only :-o-prefocus,
19
+ .pure-g {
20
+ word-spacing: -0.43em;
21
+ }
22
+
23
+ .pure-u {
24
+ display: inline-block;
25
+ zoom: 1; *display: inline; /* IE < 8: fake inline-block */
26
+ letter-spacing: normal;
27
+ word-spacing: normal;
28
+ vertical-align: top;
29
+ text-rendering: auto;
30
+ }
31
+
32
+ .pure-u-1,
33
+ .pure-u-1-2,
34
+ .pure-u-1-3,
35
+ .pure-u-2-3,
36
+ .pure-u-1-4,
37
+ .pure-u-3-4,
38
+ .pure-u-1-5,
39
+ .pure-u-2-5,
40
+ .pure-u-3-5,
41
+ .pure-u-4-5,
42
+ .pure-u-1-6,
43
+ .pure-u-5-6,
44
+ .pure-u-1-8,
45
+ .pure-u-3-8,
46
+ .pure-u-5-8,
47
+ .pure-u-7-8,
48
+ .pure-u-1-12,
49
+ .pure-u-5-12,
50
+ .pure-u-7-12,
51
+ .pure-u-11-12,
52
+ .pure-u-1-24,
53
+ .pure-u-5-24,
54
+ .pure-u-7-24,
55
+ .pure-u-11-24,
56
+ .pure-u-13-24,
57
+ .pure-u-17-24,
58
+ .pure-u-19-24,
59
+ .pure-u-23-24 {
60
+ display: inline-block;
61
+ zoom: 1; *display: inline; /* IE < 8: fake inline-block */
62
+ letter-spacing: normal;
63
+ word-spacing: normal;
64
+ vertical-align: top;
65
+ text-rendering: auto;
66
+ }
67
+
68
+ .pure-u-1 {
69
+ display: block;
70
+ }
71
+
72
+ .pure-u-1-2 {
73
+ width: 50%;
74
+ }
75
+
76
+ .pure-u-1-3 {
77
+ width: 33.33333%;
78
+ }
79
+
80
+ .pure-u-2-3 {
81
+ width: 66.66666%;
82
+ }
83
+
84
+ .pure-u-1-4 {
85
+ width: 25%;
86
+ }
87
+
88
+ .pure-u-3-4 {
89
+ width: 75%;
90
+ }
91
+
92
+ .pure-u-1-5 {
93
+ width: 20%;
94
+ }
95
+
96
+ .pure-u-2-5 {
97
+ width: 40%;
98
+ }
99
+
100
+ .pure-u-3-5 {
101
+ width: 60%;
102
+ }
103
+
104
+ .pure-u-4-5 {
105
+ width: 80%;
106
+ }
107
+
108
+ .pure-u-1-6 {
109
+ width: 16.656%;
110
+ }
111
+
112
+ .pure-u-5-6 {
113
+ width: 83.33%;
114
+ }
115
+
116
+ .pure-u-1-8 {
117
+ width: 12.5%;
118
+ }
119
+
120
+ .pure-u-3-8 {
121
+ width: 37.5%;
122
+ }
123
+
124
+ .pure-u-5-8 {
125
+ width: 62.5%;
126
+ }
127
+
128
+ .pure-u-7-8 {
129
+ width: 87.5%;
130
+ }
131
+
132
+ .pure-u-1-12 {
133
+ width: 8.3333%;
134
+ }
135
+
136
+ .pure-u-5-12 {
137
+ width: 41.6666%;
138
+ }
139
+
140
+ .pure-u-7-12 {
141
+ width: 58.3333%;
142
+ }
143
+
144
+ .pure-u-11-12 {
145
+ width: 91.6666%;
146
+ }
147
+
148
+ .pure-u-1-24 {
149
+ width: 4.1666%;
150
+ }
151
+
152
+ .pure-u-5-24 {
153
+ width: 20.8333%;
154
+ }
155
+
156
+ .pure-u-7-24 {
157
+ width: 29.1666%;
158
+ }
159
+
160
+ .pure-u-11-24 {
161
+ width: 45.8333%;
162
+ }
163
+
164
+ .pure-u-13-24 {
165
+ width: 54.1666%;
166
+ }
167
+
168
+ .pure-u-17-24 {
169
+ width: 70.8333%;
170
+ }
171
+
172
+ .pure-u-19-24 {
173
+ width: 79.1666%;
174
+ }
175
+
176
+ .pure-u-23-24 {
177
+ width: 95.8333%;
178
+ }
179
+
180
+ .pure-g-r {
181
+ letter-spacing: -0.31em;
182
+ *letter-spacing: normal;
183
+ *word-spacing: -0.43em;
184
+ }
185
+
186
+ /* Opera as of 12 on Windows needs word-spacing.
187
+ The ".opera-only" selector is used to prevent actual prefocus styling
188
+ and is not required in markup.
189
+ */
190
+ .opera-only :-o-prefocus,
191
+ .pure-g-r {
192
+ word-spacing: -0.43em;
193
+ }
194
+
195
+ .pure-g-r img {
196
+ max-width: 100%;
197
+ }
198
+
199
+ @media (min-width:980px) {
200
+ .pure-visible-phone {
201
+ display: none;
202
+ }
203
+ .pure-visible-tablet {
204
+ display: none;
205
+ }
206
+ .pure-hidden-desktop {
207
+ display: none;
208
+ }
209
+ }
210
+ @media (max-width:480px) {
211
+ .pure-g-r > .pure-u,
212
+ .pure-g-r > [class *= "pure-u-"] {
213
+ width: 100%;
214
+ }
215
+ }
216
+ @media (max-width:767px) {
217
+ .pure-g-r > .pure-u,
218
+ .pure-g-r > [class *= "pure-u-"] {
219
+ width: 100%;
220
+ }
221
+ .pure-hidden-phone {
222
+ display: none;
223
+ }
224
+ .pure-visible-desktop {
225
+ display: none;
226
+ }
227
+ }
228
+ @media (min-width:768px) and (max-width:979px) {
229
+ .pure-hidden-tablet {
230
+ display: none;
231
+ }
232
+ .pure-visible-desktop {
233
+ display: none;
234
+ }
235
+ }
@@ -0,0 +1,117 @@
1
+ /*!
2
+ Pure v0.1.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
+ .pure-menu ul {
8
+ position: absolute;
9
+ visibility: hidden;
10
+ }
11
+
12
+ .pure-menu.pure-menu-open {
13
+ visibility: visible;
14
+ z-index: 2;
15
+ width: 100%;
16
+ }
17
+
18
+ .pure-menu ul {
19
+ left: -10000px;
20
+ list-style: none;
21
+ margin: 0;
22
+ padding: 0;
23
+ top: -10000px;
24
+ z-index: 1;
25
+ }
26
+
27
+ .pure-menu > ul { position: relative; }
28
+
29
+ .pure-menu-open > ul {
30
+ left: 0;
31
+ top: 0;
32
+ visibility: visible;
33
+ }
34
+
35
+ .pure-menu li { position: relative; }
36
+
37
+ .pure-menu a, .pure-menu .pure-menu-heading {
38
+ display: block;
39
+ color: inherit;
40
+ line-height: 1.5em;
41
+ padding: 5px 20px;
42
+ text-decoration: none;
43
+ white-space: nowrap;
44
+ }
45
+
46
+ .pure-menu.pure-menu-horizontal > .pure-menu-heading {
47
+ display: inline-block;
48
+ margin: 0;
49
+ zoom: 1;
50
+ *display: inline;
51
+ vertical-align: middle;
52
+ }
53
+ .pure-menu.pure-menu-horizontal > ul {
54
+ display: inline-block;
55
+ zoom: 1;
56
+ *display: inline;
57
+ vertical-align: middle;
58
+ }
59
+
60
+ .pure-menu li a { padding: 5px 20px; }
61
+
62
+ .pure-menu-can-have-children > .pure-menu-label:after {
63
+ content: '\25B8';
64
+ float: right;
65
+ font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif; /* These specific fonts have the Unicode char we need. */
66
+ margin-right: -20px;
67
+ margin-top: -1px;
68
+ }
69
+
70
+ .pure-menu-can-have-children > .pure-menu-label {
71
+ padding-right:30px;
72
+ }
73
+
74
+ .pure-menu-separator {
75
+ background-color: #dfdfdf;
76
+ display: block;
77
+ height: 1px;
78
+ font-size: 0;
79
+ margin: 7px 2px;
80
+ overflow: hidden;
81
+ }
82
+
83
+ .pure-menu-hidden { display: none; }
84
+
85
+ /* FIXED MENU */
86
+ .pure-menu-fixed {
87
+ position: fixed;
88
+ top:0;
89
+ left:0;
90
+ width: 100%;
91
+ }
92
+
93
+
94
+ /* HORIZONTAL MENU CODE */
95
+
96
+ /* Initial menus should be inline-block so that they are horizontal */
97
+ .pure-menu-horizontal li {
98
+ display: inline-block;
99
+ zoom: 1;
100
+ *display: inline;
101
+ vertical-align: middle;
102
+ }
103
+
104
+ /* Submenus should still be display:block; */
105
+ .pure-menu-horizontal li li {
106
+ display: block;
107
+ }
108
+
109
+ /* Content after should be down arrow */
110
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label:after {
111
+ content: "\25BE";
112
+ }
113
+ /*Add extra padding to elements that have the arrow so that the hover looks nice */
114
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
115
+ padding-right:30px;
116
+ }
117
+