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,228 @@
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
+
118
+
119
+ /* MAIN MENU STYLING */
120
+
121
+ .pure-menu.pure-menu-open,
122
+ .pure-menu.pure-menu-horizontal li .pure-menu-children {
123
+ background: #ffffff; /* Old browsers */
124
+ border: 1px solid #b7b7b7;
125
+ }
126
+
127
+ /* remove borders for horizontal menus */
128
+ .pure-menu.pure-menu-horizontal, .pure-menu.pure-menu-horizontal .pure-menu-heading {
129
+ border: none;
130
+ }
131
+
132
+
133
+
134
+ /* LINK STYLES */
135
+
136
+ .pure-menu a {
137
+ border: 1px solid transparent;
138
+ border-left: none;
139
+ border-right: none;
140
+
141
+ }
142
+
143
+ .pure-menu a,
144
+ .pure-menu .pure-menu-can-have-children > li:after {
145
+ color: #777;
146
+ }
147
+
148
+ .pure-menu .pure-menu-can-have-children > li:hover:after {
149
+ color: #fff;
150
+ }
151
+
152
+
153
+
154
+ /* HOVER STATES */
155
+ .pure-menu li a:hover {
156
+ background: #eee;
157
+ }
158
+
159
+ /* DISABLED STATES */
160
+ .pure-menu li.pure-menu-disabled a:hover {
161
+ background: #fff;
162
+ color: #bfbfbf;
163
+ }
164
+
165
+ .pure-menu .pure-menu-disabled > a {
166
+ background-image: none;
167
+ border-color: transparent;
168
+ cursor: default;
169
+ }
170
+
171
+ .pure-menu .pure-menu-disabled > a,
172
+ .pure-menu .pure-menu-can-have-children.pure-menu-disabled > a:after {
173
+ color: #bfbfbf;
174
+ }
175
+
176
+ /* HEADINGS */
177
+ .pure-menu .pure-menu-heading {
178
+ color: #565d64;
179
+ text-transform: uppercase;
180
+ font-size:90%;
181
+ margin-top:0.5em;
182
+ border-bottom-width: 1px;
183
+ border-bottom-style: solid;
184
+ border-bottom-color: #dfdfdf;
185
+ }
186
+
187
+ /* ACTIVE MENU ITEM */
188
+ .pure-menu .pure-menu-selected a {
189
+ color: #000;
190
+ }
191
+
192
+ /* FIXED MENU */
193
+ .pure-menu.pure-menu-open.pure-menu-fixed {
194
+ border: none;
195
+ border-bottom: 1px solid #b7b7b7;
196
+ }
197
+
198
+ .pure-paginator {
199
+ list-style: none;
200
+ margin: 0;
201
+ padding: 0;
202
+ }
203
+ .pure-paginator li {
204
+ display: inline-block;
205
+ *display: inline;
206
+ /* IE 7 inline-block hack */
207
+ *zoom: 1;
208
+ margin: 0 -0.35em 0 0;
209
+ }
210
+ .pure-paginator .pure-button {
211
+ border-radius: 0;
212
+ padding: 0.8em 1.4em;
213
+ vertical-align: top;
214
+ height: 1.1em;
215
+ }
216
+ .pure-paginator .pure-button:focus {
217
+ outline-style: none;
218
+ }
219
+ .pure-paginator .prev, .pure-paginator .next {
220
+ color: #C0C1C3;
221
+ text-shadow: 0px -1px 0px rgba(0,0,0, 0.45);
222
+ }
223
+ .pure-paginator .prev {
224
+ border-radius: 2px 0 0 2px;
225
+ }
226
+ .pure-paginator .next {
227
+ border-radius: 0 2px 2px 0;
228
+ }
@@ -0,0 +1,37 @@
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-paginator {
8
+ list-style: none;
9
+ margin: 0;
10
+ padding: 0;
11
+ }
12
+ .pure-paginator li {
13
+ display: inline-block;
14
+ *display: inline;
15
+ /* IE 7 inline-block hack */
16
+ *zoom: 1;
17
+ margin: 0 -0.35em 0 0;
18
+ }
19
+ .pure-paginator .pure-button {
20
+ border-radius: 0;
21
+ padding: 0.8em 1.4em;
22
+ vertical-align: top;
23
+ height: 1.1em;
24
+ }
25
+ .pure-paginator .pure-button:focus {
26
+ outline-style: none;
27
+ }
28
+ .pure-paginator .prev, .pure-paginator .next {
29
+ color: #C0C1C3;
30
+ text-shadow: 0px -1px 0px rgba(0,0,0, 0.45);
31
+ }
32
+ .pure-paginator .prev {
33
+ border-radius: 2px 0 0 2px;
34
+ }
35
+ .pure-paginator .next {
36
+ border-radius: 0 2px 2px 0;
37
+ }
@@ -0,0 +1,243 @@
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
+
118
+
119
+ /* MAIN MENU STYLING */
120
+
121
+ .pure-menu.pure-menu-open,
122
+ .pure-menu.pure-menu-horizontal li .pure-menu-children {
123
+ background: #ffffff; /* Old browsers */
124
+ border: 1px solid #b7b7b7;
125
+ }
126
+
127
+ /* remove borders for horizontal menus */
128
+ .pure-menu.pure-menu-horizontal, .pure-menu.pure-menu-horizontal .pure-menu-heading {
129
+ border: none;
130
+ }
131
+
132
+
133
+
134
+ /* LINK STYLES */
135
+
136
+ .pure-menu a {
137
+ border: 1px solid transparent;
138
+ border-left: none;
139
+ border-right: none;
140
+
141
+ }
142
+
143
+ .pure-menu a,
144
+ .pure-menu .pure-menu-can-have-children > li:after {
145
+ color: #777;
146
+ }
147
+
148
+ .pure-menu .pure-menu-can-have-children > li:hover:after {
149
+ color: #fff;
150
+ }
151
+
152
+
153
+
154
+ /* HOVER STATES */
155
+ .pure-menu li a:hover {
156
+ background: #eee;
157
+ }
158
+
159
+ /* DISABLED STATES */
160
+ .pure-menu li.pure-menu-disabled a:hover {
161
+ background: #fff;
162
+ color: #bfbfbf;
163
+ }
164
+
165
+ .pure-menu .pure-menu-disabled > a {
166
+ background-image: none;
167
+ border-color: transparent;
168
+ cursor: default;
169
+ }
170
+
171
+ .pure-menu .pure-menu-disabled > a,
172
+ .pure-menu .pure-menu-can-have-children.pure-menu-disabled > a:after {
173
+ color: #bfbfbf;
174
+ }
175
+
176
+ /* HEADINGS */
177
+ .pure-menu .pure-menu-heading {
178
+ color: #565d64;
179
+ text-transform: uppercase;
180
+ font-size:90%;
181
+ margin-top:0.5em;
182
+ border-bottom-width: 1px;
183
+ border-bottom-style: solid;
184
+ border-bottom-color: #dfdfdf;
185
+ }
186
+
187
+ /* ACTIVE MENU ITEM */
188
+ .pure-menu .pure-menu-selected a {
189
+ color: #000;
190
+ }
191
+
192
+ /* FIXED MENU */
193
+ .pure-menu.pure-menu-open.pure-menu-fixed {
194
+ border: none;
195
+ border-bottom: 1px solid #b7b7b7;
196
+ }
197
+
198
+ .pure-paginator {
199
+ list-style: none;
200
+ margin: 0;
201
+ padding: 0;
202
+ }
203
+ .pure-paginator li {
204
+ display: inline-block;
205
+ *display: inline;
206
+ /* IE 7 inline-block hack */
207
+ *zoom: 1;
208
+ margin: 0 -0.35em 0 0;
209
+ }
210
+ .pure-paginator .pure-button {
211
+ border-radius: 0;
212
+ padding: 0.8em 1.4em;
213
+ vertical-align: top;
214
+ height: 1.1em;
215
+ }
216
+ .pure-paginator .pure-button:focus {
217
+ outline-style: none;
218
+ }
219
+ .pure-paginator .prev, .pure-paginator .next {
220
+ color: #C0C1C3;
221
+ text-shadow: 0px -1px 0px rgba(0,0,0, 0.45);
222
+ }
223
+ .pure-paginator .prev {
224
+ border-radius: 2px 0 0 2px;
225
+ }
226
+ .pure-paginator .next {
227
+ border-radius: 0 2px 2px 0;
228
+ }
229
+
230
+ /* RESPONSIVE */
231
+
232
+ @media (max-width: 480px) {
233
+
234
+ .pure-menu-horizontal {
235
+ width:100%;
236
+ }
237
+
238
+ .pure-menu-children li {
239
+ display: block;
240
+ border-bottom:1px solid block;
241
+ }
242
+
243
+ }