├── .bowerrc ├── AUTHORS ├── .gitignore ├── theme ├── components │ └── README.md ├── bootstrap │ ├── component-animations.less │ ├── wells.less │ ├── breadcrumbs.less │ ├── close.less │ ├── thumbnails.less │ ├── jumbotron.less │ ├── media.less │ ├── pager.less │ ├── badges.less │ ├── bootstrap.less │ ├── labels.less │ ├── code.less │ ├── alerts.less │ ├── progress-bars.less │ ├── print.less │ ├── pagination.less │ ├── responsive-utilities.less │ ├── scaffolding.less │ ├── grid.less │ ├── tooltip.less │ ├── list-group.less │ ├── popovers.less │ ├── modals.less │ ├── buttons.less │ ├── input-groups.less │ ├── panels.less │ ├── tables.less │ ├── dropdowns.less │ ├── carousel.less │ ├── button-groups.less │ ├── navs.less │ ├── type.less │ ├── theme.less │ ├── normalize.less │ ├── forms.less │ └── glyphicons.less ├── site.less └── utils │ └── utilities.less ├── CONTRIBUTING.md ├── bower.json ├── templates ├── _includes │ ├── nav-about.hbs │ ├── ads.hbs │ ├── old-bs-docs.hbs │ ├── social-buttons.hbs │ ├── nav-main.hbs │ ├── nav-customize.hbs │ ├── footer.hbs │ ├── header.hbs │ ├── nav-getting-started.hbs │ ├── nav-javascript.hbs │ ├── nav-css.hbs │ └── nav-components.hbs ├── index.hbs ├── _layouts │ ├── home.hbs │ └── default.hbs ├── _data │ └── glyphicons.yml └── about.hbs ├── CHANGELOG ├── LICENSE-MIT ├── tasks ├── subgrunt.js └── replacements.js ├── package.json ├── _config.yml ├── .verbrc.md ├── README.md └── Gruntfile.js /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "vendor" 3 | } -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Jon Schlinkert (https://github.com/jonschlinkert/) 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _gh_pages 2 | tmp 3 | vendor 4 | node_modules 5 | npm-debug.log -------------------------------------------------------------------------------- /theme/components/README.md: -------------------------------------------------------------------------------- 1 | # custom components 2 | 3 | > Put your custom .less files in this dir -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please see the [Contributing to Assemble](http://assemble.io/contributing) guide for information on contributing to this project. 2 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "boilerplate-bootstrap", 3 | "version": "0.2.7", 4 | "main": [ 5 | "tasks/replacements.js" 6 | ], 7 | "dependencies": { 8 | "bootstrap": "~3.0.3" 9 | } 10 | } -------------------------------------------------------------------------------- /templates/_includes/nav-about.hbs: -------------------------------------------------------------------------------- 1 |
  • 2 | History 3 |
  • 4 |
  • 5 | Core team 6 |
  • 7 |
  • 8 | Community 9 |
  • 10 |
  • 11 | Translations 12 |
  • 13 | -------------------------------------------------------------------------------- /templates/_includes/ads.hbs: -------------------------------------------------------------------------------- 1 |
    2 | -------------------------------------------------------------------------------- /templates/_includes/old-bs-docs.hbs: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | 4 | Looking for Bootstrap 2.3.2 docs? 5 | 6 | We've moved it to a new home while we push forward with Bootstrap 3. Read the blog for details. 7 |
    8 |
    9 | -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- 1 | v0.2.6: 2 | date: 2013-12-22 3 | changes: 4 | - Updated dependencies and Bootstrap paths. 5 | - A number of updates to gruntfile and config. 6 | - Adds _config.yml to project root to make project metadata more customizable from the start. 7 | v0.2.0: 8 | date: 2013-08-03 9 | changes: 10 | - Refactored to build Bootstrap without having to manually edit the templates. 11 | v0.1.0: 12 | date: 2013-07-16 13 | changes: 14 | - First commit. 15 | -------------------------------------------------------------------------------- /theme/bootstrap/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | .transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | &.in { 21 | display: block; 22 | } 23 | } 24 | .collapsing { 25 | position: relative; 26 | height: 0; 27 | overflow: hidden; 28 | .transition(height .35s ease); 29 | } 30 | -------------------------------------------------------------------------------- /theme/bootstrap/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @well-bg; 12 | border: 1px solid @well-border; 13 | border-radius: @border-radius-base; 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-lg { 23 | padding: 24px; 24 | border-radius: @border-radius-large; 25 | } 26 | .well-sm { 27 | padding: 9px; 28 | border-radius: @border-radius-small; 29 | } 30 | -------------------------------------------------------------------------------- /theme/site.less: -------------------------------------------------------------------------------- 1 | // 2 | // Site 3 | // -------------------------------------------------- 4 | 5 | // Theme 6 | // ------------------------------- 7 | @import "variables.less"; 8 | 9 | 10 | // Vendor 11 | // ------------------------------- 12 | 13 | // Bootstrap's styles 14 | @import "mixins.less"; 15 | @import "bootstrap.less"; 16 | 17 | 18 | 19 | // Components 20 | // ------------------------------- 21 | 22 | /*@import "foo.less";*/ 23 | 24 | 25 | 26 | 27 | // Site-overrides 28 | // ------------------------------- 29 | 30 | // Override Bootstrap in favor of GitHub styles 31 | pre { 32 | background: #F8F8FF; 33 | } 34 | 35 | 36 | // Utilities must be last 37 | @import "utilities.less"; 38 | -------------------------------------------------------------------------------- /theme/bootstrap/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /templates/index.hbs: -------------------------------------------------------------------------------- 1 | --- 2 | layout: home.hbs 3 | title: Bootstrap 4 | base_url: "./" 5 | --- 6 | 7 |
    8 |
    9 |

    Bootstrap

    10 |

    Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.

    11 |

    12 | Download Bootstrap 13 | Download source 14 |

    15 |
    16 |
    17 | -------------------------------------------------------------------------------- /theme/bootstrap/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: (@font-size-base * 1.5); 9 | font-weight: @close-font-weight; 10 | line-height: 1; 11 | color: @close-color; 12 | text-shadow: @close-text-shadow; 13 | .opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: @close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | .opacity(.5); 21 | } 22 | 23 | // Additional properties for button version 24 | // iOS requires the button element instead of an anchor tag. 25 | // If you want the anchor version, it requires `href="#"`. 26 | button& { 27 | padding: 0; 28 | cursor: pointer; 29 | background: transparent; 30 | border: 0; 31 | -webkit-appearance: none; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /theme/bootstrap/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Mixin and adjust the regular image class 7 | .thumbnail { 8 | display: block; 9 | padding: @thumbnail-padding; 10 | margin-bottom: @line-height-computed; 11 | line-height: @line-height-base; 12 | background-color: @thumbnail-bg; 13 | border: 1px solid @thumbnail-border; 14 | border-radius: @thumbnail-border-radius; 15 | .transition(all .2s ease-in-out); 16 | 17 | > img, 18 | a > img { 19 | .img-responsive(); 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | // Add a hover state for linked versions only 25 | a&:hover, 26 | a&:focus, 27 | a&.active { 28 | border-color: @link-color; 29 | } 30 | 31 | // Image captions 32 | .caption { 33 | padding: @thumbnail-caption-padding; 34 | color: @thumbnail-caption-color; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /templates/_includes/social-buttons.hbs: -------------------------------------------------------------------------------- 1 |
    2 | 16 |
    17 | -------------------------------------------------------------------------------- /theme/utils/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Floats 7 | // ------------------------- 8 | 9 | .clearfix { 10 | .clearfix(); 11 | } 12 | .center-block { 13 | .center-block(); 14 | } 15 | .pull-right { 16 | float: right !important; 17 | } 18 | .pull-left { 19 | float: left !important; 20 | } 21 | 22 | 23 | // Toggling content 24 | // ------------------------- 25 | 26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 27 | .hide { 28 | display: none !important; 29 | } 30 | .show { 31 | display: block !important; 32 | } 33 | .invisible { 34 | visibility: hidden; 35 | } 36 | .text-hide { 37 | .text-hide(); 38 | } 39 | 40 | 41 | // Hide from screenreaders and browsers 42 | // 43 | // Credit: HTML5 Boilerplate 44 | 45 | .hidden { 46 | display: none !important; 47 | visibility: hidden !important; 48 | } 49 | 50 | 51 | // For Affix plugin 52 | // ------------------------- 53 | 54 | .affix { 55 | position: fixed; 56 | } 57 | -------------------------------------------------------------------------------- /theme/bootstrap/jumbotron.less: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding: @jumbotron-padding; 8 | margin-bottom: @jumbotron-padding; 9 | color: @jumbotron-color; 10 | background-color: @jumbotron-bg; 11 | 12 | h1, 13 | .h1 { 14 | color: @jumbotron-heading-color; 15 | } 16 | p { 17 | margin-bottom: (@jumbotron-padding / 2); 18 | font-size: @jumbotron-font-size; 19 | font-weight: 200; 20 | } 21 | 22 | .container & { 23 | border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container 24 | } 25 | 26 | .container { 27 | max-width: 100%; 28 | } 29 | 30 | @media screen and (min-width: @screen-sm-min) { 31 | padding-top: (@jumbotron-padding * 1.6); 32 | padding-bottom: (@jumbotron-padding * 1.6); 33 | 34 | .container & { 35 | padding-left: (@jumbotron-padding * 2); 36 | padding-right: (@jumbotron-padding * 2); 37 | } 38 | 39 | h1, 40 | .h1 { 41 | font-size: (@font-size-base * 4.5); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /theme/bootstrap/media.less: -------------------------------------------------------------------------------- 1 | // Media objects 2 | // Source: http://stubbornella.org/content/?p=497 3 | // -------------------------------------------------- 4 | 5 | 6 | // Common styles 7 | // ------------------------- 8 | 9 | // Clear the floats 10 | .media, 11 | .media-body { 12 | overflow: hidden; 13 | zoom: 1; 14 | } 15 | 16 | // Proper spacing between instances of .media 17 | .media, 18 | .media .media { 19 | margin-top: 15px; 20 | } 21 | .media:first-child { 22 | margin-top: 0; 23 | } 24 | 25 | // For images and videos, set to block 26 | .media-object { 27 | display: block; 28 | } 29 | 30 | // Reset margins on headings for tighter default spacing 31 | .media-heading { 32 | margin: 0 0 5px; 33 | } 34 | 35 | 36 | // Media image alignment 37 | // ------------------------- 38 | 39 | .media { 40 | > .pull-left { 41 | margin-right: 10px; 42 | } 43 | > .pull-right { 44 | margin-left: 10px; 45 | } 46 | } 47 | 48 | 49 | // Media list variation 50 | // ------------------------- 51 | 52 | // Undo default ul/ol styles 53 | .media-list { 54 | padding-left: 0; 55 | list-style: none; 56 | } 57 | -------------------------------------------------------------------------------- /theme/bootstrap/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | padding-left: 0; 8 | margin: @line-height-computed 0; 9 | list-style: none; 10 | text-align: center; 11 | &:extend(.clearfix all); 12 | li { 13 | display: inline; 14 | > a, 15 | > span { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: @pager-bg; 19 | border: 1px solid @pager-border; 20 | border-radius: @pager-border-radius; 21 | } 22 | 23 | > a:hover, 24 | > a:focus { 25 | text-decoration: none; 26 | background-color: @pager-hover-bg; 27 | } 28 | } 29 | 30 | .next { 31 | > a, 32 | > span { 33 | float: right; 34 | } 35 | } 36 | 37 | .previous { 38 | > a, 39 | > span { 40 | float: left; 41 | } 42 | } 43 | 44 | .disabled { 45 | > a, 46 | > a:hover, 47 | > a:focus, 48 | > span { 49 | color: @pager-disabled-color; 50 | background-color: @pager-bg; 51 | cursor: not-allowed; 52 | } 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Jon Schlinkert 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /theme/bootstrap/badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base classes 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: @font-size-small; 12 | font-weight: @badge-font-weight; 13 | color: @badge-color; 14 | line-height: @badge-line-height; 15 | vertical-align: baseline; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: @badge-bg; 19 | border-radius: @badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | } 32 | 33 | // Hover state, but only for links 34 | a.badge { 35 | &:hover, 36 | &:focus { 37 | color: @badge-link-hover-color; 38 | text-decoration: none; 39 | cursor: pointer; 40 | } 41 | } 42 | 43 | // Account for counters in navs 44 | a.list-group-item.active > .badge, 45 | .nav-pills > .active > a > .badge { 46 | color: @badge-active-color; 47 | background-color: @badge-active-bg; 48 | } 49 | .nav-pills > li > a > .badge { 50 | margin-left: 3px; 51 | } 52 | -------------------------------------------------------------------------------- /theme/bootstrap/bootstrap.less: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | @import "variables.less"; 3 | @import "mixins.less"; 4 | 5 | // Reset 6 | @import "normalize.less"; 7 | @import "print.less"; 8 | 9 | // Core CSS 10 | @import "scaffolding.less"; 11 | @import "type.less"; 12 | @import "code.less"; 13 | @import "grid.less"; 14 | @import "tables.less"; 15 | @import "forms.less"; 16 | @import "buttons.less"; 17 | 18 | // Components 19 | @import "component-animations.less"; 20 | @import "glyphicons.less"; 21 | @import "dropdowns.less"; 22 | @import "button-groups.less"; 23 | @import "input-groups.less"; 24 | @import "navs.less"; 25 | @import "navbar.less"; 26 | @import "breadcrumbs.less"; 27 | @import "pagination.less"; 28 | @import "pager.less"; 29 | @import "labels.less"; 30 | @import "badges.less"; 31 | @import "jumbotron.less"; 32 | @import "thumbnails.less"; 33 | @import "alerts.less"; 34 | @import "progress-bars.less"; 35 | @import "media.less"; 36 | @import "list-group.less"; 37 | @import "panels.less"; 38 | @import "wells.less"; 39 | @import "close.less"; 40 | 41 | // Components w/ JavaScript 42 | @import "modals.less"; 43 | @import "tooltip.less"; 44 | @import "popovers.less"; 45 | @import "carousel.less"; 46 | 47 | // Utility classes 48 | @import "utilities.less"; 49 | @import "responsive-utilities.less"; 50 | -------------------------------------------------------------------------------- /theme/bootstrap/labels.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: @label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // Add hover effects, but only for links 18 | &[href] { 19 | &:hover, 20 | &:focus { 21 | color: @label-link-hover-color; 22 | text-decoration: none; 23 | cursor: pointer; 24 | } 25 | } 26 | 27 | // Empty labels collapse automatically (not available in IE8) 28 | &:empty { 29 | display: none; 30 | } 31 | 32 | // Quick fix for labels in buttons 33 | .btn & { 34 | position: relative; 35 | top: -1px; 36 | } 37 | } 38 | 39 | // Colors 40 | // Contextual variations (linked labels get darker on :hover) 41 | 42 | .label-default { 43 | .label-variant(@label-default-bg); 44 | } 45 | 46 | .label-primary { 47 | .label-variant(@label-primary-bg); 48 | } 49 | 50 | .label-success { 51 | .label-variant(@label-success-bg); 52 | } 53 | 54 | .label-info { 55 | .label-variant(@label-info-bg); 56 | } 57 | 58 | .label-warning { 59 | .label-variant(@label-warning-bg); 60 | } 61 | 62 | .label-danger { 63 | .label-variant(@label-danger-bg); 64 | } 65 | -------------------------------------------------------------------------------- /tasks/subgrunt.js: -------------------------------------------------------------------------------- 1 | /* 2 | * grunt-subgrunt 3 | * https://github.com/shaneholder/grunt-subgrunt 4 | * 5 | * Copyright (c) 2013 Shane Holder 6 | * Licensed under the MIT license. 7 | */ 8 | 9 | 'use strict'; 10 | 11 | 12 | module.exports = function(grunt) { 13 | 14 | function executeTaskOnModule(task, module, done) { 15 | grunt.log.ok('executing ' + task + ' for package ' + module); 16 | 17 | grunt.util.spawn({ 18 | grunt: true, 19 | args: [task], 20 | opts: { 21 | cwd: module, 22 | stdio: [0, 1, 2] 23 | } 24 | }, function(error, result, code) { 25 | if (code === 0 || code === 6) { 26 | done(); 27 | } else { 28 | done(false); 29 | } 30 | }); 31 | } 32 | 33 | grunt.registerMultiTask('subgrunt', 'Execute Grunt on a list of folders.', function() { 34 | var done = this.async(); 35 | var options = this.options({}); 36 | 37 | var executeOnModule = function(module, done) { 38 | executeTaskOnModule(options.task, module, done); 39 | }; 40 | 41 | this.files.forEach(function(f) { 42 | var modules = f.src.filter(function(moduleDir) { 43 | if (grunt.file.isDir(moduleDir) && grunt.file.exists(moduleDir, 'Gruntfile.js')) { 44 | return true; 45 | } else { 46 | return false; 47 | } 48 | }); 49 | grunt.util.async.forEachSeries(modules, executeOnModule, done); 50 | }); 51 | }); 52 | }; -------------------------------------------------------------------------------- /templates/_includes/nav-main.hbs: -------------------------------------------------------------------------------- 1 | 38 | -------------------------------------------------------------------------------- /theme/bootstrap/code.less: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: @font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: @code-color; 19 | background-color: @code-bg; 20 | white-space: nowrap; 21 | border-radius: @border-radius-base; 22 | } 23 | 24 | // User input typically entered via keyboard 25 | kbd { 26 | padding: 2px 4px; 27 | font-size: 90%; 28 | color: @kbd-color; 29 | background-color: @kbd-bg; 30 | border-radius: @border-radius-small; 31 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 32 | } 33 | 34 | // Blocks of code 35 | pre { 36 | display: block; 37 | padding: ((@line-height-computed - 1) / 2); 38 | margin: 0 0 (@line-height-computed / 2); 39 | font-size: (@font-size-base - 1); // 14px to 13px 40 | line-height: @line-height-base; 41 | word-break: break-all; 42 | word-wrap: break-word; 43 | color: @pre-color; 44 | background-color: @pre-bg; 45 | border: 1px solid @pre-border-color; 46 | border-radius: @border-radius-base; 47 | 48 | // Account for some code outputs that place code tags in pre tags 49 | code { 50 | padding: 0; 51 | font-size: inherit; 52 | color: inherit; 53 | white-space: pre-wrap; 54 | background-color: transparent; 55 | border-radius: 0; 56 | } 57 | } 58 | 59 | // Enable scrollable blocks of code 60 | .pre-scrollable { 61 | max-height: @pre-scrollable-max-height; 62 | overflow-y: scroll; 63 | } 64 | -------------------------------------------------------------------------------- /templates/_layouts/home.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{> header }} 6 | 7 | 8 | Skip to main content 9 | 10 | 11 | {{> nav-main }} 12 | 13 | 14 | {{> body }} 15 | 16 | 42 | 43 | 44 | {{> footer }} 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /theme/bootstrap/alerts.less: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: @alert-padding; 11 | margin-bottom: @line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: @alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing @headings-color 19 | color: inherit; 20 | } 21 | // Provide class for links that match alerts 22 | .alert-link { 23 | font-weight: @alert-link-font-weight; 24 | } 25 | 26 | // Improve alignment and spacing of inner content 27 | > p, 28 | > ul { 29 | margin-bottom: 0; 30 | } 31 | > p + p { 32 | margin-top: 5px; 33 | } 34 | } 35 | 36 | // Dismissable alerts 37 | // 38 | // Expand the right padding and account for the close button's positioning. 39 | 40 | .alert-dismissable { 41 | padding-right: (@alert-padding + 20); 42 | 43 | // Adjust close link position 44 | .close { 45 | position: relative; 46 | top: -2px; 47 | right: -21px; 48 | color: inherit; 49 | } 50 | } 51 | 52 | // Alternate styles 53 | // 54 | // Generate contextual modifier classes for colorizing the alert. 55 | 56 | .alert-success { 57 | .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text); 58 | } 59 | .alert-info { 60 | .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text); 61 | } 62 | .alert-warning { 63 | .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text); 64 | } 65 | .alert-danger { 66 | .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); 67 | } 68 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "boilerplate-bootstrap", 3 | "description": "Build Bootstrap with Assemble instead of Jekyll.", 4 | "version": "0.2.8", 5 | "homepage": "https://github.com/assemble/boilerplate-bootstrap", 6 | "author": [ 7 | { 8 | "name": "Jon Schlinkert", 9 | "url": "http://github.com/jonschlinkert" 10 | } 11 | ], 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/assemble/boilerplate-bootstrap.git" 15 | }, 16 | "bugs": { 17 | "url": "https://github.com/assemble/boilerplate-bootstrap/issues" 18 | }, 19 | "licenses": [ 20 | { 21 | "type": "MIT", 22 | "url": "http://opensource.org/licenses/MIT" 23 | } 24 | ], 25 | "main": "tasks/replacements.js", 26 | "scripts": { 27 | "test": "grunt test" 28 | }, 29 | "devDependencies": { 30 | "assemble": "~0.4.33", 31 | "assemble-less": "~0.6.1", 32 | "frep": "~0.1.2", 33 | "grunt": "~0.4.2", 34 | "grunt-contrib-clean": "~0.5.0", 35 | "grunt-contrib-copy": "~0.4.1", 36 | "grunt-frep": "~0.1.2", 37 | "grunt-sync-pkg": "~0.1.2", 38 | "handlebars-helper-prettify": "~0.2.1", 39 | "pretty": "~0.1.1", 40 | "grunt-verb": "~0.2.3" 41 | }, 42 | "keywords": [ 43 | "assemble boilerplate", 44 | "assemble example", 45 | "assemble", 46 | "assembleboilerplate", 47 | "blog generator", 48 | "boilerplate", 49 | "bootstrap node.js", 50 | "bootstrap", 51 | "build", 52 | "component generator", 53 | "grunt task", 54 | "grunt", 55 | "handlebars", 56 | "node.js bootstrap", 57 | "node.js jekyll", 58 | "node.js site generator", 59 | "site builder", 60 | "site generator", 61 | "templates" 62 | ] 63 | } 64 | -------------------------------------------------------------------------------- /templates/_includes/nav-customize.hbs: -------------------------------------------------------------------------------- 1 |
  • 2 | LESS components 3 |
  • 4 |
  • 5 | jQuery plugins 6 |
  • 7 |
  • 8 | LESS variables 9 | 37 |
  • 38 |
  • 39 | Download 40 |
  • 41 | -------------------------------------------------------------------------------- /templates/_includes/footer.hbs: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | {{#is slug "customize"}} 14 | 15 | 16 | {{/is}} 17 | 18 | {{#comment}} 19 | Inject Twitter widgets asynchronously. Snippet snipped from Twitter's 20 | JS interface site: https://dev.twitter.com/docs/tfw-javascript 21 | 22 | * "js.async=1;" added to add async attribute to the generated script tag. 23 | {{/comment}} 24 | 32 | 33 | 35 | 47 | -------------------------------------------------------------------------------- /templates/_includes/header.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {{#is title "Bootstrap"}} 10 | {{ title }} 11 | {{ else }} 12 | {{ title }} · Bootstrap 13 | {{/is}} 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | -------------------------------------------------------------------------------- /theme/bootstrap/progress-bars.less: -------------------------------------------------------------------------------- 1 | // 2 | // Progress bars 3 | // -------------------------------------------------- 4 | 5 | 6 | // Bar animations 7 | // ------------------------- 8 | 9 | // WebKit 10 | @-webkit-keyframes progress-bar-stripes { 11 | from { background-position: 40px 0; } 12 | to { background-position: 0 0; } 13 | } 14 | 15 | // Spec and IE10+ 16 | @keyframes progress-bar-stripes { 17 | from { background-position: 40px 0; } 18 | to { background-position: 0 0; } 19 | } 20 | 21 | 22 | 23 | // Bar itself 24 | // ------------------------- 25 | 26 | // Outer container 27 | .progress { 28 | overflow: hidden; 29 | height: @line-height-computed; 30 | margin-bottom: @line-height-computed; 31 | background-color: @progress-bg; 32 | border-radius: @border-radius-base; 33 | .box-shadow(inset 0 1px 2px rgba(0,0,0,.1)); 34 | } 35 | 36 | // Bar of progress 37 | .progress-bar { 38 | float: left; 39 | width: 0%; 40 | height: 100%; 41 | font-size: @font-size-small; 42 | line-height: @line-height-computed; 43 | color: @progress-bar-color; 44 | text-align: center; 45 | background-color: @progress-bar-bg; 46 | .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15)); 47 | .transition(width .6s ease); 48 | } 49 | 50 | // Striped bars 51 | .progress-striped .progress-bar { 52 | #gradient > .striped(); 53 | background-size: 40px 40px; 54 | } 55 | 56 | // Call animation for the active one 57 | .progress.active .progress-bar { 58 | .animation(progress-bar-stripes 2s linear infinite); 59 | } 60 | 61 | 62 | 63 | // Variations 64 | // ------------------------- 65 | 66 | .progress-bar-success { 67 | .progress-bar-variant(@progress-bar-success-bg); 68 | } 69 | 70 | .progress-bar-info { 71 | .progress-bar-variant(@progress-bar-info-bg); 72 | } 73 | 74 | .progress-bar-warning { 75 | .progress-bar-variant(@progress-bar-warning-bg); 76 | } 77 | 78 | .progress-bar-danger { 79 | .progress-bar-variant(@progress-bar-danger-bg); 80 | } 81 | -------------------------------------------------------------------------------- /theme/bootstrap/print.less: -------------------------------------------------------------------------------- 1 | // 2 | // Basic print styles 3 | // -------------------------------------------------- 4 | // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css 5 | 6 | @media print { 7 | 8 | * { 9 | text-shadow: none !important; 10 | color: #000 !important; // Black prints faster: h5bp.com/s 11 | background: transparent !important; 12 | box-shadow: none !important; 13 | } 14 | 15 | a, 16 | a:visited { 17 | text-decoration: underline; 18 | } 19 | 20 | a[href]:after { 21 | content: " (" attr(href) ")"; 22 | } 23 | 24 | abbr[title]:after { 25 | content: " (" attr(title) ")"; 26 | } 27 | 28 | // Don't show links for images, or javascript/internal links 29 | a[href^="javascript:"]:after, 30 | a[href^="#"]:after { 31 | content: ""; 32 | } 33 | 34 | pre, 35 | blockquote { 36 | border: 1px solid #999; 37 | page-break-inside: avoid; 38 | } 39 | 40 | thead { 41 | display: table-header-group; // h5bp.com/t 42 | } 43 | 44 | tr, 45 | img { 46 | page-break-inside: avoid; 47 | } 48 | 49 | img { 50 | max-width: 100% !important; 51 | } 52 | 53 | @page { 54 | margin: 2cm .5cm; 55 | } 56 | 57 | p, 58 | h2, 59 | h3 { 60 | orphans: 3; 61 | widows: 3; 62 | } 63 | 64 | h2, 65 | h3 { 66 | page-break-after: avoid; 67 | } 68 | 69 | // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245 70 | // Once fixed, we can just straight up remove this. 71 | select { 72 | background: #fff !important; 73 | } 74 | 75 | // Bootstrap components 76 | .navbar { 77 | display: none; 78 | } 79 | .table { 80 | td, 81 | th { 82 | background-color: #fff !important; 83 | } 84 | } 85 | .btn, 86 | .dropup > .btn { 87 | > .caret { 88 | border-top-color: #000 !important; 89 | } 90 | } 91 | .label { 92 | border: 1px solid #000; 93 | } 94 | 95 | .table { 96 | border-collapse: collapse !important; 97 | } 98 | .table-bordered { 99 | th, 100 | td { 101 | border: 1px solid #ddd !important; 102 | } 103 | } 104 | 105 | } 106 | -------------------------------------------------------------------------------- /templates/_includes/nav-getting-started.hbs: -------------------------------------------------------------------------------- 1 |
  • 2 | Download Bootstrap 3 | 8 |
  • 9 |
  • 10 | What's included 11 | 15 |
  • 16 |
  • 17 | Basic template 18 |
  • 19 |
  • 20 | Examples 21 |
  • 22 |
  • 23 | Disabling responsiveness 24 |
  • 25 |
  • 26 | Migrating from 2.x to 3.0 27 | 33 |
  • 34 |
  • 35 | Browser and device support 36 | 48 |
  • 49 |
  • 50 | Third party support 51 |
  • 52 |
  • 53 | Accessibility 54 |
  • 55 |
  • 56 | License FAQs 57 |
  • 58 |
  • 59 | Customizing Bootstrap 60 |
  • 61 | -------------------------------------------------------------------------------- /theme/bootstrap/pagination.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pagination (multiple pages) 3 | // -------------------------------------------------- 4 | .pagination { 5 | display: inline-block; 6 | padding-left: 0; 7 | margin: @line-height-computed 0; 8 | border-radius: @border-radius-base; 9 | 10 | > li { 11 | display: inline; // Remove list-style and block-level defaults 12 | > a, 13 | > span { 14 | position: relative; 15 | float: left; // Collapse white-space 16 | padding: @padding-base-vertical @padding-base-horizontal; 17 | line-height: @line-height-base; 18 | text-decoration: none; 19 | color: @pagination-color; 20 | background-color: @pagination-bg; 21 | border: 1px solid @pagination-border; 22 | margin-left: -1px; 23 | } 24 | &:first-child { 25 | > a, 26 | > span { 27 | margin-left: 0; 28 | .border-left-radius(@border-radius-base); 29 | } 30 | } 31 | &:last-child { 32 | > a, 33 | > span { 34 | .border-right-radius(@border-radius-base); 35 | } 36 | } 37 | } 38 | 39 | > li > a, 40 | > li > span { 41 | &:hover, 42 | &:focus { 43 | color: @pagination-hover-color; 44 | background-color: @pagination-hover-bg; 45 | border-color: @pagination-hover-border; 46 | } 47 | } 48 | 49 | > .active > a, 50 | > .active > span { 51 | &, 52 | &:hover, 53 | &:focus { 54 | z-index: 2; 55 | color: @pagination-active-color; 56 | background-color: @pagination-active-bg; 57 | border-color: @pagination-active-border; 58 | cursor: default; 59 | } 60 | } 61 | 62 | > .disabled { 63 | > span, 64 | > span:hover, 65 | > span:focus, 66 | > a, 67 | > a:hover, 68 | > a:focus { 69 | color: @pagination-disabled-color; 70 | background-color: @pagination-disabled-bg; 71 | border-color: @pagination-disabled-border; 72 | cursor: not-allowed; 73 | } 74 | } 75 | } 76 | 77 | // Sizing 78 | // -------------------------------------------------- 79 | 80 | // Large 81 | .pagination-lg { 82 | .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large); 83 | } 84 | 85 | // Small 86 | .pagination-sm { 87 | .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small); 88 | } 89 | -------------------------------------------------------------------------------- /theme/bootstrap/responsive-utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Responsive: Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // IE10 in Windows (Phone) 8 7 | // 8 | // Support for responsive views via media queries is kind of borked in IE10, for 9 | // Surface/desktop in split view and for Windows Phone 8. This particular fix 10 | // must be accompanied by a snippet of JavaScript to sniff the user agent and 11 | // apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at 12 | // our Getting Started page for more information on this bug. 13 | // 14 | // For more information, see the following: 15 | // 16 | // Issue: https://github.com/twbs/bootstrap/issues/10497 17 | // Docs: http://getbootstrap.com/getting-started/#browsers 18 | // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/ 19 | 20 | @-ms-viewport { 21 | width: device-width; 22 | } 23 | 24 | 25 | // Visibility utilities 26 | .visible-xs { 27 | .responsive-invisibility(); 28 | 29 | @media (max-width: @screen-xs-max) { 30 | .responsive-visibility(); 31 | } 32 | } 33 | .visible-sm { 34 | .responsive-invisibility(); 35 | 36 | @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { 37 | .responsive-visibility(); 38 | } 39 | } 40 | .visible-md { 41 | .responsive-invisibility(); 42 | 43 | @media (min-width: @screen-md-min) and (max-width: @screen-md-max) { 44 | .responsive-visibility(); 45 | } 46 | } 47 | .visible-lg { 48 | .responsive-invisibility(); 49 | 50 | @media (min-width: @screen-lg-min) { 51 | .responsive-visibility(); 52 | } 53 | } 54 | 55 | .hidden-xs { 56 | @media (max-width: @screen-xs-max) { 57 | .responsive-invisibility(); 58 | } 59 | } 60 | .hidden-sm { 61 | @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { 62 | .responsive-invisibility(); 63 | } 64 | } 65 | .hidden-md { 66 | @media (min-width: @screen-md-min) and (max-width: @screen-md-max) { 67 | .responsive-invisibility(); 68 | } 69 | } 70 | .hidden-lg { 71 | @media (min-width: @screen-lg-min) { 72 | .responsive-invisibility(); 73 | } 74 | } 75 | 76 | 77 | // Print utilities 78 | // 79 | // Media queries are placed on the inside to be mixin-friendly. 80 | 81 | .visible-print { 82 | .responsive-invisibility(); 83 | 84 | @media print { 85 | .responsive-visibility(); 86 | } 87 | } 88 | 89 | .hidden-print { 90 | @media print { 91 | .responsive-invisibility(); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /theme/bootstrap/scaffolding.less: -------------------------------------------------------------------------------- 1 | // 2 | // Scaffolding 3 | // -------------------------------------------------- 4 | 5 | 6 | // Reset the box-sizing 7 | 8 | *, 9 | *:before, 10 | *:after { 11 | .box-sizing(border-box); 12 | } 13 | 14 | 15 | // Body reset 16 | 17 | html { 18 | font-size: 62.5%; 19 | -webkit-tap-highlight-color: rgba(0,0,0,0); 20 | } 21 | 22 | body { 23 | font-family: @font-family-base; 24 | font-size: @font-size-base; 25 | line-height: @line-height-base; 26 | color: @text-color; 27 | background-color: @body-bg; 28 | } 29 | 30 | // Reset fonts for relevant elements 31 | input, 32 | button, 33 | select, 34 | textarea { 35 | font-family: inherit; 36 | font-size: inherit; 37 | line-height: inherit; 38 | } 39 | 40 | 41 | // Links 42 | 43 | a { 44 | color: @link-color; 45 | text-decoration: none; 46 | 47 | &:hover, 48 | &:focus { 49 | color: @link-hover-color; 50 | text-decoration: underline; 51 | } 52 | 53 | &:focus { 54 | .tab-focus(); 55 | } 56 | } 57 | 58 | 59 | // Images 60 | 61 | img { 62 | vertical-align: middle; 63 | } 64 | 65 | // Responsive images (ensure images don't scale beyond their parents) 66 | .img-responsive { 67 | .img-responsive(); 68 | } 69 | 70 | // Rounded corners 71 | .img-rounded { 72 | border-radius: @border-radius-large; 73 | } 74 | 75 | // Image thumbnails 76 | // 77 | // Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`. 78 | .img-thumbnail { 79 | padding: @thumbnail-padding; 80 | line-height: @line-height-base; 81 | background-color: @thumbnail-bg; 82 | border: 1px solid @thumbnail-border; 83 | border-radius: @thumbnail-border-radius; 84 | .transition(all .2s ease-in-out); 85 | 86 | // Keep them at most 100% wide 87 | .img-responsive(inline-block); 88 | } 89 | 90 | // Perfect circle 91 | .img-circle { 92 | border-radius: 50%; // set radius in percents 93 | } 94 | 95 | 96 | // Horizontal rules 97 | 98 | hr { 99 | margin-top: @line-height-computed; 100 | margin-bottom: @line-height-computed; 101 | border: 0; 102 | border-top: 1px solid @hr-border; 103 | } 104 | 105 | 106 | // Only display content to screen readers 107 | // 108 | // See: http://a11yproject.com/posts/how-to-hide-content/ 109 | 110 | .sr-only { 111 | position: absolute; 112 | width: 1px; 113 | height: 1px; 114 | margin: -1px; 115 | padding: 0; 116 | overflow: hidden; 117 | clip: rect(0,0,0,0); 118 | border: 0; 119 | } 120 | -------------------------------------------------------------------------------- /theme/bootstrap/grid.less: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | .container-fixed(); 12 | 13 | @media (min-width: @screen-sm-min) { 14 | width: @container-sm; 15 | } 16 | @media (min-width: @screen-md-min) { 17 | width: @container-md; 18 | } 19 | @media (min-width: @screen-lg-min) { 20 | width: @container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | .container-fixed(); 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | .make-row(); 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | .make-grid-columns(); 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | .make-grid-columns-float(xs); 57 | .make-grid(@grid-columns, xs, width); 58 | .make-grid(@grid-columns, xs, pull); 59 | .make-grid(@grid-columns, xs, push); 60 | .make-grid(@grid-columns, xs, offset); 61 | 62 | 63 | // Small grid 64 | // 65 | // Columns, offsets, pushes, and pulls for the small device range, from phones 66 | // to tablets. 67 | 68 | @media (min-width: @screen-sm-min) { 69 | .make-grid-columns-float(sm); 70 | .make-grid(@grid-columns, sm, width); 71 | .make-grid(@grid-columns, sm, pull); 72 | .make-grid(@grid-columns, sm, push); 73 | .make-grid(@grid-columns, sm, offset); 74 | } 75 | 76 | 77 | // Medium grid 78 | // 79 | // Columns, offsets, pushes, and pulls for the desktop device range. 80 | 81 | @media (min-width: @screen-md-min) { 82 | .make-grid-columns-float(md); 83 | .make-grid(@grid-columns, md, width); 84 | .make-grid(@grid-columns, md, pull); 85 | .make-grid(@grid-columns, md, push); 86 | .make-grid(@grid-columns, md, offset); 87 | } 88 | 89 | 90 | // Large grid 91 | // 92 | // Columns, offsets, pushes, and pulls for the large desktop device range. 93 | 94 | @media (min-width: @screen-lg-min) { 95 | .make-grid-columns-float(lg); 96 | .make-grid(@grid-columns, lg, width); 97 | .make-grid(@grid-columns, lg, pull); 98 | .make-grid(@grid-columns, lg, push); 99 | .make-grid(@grid-columns, lg, offset); 100 | } 101 | -------------------------------------------------------------------------------- /templates/_includes/nav-javascript.hbs: -------------------------------------------------------------------------------- 1 |
  • 2 | Overview 3 | 10 |
  • 11 |
  • Transitions
  • 12 |
  • 13 | Modal 14 | 19 |
  • 20 |
  • 21 | Dropdown 22 | 26 |
  • 27 |
  • 28 | Scrollspy 29 | 33 |
  • 34 |
  • 35 | Tab 36 | 40 |
  • 41 |
  • 42 | Tooltip 43 | 47 |
  • 48 |
  • 49 | Popover 50 | 54 |
  • 55 |
  • 56 | Alert 57 | 61 |
  • 62 |
  • 63 | Button 64 | 68 |
  • 69 |
  • 70 | Collapse 71 | 75 |
  • 76 |
  • 77 | Carousel 78 | 82 |
  • 83 |
  • 84 | Affix 85 | 89 |
  • 90 | -------------------------------------------------------------------------------- /theme/bootstrap/tooltip.less: -------------------------------------------------------------------------------- 1 | // 2 | // Tooltips 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .tooltip { 8 | position: absolute; 9 | z-index: @zindex-tooltip; 10 | display: block; 11 | visibility: visible; 12 | font-size: @font-size-small; 13 | line-height: 1.4; 14 | .opacity(0); 15 | 16 | &.in { .opacity(@tooltip-opacity); } 17 | &.top { margin-top: -3px; padding: @tooltip-arrow-width 0; } 18 | &.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; } 19 | &.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; } 20 | &.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; } 21 | } 22 | 23 | // Wrapper for the tooltip content 24 | .tooltip-inner { 25 | max-width: @tooltip-max-width; 26 | padding: 3px 8px; 27 | color: @tooltip-color; 28 | text-align: center; 29 | text-decoration: none; 30 | background-color: @tooltip-bg; 31 | border-radius: @border-radius-base; 32 | } 33 | 34 | // Arrows 35 | .tooltip-arrow { 36 | position: absolute; 37 | width: 0; 38 | height: 0; 39 | border-color: transparent; 40 | border-style: solid; 41 | } 42 | .tooltip { 43 | &.top .tooltip-arrow { 44 | bottom: 0; 45 | left: 50%; 46 | margin-left: -@tooltip-arrow-width; 47 | border-width: @tooltip-arrow-width @tooltip-arrow-width 0; 48 | border-top-color: @tooltip-arrow-color; 49 | } 50 | &.top-left .tooltip-arrow { 51 | bottom: 0; 52 | left: @tooltip-arrow-width; 53 | border-width: @tooltip-arrow-width @tooltip-arrow-width 0; 54 | border-top-color: @tooltip-arrow-color; 55 | } 56 | &.top-right .tooltip-arrow { 57 | bottom: 0; 58 | right: @tooltip-arrow-width; 59 | border-width: @tooltip-arrow-width @tooltip-arrow-width 0; 60 | border-top-color: @tooltip-arrow-color; 61 | } 62 | &.right .tooltip-arrow { 63 | top: 50%; 64 | left: 0; 65 | margin-top: -@tooltip-arrow-width; 66 | border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0; 67 | border-right-color: @tooltip-arrow-color; 68 | } 69 | &.left .tooltip-arrow { 70 | top: 50%; 71 | right: 0; 72 | margin-top: -@tooltip-arrow-width; 73 | border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width; 74 | border-left-color: @tooltip-arrow-color; 75 | } 76 | &.bottom .tooltip-arrow { 77 | top: 0; 78 | left: 50%; 79 | margin-left: -@tooltip-arrow-width; 80 | border-width: 0 @tooltip-arrow-width @tooltip-arrow-width; 81 | border-bottom-color: @tooltip-arrow-color; 82 | } 83 | &.bottom-left .tooltip-arrow { 84 | top: 0; 85 | left: @tooltip-arrow-width; 86 | border-width: 0 @tooltip-arrow-width @tooltip-arrow-width; 87 | border-bottom-color: @tooltip-arrow-color; 88 | } 89 | &.bottom-right .tooltip-arrow { 90 | top: 0; 91 | right: @tooltip-arrow-width; 92 | border-width: 0 @tooltip-arrow-width @tooltip-arrow-width; 93 | border-bottom-color: @tooltip-arrow-color; 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # ============================================= 2 | # Build config 3 | # ============================================= 4 | 5 | root: _gh_pages 6 | dest: <%= site.root %> 7 | assets: <%= site.dest %>/assets 8 | 9 | # Data 10 | data: templates/_data 11 | 12 | # Templates 13 | templates: templates 14 | includes: <%= site.templates %>/_includes/*.hbs 15 | layouts: <%= site.templates %>/_layouts 16 | layout: default.hbs 17 | pages: <%= site.templates %>/pages 18 | 19 | # Extensions 20 | helpers: <%= site.templates %>/helpers/*.js 21 | plugins: 22 | - assemble-contrib-anchors 23 | - assemble-contrib-wordcount 24 | - assemble-contrib-toc 25 | 26 | # Theme 27 | theme: theme 28 | 29 | 30 | # ============================================= 31 | # Project metadata 32 | # ============================================= 33 | 34 | author: Jon Schlinkert # change to <%= pkg.author.name %> or <%= pkg.author %> 35 | 36 | # Assemble metadata. 37 | assemble: 38 | latest: 0.4.33 # change to <%= pkg.version %> 39 | 40 | # GitHub 41 | username: assemble 42 | name: assemble # change to <%= pkg.name %> 43 | download: 44 | source: <%= pkg.homepage %>/archive/master.zip 45 | 46 | 47 | # ============================================= 48 | # Site metadata 49 | # ============================================= 50 | 51 | brand: ASSEMBLE 52 | title: BOILERPLATE 53 | lead: The most awe inspiring static site boilerplate in Northern Kentucky. 54 | keywords: <%= pkg.keywords %> 55 | 56 | version: <%= pkg.version %> 57 | description: <%= pkg.description %> 58 | license: 59 | type: <%= pkg.licenses[0].type %> 60 | url: <%= pkg.licenses[0].url %> 61 | 62 | 63 | 64 | # SEO/SEM 65 | ga: 66 | id: UA-35547601-2 67 | domain: false 68 | siteid: false 69 | tags: false 70 | 71 | 72 | # Links 73 | url: 74 | repo: <%= pkg.homepage %> 75 | bugs: <%= pkg.bugs.url %>?state=open 76 | ghpages: https://<%= site.username %>.github.io/<%= pkg.name %>/ 77 | 78 | # Site 79 | domain: http://assemble.io/ 80 | about: <%= site.url.domain %>/about/ 81 | blog: <%= site.url.domain %>/blog/ 82 | 83 | 84 | # Comments 85 | disqus: 86 | enabled: true 87 | shortname: <%= pkg.name %> 88 | 89 | # Social 90 | social: 91 | twitter: 92 | via: assemblejs 93 | username: assemblejs 94 | related: jonschlinkert:Assemble core team. 95 | facebook: false 96 | linkedin: false 97 | gplus: false 98 | hn: false 99 | google: false 100 | 101 | # Sharing 102 | sharing: 103 | twitter: false 104 | facebook: false 105 | gplus: false 106 | hn: false 107 | google: false -------------------------------------------------------------------------------- /theme/bootstrap/list-group.less: -------------------------------------------------------------------------------- 1 | // 2 | // List groups 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | // 8 | // Easily usable on