mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-26 03:24:05 +03:00
worked on sign-in example, and fixed a few bugs related to checkbox spacing outside a form-group. All examples ready to be added. Resolves #803
This commit is contained in:
parent
a4473d8a00
commit
c9bc66e574
|
@ -543,7 +543,8 @@ module.exports = function (grunt) {
|
||||||
'exec:rollup-umd',
|
'exec:rollup-umd',
|
||||||
'exec:rollup-es6',
|
'exec:rollup-es6',
|
||||||
'stamp',
|
'stamp',
|
||||||
'uglify:dist'
|
'uglify:dist',
|
||||||
|
'copy:dist-to-docs'
|
||||||
]);
|
]);
|
||||||
grunt.registerTask('docs-js', [
|
grunt.registerTask('docs-js', [
|
||||||
'clean:docs-dist-js',
|
'clean:docs-dist-js',
|
||||||
|
@ -571,7 +572,8 @@ module.exports = function (grunt) {
|
||||||
'sass-compile',
|
'sass-compile',
|
||||||
'postcss:core',
|
'postcss:core',
|
||||||
'csscomb:dist',
|
'csscomb:dist',
|
||||||
'cssmin:core'
|
'cssmin:core',
|
||||||
|
'copy:dist-to-docs'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
grunt.registerTask('docs-css', [
|
grunt.registerTask('docs-css', [
|
||||||
|
|
|
@ -15,5 +15,5 @@
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$('body').bootstrapMaterialDesign()
|
$('body').bootstrapMaterialDesign()
|
||||||
});
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,85 +0,0 @@
|
||||||
body {
|
|
||||||
min-height: 75rem; /* Can be removed; just added for demo purposes */
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-collapse .container-fluid {
|
|
||||||
padding: 2rem 2.5rem;
|
|
||||||
border-bottom: 1px solid #55595c;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-collapse h4 {
|
|
||||||
color: #818a91;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-collapse .text-muted {
|
|
||||||
color: #818a91;
|
|
||||||
}
|
|
||||||
|
|
||||||
.about {
|
|
||||||
float: left;
|
|
||||||
max-width: 30rem;
|
|
||||||
margin-right: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.social a {
|
|
||||||
font-weight: 500;
|
|
||||||
color: #eceeef;
|
|
||||||
}
|
|
||||||
.social a:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jumbotron {
|
|
||||||
padding-top: 6rem;
|
|
||||||
padding-bottom: 6rem;
|
|
||||||
margin-bottom: 0;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jumbotron p:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jumbotron-heading {
|
|
||||||
font-weight: 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jumbotron .container {
|
|
||||||
max-width: 40rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.album {
|
|
||||||
min-height: 50rem; /* Can be removed; just added for demo purposes */
|
|
||||||
padding-top: 3rem;
|
|
||||||
padding-bottom: 3rem;
|
|
||||||
background-color: #f7f7f7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
float: left;
|
|
||||||
width: 33.333%;
|
|
||||||
padding: .75rem;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card > img {
|
|
||||||
margin-bottom: .75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-text {
|
|
||||||
font-size: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
padding-top: 3rem;
|
|
||||||
padding-bottom: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer p {
|
|
||||||
margin-bottom: .25rem;
|
|
||||||
}
|
|
|
@ -1,131 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Album example for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="album.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="navbar-collapse collapse inverse" id="navbar-header">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="about">
|
|
||||||
<h4>About</h4>
|
|
||||||
<p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
|
|
||||||
</div>
|
|
||||||
<div class="social">
|
|
||||||
<h4>Contact</h4>
|
|
||||||
<ul class="list-unstyled">
|
|
||||||
<li><a href="#">Follow on Twitter</a></li>
|
|
||||||
<li><a href="#">Like on Facebook</a></li>
|
|
||||||
<li><a href="#">Email me</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="navbar navbar-static-top navbar-dark bg-inverse">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-header">
|
|
||||||
☰
|
|
||||||
</button>
|
|
||||||
<a href="#" class="navbar-brand">Album</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="jumbotron text-xs-center">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="jumbotron-heading">Album example</h1>
|
|
||||||
<p class="lead text-muted">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don't simply skip over it entirely.</p>
|
|
||||||
<p>
|
|
||||||
<a href="#" class="btn btn-primary">Main call to action</a>
|
|
||||||
<a href="#" class="btn btn-secondary">Secondary action</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<div class="album text-muted">
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<img data-src="holder.js/100px280/thumb" alt="Card image cap">
|
|
||||||
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer class="text-muted">
|
|
||||||
<div class="container">
|
|
||||||
<p class="pull-xs-right">
|
|
||||||
<a href="#">Back to top</a>
|
|
||||||
</p>
|
|
||||||
<p>Album example is © Bootstrap, but please download and customize it for yourself!</p>
|
|
||||||
<p>New to Bootstrap? <a href="../../">Visit the homepage</a> or read our <a href="../../getting-started/">getting started guide</a>.</p>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../assets/js/vendor/holder.min.js"></script>
|
|
||||||
<script>
|
|
||||||
$(function () {
|
|
||||||
Holder.addTheme("thumb", { background: "#55595c", foreground: "#eceeef", text: "Thumbnail" });
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,170 +0,0 @@
|
||||||
/*
|
|
||||||
* Globals
|
|
||||||
*/
|
|
||||||
|
|
||||||
@media (min-width: 48em) {
|
|
||||||
html {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: Georgia, "Times New Roman", Times, serif;
|
|
||||||
color: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, .h1,
|
|
||||||
h2, .h2,
|
|
||||||
h3, .h3,
|
|
||||||
h4, .h4,
|
|
||||||
h5, .h5,
|
|
||||||
h6, .h6 {
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
||||||
font-weight: normal;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Override Bootstrap's default container.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.container {
|
|
||||||
max-width: 60rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Masthead for nav
|
|
||||||
*/
|
|
||||||
|
|
||||||
.blog-masthead {
|
|
||||||
margin-bottom: 3rem;
|
|
||||||
background-color: #428bca;
|
|
||||||
-webkit-box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.1);
|
|
||||||
box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Nav links */
|
|
||||||
.nav-link {
|
|
||||||
position: relative;
|
|
||||||
padding: 1rem;
|
|
||||||
font-weight: 500;
|
|
||||||
color: #cdddeb;
|
|
||||||
}
|
|
||||||
.nav-link:hover,
|
|
||||||
.nav-link:focus {
|
|
||||||
color: #fff;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Active state gets a caret at the bottom */
|
|
||||||
.nav-link.active {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.nav-link.active:after {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 50%;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
margin-left: -.3rem;
|
|
||||||
vertical-align: middle;
|
|
||||||
content: "";
|
|
||||||
border-right: .3rem solid transparent;
|
|
||||||
border-bottom: .3rem solid;
|
|
||||||
border-left: .3rem solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Blog name and description
|
|
||||||
*/
|
|
||||||
|
|
||||||
.blog-header {
|
|
||||||
padding-bottom: 1.25rem;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
border-bottom: .05rem solid #eee;
|
|
||||||
}
|
|
||||||
.blog-title {
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-size: 2rem;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.blog-description {
|
|
||||||
font-size: 1.1rem;
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 40em) {
|
|
||||||
.blog-title {
|
|
||||||
font-size: 3.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main column and sidebar layout
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Sidebar modules for boxing content */
|
|
||||||
.sidebar-module {
|
|
||||||
padding: 1rem;
|
|
||||||
/*margin: 0 -1rem 1rem;*/
|
|
||||||
}
|
|
||||||
.sidebar-module-inset {
|
|
||||||
padding: 1rem;
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
border-radius: .25rem;
|
|
||||||
}
|
|
||||||
.sidebar-module-inset p:last-child,
|
|
||||||
.sidebar-module-inset ul:last-child,
|
|
||||||
.sidebar-module-inset ol:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Pagination */
|
|
||||||
.pager {
|
|
||||||
margin-bottom: 4rem;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
.pager > li > a {
|
|
||||||
width: 8rem;
|
|
||||||
padding: .75rem 1.25rem;
|
|
||||||
text-align: center;
|
|
||||||
border-radius: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Blog posts
|
|
||||||
*/
|
|
||||||
|
|
||||||
.blog-post {
|
|
||||||
margin-bottom: 4rem;
|
|
||||||
}
|
|
||||||
.blog-post-title {
|
|
||||||
margin-bottom: .25rem;
|
|
||||||
font-size: 2.5rem;
|
|
||||||
}
|
|
||||||
.blog-post-meta {
|
|
||||||
margin-bottom: 1.25rem;
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Footer
|
|
||||||
*/
|
|
||||||
|
|
||||||
.blog-footer {
|
|
||||||
padding: 2.5rem 0;
|
|
||||||
color: #999;
|
|
||||||
text-align: center;
|
|
||||||
background-color: #f9f9f9;
|
|
||||||
border-top: .05rem solid #e5e5e5;
|
|
||||||
}
|
|
||||||
.blog-footer p:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
|
@ -1,170 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Blog Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="blog.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="blog-masthead">
|
|
||||||
<div class="container">
|
|
||||||
<nav class="nav blog-nav">
|
|
||||||
<a class="nav-link active" href="#">Home</a>
|
|
||||||
<a class="nav-link" href="#">New features</a>
|
|
||||||
<a class="nav-link" href="#">Press</a>
|
|
||||||
<a class="nav-link" href="#">New hires</a>
|
|
||||||
<a class="nav-link" href="#">About</a>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="blog-header">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="blog-title">The Bootstrap Blog</h1>
|
|
||||||
<p class="lead blog-description">An example blog template built with Bootstrap.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
<div class="col-sm-8 blog-main">
|
|
||||||
|
|
||||||
<div class="blog-post">
|
|
||||||
<h2 class="blog-post-title">Sample blog post</h2>
|
|
||||||
<p class="blog-post-meta">January 1, 2014 by <a href="#">Mark</a></p>
|
|
||||||
|
|
||||||
<p>This blog post shows a few different types of content that's supported and styled with Bootstrap. Basic typography, images, and code are all supported.</p>
|
|
||||||
<hr>
|
|
||||||
<p>Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.</p>
|
|
||||||
<blockquote>
|
|
||||||
<p>Curabitur blandit tempus porttitor. <strong>Nullam quis risus eget urna mollis</strong> ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
|
||||||
</blockquote>
|
|
||||||
<p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
|
|
||||||
<h3>Sub-heading</h3>
|
|
||||||
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
|
|
||||||
<pre><code>Example code block</code></pre>
|
|
||||||
<p>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
|
|
||||||
<h3>Sub-heading</h3>
|
|
||||||
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
|
||||||
<ul>
|
|
||||||
<li>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</li>
|
|
||||||
<li>Donec id elit non mi porta gravida at eget metus.</li>
|
|
||||||
<li>Nulla vitae elit libero, a pharetra augue.</li>
|
|
||||||
</ul>
|
|
||||||
<p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
|
|
||||||
<ol>
|
|
||||||
<li>Vestibulum id ligula porta felis euismod semper.</li>
|
|
||||||
<li>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</li>
|
|
||||||
<li>Maecenas sed diam eget risus varius blandit sit amet non magna.</li>
|
|
||||||
</ol>
|
|
||||||
<p>Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.</p>
|
|
||||||
</div><!-- /.blog-post -->
|
|
||||||
|
|
||||||
<div class="blog-post">
|
|
||||||
<h2 class="blog-post-title">Another blog post</h2>
|
|
||||||
<p class="blog-post-meta">December 23, 2013 by <a href="#">Jacob</a></p>
|
|
||||||
|
|
||||||
<p>Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.</p>
|
|
||||||
<blockquote>
|
|
||||||
<p>Curabitur blandit tempus porttitor. <strong>Nullam quis risus eget urna mollis</strong> ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
|
||||||
</blockquote>
|
|
||||||
<p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
|
|
||||||
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
|
|
||||||
</div><!-- /.blog-post -->
|
|
||||||
|
|
||||||
<div class="blog-post">
|
|
||||||
<h2 class="blog-post-title">New feature</h2>
|
|
||||||
<p class="blog-post-meta">December 14, 2013 by <a href="#">Chris</a></p>
|
|
||||||
|
|
||||||
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
|
||||||
<ul>
|
|
||||||
<li>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</li>
|
|
||||||
<li>Donec id elit non mi porta gravida at eget metus.</li>
|
|
||||||
<li>Nulla vitae elit libero, a pharetra augue.</li>
|
|
||||||
</ul>
|
|
||||||
<p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
|
|
||||||
<p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
|
|
||||||
</div><!-- /.blog-post -->
|
|
||||||
|
|
||||||
<nav>
|
|
||||||
<ul class="pager">
|
|
||||||
<li><a href="#">Older</a></li>
|
|
||||||
<li class="disabled"><a href="#">Newer</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</div><!-- /.blog-main -->
|
|
||||||
|
|
||||||
<div class="col-sm-3 col-sm-offset-1 blog-sidebar">
|
|
||||||
<div class="sidebar-module sidebar-module-inset">
|
|
||||||
<h4>About</h4>
|
|
||||||
<p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
|
|
||||||
</div>
|
|
||||||
<div class="sidebar-module">
|
|
||||||
<h4>Archives</h4>
|
|
||||||
<ol class="list-unstyled">
|
|
||||||
<li><a href="#">March 2014</a></li>
|
|
||||||
<li><a href="#">February 2014</a></li>
|
|
||||||
<li><a href="#">January 2014</a></li>
|
|
||||||
<li><a href="#">December 2013</a></li>
|
|
||||||
<li><a href="#">November 2013</a></li>
|
|
||||||
<li><a href="#">October 2013</a></li>
|
|
||||||
<li><a href="#">September 2013</a></li>
|
|
||||||
<li><a href="#">August 2013</a></li>
|
|
||||||
<li><a href="#">July 2013</a></li>
|
|
||||||
<li><a href="#">June 2013</a></li>
|
|
||||||
<li><a href="#">May 2013</a></li>
|
|
||||||
<li><a href="#">April 2013</a></li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<div class="sidebar-module">
|
|
||||||
<h4>Elsewhere</h4>
|
|
||||||
<ol class="list-unstyled">
|
|
||||||
<li><a href="#">GitHub</a></li>
|
|
||||||
<li><a href="#">Twitter</a></li>
|
|
||||||
<li><a href="#">Facebook</a></li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
</div><!-- /.blog-sidebar -->
|
|
||||||
|
|
||||||
</div><!-- /.row -->
|
|
||||||
|
|
||||||
</div><!-- /.container -->
|
|
||||||
|
|
||||||
<footer class="blog-footer">
|
|
||||||
<p>Blog template built for <a href="http://getbootstrap.com">Bootstrap</a> by <a href="https://twitter.com/mdo">@mdo</a>.</p>
|
|
||||||
<p>
|
|
||||||
<a href="#">Back to top</a>
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,113 +0,0 @@
|
||||||
/* GLOBAL STYLES
|
|
||||||
-------
|
|
||||||
|
|
||||||
[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
|
||||||
|
|
||||||
{% callout info %}
|
|
||||||
**Bootstrap Reference Documentation**
|
|
||||||
This is a part of the reference documentation from <a href="http://getbootstrap.com">Bootstrap</a>.
|
|
||||||
It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
|
|
||||||
See the <a href="/material-design/buttons">Material Design</a> section for more elements and customization options.
|
|
||||||
{% endcallout %}
|
|
||||||
|
|
||||||
------------------------------------------- */
|
|
||||||
/* Padding below the footer and lighter body text */
|
|
||||||
|
|
||||||
body {
|
|
||||||
padding-bottom: 3rem;
|
|
||||||
color: #5a5a5a;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* CUSTOMIZE THE CAROUSEL
|
|
||||||
-------------------------------------------------- */
|
|
||||||
|
|
||||||
/* Carousel base class */
|
|
||||||
.carousel {
|
|
||||||
margin-bottom: 4rem;
|
|
||||||
}
|
|
||||||
/* Since positioning the image, we need to help out the caption */
|
|
||||||
.carousel-caption {
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Declare heights because of positioning of img element */
|
|
||||||
.carousel-item {
|
|
||||||
height: 32rem;
|
|
||||||
background-color: #777;
|
|
||||||
}
|
|
||||||
.carousel-item > img {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
min-width: 100%;
|
|
||||||
height: 32rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carousel-indicators {
|
|
||||||
top: 1.5rem;
|
|
||||||
right: 1.5rem;
|
|
||||||
bottom: auto;
|
|
||||||
left: auto;
|
|
||||||
width: 1rem;
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carousel-indicators > li {
|
|
||||||
margin-bottom: .25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* MARKETING CONTENT
|
|
||||||
-------------------------------------------------- */
|
|
||||||
|
|
||||||
/* Center align the text within the three columns below the carousel */
|
|
||||||
.marketing .col-lg-4 {
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.marketing h2 {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.marketing .col-lg-4 p {
|
|
||||||
margin-right: .75rem;
|
|
||||||
margin-left: .75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Featurettes
|
|
||||||
------------------------- */
|
|
||||||
|
|
||||||
.featurette-divider {
|
|
||||||
margin: 5rem 0; /* Space out the Bootstrap <hr> more */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Thin out the marketing headings */
|
|
||||||
.featurette-heading {
|
|
||||||
font-weight: 300;
|
|
||||||
line-height: 1;
|
|
||||||
letter-spacing: -.05rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* RESPONSIVE CSS
|
|
||||||
-------------------------------------------------- */
|
|
||||||
|
|
||||||
@media (min-width: 40em) {
|
|
||||||
/* Bump up size of carousel content */
|
|
||||||
.carousel-caption p {
|
|
||||||
margin-bottom: 1.25rem;
|
|
||||||
font-size: 1.25rem;
|
|
||||||
line-height: 1.4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.featurette-heading {
|
|
||||||
font-size: 50px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 62em) {
|
|
||||||
.featurette-heading {
|
|
||||||
margin-top: 7rem;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,186 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Carousel Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="carousel.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<nav class="navbar navbar-static-top navbar-light bg-faded">
|
|
||||||
<a href="#" class="navbar-brand">Carousel</a>
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li class="nav-item active">
|
|
||||||
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Features</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Pricing</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">About</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Carousel
|
|
||||||
================================================== -->
|
|
||||||
<div id="myCarousel" class="carousel slide" data-ride="carousel">
|
|
||||||
<!-- Indicators -->
|
|
||||||
<ol class="carousel-indicators">
|
|
||||||
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
|
|
||||||
<li data-target="#myCarousel" data-slide-to="1"></li>
|
|
||||||
<li data-target="#myCarousel" data-slide-to="2"></li>
|
|
||||||
</ol>
|
|
||||||
<div class="carousel-inner" role="listbox">
|
|
||||||
<div class="carousel-item active">
|
|
||||||
<img class="first-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="First slide">
|
|
||||||
<div class="container">
|
|
||||||
<div class="carousel-caption text-xs-left">
|
|
||||||
<h1>Example headline.</h1>
|
|
||||||
<p>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>
|
|
||||||
<p><a class="btn btn-lg btn-primary" href="#" role="button">Sign up today</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item">
|
|
||||||
<img class="second-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Second slide">
|
|
||||||
<div class="container">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<h1>Another example headline.</h1>
|
|
||||||
<p>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>
|
|
||||||
<p><a class="btn btn-lg btn-primary" href="#" role="button">Learn more</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item">
|
|
||||||
<img class="third-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Third slide">
|
|
||||||
<div class="container">
|
|
||||||
<div class="carousel-caption text-xs-right">
|
|
||||||
<h1>One more for good measure.</h1>
|
|
||||||
<p>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>
|
|
||||||
<p><a class="btn btn-lg btn-primary" href="#" role="button">Browse gallery</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
|
|
||||||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Previous</span>
|
|
||||||
</a>
|
|
||||||
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
|
|
||||||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Next</span>
|
|
||||||
</a>
|
|
||||||
</div><!-- /.carousel -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Marketing messaging and featurettes
|
|
||||||
================================================== -->
|
|
||||||
<!-- Wrap the rest of the page in another container to center all the content. -->
|
|
||||||
|
|
||||||
<div class="container marketing">
|
|
||||||
|
|
||||||
<!-- Three columns of text below the carousel -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-4">
|
|
||||||
<img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" width="140" height="140">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<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.</p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!-- /.col-lg-4 -->
|
|
||||||
<div class="col-lg-4">
|
|
||||||
<img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" width="140" height="140">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<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.</p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!-- /.col-lg-4 -->
|
|
||||||
<div class="col-lg-4">
|
|
||||||
<img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" width="140" height="140">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<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>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!-- /.col-lg-4 -->
|
|
||||||
</div><!-- /.row -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- START THE FEATURETTES -->
|
|
||||||
|
|
||||||
<hr class="featurette-divider">
|
|
||||||
|
|
||||||
<div class="row featurette">
|
|
||||||
<div class="col-md-7">
|
|
||||||
<h2 class="featurette-heading">First featurette heading. <span class="text-muted">It'll blow your mind.</span></h2>
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-5">
|
|
||||||
<img class="featurette-image img-fluid center-block" data-src="holder.js/500x500/auto" alt="Generic placeholder image">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="featurette-divider">
|
|
||||||
|
|
||||||
<div class="row featurette">
|
|
||||||
<div class="col-md-7 col-md-push-5">
|
|
||||||
<h2 class="featurette-heading">Oh yeah, it's that good. <span class="text-muted">See for yourself.</span></h2>
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-5 col-md-pull-7">
|
|
||||||
<img class="featurette-image img-fluid center-block" data-src="holder.js/500x500/auto" alt="Generic placeholder image">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="featurette-divider">
|
|
||||||
|
|
||||||
<div class="row featurette">
|
|
||||||
<div class="col-md-7">
|
|
||||||
<h2 class="featurette-heading">And lastly, this one. <span class="text-muted">Checkmate.</span></h2>
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-5">
|
|
||||||
<img class="featurette-image img-fluid center-block" data-src="holder.js/500x500/auto" alt="Generic placeholder image">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="featurette-divider">
|
|
||||||
|
|
||||||
<!-- /END THE FEATURETTES -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- FOOTER -->
|
|
||||||
<footer>
|
|
||||||
<p class="pull-xs-right"><a href="#">Back to top</a></p>
|
|
||||||
<p>© 2014 Company, Inc. · <a href="#">Privacy</a> · <a href="#">Terms</a></p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div><!-- /.container -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
|
|
||||||
<script src="../../assets/js/vendor/holder.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,160 +0,0 @@
|
||||||
/*
|
|
||||||
* Globals
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Links */
|
|
||||||
a,
|
|
||||||
a:focus,
|
|
||||||
a:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Custom default button */
|
|
||||||
.btn-secondary,
|
|
||||||
.btn-secondary:hover,
|
|
||||||
.btn-secondary:focus {
|
|
||||||
color: #333;
|
|
||||||
text-shadow: none; /* Prevent inheritance from `body` */
|
|
||||||
background-color: #fff;
|
|
||||||
border: .05rem solid #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Base structure
|
|
||||||
*/
|
|
||||||
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
height: 100%;
|
|
||||||
background-color: #333;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
color: #fff;
|
|
||||||
text-align: center;
|
|
||||||
text-shadow: 0 .05rem .1rem rgba(0,0,0,.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Extra markup and styles for table-esque vertical and horizontal centering */
|
|
||||||
.site-wrapper {
|
|
||||||
display: table;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%; /* For at least Firefox */
|
|
||||||
min-height: 100%;
|
|
||||||
-webkit-box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
|
|
||||||
box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
|
|
||||||
}
|
|
||||||
.site-wrapper-inner {
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.cover-container {
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Padding for spacing */
|
|
||||||
.inner {
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Header
|
|
||||||
*/
|
|
||||||
|
|
||||||
.masthead {
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.masthead-brand {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-masthead .nav-link {
|
|
||||||
padding: .25rem 0;
|
|
||||||
font-weight: bold;
|
|
||||||
color: rgba(255,255,255,.5);
|
|
||||||
background-color: transparent;
|
|
||||||
border-bottom: .25rem solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-masthead .nav-link:hover,
|
|
||||||
.nav-masthead .nav-link:focus {
|
|
||||||
border-bottom-color: rgba(255,255,255,.25);
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-masthead .nav-link + .nav-link {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-masthead .active {
|
|
||||||
color: #fff;
|
|
||||||
border-bottom-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 48em) {
|
|
||||||
.masthead-brand {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.nav-masthead {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Cover
|
|
||||||
*/
|
|
||||||
|
|
||||||
.cover {
|
|
||||||
padding: 0 1.5rem;
|
|
||||||
}
|
|
||||||
.cover .btn-lg {
|
|
||||||
padding: .75rem 1.25rem;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Footer
|
|
||||||
*/
|
|
||||||
|
|
||||||
.mastfoot {
|
|
||||||
color: rgba(255,255,255,.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Affix and center
|
|
||||||
*/
|
|
||||||
|
|
||||||
@media (min-width: 40em) {
|
|
||||||
/* Pull out the header and footer */
|
|
||||||
.masthead {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
.mastfoot {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
/* Start the vertical centering */
|
|
||||||
.site-wrapper-inner {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
/* Handle the widths */
|
|
||||||
.masthead,
|
|
||||||
.mastfoot,
|
|
||||||
.cover-container {
|
|
||||||
width: 100%; /* Must be percentage or pixels for horizontal alignment */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 62em) {
|
|
||||||
.masthead,
|
|
||||||
.mastfoot,
|
|
||||||
.cover-container {
|
|
||||||
width: 42rem;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,70 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Cover Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="cover.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="site-wrapper">
|
|
||||||
|
|
||||||
<div class="site-wrapper-inner">
|
|
||||||
|
|
||||||
<div class="cover-container">
|
|
||||||
|
|
||||||
<div class="masthead clearfix">
|
|
||||||
<div class="inner">
|
|
||||||
<h3 class="masthead-brand">Cover</h3>
|
|
||||||
<nav class="nav nav-masthead">
|
|
||||||
<a class="nav-link active" href="#">Home</a>
|
|
||||||
<a class="nav-link" href="#">Features</a>
|
|
||||||
<a class="nav-link" href="#">Contact</a>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="inner cover">
|
|
||||||
<h1 class="cover-heading">Cover your page.</h1>
|
|
||||||
<p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
|
|
||||||
<p class="lead">
|
|
||||||
<a href="#" class="btn btn-lg btn-secondary">Learn more</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mastfoot">
|
|
||||||
<div class="inner">
|
|
||||||
<p>Cover template for <a href="http://getbootstrap.com">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,105 +0,0 @@
|
||||||
/*
|
|
||||||
* Base structure
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Move down content because we have a fixed navbar that is 50px tall */
|
|
||||||
body {
|
|
||||||
padding-top: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Global add-ons
|
|
||||||
*/
|
|
||||||
|
|
||||||
.sub-header {
|
|
||||||
padding-bottom: 10px;
|
|
||||||
border-bottom: 1px solid #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Top navigation
|
|
||||||
* Hide default border to remove 1px line.
|
|
||||||
*/
|
|
||||||
.navbar-fixed-top {
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Sidebar
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Hide for mobile, show later */
|
|
||||||
.sidebar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
@media (min-width: 768px) {
|
|
||||||
.sidebar {
|
|
||||||
position: fixed;
|
|
||||||
top: 51px;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
display: block;
|
|
||||||
padding: 20px;
|
|
||||||
overflow-x: hidden;
|
|
||||||
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
border-right: 1px solid #eee;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sidebar navigation */
|
|
||||||
.nav-sidebar {
|
|
||||||
margin-right: -21px; /* 20px padding + 1px border */
|
|
||||||
margin-bottom: 20px;
|
|
||||||
margin-left: -20px;
|
|
||||||
}
|
|
||||||
.nav-sidebar > li > a {
|
|
||||||
padding-right: 20px;
|
|
||||||
padding-left: 20px;
|
|
||||||
}
|
|
||||||
.nav-sidebar > .active > a,
|
|
||||||
.nav-sidebar > .active > a:hover,
|
|
||||||
.nav-sidebar > .active > a:focus {
|
|
||||||
color: #fff;
|
|
||||||
background-color: #428bca;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main content
|
|
||||||
*/
|
|
||||||
|
|
||||||
.main {
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
@media (min-width: 768px) {
|
|
||||||
.main {
|
|
||||||
padding-right: 40px;
|
|
||||||
padding-left: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.main .page-header {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Placeholder dashboard ideas
|
|
||||||
*/
|
|
||||||
|
|
||||||
.placeholders {
|
|
||||||
margin-bottom: 30px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.placeholders h4 {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.placeholder {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
.placeholder img {
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
|
@ -1,236 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Dashboard Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="dashboard.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<nav class="navbar navbar-dark navbar-fixed-top bg-inverse">
|
|
||||||
<button type="button" class="navbar-toggler hidden-sm-up" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
|
||||||
<span class="sr-only">Toggle navigation</span>
|
|
||||||
<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 id="navbar">
|
|
||||||
<nav class="nav navbar-nav pull-xs-left">
|
|
||||||
<a class="nav-item nav-link" href="#">Dashboard</a>
|
|
||||||
<a class="nav-item nav-link" href="#">Settings</a>
|
|
||||||
<a class="nav-item nav-link" href="#">Profile</a>
|
|
||||||
<a class="nav-item nav-link" href="#">Help</a>
|
|
||||||
</nav>
|
|
||||||
<form class="pull-xs-right">
|
|
||||||
<input type="text" class="form-control" placeholder="Search...">
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-3 col-md-2 sidebar">
|
|
||||||
<ul class="nav nav-sidebar">
|
|
||||||
<li class="active"><a href="#">Overview <span class="sr-only">(current)</span></a></li>
|
|
||||||
<li><a href="#">Reports</a></li>
|
|
||||||
<li><a href="#">Analytics</a></li>
|
|
||||||
<li><a href="#">Export</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav nav-sidebar">
|
|
||||||
<li><a href="">Nav item</a></li>
|
|
||||||
<li><a href="">Nav item again</a></li>
|
|
||||||
<li><a href="">One more nav</a></li>
|
|
||||||
<li><a href="">Another nav item</a></li>
|
|
||||||
<li><a href="">More navigation</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav nav-sidebar">
|
|
||||||
<li><a href="">Nav item again</a></li>
|
|
||||||
<li><a href="">One more nav</a></li>
|
|
||||||
<li><a href="">Another nav item</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
|
||||||
<h1 class="page-header">Dashboard</h1>
|
|
||||||
|
|
||||||
<div class="row placeholders">
|
|
||||||
<div class="col-xs-6 col-sm-3 placeholder">
|
|
||||||
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" width="200" height="200" class="img-fluid" alt="Generic placeholder thumbnail">
|
|
||||||
<h4>Label</h4>
|
|
||||||
<span class="text-muted">Something else</span>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-sm-3 placeholder">
|
|
||||||
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" width="200" height="200" class="img-fluid" alt="Generic placeholder thumbnail">
|
|
||||||
<h4>Label</h4>
|
|
||||||
<span class="text-muted">Something else</span>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-sm-3 placeholder">
|
|
||||||
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" width="200" height="200" class="img-fluid" alt="Generic placeholder thumbnail">
|
|
||||||
<h4>Label</h4>
|
|
||||||
<span class="text-muted">Something else</span>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-sm-3 placeholder">
|
|
||||||
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" width="200" height="200" class="img-fluid" alt="Generic placeholder thumbnail">
|
|
||||||
<h4>Label</h4>
|
|
||||||
<span class="text-muted">Something else</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h2>Section title</h2>
|
|
||||||
<div class="table-responsive">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>#</th>
|
|
||||||
<th>Header</th>
|
|
||||||
<th>Header</th>
|
|
||||||
<th>Header</th>
|
|
||||||
<th>Header</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>1,001</td>
|
|
||||||
<td>Lorem</td>
|
|
||||||
<td>ipsum</td>
|
|
||||||
<td>dolor</td>
|
|
||||||
<td>sit</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,002</td>
|
|
||||||
<td>amet</td>
|
|
||||||
<td>consectetur</td>
|
|
||||||
<td>adipiscing</td>
|
|
||||||
<td>elit</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,003</td>
|
|
||||||
<td>Integer</td>
|
|
||||||
<td>nec</td>
|
|
||||||
<td>odio</td>
|
|
||||||
<td>Praesent</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,003</td>
|
|
||||||
<td>libero</td>
|
|
||||||
<td>Sed</td>
|
|
||||||
<td>cursus</td>
|
|
||||||
<td>ante</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,004</td>
|
|
||||||
<td>dapibus</td>
|
|
||||||
<td>diam</td>
|
|
||||||
<td>Sed</td>
|
|
||||||
<td>nisi</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,005</td>
|
|
||||||
<td>Nulla</td>
|
|
||||||
<td>quis</td>
|
|
||||||
<td>sem</td>
|
|
||||||
<td>at</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,006</td>
|
|
||||||
<td>nibh</td>
|
|
||||||
<td>elementum</td>
|
|
||||||
<td>imperdiet</td>
|
|
||||||
<td>Duis</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,007</td>
|
|
||||||
<td>sagittis</td>
|
|
||||||
<td>ipsum</td>
|
|
||||||
<td>Praesent</td>
|
|
||||||
<td>mauris</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,008</td>
|
|
||||||
<td>Fusce</td>
|
|
||||||
<td>nec</td>
|
|
||||||
<td>tellus</td>
|
|
||||||
<td>sed</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,009</td>
|
|
||||||
<td>augue</td>
|
|
||||||
<td>semper</td>
|
|
||||||
<td>porta</td>
|
|
||||||
<td>Mauris</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,010</td>
|
|
||||||
<td>massa</td>
|
|
||||||
<td>Vestibulum</td>
|
|
||||||
<td>lacinia</td>
|
|
||||||
<td>arcu</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,011</td>
|
|
||||||
<td>eget</td>
|
|
||||||
<td>nulla</td>
|
|
||||||
<td>Class</td>
|
|
||||||
<td>aptent</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,012</td>
|
|
||||||
<td>taciti</td>
|
|
||||||
<td>sociosqu</td>
|
|
||||||
<td>ad</td>
|
|
||||||
<td>litora</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,013</td>
|
|
||||||
<td>torquent</td>
|
|
||||||
<td>per</td>
|
|
||||||
<td>conubia</td>
|
|
||||||
<td>nostra</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,014</td>
|
|
||||||
<td>per</td>
|
|
||||||
<td>inceptos</td>
|
|
||||||
<td>himenaeos</td>
|
|
||||||
<td>Curabitur</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>1,015</td>
|
|
||||||
<td>sodales</td>
|
|
||||||
<td>ligula</td>
|
|
||||||
<td>in</td>
|
|
||||||
<td>libero</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
|
|
||||||
<script src="../../assets/js/vendor/holder.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,27 +0,0 @@
|
||||||
body {
|
|
||||||
padding-top: 2rem;
|
|
||||||
padding-bottom: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
.row .row {
|
|
||||||
margin-top: 1rem;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
[class*="col-"] {
|
|
||||||
padding-top: 1rem;
|
|
||||||
padding-bottom: 1rem;
|
|
||||||
background-color: rgba(86,61,124,.15);
|
|
||||||
border: 1px solid rgba(86,61,124,.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
margin-top: 2rem;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
|
@ -1,179 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Grid Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="grid.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<h3>Five grid tiers</h3>
|
|
||||||
<p>There are five tiers to the Bootstrap grid system, one for each range of devices we support. Each tier starts at a minimum viewport size and automatically applies to the larger devices unless overridden.</p>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-4">.col-xs-4</div>
|
|
||||||
<div class="col-xs-4">.col-xs-4</div>
|
|
||||||
<div class="col-xs-4">.col-xs-4</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-4">.col-sm-4</div>
|
|
||||||
<div class="col-sm-4">.col-sm-4</div>
|
|
||||||
<div class="col-sm-4">.col-sm-4</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xl-4">.col-xl-4</div>
|
|
||||||
<div class="col-xl-4">.col-xl-4</div>
|
|
||||||
<div class="col-xl-4">.col-xl-4</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<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-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>
|
|
||||||
|
|
||||||
<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-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>
|
|
||||||
|
|
||||||
<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-md-8">.col-md-8</div>
|
|
||||||
<div class="col-md-4">.col-md-4</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3>Full width, single column</h3>
|
|
||||||
<p class="text-warning">No grid classes are necessary for full-width elements.</p>
|
|
||||||
|
|
||||||
<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 column. 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-md-8">
|
|
||||||
.col-md-8
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-6">.col-md-6</div>
|
|
||||||
<div class="col-md-6">.col-md-6</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4">.col-md-4</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<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-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-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-xs-6">.col-xs-6</div>
|
|
||||||
<div class="col-xs-6">.col-xs-6</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h3>Mixed: mobile, tablet, and desktop</h3>
|
|
||||||
<p></p>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-6 col-lg-8">.col-xs-12 .col-sm-6 .col-lg-8</div>
|
|
||||||
<div class="col-xs-6 col-lg-4">.col-xs-6 .col-lg-4</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
|
||||||
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
|
||||||
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h3>Column clearing</h3>
|
|
||||||
<p><a href="http://getbootstrap.com/css/#grid-responsive-resets">Clear floats</a> at specific breakpoints to prevent awkward wrapping with uneven content.</p>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-6 col-sm-3">
|
|
||||||
.col-xs-6 .col-sm-3
|
|
||||||
<br>
|
|
||||||
Resize your viewport or check it out on your phone for an example.
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
|
||||||
|
|
||||||
<!-- Add the extra clearfix for only the required viewport -->
|
|
||||||
<div class="clearfix hidden-sm-up"></div>
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
|
||||||
<div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h3>Offset, push, and pull resets</h3>
|
|
||||||
<p>Reset offsets, pushes, and pulls at specific breakpoints.</p>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
|
|
||||||
<div class="col-sm-5 col-sm-offset-2 col-md-6 col-md-offset-0">.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
|
|
||||||
<div class="col-sm-6 col-md-5 col-md-offset-2 col-lg-6 col-lg-offset-0">.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -12,151 +12,32 @@ Examples that focus on implementing uses of built-in components provided by Boot
|
||||||
<div class="card card-block col-xs-6 col-md-4">
|
<div class="card card-block col-xs-6 col-md-4">
|
||||||
<h4 class="card-title">Starter Template</h4>
|
<h4 class="card-title">Starter Template</h4>
|
||||||
<p class="card-text">Nothing but the basics: compiled CSS and JavaScript.</p>
|
<p class="card-text">Nothing but the basics: compiled CSS and JavaScript.</p>
|
||||||
<!--a href="{{ site.baseurl }}/examples/starter-template/" class="card-link"><i class="material-icons">launch</i></a-->
|
<a href="{{ site.baseurl }}/examples/starter-template/" target="_example" class="btn btn-primary"><i class="material-icons">launch</i> Launch</a>
|
||||||
<a href="{{ site.baseurl }}/examples/starter-template/" class="btn btn-primary"><i class="material-icons">launch</i> Launch</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
|
||||||
<div class="col-xs-6 col-md-4">
|
<!--
|
||||||
<a href="{{ site.baseurl }}/examples/starter-template/">
|
<div class="card card-block col-xs-6 col-md-4">
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/starter-template.jpg" alt="">
|
<h4 class="card-title"></h4>
|
||||||
<h4>Starter template</h4>
|
<p class="card-text"></p>
|
||||||
<p>Nothing but the basics: compiled CSS and JavaScript.</p>
|
<a href="{{ site.baseurl }}/examples/" target="_example" class="btn btn-primary"><i class="material-icons">launch</i> Launch</a>
|
||||||
</a>
|
</div>
|
||||||
</div>
|
-->
|
||||||
-->
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/grid/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/grid.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Grids</h4>
|
|
||||||
<p>Multiple examples of grid layouts with all four tiers, nesting, and more.</p>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix hidden-sm-up"></div>
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/jumbotron/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/jumbotron.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Jumbotron</h4>
|
|
||||||
<p>Build around the jumbotron with a navbar and some basic grid columns.</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/narrow-jumbotron/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/jumbotron-narrow.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Narrow jumbotron</h4>
|
|
||||||
<p>Build a more custom page by narrowing the default container and jumbotron.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## Navbars
|
|
||||||
|
|
||||||
Taking the default navbar component and showing how it can be moved, placed, and extended.
|
|
||||||
|
|
||||||
<div class="row bd-examples">
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/navbar/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/navbar.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Navbar</h4>
|
|
||||||
<p>Super basic template that includes the navbar along with some additional content.</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/navbar-top/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/navbar-static.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Static top navbar</h4>
|
|
||||||
<p>Super basic template with a static top navbar along with some additional content.</p>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix hidden-sm-up"></div>
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/navbar-top-fixed/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/navbar-fixed.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Fixed navbar</h4>
|
|
||||||
<p>Super basic template with a fixed top navbar along with some additional content.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Custom components
|
## Custom components
|
||||||
|
|
||||||
Brand new components and templates to help folks quickly get started with Bootstrap and demonstrate best practices for adding onto the framework.
|
Brand new components and templates to help folks quickly get started with Material Design for Bootstrap and demonstrate best practices for adding onto the framework.
|
||||||
|
|
||||||
<div class="row bd-examples">
|
<div class="row bd-examples">
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/album/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/album.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Album</h4>
|
|
||||||
<p>Simple one-page template for photo galleries, portfolios, and more.</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/cover/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/cover.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Cover</h4>
|
|
||||||
<p>A one-page template for building simple and beautiful home pages.</p>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix hidden-sm-up"></div>
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
<div class="card card-block col-xs-6 col-md-4">
|
||||||
<a href="{{ site.baseurl }}/examples/carousel/">
|
<h4 class="card-title">Sign-in page</h4>
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/carousel.jpg" alt="">
|
<p class="card-text">Custom form layout and design for a simple sign in form.</p>
|
||||||
</a>
|
<a href="{{ site.baseurl }}/examples/signin" target="_example" class="btn btn-primary"><i class="material-icons">launch</i> Launch</a>
|
||||||
<h4>Carousel</h4>
|
</div>
|
||||||
<p>Customize the navbar and carousel, then add some new components.</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/blog/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/blog.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Blog</h4>
|
|
||||||
<p>Simple two-column blog layout with custom navigation, header, and type.</p>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix hidden-sm-up"></div>
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/dashboard/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/dashboard.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Dashboard</h4>
|
|
||||||
<p>Basic admin dashboard shell with fixed sidebar and navbar.</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/signin/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/sign-in.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Sign-in page</h4>
|
|
||||||
<p>Custom form layout and design for a simple sign in form.</p>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix hidden-sm-up"></div>
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/justified-nav/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/justified-nav.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Justified nav</h4>
|
|
||||||
<p>Create a custom navbar with justified links. Heads up! <a href="{{ site.baseurl }}components/#nav-justified">Not too Safari friendly.</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/sticky-footer/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/sticky-footer.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Sticky footer</h4>
|
|
||||||
<p>Attach a footer to the bottom of the viewport when the content is shorter than it.</p>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix hidden-sm-up"></div>
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
|
||||||
<a href="{{ site.baseurl }}/examples/sticky-footer-navbar/">
|
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/sticky-footer-navbar.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<h4>Sticky footer w/ navbar</h4>
|
|
||||||
<p>Attach a footer to the bottom of the viewport with a fixed top navbar.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Experiments
|
## Experiments
|
||||||
|
@ -164,11 +45,9 @@ Brand new components and templates to help folks quickly get started with Bootst
|
||||||
Examples that focus on future-friendly features or techniques.
|
Examples that focus on future-friendly features or techniques.
|
||||||
|
|
||||||
<div class="row bd-examples">
|
<div class="row bd-examples">
|
||||||
<div class="col-xs-6 col-md-4">
|
<div class="card card-block col-xs-6 col-md-4">
|
||||||
<a href="{{ site.baseurl }}/examples/offcanvas/">
|
<h4 class="card-title">Offcanvas</h4>
|
||||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/offcanvas.jpg" alt="">
|
<p class="card-text">Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
|
||||||
</a>
|
<a href="{{ site.baseurl }}/examples/offcanvas" target="_example" class="btn btn-primary"><i class="material-icons">launch</i> Launch</a>
|
||||||
<h4>Offcanvas</h4>
|
|
||||||
<p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,85 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Jumbotron Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="jumbotron.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<nav class="navbar navbar-static-top navbar-dark bg-inverse">
|
|
||||||
<a class="navbar-brand" href="#">Project name</a>
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li class="nav-item active">
|
|
||||||
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">About</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<!-- Main jumbotron for a primary marketing message or call to action -->
|
|
||||||
<div class="jumbotron">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="display-3">Hello, world!</h1>
|
|
||||||
<p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
|
|
||||||
<p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more »</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<!-- Example row of columns -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<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>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
<p>© Company 2016</p>
|
|
||||||
</footer>
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,4 +0,0 @@
|
||||||
/* Move down content because we have a fixed navbar that is 50px tall */
|
|
||||||
body {
|
|
||||||
padding-bottom: 2rem;
|
|
||||||
}
|
|
|
@ -1,82 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Justified Nav Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="justified-nav.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<!-- The justified navigation menu is meant for single line per list item.
|
|
||||||
Multiple lines will require custom code not provided by Bootstrap. -->
|
|
||||||
<div class="masthead">
|
|
||||||
<h3 class="text-muted">Project name</h3>
|
|
||||||
<nav>
|
|
||||||
<ul class="nav nav-justified">
|
|
||||||
<li class="active"><a href="#">Home</a></li>
|
|
||||||
<li><a href="#">Projects</a></li>
|
|
||||||
<li><a href="#">Services</a></li>
|
|
||||||
<li><a href="#">Downloads</a></li>
|
|
||||||
<li><a href="#">About</a></li>
|
|
||||||
<li><a href="#">Contact</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Jumbotron -->
|
|
||||||
<div class="jumbotron">
|
|
||||||
<h1>Marketing stuff!</h1>
|
|
||||||
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet.</p>
|
|
||||||
<p><a class="btn btn-lg btn-success" href="#" role="button">Get started today</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Example row of columns -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-4">
|
|
||||||
<h2>Safari bug warning!</h2>
|
|
||||||
<p class="text-danger">As of v9.0, Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing.</p>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-primary" href="#" role="button">View details »</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-primary" href="#" role="button">View details »</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
|
|
||||||
<p><a class="btn btn-primary" href="#" role="button">View details »</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Site footer -->
|
|
||||||
<footer class="footer">
|
|
||||||
<p>© Company 2014</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,91 +0,0 @@
|
||||||
body {
|
|
||||||
padding-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
padding-top: 40px;
|
|
||||||
padding-bottom: 40px;
|
|
||||||
margin-top: 40px;
|
|
||||||
border-top: 1px solid #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Main marketing message and sign up button */
|
|
||||||
.jumbotron {
|
|
||||||
text-align: center;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
.jumbotron .btn {
|
|
||||||
padding: 14px 24px;
|
|
||||||
font-size: 21px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Customize the nav-justified links to be fill the entire space of the .navbar */
|
|
||||||
|
|
||||||
.nav-justified {
|
|
||||||
background-color: #eee;
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
.nav-justified > li > a {
|
|
||||||
padding-top: 15px;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #777;
|
|
||||||
text-align: center;
|
|
||||||
background-color: #e5e5e5; /* Old browsers */
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
|
|
||||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
|
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5),to(#e5e5e5));
|
|
||||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%);
|
|
||||||
background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%);
|
|
||||||
background-image: linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
|
|
||||||
background-repeat: repeat-x; /* Repeat the gradient */
|
|
||||||
border-bottom: 1px solid #d5d5d5;
|
|
||||||
}
|
|
||||||
.nav-justified > .active > a,
|
|
||||||
.nav-justified > .active > a:hover,
|
|
||||||
.nav-justified > .active > a:focus {
|
|
||||||
background-color: #ddd;
|
|
||||||
background-image: none;
|
|
||||||
-webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
|
|
||||||
box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
|
|
||||||
}
|
|
||||||
.nav-justified > li:first-child > a {
|
|
||||||
border-radius: 5px 5px 0 0;
|
|
||||||
}
|
|
||||||
.nav-justified > li:last-child > a {
|
|
||||||
border-bottom: 0;
|
|
||||||
border-radius: 0 0 5px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
|
||||||
.nav-justified {
|
|
||||||
max-height: 52px;
|
|
||||||
}
|
|
||||||
.nav-justified > li > a {
|
|
||||||
border-right: 1px solid #d5d5d5;
|
|
||||||
border-left: 1px solid #fff;
|
|
||||||
}
|
|
||||||
.nav-justified > li:first-child > a {
|
|
||||||
border-left: 0;
|
|
||||||
border-radius: 5px 0 0 5px;
|
|
||||||
}
|
|
||||||
.nav-justified > li:last-child > a {
|
|
||||||
border-right: 0;
|
|
||||||
border-radius: 0 5px 5px 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Responsive: Portrait tablets and up */
|
|
||||||
@media screen and (min-width: 768px) {
|
|
||||||
/* Remove the padding we set earlier */
|
|
||||||
.masthead,
|
|
||||||
.marketing,
|
|
||||||
.footer {
|
|
||||||
padding-right: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,84 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Narrow Jumbotron Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="narrow-jumbotron.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class="header clearfix">
|
|
||||||
<nav>
|
|
||||||
<ul class="nav nav-pills pull-xs-right">
|
|
||||||
<li class="nav-item active">
|
|
||||||
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">About</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<h3 class="text-muted">Project name</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="jumbotron">
|
|
||||||
<h1 class="display-3">Jumbotron heading</h1>
|
|
||||||
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
|
||||||
<p><a class="btn btn-lg btn-success" href="#" role="button">Sign up today</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row marketing">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h4>Subheading</h4>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
|
|
||||||
|
|
||||||
<h4>Subheading</h4>
|
|
||||||
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
|
|
||||||
|
|
||||||
<h4>Subheading</h4>
|
|
||||||
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h4>Subheading</h4>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
|
|
||||||
|
|
||||||
<h4>Subheading</h4>
|
|
||||||
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
|
|
||||||
|
|
||||||
<h4>Subheading</h4>
|
|
||||||
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer class="footer">
|
|
||||||
<p>© Company 2014</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,79 +0,0 @@
|
||||||
/* Space out content a bit */
|
|
||||||
body {
|
|
||||||
padding-top: 1.5rem;
|
|
||||||
padding-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Everything but the jumbotron gets side spacing for mobile first views */
|
|
||||||
.header,
|
|
||||||
.marketing,
|
|
||||||
.footer {
|
|
||||||
padding-right: 1rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Custom page header */
|
|
||||||
.header {
|
|
||||||
padding-bottom: 1rem;
|
|
||||||
border-bottom: .05rem solid #e5e5e5;
|
|
||||||
}
|
|
||||||
/* Make the masthead heading the same height as the navigation */
|
|
||||||
.header h3 {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
line-height: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Custom page footer */
|
|
||||||
.footer {
|
|
||||||
padding-top: 1.5rem;
|
|
||||||
color: #777;
|
|
||||||
border-top: .05rem solid #e5e5e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Customize container */
|
|
||||||
@media (min-width: 48em) {
|
|
||||||
.container {
|
|
||||||
max-width: 46rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.container-narrow > hr {
|
|
||||||
margin: 2rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Main marketing message and sign up button */
|
|
||||||
.jumbotron {
|
|
||||||
text-align: center;
|
|
||||||
border-bottom: .05rem solid #e5e5e5;
|
|
||||||
}
|
|
||||||
.jumbotron .btn {
|
|
||||||
padding: .75rem 1.5rem;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Supporting marketing content */
|
|
||||||
.marketing {
|
|
||||||
margin: 3rem 0;
|
|
||||||
}
|
|
||||||
.marketing p + h4 {
|
|
||||||
margin-top: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Responsive: Portrait tablets and up */
|
|
||||||
@media screen and (min-width: 48em) {
|
|
||||||
/* Remove the padding we set earlier */
|
|
||||||
.header,
|
|
||||||
.marketing,
|
|
||||||
.footer {
|
|
||||||
padding-right: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
/* Space out the masthead */
|
|
||||||
.header {
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
/* Remove the bottom border on the jumbotron for visual effect */
|
|
||||||
.jumbotron {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,55 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Fixed top navbar example for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="navbar-top-fixed.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="pos-f-t">
|
|
||||||
<div class="collapse" id="navbar-header">
|
|
||||||
<div class="container-fluid bg-inverse p-a-1">
|
|
||||||
<h3>Collapsed content</h3>
|
|
||||||
<p>Toggleable via the navbar brand.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="navbar navbar-light bg-faded navbar-static-top">
|
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-header">
|
|
||||||
☰
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class="jumbotron">
|
|
||||||
<h1>Navbar example</h1>
|
|
||||||
<p class="lead">This example is a quick exercise to illustrate how fixed to top navbar works. As you scroll, it will remain fixed to the top of your browser's viewport.</p>
|
|
||||||
<a class="btn btn-lg btn-primary" href="../../components/#navbar" role="button">View navbar docs »</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,5 +0,0 @@
|
||||||
body {
|
|
||||||
/* Show it's not fixed to the top */
|
|
||||||
min-height: 75rem;
|
|
||||||
padding-top: 6rem;
|
|
||||||
}
|
|
|
@ -1,53 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Top navbar example for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="navbar-top.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="collapse" id="navbar-header">
|
|
||||||
<div class="container-fluid bg-inverse p-a-1">
|
|
||||||
<h3>Collapsed content</h3>
|
|
||||||
<p>Toggleable via the navbar brand.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="navbar navbar-light bg-faded navbar-static-top m-b-1">
|
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-header">
|
|
||||||
☰
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class="jumbotron">
|
|
||||||
<h1>Navbar example</h1>
|
|
||||||
<p class="lead">This example is a quick exercise to illustrate how the top-aligned navbar works. As you scroll, this navbar remains in its original position and moves with the rest of the page.</p>
|
|
||||||
<a class="btn btn-lg btn-primary" href="../../components/#navbar" role="button">View navbar docs »</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,4 +0,0 @@
|
||||||
/* Show it's not fixed to the top */
|
|
||||||
body {
|
|
||||||
min-height: 75rem;
|
|
||||||
}
|
|
|
@ -1,74 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Navbar Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="navbar.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<nav class="navbar navbar-light bg-faded">
|
|
||||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#navbar-header" aria-controls="navbar-header">
|
|
||||||
☰
|
|
||||||
</button>
|
|
||||||
<div class="collapse navbar-toggleable-xs" id="navbar-header">
|
|
||||||
<a class="navbar-brand" href="#">Navbar</a>
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li class="nav-item active">
|
|
||||||
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Features</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Pricing</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">About</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<form class="form-inline pull-xs-right">
|
|
||||||
<input class="form-control" type="text" placeholder="Search">
|
|
||||||
<button class="btn btn-success-outline" type="submit">Search</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</nav> <!-- /navbar -->
|
|
||||||
|
|
||||||
<!-- Main component for a primary marketing message or call to action -->
|
|
||||||
<div class="jumbotron">
|
|
||||||
<h1>Navbar example</h1>
|
|
||||||
<p>This example is a quick exercise to illustrate how the default responsive navbar works. It's placed within a <code>.container</code> to limit its width and will scroll with the rest of the page's content.</p>
|
|
||||||
<p>At the smallest breakpoint, the collapse plugin is used to hide the links and show a menu button to toggle the collapsed content.</p>
|
|
||||||
<p>
|
|
||||||
<a class="btn btn-lg btn-primary" href="../../components/navbar" role="button">View navbar docs »</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,8 +0,0 @@
|
||||||
body {
|
|
||||||
padding-top: 20px;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
|
@ -1,115 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Off Canvas Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="offcanvas.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<nav class="navbar navbar-fixed-top navbar-dark bg-inverse">
|
|
||||||
<div class="container">
|
|
||||||
<a class="navbar-brand" href="#">Project name</a>
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li class="nav-item active"><a class="nav-link" href="#">Home</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /.container -->
|
|
||||||
</nav><!-- /.navbar -->
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="row row-offcanvas row-offcanvas-right">
|
|
||||||
|
|
||||||
<div class="col-xs-12 col-sm-9">
|
|
||||||
<p class="pull-xs-right hidden-sm-up">
|
|
||||||
<button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Toggle nav</button>
|
|
||||||
</p>
|
|
||||||
<div class="jumbotron">
|
|
||||||
<h1>Hello, world!</h1>
|
|
||||||
<p>This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.</p>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-6 col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!--/span-->
|
|
||||||
<div class="col-xs-6 col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!--/span-->
|
|
||||||
<div class="col-xs-6 col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!--/span-->
|
|
||||||
<div class="col-xs-6 col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!--/span-->
|
|
||||||
<div class="col-xs-6 col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!--/span-->
|
|
||||||
<div class="col-xs-6 col-lg-4">
|
|
||||||
<h2>Heading</h2>
|
|
||||||
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
|
||||||
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
|
||||||
</div><!--/span-->
|
|
||||||
</div><!--/row-->
|
|
||||||
</div><!--/span-->
|
|
||||||
|
|
||||||
<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
|
|
||||||
<div class="list-group">
|
|
||||||
<a href="#" class="list-group-item active">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
<a href="#" class="list-group-item">Link</a>
|
|
||||||
</div>
|
|
||||||
</div><!--/span-->
|
|
||||||
</div><!--/row-->
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
<p>© Company 2014</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div><!--/.container-->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
<script src="offcanvas.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
109
docs/examples/offcanvas/index.md
Normal file
109
docs/examples/offcanvas/index.md
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
---
|
||||||
|
layout: example
|
||||||
|
title: Offcanvas
|
||||||
|
group: material-design
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="offcanvas.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<nav class="navbar navbar-fixed-top navbar-dark bg-inverse">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="#">Project name</a>
|
||||||
|
<ul class="nav navbar-nav">
|
||||||
|
<li class="nav-item active"><a class="nav-link" href="#">Home</a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /.container -->
|
||||||
|
</nav><!-- /.navbar -->
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row row-offcanvas row-offcanvas-right">
|
||||||
|
|
||||||
|
<div class="col-xs-12 col-sm-9">
|
||||||
|
<p class="pull-xs-right hidden-sm-up">
|
||||||
|
<button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Toggle nav</button>
|
||||||
|
</p>
|
||||||
|
<div class="jumbotron">
|
||||||
|
<div class="alert alert-danger">Not sure this will be useful</div>
|
||||||
|
<h1>Hello, world!</h1>
|
||||||
|
<p>This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.</p>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-6 col-lg-4">
|
||||||
|
<h2>Heading</h2>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||||
|
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
||||||
|
</div><!--/span-->
|
||||||
|
<div class="col-xs-6 col-lg-4">
|
||||||
|
<h2>Heading</h2>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||||
|
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
||||||
|
</div><!--/span-->
|
||||||
|
<div class="col-xs-6 col-lg-4">
|
||||||
|
<h2>Heading</h2>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||||
|
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
||||||
|
</div><!--/span-->
|
||||||
|
<div class="col-xs-6 col-lg-4">
|
||||||
|
<h2>Heading</h2>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||||
|
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
||||||
|
</div><!--/span-->
|
||||||
|
<div class="col-xs-6 col-lg-4">
|
||||||
|
<h2>Heading</h2>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||||
|
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
||||||
|
</div><!--/span-->
|
||||||
|
<div class="col-xs-6 col-lg-4">
|
||||||
|
<h2>Heading</h2>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
||||||
|
<p><a class="btn btn-secondary" href="#" role="button">View details »</a></p>
|
||||||
|
</div><!--/span-->
|
||||||
|
</div><!--/row-->
|
||||||
|
</div><!--/span-->
|
||||||
|
|
||||||
|
<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
|
||||||
|
<div class="list-group">
|
||||||
|
<a href="#" class="list-group-item active">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
<a href="#" class="list-group-item">Link</a>
|
||||||
|
</div>
|
||||||
|
</div><!--/span-->
|
||||||
|
</div><!--/row-->
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p>© Company 2016</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</div><!--/.container-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// jquery not loaded yet due to the nature of this jekyll page rendering setup so this is more complicated than normally necessary!
|
||||||
|
document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
|
setTimeout(function(){
|
||||||
|
|
||||||
|
// hopefully by now jquery is initialized
|
||||||
|
$('[data-toggle="offcanvas"]').click(function () {
|
||||||
|
$('.row-offcanvas').toggleClass('active')
|
||||||
|
});
|
||||||
|
|
||||||
|
}, 1);
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
$(document).ready(function () {
|
|
||||||
$('[data-toggle="offcanvas"]').click(function () {
|
|
||||||
$('.row-offcanvas').toggleClass('active')
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,17 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Style tweaks
|
* Style tweaks
|
||||||
* -------
|
* -------
|
||||||
|
|
||||||
[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
|
||||||
|
|
||||||
{% callout info %}
|
|
||||||
**Bootstrap Reference Documentation**
|
|
||||||
This is a part of the reference documentation from <a href="http://getbootstrap.com">Bootstrap</a>.
|
|
||||||
It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
|
|
||||||
See the <a href="/material-design/buttons">Material Design</a> section for more elements and customization options.
|
|
||||||
{% endcallout %}
|
|
||||||
|
|
||||||
-------------------------------------------
|
|
||||||
*/
|
*/
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,48 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Signin Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="signin.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<form class="form-signin">
|
|
||||||
<h2 class="form-signin-heading">Please sign in</h2>
|
|
||||||
<label for="inputEmail" class="sr-only">Email address</label>
|
|
||||||
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
|
|
||||||
<label for="inputPassword" class="sr-only">Password</label>
|
|
||||||
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
|
|
||||||
<div class="checkbox">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" value="remember-me"> Remember me
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
50
docs/examples/signin/index.md
Normal file
50
docs/examples/signin/index.md
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
---
|
||||||
|
layout: example
|
||||||
|
title: Signin Template
|
||||||
|
group: material-design
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="signin.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<form class="form-signin">
|
||||||
|
<h2>Please sign in</h2>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="inputEmail" class="mdb-label-floating">Email address</label>
|
||||||
|
<input type="email" id="inputEmail" class="form-control" required autofocus>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="inputPassword" class="mdb-label-floating">Password</label>
|
||||||
|
<input type="password" id="inputPassword" class="form-control" required>
|
||||||
|
<span class="mdb-help">Use a combination of letters, symbols, and numbers</span>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" value="remember-me"> Remember me
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
/*
|
||||||
|
$(function() {
|
||||||
|
$('#inputEmail').focus()
|
||||||
|
})
|
||||||
|
*/
|
||||||
|
|
||||||
|
// jquery not loaded yet due to the nature of this jekyll page rendering setup so this is more complicated than normally necessary!
|
||||||
|
document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
|
setTimeout(function(){
|
||||||
|
// hopefully by now jquery is initialized
|
||||||
|
$('#inputEmail').focus()
|
||||||
|
}, 1);
|
||||||
|
})
|
||||||
|
</script>
|
|
@ -1,39 +0,0 @@
|
||||||
body {
|
|
||||||
padding-top: 40px;
|
|
||||||
padding-bottom: 40px;
|
|
||||||
background-color: #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-signin {
|
|
||||||
max-width: 330px;
|
|
||||||
padding: 15px;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
.form-signin .form-signin-heading,
|
|
||||||
.form-signin .checkbox {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.form-signin .checkbox {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
.form-signin .form-control {
|
|
||||||
position: relative;
|
|
||||||
height: auto;
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 10px;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
.form-signin .form-control:focus {
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
.form-signin input[type="email"] {
|
|
||||||
margin-bottom: -1px;
|
|
||||||
border-bottom-right-radius: 0;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
}
|
|
||||||
.form-signin input[type="password"] {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-top-right-radius: 0;
|
|
||||||
}
|
|
13
docs/examples/signin/signin.scss
Normal file
13
docs/examples/signin/signin.scss
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
|
body {
|
||||||
|
padding: 3rem 0;
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-signin {
|
||||||
|
max-width: 25rem;
|
||||||
|
padding: 1rem;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
|
@ -1,83 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Sticky Footer Navbar Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="sticky-footer-navbar.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Fixed navbar -->
|
|
||||||
<div class="pos-f-t">
|
|
||||||
<div class="collapse" id="navbar-header">
|
|
||||||
<div class="container bg-inverse p-a-1">
|
|
||||||
<h3>Collapsed content</h3>
|
|
||||||
<p>Toggleable via the navbar brand.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<nav class="navbar navbar-light navbar-static-top bg-faded">
|
|
||||||
<div class="container">
|
|
||||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar2">
|
|
||||||
☰
|
|
||||||
</button>
|
|
||||||
<div class="collapse navbar-toggleable-xs" id="exCollapsingNavbar2">
|
|
||||||
<a class="navbar-brand" href="#">Sticky footer</a>
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li class="nav-item active">
|
|
||||||
<a class="nav-link" href="#">Nav item <span class="sr-only">(current)</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Another nav item</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">More nav</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Last link</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Begin page content -->
|
|
||||||
<div class="container">
|
|
||||||
<div class="page-header m-t-1">
|
|
||||||
<h1>Sticky footer with fixed navbar</h1>
|
|
||||||
</div>
|
|
||||||
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p>
|
|
||||||
<p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="container">
|
|
||||||
<span class="text-muted">Place sticky footer content here.</span>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,48 +0,0 @@
|
||||||
/* Sticky footer styles
|
|
||||||
-------
|
|
||||||
|
|
||||||
[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
|
||||||
|
|
||||||
{% callout info %}
|
|
||||||
**Bootstrap Reference Documentation**
|
|
||||||
This is a part of the reference documentation from <a href="http://getbootstrap.com">Bootstrap</a>.
|
|
||||||
It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
|
|
||||||
See the <a href="/material-design/buttons">Material Design</a> section for more elements and customization options.
|
|
||||||
{% endcallout %}
|
|
||||||
|
|
||||||
------------------------------------------- */
|
|
||||||
html {
|
|
||||||
position: relative;
|
|
||||||
min-height: 100%;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
/* Margin bottom by footer height */
|
|
||||||
margin-bottom: 60px;
|
|
||||||
}
|
|
||||||
.footer {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
/* Set the fixed height of the footer here */
|
|
||||||
height: 60px;
|
|
||||||
line-height: 60px; /* Vertically center the text there */
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Custom page CSS
|
|
||||||
-------------------------------------------------- */
|
|
||||||
/* Not required for template or sticky footer method. */
|
|
||||||
|
|
||||||
body > .container {
|
|
||||||
padding: 60px 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer > .container {
|
|
||||||
padding-right: 15px;
|
|
||||||
padding-left: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
|
@ -1,45 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Sticky Footer Template for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="sticky-footer.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Begin page content -->
|
|
||||||
<div class="container">
|
|
||||||
<div class="page-header m-t-1">
|
|
||||||
<h1>Sticky footer</h1>
|
|
||||||
</div>
|
|
||||||
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
|
|
||||||
<p>Use <a href="../sticky-footer-navbar">the sticky footer with a fixed navbar</a> if need be, too.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="container">
|
|
||||||
<span class="text-muted">Place sticky footer content here.</span>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,41 +0,0 @@
|
||||||
/* Sticky footer styles
|
|
||||||
-------
|
|
||||||
|
|
||||||
[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
|
||||||
|
|
||||||
{% callout info %}
|
|
||||||
**Bootstrap Reference Documentation**
|
|
||||||
This is a part of the reference documentation from <a href="http://getbootstrap.com">Bootstrap</a>.
|
|
||||||
It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
|
|
||||||
See the <a href="/material-design/buttons">Material Design</a> section for more elements and customization options.
|
|
||||||
{% endcallout %}
|
|
||||||
|
|
||||||
------------------------------------------- */
|
|
||||||
html {
|
|
||||||
position: relative;
|
|
||||||
min-height: 100%;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
/* Margin bottom by footer height */
|
|
||||||
margin-bottom: 60px;
|
|
||||||
}
|
|
||||||
.footer {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
/* Set the fixed height of the footer here */
|
|
||||||
height: 60px;
|
|
||||||
line-height: 60px; /* Vertically center the text there */
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Custom page CSS
|
|
||||||
-------------------------------------------------- */
|
|
||||||
/* Not required for template or sticky footer method. */
|
|
||||||
|
|
||||||
.container {
|
|
||||||
width: auto;
|
|
||||||
max-width: 680px;
|
|
||||||
padding: 0 15px;
|
|
||||||
}
|
|
|
@ -1,51 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico">
|
|
||||||
|
|
||||||
<title>Tooltip Viewport Example for Bootstrap</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="tooltip-viewport.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<button class="btn btn-secondary pull-xs-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
|
|
||||||
<button class="btn btn-secondary tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
|
|
||||||
<button class="btn btn-secondary tooltip-right" title="This should be shifted down">Shift Down</button>
|
|
||||||
|
|
||||||
<button class="btn btn-secondary tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
|
|
||||||
|
|
||||||
<div class="container-viewport">
|
|
||||||
<button class="btn btn-secondary tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
|
|
||||||
<button class="btn btn-secondary tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
|
|
||||||
|
|
||||||
<button class="btn btn-secondary pull-xs-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
|
|
||||||
|
|
||||||
<button class="btn btn-secondary tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
||||||
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
|
|
||||||
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
||||||
<script src="../../assets/js/vendor/tether.min.js"></script>
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
||||||
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
||||||
<script src="tooltip-viewport.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,26 +0,0 @@
|
||||||
body {
|
|
||||||
height: 1200px;
|
|
||||||
}
|
|
||||||
.tooltip {
|
|
||||||
min-width: 250px;
|
|
||||||
max-width: 500px;
|
|
||||||
}
|
|
||||||
.tooltip .tooltip-inner {
|
|
||||||
min-width: 250px;
|
|
||||||
max-width: 500px;
|
|
||||||
min-height: 100px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
.container-viewport {
|
|
||||||
position: absolute;
|
|
||||||
top: 100px;
|
|
||||||
right: 250px;
|
|
||||||
left: 250px;
|
|
||||||
height: 300px;
|
|
||||||
background-color: #eee;
|
|
||||||
}
|
|
||||||
.btn-bottom {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tooltip-right').tooltip({
|
|
||||||
placement: 'right',
|
|
||||||
viewport: {selector: 'body', padding: 2}
|
|
||||||
})
|
|
||||||
$('.tooltip-bottom').tooltip({
|
|
||||||
placement: 'bottom',
|
|
||||||
viewport: {selector: 'body', padding: 2}
|
|
||||||
})
|
|
||||||
$('.tooltip-viewport-right').tooltip({
|
|
||||||
placement: 'right',
|
|
||||||
viewport: {selector: '.container-viewport', padding: 2}
|
|
||||||
})
|
|
||||||
$('.tooltip-viewport-bottom').tooltip({
|
|
||||||
placement: 'bottom',
|
|
||||||
viewport: {selector: '.container-viewport', padding: 2}
|
|
||||||
})
|
|
||||||
})
|
|
|
@ -49,7 +49,7 @@ const Autofill = (($) => {
|
||||||
$('input[type!=checkbox]').each((index, element) => {
|
$('input[type!=checkbox]').each((index, element) => {
|
||||||
let $element = $(element)
|
let $element = $(element)
|
||||||
if ($element.val() && $element.val() !== $element.attr('value')) {
|
if ($element.val() && $element.val() !== $element.attr('value')) {
|
||||||
$element.triggerStart('change')
|
$element.trigger('change')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 100)
|
}, 100)
|
||||||
|
@ -66,7 +66,7 @@ const Autofill = (($) => {
|
||||||
$inputs.each((index, element) => {
|
$inputs.each((index, element) => {
|
||||||
let $element = $(element)
|
let $element = $(element)
|
||||||
if ($element.val() !== $element.attr('value')) {
|
if ($element.val() !== $element.attr('value')) {
|
||||||
$element.triggerStart('change')
|
$element.trigger('change')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 100)
|
}, 100)
|
||||||
|
|
|
@ -264,7 +264,7 @@ const Ripples = (($) => {
|
||||||
'margin-top': Math.max(this.$element.outerWidth(), this.$element.outerHeight()) * (-1),
|
'margin-top': Math.max(this.$element.outerWidth(), this.$element.outerHeight()) * (-1),
|
||||||
opacity: 0.2
|
opacity: 0.2
|
||||||
}, this.config.duration, () => {
|
}, this.config.duration, () => {
|
||||||
this.$decorator.triggerStart('transitionend')
|
this.$decorator.trigger('transitionend')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,9 +147,8 @@ form {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: remove the following, I don't think it is necessary any longer and just adds more rules that are already matched above.
|
// default floating size/location without a form-group (will skip form-group styles, and just render default sizing variation) - IMPORTANT for non-form-group spacing such as radio/checkbox/switch
|
||||||
// default floating size/location without a form-group (will skip form-group styles, and just render default sizing variation)
|
@include mdb-form-size-variant($font-size-base, $mdb-label-top-margin-base, $input-padding-y, $mdb-form-line-height);
|
||||||
//@include mdb-form-size-variant($font-size-base, $mdb-label-top-margin-base, $input-padding-y, $line-height, $mdb-label-as-placeholder-shim-base);
|
|
||||||
|
|
||||||
select {
|
select {
|
||||||
&,
|
&,
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
$label-static-top: $label-top-margin;
|
$label-static-top: $label-top-margin;
|
||||||
$label-placeholder-top: $label-top-margin + $static-font-size + $variant-padding-y;
|
$label-placeholder-top: $label-top-margin + $static-font-size + $variant-padding-y;
|
||||||
|
|
||||||
@debug "font-size: #{$font-size} static-font-size: #{$static-font-size} help-font-size: #{$help-font-size} form-group-context: #{$form-group-context} ";
|
//@debug "font-size: #{$font-size} static-font-size: #{$static-font-size} help-font-size: #{$help-font-size} form-group-context: #{$form-group-context} ";
|
||||||
|
|
||||||
//Label height: 72dp
|
//Label height: 72dp
|
||||||
//Padding above label text: 16dp
|
//Padding above label text: 16dp
|
||||||
|
@ -144,6 +144,18 @@
|
||||||
// The label is absolutely positioned, so we use top padding to make space. This padding extends over the label down to the top of the input (padding).
|
// The label is absolutely positioned, so we use top padding to make space. This padding extends over the label down to the top of the input (padding).
|
||||||
padding-top: ($label-top-margin + $static-font-size);
|
padding-top: ($label-top-margin + $static-font-size);
|
||||||
// note: bottom-margin of this is determined by $spacer. @see _spacer.scss
|
// note: bottom-margin of this is determined by $spacer. @see _spacer.scss
|
||||||
|
//margin-bottom: (1.5 * $help-font-size);
|
||||||
|
} @else {
|
||||||
|
|
||||||
|
// for radios and checkboxes without a form-group, add some extra vertical spacing to pad down so that
|
||||||
|
// any help text above is not encroached upon, or so that it appears more evenly spaced vs form-groups
|
||||||
|
.radio,
|
||||||
|
label.radio-inline,
|
||||||
|
.checkbox,
|
||||||
|
label.checkbox-inline,
|
||||||
|
.switch {
|
||||||
|
padding-top: $spacer-y;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set all line-heights preferably to 1 so that we can space out everything manually without additional added space
|
// Set all line-heights preferably to 1 so that we can space out everything manually without additional added space
|
||||||
|
|
Loading…
Reference in New Issue
Block a user