diff options
| author | Mark Otto <[email protected]> | 2014-07-07 22:10:22 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-07 22:10:22 -0700 |
| commit | 81b59d35368bc51d361d0352cc92fe99dc580fbf (patch) | |
| tree | 2395d5e79edaaa8c0a7ad82e99931ec895421532 /docs/customize.html | |
| parent | fed2b0f7eb78438eb1b768782b04651881d88740 (diff) | |
| parent | ddee04038f946ac103eb4e70c8eb7adeb2cf563b (diff) | |
| download | bootstrap-81b59d35368bc51d361d0352cc92fe99dc580fbf.tar.xz bootstrap-81b59d35368bc51d361d0352cc92fe99dc580fbf.zip | |
Merge branch 'master' into derp
Conflicts:
docs/_layouts/default.html
docs/assets/css/docs.min.css
docs/assets/css/src/docs.css
docs/assets/js/docs.min.js
docs/assets/js/src/application.js
Diffstat (limited to 'docs/customize.html')
| -rw-r--r-- | docs/customize.html | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/docs/customize.html b/docs/customize.html index 3e29227bb..2e067b8f4 100644 --- a/docs/customize.html +++ b/docs/customize.html @@ -5,6 +5,23 @@ slug: customize lead: Customize Bootstrap's components, Less variables, and jQuery plugins to get your very own version. --- +<!-- less.js isn't IE8-compatible and throws an exception during initialization, so our Blob compatibility check and error messaging code never get called in that case. + So we use a conditional comment instead to inform folks about the lack of IE8 support. + The alert covers up the entire customizer UI. +--> +<!--[if lt IE 9]> + <style> + .bs-customizer, + .bs-docs-sidebar { + display: none; + } + </style> + <div class="alert alert-danger bs-customizer-alert-ie"> + <strong>The Bootstrap Customizer does not support IE9 and below.</strong><br> + Please take a second to <a href="http://browsehappy.com/">upgrade to a more modern browser</a>. + </div> +<![endif]--> + <!-- Customizer form --> <form class="bs-customizer" role="form"> <div class="bs-docs-section" id="less-section"> @@ -58,6 +75,12 @@ lead: Customize Bootstrap's components, Less variables, and jQuery plugins to ge Buttons </label> </div> + <div class="checkbox"> + <label> + <input type="checkbox" checked value="responsive-utilities.less"> + Responsive utilities + </label> + </div> </div><!-- .col-xs-6 .col-sm-4 --> <div class="col-xs-6 col-sm-4"> @@ -88,7 +111,7 @@ lead: Customize Bootstrap's components, Less variables, and jQuery plugins to ge </div> <div class="checkbox"> <label> - <input type="checkbox" checked value="navbar.less" data-dependencies="forms.less,utilities.less,navs.less"> + <input type="checkbox" checked value="navbar.less" data-dependencies="forms.less,navs.less"> Navbar </label> </div> @@ -222,20 +245,6 @@ lead: Customize Bootstrap's components, Less variables, and jQuery plugins to ge Carousel </label> </div> - - <h3>Utilities</h3> - <div class="checkbox"> - <label> - <input type="checkbox" checked value="utilities.less" data-dependents="navbar.less"> - Basic utilities - </label> - </div> - <div class="checkbox"> - <label> - <input type="checkbox" checked value="responsive-utilities.less"> - Responsive utilities - </label> - </div> </div><!-- .col-xs-6 .col-sm-4 --> </div><!-- /.row --> </div> @@ -356,7 +365,7 @@ lead: Customize Bootstrap's components, Less variables, and jQuery plugins to ge <p class="lead">Hooray! Your custom version of Bootstrap is now ready to be compiled. Just click the button below to finish the process.</p> <div class="bs-customize-download"> - <button type="submit" id="btn-compile" class="btn btn-block btn-lg btn-outline" onclick="_gaq.push(['_trackEvent', 'Customize', 'Download', 'Customize and Download']);">Compile and Download</button> + <button type="submit" id="btn-compile" disabled class="btn btn-block btn-lg btn-outline" onclick="ga('send', 'event', 'Customize', 'Download', 'Customize and Download');">Compile and Download</button> </div> </div><!-- /download --> </form> |
