aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/carousel/index.html28
-rw-r--r--examples/grid/grid.css13
-rw-r--r--examples/grid/index.html90
-rw-r--r--examples/jumbotron-narrow/index.html2
-rw-r--r--examples/jumbotron/index.html26
-rw-r--r--examples/justified-nav/index.html2
-rw-r--r--examples/navbar-fixed-top/index.html26
-rw-r--r--examples/navbar-static-top/index.html26
-rw-r--r--examples/navbar/index.html26
-rw-r--r--examples/offcanvas/index.html34
-rw-r--r--examples/offcanvas/offcanvas.css12
-rw-r--r--examples/signin/index.html2
-rw-r--r--examples/signin/signin.css6
-rw-r--r--examples/starter-template/index.html22
-rw-r--r--examples/sticky-footer-navbar/index.html22
-rw-r--r--examples/sticky-footer/index.html2
16 files changed, 187 insertions, 152 deletions
diff --git a/examples/carousel/index.html b/examples/carousel/index.html
index efb4bcf3c..8f3ac988a 100644
--- a/examples/carousel/index.html
+++ b/examples/carousel/index.html
@@ -9,8 +9,8 @@
<title>Carousel Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
- <link href="../bootstrap/css/bootstrap-glyphicons.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap-glyphicons.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="carousel.css" rel="stylesheet">
@@ -23,13 +23,15 @@
<div class="navbar navbar-inverse navbar-static-top">
<div class="container">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Project name</a>
- <div class="nav-collapse collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -41,7 +43,7 @@
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
- <li class="nav-header">Nav header</li>
+ <li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
@@ -175,8 +177,8 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
- <script src="../assets/js/holder.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/holder.js"></script>
</body>
</html>
diff --git a/examples/grid/grid.css b/examples/grid/grid.css
index c213ac6a7..963b128e3 100644
--- a/examples/grid/grid.css
+++ b/examples/grid/grid.css
@@ -13,9 +13,16 @@ h4 {
margin-top: 10px;
margin-bottom: 0;
}
-[class*="col-lg-"] {
+[class*="col-"] {
padding-top: 15px;
padding-bottom: 15px;
- background-color: rgba(185,74,72,.15);
- border: 1px solid rgba(185,74,72,.2);
+ background-color: #eee;
+ border: 1px solid #ddd;
+ background-color: rgba(86,61,124,.15);
+ border: 1px solid rgba(86,61,124,.2);
}
+
+hr {
+ margin-top: 40px;
+ margin-bottom: 40px;
+} \ No newline at end of file
diff --git a/examples/grid/index.html b/examples/grid/index.html
index bd86f4ab9..4525f7e49 100644
--- a/examples/grid/index.html
+++ b/examples/grid/index.html
@@ -9,7 +9,7 @@
<title>Grid Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="grid.css" rel="stylesheet">
@@ -18,72 +18,88 @@
<body>
<div class="container">
- <h2>Bootstrap grids</h2>
- <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
+ <div class="page-header">
+ <h1>Bootstrap grid examples</h1>
+ <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
+ </div>
- <h4>Three equal columns</h4>
+ <h3>Three equal columns</h3>
+ <p>Get three equal-width columns <strong>starting at desktops and scaling to large desktops</strong>. On mobile devices, tablets and below, the columns will automatically stack.</p>
<div class="row">
- <div class="col-lg-4">.col-lg-4</div>
- <div class="col-lg-4">.col-lg-4</div>
- <div class="col-lg-4">.col-lg-4</div>
+ <div class="col-md-4">.col-md-4</div>
+ <div class="col-md-4">.col-md-4</div>
+ <div class="col-md-4">.col-md-4</div>
</div>
- <h4>Three unequal columns</h4>
+ <h3>Three unequal columns</h3>
+ <p>Get three columns <strong>starting at desktops and scaling to large desktops</strong> of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.</p>
<div class="row">
- <div class="col-lg-3">.col-lg-3</div>
- <div class="col-lg-6">.col-lg-6</div>
- <div class="col-lg-3">.col-lg-3</div>
+ <div class="col-md-3">.col-md-3</div>
+ <div class="col-md-6">.col-md-6</div>
+ <div class="col-md-3">.col-md-3</div>
</div>
- <h4>Two columns</h4>
+ <h3>Two columns</h3>
+ <p>Get two columns <strong>starting at desktops and scaling to large desktops</strong>.</p>
<div class="row">
- <div class="col-lg-8">.col-lg-8</div>
- <div class="col-lg-4">.col-lg-4</div>
+ <div class="col-md-8">.col-md-8</div>
+ <div class="col-md-4">.col-md-4</div>
</div>
- <h4>Full width, single column</h4>
+ <h3>Full width, single column</h3>
<p class="text-warning">No grid classes are necessary for full-width elements.</p>
- <h4>Two columns with two nested columns</h4>
+ <hr>
+
+ <h3>Two columns with two nested columns</h3>
+ <p>Per the documentation, nesting is easy—just put a row of columns within an existing row. This gives you two columns <strong>starting at desktops and scaling to large desktops</strong>, with another two (equal widths) within the larger column.</p>
+ <p>At mobile device sizes, tablets and down, these columns and their nested columns will stack.</p>
<div class="row">
- <div class="col-lg-8">
- .col-lg-8
+ <div class="col-md-8">
+ .col-md-8
<div class="row">
- <div class="col-lg-6">.col-lg-6</div>
- <div class="col-lg-6">.col-lg-6</div>
+ <div class="col-md-6">.col-md-6</div>
+ <div class="col-md-6">.col-md-6</div>
</div>
</div>
- <div class="col-lg-4">.col-lg-4</div>
+ <div class="col-md-4">.col-md-4</div>
</div>
- <h4>Mixed: mobile and desktop</h4>
+ <hr>
+
+ <h3>Mixed: mobile and desktop</h3>
+ <p>The Bootstrap 3 grid system has four tiers of classes: xs (phones), sm (tablets), md (desktops), and lg (larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.</p>
+ <p>Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.</p>
<div class="row">
- <div class="col-12 col-lg-8">.col-12 .col-lg-8</div>
- <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
+ <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
+ <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>
<div class="row">
- <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
- <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
- <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
+ <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
+ <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
+ <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>
<div class="row">
- <div class="col-6 col-lg-6">.col-6 .col-lg-6</div>
- <div class="col-6 col-lg-6">.col-6 .col-lg-6</div>
+ <div class="col-xs-6 col-md-6">.col-xs-6 .col-md-6</div>
+ <div class="col-xs-6 col-md-6">.col-xs-6 .col-md-6</div>
</div>
- <h4>Mixed: mobile, tablet, and desktop</h4>
+ <hr>
+
+ <h3>Mixed: mobile, tablet, and desktop</h3>
+ <p></p>
<div class="row">
- <div class="col-12 col-sm-8 col-lg-8">.col-12 .col-lg-8</div>
- <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
+ <div class="col-xs-12 col-sm-8 col-lg-8">.col-xs-12 .col-lg-8</div>
+ <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-lg-4</div>
</div>
<div class="row">
- <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
- <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
- <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
+ <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-sm-4 .col-lg-4</div>
+ <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-sm-4 .col-lg-4</div>
+ <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-sm-4 .col-lg-4</div>
</div>
<div class="row">
- <div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div>
- <div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div>
+ <div class="col-xs-6 col-sm-6 col-lg-6">.col-xs-6 .col-sm-6 .col-lg-6</div>
+ <div class="col-xs-6 col-sm-6 col-lg-6">.col-xs-6 .col-sm-6 .col-lg-6</div>
</div>
</div> <!-- /container -->
diff --git a/examples/jumbotron-narrow/index.html b/examples/jumbotron-narrow/index.html
index a34fbb92f..1d09fa852 100644
--- a/examples/jumbotron-narrow/index.html
+++ b/examples/jumbotron-narrow/index.html
@@ -9,7 +9,7 @@
<title>Narrow Jumbotron Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="jumbotron-narrow.css" rel="stylesheet">
diff --git a/examples/jumbotron/index.html b/examples/jumbotron/index.html
index 09bb12277..b5a5a11ec 100644
--- a/examples/jumbotron/index.html
+++ b/examples/jumbotron/index.html
@@ -9,7 +9,7 @@
<title>Jumbotron Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="jumbotron.css" rel="stylesheet">
@@ -19,13 +19,15 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Project name</a>
- <div class="nav-collapse collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -43,12 +45,12 @@
</ul>
</li>
</ul>
- <form class="navbar-form form-inline pull-right">
+ <form class="navbar-form navbar-right">
<input type="text" placeholder="Email" class="form-control">
<input type="password" placeholder="Password" class="form-control">
<button type="submit" class="btn">Sign in</button>
</form>
- </div><!--/.nav-collapse -->
+ </div><!--/.navbar-collapse -->
</div>
</div>
@@ -91,7 +93,7 @@
</div> <!-- /container -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html> \ No newline at end of file
diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html
index f5fbc5851..de9ce387e 100644
--- a/examples/justified-nav/index.html
+++ b/examples/justified-nav/index.html
@@ -9,7 +9,7 @@
<title>Justified Nav Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="justified-nav.css" rel="stylesheet">
diff --git a/examples/navbar-fixed-top/index.html b/examples/navbar-fixed-top/index.html
index 5a0e596af..9bc75b5f2 100644
--- a/examples/navbar-fixed-top/index.html
+++ b/examples/navbar-fixed-top/index.html
@@ -9,7 +9,7 @@
<title>Fixed Top Navbar Example for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="navbar-fixed-top.css" rel="stylesheet">
@@ -20,13 +20,15 @@
<!-- Fixed navbar -->
<div class="navbar navbar-fixed-top">
<div class="container">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Project name</a>
- <div class="nav-collapse collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -38,13 +40,13 @@
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
- <li class="dropdown-header">Dropdown header</li>
+ <li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
- <ul class="nav navbar-nav pull-right">
+ <ul class="nav navbar-nav navbar-right">
<li><a href="http://examples.getbootstrap.com/navbar/index.html">Default</a></li>
<li><a href="http://examples.getbootstrap.com/navbar-static-top/index.html">Static top</a></li>
<li class="active"><a href="http://examples.getbootstrap.com/navbar-fixed-top/index.html">Fixed top</a></li>
@@ -69,7 +71,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/navbar-static-top/index.html b/examples/navbar-static-top/index.html
index 25e9dcec4..1a49c8229 100644
--- a/examples/navbar-static-top/index.html
+++ b/examples/navbar-static-top/index.html
@@ -9,7 +9,7 @@
<title>Static Top Navbar Example for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="navbar-static-top.css" rel="stylesheet">
@@ -20,13 +20,15 @@
<!-- Static navbar -->
<div class="navbar navbar-static-top">
<div class="container">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Project name</a>
- <div class="nav-collapse collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -38,13 +40,13 @@
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
- <li class="dropdown-header">Dropdown header</li>
+ <li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
- <ul class="nav navbar-nav pull-right">
+ <ul class="nav navbar-nav navbar-right">
<li><a href="http://examples.getbootstrap.com/navbar/index.html">Default</a></li>
<li class="active"><a href="http://examples.getbootstrap.com/navbar-static-top/index.html">Static top</a></li>
<li><a href="http://examples.getbootstrap.com/navbar-fixed-top/index.html">Fixed top</a></li>
@@ -70,7 +72,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/navbar/index.html b/examples/navbar/index.html
index 689a0e35c..e89c83113 100644
--- a/examples/navbar/index.html
+++ b/examples/navbar/index.html
@@ -9,7 +9,7 @@
<title>Navbar Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="navbar.css" rel="stylesheet">
@@ -22,13 +22,15 @@
<!-- Static navbar -->
<div class="navbar">
<div class="container">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Project name</a>
- <div class="nav-collapse collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -40,13 +42,13 @@
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
- <li class="dropdown-header">Dropdown header</li>
+ <li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
- <ul class="nav navbar-nav pull-right">
+ <ul class="nav navbar-nav navbar-right">
<li class="active"><a href="http://examples.getbootstrap.com/navbar/index.html">Default</a></li>
<li><a href="http://examples.getbootstrap.com/navbar-static-top/index.html">Static top</a></li>
<li><a href="http://examples.getbootstrap.com/navbar-fixed-top/index.html">Fixed top</a></li>
@@ -69,7 +71,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html
index 1092f2c1a..e6c186462 100644
--- a/examples/offcanvas/index.html
+++ b/examples/offcanvas/index.html
@@ -9,7 +9,7 @@
<title>Off Canvas Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="offcanvas.css" rel="stylesheet">
@@ -18,16 +18,15 @@
<body>
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
<div class="container">
-
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
-
- <a class="navbar-brand" href="#">Project name</a>
-
- <div class="nav-collapse collapse navbar-responsive-collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -40,8 +39,8 @@
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
- <div class="col-12 col-sm-9 col-lg-9">
- <p class="pull-right visible-sm">
+ <div class="col-xs-12 col-sm-9">
+ <p class="pull-right visible-xs">
<button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
</p>
<div class="jumbotron">
@@ -81,7 +80,8 @@
</div><!--/span-->
</div><!--/row-->
</div><!--/span-->
- <nav class="col-3 col-sm-3 col-lg-3 sidebar-offcanvas" id="sidebar" role="navigation">
+
+ <div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="well sidebar-nav">
<ul class="nav">
<li>Sidebar</li>
@@ -97,7 +97,7 @@
<li><a href="#">Link</a></li>
</ul>
</div><!--/.well -->
- </nav><!--/span-->
+ </div><!--/span-->
</div><!--/row-->
<hr>
@@ -109,8 +109,8 @@
</div><!--/.container-->
<!-- jQuery and plugin -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
<script src="offcanvas.js"></script>
</body>
</html> \ No newline at end of file
diff --git a/examples/offcanvas/offcanvas.css b/examples/offcanvas/offcanvas.css
index 27a075d76..e83e71824 100644
--- a/examples/offcanvas/offcanvas.css
+++ b/examples/offcanvas/offcanvas.css
@@ -17,7 +17,7 @@ footer {
@media screen and (max-width: 768px) {
.row-offcanvas {
position: relative;
- overflow: hidden // Needed for Internet Explorer
+ overflow: hidden; /* Needed for Internet Explorer */
-webkit-transition: all 0.25s ease-out;
-moz-transition: all 0.25s ease-out;
transition: all 0.25s ease-out;
@@ -25,24 +25,24 @@ footer {
.row-offcanvas-right
.sidebar-offcanvas {
- right: -58.333333333333336%; // 6 columns
+ right: -58.333333333333336%; /* 6 columns */
}
.row-offcanvas-left
.sidebar-offcanvas {
- left: -58.333333333333336%; // 6 columns
+ left: -58.333333333333336%; /* 6 columns */
}
.row-offcanvas-right.active {
- right: 58.333333333333336%; // 6 columns
+ right: 58.333333333333336%; /* 6 columns */
}
.row-offcanvas-left.active {
- left: 58.333333333333336%; // 6 columns
+ left: 58.333333333333336%; /* 6 columns */
}
.sidebar-offcanvas {
position: absolute;
- width: 58.333333333333336%; // 6 columns
+ width: 58.333333333333336%; /* 6 columns */
}
} \ No newline at end of file
diff --git a/examples/signin/index.html b/examples/signin/index.html
index 0b5d9bd95..9521fb437 100644
--- a/examples/signin/index.html
+++ b/examples/signin/index.html
@@ -9,7 +9,7 @@
<title>Signin Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="signin.css" rel="stylesheet">
diff --git a/examples/signin/signin.css b/examples/signin/signin.css
index a68420fad..a6bf9b159 100644
--- a/examples/signin/signin.css
+++ b/examples/signin/signin.css
@@ -16,8 +16,7 @@ body {
.form-signin .checkbox {
font-weight: normal;
}
-.form-signin input[type="text"],
-.form-signin input[type="password"] {
+.form-signin .form-control {
position: relative;
font-size: 16px;
height: auto;
@@ -26,8 +25,7 @@ body {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
-.form-signin input[type="text"]:focus,
-.form-signin input[type="password"]:focus {
+.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="text"] {
diff --git a/examples/starter-template/index.html b/examples/starter-template/index.html
index 08a277208..008125d14 100644
--- a/examples/starter-template/index.html
+++ b/examples/starter-template/index.html
@@ -9,7 +9,7 @@
<title>Starter Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="starter-template.css" rel="stylesheet">
@@ -19,13 +19,15 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Project name</a>
- <div class="nav-collapse collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -44,7 +46,7 @@
</div><!-- /.container -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html> \ No newline at end of file
diff --git a/examples/sticky-footer-navbar/index.html b/examples/sticky-footer-navbar/index.html
index d5e033f58..a5182eeaf 100644
--- a/examples/sticky-footer-navbar/index.html
+++ b/examples/sticky-footer-navbar/index.html
@@ -9,7 +9,7 @@
<title>Sticky Footer Navbar Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="sticky-footer-navbar.css" rel="stylesheet">
@@ -23,13 +23,15 @@
<!-- Fixed navbar -->
<div class="navbar navbar-fixed-top">
<div class="container">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Project name</a>
- <div class="nav-collapse collapse">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
@@ -69,7 +71,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
- <script src="../assets/js/jquery.js"></script>
- <script src="../bootstrap/js/bootstrap.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html> \ No newline at end of file
diff --git a/examples/sticky-footer/index.html b/examples/sticky-footer/index.html
index 13476cd11..8505d7637 100644
--- a/examples/sticky-footer/index.html
+++ b/examples/sticky-footer/index.html
@@ -9,7 +9,7 @@
<title>Sticky Footer Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
- <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+ <link href="../../dist/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="sticky-footer.css" rel="stylesheet">