From: Julian Thilo Date: Thu, 23 May 2013 00:30:58 +0000 (+0200) Subject: Bring the customizer up to speed X-Git-Tag: v3.0.0-rc1~324^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7969%2Fhead;p=thirdparty%2Fbootstrap.git Bring the customizer up to speed I reworked the customizer to match the new docs layout and include all newly added variables, etc. Would be glad to keep an eye on Customize and update it as v3 changes. Help blocks in my new version need some more work, too, so this is just a basis. --- diff --git a/docs/_includes/nav-customize.html b/docs/_includes/nav-customize.html new file mode 100644 index 0000000000..5a869659f6 --- /dev/null +++ b/docs/_includes/nav-customize.html @@ -0,0 +1,37 @@ +
  • + LESS components + +
  • +
  • + jQuery plugins +
  • +
  • + LESS variables + +
  • +
  • + Download +
  • \ No newline at end of file diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 638b5485e9..d7d49e1b61 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -31,6 +31,8 @@ {% include nav-components.html %} {% elsif page.slug == "js" %} {% include nav-javascript.html %} + {% elsif page.slug == "customize" %} + {% include nav-customize.html %} {% endif %} diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 9221cac1bd..ddab6ba6a9 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -94,6 +94,29 @@ body { +/* Customize and Download button +-------------------------------------------------- */ + +.bs-customize-download { + text-align:center; +} +.bs-customize-download .btn { + margin-top: 5px; + margin-bottom: 5px; + padding: 18px 24px; + font-size: 21px; + color: #b94a48; + background-color: #fff; + border-color: #b94a48; +} +.bs-customize-download .btn:hover, +.bs-customize-download .btn:active { + color: #fff; + background-color: #b94a48; +} + + + /* Docs pages and sections -------------------------------------------------- */ diff --git a/docs/customize.html b/docs/customize.html index 32a00b441e..6a703e47f7 100644 --- a/docs/customize.html +++ b/docs/customize.html @@ -1,354 +1,1160 @@ --- -layout: customize +layout: default title: Customize and download slug: customize +lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to get your very own version. --- -
    - -
    - - - -
    -
    -
    - -
    -
    - - -
    -
    - -
    - -
    - Customize and Download -

    What's included?

    -

    Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.

    -
    -
    -
    +
    + +

    Hooray! Your custom version of Bootstrap is now ready to be compiled. Just click the button below to finish the process.

    + +
    +

    What's included?

    +

    Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.

    +
    +
    +