twigg-app 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. checksums.yaml +4 -4
  2. data/assets/javascripts/_bootstrap.js +7 -0
  3. data/assets/javascripts/_jquery.js +19 -0
  4. data/assets/javascripts/_tables.js +3 -0
  5. data/assets/javascripts/_views.js +10 -0
  6. data/assets/javascripts/application.js +9 -0
  7. data/{public/application.js → assets/javascripts/views/_commit_set_bar_chart.js} +32 -34
  8. data/assets/javascripts/views/_russia.js +61 -0
  9. data/assets/javascripts/views/_tags.js +56 -0
  10. data/assets/javascripts/views/_tags_word_cloud.js +51 -0
  11. data/assets/stylesheets/_bootstrap_overrides.scss +15 -0
  12. data/assets/stylesheets/_footer.scss +28 -0
  13. data/assets/stylesheets/_global.scss +14 -0
  14. data/assets/stylesheets/_tables.scss +20 -0
  15. data/assets/stylesheets/application.scss +10 -0
  16. data/assets/stylesheets/d3/_bar_chart.scss +25 -0
  17. data/assets/stylesheets/d3/_bubble_chart.scss +22 -0
  18. data/lib/twigg-app/app/routes.rb +4 -0
  19. data/lib/twigg-app/app/server.rb +78 -21
  20. data/lib/twigg-app/app/version.rb +1 -1
  21. data/public/vendor/bootstrap/Gruntfile.js +32 -10
  22. data/public/vendor/bootstrap/README.md +2 -0
  23. data/public/vendor/bootstrap/_config.yml +5 -10
  24. data/public/vendor/bootstrap/_includes/footer.html +2 -1
  25. data/public/vendor/bootstrap/_includes/nav-components.html +33 -31
  26. data/public/vendor/bootstrap/_includes/nav-css.html +32 -22
  27. data/public/vendor/bootstrap/_includes/nav-getting-started.html +17 -1
  28. data/public/vendor/bootstrap/_includes/nav-javascript.html +1 -1
  29. data/public/vendor/bootstrap/_includes/nav-main.html +1 -1
  30. data/public/vendor/bootstrap/_includes/social-buttons.html +1 -1
  31. data/public/vendor/bootstrap/_layouts/default.html +18 -14
  32. data/public/vendor/bootstrap/_layouts/home.html +9 -6
  33. data/public/vendor/bootstrap/assets/css/docs.css +584 -396
  34. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  35. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  36. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  37. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  38. data/public/vendor/bootstrap/assets/ico/favicon.png +0 -0
  39. data/public/vendor/bootstrap/assets/js/application.js +2 -1
  40. data/public/vendor/bootstrap/assets/js/customizer.js +160 -45
  41. data/public/vendor/bootstrap/assets/js/filesaver.js +169 -0
  42. data/public/vendor/bootstrap/assets/js/jquery.js +6 -5
  43. data/public/vendor/bootstrap/assets/js/raw-files.js +3 -0
  44. data/public/vendor/bootstrap/bower.json +1 -1
  45. data/public/vendor/bootstrap/components.html +787 -364
  46. data/public/vendor/bootstrap/composer.json +1 -1
  47. data/public/vendor/bootstrap/css.html +413 -248
  48. data/public/vendor/bootstrap/customize.html +413 -447
  49. data/public/vendor/bootstrap/dist/css/bootstrap-theme.css +384 -0
  50. data/public/vendor/bootstrap/dist/css/bootstrap-theme.min.css +1 -0
  51. data/public/vendor/bootstrap/dist/css/bootstrap.css +3033 -1807
  52. data/public/vendor/bootstrap/dist/css/bootstrap.min.css +1 -1
  53. data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
  54. data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +228 -0
  55. data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
  56. data/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  57. data/public/vendor/bootstrap/dist/js/bootstrap.js +18 -12
  58. data/public/vendor/bootstrap/dist/js/bootstrap.min.js +1 -1
  59. data/public/vendor/bootstrap/examples/carousel/carousel.css +128 -0
  60. data/public/vendor/bootstrap/examples/carousel/index.html +201 -0
  61. data/public/vendor/bootstrap/examples/grid/grid.css +28 -0
  62. data/public/vendor/bootstrap/examples/grid/index.html +119 -0
  63. data/public/vendor/bootstrap/examples/jumbotron/index.html +111 -0
  64. data/public/vendor/bootstrap/examples/jumbotron/jumbotron.css +5 -0
  65. data/public/vendor/bootstrap/examples/jumbotron-narrow/index.html +78 -0
  66. data/public/vendor/bootstrap/examples/jumbotron-narrow/jumbotron-narrow.css +79 -0
  67. data/public/vendor/bootstrap/examples/justified-nav/index.html +79 -0
  68. data/public/vendor/bootstrap/examples/justified-nav/justified-nav.css +88 -0
  69. data/public/vendor/bootstrap/examples/navbar/index.html +83 -0
  70. data/public/vendor/bootstrap/examples/navbar/navbar.css +7 -0
  71. data/public/vendor/bootstrap/examples/navbar-fixed-top/index.html +86 -0
  72. data/public/vendor/bootstrap/examples/navbar-fixed-top/navbar-fixed-top.css +4 -0
  73. data/public/vendor/bootstrap/examples/navbar-static-top/index.html +87 -0
  74. data/public/vendor/bootstrap/examples/navbar-static-top/navbar-static-top.css +7 -0
  75. data/public/vendor/bootstrap/examples/non-responsive/index.html +96 -0
  76. data/public/vendor/bootstrap/examples/non-responsive/non-responsive.css +117 -0
  77. data/public/vendor/bootstrap/examples/offcanvas/index.html +127 -0
  78. data/public/vendor/bootstrap/examples/offcanvas/offcanvas.css +48 -0
  79. data/public/vendor/bootstrap/examples/offcanvas/offcanvas.js +5 -0
  80. data/public/vendor/bootstrap/examples/screenshots/carousel.jpg +0 -0
  81. data/public/vendor/bootstrap/examples/screenshots/grid.jpg +0 -0
  82. data/public/vendor/bootstrap/examples/screenshots/jumbotron-narrow.jpg +0 -0
  83. data/public/vendor/bootstrap/examples/screenshots/jumbotron.jpg +0 -0
  84. data/public/vendor/bootstrap/examples/screenshots/justified-nav.jpg +0 -0
  85. data/public/vendor/bootstrap/examples/screenshots/navbar-fixed.jpg +0 -0
  86. data/public/vendor/bootstrap/examples/screenshots/navbar-static.jpg +0 -0
  87. data/public/vendor/bootstrap/examples/screenshots/navbar.jpg +0 -0
  88. data/public/vendor/bootstrap/examples/screenshots/non-responsive.jpg +0 -0
  89. data/public/vendor/bootstrap/examples/screenshots/offcanvas.jpg +0 -0
  90. data/public/vendor/bootstrap/examples/screenshots/sign-in.jpg +0 -0
  91. data/public/vendor/bootstrap/examples/screenshots/starter-template.jpg +0 -0
  92. data/public/vendor/bootstrap/examples/screenshots/sticky-footer-navbar.jpg +0 -0
  93. data/public/vendor/bootstrap/examples/screenshots/sticky-footer.jpg +0 -0
  94. data/public/vendor/bootstrap/examples/screenshots/theme.jpg +0 -0
  95. data/public/vendor/bootstrap/examples/signin/index.html +46 -0
  96. data/public/vendor/bootstrap/examples/signin/signin.css +40 -0
  97. data/public/vendor/bootstrap/examples/starter-template/index.html +63 -0
  98. data/public/vendor/bootstrap/examples/starter-template/starter-template.css +7 -0
  99. data/public/vendor/bootstrap/examples/sticky-footer/index.html +51 -0
  100. data/public/vendor/bootstrap/examples/sticky-footer/sticky-footer.css +39 -0
  101. data/public/vendor/bootstrap/examples/sticky-footer-navbar/index.html +86 -0
  102. data/public/vendor/bootstrap/examples/sticky-footer-navbar/sticky-footer-navbar.css +46 -0
  103. data/public/vendor/bootstrap/examples/theme/index.html +387 -0
  104. data/public/vendor/bootstrap/examples/theme/theme.css +14 -0
  105. data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  106. data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg +228 -0
  107. data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  108. data/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  109. data/public/vendor/bootstrap/getting-started.html +513 -22
  110. data/public/vendor/bootstrap/index.html +3 -4
  111. data/public/vendor/bootstrap/javascript.html +123 -115
  112. data/public/vendor/bootstrap/js/dropdown.js +3 -3
  113. data/public/vendor/bootstrap/js/modal.js +5 -3
  114. data/public/vendor/bootstrap/js/tests/unit/modal.js +19 -0
  115. data/public/vendor/bootstrap/js/tests/vendor/jquery.js +6 -5
  116. data/public/vendor/bootstrap/js/tooltip.js +9 -5
  117. data/public/vendor/bootstrap/js/transition.js +1 -1
  118. data/public/vendor/bootstrap/less/alerts.less +7 -11
  119. data/public/vendor/bootstrap/less/bootstrap.less +17 -21
  120. data/public/vendor/bootstrap/less/button-groups.less +14 -10
  121. data/public/vendor/bootstrap/less/buttons.less +3 -2
  122. data/public/vendor/bootstrap/less/carousel.less +6 -1
  123. data/public/vendor/bootstrap/less/dropdowns.less +22 -5
  124. data/public/vendor/bootstrap/less/forms.less +36 -15
  125. data/public/vendor/bootstrap/less/glyphicons.less +232 -0
  126. data/public/vendor/bootstrap/less/grid.less +9 -3
  127. data/public/vendor/bootstrap/less/input-groups.less +1 -1
  128. data/public/vendor/bootstrap/less/jumbotron.less +16 -5
  129. data/public/vendor/bootstrap/less/labels.less +9 -5
  130. data/public/vendor/bootstrap/less/mixins.less +73 -43
  131. data/public/vendor/bootstrap/less/modals.less +8 -0
  132. data/public/vendor/bootstrap/less/navbar.less +251 -189
  133. data/public/vendor/bootstrap/less/navs.less +13 -12
  134. data/public/vendor/bootstrap/less/pager.less +1 -1
  135. data/public/vendor/bootstrap/less/pagination.less +20 -9
  136. data/public/vendor/bootstrap/less/panels.less +28 -8
  137. data/public/vendor/bootstrap/less/progress-bars.less +6 -10
  138. data/public/vendor/bootstrap/less/responsive-utilities.less +120 -49
  139. data/public/vendor/bootstrap/less/scaffolding.less +37 -18
  140. data/public/vendor/bootstrap/less/tables.less +84 -59
  141. data/public/vendor/bootstrap/less/theme.less +232 -0
  142. data/public/vendor/bootstrap/less/thumbnails.less +8 -19
  143. data/public/vendor/bootstrap/less/type.less +2 -2
  144. data/public/vendor/bootstrap/less/variables.less +63 -50
  145. data/public/vendor/bootstrap/package.json +2 -1
  146. data/public/vendor/components-backbone/LICENSE +22 -0
  147. data/public/vendor/components-backbone/README.md +10 -0
  148. data/public/vendor/components-backbone/backbone-min.js +4 -0
  149. data/public/vendor/components-backbone/backbone.js +1571 -0
  150. data/public/vendor/components-backbone/bower.json +17 -0
  151. data/public/vendor/components-backbone/component.json +21 -0
  152. data/public/vendor/components-backbone/composer.json +37 -0
  153. data/public/vendor/components-backbone/package.json +24 -0
  154. data/public/vendor/d3.layout.cloud.js +401 -0
  155. data/public/vendor/replacejs/CHANGELOG.md +4 -0
  156. data/public/vendor/replacejs/replace.js +21 -2
  157. data/public/vendor/underscore/CNAME +1 -0
  158. data/public/vendor/underscore/CONTRIBUTING.md +9 -0
  159. data/public/vendor/underscore/LICENSE +22 -0
  160. data/public/vendor/underscore/README.md +19 -0
  161. data/public/vendor/underscore/Rakefile +10 -0
  162. data/public/vendor/underscore/docs/docco.css +192 -0
  163. data/public/vendor/underscore/docs/favicon.ico +0 -0
  164. data/public/vendor/underscore/docs/images/background.png +0 -0
  165. data/public/vendor/underscore/docs/images/underscore.png +0 -0
  166. data/public/vendor/underscore/docs/underscore.html +823 -0
  167. data/public/vendor/underscore/favicon.ico +0 -0
  168. data/public/vendor/underscore/index.html +2467 -0
  169. data/public/vendor/underscore/index.js +1 -0
  170. data/public/vendor/underscore/package.json +16 -0
  171. data/public/vendor/underscore/test/arrays.js +200 -0
  172. data/public/vendor/underscore/test/chaining.js +59 -0
  173. data/public/vendor/underscore/test/collections.js +453 -0
  174. data/public/vendor/underscore/test/functions.js +265 -0
  175. data/public/vendor/underscore/test/index.html +44 -0
  176. data/public/vendor/underscore/test/objects.js +570 -0
  177. data/public/vendor/underscore/test/speed.js +75 -0
  178. data/public/vendor/underscore/test/utility.js +266 -0
  179. data/public/vendor/underscore/test/vendor/jquery.js +9404 -0
  180. data/public/vendor/underscore/test/vendor/jslitmus.js +670 -0
  181. data/public/vendor/underscore/test/vendor/qunit.css +235 -0
  182. data/public/vendor/underscore/test/vendor/qunit.js +1977 -0
  183. data/public/vendor/underscore/test/vendor/runner.js +98 -0
  184. data/public/vendor/underscore/underscore-min.js +1 -0
  185. data/public/vendor/underscore/underscore.js +1226 -0
  186. data/views/dashboard.haml +1 -1
  187. data/views/layout.haml +8 -4
  188. metadata +132 -25
  189. data/public/vendor/bootstrap/_layouts/customize.html +0 -52
  190. data/public/vendor/bootstrap/assets/js/jquery.bbq.min.js +0 -1287
  191. data/public/vendor/bootstrap-glyphicons/CHANGELOG.md +0 -3
  192. data/public/vendor/bootstrap-glyphicons/CNAME +0 -1
  193. data/public/vendor/bootstrap-glyphicons/CONTRIBUTING.md +0 -54
  194. data/public/vendor/bootstrap-glyphicons/LICENSE +0 -19
  195. data/public/vendor/bootstrap-glyphicons/README.md +0 -61
  196. data/public/vendor/bootstrap-glyphicons/_config.yml +0 -12
  197. data/public/vendor/bootstrap-glyphicons/composer.json +0 -9
  198. data/public/vendor/bootstrap-glyphicons/css/bootstrap-glyphicons.css +0 -2
  199. data/public/vendor/bootstrap-glyphicons/css/bootstrap.css +0 -9
  200. data/public/vendor/bootstrap-glyphicons/css/docs.css +0 -160
  201. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.eot +0 -0
  202. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.otf +0 -0
  203. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.svg +0 -175
  204. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.ttf +0 -0
  205. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.woff +0 -0
  206. data/public/vendor/bootstrap-glyphicons/index.html +0 -255
  207. data/public/vendor/bootstrap-glyphicons/less/bootstrap-glyphicons.less +0 -201
  208. data/public/vendor/bootstrap-glyphicons/package.json +0 -18
@@ -0,0 +1,79 @@
1
+ /* Space out content a bit */
2
+ body {
3
+ padding-top: 20px;
4
+ padding-bottom: 20px;
5
+ }
6
+
7
+ /* Everything but the jumbotron gets side spacing for mobile first views */
8
+ .header,
9
+ .marketing,
10
+ .footer {
11
+ padding-left: 15px;
12
+ padding-right: 15px;
13
+ }
14
+
15
+ /* Custom page header */
16
+ .header {
17
+ border-bottom: 1px solid #e5e5e5;
18
+ }
19
+ /* Make the masthead heading the same height as the navigation */
20
+ .header h3 {
21
+ margin-top: 0;
22
+ margin-bottom: 0;
23
+ line-height: 40px;
24
+ padding-bottom: 19px;
25
+ }
26
+
27
+ /* Custom page footer */
28
+ .footer {
29
+ padding-top: 19px;
30
+ color: #777;
31
+ border-top: 1px solid #e5e5e5;
32
+ }
33
+
34
+ /* Customize container */
35
+ @media (min-width: 768px) {
36
+ .container {
37
+ max-width: 730px;
38
+ }
39
+ }
40
+ .container-narrow > hr {
41
+ margin: 30px 0;
42
+ }
43
+
44
+ /* Main marketing message and sign up button */
45
+ .jumbotron {
46
+ text-align: center;
47
+ border-bottom: 1px solid #e5e5e5;
48
+ }
49
+ .jumbotron .btn {
50
+ font-size: 21px;
51
+ padding: 14px 24px;
52
+ }
53
+
54
+ /* Supporting marketing content */
55
+ .marketing {
56
+ margin: 40px 0;
57
+ }
58
+ .marketing p + h4 {
59
+ margin-top: 28px;
60
+ }
61
+
62
+ /* Responsive: Portrait tablets and up */
63
+ @media screen and (min-width: 768px) {
64
+ /* Remove the padding we set earlier */
65
+ .header,
66
+ .marketing,
67
+ .footer {
68
+ padding-left: 0;
69
+ padding-right: 0;
70
+ }
71
+ /* Space out the masthead */
72
+ .header {
73
+ margin-bottom: 30px;
74
+ }
75
+ /* Remove the bottom border on the jumbotron for visual effect */
76
+ .jumbotron {
77
+ border-bottom: 0;
78
+ }
79
+ }
@@ -0,0 +1,79 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="">
7
+ <meta name="author" content="">
8
+ <link rel="shortcut icon" href="../../assets/ico/favicon.png">
9
+
10
+ <title>Justified Nav Template for Bootstrap</title>
11
+
12
+ <!-- Bootstrap core CSS -->
13
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
14
+
15
+ <!-- Custom styles for this template -->
16
+ <link href="justified-nav.css" rel="stylesheet">
17
+
18
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
19
+ <!--[if lt IE 9]>
20
+ <script src="../../assets/js/html5shiv.js"></script>
21
+ <script src="../../assets/js/respond.min.js"></script>
22
+ <![endif]-->
23
+ </head>
24
+
25
+ <body>
26
+
27
+ <div class="container">
28
+
29
+ <div class="masthead">
30
+ <h3 class="text-muted">Project name</h3>
31
+ <ul class="nav nav-justified">
32
+ <li class="active"><a href="#">Home</a></li>
33
+ <li><a href="#">Projects</a></li>
34
+ <li><a href="#">Services</a></li>
35
+ <li><a href="#">Downloads</a></li>
36
+ <li><a href="#">About</a></li>
37
+ <li><a href="#">Contact</a></li>
38
+ </ul>
39
+ </div>
40
+
41
+ <!-- Jumbotron -->
42
+ <div class="jumbotron">
43
+ <h1>Marketing stuff!</h1>
44
+ <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet.</p>
45
+ <p><a class="btn btn-lg btn-success" href="#">Get started today</a></p>
46
+ </div>
47
+
48
+ <!-- Example row of columns -->
49
+ <div class="row">
50
+ <div class="col-lg-4">
51
+ <h2>Heading</h2>
52
+ <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
53
+ <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
54
+ </div>
55
+ <div class="col-lg-4">
56
+ <h2>Heading</h2>
57
+ <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
58
+ <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
59
+ </div>
60
+ <div class="col-lg-4">
61
+ <h2>Heading</h2>
62
+ <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
63
+ <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
64
+ </div>
65
+ </div>
66
+
67
+ <!-- Site footer -->
68
+ <div class="footer">
69
+ <p>&copy; Company 2013</p>
70
+ </div>
71
+
72
+ </div> <!-- /container -->
73
+
74
+
75
+ <!-- Bootstrap core JavaScript
76
+ ================================================== -->
77
+ <!-- Placed at the end of the document so the pages load faster -->
78
+ </body>
79
+ </html>
@@ -0,0 +1,88 @@
1
+ body {
2
+ padding-top: 20px;
3
+ }
4
+
5
+ .footer {
6
+ border-top: 1px solid #eee;
7
+ margin-top: 40px;
8
+ padding-top: 40px;
9
+ padding-bottom: 40px;
10
+ }
11
+
12
+ /* Main marketing message and sign up button */
13
+ .jumbotron {
14
+ text-align: center;
15
+ background-color: transparent;
16
+ }
17
+ .jumbotron .btn {
18
+ font-size: 21px;
19
+ padding: 14px 24px;
20
+ }
21
+
22
+ /* Customize the nav-justified links to be fill the entire space of the .navbar */
23
+
24
+ .nav-justified {
25
+ background-color: #eee;
26
+ border-radius: 5px;
27
+ border: 1px solid #ccc;
28
+ }
29
+ .nav-justified > li > a {
30
+ padding-top: 15px;
31
+ padding-bottom: 15px;
32
+ color: #777;
33
+ font-weight: bold;
34
+ text-align: center;
35
+ border-bottom: 1px solid #d5d5d5;
36
+ background-color: #e5e5e5; /* Old browsers */
37
+ background-repeat: repeat-x; /* Repeat the gradient */
38
+ background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
39
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
40
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
41
+ background-image: -ms-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* IE10+ */
42
+ background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
43
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
44
+ background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
45
+ }
46
+ .nav-justified > .active > a,
47
+ .nav-justified > .active > a:hover,
48
+ .nav-justified > .active > a:focus {
49
+ background-color: #ddd;
50
+ background-image: none;
51
+ box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
52
+ }
53
+ .nav-justified > li:first-child > a {
54
+ border-radius: 5px 5px 0 0;
55
+ }
56
+ .nav-justified > li:last-child > a {
57
+ border-bottom: 0;
58
+ border-radius: 0 0 5px 5px;
59
+ }
60
+
61
+ @media (min-width: 768px) {
62
+ .nav-justified {
63
+ max-height: 52px;
64
+ }
65
+ .nav-justified > li > a {
66
+ border-left: 1px solid #fff;
67
+ border-right: 1px solid #d5d5d5;
68
+ }
69
+ .nav-justified > li:first-child > a {
70
+ border-left: 0;
71
+ border-radius: 5px 0 0 5px;
72
+ }
73
+ .nav-justified > li:last-child > a {
74
+ border-radius: 0 5px 5px 0;
75
+ border-right: 0;
76
+ }
77
+ }
78
+
79
+ /* Responsive: Portrait tablets and up */
80
+ @media screen and (min-width: 768px) {
81
+ /* Remove the padding we set earlier */
82
+ .masthead,
83
+ .marketing,
84
+ .footer {
85
+ padding-left: 0;
86
+ padding-right: 0;
87
+ }
88
+ }
@@ -0,0 +1,83 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="">
7
+ <meta name="author" content="">
8
+ <link rel="shortcut icon" href="../../assets/ico/favicon.png">
9
+
10
+ <title>Navbar Template for Bootstrap</title>
11
+
12
+ <!-- Bootstrap core CSS -->
13
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
14
+
15
+ <!-- Custom styles for this template -->
16
+ <link href="navbar.css" rel="stylesheet">
17
+
18
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
19
+ <!--[if lt IE 9]>
20
+ <script src="../../assets/js/html5shiv.js"></script>
21
+ <script src="../../assets/js/respond.min.js"></script>
22
+ <![endif]-->
23
+ </head>
24
+
25
+ <body>
26
+
27
+ <div class="container">
28
+
29
+ <!-- Static navbar -->
30
+ <div class="navbar navbar-default">
31
+ <div class="navbar-header">
32
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ <span class="icon-bar"></span>
36
+ </button>
37
+ <a class="navbar-brand" href="#">Project name</a>
38
+ </div>
39
+ <div class="navbar-collapse collapse">
40
+ <ul class="nav navbar-nav">
41
+ <li class="active"><a href="#">Link</a></li>
42
+ <li><a href="#">Link</a></li>
43
+ <li><a href="#">Link</a></li>
44
+ <li class="dropdown">
45
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
46
+ <ul class="dropdown-menu">
47
+ <li><a href="#">Action</a></li>
48
+ <li><a href="#">Another action</a></li>
49
+ <li><a href="#">Something else here</a></li>
50
+ <li class="divider"></li>
51
+ <li class="dropdown-header">Nav header</li>
52
+ <li><a href="#">Separated link</a></li>
53
+ <li><a href="#">One more separated link</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+ <li class="active"><a href="./">Default</a></li>
59
+ <li><a href="../navbar-static-top/">Static top</a></li>
60
+ <li><a href="../navbar-fixed-top/">Fixed top</a></li>
61
+ </ul>
62
+ </div><!--/.nav-collapse -->
63
+ </div>
64
+
65
+ <!-- Main component for a primary marketing message or call to action -->
66
+ <div class="jumbotron">
67
+ <h1>Navbar example</h1>
68
+ <p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
69
+ <p>
70
+ <a class="btn btn-lg btn-primary" href="../../components/#navbar">View navbar docs &raquo;</a>
71
+ </p>
72
+ </div>
73
+
74
+ </div> <!-- /container -->
75
+
76
+
77
+ <!-- Bootstrap core JavaScript
78
+ ================================================== -->
79
+ <!-- Placed at the end of the document so the pages load faster -->
80
+ <script src="../../assets/js/jquery.js"></script>
81
+ <script src="../../dist/js/bootstrap.min.js"></script>
82
+ </body>
83
+ </html>
@@ -0,0 +1,7 @@
1
+ body {
2
+ padding: 30px;
3
+ }
4
+
5
+ .navbar {
6
+ margin-bottom: 30px;
7
+ }
@@ -0,0 +1,86 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="">
7
+ <meta name="author" content="">
8
+ <link rel="shortcut icon" href="../../assets/ico/favicon.png">
9
+
10
+ <title>Fixed Top Navbar Example for Bootstrap</title>
11
+
12
+ <!-- Bootstrap core CSS -->
13
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
14
+
15
+ <!-- Custom styles for this template -->
16
+ <link href="navbar-fixed-top.css" rel="stylesheet">
17
+
18
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
19
+ <!--[if lt IE 9]>
20
+ <script src="../../assets/js/html5shiv.js"></script>
21
+ <script src="../../assets/js/respond.min.js"></script>
22
+ <![endif]-->
23
+ </head>
24
+
25
+ <body>
26
+
27
+ <!-- Fixed navbar -->
28
+ <div class="navbar navbar-default navbar-fixed-top">
29
+ <div class="container">
30
+ <div class="navbar-header">
31
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ </button>
36
+ <a class="navbar-brand" href="#">Project name</a>
37
+ </div>
38
+ <div class="navbar-collapse collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li class="active"><a href="#">Home</a></li>
41
+ <li><a href="#about">About</a></li>
42
+ <li><a href="#contact">Contact</a></li>
43
+ <li class="dropdown">
44
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
45
+ <ul class="dropdown-menu">
46
+ <li><a href="#">Action</a></li>
47
+ <li><a href="#">Another action</a></li>
48
+ <li><a href="#">Something else here</a></li>
49
+ <li class="divider"></li>
50
+ <li class="dropdown-header">Nav header</li>
51
+ <li><a href="#">Separated link</a></li>
52
+ <li><a href="#">One more separated link</a></li>
53
+ </ul>
54
+ </li>
55
+ </ul>
56
+ <ul class="nav navbar-nav navbar-right">
57
+ <li><a href="../navbar/">Default</a></li>
58
+ <li><a href="../navbar-static-top/">Static top</a></li>
59
+ <li class="active"><a href="./">Fixed top</a></li>
60
+ </ul>
61
+ </div><!--/.nav-collapse -->
62
+ </div>
63
+ </div>
64
+
65
+ <div class="container">
66
+
67
+ <!-- Main component for a primary marketing message or call to action -->
68
+ <div class="jumbotron">
69
+ <h1>Navbar example</h1>
70
+ <p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
71
+ <p>To see the difference between static and fixed top navbars, just scroll.</p>
72
+ <p>
73
+ <a class="btn btn-lg btn-primary" href="../../components/#navbar">View navbar docs &raquo;</a>
74
+ </p>
75
+ </div>
76
+
77
+ </div> <!-- /container -->
78
+
79
+
80
+ <!-- Bootstrap core JavaScript
81
+ ================================================== -->
82
+ <!-- Placed at the end of the document so the pages load faster -->
83
+ <script src="../../assets/js/jquery.js"></script>
84
+ <script src="../../dist/js/bootstrap.min.js"></script>
85
+ </body>
86
+ </html>
@@ -0,0 +1,4 @@
1
+ body {
2
+ min-height: 2000px;
3
+ padding-top: 70px;
4
+ }
@@ -0,0 +1,87 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="">
7
+ <meta name="author" content="">
8
+ <link rel="shortcut icon" href="../../assets/ico/favicon.png">
9
+
10
+ <title>Static Top Navbar Example for Bootstrap</title>
11
+
12
+ <!-- Bootstrap core CSS -->
13
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
14
+
15
+ <!-- Custom styles for this template -->
16
+ <link href="navbar-static-top.css" rel="stylesheet">
17
+
18
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
19
+ <!--[if lt IE 9]>
20
+ <script src="../../assets/js/html5shiv.js"></script>
21
+ <script src="../../assets/js/respond.min.js"></script>
22
+ <![endif]-->
23
+ </head>
24
+
25
+ <body>
26
+
27
+ <!-- Static navbar -->
28
+ <div class="navbar navbar-default navbar-static-top">
29
+ <div class="container">
30
+ <div class="navbar-header">
31
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ </button>
36
+ <a class="navbar-brand" href="#">Project name</a>
37
+ </div>
38
+ <div class="navbar-collapse collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li class="active"><a href="#">Home</a></li>
41
+ <li><a href="#about">About</a></li>
42
+ <li><a href="#contact">Contact</a></li>
43
+ <li class="dropdown">
44
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
45
+ <ul class="dropdown-menu">
46
+ <li><a href="#">Action</a></li>
47
+ <li><a href="#">Another action</a></li>
48
+ <li><a href="#">Something else here</a></li>
49
+ <li class="divider"></li>
50
+ <li class="dropdown-header">Nav header</li>
51
+ <li><a href="#">Separated link</a></li>
52
+ <li><a href="#">One more separated link</a></li>
53
+ </ul>
54
+ </li>
55
+ </ul>
56
+ <ul class="nav navbar-nav navbar-right">
57
+ <li><a href="../navbar/">Default</a></li>
58
+ <li class="active"><a href="./">Static top</a></li>
59
+ <li><a href="../navbar-fixed-top/">Fixed top</a></li>
60
+ </ul>
61
+ </div><!--/.nav-collapse -->
62
+ </div>
63
+ </div>
64
+
65
+
66
+ <div class="container">
67
+
68
+ <!-- Main component for a primary marketing message or call to action -->
69
+ <div class="jumbotron">
70
+ <h1>Navbar example</h1>
71
+ <p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
72
+ <p>To see the difference between static and fixed top navbars, just scroll.</p>
73
+ <p>
74
+ <a class="btn btn-lg btn-primary" href="../../components/#navbar">View navbar docs &raquo;</a>
75
+ </p>
76
+ </div>
77
+
78
+ </div> <!-- /container -->
79
+
80
+
81
+ <!-- Bootstrap core JavaScript
82
+ ================================================== -->
83
+ <!-- Placed at the end of the document so the pages load faster -->
84
+ <script src="../../assets/js/jquery.js"></script>
85
+ <script src="../../dist/js/bootstrap.min.js"></script>
86
+ </body>
87
+ </html>
@@ -0,0 +1,7 @@
1
+ body {
2
+ min-height: 2000px;
3
+ }
4
+
5
+ .navbar-static-top {
6
+ margin-bottom: 19px;
7
+ }
@@ -0,0 +1,96 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="description" content="">
6
+ <meta name="author" content="">
7
+
8
+ <!-- Note there is no responsive meta tag here -->
9
+
10
+ <link rel="shortcut icon" href="../../assets/ico/favicon.png">
11
+
12
+ <title>Non-responsive Template for Bootstrap</title>
13
+
14
+ <!-- Bootstrap core CSS -->
15
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
16
+
17
+ <!-- Custom styles for this template -->
18
+ <link href="non-responsive.css" rel="stylesheet">
19
+
20
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
21
+ <!--[if lt IE 9]>
22
+ <script src="../../assets/js/html5shiv.js"></script>
23
+ <script src="../../assets/js/respond.min.js"></script>
24
+ <![endif]-->
25
+ </head>
26
+
27
+ <body>
28
+
29
+ <!-- Fixed navbar -->
30
+ <div class="navbar navbar-default navbar-fixed-top">
31
+ <div class="container">
32
+ <div class="navbar-header">
33
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
34
+ <span class="icon-bar"></span>
35
+ <span class="icon-bar"></span>
36
+ <span class="icon-bar"></span>
37
+ </button>
38
+ <a class="navbar-brand" href="#">Project name</a>
39
+ </div>
40
+ <div class="navbar-collapse collapse">
41
+ <ul class="nav navbar-nav">
42
+ <li class="active"><a href="#">Home</a></li>
43
+ <li><a href="#about">About</a></li>
44
+ <li><a href="#contact">Contact</a></li>
45
+ <li class="dropdown">
46
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
47
+ <ul class="dropdown-menu">
48
+ <li><a href="#">Action</a></li>
49
+ <li><a href="#">Another action</a></li>
50
+ <li><a href="#">Something else here</a></li>
51
+ <li class="divider"></li>
52
+ <li class="dropdown-header">Nav header</li>
53
+ <li><a href="#">Separated link</a></li>
54
+ <li><a href="#">One more separated link</a></li>
55
+ </ul>
56
+ </li>
57
+ </ul>
58
+ <ul class="nav navbar-nav navbar-right">
59
+ <li><a href="#">Link</a></li>
60
+ <li><a href="#">Link</a></li>
61
+ <li><a href="#">Link</a></li>
62
+ </ul>
63
+ </div><!--/.nav-collapse -->
64
+ </div>
65
+ </div>
66
+
67
+ <div class="container">
68
+
69
+ <div class="page-header">
70
+ <h1>Non-responsive Bootstrap</h1>
71
+ <p class="lead">Disable the responsiveness of Bootstrap by fixing the width of the container and using the first grid system tier.</p>
72
+ </div>
73
+
74
+ <h3>What changes</h3>
75
+ <p>Note the lack of the <code>&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;</code>, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are basically good to go.</p>
76
+
77
+ <h3>Regarding navbars</h3>
78
+ <p>As a heads up, the navbar component is rather tricky here in that the styles for displaying it are rather specific and detailed. Overrides to ensure desktop styles display are not as performant or sleek as one would like. Just be aware there may be potential gotchas as you build on top of this example when using the navbar.</p>
79
+
80
+ <h3>Non-responsive grid system</h3>
81
+ <div class="row">
82
+ <div class="col-xs-4">One third</div>
83
+ <div class="col-xs-4">One third</div>
84
+ <div class="col-xs-4">One third</div>
85
+ </div>
86
+
87
+ </div> <!-- /container -->
88
+
89
+
90
+ <!-- Bootstrap core JavaScript
91
+ ================================================== -->
92
+ <!-- Placed at the end of the document so the pages load faster -->
93
+ <script src="../../assets/js/jquery.js"></script>
94
+ <script src="../../dist/js/bootstrap.min.js"></script>
95
+ </body>
96
+ </html>