immunoscore_results_aggregator 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2696c73a91de448c6dc361bc20b947a50d91d39
4
- data.tar.gz: 0febea3d5ec933ec1f67c059d80954520a862e69
3
+ metadata.gz: 58ab0b770fdd4e28ac33f58ed0f55bd396da1a34
4
+ data.tar.gz: 76ccfdcb3b7dc8ab6dcad1978a5c421a8a1efd6c
5
5
  SHA512:
6
- metadata.gz: 94f478fb1803e544812b6b0ae2d938c35e0505afc790cd5008996317d5f48d5072719ff009da44a79870e7ae276f57e6c6558b87dcc4f4556a800739168ceb55
7
- data.tar.gz: d0892c1725ecd33d007abfd18ed2899d61e7a4a671c51cc569e67b322cbca432edf3379ece50c69883e65359e562c23224980d58dbdc3abee7121320f74a33e0
6
+ metadata.gz: a6a1785943035ec3868bdaac8eb513eecf387b29eccc4a6b836bf8d298f6086dd540fd52ff3817d00ef270dfca7f11a335e8c891686a2e55aa2b1c708d717174
7
+ data.tar.gz: 605d52f7c739a600a1eb2fa4617760b4fc5a78557e4f2e7edcbcdee5f648a5c1fd20bba43a0cc9af7a195de6e511aad65f2f15f1d1efde6acc06c37612d178a8
data/Gemfile CHANGED
@@ -5,6 +5,7 @@ gem 'gibberish'
5
5
  gem 'bicrypt'
6
6
  gem "thor"
7
7
  gem "bson_ext"
8
+ gem "i18n", "0.6.4"
8
9
 
9
10
 
10
11
 
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GEM
13
13
  bson (~> 1.11.1)
14
14
  builder (3.0.4)
15
15
  gibberish (1.4.0)
16
- i18n (0.6.11)
16
+ i18n (0.6.4)
17
17
  mongo (1.11.1)
18
18
  bson (= 1.11.1)
19
19
  mongo_mapper (0.12.0)
@@ -32,5 +32,6 @@ DEPENDENCIES
32
32
  bicrypt
33
33
  bson_ext
34
34
  gibberish
35
+ i18n (= 0.6.4)
35
36
  mongo_mapper (= 0.12.0)
36
37
  thor
@@ -36,7 +36,7 @@ class CliSummary < Thor # [1]
36
36
  # def list(search="")
37
37
  # # list everything
38
38
  # end
39
- desc "export_summary_csv [N]", "merges and exports all stat results; export filename as an argument "
39
+ desc "export_summary_csv [export filename]", "merges and exports all stat results; export filename as an argument "
40
40
  def export_summary_csv all_results_file_name="all_definiens_results_#{Date.today.to_s}.csv"
41
41
  write_stats_csv all_results_file_name
42
42
  puts "\n\n\n"
@@ -61,7 +61,7 @@ class CliSummary < Thor # [1]
61
61
  def show_config
62
62
  ShowConfig.show_config
63
63
  end
64
- desc "edit config", "edit config file; no argumens"
64
+ desc "edit_config", "edit config file; will open file in emacs; no argumens"
65
65
  def edit_config
66
66
  begin
67
67
  `emacs #{ShowConfig.show_config}`
@@ -5,7 +5,7 @@ require 'immunoscore_results_aggregator/version'
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'immunoscore_results_aggregator'
8
- s.version = '0.0.9'
8
+ s.version = '0.1.0'
9
9
  s.date = '2014-10-01'
10
10
  s.add_runtime_dependency 'bundler', '~> 1.6', '= 1.7'
11
11
  s.add_runtime_dependency "mongo_mapper", '0.12.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immunoscore_results_aggregator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlo Bifulco
@@ -129,24 +129,6 @@ files:
129
129
  - bin/immunoscore_cli.rb
130
130
  - config.rb
131
131
  - data_struct.rb
132
- - docs/aggregator.html
133
- - docs/analyzer.html
134
- - docs/data_struct.html
135
- - docs/database_connection.html
136
- - docs/docco.css
137
- - docs/exporter.html
138
- - docs/immunoscore_results_loader.html
139
- - docs/public/fonts/aller-bold.eot
140
- - docs/public/fonts/aller-bold.ttf
141
- - docs/public/fonts/aller-bold.woff
142
- - docs/public/fonts/aller-light.eot
143
- - docs/public/fonts/aller-light.ttf
144
- - docs/public/fonts/aller-light.woff
145
- - docs/public/fonts/novecento-bold.eot
146
- - docs/public/fonts/novecento-bold.ttf
147
- - docs/public/fonts/novecento-bold.woff
148
- - docs/public/stylesheets/normalize.css
149
- - docs/semicolon_cleaner.html
150
132
  - immunoscore_results_aggregator.gemspec
151
133
  - immunoscore_results_aggregator.rb
152
134
  - lib/analyzer.rb
data/docs/docco.css DELETED
@@ -1,506 +0,0 @@
1
- /*--------------------- Typography ----------------------------*/
2
-
3
- @font-face {
4
- font-family: 'aller-light';
5
- src: url('public/fonts/aller-light.eot');
6
- src: url('public/fonts/aller-light.eot?#iefix') format('embedded-opentype'),
7
- url('public/fonts/aller-light.woff') format('woff'),
8
- url('public/fonts/aller-light.ttf') format('truetype');
9
- font-weight: normal;
10
- font-style: normal;
11
- }
12
-
13
- @font-face {
14
- font-family: 'aller-bold';
15
- src: url('public/fonts/aller-bold.eot');
16
- src: url('public/fonts/aller-bold.eot?#iefix') format('embedded-opentype'),
17
- url('public/fonts/aller-bold.woff') format('woff'),
18
- url('public/fonts/aller-bold.ttf') format('truetype');
19
- font-weight: normal;
20
- font-style: normal;
21
- }
22
-
23
- @font-face {
24
- font-family: 'novecento-bold';
25
- src: url('public/fonts/novecento-bold.eot');
26
- src: url('public/fonts/novecento-bold.eot?#iefix') format('embedded-opentype'),
27
- url('public/fonts/novecento-bold.woff') format('woff'),
28
- url('public/fonts/novecento-bold.ttf') format('truetype');
29
- font-weight: normal;
30
- font-style: normal;
31
- }
32
-
33
- /*--------------------- Layout ----------------------------*/
34
- html { height: 100%; }
35
- body {
36
- font-family: "aller-light";
37
- font-size: 14px;
38
- line-height: 18px;
39
- color: #30404f;
40
- margin: 0; padding: 0;
41
- height:100%;
42
- }
43
- #container { min-height: 100%; }
44
-
45
- a {
46
- color: #000;
47
- }
48
-
49
- b, strong {
50
- font-weight: normal;
51
- font-family: "aller-bold";
52
- }
53
-
54
- p {
55
- margin: 15px 0 0px;
56
- }
57
- .annotation ul, .annotation ol {
58
- margin: 25px 0;
59
- }
60
- .annotation ul li, .annotation ol li {
61
- font-size: 14px;
62
- line-height: 18px;
63
- margin: 10px 0;
64
- }
65
-
66
- h1, h2, h3, h4, h5, h6 {
67
- color: #112233;
68
- line-height: 1em;
69
- font-weight: normal;
70
- font-family: "novecento-bold";
71
- text-transform: uppercase;
72
- margin: 30px 0 15px 0;
73
- }
74
-
75
- h1 {
76
- margin-top: 40px;
77
- }
78
-
79
- hr {
80
- border: 0;
81
- background: 1px #ddd;
82
- height: 1px;
83
- margin: 20px 0;
84
- }
85
-
86
- pre, tt, code {
87
- font-size: 12px; line-height: 16px;
88
- font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace;
89
- margin: 0; padding: 0;
90
- }
91
- .annotation pre {
92
- display: block;
93
- margin: 0;
94
- padding: 7px 10px;
95
- background: #fcfcfc;
96
- -moz-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
97
- -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
98
- box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
99
- overflow-x: auto;
100
- }
101
- .annotation pre code {
102
- border: 0;
103
- padding: 0;
104
- background: transparent;
105
- }
106
-
107
-
108
- blockquote {
109
- border-left: 5px solid #ccc;
110
- margin: 0;
111
- padding: 1px 0 1px 1em;
112
- }
113
- .sections blockquote p {
114
- font-family: Menlo, Consolas, Monaco, monospace;
115
- font-size: 12px; line-height: 16px;
116
- color: #999;
117
- margin: 10px 0 0;
118
- white-space: pre-wrap;
119
- }
120
-
121
- ul.sections {
122
- list-style: none;
123
- padding:0 0 5px 0;;
124
- margin:0;
125
- }
126
-
127
- /*
128
- Force border-box so that % widths fit the parent
129
- container without overlap because of margin/padding.
130
-
131
- More Info : http://www.quirksmode.org/css/box.html
132
- */
133
- ul.sections > li > div {
134
- -moz-box-sizing: border-box; /* firefox */
135
- -ms-box-sizing: border-box; /* ie */
136
- -webkit-box-sizing: border-box; /* webkit */
137
- -khtml-box-sizing: border-box; /* konqueror */
138
- box-sizing: border-box; /* css3 */
139
- }
140
-
141
-
142
- /*---------------------- Jump Page -----------------------------*/
143
- #jump_to, #jump_page {
144
- margin: 0;
145
- background: white;
146
- -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
147
- -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px;
148
- font: 16px Arial;
149
- cursor: pointer;
150
- text-align: right;
151
- list-style: none;
152
- }
153
-
154
- #jump_to a {
155
- text-decoration: none;
156
- }
157
-
158
- #jump_to a.large {
159
- display: none;
160
- }
161
- #jump_to a.small {
162
- font-size: 22px;
163
- font-weight: bold;
164
- color: #676767;
165
- }
166
-
167
- #jump_to, #jump_wrapper {
168
- position: fixed;
169
- right: 0; top: 0;
170
- padding: 10px 15px;
171
- margin:0;
172
- }
173
-
174
- #jump_wrapper {
175
- display: none;
176
- padding:0;
177
- }
178
-
179
- #jump_to:hover #jump_wrapper {
180
- display: block;
181
- }
182
-
183
- #jump_page {
184
- padding: 5px 0 3px;
185
- margin: 0 0 25px 25px;
186
- }
187
-
188
- #jump_page .source {
189
- display: block;
190
- padding: 15px;
191
- text-decoration: none;
192
- border-top: 1px solid #eee;
193
- }
194
-
195
- #jump_page .source:hover {
196
- background: #f5f5ff;
197
- }
198
-
199
- #jump_page .source:first-child {
200
- }
201
-
202
- /*---------------------- Low resolutions (> 320px) ---------------------*/
203
- @media only screen and (min-width: 320px) {
204
- .pilwrap { display: none; }
205
-
206
- ul.sections > li > div {
207
- display: block;
208
- padding:5px 10px 0 10px;
209
- }
210
-
211
- ul.sections > li > div.annotation ul, ul.sections > li > div.annotation ol {
212
- padding-left: 30px;
213
- }
214
-
215
- ul.sections > li > div.content {
216
- overflow-x:auto;
217
- -webkit-box-shadow: inset 0 0 5px #e5e5ee;
218
- box-shadow: inset 0 0 5px #e5e5ee;
219
- border: 1px solid #dedede;
220
- margin:5px 10px 5px 10px;
221
- padding-bottom: 5px;
222
- }
223
-
224
- ul.sections > li > div.annotation pre {
225
- margin: 7px 0 7px;
226
- padding-left: 15px;
227
- }
228
-
229
- ul.sections > li > div.annotation p tt, .annotation code {
230
- background: #f8f8ff;
231
- border: 1px solid #dedede;
232
- font-size: 12px;
233
- padding: 0 0.2em;
234
- }
235
- }
236
-
237
- /*---------------------- (> 481px) ---------------------*/
238
- @media only screen and (min-width: 481px) {
239
- #container {
240
- position: relative;
241
- }
242
- body {
243
- background-color: #F5F5FF;
244
- font-size: 15px;
245
- line-height: 21px;
246
- }
247
- pre, tt, code {
248
- line-height: 18px;
249
- }
250
- p, ul, ol {
251
- margin: 0 0 15px;
252
- }
253
-
254
-
255
- #jump_to {
256
- padding: 5px 10px;
257
- }
258
- #jump_wrapper {
259
- padding: 0;
260
- }
261
- #jump_to, #jump_page {
262
- font: 10px Arial;
263
- text-transform: uppercase;
264
- }
265
- #jump_page .source {
266
- padding: 5px 10px;
267
- }
268
- #jump_to a.large {
269
- display: inline-block;
270
- }
271
- #jump_to a.small {
272
- display: none;
273
- }
274
-
275
-
276
-
277
- #background {
278
- position: absolute;
279
- top: 0; bottom: 0;
280
- width: 350px;
281
- background: #fff;
282
- border-right: 1px solid #e5e5ee;
283
- z-index: -1;
284
- }
285
-
286
- ul.sections > li > div.annotation ul, ul.sections > li > div.annotation ol {
287
- padding-left: 40px;
288
- }
289
-
290
- ul.sections > li {
291
- white-space: nowrap;
292
- }
293
-
294
- ul.sections > li > div {
295
- display: inline-block;
296
- }
297
-
298
- ul.sections > li > div.annotation {
299
- max-width: 350px;
300
- min-width: 350px;
301
- min-height: 5px;
302
- padding: 13px;
303
- overflow-x: hidden;
304
- white-space: normal;
305
- vertical-align: top;
306
- text-align: left;
307
- }
308
- ul.sections > li > div.annotation pre {
309
- margin: 15px 0 15px;
310
- padding-left: 15px;
311
- }
312
-
313
- ul.sections > li > div.content {
314
- padding: 13px;
315
- vertical-align: top;
316
- border: none;
317
- -webkit-box-shadow: none;
318
- box-shadow: none;
319
- }
320
-
321
- .pilwrap {
322
- position: relative;
323
- display: inline;
324
- }
325
-
326
- .pilcrow {
327
- font: 12px Arial;
328
- text-decoration: none;
329
- color: #454545;
330
- position: absolute;
331
- top: 3px; left: -20px;
332
- padding: 1px 2px;
333
- opacity: 0;
334
- -webkit-transition: opacity 0.2s linear;
335
- }
336
- .for-h1 .pilcrow {
337
- top: 47px;
338
- }
339
- .for-h2 .pilcrow, .for-h3 .pilcrow, .for-h4 .pilcrow {
340
- top: 35px;
341
- }
342
-
343
- ul.sections > li > div.annotation:hover .pilcrow {
344
- opacity: 1;
345
- }
346
- }
347
-
348
- /*---------------------- (> 1025px) ---------------------*/
349
- @media only screen and (min-width: 1025px) {
350
-
351
- body {
352
- font-size: 16px;
353
- line-height: 24px;
354
- }
355
-
356
- #background {
357
- width: 525px;
358
- }
359
- ul.sections > li > div.annotation {
360
- max-width: 525px;
361
- min-width: 525px;
362
- padding: 10px 25px 1px 50px;
363
- }
364
- ul.sections > li > div.content {
365
- padding: 9px 15px 16px 25px;
366
- }
367
- }
368
-
369
- /*---------------------- Syntax Highlighting -----------------------------*/
370
-
371
- td.linenos { background-color: #f0f0f0; padding-right: 10px; }
372
- span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
373
- /*
374
-
375
- github.com style (c) Vasily Polovnyov <vast@whiteants.net>
376
-
377
- */
378
-
379
- pre code {
380
- display: block; padding: 0.5em;
381
- color: #000;
382
- background: #f8f8ff
383
- }
384
-
385
- pre .hljs-comment,
386
- pre .hljs-template_comment,
387
- pre .hljs-diff .hljs-header,
388
- pre .hljs-javadoc {
389
- color: #408080;
390
- font-style: italic
391
- }
392
-
393
- pre .hljs-keyword,
394
- pre .hljs-assignment,
395
- pre .hljs-literal,
396
- pre .hljs-css .hljs-rule .hljs-keyword,
397
- pre .hljs-winutils,
398
- pre .hljs-javascript .hljs-title,
399
- pre .hljs-lisp .hljs-title,
400
- pre .hljs-subst {
401
- color: #954121;
402
- /*font-weight: bold*/
403
- }
404
-
405
- pre .hljs-number,
406
- pre .hljs-hexcolor {
407
- color: #40a070
408
- }
409
-
410
- pre .hljs-string,
411
- pre .hljs-tag .hljs-value,
412
- pre .hljs-phpdoc,
413
- pre .hljs-tex .hljs-formula {
414
- color: #219161;
415
- }
416
-
417
- pre .hljs-title,
418
- pre .hljs-id {
419
- color: #19469D;
420
- }
421
- pre .hljs-params {
422
- color: #00F;
423
- }
424
-
425
- pre .hljs-javascript .hljs-title,
426
- pre .hljs-lisp .hljs-title,
427
- pre .hljs-subst {
428
- font-weight: normal
429
- }
430
-
431
- pre .hljs-class .hljs-title,
432
- pre .hljs-haskell .hljs-label,
433
- pre .hljs-tex .hljs-command {
434
- color: #458;
435
- font-weight: bold
436
- }
437
-
438
- pre .hljs-tag,
439
- pre .hljs-tag .hljs-title,
440
- pre .hljs-rules .hljs-property,
441
- pre .hljs-django .hljs-tag .hljs-keyword {
442
- color: #000080;
443
- font-weight: normal
444
- }
445
-
446
- pre .hljs-attribute,
447
- pre .hljs-variable,
448
- pre .hljs-instancevar,
449
- pre .hljs-lisp .hljs-body {
450
- color: #008080
451
- }
452
-
453
- pre .hljs-regexp {
454
- color: #B68
455
- }
456
-
457
- pre .hljs-class {
458
- color: #458;
459
- font-weight: bold
460
- }
461
-
462
- pre .hljs-symbol,
463
- pre .hljs-ruby .hljs-symbol .hljs-string,
464
- pre .hljs-ruby .hljs-symbol .hljs-keyword,
465
- pre .hljs-ruby .hljs-symbol .hljs-keymethods,
466
- pre .hljs-lisp .hljs-keyword,
467
- pre .hljs-tex .hljs-special,
468
- pre .hljs-input_number {
469
- color: #990073
470
- }
471
-
472
- pre .hljs-builtin,
473
- pre .hljs-constructor,
474
- pre .hljs-built_in,
475
- pre .hljs-lisp .hljs-title {
476
- color: #0086b3
477
- }
478
-
479
- pre .hljs-preprocessor,
480
- pre .hljs-pi,
481
- pre .hljs-doctype,
482
- pre .hljs-shebang,
483
- pre .hljs-cdata {
484
- color: #999;
485
- font-weight: bold
486
- }
487
-
488
- pre .hljs-deletion {
489
- background: #fdd
490
- }
491
-
492
- pre .hljs-addition {
493
- background: #dfd
494
- }
495
-
496
- pre .hljs-diff .hljs-change {
497
- background: #0086b3
498
- }
499
-
500
- pre .hljs-chunk {
501
- color: #aaa
502
- }
503
-
504
- pre .hljs-tex .hljs-formula {
505
- opacity: 0.5;
506
- }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,375 +0,0 @@
1
- /*! normalize.css v2.0.1 | MIT License | git.io/normalize */
2
-
3
- /* ==========================================================================
4
- HTML5 display definitions
5
- ========================================================================== */
6
-
7
- /*
8
- * Corrects `block` display not defined in IE 8/9.
9
- */
10
-
11
- article,
12
- aside,
13
- details,
14
- figcaption,
15
- figure,
16
- footer,
17
- header,
18
- hgroup,
19
- nav,
20
- section,
21
- summary {
22
- display: block;
23
- }
24
-
25
- /*
26
- * Corrects `inline-block` display not defined in IE 8/9.
27
- */
28
-
29
- audio,
30
- canvas,
31
- video {
32
- display: inline-block;
33
- }
34
-
35
- /*
36
- * Prevents modern browsers from displaying `audio` without controls.
37
- * Remove excess height in iOS 5 devices.
38
- */
39
-
40
- audio:not([controls]) {
41
- display: none;
42
- height: 0;
43
- }
44
-
45
- /*
46
- * Addresses styling for `hidden` attribute not present in IE 8/9.
47
- */
48
-
49
- [hidden] {
50
- display: none;
51
- }
52
-
53
- /* ==========================================================================
54
- Base
55
- ========================================================================== */
56
-
57
- /*
58
- * 1. Sets default font family to sans-serif.
59
- * 2. Prevents iOS text size adjust after orientation change, without disabling
60
- * user zoom.
61
- */
62
-
63
- html {
64
- font-family: sans-serif; /* 1 */
65
- -webkit-text-size-adjust: 100%; /* 2 */
66
- -ms-text-size-adjust: 100%; /* 2 */
67
- }
68
-
69
- /*
70
- * Removes default margin.
71
- */
72
-
73
- body {
74
- margin: 0;
75
- }
76
-
77
- /* ==========================================================================
78
- Links
79
- ========================================================================== */
80
-
81
- /*
82
- * Addresses `outline` inconsistency between Chrome and other browsers.
83
- */
84
-
85
- a:focus {
86
- outline: thin dotted;
87
- }
88
-
89
- /*
90
- * Improves readability when focused and also mouse hovered in all browsers.
91
- */
92
-
93
- a:active,
94
- a:hover {
95
- outline: 0;
96
- }
97
-
98
- /* ==========================================================================
99
- Typography
100
- ========================================================================== */
101
-
102
- /*
103
- * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
104
- * Safari 5, and Chrome.
105
- */
106
-
107
- h1 {
108
- font-size: 2em;
109
- }
110
-
111
- /*
112
- * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
113
- */
114
-
115
- abbr[title] {
116
- border-bottom: 1px dotted;
117
- }
118
-
119
- /*
120
- * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
121
- */
122
-
123
- b,
124
- strong {
125
- font-weight: bold;
126
- }
127
-
128
- /*
129
- * Addresses styling not present in Safari 5 and Chrome.
130
- */
131
-
132
- dfn {
133
- font-style: italic;
134
- }
135
-
136
- /*
137
- * Addresses styling not present in IE 8/9.
138
- */
139
-
140
- mark {
141
- background: #ff0;
142
- color: #000;
143
- }
144
-
145
-
146
- /*
147
- * Corrects font family set oddly in Safari 5 and Chrome.
148
- */
149
-
150
- code,
151
- kbd,
152
- pre,
153
- samp {
154
- font-family: monospace, serif;
155
- font-size: 1em;
156
- }
157
-
158
- /*
159
- * Improves readability of pre-formatted text in all browsers.
160
- */
161
-
162
- pre {
163
- white-space: pre;
164
- white-space: pre-wrap;
165
- word-wrap: break-word;
166
- }
167
-
168
- /*
169
- * Sets consistent quote types.
170
- */
171
-
172
- q {
173
- quotes: "\201C" "\201D" "\2018" "\2019";
174
- }
175
-
176
- /*
177
- * Addresses inconsistent and variable font size in all browsers.
178
- */
179
-
180
- small {
181
- font-size: 80%;
182
- }
183
-
184
- /*
185
- * Prevents `sub` and `sup` affecting `line-height` in all browsers.
186
- */
187
-
188
- sub,
189
- sup {
190
- font-size: 75%;
191
- line-height: 0;
192
- position: relative;
193
- vertical-align: baseline;
194
- }
195
-
196
- sup {
197
- top: -0.5em;
198
- }
199
-
200
- sub {
201
- bottom: -0.25em;
202
- }
203
-
204
- /* ==========================================================================
205
- Embedded content
206
- ========================================================================== */
207
-
208
- /*
209
- * Removes border when inside `a` element in IE 8/9.
210
- */
211
-
212
- img {
213
- border: 0;
214
- }
215
-
216
- /*
217
- * Corrects overflow displayed oddly in IE 9.
218
- */
219
-
220
- svg:not(:root) {
221
- overflow: hidden;
222
- }
223
-
224
- /* ==========================================================================
225
- Figures
226
- ========================================================================== */
227
-
228
- /*
229
- * Addresses margin not present in IE 8/9 and Safari 5.
230
- */
231
-
232
- figure {
233
- margin: 0;
234
- }
235
-
236
- /* ==========================================================================
237
- Forms
238
- ========================================================================== */
239
-
240
- /*
241
- * Define consistent border, margin, and padding.
242
- */
243
-
244
- fieldset {
245
- border: 1px solid #c0c0c0;
246
- margin: 0 2px;
247
- padding: 0.35em 0.625em 0.75em;
248
- }
249
-
250
- /*
251
- * 1. Corrects color not being inherited in IE 8/9.
252
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
253
- */
254
-
255
- legend {
256
- border: 0; /* 1 */
257
- padding: 0; /* 2 */
258
- }
259
-
260
- /*
261
- * 1. Corrects font family not being inherited in all browsers.
262
- * 2. Corrects font size not being inherited in all browsers.
263
- * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
264
- */
265
-
266
- button,
267
- input,
268
- select,
269
- textarea {
270
- font-family: inherit; /* 1 */
271
- font-size: 100%; /* 2 */
272
- margin: 0; /* 3 */
273
- }
274
-
275
- /*
276
- * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
277
- * the UA stylesheet.
278
- */
279
-
280
- button,
281
- input {
282
- line-height: normal;
283
- }
284
-
285
- /*
286
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
287
- * and `video` controls.
288
- * 2. Corrects inability to style clickable `input` types in iOS.
289
- * 3. Improves usability and consistency of cursor style between image-type
290
- * `input` and others.
291
- */
292
-
293
- button,
294
- html input[type="button"], /* 1 */
295
- input[type="reset"],
296
- input[type="submit"] {
297
- -webkit-appearance: button; /* 2 */
298
- cursor: pointer; /* 3 */
299
- }
300
-
301
- /*
302
- * Re-set default cursor for disabled elements.
303
- */
304
-
305
- button[disabled],
306
- input[disabled] {
307
- cursor: default;
308
- }
309
-
310
- /*
311
- * 1. Addresses box sizing set to `content-box` in IE 8/9.
312
- * 2. Removes excess padding in IE 8/9.
313
- */
314
-
315
- input[type="checkbox"],
316
- input[type="radio"] {
317
- box-sizing: border-box; /* 1 */
318
- padding: 0; /* 2 */
319
- }
320
-
321
- /*
322
- * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
323
- * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
324
- * (include `-moz` to future-proof).
325
- */
326
-
327
- input[type="search"] {
328
- -webkit-appearance: textfield; /* 1 */
329
- -moz-box-sizing: content-box;
330
- -webkit-box-sizing: content-box; /* 2 */
331
- box-sizing: content-box;
332
- }
333
-
334
- /*
335
- * Removes inner padding and search cancel button in Safari 5 and Chrome
336
- * on OS X.
337
- */
338
-
339
- input[type="search"]::-webkit-search-cancel-button,
340
- input[type="search"]::-webkit-search-decoration {
341
- -webkit-appearance: none;
342
- }
343
-
344
- /*
345
- * Removes inner padding and border in Firefox 4+.
346
- */
347
-
348
- button::-moz-focus-inner,
349
- input::-moz-focus-inner {
350
- border: 0;
351
- padding: 0;
352
- }
353
-
354
- /*
355
- * 1. Removes default vertical scrollbar in IE 8/9.
356
- * 2. Improves readability and alignment in all browsers.
357
- */
358
-
359
- textarea {
360
- overflow: auto; /* 1 */
361
- vertical-align: top; /* 2 */
362
- }
363
-
364
- /* ==========================================================================
365
- Tables
366
- ========================================================================== */
367
-
368
- /*
369
- * Remove most spacing between table cells.
370
- */
371
-
372
- table {
373
- border-collapse: collapse;
374
- border-spacing: 0;
375
- }