sass-twitter-bootstrap 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +14 -0
  4. data/LICENSE +176 -0
  5. data/Makefile +94 -0
  6. data/README.md +217 -0
  7. data/Rakefile +52 -0
  8. data/bootstrap-2.0.4.css +4661 -0
  9. data/bootstrap-2.0.4.min.css +9 -0
  10. data/bootstrap-responsive-2.0.4.css +932 -0
  11. data/bootstrap-responsive-2.0.4.min.css +9 -0
  12. data/docs/assets/css/bootstrap-responsive.css +932 -0
  13. data/docs/assets/css/bootstrap.css +4661 -0
  14. data/docs/assets/css/docs.css +846 -0
  15. data/docs/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  16. data/docs/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  17. data/docs/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  18. data/docs/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  19. data/docs/assets/ico/favicon.ico +0 -0
  20. data/docs/assets/img/bird.png +0 -0
  21. data/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
  22. data/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
  23. data/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
  24. data/docs/assets/img/browsers.png +0 -0
  25. data/docs/assets/img/example-sites/fleetio.png +0 -0
  26. data/docs/assets/img/example-sites/jshint.png +0 -0
  27. data/docs/assets/img/example-sites/kippt.png +0 -0
  28. data/docs/assets/img/example-sites/soundready.png +0 -0
  29. data/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
  30. data/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
  31. data/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
  32. data/docs/assets/img/github-16px.png +0 -0
  33. data/docs/assets/img/glyphicons-halflings-white.png +0 -0
  34. data/docs/assets/img/glyphicons-halflings.png +0 -0
  35. data/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
  36. data/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
  37. data/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
  38. data/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
  39. data/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
  40. data/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
  41. data/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
  42. data/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
  43. data/docs/assets/img/grid-18px-masked.png +0 -0
  44. data/docs/assets/img/icon-css3.png +0 -0
  45. data/docs/assets/img/icon-github.png +0 -0
  46. data/docs/assets/img/icon-html5.png +0 -0
  47. data/docs/assets/img/icon-twitter.png +0 -0
  48. data/docs/assets/img/less-logo-large.png +0 -0
  49. data/docs/assets/img/less-small.png +0 -0
  50. data/docs/assets/img/responsive-illustrations.png +0 -0
  51. data/docs/assets/js/README.md +106 -0
  52. data/docs/assets/js/application.js +184 -0
  53. data/docs/assets/js/bootstrap-alert.js +90 -0
  54. data/docs/assets/js/bootstrap-button.js +96 -0
  55. data/docs/assets/js/bootstrap-carousel.js +169 -0
  56. data/docs/assets/js/bootstrap-collapse.js +157 -0
  57. data/docs/assets/js/bootstrap-dropdown.js +100 -0
  58. data/docs/assets/js/bootstrap-modal.js +218 -0
  59. data/docs/assets/js/bootstrap-popover.js +98 -0
  60. data/docs/assets/js/bootstrap-scrollspy.js +151 -0
  61. data/docs/assets/js/bootstrap-tab.js +135 -0
  62. data/docs/assets/js/bootstrap-tooltip.js +275 -0
  63. data/docs/assets/js/bootstrap-transition.js +61 -0
  64. data/docs/assets/js/bootstrap-typeahead.js +285 -0
  65. data/docs/assets/js/bootstrap.js +1825 -0
  66. data/docs/assets/js/bootstrap.min.js +6 -0
  67. data/docs/assets/js/google-code-prettify/prettify.css +30 -0
  68. data/docs/assets/js/google-code-prettify/prettify.js +28 -0
  69. data/docs/assets/js/jquery.js +9252 -0
  70. data/docs/base-css.html +1710 -0
  71. data/docs/build/index.js +44 -0
  72. data/docs/build/node_modules/.bin/hulk +93 -0
  73. data/docs/build/node_modules/hogan.js/.git_ignore +1 -0
  74. data/docs/build/node_modules/hogan.js/.gitmodules +3 -0
  75. data/docs/build/node_modules/hogan.js/LICENSE +177 -0
  76. data/docs/build/node_modules/hogan.js/Makefile +62 -0
  77. data/docs/build/node_modules/hogan.js/README.md +93 -0
  78. data/docs/build/node_modules/hogan.js/bin/hulk +93 -0
  79. data/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
  80. data/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
  81. data/docs/build/node_modules/hogan.js/lib/template.js +233 -0
  82. data/docs/build/node_modules/hogan.js/package.json +20 -0
  83. data/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
  84. data/docs/build/node_modules/hogan.js/test/index.html +13 -0
  85. data/docs/build/node_modules/hogan.js/test/index.js +848 -0
  86. data/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
  87. data/docs/build/node_modules/hogan.js/test/spec.js +77 -0
  88. data/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
  89. data/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
  90. data/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
  91. data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
  92. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
  93. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
  94. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
  95. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
  96. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
  97. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
  98. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
  99. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
  100. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
  101. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
  102. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
  103. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
  104. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
  105. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
  106. data/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
  107. data/docs/build/node_modules/hogan.js/tools/release.js +74 -0
  108. data/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
  109. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
  110. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
  111. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
  112. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
  113. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
  114. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
  115. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
  116. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
  117. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
  118. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
  119. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
  120. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
  121. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
  122. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
  123. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
  124. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
  125. data/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
  126. data/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
  127. data/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
  128. data/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
  129. data/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
  130. data/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
  131. data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
  132. data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
  133. data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
  134. data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
  135. data/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
  136. data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
  137. data/docs/build/package.json +6 -0
  138. data/docs/components.html +1931 -0
  139. data/docs/download.html +454 -0
  140. data/docs/examples.html +147 -0
  141. data/docs/examples/fluid.html +162 -0
  142. data/docs/examples/hero.html +109 -0
  143. data/docs/examples/starter-template.html +79 -0
  144. data/docs/index.html +259 -0
  145. data/docs/javascript.html +1520 -0
  146. data/docs/less.html +1060 -0
  147. data/docs/scaffolding.html +671 -0
  148. data/docs/templates/layout.mustache +146 -0
  149. data/docs/templates/pages/base-css.mustache +1594 -0
  150. data/docs/templates/pages/components.mustache +1815 -0
  151. data/docs/templates/pages/download.mustache +338 -0
  152. data/docs/templates/pages/examples.mustache +31 -0
  153. data/docs/templates/pages/index.mustache +144 -0
  154. data/docs/templates/pages/javascript.mustache +1405 -0
  155. data/docs/templates/pages/less.mustache +944 -0
  156. data/docs/templates/pages/scaffolding.mustache +555 -0
  157. data/docs/templates/pages/upgrading.mustache +194 -0
  158. data/docs/upgrading.html +310 -0
  159. data/js/tests/index.html +54 -0
  160. data/js/tests/phantom.js +63 -0
  161. data/js/tests/server.js +14 -0
  162. data/js/tests/unit/bootstrap-alert.js +56 -0
  163. data/js/tests/unit/bootstrap-button.js +77 -0
  164. data/js/tests/unit/bootstrap-carousel.js +28 -0
  165. data/js/tests/unit/bootstrap-collapse.js +54 -0
  166. data/js/tests/unit/bootstrap-dropdown.js +87 -0
  167. data/js/tests/unit/bootstrap-modal.js +114 -0
  168. data/js/tests/unit/bootstrap-phantom.js +21 -0
  169. data/js/tests/unit/bootstrap-popover.js +93 -0
  170. data/js/tests/unit/bootstrap-scrollspy.js +31 -0
  171. data/js/tests/unit/bootstrap-tab.js +61 -0
  172. data/js/tests/unit/bootstrap-tooltip.js +155 -0
  173. data/js/tests/unit/bootstrap-transition.js +13 -0
  174. data/js/tests/unit/bootstrap-typeahead.js +148 -0
  175. data/js/tests/vendor/jquery.js +9252 -0
  176. data/js/tests/vendor/qunit.css +232 -0
  177. data/js/tests/vendor/qunit.js +1510 -0
  178. data/lib/sass-twitter-bootstrap.rb +9 -0
  179. data/lib/sass/twitter/bootstrap/rails.rb +14 -0
  180. data/lib/sass/twitter/bootstrap/version.rb +7 -0
  181. data/package.json +25 -0
  182. data/sass-twitter-bootstrap.gemspec +19 -0
  183. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  184. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  185. data/vendor/assets/javascripts/README.md +112 -0
  186. data/vendor/assets/javascripts/twitter/bootstrap-alert.js +90 -0
  187. data/vendor/assets/javascripts/twitter/bootstrap-button.js +96 -0
  188. data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +169 -0
  189. data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +157 -0
  190. data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +100 -0
  191. data/vendor/assets/javascripts/twitter/bootstrap-modal.js +218 -0
  192. data/vendor/assets/javascripts/twitter/bootstrap-popover.js +98 -0
  193. data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +151 -0
  194. data/vendor/assets/javascripts/twitter/bootstrap-tab.js +135 -0
  195. data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +275 -0
  196. data/vendor/assets/javascripts/twitter/bootstrap-transition.js +61 -0
  197. data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +285 -0
  198. data/vendor/assets/javascripts/twitter/bootstrap.js +12 -0
  199. data/vendor/assets/stylesheets/tests/css-tests.css +52 -0
  200. data/vendor/assets/stylesheets/tests/css-tests.html +917 -0
  201. data/vendor/assets/stylesheets/tests/forms.html +179 -0
  202. data/vendor/assets/stylesheets/tests/navbar.html +108 -0
  203. data/vendor/assets/stylesheets/twitter/_accordion.scss +33 -0
  204. data/vendor/assets/stylesheets/twitter/_alerts.scss +58 -0
  205. data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +24 -0
  206. data/vendor/assets/stylesheets/twitter/_button-groups.scss +191 -0
  207. data/vendor/assets/stylesheets/twitter/_buttons.scss +191 -0
  208. data/vendor/assets/stylesheets/twitter/_carousel.scss +121 -0
  209. data/vendor/assets/stylesheets/twitter/_close.scss +29 -0
  210. data/vendor/assets/stylesheets/twitter/_code.scss +57 -0
  211. data/vendor/assets/stylesheets/twitter/_component-animations.scss +20 -0
  212. data/vendor/assets/stylesheets/twitter/_dropdowns.scss +143 -0
  213. data/vendor/assets/stylesheets/twitter/_forms.scss +582 -0
  214. data/vendor/assets/stylesheets/twitter/_grid.scss +5 -0
  215. data/vendor/assets/stylesheets/twitter/_hero-unit.scss +22 -0
  216. data/vendor/assets/stylesheets/twitter/_labels-badges.scss +52 -0
  217. data/vendor/assets/stylesheets/twitter/_layouts.scss +17 -0
  218. data/vendor/assets/stylesheets/twitter/_mixins.scss +643 -0
  219. data/vendor/assets/stylesheets/twitter/_modals.scss +90 -0
  220. data/vendor/assets/stylesheets/twitter/_navbar.scss +358 -0
  221. data/vendor/assets/stylesheets/twitter/_navs.scss +363 -0
  222. data/vendor/assets/stylesheets/twitter/_pager.scss +36 -0
  223. data/vendor/assets/stylesheets/twitter/_pagination.scss +56 -0
  224. data/vendor/assets/stylesheets/twitter/_popovers.scss +49 -0
  225. data/vendor/assets/stylesheets/twitter/_progress-bars.scss +117 -0
  226. data/vendor/assets/stylesheets/twitter/_reset.scss +131 -0
  227. data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +26 -0
  228. data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +149 -0
  229. data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +17 -0
  230. data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +153 -0
  231. data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +41 -0
  232. data/vendor/assets/stylesheets/twitter/_scaffolding.scss +29 -0
  233. data/vendor/assets/stylesheets/twitter/_sprites.scss +191 -0
  234. data/vendor/assets/stylesheets/twitter/_tables.scss +155 -0
  235. data/vendor/assets/stylesheets/twitter/_thumbnails.scss +47 -0
  236. data/vendor/assets/stylesheets/twitter/_tooltip.scss +35 -0
  237. data/vendor/assets/stylesheets/twitter/_type.scss +232 -0
  238. data/vendor/assets/stylesheets/twitter/_utilities.scss +23 -0
  239. data/vendor/assets/stylesheets/twitter/_variables.scss +204 -0
  240. data/vendor/assets/stylesheets/twitter/_wells.scss +27 -0
  241. data/vendor/assets/stylesheets/twitter/bootstrap.scss +62 -0
  242. data/vendor/assets/stylesheets/twitter/responsive.scss +48 -0
  243. metadata +304 -0
@@ -0,0 +1,846 @@
1
+ /* Add additional stylesheets below
2
+ -------------------------------------------------- */
3
+ /*
4
+ Bootstrap's documentation styles
5
+ Special styles for presenting Bootstrap's documentation and examples
6
+ */
7
+
8
+
9
+ /* Body and structure
10
+ -------------------------------------------------- */
11
+ body {
12
+ position: relative;
13
+ padding-top: 90px;
14
+ background-color: #fff;
15
+ background-image: url(../img/grid-18px-masked.png);
16
+ background-repeat: repeat-x;
17
+ background-position: 0 40px;
18
+ }
19
+
20
+
21
+ /* Tweak navbar brand link to be super sleek
22
+ -------------------------------------------------- */
23
+ .navbar-fixed-top .brand {
24
+ padding-right: 0;
25
+ padding-left: 0;
26
+ margin-left: 20px;
27
+ float: right;
28
+ font-weight: bold;
29
+ color: #000;
30
+ text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
31
+ -webkit-transition: all .2s linear;
32
+ -moz-transition: all .2s linear;
33
+ transition: all .2s linear;
34
+ }
35
+ .navbar-fixed-top .brand:hover {
36
+ text-decoration: none;
37
+ }
38
+
39
+
40
+ /* Space out sub-sections more
41
+ -------------------------------------------------- */
42
+ section {
43
+ padding-top: 60px;
44
+ }
45
+
46
+ /* Faded out hr */
47
+ hr.soften {
48
+ height: 1px;
49
+ margin: 54px 0;
50
+ background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
51
+ background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
52
+ background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
53
+ background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
54
+ border: 0;
55
+ }
56
+
57
+
58
+ /* Jumbotrons
59
+ -------------------------------------------------- */
60
+ .jumbotron {
61
+ position: relative;
62
+ }
63
+ .jumbotron h1 {
64
+ margin-bottom: 9px;
65
+ font-size: 81px;
66
+ font-weight: bold;
67
+ letter-spacing: -1px;
68
+ line-height: 1;
69
+ }
70
+ .jumbotron p {
71
+ margin-bottom: 18px;
72
+ font-weight: 300;
73
+ }
74
+ .jumbotron .btn-large {
75
+ font-size: 20px;
76
+ font-weight: normal;
77
+ padding: 14px 24px;
78
+ margin-right: 10px;
79
+ -webkit-border-radius: 6px;
80
+ -moz-border-radius: 6px;
81
+ border-radius: 6px;
82
+ }
83
+ .jumbotron .btn-large small {
84
+ font-size: 14px;
85
+ }
86
+
87
+ /* Masthead (docs home) */
88
+ .masthead {
89
+ padding-top: 36px;
90
+ margin-bottom: 72px;
91
+ }
92
+ .masthead h1,
93
+ .masthead p {
94
+ text-align: center;
95
+ }
96
+ .masthead h1 {
97
+ margin-bottom: 18px;
98
+ }
99
+ .masthead p {
100
+ margin-left: 5%;
101
+ margin-right: 5%;
102
+ font-size: 30px;
103
+ line-height: 36px;
104
+ }
105
+
106
+
107
+ /* Specific jumbotrons
108
+ ------------------------- */
109
+ /* supporting docs pages */
110
+ .subhead {
111
+ padding-bottom: 0;
112
+ margin-bottom: 9px;
113
+ }
114
+ .subhead h1 {
115
+ font-size: 54px;
116
+ }
117
+
118
+ /* Subnav */
119
+ .subnav {
120
+ width: 100%;
121
+ height: 36px;
122
+ background-color: #eeeeee; /* Old browsers */
123
+ background-repeat: repeat-x; /* Repeat the gradient */
124
+ background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
125
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
126
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
127
+ background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
128
+ background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
129
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
130
+ background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
131
+ border: 1px solid #e5e5e5;
132
+ -webkit-border-radius: 4px;
133
+ -moz-border-radius: 4px;
134
+ border-radius: 4px;
135
+ }
136
+ .subnav .nav {
137
+ margin-bottom: 0;
138
+ }
139
+ .subnav .nav > li > a {
140
+ margin: 0;
141
+ padding-top: 11px;
142
+ padding-bottom: 11px;
143
+ border-left: 1px solid #f5f5f5;
144
+ border-right: 1px solid #e5e5e5;
145
+ -webkit-border-radius: 0;
146
+ -moz-border-radius: 0;
147
+ border-radius: 0;
148
+ }
149
+ .subnav .nav > .active > a,
150
+ .subnav .nav > .active > a:hover {
151
+ padding-left: 13px;
152
+ color: #777;
153
+ background-color: #e9e9e9;
154
+ border-right-color: #ddd;
155
+ border-left: 0;
156
+ -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
157
+ -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
158
+ box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
159
+ }
160
+ .subnav .nav > .active > a .caret,
161
+ .subnav .nav > .active > a:hover .caret {
162
+ border-top-color: #777;
163
+ }
164
+ .subnav .nav > li:first-child > a,
165
+ .subnav .nav > li:first-child > a:hover {
166
+ border-left: 0;
167
+ padding-left: 12px;
168
+ -webkit-border-radius: 4px 0 0 4px;
169
+ -moz-border-radius: 4px 0 0 4px;
170
+ border-radius: 4px 0 0 4px;
171
+ }
172
+ .subnav .nav > li:last-child > a {
173
+ border-right: 0;
174
+ }
175
+ .subnav .dropdown-menu {
176
+ -webkit-border-radius: 0 0 4px 4px;
177
+ -moz-border-radius: 0 0 4px 4px;
178
+ border-radius: 0 0 4px 4px;
179
+ }
180
+
181
+ /* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
182
+ @media (min-width: 980px) {
183
+ .subnav-fixed {
184
+ position: fixed;
185
+ top: 40px;
186
+ left: 0;
187
+ right: 0;
188
+ z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
189
+ border-color: #d5d5d5;
190
+ border-width: 0 0 1px; /* drop the border on the fixed edges */
191
+ -webkit-border-radius: 0;
192
+ -moz-border-radius: 0;
193
+ border-radius: 0;
194
+ -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
195
+ -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
196
+ box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
197
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
198
+ }
199
+ .subnav-fixed .nav {
200
+ width: 938px;
201
+ margin: 0 auto;
202
+ padding: 0 1px;
203
+ }
204
+ .subnav .nav > li:first-child > a,
205
+ .subnav .nav > li:first-child > a:hover {
206
+ -webkit-border-radius: 0;
207
+ -moz-border-radius: 0;
208
+ border-radius: 0;
209
+ }
210
+ }
211
+
212
+
213
+ /* Quick links
214
+ -------------------------------------------------- */
215
+ .bs-links {
216
+ margin: 36px 0;
217
+ }
218
+ .quick-links {
219
+ min-height: 30px;
220
+ margin: 0;
221
+ padding: 5px 20px;
222
+ list-style: none;
223
+ text-align: center;
224
+ overflow: hidden;
225
+ }
226
+ .quick-links:first-child {
227
+ min-height: 0;
228
+ }
229
+ .quick-links li {
230
+ display: inline;
231
+ margin: 0 8px;
232
+ color: #999;
233
+ }
234
+ .quick-links .github-btn,
235
+ .quick-links .tweet-btn,
236
+ .quick-links .follow-btn {
237
+ position: relative;
238
+ top: 5px;
239
+ }
240
+
241
+
242
+ /* Marketing section of Overview
243
+ -------------------------------------------------- */
244
+ .marketing .row {
245
+ margin-bottom: 9px;
246
+ }
247
+ .marketing h1 {
248
+ margin: 36px 0 27px;
249
+ font-size: 40px;
250
+ font-weight: 300;
251
+ text-align: center;
252
+ }
253
+ .marketing h2,
254
+ .marketing h3 {
255
+ font-weight: 300;
256
+ }
257
+ .marketing h2 {
258
+ font-size: 22px;
259
+ }
260
+ .marketing p {
261
+ margin-right: 10px;
262
+ }
263
+ .marketing .bs-icon {
264
+ float: left;
265
+ margin: 7px 10px 0 0;
266
+ opacity: .8;
267
+ }
268
+ .marketing .small-bs-icon {
269
+ float: left;
270
+ margin: 4px 5px 0 0;
271
+ }
272
+
273
+
274
+
275
+ /* Footer
276
+ -------------------------------------------------- */
277
+ .footer {
278
+ margin-top: 45px;
279
+ padding: 35px 0 36px;
280
+ border-top: 1px solid #e5e5e5;
281
+ }
282
+ .footer p {
283
+ margin-bottom: 0;
284
+ color: #555;
285
+ }
286
+
287
+
288
+
289
+ /* Special grid styles
290
+ -------------------------------------------------- */
291
+ .show-grid {
292
+ margin-top: 10px;
293
+ margin-bottom: 20px;
294
+ }
295
+ .show-grid [class*="span"] {
296
+ background-color: #eee;
297
+ text-align: center;
298
+ -webkit-border-radius: 3px;
299
+ -moz-border-radius: 3px;
300
+ border-radius: 3px;
301
+ min-height: 30px;
302
+ line-height: 30px;
303
+ }
304
+ .show-grid:hover [class*="span"] {
305
+ background: #ddd;
306
+ }
307
+ .show-grid .show-grid {
308
+ margin-top: 0;
309
+ margin-bottom: 0;
310
+ }
311
+ .show-grid .show-grid [class*="span"] {
312
+ background-color: #ccc;
313
+ }
314
+
315
+
316
+ /* Render mini layout previews
317
+ -------------------------------------------------- */
318
+ .mini-layout {
319
+ border: 1px solid #ddd;
320
+ -webkit-border-radius: 6px;
321
+ -moz-border-radius: 6px;
322
+ border-radius: 6px;
323
+ -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
324
+ -moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
325
+ box-shadow: 0 1px 2px rgba(0,0,0,.075);
326
+ }
327
+ .mini-layout {
328
+ height: 240px;
329
+ margin-bottom: 20px;
330
+ padding: 9px;
331
+ }
332
+ .mini-layout div {
333
+ -webkit-border-radius: 3px;
334
+ -moz-border-radius: 3px;
335
+ border-radius: 3px;
336
+ }
337
+ .mini-layout .mini-layout-body {
338
+ background-color: #dceaf4;
339
+ margin: 0 auto;
340
+ width: 70%;
341
+ height: 240px;
342
+ }
343
+ .mini-layout.fluid .mini-layout-sidebar,
344
+ .mini-layout.fluid .mini-layout-header,
345
+ .mini-layout.fluid .mini-layout-body {
346
+ float: left;
347
+ }
348
+ .mini-layout.fluid .mini-layout-sidebar {
349
+ background-color: #bbd8e9;
350
+ width: 20%;
351
+ height: 240px;
352
+ }
353
+ .mini-layout.fluid .mini-layout-body {
354
+ width: 77.5%;
355
+ margin-left: 2.5%;
356
+ }
357
+
358
+
359
+ /* Popover docs
360
+ -------------------------------------------------- */
361
+ .popover-well {
362
+ min-height: 160px;
363
+ }
364
+ .popover-well .popover {
365
+ display: block;
366
+ }
367
+ .popover-well .popover-wrapper {
368
+ width: 50%;
369
+ height: 160px;
370
+ float: left;
371
+ margin-left: 55px;
372
+ position: relative;
373
+ }
374
+ .popover-well .popover-menu-wrapper {
375
+ height: 80px;
376
+ }
377
+ .large-bird {
378
+ margin: 5px 0 0 310px;
379
+ opacity: .1;
380
+ }
381
+
382
+
383
+ /* Download page
384
+ -------------------------------------------------- */
385
+ .download .page-header {
386
+ margin-top: 36px;
387
+ }
388
+ .page-header .toggle-all {
389
+ margin-top: 5px;
390
+ }
391
+
392
+ /* Space out h3s when following a section */
393
+ .download h3 {
394
+ margin-bottom: 5px;
395
+ }
396
+ .download-builder input + h3,
397
+ .download-builder .checkbox + h3 {
398
+ margin-top: 9px;
399
+ }
400
+
401
+ /* Fields for variables */
402
+ .download-builder input[type=text] {
403
+ margin-bottom: 9px;
404
+ font-family: Menlo, Monaco, "Courier New", monospace;
405
+ font-size: 12px;
406
+ color: #d14;
407
+ }
408
+ .download-builder input[type=text]:focus {
409
+ background-color: #fff;
410
+ }
411
+
412
+ /* Custom, larger checkbox labels */
413
+ .download .checkbox {
414
+ padding: 6px 10px 6px 25px;
415
+ color: #555;
416
+ background-color: #f9f9f9;
417
+ -webkit-border-radius: 3px;
418
+ -moz-border-radius: 3px;
419
+ border-radius: 3px;
420
+ cursor: pointer;
421
+ }
422
+ .download .checkbox:hover {
423
+ color: #333;
424
+ background-color: #f5f5f5;
425
+ }
426
+ .download .checkbox small {
427
+ font-size: 12px;
428
+ color: #777;
429
+ }
430
+
431
+ /* Variables section */
432
+ #variables label {
433
+ margin-bottom: 0;
434
+ }
435
+
436
+ /* Giant download button */
437
+ .download-btn {
438
+ margin: 36px 0 108px;
439
+ }
440
+ #download p,
441
+ #download h4 {
442
+ max-width: 50%;
443
+ margin: 0 auto;
444
+ color: #999;
445
+ text-align: center;
446
+ }
447
+ #download h4 {
448
+ margin-bottom: 0;
449
+ }
450
+ #download p {
451
+ margin-bottom: 18px;
452
+ }
453
+ .download-btn .btn {
454
+ display: block;
455
+ width: auto;
456
+ padding: 19px 24px;
457
+ margin-bottom: 27px;
458
+ font-size: 30px;
459
+ line-height: 1;
460
+ text-align: center;
461
+ -webkit-border-radius: 6px;
462
+ -moz-border-radius: 6px;
463
+ border-radius: 6px;
464
+ }
465
+
466
+
467
+
468
+ /* Color swatches on LESS docs page
469
+ -------------------------------------------------- */
470
+ /* Sets the width of the td */
471
+ .swatch-col {
472
+ width: 30px;
473
+ }
474
+ /* Le swatch */
475
+ .swatch {
476
+ display: inline-block;
477
+ width: 30px;
478
+ height: 20px;
479
+ margin: -6px 0;
480
+ -webkit-border-radius: 3px;
481
+ -moz-border-radius: 3px;
482
+ border-radius: 3px;
483
+ }
484
+ /* For white swatches, give a border */
485
+ .swatch-bordered {
486
+ width: 28px;
487
+ height: 18px;
488
+ border: 1px solid #eee;
489
+ }
490
+
491
+
492
+ /* Misc
493
+ -------------------------------------------------- */
494
+
495
+ /* Make tables spaced out a bit more */
496
+ h2 + table,
497
+ h3 + table,
498
+ h4 + table,
499
+ h2 + .row {
500
+ margin-top: 5px;
501
+ }
502
+
503
+ /* Example sites showcase */
504
+ .example-sites img {
505
+ max-width: 100%;
506
+ margin: 0 auto;
507
+ }
508
+ .marketing-byline {
509
+ margin: -18px 0 27px;
510
+ font-size: 18px;
511
+ font-weight: 300;
512
+ line-height: 24px;
513
+ color: #999;
514
+ text-align: center;
515
+ }
516
+
517
+ .scrollspy-example {
518
+ height: 200px;
519
+ overflow: auto;
520
+ position: relative;
521
+ }
522
+
523
+ /* Remove bottom margin on example forms in wells */
524
+ form.well {
525
+ padding: 14px;
526
+ }
527
+
528
+ /* Tighten up spacing */
529
+ .well hr {
530
+ margin: 18px 0;
531
+ }
532
+
533
+ /* Fake the :focus state to demo it */
534
+ .focused {
535
+ border-color: rgba(82,168,236,.8);
536
+ -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
537
+ -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
538
+ box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
539
+ outline: 0;
540
+ }
541
+
542
+ /* For input sizes, make them display block */
543
+ .docs-input-sizes select,
544
+ .docs-input-sizes input[type=text] {
545
+ display: block;
546
+ margin-bottom: 9px;
547
+ }
548
+
549
+ /* Icons
550
+ ------------------------- */
551
+ .the-icons {
552
+ margin-left: 0;
553
+ list-style: none;
554
+ }
555
+ .the-icons i:hover {
556
+ background-color: rgba(255,0,0,.25);
557
+ }
558
+
559
+ /* Eaxmples page
560
+ ------------------------- */
561
+ .bootstrap-examples .thumbnail {
562
+ margin-bottom: 9px;
563
+ background-color: #fff;
564
+ }
565
+
566
+ /* Responsive table
567
+ ------------------------- */
568
+ .responsive-utilities th small {
569
+ display: block;
570
+ font-weight: normal;
571
+ color: #999;
572
+ }
573
+ .responsive-utilities tbody th {
574
+ font-weight: normal;
575
+ }
576
+ .responsive-utilities td {
577
+ text-align: center;
578
+ }
579
+ .responsive-utilities td.is-visible {
580
+ color: #468847;
581
+ background-color: #dff0d8 !important;
582
+ }
583
+ .responsive-utilities td.is-hidden {
584
+ color: #ccc;
585
+ background-color: #f9f9f9 !important;
586
+ }
587
+
588
+ /* Responsive tests
589
+ ------------------------- */
590
+ .responsive-utilities-test {
591
+ margin-top: 5px;
592
+ margin-left: 0;
593
+ list-style: none;
594
+ overflow: hidden; /* clear floats */
595
+ }
596
+ .responsive-utilities-test li {
597
+ position: relative;
598
+ float: left;
599
+ width: 25%;
600
+ height: 43px;
601
+ font-size: 14px;
602
+ font-weight: bold;
603
+ line-height: 43px;
604
+ color: #999;
605
+ text-align: center;
606
+ border: 1px solid #ddd;
607
+ -webkit-border-radius: 4px;
608
+ -moz-border-radius: 4px;
609
+ border-radius: 4px;
610
+ }
611
+ .responsive-utilities-test li + li {
612
+ margin-left: 10px;
613
+ }
614
+ .responsive-utilities-test span {
615
+ position: absolute;
616
+ top: -1px;
617
+ left: -1px;
618
+ right: -1px;
619
+ bottom: -1px;
620
+ -webkit-border-radius: 4px;
621
+ -moz-border-radius: 4px;
622
+ border-radius: 4px;
623
+ }
624
+ .responsive-utilities-test span {
625
+ color: #468847;
626
+ background-color: #dff0d8;
627
+ border: 1px solid #d6e9c6;
628
+ }
629
+
630
+
631
+ /* Responsive Docs
632
+ -------------------------------------------------- */
633
+ @media (max-width: 480px) {
634
+
635
+ /* Reduce padding above jumbotron */
636
+ body {
637
+ padding-top: 70px;
638
+ }
639
+
640
+ /* Change up some type stuff */
641
+ h2 {
642
+ margin-top: 27px;
643
+ }
644
+ h2 small {
645
+ display: block;
646
+ line-height: 18px;
647
+ }
648
+ h3 {
649
+ margin-top: 18px;
650
+ }
651
+
652
+ /* icons */
653
+ .marketing .bs-icon {
654
+ margin: 0;
655
+ }
656
+
657
+ /* Adjust the jumbotron */
658
+ .jumbotron h1,
659
+ .jumbotron p {
660
+ text-align: center;
661
+ margin-right: 0;
662
+ }
663
+ .jumbotron h1 {
664
+ font-size: 45px;
665
+ margin-right: 0;
666
+ }
667
+ .jumbotron p {
668
+ margin-right: 0;
669
+ margin-left: 0;
670
+ font-size: 18px;
671
+ line-height: 24px;
672
+ }
673
+ .jumbotron .btn {
674
+ display: block;
675
+ font-size: 18px;
676
+ padding: 10px 14px;
677
+ margin: 0 auto 10px;
678
+ }
679
+ /* Masthead (home page jumbotron) */
680
+ .masthead {
681
+ padding-top: 0;
682
+ }
683
+
684
+ /* Don't space out quick links so much */
685
+ .quick-links {
686
+ margin: 40px 0 0;
687
+ }
688
+ /* hide the bullets on mobile since our horizontal space is limited */
689
+ .quick-links .divider {
690
+ display: none;
691
+ }
692
+
693
+ /* center example sites */
694
+ .example-sites {
695
+ margin-left: 0;
696
+ }
697
+ .example-sites > li {
698
+ float: none;
699
+ display: block;
700
+ max-width: 280px;
701
+ margin: 0 auto 18px;
702
+ text-align: center;
703
+ }
704
+ .example-sites .thumbnail > img {
705
+ max-width: 270px;
706
+ }
707
+
708
+ table code {
709
+ white-space: normal;
710
+ word-wrap: break-word;
711
+ word-break: break-all;
712
+ }
713
+
714
+ /* Modal example */
715
+ .modal-example .modal {
716
+ position: relative;
717
+ top: auto;
718
+ right: auto;
719
+ bottom: auto;
720
+ left: auto;
721
+ }
722
+
723
+ }
724
+
725
+
726
+ @media (max-width: 768px) {
727
+
728
+ /* Remove any padding from the body */
729
+ body {
730
+ padding-top: 0;
731
+ }
732
+
733
+ /* Jumbotron buttons */
734
+ .jumbotron .btn {
735
+ margin-bottom: 10px;
736
+ }
737
+
738
+ /* Subnav */
739
+ .subnav {
740
+ position: static;
741
+ top: auto;
742
+ z-index: auto;
743
+ width: auto;
744
+ height: auto;
745
+ background: #fff; /* whole background property since we use a background-image for gradient */
746
+ -webkit-box-shadow: none;
747
+ -moz-box-shadow: none;
748
+ box-shadow: none;
749
+ }
750
+ .subnav .nav > li {
751
+ float: none;
752
+ }
753
+ .subnav .nav > li > a {
754
+ border: 0;
755
+ }
756
+ .subnav .nav > li + li > a {
757
+ border-top: 1px solid #e5e5e5;
758
+ }
759
+ .subnav .nav > li:first-child > a,
760
+ .subnav .nav > li:first-child > a:hover {
761
+ -webkit-border-radius: 4px 4px 0 0;
762
+ -moz-border-radius: 4px 4px 0 0;
763
+ border-radius: 4px 4px 0 0;
764
+ }
765
+
766
+ /* Popovers */
767
+ .large-bird {
768
+ display: none;
769
+ }
770
+ .popover-well .popover-wrapper {
771
+ margin-left: 0;
772
+ }
773
+
774
+ /* Space out the show-grid examples */
775
+ .show-grid [class*="span"] {
776
+ margin-bottom: 5px;
777
+ }
778
+
779
+ /* Unfloat the back to top link in footer */
780
+ .footer .pull-right {
781
+ float: none;
782
+ }
783
+ .footer p {
784
+ margin-bottom: 9px;
785
+ }
786
+
787
+ }
788
+
789
+
790
+ @media (min-width: 480px) and (max-width: 768px) {
791
+
792
+ /* Scale down the jumbotron content */
793
+ .jumbotron h1 {
794
+ font-size: 54px;
795
+ }
796
+ .jumbotron p {
797
+ margin-right: 0;
798
+ margin-left: 0;
799
+ }
800
+
801
+ }
802
+
803
+
804
+ @media (min-width: 768px) and (max-width: 980px) {
805
+
806
+ /* Remove any padding from the body */
807
+ body {
808
+ padding-top: 0;
809
+ }
810
+
811
+ /* Scale down the jumbotron content */
812
+ .jumbotron h1 {
813
+ font-size: 72px;
814
+ }
815
+
816
+ }
817
+
818
+
819
+ @media (max-width: 980px) {
820
+
821
+ /* Unfloat brand */
822
+ .navbar-fixed-top .brand {
823
+ float: left;
824
+ margin-left: 0;
825
+ padding-left: 10px;
826
+ padding-right: 10px;
827
+ }
828
+
829
+ /* Inline-block quick links for more spacing */
830
+ .quick-links li {
831
+ display: inline-block;
832
+ margin: 5px;
833
+ }
834
+
835
+ }
836
+
837
+
838
+ /* LARGE DESKTOP SCREENS */
839
+ @media (min-width: 1210px) {
840
+
841
+ /* Update subnav container */
842
+ .subnav-fixed .nav {
843
+ width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
844
+ }
845
+
846
+ }