pure-css-rails 0.5.0.1 → 0.6.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8669d49dec5fc5875db4df6da77379c0c74768b7
4
+ data.tar.gz: 43a382b83ff6861371f92fe8c3099e949f90cbc3
5
+ SHA512:
6
+ metadata.gz: 109b66a274b09cd46d4a9d71ff02c076e06abb8bdfd33a6be0d02adf3243df58d7ce954a31a66fc61271a6a1251efe3692e5aff0435bcdac603d568bbd697fda
7
+ data.tar.gz: 68f38f04a9aff772c2547100629a8e4d12256a70925a78694fa92796aab102fc07622ec51136d05517f7daa3a50ec2624bae5e7039d0b79226dfaa93ed8ecb57
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Pure CSS for Rails Asset Pipeline
2
2
 
3
- Based on [pure.css](http://purecss.io/) version 0.5.0.
3
+ Based on [pure.css](http://purecss.io/) version 0.6.0.
4
4
 
5
5
  ## Install
6
6
 
data/bkutil.pem CHANGED
@@ -1,20 +1,21 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDMjCCAhqgAwIBAgIBADANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZiYWxh
2
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZiYWxh
3
3
  enMxGDAWBgoJkiaJk/IsZAEZFghrdXRpbG92aTESMBAGCgmSJomT8ixkARkWAmN6
4
- MB4XDTE0MDIxMDIxMjIzNVoXDTE1MDIxMDIxMjIzNVowPzEPMA0GA1UEAwwGYmFs
4
+ MB4XDTE1MDMyOTEwMzc1MFoXDTE2MDMyODEwMzc1MFowPzEPMA0GA1UEAwwGYmFs
5
5
  YXpzMRgwFgYKCZImiZPyLGQBGRYIa3V0aWxvdmkxEjAQBgoJkiaJk/IsZAEZFgJj
6
- ejCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOJbF6x6zXyE0DmxUJ6f
7
- l9Ap5+hqj7gUQmGcyXn6SeXlb0XKomEiBoujMLB1k1Mt+vk+pRE0ftq4EgZ2oxt9
8
- 1BAgqm8v7FwixcMP7B/KWe566xjh6geBBsrfwksuAJcY7nmubZPlHysfwVRpLSCj
9
- ggxp3uR8E+n826ayRywdcyq2ipBBTjQScvyMsoeYdz7ZIdkyMbh6uQL2Ogo0vrIb
10
- yrBJpY7tP+P/FHUkdIbVX69KZin77yrZEGZ8mhLgUvLdv+oAtCvrhMr/gaRDI/qW
11
- ususUDe00dJ5WMIhLXbvpwJx74vKjVehFngTJ5rg+z7m4RzBqRfK+gR+0mMdOtje
12
- uzkCAwEAAaM5MDcwCQYDVR0TBAIwADAdBgNVHQ4EFgQUzgXepwysh3ZKvntHmVId
13
- aKJR9o8wCwYDVR0PBAQDAgSwMA0GCSqGSIb3DQEBBQUAA4IBAQDAkFpuRdwRvbFL
14
- 8k3gbDZI0Fngffn295bDcG1bY13JtXShyeNfTYfEVW+fEgIC7GQagIkl4E1R/2W+
15
- JAjpHtzCflanZBUgHOt0Aen5a3EkoeW5C6pzgYifwAk2HmqL3y8qcITG9aldJyOT
16
- y4PGbdgj4UhFETcsIXVx2vmwIZPdtvwJ/Twu3VwnntFder14AJg1WkOfuVUK6srJ
17
- 5COBU1zTpLtTUcrEOrxU4YdbXCNWWEBm73NZ7L/FimRFLfP1EB0blAryD1MN51Kw
18
- sE7Z6BEhPTyAp3JxKb+UeI87UXfFogj7E1rGSWDEq4ZH6g38k1AoVcasZCFNmowg
19
- Z2LYlQ5J
6
+ ejCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALFdvia8vMxbVz0+cFjN
7
+ N7UaIVZ3JaoOV4vQNnTaxdfx7WKE3G5c0p7bJVr0IZLwS7stj7CbkIJVGufG26AL
8
+ uolC7dOlF9TtJucNEJZnj8KRM/DGqsN+3wqZSPLFnK3bPhMCpD6myFUbPK0OaL3f
9
+ qHzxCp0HS53eF9GHf6ZzRjGkyWR+11guwQ9VPQUv4dhi9ErJDKwvbz74VUsitdM5
10
+ eC2tbtuBJnzF2oXeDhlVVp6LGDQguW6EbsI7ZNqmT9Fzrrm0MacHNXuai2shirn4
11
+ yolOnqZgdlUrkkZKOWFewt9PfHEOPmA7w+WgOe1MRaMth9mBCuZJ9dDwYjHWRD1m
12
+ SucCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEKN
13
+ gRJyqjN7p6cH+zo85I36FFsIMB0GA1UdEQQWMBSBEmJhbGF6c0BrdXRpbG92aS5j
14
+ ejAdBgNVHRIEFjAUgRJiYWxhenNAa3V0aWxvdmkuY3owDQYJKoZIhvcNAQEFBQAD
15
+ ggEBAKkmqqQsOyiNZXlk2ZWLtf99KCDudNeDxW4Na7TCYMj8RhMYmaB1Q+TZ+Gny
16
+ jV+d0rmy6EmdmakKLQ/fEtEVCXFErZyM4TVh4yUxGQVyWe/7aRJcTHg5oeZakCL7
17
+ +KPeXNPSaJ+kNESLHwSkVA3COCvHzvjuML8jI/UwZnq2ZDobdZXq+w+LnY3e7jiY
18
+ ryywXpbb2IgaNoulgpNUqMxzLdtEpiZw9W90GWSL1M1ebRsrJY7TE/ACQwHl55MY
19
+ 5mTTJdLY/9TxJN419UW1OaEbriwdXYUrbG+x79R9ubaQOxXooUd5VinCJwtDaWs1
20
+ ou5MlLDHwpbyqjZFJfcyHdTUsBA=
20
21
  -----END CERTIFICATE-----
@@ -1,5 +1,5 @@
1
1
  module PureCSS
2
2
  module Rails
3
- VERSION = "0.5.0.1"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
@@ -1,8 +1,8 @@
1
1
  /*!
2
- Pure v0.5.0
2
+ Pure v0.6.0
3
3
  Copyright 2014 Yahoo! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
- https://github.com/yui/pure/blob/master/LICENSE.md
5
+ https://github.com/yahoo/pure/blob/master/LICENSE.md
6
6
  */
7
7
  .pure-u-sm-1,
8
8
  .pure-u-sm-1-1,
@@ -1,8 +1,8 @@
1
1
  /*!
2
- Pure v0.5.0
2
+ Pure v0.6.0
3
3
  Copyright 2014 Yahoo! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
- https://github.com/yui/pure/blob/master/LICENSE.md
5
+ https://github.com/yahoo/pure/blob/master/LICENSE.md
6
6
  */
7
7
  @media screen and (min-width: 35.5em) {
8
8
  .pure-u-sm-1,
@@ -1,21 +1,43 @@
1
1
  /*!
2
- Pure v0.5.0
2
+ Pure v0.6.0
3
3
  Copyright 2014 Yahoo! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
- https://github.com/yui/pure/blob/master/LICENSE.md
5
+ https://github.com/yahoo/pure/blob/master/LICENSE.md
6
6
  */
7
7
  /*!
8
- normalize.css v1.1.3 | MIT License | git.io/normalize
8
+ normalize.css v^3.0 | MIT License | git.io/normalize
9
9
  Copyright (c) Nicolas Gallagher and Jonathan Neal
10
10
  */
11
- /*! normalize.css v1.1.3 | MIT License | git.io/normalize */
11
+ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
12
12
 
13
- /* ==========================================================================
14
- HTML5 display definitions
13
+ /**
14
+ * 1. Set default font family to sans-serif.
15
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
16
+ * user zoom.
17
+ */
18
+
19
+ html {
20
+ font-family: sans-serif; /* 1 */
21
+ -ms-text-size-adjust: 100%; /* 2 */
22
+ -webkit-text-size-adjust: 100%; /* 2 */
23
+ }
24
+
25
+ /**
26
+ * Remove default margin.
27
+ */
28
+
29
+ body {
30
+ margin: 0;
31
+ }
32
+
33
+ /* HTML5 display definitions
15
34
  ========================================================================== */
16
35
 
17
36
  /**
18
- * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
37
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
38
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
39
+ * and Firefox.
40
+ * Correct `block` display not defined for `main` in IE 11.
19
41
  */
20
42
 
21
43
  article,
@@ -27,22 +49,24 @@ footer,
27
49
  header,
28
50
  hgroup,
29
51
  main,
52
+ menu,
30
53
  nav,
31
54
  section,
32
55
  summary {
33
- display: block;
56
+ display: block;
34
57
  }
35
58
 
36
59
  /**
37
- * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
60
+ * 1. Correct `inline-block` display not defined in IE 8/9.
61
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
38
62
  */
39
63
 
40
64
  audio,
41
65
  canvas,
66
+ progress,
42
67
  video {
43
- display: inline-block;
44
- *display: inline;
45
- *zoom: 1;
68
+ display: inline-block; /* 1 */
69
+ vertical-align: baseline; /* 2 */
46
70
  }
47
71
 
48
72
  /**
@@ -51,67 +75,29 @@ video {
51
75
  */
52
76
 
53
77
  audio:not([controls]) {
54
- display: none;
55
- height: 0;
56
- }
57
-
58
- /**
59
- * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
60
- * Known issue: no IE 6 support.
61
- */
62
-
63
- [hidden] {
64
- display: none;
65
- }
66
-
67
- /* ==========================================================================
68
- Base
69
- ========================================================================== */
70
-
71
- /**
72
- * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
73
- * `em` units.
74
- * 2. Prevent iOS text size adjust after orientation change, without disabling
75
- * user zoom.
76
- */
77
-
78
- html {
79
- font-size: 100%; /* 1 */
80
- -ms-text-size-adjust: 100%; /* 2 */
81
- -webkit-text-size-adjust: 100%; /* 2 */
82
- }
83
-
84
- /**
85
- * Address `font-family` inconsistency between `textarea` and other form
86
- * elements.
87
- */
88
-
89
- html,
90
- button,
91
- input,
92
- select,
93
- textarea {
94
- font-family: sans-serif;
78
+ display: none;
79
+ height: 0;
95
80
  }
96
81
 
97
82
  /**
98
- * Address margins handled incorrectly in IE 6/7.
83
+ * Address `[hidden]` styling not present in IE 8/9/10.
84
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
99
85
  */
100
86
 
101
- body {
102
- margin: 0;
87
+ [hidden],
88
+ template {
89
+ display: none;
103
90
  }
104
91
 
105
- /* ==========================================================================
106
- Links
92
+ /* Links
107
93
  ========================================================================== */
108
94
 
109
95
  /**
110
- * Address `outline` inconsistency between Chrome and other browsers.
96
+ * Remove the gray background color from active links in IE 10.
111
97
  */
112
98
 
113
- a:focus {
114
- outline: thin dotted;
99
+ a {
100
+ background-color: transparent;
115
101
  }
116
102
 
117
103
  /**
@@ -120,146 +106,54 @@ a:focus {
120
106
 
121
107
  a:active,
122
108
  a:hover {
123
- outline: 0;
109
+ outline: 0;
124
110
  }
125
111
 
126
- /* ==========================================================================
127
- Typography
112
+ /* Text-level semantics
128
113
  ========================================================================== */
129
114
 
130
115
  /**
131
- * Address font sizes and margins set differently in IE 6/7.
132
- * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
133
- * and Chrome.
134
- */
135
-
136
- h1 {
137
- font-size: 2em;
138
- margin: 0.67em 0;
139
- }
140
-
141
- h2 {
142
- font-size: 1.5em;
143
- margin: 0.83em 0;
144
- }
145
-
146
- h3 {
147
- font-size: 1.17em;
148
- margin: 1em 0;
149
- }
150
-
151
- h4 {
152
- font-size: 1em;
153
- margin: 1.33em 0;
154
- }
155
-
156
- h5 {
157
- font-size: 0.83em;
158
- margin: 1.67em 0;
159
- }
160
-
161
- h6 {
162
- font-size: 0.67em;
163
- margin: 2.33em 0;
164
- }
165
-
166
- /**
167
- * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
116
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
168
117
  */
169
118
 
170
119
  abbr[title] {
171
- border-bottom: 1px dotted;
120
+ border-bottom: 1px dotted;
172
121
  }
173
122
 
174
123
  /**
175
- * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
124
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
176
125
  */
177
126
 
178
127
  b,
179
128
  strong {
180
- font-weight: bold;
181
- }
182
-
183
- blockquote {
184
- margin: 1em 40px;
129
+ font-weight: bold;
185
130
  }
186
131
 
187
132
  /**
188
- * Address styling not present in Safari 5 and Chrome.
133
+ * Address styling not present in Safari and Chrome.
189
134
  */
190
135
 
191
136
  dfn {
192
- font-style: italic;
137
+ font-style: italic;
193
138
  }
194
139
 
195
140
  /**
196
- * Address differences between Firefox and other browsers.
197
- * Known issue: no IE 6/7 normalization.
141
+ * Address variable `h1` font-size and margin within `section` and `article`
142
+ * contexts in Firefox 4+, Safari, and Chrome.
198
143
  */
199
144
 
200
- hr {
201
- -moz-box-sizing: content-box;
202
- box-sizing: content-box;
203
- height: 0;
145
+ h1 {
146
+ font-size: 2em;
147
+ margin: 0.67em 0;
204
148
  }
205
149
 
206
150
  /**
207
- * Address styling not present in IE 6/7/8/9.
151
+ * Address styling not present in IE 8/9.
208
152
  */
209
153
 
210
154
  mark {
211
- background: #ff0;
212
- color: #000;
213
- }
214
-
215
- /**
216
- * Address margins set differently in IE 6/7.
217
- */
218
-
219
- p,
220
- pre {
221
- margin: 1em 0;
222
- }
223
-
224
- /**
225
- * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
226
- */
227
-
228
- code,
229
- kbd,
230
- pre,
231
- samp {
232
- font-family: monospace, serif;
233
- _font-family: 'courier new', monospace;
234
- font-size: 1em;
235
- }
236
-
237
- /**
238
- * Improve readability of pre-formatted text in all browsers.
239
- */
240
-
241
- pre {
242
- white-space: pre;
243
- white-space: pre-wrap;
244
- word-wrap: break-word;
245
- }
246
-
247
- /**
248
- * Address CSS quotes not supported in IE 6/7.
249
- */
250
-
251
- q {
252
- quotes: none;
253
- }
254
-
255
- /**
256
- * Address `quotes` property not supported in Safari 4.
257
- */
258
-
259
- q:before,
260
- q:after {
261
- content: '';
262
- content: none;
155
+ background: #ff0;
156
+ color: #000;
263
157
  }
264
158
 
265
159
  /**
@@ -267,7 +161,7 @@ q:after {
267
161
  */
268
162
 
269
163
  small {
270
- font-size: 80%;
164
+ font-size: 80%;
271
165
  }
272
166
 
273
167
  /**
@@ -276,165 +170,123 @@ small {
276
170
 
277
171
  sub,
278
172
  sup {
279
- font-size: 75%;
280
- line-height: 0;
281
- position: relative;
282
- vertical-align: baseline;
173
+ font-size: 75%;
174
+ line-height: 0;
175
+ position: relative;
176
+ vertical-align: baseline;
283
177
  }
284
178
 
285
179
  sup {
286
- top: -0.5em;
180
+ top: -0.5em;
287
181
  }
288
182
 
289
183
  sub {
290
- bottom: -0.25em;
184
+ bottom: -0.25em;
291
185
  }
292
186
 
293
- /* ==========================================================================
294
- Lists
187
+ /* Embedded content
295
188
  ========================================================================== */
296
189
 
297
190
  /**
298
- * Address margins set differently in IE 6/7.
191
+ * Remove border when inside `a` element in IE 8/9/10.
299
192
  */
300
193
 
301
- dl,
302
- menu,
303
- ol,
304
- ul {
305
- margin: 1em 0;
306
- }
307
-
308
- dd {
309
- margin: 0 0 0 40px;
310
- }
311
-
312
- /**
313
- * Address paddings set differently in IE 6/7.
314
- */
315
-
316
- menu,
317
- ol,
318
- ul {
319
- padding: 0 0 0 40px;
194
+ img {
195
+ border: 0;
320
196
  }
321
197
 
322
198
  /**
323
- * Correct list images handled incorrectly in IE 7.
199
+ * Correct overflow not hidden in IE 9/10/11.
324
200
  */
325
201
 
326
- nav ul,
327
- nav ol {
328
- list-style: none;
329
- list-style-image: none;
202
+ svg:not(:root) {
203
+ overflow: hidden;
330
204
  }
331
205
 
332
- /* ==========================================================================
333
- Embedded content
206
+ /* Grouping content
334
207
  ========================================================================== */
335
208
 
336
209
  /**
337
- * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
338
- * 2. Improve image quality when scaled in IE 7.
210
+ * Address margin not present in IE 8/9 and Safari.
339
211
  */
340
212
 
341
- img {
342
- border: 0; /* 1 */
343
- -ms-interpolation-mode: bicubic; /* 2 */
213
+ figure {
214
+ margin: 1em 40px;
344
215
  }
345
216
 
346
217
  /**
347
- * Correct overflow displayed oddly in IE 9.
218
+ * Address differences between Firefox and other browsers.
348
219
  */
349
220
 
350
- svg:not(:root) {
351
- overflow: hidden;
221
+ hr {
222
+ -moz-box-sizing: content-box;
223
+ box-sizing: content-box;
224
+ height: 0;
352
225
  }
353
226
 
354
- /* ==========================================================================
355
- Figures
356
- ========================================================================== */
357
-
358
227
  /**
359
- * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
228
+ * Contain overflow in all browsers.
360
229
  */
361
230
 
362
- figure {
363
- margin: 0;
231
+ pre {
232
+ overflow: auto;
364
233
  }
365
234
 
366
- /* ==========================================================================
367
- Forms
368
- ========================================================================== */
369
-
370
235
  /**
371
- * Correct margin displayed oddly in IE 6/7.
236
+ * Address odd `em`-unit font size rendering in all browsers.
372
237
  */
373
238
 
374
- form {
375
- margin: 0;
239
+ code,
240
+ kbd,
241
+ pre,
242
+ samp {
243
+ font-family: monospace, monospace;
244
+ font-size: 1em;
376
245
  }
377
246
 
378
- /**
379
- * Define consistent border, margin, and padding.
380
- */
381
-
382
- fieldset {
383
- border: 1px solid #c0c0c0;
384
- margin: 0 2px;
385
- padding: 0.35em 0.625em 0.75em;
386
- }
247
+ /* Forms
248
+ ========================================================================== */
387
249
 
388
250
  /**
389
- * 1. Correct color not being inherited in IE 6/7/8/9.
390
- * 2. Correct text not wrapping in Firefox 3.
391
- * 3. Correct alignment displayed oddly in IE 6/7.
251
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
252
+ * styling of `select`, unless a `border` property is set.
392
253
  */
393
254
 
394
- legend {
395
- border: 0; /* 1 */
396
- padding: 0;
397
- white-space: normal; /* 2 */
398
- *margin-left: -7px; /* 3 */
399
- }
400
-
401
255
  /**
402
- * 1. Correct font size not being inherited in all browsers.
403
- * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
404
- * and Chrome.
405
- * 3. Improve appearance and consistency in all browsers.
256
+ * 1. Correct color not being inherited.
257
+ * Known issue: affects color of disabled elements.
258
+ * 2. Correct font properties not being inherited.
259
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
406
260
  */
407
261
 
408
262
  button,
409
263
  input,
264
+ optgroup,
410
265
  select,
411
266
  textarea {
412
- font-size: 100%; /* 1 */
413
- margin: 0; /* 2 */
414
- vertical-align: baseline; /* 3 */
415
- *vertical-align: middle; /* 3 */
267
+ color: inherit; /* 1 */
268
+ font: inherit; /* 2 */
269
+ margin: 0; /* 3 */
416
270
  }
417
271
 
418
272
  /**
419
- * Address Firefox 3+ setting `line-height` on `input` using `!important` in
420
- * the UA stylesheet.
273
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
421
274
  */
422
275
 
423
- button,
424
- input {
425
- line-height: normal;
276
+ button {
277
+ overflow: visible;
426
278
  }
427
279
 
428
280
  /**
429
281
  * Address inconsistent `text-transform` inheritance for `button` and `select`.
430
282
  * All other form control elements do not inherit `text-transform` values.
431
- * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
432
- * Correct `select` style inheritance in Firefox 4+ and Opera.
283
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
284
+ * Correct `select` style inheritance in Firefox.
433
285
  */
434
286
 
435
287
  button,
436
288
  select {
437
- text-transform: none;
289
+ text-transform: none;
438
290
  }
439
291
 
440
292
  /**
@@ -443,17 +295,14 @@ select {
443
295
  * 2. Correct inability to style clickable `input` types in iOS.
444
296
  * 3. Improve usability and consistency of cursor style between image-type
445
297
  * `input` and others.
446
- * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
447
- * Known issue: inner spacing remains in IE 6.
448
298
  */
449
299
 
450
300
  button,
451
301
  html input[type="button"], /* 1 */
452
302
  input[type="reset"],
453
303
  input[type="submit"] {
454
- -webkit-appearance: button; /* 2 */
455
- cursor: pointer; /* 3 */
456
- *overflow: visible; /* 4 */
304
+ -webkit-appearance: button; /* 2 */
305
+ cursor: pointer; /* 3 */
457
306
  }
458
307
 
459
308
  /**
@@ -462,69 +311,115 @@ input[type="submit"] {
462
311
 
463
312
  button[disabled],
464
313
  html input[disabled] {
465
- cursor: default;
314
+ cursor: default;
315
+ }
316
+
317
+ /**
318
+ * Remove inner padding and border in Firefox 4+.
319
+ */
320
+
321
+ button::-moz-focus-inner,
322
+ input::-moz-focus-inner {
323
+ border: 0;
324
+ padding: 0;
466
325
  }
467
326
 
468
327
  /**
469
- * 1. Address box sizing set to content-box in IE 8/9.
470
- * 2. Remove excess padding in IE 8/9.
471
- * 3. Remove excess padding in IE 7.
472
- * Known issue: excess padding remains in IE 6.
328
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
329
+ * the UA stylesheet.
330
+ */
331
+
332
+ input {
333
+ line-height: normal;
334
+ }
335
+
336
+ /**
337
+ * It's recommended that you don't attempt to style these elements.
338
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
339
+ *
340
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
341
+ * 2. Remove excess padding in IE 8/9/10.
473
342
  */
474
343
 
475
344
  input[type="checkbox"],
476
345
  input[type="radio"] {
477
- box-sizing: border-box; /* 1 */
478
- padding: 0; /* 2 */
479
- *height: 13px; /* 3 */
480
- *width: 13px; /* 3 */
346
+ box-sizing: border-box; /* 1 */
347
+ padding: 0; /* 2 */
481
348
  }
482
349
 
483
350
  /**
484
- * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
485
- * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
351
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
352
+ * `font-size` values of the `input`, it causes the cursor style of the
353
+ * decrement button to change from `default` to `text`.
354
+ */
355
+
356
+ input[type="number"]::-webkit-inner-spin-button,
357
+ input[type="number"]::-webkit-outer-spin-button {
358
+ height: auto;
359
+ }
360
+
361
+ /**
362
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
363
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
486
364
  * (include `-moz` to future-proof).
487
365
  */
488
366
 
489
367
  input[type="search"] {
490
- -webkit-appearance: textfield; /* 1 */
491
- -moz-box-sizing: content-box;
492
- -webkit-box-sizing: content-box; /* 2 */
493
- box-sizing: content-box;
368
+ -webkit-appearance: textfield; /* 1 */
369
+ -moz-box-sizing: content-box;
370
+ -webkit-box-sizing: content-box; /* 2 */
371
+ box-sizing: content-box;
494
372
  }
495
373
 
496
374
  /**
497
- * Remove inner padding and search cancel button in Safari 5 and Chrome
498
- * on OS X.
375
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
376
+ * Safari (but not Chrome) clips the cancel button when the search input has
377
+ * padding (and `textfield` appearance).
499
378
  */
500
379
 
501
380
  input[type="search"]::-webkit-search-cancel-button,
502
381
  input[type="search"]::-webkit-search-decoration {
503
- -webkit-appearance: none;
382
+ -webkit-appearance: none;
504
383
  }
505
384
 
506
385
  /**
507
- * Remove inner padding and border in Firefox 3+.
386
+ * Define consistent border, margin, and padding.
508
387
  */
509
388
 
510
- button::-moz-focus-inner,
511
- input::-moz-focus-inner {
512
- border: 0;
513
- padding: 0;
389
+ fieldset {
390
+ border: 1px solid #c0c0c0;
391
+ margin: 0 2px;
392
+ padding: 0.35em 0.625em 0.75em;
393
+ }
394
+
395
+ /**
396
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
397
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
398
+ */
399
+
400
+ legend {
401
+ border: 0; /* 1 */
402
+ padding: 0; /* 2 */
514
403
  }
515
404
 
516
405
  /**
517
- * 1. Remove default vertical scrollbar in IE 6/7/8/9.
518
- * 2. Improve readability and alignment in all browsers.
406
+ * Remove default vertical scrollbar in IE 8/9/10/11.
519
407
  */
520
408
 
521
409
  textarea {
522
- overflow: auto; /* 1 */
523
- vertical-align: top; /* 2 */
410
+ overflow: auto;
524
411
  }
525
412
 
526
- /* ==========================================================================
527
- Tables
413
+ /**
414
+ * Don't inherit the `font-weight` (applied by a rule above).
415
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
416
+ */
417
+
418
+ optgroup {
419
+ font-weight: bold;
420
+ }
421
+
422
+ /* Tables
528
423
  ========================================================================== */
529
424
 
530
425
  /**
@@ -532,8 +427,13 @@ textarea {
532
427
  */
533
428
 
534
429
  table {
535
- border-collapse: collapse;
536
- border-spacing: 0;
430
+ border-collapse: collapse;
431
+ border-spacing: 0;
432
+ }
433
+
434
+ td,
435
+ th {
436
+ padding: 0;
537
437
  }
538
438
 
539
439
  /*csslint important:false*/
@@ -550,6 +450,7 @@ table {
550
450
  * Always hide an element when it has the `hidden` HTML attribute.
551
451
  */
552
452
 
453
+ .hidden,
553
454
  [hidden] {
554
455
  display: none !important;
555
456
  }
@@ -574,7 +475,7 @@ table {
574
475
 
575
476
  /*
576
477
  Sets the font stack to fonts known to work properly with the above letter
577
- and word spacings. See: https://github.com/yui/pure/issues/41/
478
+ and word spacings. See: https://github.com/yahoo/pure/issues/41/
578
479
 
579
480
  The following font stack makes Pure Grids work on all known environments.
580
481
 
@@ -603,6 +504,11 @@ table {
603
504
  /* IE10 uses display: flexbox */
604
505
  display: -ms-flexbox;
605
506
  -ms-flex-flow: row wrap;
507
+
508
+ /* Prevents distributing space between rows */
509
+ -ms-align-content: flex-start;
510
+ -webkit-align-content: flex-start;
511
+ align-content: flex-start;
606
512
  }
607
513
 
608
514
  /* Opera as of 12 on Windows needs word-spacing.
@@ -846,11 +752,10 @@ this the same font stack that Normalize.css sets for the `body`.
846
752
  .pure-button {
847
753
  /* Structure */
848
754
  display: inline-block;
849
- *display: inline; /*IE 6/7*/
850
755
  zoom: 1;
851
756
  line-height: normal;
852
757
  white-space: nowrap;
853
- vertical-align: baseline;
758
+ vertical-align: middle;
854
759
  text-align: center;
855
760
  cursor: pointer;
856
761
  -webkit-user-drag: none;
@@ -858,6 +763,9 @@ this the same font stack that Normalize.css sets for the `body`.
858
763
  -moz-user-select: none;
859
764
  -ms-user-select: none;
860
765
  user-select: none;
766
+ -webkit-box-sizing: border-box;
767
+ -moz-box-sizing: border-box;
768
+ box-sizing: border-box;
861
769
  }
862
770
 
863
771
  /* Firefox: Get rid of the inner focus border */
@@ -871,12 +779,9 @@ this the same font stack that Normalize.css sets for the `body`.
871
779
  .pure-button {
872
780
  font-family: inherit;
873
781
  font-size: 100%;
874
- *font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
875
- *overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
876
782
  padding: 0.5em 1em;
877
783
  color: #444; /* rgba not supported (IE 8) */
878
784
  color: rgba(0, 0, 0, 0.80); /* rgba supported */
879
- *color: #444; /* IE 6 & 7 */
880
785
  border: 1px solid #999; /*IE 6/7/8*/
881
786
  border: none rgba(0, 0, 0, 0); /*IE9 + everything else*/
882
787
  background-color: #E6E6E6;
@@ -900,6 +805,7 @@ this the same font stack that Normalize.css sets for the `body`.
900
805
  .pure-button-active,
901
806
  .pure-button:active {
902
807
  box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
808
+ border-color: #000\9;
903
809
  }
904
810
 
905
811
  .pure-button[disabled],
@@ -936,6 +842,14 @@ a.pure-button-selected {
936
842
  color: #fff;
937
843
  }
938
844
 
845
+ /*csslint box-model:false*/
846
+ /*
847
+ Box-model set to false because we're setting a height on select elements, which
848
+ also have border and padding. This is done because some browsers don't render
849
+ the padding. We explicitly set the box-model for select elements to border-box,
850
+ so we can ignore the csslint warning.
851
+ */
852
+
939
853
  .pure-form input[type="text"],
940
854
  .pure-form input[type="password"],
941
855
  .pure-form input[type="email"],
@@ -957,6 +871,7 @@ a.pure-button-selected {
957
871
  border: 1px solid #ccc;
958
872
  box-shadow: inset 0 1px 3px #ddd;
959
873
  border-radius: 4px;
874
+ vertical-align: middle;
960
875
  -webkit-box-sizing: border-box;
961
876
  -moz-box-sizing: border-box;
962
877
  box-sizing: border-box;
@@ -1002,7 +917,6 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1002
917
  .pure-form select:focus,
1003
918
  .pure-form textarea:focus {
1004
919
  outline: 0;
1005
- outline: thin dotted \9; /* IE6-9 */
1006
920
  border-color: #129FEA;
1007
921
  }
1008
922
 
@@ -1012,14 +926,13 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1012
926
  */
1013
927
  .pure-form input:not([type]):focus {
1014
928
  outline: 0;
1015
- outline: thin dotted \9; /* IE6-9 */
1016
929
  border-color: #129FEA;
1017
930
  }
1018
931
 
1019
932
  .pure-form input[type="file"]:focus,
1020
933
  .pure-form input[type="radio"]:focus,
1021
934
  .pure-form input[type="checkbox"]:focus {
1022
- outline: thin dotted #333;
935
+ outline: thin solid #129FEA;
1023
936
  outline: 1px auto #129FEA;
1024
937
  }
1025
938
  .pure-form .pure-checkbox,
@@ -1061,7 +974,7 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1061
974
  .pure-form input[readonly],
1062
975
  .pure-form select[readonly],
1063
976
  .pure-form textarea[readonly] {
1064
- background: #eee; /* menu hover bg color */
977
+ background-color: #eee; /* menu hover bg color */
1065
978
  color: #777; /* menu text color */
1066
979
  border-color: #ccc;
1067
980
  }
@@ -1070,11 +983,6 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1070
983
  .pure-form textarea:focus:invalid,
1071
984
  .pure-form select:focus:invalid {
1072
985
  color: #b94a48;
1073
- border-color: #ee5f5b;
1074
- }
1075
- .pure-form input:focus:invalid:focus,
1076
- .pure-form textarea:focus:invalid:focus,
1077
- .pure-form select:focus:invalid:focus {
1078
986
  border-color: #e9322d;
1079
987
  }
1080
988
  .pure-form input[type="file"]:focus:invalid:focus,
@@ -1083,6 +991,8 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1083
991
  outline-color: #e9322d;
1084
992
  }
1085
993
  .pure-form select {
994
+ /* Normalizes the height; padding is not sufficient. */
995
+ height: 2.25em;
1086
996
  border: 1px solid #ccc;
1087
997
  background-color: white;
1088
998
  }
@@ -1120,6 +1030,7 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1120
1030
  .pure-form-stacked input[type="search"],
1121
1031
  .pure-form-stacked input[type="tel"],
1122
1032
  .pure-form-stacked input[type="color"],
1033
+ .pure-form-stacked input[type="file"],
1123
1034
  .pure-form-stacked select,
1124
1035
  .pure-form-stacked label,
1125
1036
  .pure-form-stacked textarea {
@@ -1162,7 +1073,7 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1162
1073
  margin: 0 1em 0 0;
1163
1074
  }
1164
1075
  .pure-form-aligned .pure-controls {
1165
- margin: 1.5em 0 0 10em;
1076
+ margin: 1.5em 0 0 11em;
1166
1077
  }
1167
1078
 
1168
1079
  /* Rounded Inputs */
@@ -1176,24 +1087,36 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1176
1087
  .pure-form .pure-group fieldset {
1177
1088
  margin-bottom: 10px;
1178
1089
  }
1179
- .pure-form .pure-group input {
1090
+ .pure-form .pure-group input,
1091
+ .pure-form .pure-group textarea {
1180
1092
  display: block;
1181
1093
  padding: 10px;
1182
- margin: 0;
1094
+ margin: 0 0 -1px;
1183
1095
  border-radius: 0;
1184
1096
  position: relative;
1185
1097
  top: -1px;
1186
1098
  }
1187
- .pure-form .pure-group input:focus {
1188
- z-index: 2;
1099
+ .pure-form .pure-group input:focus,
1100
+ .pure-form .pure-group textarea:focus {
1101
+ z-index: 3;
1189
1102
  }
1190
- .pure-form .pure-group input:first-child {
1103
+ .pure-form .pure-group input:first-child,
1104
+ .pure-form .pure-group textarea:first-child {
1191
1105
  top: 1px;
1192
1106
  border-radius: 4px 4px 0 0;
1107
+ margin: 0;
1193
1108
  }
1194
- .pure-form .pure-group input:last-child {
1109
+ .pure-form .pure-group input:first-child:last-child,
1110
+ .pure-form .pure-group textarea:first-child:last-child {
1111
+ top: 1px;
1112
+ border-radius: 4px;
1113
+ margin: 0;
1114
+ }
1115
+ .pure-form .pure-group input:last-child,
1116
+ .pure-form .pure-group textarea:last-child {
1195
1117
  top: -2px;
1196
1118
  border-radius: 0 0 4px 4px;
1119
+ margin: 0;
1197
1120
  }
1198
1121
  .pure-form .pure-group button {
1199
1122
  margin: 0.35em 0;
@@ -1233,108 +1156,58 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1233
1156
  font-size: 0.875em;
1234
1157
  }
1235
1158
 
1236
- /*csslint adjoining-classes:false, outline-none:false*/
1237
- /*TODO: Remove this lint rule override after a refactor of this code.*/
1159
+ /*csslint adjoining-classes: false, box-model:false*/
1160
+ .pure-menu {
1161
+ -webkit-box-sizing: border-box;
1162
+ -moz-box-sizing: border-box;
1163
+ box-sizing: border-box;
1164
+ }
1238
1165
 
1239
- .pure-menu ul {
1240
- position: absolute;
1241
- visibility: hidden;
1166
+ .pure-menu-fixed {
1167
+ position: fixed;
1168
+ left: 0;
1169
+ top: 0;
1170
+ z-index: 3;
1242
1171
  }
1243
1172
 
1244
- .pure-menu.pure-menu-open {
1245
- visibility: visible;
1246
- z-index: 2;
1247
- width: 100%;
1173
+ .pure-menu-list,
1174
+ .pure-menu-item {
1175
+ position: relative;
1248
1176
  }
1249
1177
 
1250
- .pure-menu ul {
1251
- left: -10000px;
1178
+ .pure-menu-list {
1252
1179
  list-style: none;
1253
1180
  margin: 0;
1254
1181
  padding: 0;
1255
- top: -10000px;
1256
- z-index: 1;
1257
- }
1258
-
1259
- .pure-menu > ul { position: relative; }
1260
-
1261
- .pure-menu-open > ul {
1262
- left: 0;
1263
- top: 0;
1264
- visibility: visible;
1265
1182
  }
1266
1183
 
1267
- .pure-menu-open > ul:focus {
1268
- outline: 0;
1184
+ .pure-menu-item {
1185
+ padding: 0;
1186
+ margin: 0;
1187
+ height: 100%;
1269
1188
  }
1270
1189
 
1271
- .pure-menu li { position: relative; }
1272
-
1273
- .pure-menu a,
1274
- .pure-menu .pure-menu-heading {
1190
+ .pure-menu-link,
1191
+ .pure-menu-heading {
1275
1192
  display: block;
1276
- color: inherit;
1277
- line-height: 1.5em;
1278
- padding: 5px 20px;
1279
1193
  text-decoration: none;
1280
1194
  white-space: nowrap;
1281
1195
  }
1282
1196
 
1283
- .pure-menu.pure-menu-horizontal > .pure-menu-heading {
1284
- display: inline-block;
1285
- *display: inline;
1286
- zoom: 1;
1287
- margin: 0;
1288
- vertical-align: middle;
1289
- }
1290
- .pure-menu.pure-menu-horizontal > ul {
1291
- display: inline-block;
1292
- *display: inline;
1293
- zoom: 1;
1294
- vertical-align: middle;
1295
- }
1296
-
1297
- .pure-menu li a { padding: 5px 20px; }
1298
-
1299
- .pure-menu-can-have-children > .pure-menu-label:after {
1300
- content: '\25B8';
1301
- float: right;
1302
- /* These specific fonts have the Unicode char we need. */
1303
- font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif;
1304
- margin-right: -20px;
1305
- margin-top: -1px;
1306
- }
1307
-
1308
- .pure-menu-can-have-children > .pure-menu-label {
1309
- padding-right: 30px;
1310
- }
1311
-
1312
- .pure-menu-separator {
1313
- background-color: #dfdfdf;
1314
- display: block;
1315
- height: 1px;
1316
- font-size: 0;
1317
- margin: 7px 2px;
1318
- overflow: hidden;
1319
- }
1320
-
1321
- .pure-menu-hidden {
1322
- display: none;
1323
- }
1324
-
1325
- /* FIXED MENU */
1326
- .pure-menu-fixed {
1327
- position: fixed;
1328
- top: 0;
1329
- left: 0;
1197
+ /* HORIZONTAL MENU */
1198
+ .pure-menu-horizontal {
1330
1199
  width: 100%;
1200
+ white-space: nowrap;
1331
1201
  }
1332
1202
 
1333
-
1334
- /* HORIZONTAL MENU CODE */
1203
+ .pure-menu-horizontal .pure-menu-list {
1204
+ display: inline-block;
1205
+ }
1335
1206
 
1336
1207
  /* Initial menus should be inline-block so that they are horizontal */
1337
- .pure-menu-horizontal li {
1208
+ .pure-menu-horizontal .pure-menu-item,
1209
+ .pure-menu-horizontal .pure-menu-heading,
1210
+ .pure-menu-horizontal .pure-menu-separator {
1338
1211
  display: inline-block;
1339
1212
  *display: inline;
1340
1213
  zoom: 1;
@@ -1342,175 +1215,122 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1342
1215
  }
1343
1216
 
1344
1217
  /* Submenus should still be display: block; */
1345
- .pure-menu-horizontal li li {
1218
+ .pure-menu-item .pure-menu-item {
1346
1219
  display: block;
1347
1220
  }
1348
1221
 
1349
- /* Content after should be down arrow */
1350
- .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label:after {
1351
- content: "\25BE";
1352
- }
1353
- /*Add extra padding to elements that have the arrow so that the hover looks nice */
1354
- .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
1355
- padding-right: 30px;
1222
+ .pure-menu-children {
1223
+ display: none;
1224
+ position: absolute;
1225
+ left: 100%;
1226
+ top: 0;
1227
+ margin: 0;
1228
+ padding: 0;
1229
+ z-index: 3;
1356
1230
  }
1357
1231
 
1358
- /* Adjusting separator for vertical menus */
1359
- .pure-menu-horizontal li.pure-menu-separator {
1360
- height: 50%;
1361
- width: 1px;
1362
- margin: 0 7px;
1232
+ .pure-menu-horizontal .pure-menu-children {
1233
+ left: 0;
1234
+ top: auto;
1235
+ width: inherit;
1363
1236
  }
1364
1237
 
1365
- /* Submenus should be horizontal separator again */
1366
- .pure-menu-horizontal li li.pure-menu-separator {
1367
- height: 1px;
1368
- width: auto;
1369
- margin: 7px 2px;
1238
+ .pure-menu-allow-hover:hover > .pure-menu-children,
1239
+ .pure-menu-active > .pure-menu-children {
1240
+ display: block;
1241
+ position: absolute;
1370
1242
  }
1371
1243
 
1372
-
1373
- /*csslint adjoining-classes:false*/
1374
- /*TODO: Remove this lint rule override after a refactor of this code.*/
1375
-
1376
- /* MAIN MENU STYLING */
1377
-
1378
- .pure-menu.pure-menu-open,
1379
- .pure-menu.pure-menu-horizontal li .pure-menu-children {
1380
- background: #fff; /* Old browsers */
1381
- border: 1px solid #b7b7b7;
1244
+ /* Vertical Menus - show the dropdown arrow */
1245
+ .pure-menu-has-children > .pure-menu-link:after {
1246
+ padding-left: 0.5em;
1247
+ content: "\25B8";
1248
+ font-size: small;
1382
1249
  }
1383
1250
 
1384
- /* remove borders for horizontal menus */
1385
- .pure-menu.pure-menu-horizontal,
1386
- .pure-menu.pure-menu-horizontal .pure-menu-heading {
1387
- border: none;
1251
+ /* Horizontal Menus - show the dropdown arrow */
1252
+ .pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {
1253
+ content: "\25BE";
1388
1254
  }
1389
1255
 
1390
-
1391
- /* LINK STYLES */
1392
-
1393
- .pure-menu a {
1394
- border: 1px solid transparent;
1395
- border-left: none;
1396
- border-right: none;
1397
-
1256
+ /* scrollable menus */
1257
+ .pure-menu-scrollable {
1258
+ overflow-y: scroll;
1259
+ overflow-x: hidden;
1398
1260
  }
1399
1261
 
1400
- .pure-menu a,
1401
- .pure-menu .pure-menu-can-have-children > li:after {
1402
- color: #777;
1262
+ .pure-menu-scrollable .pure-menu-list {
1263
+ display: block;
1403
1264
  }
1404
1265
 
1405
- .pure-menu .pure-menu-can-have-children > li:hover:after {
1406
- color: #fff;
1266
+ .pure-menu-horizontal.pure-menu-scrollable .pure-menu-list {
1267
+ display: inline-block;
1407
1268
  }
1408
1269
 
1409
- /* Focus style for a dropdown menu-item when the parent has been opened */
1410
- .pure-menu .pure-menu-open {
1411
- background: #dedede;
1270
+ .pure-menu-horizontal.pure-menu-scrollable {
1271
+ white-space: nowrap;
1272
+ overflow-y: hidden;
1273
+ overflow-x: auto;
1274
+ -ms-overflow-style: none;
1275
+ -webkit-overflow-scrolling: touch;
1276
+ /* a little extra padding for this style to allow for scrollbars */
1277
+ padding: .5em 0;
1412
1278
  }
1413
1279
 
1414
-
1415
- .pure-menu li a:hover,
1416
- .pure-menu li a:focus {
1417
- background: #eee;
1280
+ .pure-menu-horizontal.pure-menu-scrollable::-webkit-scrollbar {
1281
+ display: none;
1418
1282
  }
1419
1283
 
1420
- /* DISABLED STATES */
1421
- .pure-menu li.pure-menu-disabled a:hover,
1422
- .pure-menu li.pure-menu-disabled a:focus {
1423
- background: #fff;
1424
- color: #bfbfbf;
1425
- }
1284
+ /* misc default styling */
1426
1285
 
1427
- .pure-menu .pure-menu-disabled > a {
1428
- background-image: none;
1429
- border-color: transparent;
1430
- cursor: default;
1286
+ .pure-menu-separator {
1287
+ background-color: #ccc;
1288
+ height: 1px;
1289
+ margin: .3em 0;
1431
1290
  }
1432
1291
 
1433
- .pure-menu .pure-menu-disabled > a,
1434
- .pure-menu .pure-menu-can-have-children.pure-menu-disabled > a:after {
1435
- color: #bfbfbf;
1292
+ .pure-menu-horizontal .pure-menu-separator {
1293
+ width: 1px;
1294
+ height: 1.3em;
1295
+ margin: 0 .3em ;
1436
1296
  }
1437
1297
 
1438
- /* HEADINGS */
1439
- .pure-menu .pure-menu-heading {
1440
- color: #565d64;
1298
+ .pure-menu-heading {
1441
1299
  text-transform: uppercase;
1442
- font-size: 90%;
1443
- margin-top: 0.5em;
1444
- border-bottom-width: 1px;
1445
- border-bottom-style: solid;
1446
- border-bottom-color: #dfdfdf;
1300
+ color: #565d64;
1447
1301
  }
1448
1302
 
1449
- /* ACTIVE MENU ITEM */
1450
- .pure-menu .pure-menu-selected a {
1451
- color: #000;
1303
+ .pure-menu-link {
1304
+ color: #777;
1452
1305
  }
1453
1306
 
1454
- /* FIXED MENU */
1455
- .pure-menu.pure-menu-open.pure-menu-fixed {
1456
- border: none;
1457
- border-bottom: 1px solid #b7b7b7;
1307
+ .pure-menu-children {
1308
+ background-color: #fff;
1458
1309
  }
1459
1310
 
1460
- /*csslint box-model:false*/
1461
- /*TODO: Remove this lint rule override after a refactor of this code.*/
1462
-
1463
-
1464
- .pure-paginator {
1465
-
1466
- /* `pure-g` Grid styles */
1467
- letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
1468
- *letter-spacing: normal; /* reset IE < 8 */
1469
- *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
1470
- text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
1471
-
1472
- /* `pure-paginator` Specific styles */
1473
- list-style: none;
1474
- margin: 0;
1475
- padding: 0;
1476
- }
1477
- .opera-only :-o-prefocus,
1478
- .pure-paginator {
1479
- word-spacing: -0.43em;
1311
+ .pure-menu-link,
1312
+ .pure-menu-disabled,
1313
+ .pure-menu-heading {
1314
+ padding: .5em 1em;
1480
1315
  }
1481
1316
 
1482
- /* `pure-u` Grid styles */
1483
- .pure-paginator li {
1484
- display: inline-block;
1485
- *display: inline; /* IE < 8: fake inline-block */
1486
- zoom: 1;
1487
- letter-spacing: normal;
1488
- word-spacing: normal;
1489
- vertical-align: top;
1490
- text-rendering: auto;
1317
+ .pure-menu-disabled {
1318
+ opacity: .5;
1491
1319
  }
1492
1320
 
1493
-
1494
- .pure-paginator .pure-button {
1495
- border-radius: 0;
1496
- padding: 0.8em 1.4em;
1497
- vertical-align: top;
1498
- height: 1.1em;
1499
- }
1500
- .pure-paginator .pure-button:focus,
1501
- .pure-paginator .pure-button:active {
1502
- outline-style: none;
1503
- }
1504
- .pure-paginator .prev,
1505
- .pure-paginator .next {
1506
- color: #C0C1C3;
1507
- text-shadow: 0 -1px 0 rgba(0,0,0, 0.45);
1321
+ .pure-menu-disabled .pure-menu-link:hover {
1322
+ background-color: transparent;
1508
1323
  }
1509
- .pure-paginator .prev {
1510
- border-radius: 2px 0 0 2px;
1324
+
1325
+ .pure-menu-active > .pure-menu-link,
1326
+ .pure-menu-link:hover,
1327
+ .pure-menu-link:focus {
1328
+ background-color: #eee;
1511
1329
  }
1512
- .pure-paginator .next {
1513
- border-radius: 0 2px 2px 0;
1330
+
1331
+ .pure-menu-selected .pure-menu-link,
1332
+ .pure-menu-selected .pure-menu-link:visited {
1333
+ color: #000;
1514
1334
  }
1515
1335
 
1516
1336
  .pure-table {
@@ -1537,13 +1357,16 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1537
1357
  overflow: visible; /*to make ths where the title is really long work*/
1538
1358
  padding: 0.5em 1em; /* cell padding */
1539
1359
  }
1360
+
1361
+ /* Consider removing this next declaration block, as it causes problems when
1362
+ there's a rowspan on the first cell. Case added to the tests. issue#432 */
1540
1363
  .pure-table td:first-child,
1541
1364
  .pure-table th:first-child {
1542
1365
  border-left-width: 0;
1543
1366
  }
1544
1367
 
1545
1368
  .pure-table thead {
1546
- background: #e0e0e0;
1369
+ background-color: #e0e0e0;
1547
1370
  color: #000;
1548
1371
  text-align: left;
1549
1372
  vertical-align: bottom;
@@ -1570,8 +1393,7 @@ striping:
1570
1393
  .pure-table-bordered td {
1571
1394
  border-bottom: 1px solid #cbcbcb;
1572
1395
  }
1573
- .pure-table-bordered tbody > tr:last-child td,
1574
- .pure-table-horizontal tbody > tr:last-child td {
1396
+ .pure-table-bordered tbody > tr:last-child > td {
1575
1397
  border-bottom-width: 0;
1576
1398
  }
1577
1399
 
@@ -1583,6 +1405,6 @@ striping:
1583
1405
  border-width: 0 0 1px 0;
1584
1406
  border-bottom: 1px solid #cbcbcb;
1585
1407
  }
1586
- .pure-table-horizontal tbody > tr:last-child td {
1408
+ .pure-table-horizontal tbody > tr:last-child > td {
1587
1409
  border-bottom-width: 0;
1588
1410
  }