unignore bower_components
[bootswatch] / 2 / bower_components / bootstrap / docs / examples / carousel.html
1 <!DOCTYPE html>
2 <html lang="en">
3   <head>
4     <meta charset="utf-8">
5     <title>Carousel Template &middot; Bootstrap</title>
6     <meta name="viewport" content="width=device-width, initial-scale=1.0">
7     <meta name="description" content="">
8     <meta name="author" content="">
9
10     <!-- Le styles -->
11     <link href="../assets/css/bootstrap.css" rel="stylesheet">
12     <link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
13     <style>
14
15     /* GLOBAL STYLES
16     -------------------------------------------------- */
17     /* Padding below the footer and lighter body text */
18
19     body {
20       padding-bottom: 40px;
21       color: #5a5a5a;
22     }
23
24
25
26     /* CUSTOMIZE THE NAVBAR
27     -------------------------------------------------- */
28
29     /* Special class on .container surrounding .navbar, used for positioning it into place. */
30     .navbar-wrapper {
31       position: absolute;
32       top: 0;
33       left: 0;
34       right: 0;
35       z-index: 10;
36       margin-top: 20px;
37       margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
38     }
39     .navbar-wrapper .navbar {
40
41     }
42
43     /* Remove border and change up box shadow for more contrast */
44     .navbar .navbar-inner {
45       border: 0;
46       -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
47          -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
48               box-shadow: 0 2px 10px rgba(0,0,0,.25);
49     }
50
51     /* Downsize the brand/project name a bit */
52     .navbar .brand {
53       padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */
54       font-size: 16px;
55       font-weight: bold;
56       text-shadow: 0 -1px 0 rgba(0,0,0,.5);
57     }
58
59     /* Navbar links: increase padding for taller navbar */
60     .navbar .nav > li > a {
61       padding: 15px 20px;
62     }
63
64     /* Offset the responsive button for proper vertical alignment */
65     .navbar .btn-navbar {
66       margin-top: 10px;
67     }
68
69
70
71     /* CUSTOMIZE THE CAROUSEL
72     -------------------------------------------------- */
73
74     /* Carousel base class */
75     .carousel {
76       margin-bottom: 60px;
77     }
78
79     .carousel .container {
80       position: relative;
81       z-index: 9;
82     }
83
84     .carousel-control {
85       height: 80px;
86       margin-top: 0;
87       font-size: 120px;
88       text-shadow: 0 1px 1px rgba(0,0,0,.4);
89       background-color: transparent;
90       border: 0;
91       z-index: 10;
92     }
93
94     .carousel .item {
95       height: 500px;
96     }
97     .carousel img {
98       position: absolute;
99       top: 0;
100       left: 0;
101       min-width: 100%;
102       height: 500px;
103     }
104
105     .carousel-caption {
106       background-color: transparent;
107       position: static;
108       max-width: 550px;
109       padding: 0 20px;
110       margin-top: 200px;
111     }
112     .carousel-caption h1,
113     .carousel-caption .lead {
114       margin: 0;
115       line-height: 1.25;
116       color: #fff;
117       text-shadow: 0 1px 1px rgba(0,0,0,.4);
118     }
119     .carousel-caption .btn {
120       margin-top: 10px;
121     }
122
123
124
125     /* MARKETING CONTENT
126     -------------------------------------------------- */
127
128     /* Center align the text within the three columns below the carousel */
129     .marketing .span4 {
130       text-align: center;
131     }
132     .marketing h2 {
133       font-weight: normal;
134     }
135     .marketing .span4 p {
136       margin-left: 10px;
137       margin-right: 10px;
138     }
139
140
141     /* Featurettes
142     ------------------------- */
143
144     .featurette-divider {
145       margin: 80px 0; /* Space out the Bootstrap <hr> more */
146     }
147     .featurette {
148       padding-top: 120px; /* Vertically center images part 1: add padding above and below text. */
149       overflow: hidden; /* Vertically center images part 2: clear their floats. */
150     }
151     .featurette-image {
152       margin-top: -120px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
153     }
154
155     /* Give some space on the sides of the floated elements so text doesn't run right into it. */
156     .featurette-image.pull-left {
157       margin-right: 40px;
158     }
159     .featurette-image.pull-right {
160       margin-left: 40px;
161     }
162
163     /* Thin out the marketing headings */
164     .featurette-heading {
165       font-size: 50px;
166       font-weight: 300;
167       line-height: 1;
168       letter-spacing: -1px;
169     }
170
171
172
173     /* RESPONSIVE CSS
174     -------------------------------------------------- */
175
176     @media (max-width: 979px) {
177
178       .container.navbar-wrapper {
179         margin-bottom: 0;
180         width: auto;
181       }
182       .navbar-inner {
183         border-radius: 0;
184         margin: -20px 0;
185       }
186
187       .carousel .item {
188         height: 500px;
189       }
190       .carousel img {
191         width: auto;
192         height: 500px;
193       }
194
195       .featurette {
196         height: auto;
197         padding: 0;
198       }
199       .featurette-image.pull-left,
200       .featurette-image.pull-right {
201         display: block;
202         float: none;
203         max-width: 40%;
204         margin: 0 auto 20px;
205       }
206     }
207
208
209     @media (max-width: 767px) {
210
211       .navbar-inner {
212         margin: -20px;
213       }
214
215       .carousel {
216         margin-left: -20px;
217         margin-right: -20px;
218       }
219       .carousel .container {
220
221       }
222       .carousel .item {
223         height: 300px;
224       }
225       .carousel img {
226         height: 300px;
227       }
228       .carousel-caption {
229         width: 65%;
230         padding: 0 70px;
231         margin-top: 100px;
232       }
233       .carousel-caption h1 {
234         font-size: 30px;
235       }
236       .carousel-caption .lead,
237       .carousel-caption .btn {
238         font-size: 18px;
239       }
240
241       .marketing .span4 + .span4 {
242         margin-top: 40px;
243       }
244
245       .featurette-heading {
246         font-size: 30px;
247       }
248       .featurette .lead {
249         font-size: 18px;
250         line-height: 1.5;
251       }
252
253     }
254     </style>
255
256     <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
257     <!--[if lt IE 9]>
258       <script src="../assets/js/html5shiv.js"></script>
259     <![endif]-->
260
261     <!-- Fav and touch icons -->
262     <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
263     <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
264       <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
265                     <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
266                                    <link rel="shortcut icon" href="../assets/ico/favicon.png">
267   </head>
268
269   <body>
270
271
272
273     <!-- NAVBAR
274     ================================================== -->
275     <div class="navbar-wrapper">
276       <!-- Wrap the .navbar in .container to center it within the absolutely positioned parent. -->
277       <div class="container">
278
279         <div class="navbar navbar-inverse">
280           <div class="navbar-inner">
281             <!-- Responsive Navbar Part 1: Button for triggering responsive navbar (not covered in tutorial). Include responsive CSS to utilize. -->
282             <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
283               <span class="icon-bar"></span>
284               <span class="icon-bar"></span>
285               <span class="icon-bar"></span>
286             </button>
287             <a class="brand" href="#">Project name</a>
288             <!-- Responsive Navbar Part 2: Place all navbar contents you want collapsed withing .navbar-collapse.collapse. -->
289             <div class="nav-collapse collapse">
290               <ul class="nav">
291                 <li class="active"><a href="#">Home</a></li>
292                 <li><a href="#about">About</a></li>
293                 <li><a href="#contact">Contact</a></li>
294                 <!-- Read about Bootstrap dropdowns at http://twbs.github.com/bootstrap/javascript.html#dropdowns -->
295                 <li class="dropdown">
296                   <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
297                   <ul class="dropdown-menu">
298                     <li><a href="#">Action</a></li>
299                     <li><a href="#">Another action</a></li>
300                     <li><a href="#">Something else here</a></li>
301                     <li class="divider"></li>
302                     <li class="nav-header">Nav header</li>
303                     <li><a href="#">Separated link</a></li>
304                     <li><a href="#">One more separated link</a></li>
305                   </ul>
306                 </li>
307               </ul>
308             </div><!--/.nav-collapse -->
309           </div><!-- /.navbar-inner -->
310         </div><!-- /.navbar -->
311
312       </div> <!-- /.container -->
313     </div><!-- /.navbar-wrapper -->
314
315
316
317     <!-- Carousel
318     ================================================== -->
319     <div id="myCarousel" class="carousel slide">
320       <div class="carousel-inner">
321         <div class="item active">
322           <img src="../assets/img/examples/slide-01.jpg" alt="">
323           <div class="container">
324             <div class="carousel-caption">
325               <h1>Example headline.</h1>
326               <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
327               <a class="btn btn-large btn-primary" href="#">Sign up today</a>
328             </div>
329           </div>
330         </div>
331         <div class="item">
332           <img src="../assets/img/examples/slide-02.jpg" alt="">
333           <div class="container">
334             <div class="carousel-caption">
335               <h1>Another example headline.</h1>
336               <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
337               <a class="btn btn-large btn-primary" href="#">Learn more</a>
338             </div>
339           </div>
340         </div>
341         <div class="item">
342           <img src="../assets/img/examples/slide-03.jpg" alt="">
343           <div class="container">
344             <div class="carousel-caption">
345               <h1>One more for good measure.</h1>
346               <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
347               <a class="btn btn-large btn-primary" href="#">Browse gallery</a>
348             </div>
349           </div>
350         </div>
351       </div>
352       <a class="left carousel-control" href="#myCarousel" data-slide="prev">&lsaquo;</a>
353       <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
354     </div><!-- /.carousel -->
355
356
357
358     <!-- Marketing messaging and featurettes
359     ================================================== -->
360     <!-- Wrap the rest of the page in another container to center all the content. -->
361
362     <div class="container marketing">
363
364       <!-- Three columns of text below the carousel -->
365       <div class="row">
366         <div class="span4">
367           <img class="img-circle" data-src="holder.js/140x140">
368           <h2>Heading</h2>
369           <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
370           <p><a class="btn" href="#">View details &raquo;</a></p>
371         </div><!-- /.span4 -->
372         <div class="span4">
373           <img class="img-circle" data-src="holder.js/140x140">
374           <h2>Heading</h2>
375           <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
376           <p><a class="btn" href="#">View details &raquo;</a></p>
377         </div><!-- /.span4 -->
378         <div class="span4">
379           <img class="img-circle" data-src="holder.js/140x140">
380           <h2>Heading</h2>
381           <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 justo sit amet risus.</p>
382           <p><a class="btn" href="#">View details &raquo;</a></p>
383         </div><!-- /.span4 -->
384       </div><!-- /.row -->
385
386
387       <!-- START THE FEATURETTES -->
388
389       <hr class="featurette-divider">
390
391       <div class="featurette">
392         <img class="featurette-image pull-right" src="../assets/img/examples/browser-icon-chrome.png">
393         <h2 class="featurette-heading">First featurette headling. <span class="muted">It'll blow your mind.</span></h2>
394         <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
395       </div>
396
397       <hr class="featurette-divider">
398
399       <div class="featurette">
400         <img class="featurette-image pull-left" src="../assets/img/examples/browser-icon-firefox.png">
401         <h2 class="featurette-heading">Oh yeah, it's that good. <span class="muted">See for yourself.</span></h2>
402         <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
403       </div>
404
405       <hr class="featurette-divider">
406
407       <div class="featurette">
408         <img class="featurette-image pull-right" src="../assets/img/examples/browser-icon-safari.png">
409         <h2 class="featurette-heading">And lastly, this one. <span class="muted">Checkmate.</span></h2>
410         <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
411       </div>
412
413       <hr class="featurette-divider">
414
415       <!-- /END THE FEATURETTES -->
416
417
418       <!-- FOOTER -->
419       <footer>
420         <p class="pull-right"><a href="#">Back to top</a></p>
421         <p>&copy; 2013 Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
422       </footer>
423
424     </div><!-- /.container -->
425
426
427
428     <!-- Le javascript
429     ================================================== -->
430     <!-- Placed at the end of the document so the pages load faster -->
431     <script src="../assets/js/jquery.js"></script>
432     <script src="../assets/js/bootstrap-transition.js"></script>
433     <script src="../assets/js/bootstrap-alert.js"></script>
434     <script src="../assets/js/bootstrap-modal.js"></script>
435     <script src="../assets/js/bootstrap-dropdown.js"></script>
436     <script src="../assets/js/bootstrap-scrollspy.js"></script>
437     <script src="../assets/js/bootstrap-tab.js"></script>
438     <script src="../assets/js/bootstrap-tooltip.js"></script>
439     <script src="../assets/js/bootstrap-popover.js"></script>
440     <script src="../assets/js/bootstrap-button.js"></script>
441     <script src="../assets/js/bootstrap-collapse.js"></script>
442     <script src="../assets/js/bootstrap-carousel.js"></script>
443     <script src="../assets/js/bootstrap-typeahead.js"></script>
444     <script>
445       !function ($) {
446         $(function(){
447           // carousel demo
448           $('#myCarousel').carousel()
449         })
450       }(window.jQuery)
451     </script>
452     <script src="../assets/js/holder/holder.js"></script>
453   </body>
454 </html>