fennec 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/lib/fennec/version.rb +1 -1
  2. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  3. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  4. data/vendor/assets/javascripts/README.md +106 -0
  5. data/vendor/assets/javascripts/bootstrap-alert.js +91 -0
  6. data/vendor/assets/javascripts/bootstrap-button.js +98 -0
  7. data/vendor/assets/javascripts/bootstrap-carousel.js +154 -0
  8. data/vendor/assets/javascripts/bootstrap-collapse.js +136 -0
  9. data/vendor/assets/javascripts/bootstrap-dropdown.js +92 -0
  10. data/vendor/assets/javascripts/bootstrap-modal.js +210 -0
  11. data/vendor/assets/javascripts/bootstrap-popover.js +95 -0
  12. data/vendor/assets/javascripts/bootstrap-scrollspy.js +125 -0
  13. data/vendor/assets/javascripts/bootstrap-tab.js +130 -0
  14. data/vendor/assets/javascripts/bootstrap-tooltip.js +270 -0
  15. data/vendor/assets/javascripts/bootstrap-transition.js +51 -0
  16. data/vendor/assets/javascripts/bootstrap-typeahead.js +271 -0
  17. data/vendor/assets/javascripts/tests/index.html +49 -0
  18. data/vendor/assets/javascripts/tests/unit/bootstrap-alert.js +41 -0
  19. data/vendor/assets/javascripts/tests/unit/bootstrap-button.js +54 -0
  20. data/vendor/assets/javascripts/tests/unit/bootstrap-collapse.js +25 -0
  21. data/vendor/assets/javascripts/tests/unit/bootstrap-dropdown.js +53 -0
  22. data/vendor/assets/javascripts/tests/unit/bootstrap-modal.js +85 -0
  23. data/vendor/assets/javascripts/tests/unit/bootstrap-popover.js +93 -0
  24. data/vendor/assets/javascripts/tests/unit/bootstrap-scrollspy.js +31 -0
  25. data/vendor/assets/javascripts/tests/unit/bootstrap-tab.js +45 -0
  26. data/vendor/assets/javascripts/tests/unit/bootstrap-tooltip.js +62 -0
  27. data/vendor/assets/javascripts/tests/unit/bootstrap-transition.js +13 -0
  28. data/vendor/assets/javascripts/tests/unit/bootstrap-typeahead.js +128 -0
  29. data/vendor/assets/javascripts/tests/vendor/jquery.js +9252 -0
  30. data/vendor/assets/javascripts/tests/vendor/qunit.css +232 -0
  31. data/vendor/assets/javascripts/tests/vendor/qunit.js +1510 -0
  32. data/vendor/assets/stylesheets/bootstrap/accordion.less +28 -0
  33. data/vendor/assets/stylesheets/bootstrap/alerts.less +70 -0
  34. data/vendor/assets/stylesheets/bootstrap/bootstrap.less +41 -5
  35. data/vendor/assets/stylesheets/bootstrap/breadcrumbs.less +22 -0
  36. data/vendor/assets/stylesheets/bootstrap/button-groups.less +147 -0
  37. data/vendor/assets/stylesheets/bootstrap/buttons.less +165 -0
  38. data/vendor/assets/stylesheets/bootstrap/carousel.less +121 -0
  39. data/vendor/assets/stylesheets/bootstrap/close.less +18 -0
  40. data/vendor/assets/stylesheets/bootstrap/code.less +44 -0
  41. data/vendor/assets/stylesheets/bootstrap/component-animations.less +18 -0
  42. data/vendor/assets/stylesheets/bootstrap/dropdowns.less +131 -0
  43. data/vendor/assets/stylesheets/bootstrap/forms.less +355 -305
  44. data/vendor/assets/stylesheets/bootstrap/grid.less +8 -0
  45. data/vendor/assets/stylesheets/bootstrap/hero-unit.less +20 -0
  46. data/vendor/assets/stylesheets/bootstrap/labels.less +16 -0
  47. data/vendor/assets/stylesheets/bootstrap/layouts.less +17 -0
  48. data/vendor/assets/stylesheets/bootstrap/mixins.less +410 -90
  49. data/vendor/assets/stylesheets/bootstrap/modals.less +72 -0
  50. data/vendor/assets/stylesheets/bootstrap/navbar.less +292 -0
  51. data/vendor/assets/stylesheets/bootstrap/navs.less +344 -0
  52. data/vendor/assets/stylesheets/bootstrap/pager.less +30 -0
  53. data/vendor/assets/stylesheets/bootstrap/pagination.less +55 -0
  54. data/vendor/assets/stylesheets/bootstrap/popovers.less +49 -0
  55. data/vendor/assets/stylesheets/bootstrap/progress-bars.less +95 -0
  56. data/vendor/assets/stylesheets/bootstrap/reset.less +37 -52
  57. data/vendor/assets/stylesheets/bootstrap/responsive.less +323 -0
  58. data/vendor/assets/stylesheets/bootstrap/scaffolding.less +13 -119
  59. data/vendor/assets/stylesheets/bootstrap/sprites.less +156 -0
  60. data/vendor/assets/stylesheets/bootstrap/tables.less +99 -131
  61. data/vendor/assets/stylesheets/bootstrap/thumbnails.less +35 -0
  62. data/vendor/assets/stylesheets/bootstrap/tooltip.less +35 -0
  63. data/vendor/assets/stylesheets/bootstrap/type.less +100 -70
  64. data/vendor/assets/stylesheets/bootstrap/utilities.less +23 -0
  65. data/vendor/assets/stylesheets/bootstrap/variables.less +94 -55
  66. data/vendor/assets/stylesheets/bootstrap/wells.less +17 -0
  67. data/vendor/assets/stylesheets/bootstrap-responsive.css +567 -0
  68. data/vendor/assets/stylesheets/bootstrap.css +3365 -0
  69. data/vendor/assets/stylesheets/docs.css +646 -173
  70. metadata +70 -23
  71. data/vendor/assets/javascripts/bootstrap/alerts.js +0 -104
  72. data/vendor/assets/javascripts/bootstrap/dropdown.js +0 -50
  73. data/vendor/assets/javascripts/bootstrap/jquery.tablesorter.min.js +0 -4
  74. data/vendor/assets/javascripts/bootstrap/modal.js +0 -231
  75. data/vendor/assets/javascripts/bootstrap/popover.js +0 -77
  76. data/vendor/assets/javascripts/bootstrap/scrollspy.js +0 -105
  77. data/vendor/assets/javascripts/bootstrap/tabs.js +0 -62
  78. data/vendor/assets/javascripts/bootstrap/twipsy.js +0 -307
  79. data/vendor/assets/javascripts/bootstrap.config.js +0 -52
  80. data/vendor/assets/stylesheets/bootstrap/patterns.less +0 -1005
  81. data/vendor/assets/stylesheets/bootstrap-1.3.0.css +0 -2362
  82. data/vendor/assets/stylesheets/bootstrap-1.3.0.min.css +0 -330
@@ -5,186 +5,284 @@
5
5
  Special styles for presenting Bootstrap's documentation and examples
6
6
  */
7
7
 
8
+
8
9
  /* Body and structure
9
10
  -------------------------------------------------- */
10
11
  body {
11
- background-color: #fff;
12
12
  position: relative;
13
+ padding-top: 90px;
14
+ background-color: #fff;
15
+ background-image: url(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;
13
37
  }
38
+
39
+
40
+ /* Space out sub-sections more
41
+ -------------------------------------------------- */
14
42
  section {
15
43
  padding-top: 60px;
16
44
  }
17
- section > .row {
18
- margin-bottom: 10px;
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;
19
55
  }
20
56
 
21
57
 
22
58
  /* Jumbotrons
23
59
  -------------------------------------------------- */
24
60
  .jumbotron {
25
- min-width: 940px;
26
- padding-top: 40px;
27
- }
28
- .jumbotron .inner {
29
- background: transparent url(../img/grid-18px.png) top center;
30
- padding: 45px 0;
31
- -webkit-box-shadow: inset 0 10px 30px rgba(0,0,0,.3);
32
- -moz-box-shadow: inset 0 10px 30px rgba(0,0,0,.3);
33
- /* box-shadow: inset 0 10px 30px rgba(0,0,0,.3);
34
- */}
35
- .jumbotron h1,
36
- .jumbotron p {
37
- margin-bottom: 9px;
38
- color: #fff;
39
- text-align: center;
40
- text-shadow: 0 1px 1px rgba(0,0,0,.3);
61
+ position: relative;
41
62
  }
42
63
  .jumbotron h1 {
43
- font-size: 54px;
64
+ margin-bottom: 9px;
65
+ font-size: 81px;
66
+ letter-spacing: -1px;
44
67
  line-height: 1;
45
- text-shadow: 0 1px 2px rgba(0,0,0,.5);
46
68
  }
47
69
  .jumbotron p {
70
+ margin-bottom: 18px;
48
71
  font-weight: 300;
49
72
  }
50
- .jumbotron .lead {
73
+ .jumbotron .btn-large {
51
74
  font-size: 20px;
52
- line-height: 27px;
75
+ font-weight: normal;
76
+ padding: 14px 24px;
77
+ margin-right: 10px;
78
+ -webkit-border-radius: 6px;
79
+ -moz-border-radius: 6px;
80
+ border-radius: 6px;
53
81
  }
54
- .jumbotron p a {
55
- color: #fff;
56
- font-weight: bold;
82
+
83
+ /* Masthead (docs home) */
84
+ .masthead {
85
+ padding-top: 36px;
86
+ margin-bottom: 72px;
87
+ }
88
+ .masthead h1,
89
+ .masthead p {
90
+ text-align: center;
91
+ }
92
+ .masthead h1 {
93
+ margin-bottom: 18px;
57
94
  }
95
+ .masthead p {
96
+ margin-left: 5%;
97
+ margin-right: 5%;
98
+ font-size: 30px;
99
+ line-height: 36px;
100
+ }
101
+
58
102
 
59
103
  /* Specific jumbotrons
60
104
  ------------------------- */
61
- /* main docs page */
62
- .masthead {
63
- background-color: #049cd9;
64
- background-repeat: no-repeat;
65
- background-image: -webkit-gradient(linear, left top, left bottom, from(#004D9F), to(#049cd9));
66
- background-image: -webkit-linear-gradient(#004D9F, #049cd9);
67
- background-image: -moz-linear-gradient(#004D9F, #049cd9);
68
- background-image: -o-linear-gradient(top, #004D9F, #049cd9);
69
- background-image: -khtml-gradient(linear, left top, left bottom, from(#004D9F), to(#049cd9));
70
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#004D9F', endColorstr='#049cd9', GradientType=0); /* IE8 and down */
71
- }
72
105
  /* supporting docs pages */
73
106
  .subhead {
74
- background-color: #767d80;
75
- background-repeat: no-repeat;
76
- background-image: -webkit-gradient(linear, left top, left bottom, from(#565d60), to(#767d80));
77
- background-image: -webkit-linear-gradient(#565d60, #767d80);
78
- background-image: -moz-linear-gradient(#565d60, #767d80);
79
- background-image: -o-linear-gradient(top, #565d60, #767d80);
80
- background-image: -khtml-gradient(linear, left top, left bottom, from(#565d60), to(#767d80));
81
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#565d60', endColorstr='#767d80', GradientType=0); /* IE8 and down */
82
- }
83
- .subhead .inner {
84
- padding: 36px 0 27px;
85
- }
86
- .subhead h1,
87
- .subhead p {
88
- text-align: left;
107
+ padding-bottom: 0;
108
+ margin-bottom: 9px;
89
109
  }
90
110
  .subhead h1 {
91
- font-size: 40px;
111
+ font-size: 54px;
92
112
  }
93
- .subhead p a {
94
- font-weight: normal;
113
+
114
+ /* Subnav */
115
+ .subnav {
116
+ width: 100%;
117
+ height: 36px;
118
+ background-color: #eeeeee; /* Old browsers */
119
+ background-repeat: repeat-x; /* Repeat the gradient */
120
+ background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
121
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
122
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
123
+ background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
124
+ background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
125
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
126
+ background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
127
+ border: 1px solid #e5e5e5;
128
+ -webkit-border-radius: 4px;
129
+ -moz-border-radius: 4px;
130
+ border-radius: 4px;
131
+ }
132
+ .subnav .nav {
133
+ margin-bottom: 0;
134
+ }
135
+ .subnav .nav > li > a {
136
+ margin: 0;
137
+ padding-top: 11px;
138
+ padding-bottom: 11px;
139
+ border-left: 1px solid #f5f5f5;
140
+ border-right: 1px solid #e5e5e5;
141
+ -webkit-border-radius: 0;
142
+ -moz-border-radius: 0;
143
+ border-radius: 0;
144
+ }
145
+ .subnav .nav > .active > a,
146
+ .subnav .nav > .active > a:hover {
147
+ padding-left: 13px;
148
+ color: #777;
149
+ background-color: #e9e9e9;
150
+ border-right-color: #ddd;
151
+ border-left: 0;
152
+ -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
153
+ -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
154
+ box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
155
+ }
156
+ .subnav .nav > .active > a .caret,
157
+ .subnav .nav > .active > a:hover .caret {
158
+ border-top-color: #777;
159
+ }
160
+ .subnav .nav > li:first-child > a,
161
+ .subnav .nav > li:first-child > a:hover {
162
+ border-left: 0;
163
+ padding-left: 12px;
164
+ -webkit-border-radius: 4px 0 0 4px;
165
+ -moz-border-radius: 4px 0 0 4px;
166
+ border-radius: 4px 0 0 4px;
167
+ }
168
+ .subnav .nav > li:last-child > a {
169
+ border-right: 0;
170
+ }
171
+ .subnav .dropdown-menu {
172
+ -webkit-border-radius: 0 0 4px 4px;
173
+ -moz-border-radius: 0 0 4px 4px;
174
+ border-radius: 0 0 4px 4px;
175
+ }
176
+
177
+ /* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
178
+ @media (min-width: 980px) {
179
+ .subnav-fixed {
180
+ position: fixed;
181
+ top: 40px;
182
+ left: 0;
183
+ right: 0;
184
+ z-index: 1030;
185
+ border-color: #d5d5d5;
186
+ border-width: 0 0 1px; /* drop the border on the fixed edges */
187
+ -webkit-border-radius: 0;
188
+ -moz-border-radius: 0;
189
+ border-radius: 0;
190
+ -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
191
+ -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
192
+ box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
193
+ }
194
+ .subnav-fixed .nav {
195
+ width: 938px;
196
+ margin: 0 auto;
197
+ padding: 0 1px;
198
+ }
199
+ .subnav .nav > li:first-child > a,
200
+ .subnav .nav > li:first-child > a:hover {
201
+ -webkit-border-radius: 0;
202
+ -moz-border-radius: 0;
203
+ border-radius: 0;
204
+ }
95
205
  }
96
206
 
97
207
 
98
- /* Footer
208
+ /* Quick links
99
209
  -------------------------------------------------- */
100
- .footer {
101
- background-color: #eee;
102
- min-width: 940px;
103
- padding: 30px 0;
104
- text-shadow: 0 1px 0 #fff;
105
- border-top: 1px solid #e5e5e5;
106
- -webkit-box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
107
- -moz-box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
108
- /* box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
109
- */}
110
- .footer p {
111
- color: #555;
210
+ .quick-links {
211
+ min-height: 30px;
212
+ padding: 5px 20px;
213
+ margin: 36px 0;
214
+ list-style: none;
215
+ text-align: center;
216
+ overflow: hidden;
217
+ }
218
+ .quick-links li {
219
+ display: inline;
220
+ margin: 0 5px;
221
+ color: #999;
222
+ }
223
+ .quick-links .github-btn,
224
+ .quick-links .tweet-btn,
225
+ .quick-links .follow-btn {
226
+ position: relative;
227
+ top: 5px;
112
228
  }
113
229
 
114
230
 
115
- /* Quickstart section for getting le code
231
+ /* Marketing section of Overview
116
232
  -------------------------------------------------- */
117
- .quickstart {
118
- background-color: #f5f5f5;
119
- background-repeat: repeat-x;
120
- background-image: -khtml-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f5f5f5));
121
- background-image: -moz-linear-gradient(#f9f9f9, #f5f5f5);
122
- background-image: -ms-linear-gradient(#f9f9f9, #f5f5f5);
123
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f9f9f9), color-stop(100%, #f5f5f5));
124
- background-image: -webkit-linear-gradient(#f9f9f9, #f5f5f5);
125
- background-image: -o-linear-gradient(#f9f9f9, #f5f5f5);
126
- -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0)";
127
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0);
128
- background-image: linear-gradient(#f9f9f9, #f5f5f5);
129
- border-top: 1px solid #fff;
130
- border-bottom: 1px solid #eee;
131
- }
132
- .quickstart .container {
133
- margin-bottom: 0;
233
+ .marketing .row {
234
+ margin-bottom: 9px;
134
235
  }
135
- .quickstart .row {
136
- margin: 0 -20px;
137
- -webkit-box-shadow: 1px 0 0 #f9f9f9;
138
- -moz-box-shadow: 1px 0 0 #f9f9f9;
139
- box-shadow: 1px 0 0 #f9f9f9;
140
- }
141
- .quickstart [class*="span"] {
142
- width: 285px;
143
- height: 117px;
144
- margin-left: 0;
145
- padding: 17px 20px 26px;
146
- border-left: 1px solid #eee;
147
- -webkit-box-shadow: inset 1px 0 0 #f9f9f9;
148
- -moz-box-shadow: inset 1px 0 0 #f9f9f9;
149
- box-shadow: inset 1px 0 0 #f9f9f9;
150
- }
151
- .quickstart [class*="span"]:last-child {
152
- border-right: 1px solid #eee;
153
- width: 286px;
154
- }
155
- .quickstart h6,
156
- .quickstart p {
157
- line-height: 18px;
236
+ .marketing h1 {
237
+ margin: 36px 0 27px;
238
+ font-size: 40px;
239
+ font-weight: 300;
158
240
  text-align: center;
159
- margin-bottom: 9px;
160
- color: #333;
161
241
  }
162
- .quickstart .current-version,
163
- .quickstart .current-version a {
164
- color: #999;
242
+ .marketing h2,
243
+ .marketing h3 {
244
+ font-weight: 300;
165
245
  }
166
- .quickstart h6 {
167
- color: #999;
246
+ .marketing h2 {
247
+ font-size: 22px;
168
248
  }
169
- .quickstart textarea {
170
- display: block;
171
- width: 275px;
172
- height: auto;
173
- margin: 0 0 9px;
174
- line-height: 21px;
175
- white-space: nowrap;
176
- overflow: hidden;
249
+ .marketing p {
250
+ margin-right: 10px;
251
+ }
252
+ .marketing .bs-icon {
253
+ float: left;
254
+ margin: 7px 10px 0 0;
255
+ opacity: .8;
256
+ }
257
+ .marketing .small-bs-icon {
258
+ float: left;
259
+ margin: 4px 5px 0 0;
177
260
  }
178
261
 
179
262
 
263
+
264
+ /* Footer
265
+ -------------------------------------------------- */
266
+ .footer {
267
+ margin-top: 45px;
268
+ padding: 35px 0 36px;
269
+ border-top: 1px solid #e5e5e5;
270
+ }
271
+ .footer p {
272
+ margin-bottom: 0;
273
+ color: #555;
274
+ }
275
+
276
+
277
+
180
278
  /* Special grid styles
181
279
  -------------------------------------------------- */
182
280
  .show-grid {
183
281
  margin-top: 10px;
184
- margin-bottom: 10px;
282
+ margin-bottom: 20px;
185
283
  }
186
284
  .show-grid [class*="span"] {
187
- background: #eee;
285
+ background-color: #eee;
188
286
  text-align: center;
189
287
  -webkit-border-radius: 3px;
190
288
  -moz-border-radius: 3px;
@@ -228,7 +326,7 @@ section > .row {
228
326
  .mini-layout .mini-layout-body {
229
327
  background-color: #dceaf4;
230
328
  margin: 0 auto;
231
- width: 240px;
329
+ width: 70%;
232
330
  height: 240px;
233
331
  }
234
332
  .mini-layout.fluid .mini-layout-sidebar,
@@ -238,52 +336,12 @@ section > .row {
238
336
  }
239
337
  .mini-layout.fluid .mini-layout-sidebar {
240
338
  background-color: #bbd8e9;
241
- width: 90px;
339
+ width: 20%;
242
340
  height: 240px;
243
341
  }
244
342
  .mini-layout.fluid .mini-layout-body {
245
- width: 300px;
246
- margin-left: 10px;
247
- }
248
-
249
-
250
- /* Topbar special styles
251
- -------------------------------------------------- */
252
- .topbar-wrapper {
253
- position: relative;
254
- height: 40px;
255
- margin: 5px 0 15px;
256
- }
257
- .topbar-wrapper .topbar {
258
- position: absolute;
259
- margin: 0 -20px;
260
- }
261
- .topbar-wrapper .topbar .topbar-inner {
262
- padding-left: 20px;
263
- padding-right: 20px;
264
- -webkit-border-radius: 4px;
265
- -moz-border-radius: 4px;
266
- border-radius: 4px;
267
- }
268
-
269
- /* Topbar in js docs
270
- ------------------------- */
271
- #bootstrap-js .topbar-wrapper {
272
- z-index: 1;
273
- }
274
- #bootstrap-js .topbar-wrapper .topbar {
275
- position: absolute;
276
- margin: 0 -20px;
277
- }
278
- #bootstrap-js .topbar-wrapper .topbar .topbar-inner {
279
- padding-left: 20px;
280
- padding-right: 20px;
281
- -webkit-border-radius: 4px;
282
- -moz-border-radius: 4px;
283
- border-radius: 4px;
284
- }
285
- #bootstrap-js .topbar-wrapper .container {
286
- width: auto;
343
+ width: 77.5%;
344
+ margin-left: 2.5%;
287
345
  }
288
346
 
289
347
 
@@ -305,13 +363,428 @@ section > .row {
305
363
  .popover-well .popover-menu-wrapper {
306
364
  height: 80px;
307
365
  }
308
- img.large-bird {
366
+ .large-bird {
309
367
  margin: 5px 0 0 310px;
310
368
  opacity: .1;
311
369
  }
312
370
 
313
- /* Pretty Print
371
+
372
+ /* Download page
373
+ -------------------------------------------------- */
374
+ .download .page-header {
375
+ margin-top: 36px;
376
+ }
377
+ .page-header .toggle-all {
378
+ margin-top: 5px;
379
+ }
380
+
381
+ /* Space out h3s when following a section */
382
+ .download h3 {
383
+ margin-bottom: 5px;
384
+ }
385
+ .download-builder input + h3,
386
+ .download-builder .checkbox + h3 {
387
+ margin-top: 9px;
388
+ }
389
+
390
+ /* Fields for variables */
391
+ .download-builder input[type=text] {
392
+ margin-bottom: 9px;
393
+ font-family: Menlo, Monaco, "Courier New", monospace;
394
+ font-size: 12px;
395
+ color: #d14;
396
+ }
397
+ .download-builder input[type=text]:focus {
398
+ background-color: #fff;
399
+ }
400
+
401
+ /* Custom, larger checkbox labels */
402
+ .download .checkbox {
403
+ padding: 6px 10px 6px 25px;
404
+ color: #555;
405
+ background-color: #f9f9f9;
406
+ -webkit-border-radius: 3px;
407
+ -moz-border-radius: 3px;
408
+ border-radius: 3px;
409
+ cursor: pointer;
410
+ }
411
+ .download .checkbox:hover {
412
+ color: #333;
413
+ background-color: #f5f5f5;
414
+ }
415
+ .download .checkbox small {
416
+ font-size: 12px;
417
+ color: #777;
418
+ }
419
+
420
+ /* Variables section */
421
+ #variables label {
422
+ margin-bottom: 0;
423
+ }
424
+
425
+ /* Giant download button */
426
+ .download-btn {
427
+ margin: 36px 0 108px;
428
+ }
429
+ .download p,
430
+ .download h4 {
431
+ max-width: 50%;
432
+ margin: 0 auto;
433
+ color: #999;
434
+ text-align: center;
435
+ }
436
+ .download h4 {
437
+ margin-bottom: 0;
438
+ }
439
+ .download p {
440
+ margin-bottom: 18px;
441
+ }
442
+ .download-btn .btn {
443
+ display: block;
444
+ width: auto;
445
+ padding: 19px 24px;
446
+ margin-bottom: 27px;
447
+ font-size: 30px;
448
+ line-height: 1;
449
+ text-align: center;
450
+ -webkit-border-radius: 6px;
451
+ -moz-border-radius: 6px;
452
+ border-radius: 6px;
453
+ }
454
+
455
+
456
+
457
+ /* Color swatches on LESS docs page
314
458
  -------------------------------------------------- */
459
+ /* Sets the width of the td */
460
+ .swatch-col {
461
+ width: 30px;
462
+ }
463
+ /* Le swatch */
464
+ .swatch {
465
+ display: inline-block;
466
+ width: 30px;
467
+ height: 20px;
468
+ margin: -6px 0;
469
+ -webkit-border-radius: 3px;
470
+ -moz-border-radius: 3px;
471
+ border-radius: 3px;
472
+ }
473
+ /* For white swatches, give a border */
474
+ .swatch-bordered {
475
+ width: 28px;
476
+ height: 18px;
477
+ border: 1px solid #eee;
478
+ }
479
+
480
+
481
+ /* Misc
482
+ -------------------------------------------------- */
483
+
315
484
  pre.prettyprint {
316
485
  overflow: hidden;
317
- }
486
+ }
487
+
488
+ .browser-support {
489
+ max-width: 100%;
490
+ }
491
+
492
+ /* Make tables spaced out a bit more */
493
+ h2 + table,
494
+ h3 + table,
495
+ h4 + table,
496
+ h2 + .row {
497
+ margin-top: 5px;
498
+ }
499
+
500
+ /* Example sites showcase */
501
+ .example-sites img {
502
+ max-width: 100%;
503
+ margin: 0 auto;
504
+ }
505
+ .marketing-byline {
506
+ margin: -18px 0 27px;
507
+ font-size: 18px;
508
+ font-weight: 300;
509
+ line-height: 24px;
510
+ color: #999;
511
+ text-align: center;
512
+ }
513
+
514
+ .scrollspy-example {
515
+ height: 200px;
516
+ overflow: auto;
517
+ position: relative;
518
+ }
519
+
520
+ /* Remove bottom margin on example forms in wells */
521
+ form.well {
522
+ padding: 14px;
523
+ }
524
+
525
+ /* Tighten up spacing */
526
+ .well hr {
527
+ margin: 18px 0;
528
+ }
529
+
530
+ /* Fake the :focus state to demo it */
531
+ .focused {
532
+ border-color: rgba(82,168,236,.8);
533
+ -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
534
+ -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
535
+ box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
536
+ outline: 0;
537
+ }
538
+
539
+ /* For input sizes, make them display block */
540
+ .docs-input-sizes select,
541
+ .docs-input-sizes input[type=text] {
542
+ display: block;
543
+ margin-bottom: 9px;
544
+ }
545
+
546
+ /* Icons
547
+ ------------------------- */
548
+ .the-icons {
549
+ margin-bottom: 18px;
550
+ }
551
+ .the-icons i {
552
+ display: block;
553
+ margin-bottom: 5px;
554
+ }
555
+ .the-icons i:hover {
556
+ background-color: rgba(255,0,0,.25);
557
+ }
558
+ .the-icons i:after {
559
+ display: block;
560
+ content: attr(class);
561
+ font-style: normal;
562
+ margin-left: 20px;
563
+ width: 140px;
564
+ }
565
+ #javascript input[type=checkbox] {
566
+ position: relative;
567
+ top: -1px;
568
+ display: inline;
569
+ margin-left: 6px;
570
+ }
571
+
572
+ /* Eaxmples page
573
+ ------------------------- */
574
+ .bootstrap-examples .thumbnail {
575
+ margin-bottom: 9px;
576
+ background-color: #fff;
577
+ }
578
+
579
+
580
+ /* Responsive Docs
581
+ -------------------------------------------------- */
582
+ @media (max-width: 480px) {
583
+
584
+ /* Reduce padding above jumbotron */
585
+ body {
586
+ padding-top: 70px;
587
+ }
588
+
589
+ /* Change up some type stuff */
590
+ h2 {
591
+ margin-top: 27px;
592
+ }
593
+ h2 small {
594
+ display: block;
595
+ line-height: 18px;
596
+ }
597
+ h3 {
598
+ margin-top: 18px;
599
+ }
600
+
601
+ /* Adjust the jumbotron */
602
+ .jumbotron h1,
603
+ .jumbotron p {
604
+ text-align: center;
605
+ margin-right: 0;
606
+ }
607
+ .jumbotron h1 {
608
+ font-size: 45px;
609
+ margin-right: 0;
610
+ }
611
+ .jumbotron p {
612
+ margin-right: 0;
613
+ margin-left: 0;
614
+ font-size: 18px;
615
+ line-height: 24px;
616
+ }
617
+ .jumbotron .btn {
618
+ display: block;
619
+ font-size: 18px;
620
+ padding: 10px 14px;
621
+ margin: 0 auto 10px;
622
+ }
623
+ /* Masthead (home page jumbotron) */
624
+ .masthead {
625
+ padding-top: 0;
626
+ }
627
+
628
+ /* Don't space out quick links so much */
629
+ .quick-links {
630
+ margin: 40px 0 0;
631
+ }
632
+ /* hide the bullets on mobile since our horizontal space is limited */
633
+ .quick-links .divider {
634
+ display: none;
635
+ }
636
+
637
+ /* center example sites */
638
+ .example-sites {
639
+ margin-left: 0;
640
+ }
641
+ .example-sites > li {
642
+ float: none;
643
+ display: block;
644
+ max-width: 280px;
645
+ margin: 0 auto 18px;
646
+ text-align: center;
647
+ }
648
+ .example-sites .thumbnail > img {
649
+ max-width: 270px;
650
+ }
651
+
652
+ table code {
653
+ white-space: normal;
654
+ word-wrap: break-word;
655
+ word-break: break-all;
656
+ }
657
+
658
+ /* Modal example */
659
+ .modal-example .modal {
660
+ position: relative;
661
+ top: auto;
662
+ right: auto;
663
+ bottom: auto;
664
+ left: auto;
665
+ }
666
+
667
+ }
668
+
669
+
670
+ @media (max-width: 768px) {
671
+
672
+ /* Remove any padding from the body */
673
+ body {
674
+ padding-top: 0;
675
+ }
676
+
677
+ /* Jumbotron buttons */
678
+ .jumbotron .btn {
679
+ margin-bottom: 10px;
680
+ }
681
+
682
+ /* Subnav */
683
+ .subnav {
684
+ position: static;
685
+ top: auto;
686
+ z-index: auto;
687
+ width: auto;
688
+ height: auto;
689
+ background: #fff; /* whole background property since we use a background-image for gradient */
690
+ -webkit-box-shadow: none;
691
+ -moz-box-shadow: none;
692
+ box-shadow: none;
693
+ }
694
+ .subnav .nav > li {
695
+ float: none;
696
+ }
697
+ .subnav .nav > li > a {
698
+ border: 0;
699
+ }
700
+ .subnav .nav > li + li > a {
701
+ border-top: 1px solid #e5e5e5;
702
+ }
703
+ .subnav .nav > li:first-child > a,
704
+ .subnav .nav > li:first-child > a:hover {
705
+ -webkit-border-radius: 4px 4px 0 0;
706
+ -moz-border-radius: 4px 4px 0 0;
707
+ border-radius: 4px 4px 0 0;
708
+ }
709
+
710
+ /* Popovers */
711
+ .large-bird {
712
+ display: none;
713
+ }
714
+ .popover-well .popover-wrapper {
715
+ margin-left: 0;
716
+ }
717
+
718
+ /* Space out the show-grid examples */
719
+ .show-grid [class*="span"] {
720
+ margin-bottom: 5px;
721
+ }
722
+
723
+ /* Unfloat the back to top link in footer */
724
+ .footer .pull-right {
725
+ float: none;
726
+ }
727
+ .footer p {
728
+ margin-bottom: 9px;
729
+ }
730
+
731
+ }
732
+
733
+
734
+ @media (min-width: 480px) and (max-width: 768px) {
735
+
736
+ /* Scale down the jumbotron content */
737
+ .jumbotron h1 {
738
+ font-size: 54px;
739
+ }
740
+ .jumbotron p {
741
+ margin-right: 0;
742
+ margin-left: 0;
743
+ }
744
+
745
+ }
746
+
747
+
748
+ @media (min-width: 768px) and (max-width: 980px) {
749
+
750
+ /* Remove any padding from the body */
751
+ body {
752
+ padding-top: 0;
753
+ }
754
+
755
+ /* Scale down the jumbotron content */
756
+ .jumbotron h1 {
757
+ font-size: 72px;
758
+ }
759
+
760
+ }
761
+
762
+
763
+ @media (max-width: 980px) {
764
+
765
+ /* Unfloat brand */
766
+ .navbar-fixed-top .brand {
767
+ float: left;
768
+ margin-left: 0;
769
+ padding-left: 10px;
770
+ padding-right: 10px;
771
+ }
772
+
773
+ /* Inline-block quick links for more spacing */
774
+ .quick-links li {
775
+ display: inline-block;
776
+ margin: 5px;
777
+ }
778
+
779
+ }
780
+
781
+
782
+ /* LARGE DESKTOP SCREENS */
783
+ @media (min-width: 1210px) {
784
+
785
+ /* Update subnav container */
786
+ .subnav-fixed .nav {
787
+ width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
788
+ }
789
+
790
+ }