wpa_cli_web 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/.bowerrc +3 -0
  2. data/lib/wpa_cli_web.rb +19 -31
  3. data/lib/wpa_cli_web/public/bower_components/house-style/.bower.json +14 -0
  4. data/lib/wpa_cli_web/public/bower_components/house-style/.bowerrc +3 -0
  5. data/lib/wpa_cli_web/public/bower_components/house-style/.gitignore +2 -0
  6. data/lib/wpa_cli_web/public/bower_components/house-style/Gemfile +6 -0
  7. data/lib/wpa_cli_web/public/bower_components/house-style/Gruntfile.js +99 -0
  8. data/lib/wpa_cli_web/public/bower_components/house-style/Guardfile +19 -0
  9. data/lib/wpa_cli_web/public/bower_components/house-style/bower.json +7 -0
  10. data/lib/wpa_cli_web/public/bower_components/house-style/bower_components/normalize-css/LICENSE.md +19 -0
  11. data/lib/wpa_cli_web/public/bower_components/house-style/bower_components/normalize-css/README.md +49 -0
  12. data/lib/wpa_cli_web/public/bower_components/house-style/bower_components/normalize-css/bower.json +23 -0
  13. data/lib/wpa_cli_web/public/bower_components/house-style/bower_components/normalize-css/normalize.css +396 -0
  14. data/lib/wpa_cli_web/public/bower_components/house-style/house-style.css +860 -0
  15. data/lib/wpa_cli_web/public/bower_components/house-style/house-style.min.css +1 -0
  16. data/lib/wpa_cli_web/public/bower_components/house-style/modules/base/base.css +37 -0
  17. data/lib/wpa_cli_web/public/bower_components/house-style/modules/button/button.css +26 -0
  18. data/lib/wpa_cli_web/public/bower_components/house-style/modules/grid/grid.css +151 -0
  19. data/lib/wpa_cli_web/public/bower_components/house-style/modules/grid/grid.png +0 -0
  20. data/lib/wpa_cli_web/public/bower_components/house-style/modules/grid/images.html +208 -0
  21. data/lib/wpa_cli_web/public/bower_components/house-style/modules/grid/index.html +141 -0
  22. data/lib/wpa_cli_web/public/bower_components/house-style/modules/loading/index.html +22 -0
  23. data/lib/wpa_cli_web/public/bower_components/house-style/modules/loading/loading.css +41 -0
  24. data/lib/wpa_cli_web/public/bower_components/house-style/modules/loading/spinner.svg +11 -0
  25. data/lib/wpa_cli_web/public/bower_components/house-style/modules/masthead/bbc-blocks-white.png +0 -0
  26. data/lib/wpa_cli_web/public/bower_components/house-style/modules/masthead/index.html +20 -0
  27. data/lib/wpa_cli_web/public/bower_components/house-style/modules/masthead/masthead.css +23 -0
  28. data/lib/wpa_cli_web/public/bower_components/house-style/modules/panel/panel.css +71 -0
  29. data/lib/wpa_cli_web/public/bower_components/house-style/modules/project-header/index.html +22 -0
  30. data/lib/wpa_cli_web/public/bower_components/house-style/modules/project-header/project-header.css +37 -0
  31. data/lib/wpa_cli_web/public/bower_components/house-style/modules/table/index.html +26 -0
  32. data/lib/wpa_cli_web/public/bower_components/house-style/modules/table/table.css +6 -0
  33. data/lib/wpa_cli_web/public/bower_components/house-style/modules/transitions/transitions.css +11 -0
  34. data/lib/wpa_cli_web/public/bower_components/house-style/package.json +21 -0
  35. data/lib/wpa_cli_web/public/bower_components/house-style/vendor/prefixfree.min.js +5 -0
  36. data/lib/wpa_cli_web/public/bower_components/normalize-css/.bower.json +21 -0
  37. data/lib/wpa_cli_web/public/bower_components/normalize-css/LICENSE.md +19 -0
  38. data/lib/wpa_cli_web/public/bower_components/normalize-css/README.md +49 -0
  39. data/lib/wpa_cli_web/public/bower_components/normalize-css/bower.json +12 -0
  40. data/lib/wpa_cli_web/public/bower_components/normalize-css/normalize.css +396 -0
  41. data/lib/wpa_cli_web/public/bower_components/qwery/.bower.json +14 -0
  42. data/lib/wpa_cli_web/public/bower_components/qwery/.gitignore +3 -0
  43. data/lib/wpa_cli_web/public/bower_components/qwery/.travis.yml +10 -0
  44. data/lib/wpa_cli_web/public/bower_components/qwery/LICENSE +7 -0
  45. data/lib/wpa_cli_web/public/bower_components/qwery/Makefile +6 -0
  46. data/lib/wpa_cli_web/public/bower_components/qwery/README.md +167 -0
  47. data/lib/wpa_cli_web/public/bower_components/qwery/config/smoosh.json +35 -0
  48. data/lib/wpa_cli_web/public/bower_components/qwery/integration/ender.js +1033 -0
  49. data/lib/wpa_cli_web/public/bower_components/qwery/integration/integration.html +26 -0
  50. data/lib/wpa_cli_web/public/bower_components/qwery/mobile/ender.js +62 -0
  51. data/lib/wpa_cli_web/public/bower_components/qwery/mobile/package.json +14 -0
  52. data/lib/wpa_cli_web/public/bower_components/qwery/mobile/qwery-mobile.js +79 -0
  53. data/lib/wpa_cli_web/public/bower_components/qwery/mobile/qwery-mobile.min.js +7 -0
  54. data/lib/wpa_cli_web/public/bower_components/qwery/mobile/src/mobile.js +72 -0
  55. data/lib/wpa_cli_web/public/bower_components/qwery/package.json +25 -0
  56. data/lib/wpa_cli_web/public/bower_components/qwery/pseudos/package.json +17 -0
  57. data/lib/wpa_cli_web/public/bower_components/qwery/pseudos/qwery-pseudos.js +106 -0
  58. data/lib/wpa_cli_web/public/bower_components/qwery/pseudos/qwery-pseudos.min.js +7 -0
  59. data/lib/wpa_cli_web/public/bower_components/qwery/pseudos/src/pseudos.js +99 -0
  60. data/lib/wpa_cli_web/public/bower_components/qwery/qwery.js +369 -0
  61. data/lib/wpa_cli_web/public/bower_components/qwery/qwery.min.js +7 -0
  62. data/lib/wpa_cli_web/public/bower_components/qwery/src/copyright.js +6 -0
  63. data/lib/wpa_cli_web/public/bower_components/qwery/src/ender.js +62 -0
  64. data/lib/wpa_cli_web/public/bower_components/qwery/src/qwery.js +362 -0
  65. data/lib/wpa_cli_web/public/bower_components/qwery/tests/W3C-Selector-tests.html +1372 -0
  66. data/lib/wpa_cli_web/public/bower_components/qwery/tests/benchmarks.html +220 -0
  67. data/lib/wpa_cli_web/public/bower_components/qwery/tests/index.html +132 -0
  68. data/lib/wpa_cli_web/public/bower_components/qwery/tests/mobile.html +58 -0
  69. data/lib/wpa_cli_web/public/bower_components/qwery/tests/phantom.js +43 -0
  70. data/lib/wpa_cli_web/public/bower_components/qwery/tests/test-env.js +25 -0
  71. data/lib/wpa_cli_web/public/bower_components/qwery/tests/tests.js +533 -0
  72. data/lib/wpa_cli_web/public/bower_components/qwery/vendor/nw.js +1680 -0
  73. data/lib/wpa_cli_web/public/bower_components/qwery/vendor/sink.css +79 -0
  74. data/lib/wpa_cli_web/public/bower_components/qwery/vendor/sink.js +181 -0
  75. data/lib/wpa_cli_web/public/bower_components/qwery/vendor/sizzle.js +1400 -0
  76. data/lib/wpa_cli_web/public/bower_components/reqwest/.bower.json +14 -0
  77. data/lib/wpa_cli_web/public/bower_components/reqwest/.gitignore +1 -0
  78. data/lib/wpa_cli_web/public/bower_components/reqwest/.jshintrc +61 -0
  79. data/lib/wpa_cli_web/public/bower_components/reqwest/Makefile +8 -0
  80. data/lib/wpa_cli_web/public/bower_components/reqwest/README.md +308 -0
  81. data/lib/wpa_cli_web/public/bower_components/reqwest/build.json +74 -0
  82. data/lib/wpa_cli_web/public/bower_components/reqwest/make/tests.js +89 -0
  83. data/lib/wpa_cli_web/public/bower_components/reqwest/package.json +27 -0
  84. data/lib/wpa_cli_web/public/bower_components/reqwest/reqwest.js +565 -0
  85. data/lib/wpa_cli_web/public/bower_components/reqwest/reqwest.min.js +7 -0
  86. data/lib/wpa_cli_web/public/bower_components/reqwest/src/copyright.js +6 -0
  87. data/lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js +26 -0
  88. data/lib/wpa_cli_web/public/bower_components/reqwest/src/reqwest.js +559 -0
  89. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/ender.js +117 -0
  90. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/badfixtures.xml +1 -0
  91. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures.html +1 -0
  92. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures.js +1 -0
  93. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures.json +1 -0
  94. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures.xml +1 -0
  95. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures_jsonp.jsonp +1 -0
  96. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures_jsonp2.jsonp +1 -0
  97. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures_jsonp3.jsonp +1 -0
  98. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures_jsonp_multi.jsonp +1 -0
  99. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures_jsonp_multi_b.jsonp +1 -0
  100. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures_jsonp_multi_c.jsonp +1 -0
  101. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/fixtures_with_prefix.json +1 -0
  102. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/fixtures/invalidJSON.json +5 -0
  103. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/tests.html +105 -0
  104. data/lib/wpa_cli_web/public/bower_components/reqwest/tests/tests.js +1723 -0
  105. data/lib/wpa_cli_web/views/access_points.erb +5 -0
  106. data/lib/wpa_cli_web/views/access_points_list.erb +19 -0
  107. data/lib/wpa_cli_web/views/layout.erb +141 -0
  108. data/lib/wpa_cli_web/views/networks_edit.erb +15 -0
  109. data/lib/wpa_cli_web/views/restart.erb +7 -0
  110. data/lib/wpa_cli_web/views/restarting.erb +14 -0
  111. data/wpa_cli_web.gemspec +1 -1
  112. metadata +111 -2
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE html>
2
+ <html class="debug">
3
+ <head>
4
+ <title>Masthead - IRFS Components</title>
5
+ <link rel="stylesheet" href="../../bower_components/normalize-css/normalize.css">
6
+ <script src="../../vendor/prefixfree.min.js"></script>
7
+ <link rel="stylesheet" href="loading.css">
8
+ <style>
9
+ #custom-size {
10
+ width: 100px;
11
+ height: 100px;
12
+ }
13
+ </style>
14
+ </head>
15
+ <body>
16
+ <span id="custom-size" class="loading"></span>
17
+ <span class="loading loading-32"></span>
18
+ <span class="loading loading-20"></span>
19
+ <span class="loading loading-16"></span>
20
+ <span class="loading loading-13"></span>
21
+ </body>
22
+ </html>
@@ -0,0 +1,41 @@
1
+ .loading {
2
+ display: inline-block;
3
+ background: transparent url('spinner.svg') no-repeat;
4
+ background-size: 100% 100%;
5
+
6
+ vertical-align: middle;
7
+
8
+ animation-name: loading;
9
+ animation-duration: 0.9s;
10
+ animation-iteration-count: infinite;
11
+ animation-timing-function: linear;
12
+ }
13
+
14
+ .loading-32 {
15
+ width: 32px;
16
+ height: 32px;
17
+ margin: 1px;
18
+ }
19
+
20
+ .loading-20 {
21
+ width: 20px;
22
+ height: 20px;
23
+ margin: 2px;
24
+ }
25
+
26
+ .loading-16 {
27
+ width: 18px;
28
+ height: 18px;
29
+ margin: 1px;
30
+ }
31
+
32
+ .loading-13 {
33
+ width: 13px;
34
+ height: 13px;
35
+ margin: 1px;
36
+ }
37
+
38
+ @keyframes loading {
39
+ from { transform: rotate(0deg); }
40
+ to { transform: rotate(360deg); }
41
+ }
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="41px" height="40px" viewBox="0 0 41 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <title>Slice 1</title>
4
+ <description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
5
+ <defs></defs>
6
+ <g id="Page 1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="g32" fill="#000000">
8
+ <path d="M37.5,30 L33.16875,27.49875 C34.44875,25.29 35.1925,22.73625 35.1925,20.0075 C35.1925,11.73625 28.46375,5.0075 20.1925,5.0075 C11.92125,5.0075 5.1925,11.73625 5.1925,20.0075 C5.1925,28.2775 11.92125,35.0075 20.1925,35.0075 L20.1925,40.0075 C9.14625,40.0075 0.1925,31.0525 0.1925,20.0075 C0.1925,8.96125 9.14625,0.0075 20.1925,0.0075 C31.23875,0.0075 40.1925,8.96125 40.1925,20.0075 C40.1925,23.65125 39.2025,27.0575 37.5,30" id="path34"></path>
9
+ </g>
10
+ </g>
11
+ </svg>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html class="debug">
3
+ <head>
4
+ <title>Masthead - IRFS Components</title>
5
+ <link rel="stylesheet" href="../../bower_components/normalize-css/normalize.css">
6
+ <link rel="stylesheet" href="masthead.css">
7
+ <style>
8
+ </style>
9
+ </head>
10
+ <body>
11
+ <header class="masthead">
12
+ <div class="grid">
13
+ <div class="grid-col grid-12">
14
+ <span class="masterbrand">BBC</span>
15
+ <span class="dept">Research &amp; Development</span>
16
+ </div>
17
+ </div><!-- .grid -->
18
+ </header>
19
+ </body>
20
+ </html>
@@ -0,0 +1,23 @@
1
+ .masthead {
2
+ height: 60px;
3
+ line-height: 60px;
4
+ color: #fff;
5
+ background-color: #333;
6
+
7
+ font-size: 19px;
8
+ }
9
+
10
+ .masterbrand {
11
+ display: inline-block;
12
+ width: 73px;
13
+ height: 20px;
14
+ line-height: 20px;
15
+
16
+ margin-right: 1px;
17
+
18
+ background-image: url(./bbc-blocks-white.png);
19
+
20
+ text-indent: 100%;
21
+ white-space: nowrap;
22
+ overflow: hidden;
23
+ }
@@ -0,0 +1,71 @@
1
+ .panel-full-height {
2
+ display: table;
3
+ }
4
+
5
+ .panel-full-height > .panel {
6
+ display: table-cell;
7
+ vertical-align: top;
8
+ float: none;
9
+ }
10
+
11
+ .panel {
12
+ background-color: #fff;
13
+ }
14
+
15
+ .panel.control-panel {
16
+ background-color: #e0e6e9;
17
+ }
18
+
19
+ .panel.control-panel .hd {
20
+ color: #4d4d4d;
21
+ }
22
+
23
+ .panel-border {
24
+ border-top: 1px solid #adadad;
25
+ padding-top: 28px;
26
+ }
27
+
28
+ .panel .hd {
29
+ margin: 0.67em 0;
30
+ }
31
+
32
+ .panel .hd {
33
+ font-size: 24px;
34
+ font-weight: bold;
35
+ color: #222;
36
+ }
37
+
38
+ .panel h1,
39
+ .panel h2,
40
+ .panel h3,
41
+ .panel h4,
42
+ .panel h5,
43
+ .panel h6 {
44
+ font-size: inherit;
45
+ }
46
+
47
+ .panel .hd > * {
48
+ margin: 0;
49
+ }
50
+
51
+ .panel .hd .sep {
52
+ display: inline-block;
53
+ border-left: 1px solid #000;
54
+ padding-left: 8px;
55
+ }
56
+
57
+ .panel .intro {
58
+ font-size: 18px;
59
+ }
60
+
61
+ /* Group 2 */
62
+ @media (min-width: 400px) and (max-width: 599px) {
63
+
64
+ .panel-full-height {
65
+ display: block;
66
+ }
67
+
68
+ .panel-full-height > .panel {
69
+ display: block;
70
+ }
71
+ }
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE html>
2
+ <html class="debug">
3
+ <head>
4
+ <title>Masthead - IRFS Components</title>
5
+ <link rel="stylesheet" href="../../bower_components/normalize-css/normalize.css">
6
+ <link rel="stylesheet" href="project-header.css">
7
+ <style>
8
+ </style>
9
+ </head>
10
+ <body>
11
+ <div class="grid">
12
+ <div class="project-header with-border ph-with-toolbar grid-col grid-12 clearfix">
13
+ <div class="">
14
+ Programme recommendations
15
+ </div>
16
+ <div class="ph-toolbar">
17
+ (toolbar items)
18
+ </div><!-- .ph-toolbar -->
19
+ </div>
20
+ </div><!-- .grid -->
21
+ </body>
22
+ </html>
@@ -0,0 +1,37 @@
1
+ .project-header {
2
+ /*height: 83px;*/
3
+ min-height: 83px;
4
+ line-height: 83px;
5
+
6
+ font-size: 30px;
7
+ font-weight: lighter;
8
+ }
9
+
10
+ .project-header > div {
11
+ display: inline-block;
12
+ }
13
+
14
+ .ph-with-toolbar {
15
+ text-align: right;
16
+ }
17
+
18
+ .ph-with-toolbar > div {
19
+ float: left;
20
+ }
21
+
22
+ .ph-with-toolbar > .ph-toolbar {
23
+ float: none;
24
+ }
25
+
26
+ /* Group 2 */
27
+ @media (min-width: 400px) and (max-width: 599px) {
28
+ .project-header > div {
29
+ line-height: 41px;
30
+ margin: 10px 0;
31
+ }
32
+
33
+ .project-header > * {
34
+ float: none;
35
+ text-align: left;
36
+ }
37
+ }
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html class="debug">
3
+ <head>
4
+ <title>Masthead - IRFS Components</title>
5
+ <link rel="stylesheet" href="../../bower_components/normalize-css/normalize.css">
6
+ <link rel="stylesheet" href="table.css">
7
+ <style>
8
+ </style>
9
+ </head>
10
+ <body>
11
+ <table class="table">
12
+ <tr>
13
+ <th>Name</th>
14
+ <th>Age</th>
15
+ </tr>
16
+ <tr>
17
+ <td>Barney Rubble</td>
18
+ <td>32</td>
19
+ </tr>
20
+ <tr>
21
+ <td>Wilma Flintstone</td>
22
+ <td>34</td>
23
+ </tr>
24
+ </table>
25
+ </body>
26
+ </html>
@@ -0,0 +1,6 @@
1
+ .table td,
2
+ .table th {
3
+ padding: 8px;
4
+ text-align: left;
5
+ border-bottom: 1px solid #eee;
6
+ }
@@ -0,0 +1,11 @@
1
+ .transient {
2
+ transition: opacity 1s;
3
+ }
4
+
5
+ .transient.is-inactive {
6
+ opacity: 0;
7
+ }
8
+
9
+ .transient.is-active {
10
+ opacity: 1;
11
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "house-style",
3
+ "version": "0.0.0",
4
+ "description": "BBC Research & Development House Style",
5
+ "main": "Gruntfile.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "BBC",
10
+ "license": "Apache v2",
11
+ "devDependencies": {
12
+ "grunt": "~0.4.1",
13
+ "grunt-contrib-concat": "~0.3.0",
14
+ "grunt-contrib-cssmin": "~0.6.1",
15
+ "grunt-contrib-clean": "~0.5.0",
16
+ "grunt-contrib-copy": "~0.4.1",
17
+ "grunt-image-embed": "git://github.com/afitiskin/grunt-image-embed.git",
18
+ "grunt-contrib-connect": "~0.3.0",
19
+ "grunt-autoprefixer": "~0.2.20130806"
20
+ }
21
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * StyleFix 1.0.3 & PrefixFree 1.0.7
3
+ * @author Lea Verou
4
+ * MIT license
5
+ */(function(){function t(e,t){return[].slice.call((t||document).querySelectorAll(e))}if(!window.addEventListener)return;var e=window.StyleFix={link:function(t){try{if(t.rel!=="stylesheet"||t.hasAttribute("data-noprefix"))return}catch(n){return}var r=t.href||t.getAttribute("data-href"),i=r.replace(/[^\/]+$/,""),s=(/^[a-z]{3,10}:/.exec(i)||[""])[0],o=(/^[a-z]{3,10}:\/\/[^\/]+/.exec(i)||[""])[0],u=/^([^?]*)\??/.exec(r)[1],a=t.parentNode,f=new XMLHttpRequest,l;f.onreadystatechange=function(){f.readyState===4&&l()};l=function(){var n=f.responseText;if(n&&t.parentNode&&(!f.status||f.status<400||f.status>600)){n=e.fix(n,!0,t);if(i){n=n.replace(/url\(\s*?((?:"|')?)(.+?)\1\s*?\)/gi,function(e,t,n){return/^([a-z]{3,10}:|#)/i.test(n)?e:/^\/\//.test(n)?'url("'+s+n+'")':/^\//.test(n)?'url("'+o+n+'")':/^\?/.test(n)?'url("'+u+n+'")':'url("'+i+n+'")'});var r=i.replace(/([\\\^\$*+[\]?{}.=!:(|)])/g,"\\$1");n=n.replace(RegExp("\\b(behavior:\\s*?url\\('?\"?)"+r,"gi"),"$1")}var l=document.createElement("style");l.textContent=n;l.media=t.media;l.disabled=t.disabled;l.setAttribute("data-href",t.getAttribute("href"));a.insertBefore(l,t);a.removeChild(t);l.media=t.media}};try{f.open("GET",r);f.send(null)}catch(n){if(typeof XDomainRequest!="undefined"){f=new XDomainRequest;f.onerror=f.onprogress=function(){};f.onload=l;f.open("GET",r);f.send(null)}}t.setAttribute("data-inprogress","")},styleElement:function(t){if(t.hasAttribute("data-noprefix"))return;var n=t.disabled;t.textContent=e.fix(t.textContent,!0,t);t.disabled=n},styleAttribute:function(t){var n=t.getAttribute("style");n=e.fix(n,!1,t);t.setAttribute("style",n)},process:function(){t('link[rel="stylesheet"]:not([data-inprogress])').forEach(StyleFix.link);t("style").forEach(StyleFix.styleElement);t("[style]").forEach(StyleFix.styleAttribute)},register:function(t,n){(e.fixers=e.fixers||[]).splice(n===undefined?e.fixers.length:n,0,t)},fix:function(t,n,r){for(var i=0;i<e.fixers.length;i++)t=e.fixers[i](t,n,r)||t;return t},camelCase:function(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()}).replace("-","")},deCamelCase:function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})}};(function(){setTimeout(function(){t('link[rel="stylesheet"]').forEach(StyleFix.link)},10);document.addEventListener("DOMContentLoaded",StyleFix.process,!1)})()})();(function(e){function t(e,t,r,i,s){e=n[e];if(e.length){var o=RegExp(t+"("+e.join("|")+")"+r,"gi");s=s.replace(o,i)}return s}if(!window.StyleFix||!window.getComputedStyle)return;var n=window.PrefixFree={prefixCSS:function(e,r,i){var s=n.prefix;n.functions.indexOf("linear-gradient")>-1&&(e=e.replace(/(\s|:|,)(repeating-)?linear-gradient\(\s*(-?\d*\.?\d*)deg/ig,function(e,t,n,r){return t+(n||"")+"linear-gradient("+(90-r)+"deg"}));e=t("functions","(\\s|:|,)","\\s*\\(","$1"+s+"$2(",e);e=t("keywords","(\\s|:)","(\\s|;|\\}|$)","$1"+s+"$2$3",e);e=t("properties","(^|\\{|\\s|;)","\\s*:","$1"+s+"$2:",e);if(n.properties.length){var o=RegExp("\\b("+n.properties.join("|")+")(?!:)","gi");e=t("valueProperties","\\b",":(.+?);",function(e){return e.replace(o,s+"$1")},e)}if(r){e=t("selectors","","\\b",n.prefixSelector,e);e=t("atrules","@","\\b","@"+s+"$1",e)}e=e.replace(RegExp("-"+s,"g"),"-");e=e.replace(/-\*-(?=[a-z]+)/gi,n.prefix);return e},property:function(e){return(n.properties.indexOf(e)?n.prefix:"")+e},value:function(e,r){e=t("functions","(^|\\s|,)","\\s*\\(","$1"+n.prefix+"$2(",e);e=t("keywords","(^|\\s)","(\\s|$)","$1"+n.prefix+"$2$3",e);return e},prefixSelector:function(e){return e.replace(/^:{1,2}/,function(e){return e+n.prefix})},prefixProperty:function(e,t){var r=n.prefix+e;return t?StyleFix.camelCase(r):r}};(function(){var e={},t=[],r={},i=getComputedStyle(document.documentElement,null),s=document.createElement("div").style,o=function(n){if(n.charAt(0)==="-"){t.push(n);var r=n.split("-"),i=r[1];e[i]=++e[i]||1;while(r.length>3){r.pop();var s=r.join("-");u(s)&&t.indexOf(s)===-1&&t.push(s)}}},u=function(e){return StyleFix.camelCase(e)in s};if(i.length>0)for(var a=0;a<i.length;a++)o(i[a]);else for(var f in i)o(StyleFix.deCamelCase(f));var l={uses:0};for(var c in e){var h=e[c];l.uses<h&&(l={prefix:c,uses:h})}n.prefix="-"+l.prefix+"-";n.Prefix=StyleFix.camelCase(n.prefix);n.properties=[];for(var a=0;a<t.length;a++){var f=t[a];if(f.indexOf(n.prefix)===0){var p=f.slice(n.prefix.length);u(p)||n.properties.push(p)}}n.Prefix=="Ms"&&!("transform"in s)&&!("MsTransform"in s)&&"msTransform"in s&&n.properties.push("transform","transform-origin");n.properties.sort()})();(function(){function i(e,t){r[t]="";r[t]=e;return!!r[t]}var e={"linear-gradient":{property:"backgroundImage",params:"red, teal"},calc:{property:"width",params:"1px + 5%"},element:{property:"backgroundImage",params:"#foo"},"cross-fade":{property:"backgroundImage",params:"url(a.png), url(b.png), 50%"}};e["repeating-linear-gradient"]=e["repeating-radial-gradient"]=e["radial-gradient"]=e["linear-gradient"];var t={initial:"color","zoom-in":"cursor","zoom-out":"cursor",box:"display",flexbox:"display","inline-flexbox":"display",flex:"display","inline-flex":"display",grid:"display","inline-grid":"display","min-content":"width"};n.functions=[];n.keywords=[];var r=document.createElement("div").style;for(var s in e){var o=e[s],u=o.property,a=s+"("+o.params+")";!i(a,u)&&i(n.prefix+a,u)&&n.functions.push(s)}for(var f in t){var u=t[f];!i(f,u)&&i(n.prefix+f,u)&&n.keywords.push(f)}})();(function(){function s(e){i.textContent=e+"{}";return!!i.sheet.cssRules.length}var t={":read-only":null,":read-write":null,":any-link":null,"::selection":null},r={keyframes:"name",viewport:null,document:'regexp(".")'};n.selectors=[];n.atrules=[];var i=e.appendChild(document.createElement("style"));for(var o in t){var u=o+(t[o]?"("+t[o]+")":"");!s(u)&&s(n.prefixSelector(u))&&n.selectors.push(o)}for(var a in r){var u=a+" "+(r[a]||"");!s("@"+u)&&s("@"+n.prefix+u)&&n.atrules.push(a)}e.removeChild(i)})();n.valueProperties=["transition","transition-property"];e.className+=" "+n.prefix;StyleFix.register(n.prefixCSS)})(document.documentElement);
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "normalize-css",
3
+ "version": "2.1.2",
4
+ "main": "normalize.css",
5
+ "author": "Nicolas Gallagher",
6
+ "ignore": [
7
+ "CHANGELOG.md",
8
+ "CONTRIBUTING.md",
9
+ "component.json",
10
+ "test.html"
11
+ ],
12
+ "homepage": "https://github.com/necolas/normalize.css",
13
+ "_release": "2.1.2",
14
+ "_resolution": {
15
+ "type": "version",
16
+ "tag": "v2.1.2",
17
+ "commit": "783d337293754992a56066df68ade69732231fc0"
18
+ },
19
+ "_source": "git://github.com/necolas/normalize.css.git",
20
+ "_target": "~2.1.2"
21
+ }
@@ -0,0 +1,19 @@
1
+ Copyright (c) Nicolas Gallagher and Jonathan Neal
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -0,0 +1,49 @@
1
+ # normalize.css v2
2
+
3
+ Normalize.css is a customisable CSS file that makes browsers render all
4
+ elements more consistently and in line with modern standards. We researched the
5
+ differences between default browser styles in order to precisely target only
6
+ the styles that need normalizing.
7
+
8
+ [Check out the demo](http://necolas.github.io/normalize.css/latest/test.html)
9
+
10
+ [Legacy browser support is available in v1](https://github.com/necolas/normalize.css/tree/v1)
11
+
12
+ ## Install
13
+
14
+ Download from the [project page](http://necolas.github.io/normalize.css/).
15
+
16
+ Install with [Bower](http://bower.io/): `bower install --save normalize-css`
17
+
18
+ ## What does it do?
19
+
20
+ * Preserves useful defaults, unlike many CSS resets.
21
+ * Normalizes styles for a wide range of elements.
22
+ * Corrects bugs and common browser inconsistencies.
23
+ * Improves usability with subtle improvements.
24
+ * Explains what code does using detailed comments.
25
+
26
+ ## How to use it
27
+
28
+ Normalize.css is intended to be used as an alternative to CSS resets.
29
+
30
+ It's suggested that you read the `normalize.css` file and consider customising
31
+ it to meet your needs. Alternatively, include the file in your project and
32
+ override the defaults later in your CSS.
33
+
34
+ ## Browser support
35
+
36
+ * Google Chrome
37
+ * Mozilla Firefox 4+
38
+ * Apple Safari 5+
39
+ * Opera 12+
40
+ * Internet Explorer 8+
41
+
42
+ ## Contribute
43
+
44
+ Please read the CONTRIBUTING.md
45
+
46
+ ## Acknowledgements
47
+
48
+ Normalize.css is a project by [Nicolas Gallagher](https://github.com/necolas),
49
+ co-created with [Jonathan Neal](https://github.com/jonathantneal).
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "normalize-css",
3
+ "version": "2.1.2",
4
+ "main": "normalize.css",
5
+ "author": "Nicolas Gallagher",
6
+ "ignore": [
7
+ "CHANGELOG.md",
8
+ "CONTRIBUTING.md",
9
+ "component.json",
10
+ "test.html"
11
+ ]
12
+ }