From a9c829bc0c75dd7723e6c74e1defaab5dbb4c00b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 28 Dec 2013 22:47:03 -0800 Subject: Rearrange repository contents because muahahahahahaha --- docs/examples/blog/blog.css | 168 +++++++++ docs/examples/blog/index.html | 171 +++++++++ docs/examples/carousel/carousel.css | 148 ++++++++ docs/examples/carousel/index.html | 206 +++++++++++ docs/examples/cover/cover.css | 161 +++++++++ docs/examples/cover/index.html | 75 ++++ docs/examples/dashboard/dashboard.css | 93 +++++ docs/examples/dashboard/index.html | 243 +++++++++++++ docs/examples/grid/grid.css | 28 ++ docs/examples/grid/index.html | 152 ++++++++ docs/examples/jumbotron-narrow/index.html | 82 +++++ .../examples/jumbotron-narrow/jumbotron-narrow.css | 79 +++++ docs/examples/jumbotron/index.html | 99 ++++++ docs/examples/jumbotron/jumbotron.css | 5 + docs/examples/justified-nav/index.html | 84 +++++ docs/examples/justified-nav/justified-nav.css | 88 +++++ docs/examples/navbar-fixed-top/index.html | 91 +++++ .../examples/navbar-fixed-top/navbar-fixed-top.css | 4 + docs/examples/navbar-static-top/index.html | 92 +++++ .../navbar-static-top/navbar-static-top.css | 7 + docs/examples/navbar/index.html | 88 +++++ docs/examples/navbar/navbar.css | 8 + docs/examples/non-responsive/index.html | 105 ++++++ docs/examples/non-responsive/non-responsive.css | 120 +++++++ docs/examples/offcanvas/index.html | 130 +++++++ docs/examples/offcanvas/offcanvas.css | 51 +++ docs/examples/offcanvas/offcanvas.js | 5 + docs/examples/screenshots/blog.jpg | Bin 0 -> 122350 bytes docs/examples/screenshots/carousel.jpg | Bin 0 -> 82379 bytes docs/examples/screenshots/cover.jpg | Bin 0 -> 36631 bytes docs/examples/screenshots/dashboard.jpg | Bin 0 -> 105375 bytes docs/examples/screenshots/grid.jpg | Bin 0 -> 100105 bytes docs/examples/screenshots/jumbotron-narrow.jpg | Bin 0 -> 68675 bytes docs/examples/screenshots/jumbotron.jpg | Bin 0 -> 101215 bytes docs/examples/screenshots/justified-nav.jpg | Bin 0 -> 79170 bytes docs/examples/screenshots/navbar-fixed.jpg | Bin 0 -> 38093 bytes docs/examples/screenshots/navbar-static.jpg | Bin 0 -> 39712 bytes docs/examples/screenshots/navbar.jpg | Bin 0 -> 41029 bytes docs/examples/screenshots/non-responsive.jpg | Bin 0 -> 61233 bytes docs/examples/screenshots/offcanvas.jpg | Bin 0 -> 112583 bytes docs/examples/screenshots/sign-in.jpg | Bin 0 -> 13648 bytes docs/examples/screenshots/starter-template.jpg | Bin 0 -> 22620 bytes docs/examples/screenshots/sticky-footer-navbar.jpg | Bin 0 -> 39387 bytes docs/examples/screenshots/sticky-footer.jpg | Bin 0 -> 25056 bytes docs/examples/screenshots/theme.jpg | Bin 0 -> 85467 bytes docs/examples/signin/index.html | 50 +++ docs/examples/signin/signin.css | 40 +++ docs/examples/starter-template/index.html | 68 ++++ .../examples/starter-template/starter-template.css | 7 + docs/examples/sticky-footer-navbar/index.html | 91 +++++ .../sticky-footer-navbar/sticky-footer-navbar.css | 45 +++ docs/examples/sticky-footer/index.html | 55 +++ docs/examples/sticky-footer/sticky-footer.css | 38 ++ docs/examples/theme/index.html | 384 +++++++++++++++++++++ docs/examples/theme/theme.css | 14 + 55 files changed, 3375 insertions(+) create mode 100644 docs/examples/blog/blog.css create mode 100644 docs/examples/blog/index.html create mode 100644 docs/examples/carousel/carousel.css create mode 100644 docs/examples/carousel/index.html create mode 100644 docs/examples/cover/cover.css create mode 100644 docs/examples/cover/index.html create mode 100644 docs/examples/dashboard/dashboard.css create mode 100644 docs/examples/dashboard/index.html create mode 100644 docs/examples/grid/grid.css create mode 100644 docs/examples/grid/index.html create mode 100644 docs/examples/jumbotron-narrow/index.html create mode 100644 docs/examples/jumbotron-narrow/jumbotron-narrow.css create mode 100644 docs/examples/jumbotron/index.html create mode 100644 docs/examples/jumbotron/jumbotron.css create mode 100644 docs/examples/justified-nav/index.html create mode 100644 docs/examples/justified-nav/justified-nav.css create mode 100644 docs/examples/navbar-fixed-top/index.html create mode 100644 docs/examples/navbar-fixed-top/navbar-fixed-top.css create mode 100644 docs/examples/navbar-static-top/index.html create mode 100644 docs/examples/navbar-static-top/navbar-static-top.css create mode 100644 docs/examples/navbar/index.html create mode 100644 docs/examples/navbar/navbar.css create mode 100644 docs/examples/non-responsive/index.html create mode 100644 docs/examples/non-responsive/non-responsive.css create mode 100644 docs/examples/offcanvas/index.html create mode 100644 docs/examples/offcanvas/offcanvas.css create mode 100644 docs/examples/offcanvas/offcanvas.js create mode 100644 docs/examples/screenshots/blog.jpg create mode 100644 docs/examples/screenshots/carousel.jpg create mode 100644 docs/examples/screenshots/cover.jpg create mode 100644 docs/examples/screenshots/dashboard.jpg create mode 100644 docs/examples/screenshots/grid.jpg create mode 100644 docs/examples/screenshots/jumbotron-narrow.jpg create mode 100644 docs/examples/screenshots/jumbotron.jpg create mode 100644 docs/examples/screenshots/justified-nav.jpg create mode 100644 docs/examples/screenshots/navbar-fixed.jpg create mode 100644 docs/examples/screenshots/navbar-static.jpg create mode 100644 docs/examples/screenshots/navbar.jpg create mode 100644 docs/examples/screenshots/non-responsive.jpg create mode 100644 docs/examples/screenshots/offcanvas.jpg create mode 100644 docs/examples/screenshots/sign-in.jpg create mode 100644 docs/examples/screenshots/starter-template.jpg create mode 100644 docs/examples/screenshots/sticky-footer-navbar.jpg create mode 100644 docs/examples/screenshots/sticky-footer.jpg create mode 100644 docs/examples/screenshots/theme.jpg create mode 100644 docs/examples/signin/index.html create mode 100644 docs/examples/signin/signin.css create mode 100644 docs/examples/starter-template/index.html create mode 100644 docs/examples/starter-template/starter-template.css create mode 100644 docs/examples/sticky-footer-navbar/index.html create mode 100644 docs/examples/sticky-footer-navbar/sticky-footer-navbar.css create mode 100644 docs/examples/sticky-footer/index.html create mode 100644 docs/examples/sticky-footer/sticky-footer.css create mode 100644 docs/examples/theme/index.html create mode 100644 docs/examples/theme/theme.css (limited to 'docs/examples') diff --git a/docs/examples/blog/blog.css b/docs/examples/blog/blog.css new file mode 100644 index 000000000..82ba9d0d5 --- /dev/null +++ b/docs/examples/blog/blog.css @@ -0,0 +1,168 @@ +/* + * Globals + */ + +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; + margin-top: 0; +} + + +/* + * Override Bootstrap's default container. + */ + +@media (min-width: 1200px) { + .container { + width: 970px; + } +} + + +/* + * Masthead for nav + */ + +.blog-masthead { + background-color: #428bca; + box-shadow: inset 0 -2px 5px rgba(0,0,0,.1); +} + +/* Nav links */ +.blog-nav { + +} +.blog-nav-item { + position: relative; + display: inline-block; + padding: 10px; + font-weight: 500; + color: #cdddeb; +} +.blog-nav-item:hover, +.blog-nav-item:focus { + color: #fff; + text-decoration: none; +} + +/* Active state gets a caret at the bottom */ +.blog-nav .active { + color: #fff; +} +.blog-nav .active:after { + position: absolute; + bottom: 0; + left: 50%; + display: block; + content: " "; + width: 0; + height: 0; + margin-left: -5px; + vertical-align: middle; + border-right: 5px solid transparent; + border-left: 5px solid transparent; + border-bottom: 5px solid; +} + + +/* + * Blog name and description + */ + +.blog-header { + padding-top: 20px; + padding-bottom: 20px; +} +.blog-title { + margin-top: 30px; + margin-bottom: 0; + font-size: 60px; + font-weight: normal; +} +.blog-description { + font-size: 20px; + color: #999; +} + + +/* + * Main column and sidebar layout + */ + +.blog-main { + font-size: 18px; + line-height: 1.5; +} + +/* Sidebar modules for boxing content */ +.sidebar-module { + padding: 15px; + margin: 0 -15px 15px; +} +.sidebar-module-inset { + padding: 15px; + background-color: #f5f5f5; + border-radius: 4px; +} +.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: 60px; + text-align: left; +} +.pager > li > a { + width: 140px; + padding: 10px 20px; + text-align: center; + border-radius: 30px; +} + + +/* + * Blog posts + */ + +.blog-post { + margin-bottom: 60px; +} +.blog-post-title { + margin-bottom: 5px; + font-size: 40px; +} +.blog-post-meta { + margin-bottom: 20px; + color: #999; +} + + +/* + * Footer + */ + +.blog-footer { + padding: 40px 0; + color: #999; + text-align: center; + background-color: #f9f9f9; + border-top: 1px solid #e5e5e5; +} + diff --git a/docs/examples/blog/index.html b/docs/examples/blog/index.html new file mode 100644 index 000000000..d7265973c --- /dev/null +++ b/docs/examples/blog/index.html @@ -0,0 +1,171 @@ + + + + + + + + + + + Blog Template for Bootstrap + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+

The Bootstrap Blog

+

The official example template of creating a blog with Bootstrap.

+
+ +
+ +
+ +
+

Sample blog post

+ + +

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.

+
+

Cum sociis natoque penatibus et magnis dis parturient montes, 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.

+
+

Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.

+
+

Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

+

Heading

+

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.

+

Sub-heading

+

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

+
Example code block
+

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.

+

Sub-heading

+

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.

+
    +
  • Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
  • +
  • Donec id elit non mi porta gravida at eget metus.
  • +
  • Nulla vitae elit libero, a pharetra augue.
  • +
+

Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.

+
    +
  1. Vestibulum id ligula porta felis euismod semper.
  2. +
  3. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
  4. +
  5. Maecenas sed diam eget risus varius blandit sit amet non magna.
  6. +
+

Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.

+
+ +
+

Another blog post

+ + +

Cum sociis natoque penatibus et magnis dis parturient montes, 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.

+
+

Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.

+
+

Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

+

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.

+
+ +
+

New feature

+ + +

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.

+
    +
  • Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
  • +
  • Donec id elit non mi porta gravida at eget metus.
  • +
  • Nulla vitae elit libero, a pharetra augue.
  • +
+

Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

+

Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.

+
+ + + +
+ +
+ + + +
+ +
+ +
+ + + + + + + + + + + diff --git a/docs/examples/carousel/carousel.css b/docs/examples/carousel/carousel.css new file mode 100644 index 000000000..a728bd899 --- /dev/null +++ b/docs/examples/carousel/carousel.css @@ -0,0 +1,148 @@ +/* GLOBAL STYLES +-------------------------------------------------- */ +/* Padding below the footer and lighter body text */ + +body { + padding-bottom: 40px; + color: #5a5a5a; +} + + + +/* CUSTOMIZE THE NAVBAR +-------------------------------------------------- */ + +/* Special class on .container surrounding .navbar, used for positioning it into place. */ +.navbar-wrapper { + position: absolute; + top: 0; + left: 0; + right: 0; + z-index: 20; +} + +/* Flip around the padding for proper display in narrow viewports */ +.navbar-wrapper .container { + padding-left: 0; + padding-right: 0; +} +.navbar-wrapper .navbar { + padding-left: 15px; + padding-right: 15px; +} + + +/* CUSTOMIZE THE CAROUSEL +-------------------------------------------------- */ + +/* Carousel base class */ +.carousel { + height: 500px; + margin-bottom: 60px; +} +/* 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: 500px; + background-color: #777; +} +.carousel-inner > .item > img { + position: absolute; + top: 0; + left: 0; + min-width: 100%; + height: 500px; +} + + + +/* MARKETING CONTENT +-------------------------------------------------- */ + +/* Pad the edges of the mobile views a bit */ +.marketing { + padding-left: 15px; + padding-right: 15px; +} + +/* Center align the text within the three columns below the carousel */ +.marketing .col-lg-4 { + text-align: center; + margin-bottom: 20px; +} +.marketing h2 { + font-weight: normal; +} +.marketing .col-lg-4 p { + margin-left: 10px; + margin-right: 10px; +} + + +/* Featurettes +------------------------- */ + +.featurette-divider { + margin: 80px 0; /* Space out the Bootstrap
more */ +} + +/* Thin out the marketing headings */ +.featurette-heading { + font-weight: 300; + line-height: 1; + letter-spacing: -1px; +} + + + +/* RESPONSIVE CSS +-------------------------------------------------- */ + +@media (min-width: 768px) { + + /* Remove the edge padding needed for mobile */ + .marketing { + padding-left: 0; + padding-right: 0; + } + + /* Navbar positioning foo */ + .navbar-wrapper { + margin-top: 20px; + } + .navbar-wrapper .container { + padding-left: 15px; + padding-right: 15px; + } + .navbar-wrapper .navbar { + padding-left: 0; + padding-right: 0; + } + + /* The navbar becomes detached from the top, so we round the corners */ + .navbar-wrapper .navbar { + border-radius: 4px; + } + + /* Bump up size of carousel content */ + .carousel-caption p { + margin-bottom: 20px; + font-size: 21px; + line-height: 1.4; + } + + .featurette-heading { + font-size: 50px; + } + +} + +@media (min-width: 992px) { + .featurette-heading { + margin-top: 120px; + } +} diff --git a/docs/examples/carousel/index.html b/docs/examples/carousel/index.html new file mode 100644 index 000000000..124674cf3 --- /dev/null +++ b/docs/examples/carousel/index.html @@ -0,0 +1,206 @@ + + + + + + + + + + + Carousel Template for Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ Generic placeholder image +

Heading

+

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.

+

View details »

+
+
+ Generic placeholder image +

Heading

+

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.

+

View details »

+
+
+ Generic placeholder image +

Heading

+

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.

+

View details »

+
+
+ + + + +
+ +
+
+

First featurette heading. It'll blow your mind.

+

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.

+
+
+ Generic placeholder image +
+
+ +
+ +
+
+ Generic placeholder image +
+
+

Oh yeah, it's that good. See for yourself.

+

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.

+
+
+ +
+ +
+
+

And lastly, this one. Checkmate.

+

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.

+
+
+ Generic placeholder image +
+
+ +
+ + + + + + + +
+ + + + + + + + + diff --git a/docs/examples/cover/cover.css b/docs/examples/cover/cover.css new file mode 100644 index 000000000..bac1b08c9 --- /dev/null +++ b/docs/examples/cover/cover.css @@ -0,0 +1,161 @@ +/* + * Globals + */ + +/* Links */ +a, +a:focus, +a:hover { + color: #fff; +} + +/* Custom default button */ +.btn-default, +.btn-default:hover, +.btn-default:focus { + color: #333; + text-shadow: none; /* Prevent inheritence from `body` */ + background-color: #fff; + border: 1px solid #fff; +} + + +/* + * Base structure + */ + +html, +body { + height: 100%; + background-color: #333; +} +body { + color: #fff; + text-align: center; + text-shadow: 0 1px 3px rgba(0,0,0,.5); + box-shadow: inset 0 0 100px 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%; +} +.site-wrapper-inner { + display: table-cell; + vertical-align: top; +} +.cover-container { + margin-left: auto; + margin-right: auto; +} + +/* Padding for spacing */ +.inner { + padding: 30px; +} + + +/* + * Header + */ +.masthead-brand { + margin-top: 10px; + margin-bottom: 10px; +} + +.masthead-nav > li { + display: inline-block; +} +.masthead-nav > li + li { + margin-left: 20px; +} +.masthead-nav > li > a { + padding-left: 0; + padding-right: 0; + font-size: 16px; + font-weight: bold; + color: #fff; /* IE8 proofing */ + color: rgba(255,255,255,.75); + border-bottom: 2px solid transparent; +} +.masthead-nav > li > a:hover, +.masthead-nav > li > a:focus { + background-color: transparent; + border-bottom-color: rgba(255,255,255,.25); +} +.masthead-nav > .active > a, +.masthead-nav > .active > a:hover, +.masthead-nav > .active > a:focus { + color: #fff; + border-bottom-color: #fff; +} + +@media (min-width: 768px) { + .masthead-brand { + float: left; + } + .masthead-nav { + float: right; + } +} + + +/* + * Cover + */ + +.cover { + padding: 0 20px; +} +.cover .btn-lg { + padding: 10px 20px; + font-weight: bold; +} + + +/* + * Footer + */ + +.mastfoot { + color: #999; /* IE8 proofing */ + color: rgba(255,255,255,.5); +} + + +/* + * Affix and center + */ + +@media (min-width: 768px) { + /* 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: 992px) { + .masthead, + .mastfoot, + .cover-container { + width: 700px; + } +} diff --git a/docs/examples/cover/index.html b/docs/examples/cover/index.html new file mode 100644 index 000000000..714909177 --- /dev/null +++ b/docs/examples/cover/index.html @@ -0,0 +1,75 @@ + + + + + + + + + + + Cover Template for Bootstrap + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+
+

Cover

+ +
+
+ +
+

Cover your page.

+

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.

+

+ Learn more +

+
+ +
+
+

Cover template for Bootstrap, by @mdo.

+
+
+ +
+ +
+ +
+ + + + + + + + diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css new file mode 100644 index 000000000..750124bf8 --- /dev/null +++ b/docs/examples/dashboard/dashboard.css @@ -0,0 +1,93 @@ +/* + * 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; +} + + +/* + * Sidebar + */ + +/* Hide for mobile, show later */ +.sidebar { + display: none; +} +@media (min-width: 768px) { + .sidebar { + position: fixed; + top: 0; + left: 0; + bottom: 0; + z-index: 1000; + display: block; + padding: 70px 20px 20px; + background-color: #f5f5f5; + border-right: 1px solid #eee; + } +} + +/* Sidebar navigation */ +.nav-sidebar { + margin-left: -20px; + margin-right: -21px; /* 20px padding + 1px border */ + margin-bottom: 20px; +} +.nav-sidebar > li > a { + padding-left: 20px; + padding-right: 20px; +} +.nav-sidebar > .active > a { + color: #fff; + background-color: #428bca; +} + + +/* + * Main content + */ + +.main { + padding: 20px; +} +@media (min-width: 768px) { + .main { + padding-left: 40px; + pading-right: 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 { + border-radius: 50%; +} diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html new file mode 100644 index 000000000..1bb3c48f8 --- /dev/null +++ b/docs/examples/dashboard/index.html @@ -0,0 +1,243 @@ + + + + + + + + + + + Dashboard Template for Bootstrap + + + + + + + + + + + + + + + + + + +
+
+ +
+

Dashboard

+ +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ +

Section title

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#HeaderHeaderHeaderHeader
1,001Loremipsumdolorsit
1,002ametconsecteturadipiscingelit
1,003IntegernecodioPraesent
1,003liberoSedcursusante
1,004dapibusdiamSednisi
1,005Nullaquissemat
1,006nibhelementumimperdietDuis
1,007sagittisipsumPraesentmauris
1,008Fuscenectellussed
1,009auguesemperportaMauris
1,010massaVestibulumlaciniaarcu
1,011egetnullaClassaptent
1,012tacitisociosquadlitora
1,013torquentperconubianostra
1,014perinceptoshimenaeosCurabitur
1,015sodalesligulainlibero
+
+
+
+
+ + + + + + + + diff --git a/docs/examples/grid/grid.css b/docs/examples/grid/grid.css new file mode 100644 index 000000000..963b128e3 --- /dev/null +++ b/docs/examples/grid/grid.css @@ -0,0 +1,28 @@ +.container { + padding-left: 15px; + padding-right: 15px; +} + +h4 { + margin-top: 25px; +} +.row { + margin-bottom: 20px; +} +.row .row { + margin-top: 10px; + margin-bottom: 0; +} +[class*="col-"] { + padding-top: 15px; + padding-bottom: 15px; + background-color: #eee; + border: 1px solid #ddd; + background-color: rgba(86,61,124,.15); + border: 1px solid rgba(86,61,124,.2); +} + +hr { + margin-top: 40px; + margin-bottom: 40px; +} \ No newline at end of file diff --git a/docs/examples/grid/index.html b/docs/examples/grid/index.html new file mode 100644 index 000000000..30093254e --- /dev/null +++ b/docs/examples/grid/index.html @@ -0,0 +1,152 @@ + + + + + + + + + + + Grid Template for Bootstrap + + + + + + + + + + + + + + + +
+ + + +

Three equal columns

+

Get three equal-width columns starting at desktops and scaling to large desktops. On mobile devices, tablets and below, the columns will automatically stack.

+
+
.col-md-4
+
.col-md-4
+
.col-md-4
+
+ +

Three unequal columns

+

Get three columns starting at desktops and scaling to large desktops 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.

+
+
.col-md-3
+
.col-md-6
+
.col-md-3
+
+ +

Two columns

+

Get two columns starting at desktops and scaling to large desktops.

+
+
.col-md-8
+
.col-md-4
+
+ +

Full width, single column

+

No grid classes are necessary for full-width elements.

+ +
+ +

Two columns with two nested columns

+

Per the documentation, nesting is easy—just put a row of columns within an existing row. This gives you two columns starting at desktops and scaling to large desktops, with another two (equal widths) within the larger column.

+

At mobile device sizes, tablets and down, these columns and their nested columns will stack.

+
+
+ .col-md-8 +
+
.col-md-6
+
.col-md-6
+
+
+
.col-md-4
+
+ +
+ +

Mixed: mobile and desktop

+

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.

+

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.

+
+
.col-xs-12 .col-md-8
+
.col-xs-6 .col-md-4
+
+
+
.col-xs-6 .col-md-4
+
.col-xs-6 .col-md-4
+
.col-xs-6 .col-md-4
+
+
+
.col-xs-6
+
.col-xs-6
+
+ +
+ +

Mixed: mobile, tablet, and desktop

+

+
+
.col-xs-12 .col-sm-6 .col-lg-8
+
.col-xs-6 .col-lg-4
+
+
+
.col-xs-6 .col-sm-4
+
.col-xs-6 .col-sm-4
+
.col-xs-6 .col-sm-4
+
+ +
+ +

Column clearing

+

Clear floats at specific breakpoints to prevent awkward wrapping with uneven content.

+
+
+ .col-xs-6 .col-sm-3 +
+ Resize your viewport or check it out on your phone for an example. +
+
.col-xs-6 .col-sm-3
+ + +
+ +
.col-xs-6 .col-sm-3
+
.col-xs-6 .col-sm-3
+
+ +
+ +

Offset, push, and pull resets

+

Reset offsets, pushes, and pulls at specific breakpoints.

+
+
.col-sm-5 .col-md-6
+
.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0
+
+
+
.col-sm-6 .col-md-5 .col-lg-6
+
.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0
+
+ + +
+ + + + + + diff --git a/docs/examples/jumbotron-narrow/index.html b/docs/examples/jumbotron-narrow/index.html new file mode 100644 index 000000000..ed94ed2b8 --- /dev/null +++ b/docs/examples/jumbotron-narrow/index.html @@ -0,0 +1,82 @@ + + + + + + + + + + + Narrow Jumbotron Template for Bootstrap + + + + + + + + + + + + + + + + +
+
+ +

Project name

+
+ +
+

Jumbotron heading

+

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.

+

Sign up today

+
+ +
+
+

Subheading

+

Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.

+ +

Subheading

+

Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.

+ +

Subheading

+

Maecenas sed diam eget risus varius blandit sit amet non magna.

+
+ +
+

Subheading

+

Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.

+ +

Subheading

+

Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.

+ +

Subheading

+

Maecenas sed diam eget risus varius blandit sit amet non magna.

+
+
+ + + +
+ + + + + + diff --git a/docs/examples/jumbotron-narrow/jumbotron-narrow.css b/docs/examples/jumbotron-narrow/jumbotron-narrow.css new file mode 100644 index 000000000..ae7a83f32 --- /dev/null +++ b/docs/examples/jumbotron-narrow/jumbotron-narrow.css @@ -0,0 +1,79 @@ +/* Space out content a bit */ +body { + padding-top: 20px; + padding-bottom: 20px; +} + +/* Everything but the jumbotron gets side spacing for mobile first views */ +.header, +.marketing, +.footer { + padding-left: 15px; + padding-right: 15px; +} + +/* Custom page header */ +.header { + border-bottom: 1px solid #e5e5e5; +} +/* Make the masthead heading the same height as the navigation */ +.header h3 { + margin-top: 0; + margin-bottom: 0; + line-height: 40px; + padding-bottom: 19px; +} + +/* Custom page footer */ +.footer { + padding-top: 19px; + color: #777; + border-top: 1px solid #e5e5e5; +} + +/* Customize container */ +@media (min-width: 768px) { + .container { + max-width: 730px; + } +} +.container-narrow > hr { + margin: 30px 0; +} + +/* Main marketing message and sign up button */ +.jumbotron { + text-align: center; + border-bottom: 1px solid #e5e5e5; +} +.jumbotron .btn { + font-size: 21px; + padding: 14px 24px; +} + +/* Supporting marketing content */ +.marketing { + margin: 40px 0; +} +.marketing p + h4 { + margin-top: 28px; +} + +/* Responsive: Portrait tablets and up */ +@media screen and (min-width: 768px) { + /* Remove the padding we set earlier */ + .header, + .marketing, + .footer { + padding-left: 0; + padding-right: 0; + } + /* Space out the masthead */ + .header { + margin-bottom: 30px; + } + /* Remove the bottom border on the jumbotron for visual effect */ + .jumbotron { + border-bottom: 0; + } +} diff --git a/docs/examples/jumbotron/index.html b/docs/examples/jumbotron/index.html new file mode 100644 index 000000000..1c265d828 --- /dev/null +++ b/docs/examples/jumbotron/index.html @@ -0,0 +1,99 @@ + + + + + + + + + + + Jumbotron Template for Bootstrap + + + + + + + + + + + + + + + + + + + +
+
+

Hello, world!

+

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.

+

Learn more »

+
+
+ +
+ +
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+ +
+ +
+

© Company 2013

+
+
+ + + + + + + + diff --git a/docs/examples/jumbotron/jumbotron.css b/docs/examples/jumbotron/jumbotron.css new file mode 100644 index 000000000..179d40879 --- /dev/null +++ b/docs/examples/jumbotron/jumbotron.css @@ -0,0 +1,5 @@ +/* Move down content because we have a fixed navbar that is 50px tall */ +body { + padding-top: 50px; + padding-bottom: 20px; +} diff --git a/docs/examples/justified-nav/index.html b/docs/examples/justified-nav/index.html new file mode 100644 index 000000000..11ea6b8bf --- /dev/null +++ b/docs/examples/justified-nav/index.html @@ -0,0 +1,84 @@ + + + + + + + + + + + Justified Nav Template for Bootstrap + + + + + + + + + + + + + + + + +
+ +
+

Project name

+ +
+ + +
+

Marketing stuff!

+

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.

+

Get started today

+
+ + +
+
+

Safari bug warning!

+

Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing.

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+ + + + +
+ + + + + + diff --git a/docs/examples/justified-nav/justified-nav.css b/docs/examples/justified-nav/justified-nav.css new file mode 100644 index 000000000..baf0e1130 --- /dev/null +++ b/docs/examples/justified-nav/justified-nav.css @@ -0,0 +1,88 @@ +body { + padding-top: 20px; +} + +.footer { + border-top: 1px solid #eee; + margin-top: 40px; + padding-top: 40px; + padding-bottom: 40px; +} + +/* Main marketing message and sign up button */ +.jumbotron { + text-align: center; + background-color: transparent; +} +.jumbotron .btn { + font-size: 21px; + padding: 14px 24px; +} + +/* Customize the nav-justified links to be fill the entire space of the .navbar */ + +.nav-justified { + background-color: #eee; + border-radius: 5px; + border: 1px solid #ccc; +} +.nav-justified > li > a { + margin-bottom: 0; + padding-top: 15px; + padding-bottom: 15px; + color: #777; + font-weight: bold; + text-align: center; + border-bottom: 1px solid #d5d5d5; + background-color: #e5e5e5; /* Old browsers */ + background-repeat: repeat-x; /* Repeat the gradient */ + background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */ + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */ + background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */ + background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */ + background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */ +} +.nav-justified > .active > a, +.nav-justified > .active > a:hover, +.nav-justified > .active > a:focus { + background-color: #ddd; + background-image: none; + 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-left: 1px solid #fff; + border-right: 1px solid #d5d5d5; + } + .nav-justified > li:first-child > a { + border-left: 0; + border-radius: 5px 0 0 5px; + } + .nav-justified > li:last-child > a { + border-radius: 0 5px 5px 0; + border-right: 0; + } +} + +/* Responsive: Portrait tablets and up */ +@media screen and (min-width: 768px) { + /* Remove the padding we set earlier */ + .masthead, + .marketing, + .footer { + padding-left: 0; + padding-right: 0; + } +} diff --git a/docs/examples/navbar-fixed-top/index.html b/docs/examples/navbar-fixed-top/index.html new file mode 100644 index 000000000..290e178db --- /dev/null +++ b/docs/examples/navbar-fixed-top/index.html @@ -0,0 +1,91 @@ + + + + + + + + + + + Fixed Top Navbar Example for Bootstrap + + + + + + + + + + + + + + + + + + + +
+ + +
+

Navbar example

+

This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.

+

To see the difference between static and fixed top navbars, just scroll.

+

+ View navbar docs » +

+
+ +
+ + + + + + + + diff --git a/docs/examples/navbar-fixed-top/navbar-fixed-top.css b/docs/examples/navbar-fixed-top/navbar-fixed-top.css new file mode 100644 index 000000000..b0c883742 --- /dev/null +++ b/docs/examples/navbar-fixed-top/navbar-fixed-top.css @@ -0,0 +1,4 @@ +body { + min-height: 2000px; + padding-top: 70px; +} diff --git a/docs/examples/navbar-static-top/index.html b/docs/examples/navbar-static-top/index.html new file mode 100644 index 000000000..6ea2fe76e --- /dev/null +++ b/docs/examples/navbar-static-top/index.html @@ -0,0 +1,92 @@ + + + + + + + + + + + Static Top Navbar Example for Bootstrap + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Navbar example

+

This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.

+

To see the difference between static and fixed top navbars, just scroll.

+

+ View navbar docs » +

+
+ +
+ + + + + + + + diff --git a/docs/examples/navbar-static-top/navbar-static-top.css b/docs/examples/navbar-static-top/navbar-static-top.css new file mode 100644 index 000000000..59a37e75a --- /dev/null +++ b/docs/examples/navbar-static-top/navbar-static-top.css @@ -0,0 +1,7 @@ +body { + min-height: 2000px; +} + +.navbar-static-top { + margin-bottom: 19px; +} \ No newline at end of file diff --git a/docs/examples/navbar/index.html b/docs/examples/navbar/index.html new file mode 100644 index 000000000..6d701c624 --- /dev/null +++ b/docs/examples/navbar/index.html @@ -0,0 +1,88 @@ + + + + + + + + + + + Navbar Template for Bootstrap + + + + + + + + + + + + + + + + +
+ + + + + +
+

Navbar example

+

This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.

+

+ View navbar docs » +

+
+ +
+ + + + + + + + diff --git a/docs/examples/navbar/navbar.css b/docs/examples/navbar/navbar.css new file mode 100644 index 000000000..d2195240b --- /dev/null +++ b/docs/examples/navbar/navbar.css @@ -0,0 +1,8 @@ +body { + padding-top: 20px; + padding-bottom: 20px; +} + +.navbar { + margin-bottom: 20px; +} diff --git a/docs/examples/non-responsive/index.html b/docs/examples/non-responsive/index.html new file mode 100644 index 000000000..bbed7efb9 --- /dev/null +++ b/docs/examples/non-responsive/index.html @@ -0,0 +1,105 @@ + + + + + + + + + + + + + Non-responsive Template for Bootstrap + + + + + + + + + + + + + + + + + + + +
+ + + +

What changes

+

Note the lack of the <meta name="viewport" content="width=device-width, initial-scale=1.0">, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are basically good to go.

+ +

Regarding navbars

+

As a heads up, the navbar component is rather tricky here in that the styles for displaying it are rather specific and detailed. Overrides to ensure desktop styles display are not as performant or sleek as one would like. Just be aware there may be potential gotchas as you build on top of this example when using the navbar.

+ +

Browsers, scrolling, and fixed elements

+

Non-responsive layouts highlight a key drawback to fixed elements. Any fixed component, such as a fixed navbar, will not be scrollable when the viewport becomes narrower than the page content. In other words, given the non-responsive container width of 970px and a viewport of 800px, you'll potentially hide 170px of content.

+

There is no way around this as it's default browser behavior. The only solution is a responsive layout or using a non-fixed element.

+ +

Non-responsive grid system

+
+
One third
+
One third
+
One third
+
+ +
+ + + + + + + + diff --git a/docs/examples/non-responsive/non-responsive.css b/docs/examples/non-responsive/non-responsive.css new file mode 100644 index 000000000..9813bb9fe --- /dev/null +++ b/docs/examples/non-responsive/non-responsive.css @@ -0,0 +1,120 @@ +/* Template-specific stuff + * + * Customizations just for the template; these are not necessary for anything + * with disabling the responsiveness. + */ + +/* Account for fixed navbar */ +body { + padding-top: 70px; + padding-bottom: 30px; + min-width: 970px; +} + +/* Finesse the page header spacing */ +.page-header { + margin-bottom: 30px; +} +.page-header .lead { + margin-bottom: 10px; +} + + +/* Non-responsive overrides + * + * Utilitze the following CSS to disable the responsive-ness of the container, + * grid system, and navbar. + */ + +/* Reset the container */ +.container { + max-width: none !important; + width: 970px; +} + +/* Demonstrate the grids */ +.col-xs-4 { + padding-top: 15px; + padding-bottom: 15px; + background-color: #eee; + border: 1px solid #ddd; + background-color: rgba(86,61,124,.15); + border: 1px solid rgba(86,61,124,.2); +} + +.container .navbar-header, +.container .navbar-collapse { + margin-right: 0; + margin-left: 0; +} + +/* Always float the navbar header */ +.navbar-header { + float: left; +} + +/* Undo the collapsing navbar */ +.navbar-collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; +} + +.navbar-toggle { + display: none; +} +.navbar-collapse { + border-top: 0; +} + +.navbar-brand { + margin-left: -15px; +} + +/* Always apply the floated nav */ +.navbar-nav { + float: left; + margin: 0; +} +.navbar-nav > li { + float: left; +} +.navbar-nav > li > a { + padding: 15px; +} + +/* Redeclare since we override the float above */ +.navbar-nav.navbar-right { + float: right; +} + +/* Undo custom dropdowns */ +.navbar .navbar-nav .open .dropdown-menu { + position: absolute; + float: left; + background-color: #fff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-width: 0 1px 1px; + border-radius: 0 0 4px 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); +} +.navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #333; +} +.navbar .navbar-nav .open .dropdown-menu > li > a:hover, +.navbar .navbar-nav .open .dropdown-menu > li > a:focus, +.navbar .navbar-nav .open .dropdown-menu > .active > a, +.navbar .navbar-nav .open .dropdown-menu > .active > a:hover, +.navbar .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #fff !important; + background-color: #428bca !important; +} +.navbar .navbar-nav .open .dropdown-menu > .disabled > a, +.navbar .navbar-nav .open .dropdown-menu > .disabled > a:hover, +.navbar .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #999 !important; + background-color: transparent !important; +} diff --git a/docs/examples/offcanvas/index.html b/docs/examples/offcanvas/index.html new file mode 100644 index 000000000..f1a447485 --- /dev/null +++ b/docs/examples/offcanvas/index.html @@ -0,0 +1,130 @@ + + + + + + + + + + + Off Canvas Template for Bootstrap + + + + + + + + + + + + + + + + + +
+ +
+ +
+

+ +

+
+

Hello, world!

+

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.

+
+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+

Heading

+

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.

+

View details »

+
+
+
+ + +
+ +
+ +
+

© Company 2013

+
+ +
+ + + + + + + + + + diff --git a/docs/examples/offcanvas/offcanvas.css b/docs/examples/offcanvas/offcanvas.css new file mode 100644 index 000000000..ef632dc00 --- /dev/null +++ b/docs/examples/offcanvas/offcanvas.css @@ -0,0 +1,51 @@ +/* + * Style tweaks + * -------------------------------------------------- + */ +html, +body { + overflow-x: hidden; /* Prevent scroll on narrow devices */ +} +body { + padding-top: 70px; +} +footer { + padding: 30px 0; +} + +/* + * Off Canvas + * -------------------------------------------------- + */ +@media screen and (max-width: 767px) { + .row-offcanvas { + position: relative; + -webkit-transition: all 0.25s ease-out; + -moz-transition: all 0.25s ease-out; + transition: all 0.25s ease-out; + } + + .row-offcanvas-right + .sidebar-offcanvas { + right: -50%; /* 6 columns */ + } + + .row-offcanvas-left + .sidebar-offcanvas { + left: -50%; /* 6 columns */ + } + + .row-offcanvas-right.active { + right: 50%; /* 6 columns */ + } + + .row-offcanvas-left.active { + left: 50%; /* 6 columns */ + } + + .sidebar-offcanvas { + position: absolute; + top: 0; + width: 50%; /* 6 columns */ + } +} diff --git a/docs/examples/offcanvas/offcanvas.js b/docs/examples/offcanvas/offcanvas.js new file mode 100644 index 000000000..12f2dff51 --- /dev/null +++ b/docs/examples/offcanvas/offcanvas.js @@ -0,0 +1,5 @@ +$(document).ready(function() { + $('[data-toggle=offcanvas]').click(function() { + $('.row-offcanvas').toggleClass('active'); + }); +}); \ No newline at end of file diff --git a/docs/examples/screenshots/blog.jpg b/docs/examples/screenshots/blog.jpg new file mode 100644 index 000000000..13425d3bf Binary files /dev/null and b/docs/examples/screenshots/blog.jpg differ diff --git a/docs/examples/screenshots/carousel.jpg b/docs/examples/screenshots/carousel.jpg new file mode 100644 index 000000000..a63a1ba9d Binary files /dev/null and b/docs/examples/screenshots/carousel.jpg differ diff --git a/docs/examples/screenshots/cover.jpg b/docs/examples/screenshots/cover.jpg new file mode 100644 index 000000000..2a81259de Binary files /dev/null and b/docs/examples/screenshots/cover.jpg differ diff --git a/docs/examples/screenshots/dashboard.jpg b/docs/examples/screenshots/dashboard.jpg new file mode 100644 index 000000000..fb7b0526d Binary files /dev/null and b/docs/examples/screenshots/dashboard.jpg differ diff --git a/docs/examples/screenshots/grid.jpg b/docs/examples/screenshots/grid.jpg new file mode 100644 index 000000000..2407cf293 Binary files /dev/null and b/docs/examples/screenshots/grid.jpg differ diff --git a/docs/examples/screenshots/jumbotron-narrow.jpg b/docs/examples/screenshots/jumbotron-narrow.jpg new file mode 100644 index 000000000..915d10f4c Binary files /dev/null and b/docs/examples/screenshots/jumbotron-narrow.jpg differ diff --git a/docs/examples/screenshots/jumbotron.jpg b/docs/examples/screenshots/jumbotron.jpg new file mode 100644 index 000000000..30c11a2c8 Binary files /dev/null and b/docs/examples/screenshots/jumbotron.jpg differ diff --git a/docs/examples/screenshots/justified-nav.jpg b/docs/examples/screenshots/justified-nav.jpg new file mode 100644 index 000000000..5f57923e6 Binary files /dev/null and b/docs/examples/screenshots/justified-nav.jpg differ diff --git a/docs/examples/screenshots/navbar-fixed.jpg b/docs/examples/screenshots/navbar-fixed.jpg new file mode 100644 index 000000000..16a03b0bc Binary files /dev/null and b/docs/examples/screenshots/navbar-fixed.jpg differ diff --git a/docs/examples/screenshots/navbar-static.jpg b/docs/examples/screenshots/navbar-static.jpg new file mode 100644 index 000000000..8fe3529fb Binary files /dev/null and b/docs/examples/screenshots/navbar-static.jpg differ diff --git a/docs/examples/screenshots/navbar.jpg b/docs/examples/screenshots/navbar.jpg new file mode 100644 index 000000000..3120c507a Binary files /dev/null and b/docs/examples/screenshots/navbar.jpg differ diff --git a/docs/examples/screenshots/non-responsive.jpg b/docs/examples/screenshots/non-responsive.jpg new file mode 100644 index 000000000..0b8953ce1 Binary files /dev/null and b/docs/examples/screenshots/non-responsive.jpg differ diff --git a/docs/examples/screenshots/offcanvas.jpg b/docs/examples/screenshots/offcanvas.jpg new file mode 100644 index 000000000..76b7d6702 Binary files /dev/null and b/docs/examples/screenshots/offcanvas.jpg differ diff --git a/docs/examples/screenshots/sign-in.jpg b/docs/examples/screenshots/sign-in.jpg new file mode 100644 index 000000000..4191c33b8 Binary files /dev/null and b/docs/examples/screenshots/sign-in.jpg differ diff --git a/docs/examples/screenshots/starter-template.jpg b/docs/examples/screenshots/starter-template.jpg new file mode 100644 index 000000000..2545aa32f Binary files /dev/null and b/docs/examples/screenshots/starter-template.jpg differ diff --git a/docs/examples/screenshots/sticky-footer-navbar.jpg b/docs/examples/screenshots/sticky-footer-navbar.jpg new file mode 100644 index 000000000..6226bf4ac Binary files /dev/null and b/docs/examples/screenshots/sticky-footer-navbar.jpg differ diff --git a/docs/examples/screenshots/sticky-footer.jpg b/docs/examples/screenshots/sticky-footer.jpg new file mode 100644 index 000000000..644f6dd26 Binary files /dev/null and b/docs/examples/screenshots/sticky-footer.jpg differ diff --git a/docs/examples/screenshots/theme.jpg b/docs/examples/screenshots/theme.jpg new file mode 100644 index 000000000..ad527b55a Binary files /dev/null and b/docs/examples/screenshots/theme.jpg differ diff --git a/docs/examples/signin/index.html b/docs/examples/signin/index.html new file mode 100644 index 000000000..975c827ed --- /dev/null +++ b/docs/examples/signin/index.html @@ -0,0 +1,50 @@ + + + + + + + + + + + Signin Template for Bootstrap + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + diff --git a/docs/examples/signin/signin.css b/docs/examples/signin/signin.css new file mode 100644 index 000000000..a6bf9b159 --- /dev/null +++ b/docs/examples/signin/signin.css @@ -0,0 +1,40 @@ +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; + font-size: 16px; + height: auto; + padding: 10px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.form-signin .form-control:focus { + z-index: 2; +} +.form-signin input[type="text"] { + margin-bottom: -1px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} +.form-signin input[type="password"] { + margin-bottom: 10px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} \ No newline at end of file diff --git a/docs/examples/starter-template/index.html b/docs/examples/starter-template/index.html new file mode 100644 index 000000000..25392c4dc --- /dev/null +++ b/docs/examples/starter-template/index.html @@ -0,0 +1,68 @@ + + + + + + + + + + + Starter Template for Bootstrap + + + + + + + + + + + + + + + + + + +
+ +
+

Bootstrap starter template

+

Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.

+
+ +
+ + + + + + + + diff --git a/docs/examples/starter-template/starter-template.css b/docs/examples/starter-template/starter-template.css new file mode 100644 index 000000000..4af7a6177 --- /dev/null +++ b/docs/examples/starter-template/starter-template.css @@ -0,0 +1,7 @@ +body { + padding-top: 50px; +} +.starter-template { + padding: 40px 15px; + text-align: center; +} diff --git a/docs/examples/sticky-footer-navbar/index.html b/docs/examples/sticky-footer-navbar/index.html new file mode 100644 index 000000000..3bdeeda65 --- /dev/null +++ b/docs/examples/sticky-footer-navbar/index.html @@ -0,0 +1,91 @@ + + + + + + + + + + + Sticky Footer Navbar Template for Bootstrap + + + + + + + + + + + + + + + + + +
+ + + + + +
+ +

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 within #wrap with padding-top: 60px; on the .container.

+

Back to the default sticky footer minus the navbar.

+
+
+ + + + + + + + + + diff --git a/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css b/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css new file mode 100644 index 000000000..7ca093add --- /dev/null +++ b/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css @@ -0,0 +1,45 @@ +/* Sticky footer styles +-------------------------------------------------- */ + +html, +body { + height: 100%; + /* The html and body elements cannot have any padding or margin. */ +} + +/* Wrapper for page content to push down footer */ +#wrap { + min-height: 100%; + height: auto; + /* Negative indent footer by its height */ + margin: 0 auto -60px; + /* Pad bottom by footer height */ + padding: 0 0 60px; +} + +/* Set the fixed height of the footer here */ +#footer { + height: 60px; + background-color: #f5f5f5; +} + + +/* Custom page CSS +-------------------------------------------------- */ +/* Not required for template or sticky footer method. */ + +#wrap > .container { + padding: 60px 15px 0; +} +.container .text-muted { + margin: 20px 0; +} + +#footer > .container { + padding-left: 15px; + padding-right: 15px; +} + +code { + font-size: 80%; +} diff --git a/docs/examples/sticky-footer/index.html b/docs/examples/sticky-footer/index.html new file mode 100644 index 000000000..dcd353d44 --- /dev/null +++ b/docs/examples/sticky-footer/index.html @@ -0,0 +1,55 @@ + + + + + + + + + + + Sticky Footer Template for Bootstrap + + + + + + + + + + + + + + + + + +
+ + +
+ +

Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.

+

Use the sticky footer with a fixed navbar if need be, too.

+
+
+ + + + + + + + diff --git a/docs/examples/sticky-footer/sticky-footer.css b/docs/examples/sticky-footer/sticky-footer.css new file mode 100644 index 000000000..54ed9e876 --- /dev/null +++ b/docs/examples/sticky-footer/sticky-footer.css @@ -0,0 +1,38 @@ +/* Sticky footer styles +-------------------------------------------------- */ + +html, +body { + height: 100%; + /* The html and body elements cannot have any padding or margin. */ +} + +/* Wrapper for page content to push down footer */ +#wrap { + min-height: 100%; + height: auto; + /* Negative indent footer by its height */ + margin: 0 auto -60px; + /* Pad bottom by footer height */ + padding: 0 0 60px; +} + +/* Set the fixed height of the footer here */ +#footer { + height: 60px; + background-color: #f5f5f5; +} + + +/* Custom page CSS +-------------------------------------------------- */ +/* Not required for template or sticky footer method. */ + +.container { + width: auto; + max-width: 680px; + padding: 0 15px; +} +.container .text-muted { + margin: 20px 0; +} diff --git a/docs/examples/theme/index.html b/docs/examples/theme/index.html new file mode 100644 index 000000000..4c997a8b4 --- /dev/null +++ b/docs/examples/theme/index.html @@ -0,0 +1,384 @@ + + + + + + + + + + + Theme Template for Bootstrap + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Hello, world!

+

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.

+

Learn more »

+
+ + + + +

+ + + + + + + +

+

+ + + + + + + +

+

+ + + + + + + +

+

+ + + + + + + +

+ + + + + A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera + + + + + + + + + + + + + + + + + + +
+ Well done! You successfully read this important alert message. +
+
+ Heads up! This alert needs your attention, but it's not super important. +
+
+ Warning! Best check yo self, you're not looking too good. +
+
+ Oh snap! Change a few things up and try submitting again. +
+ + + + +
+
60% Complete
+
+
+
40% Complete (success)
+
+
+
20% Complete
+
+
+
60% Complete (warning)
+
+
+
80% Complete (danger)
+
+
+
35% Complete (success)
+
20% Complete (warning)
+
10% Complete (danger)
+
+ + + + + + + + + +
+
+
+
+

Panel title

+
+
+ Panel content +
+
+
+
+

Panel title

+
+
+ Panel content +
+
+
+
+
+
+

Panel title

+
+
+ Panel content +
+
+
+
+

Panel title

+
+
+ Panel content +
+
+
+
+
+
+

Panel title

+
+
+ Panel content +
+
+
+
+

Panel title

+
+
+ Panel content +
+
+
+
+ + + + +
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Aenean lacinia bibendum nulla sed consectetur.

+
+ + +
+ + + + + + + + + diff --git a/docs/examples/theme/theme.css b/docs/examples/theme/theme.css new file mode 100644 index 000000000..e7559231e --- /dev/null +++ b/docs/examples/theme/theme.css @@ -0,0 +1,14 @@ +body { + padding-top: 70px; + padding-bottom: 30px; +} + +.theme-dropdown .dropdown-menu { + display: block; + position: static; + margin-bottom: 20px; +} + +.theme-showcase > p > .btn { + margin: 5px 0; +} \ No newline at end of file -- cgit v1.2.3