From: Mark Otto Date: Mon, 19 Aug 2013 06:36:36 +0000 (-0700) Subject: simpler customizer files section; adds glyphicons.less X-Git-Tag: v3.0.0~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eddb94fa67550d2b50843bd0c29d1a76c2e1076;p=thirdparty%2Fbootstrap.git simpler customizer files section; adds glyphicons.less --- diff --git a/assets/css/docs.css b/assets/css/docs.css index 9608fc4570..da107292de 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -1032,13 +1032,15 @@ h3[id] { border-bottom: 1px solid #b94441; } .bs-customizer-alert .close { - margin-top: -2px; - color: #fff; - text-shadow: none; + margin-top: -4px; + font-size: 24px; } .bs-customizer-alert p { margin-bottom: 0; } +.bs-customizer-alert .glyphicon { + margin-right: 3px; +} /* diff --git a/assets/js/customizer.js b/assets/js/customizer.js index 039e10d94b..9ecf52ee22 100644 --- a/assets/js/customizer.js +++ b/assets/js/customizer.js @@ -5,6 +5,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 $('
\
\ ×\ +

' + msg + '

' + (err.extract ? '
' + err.extract.join('\n') + '
' : '') + '\
\ @@ -51,7 +52,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 history.replaceState(false, document.title, window.location.origin + window.location.pathname + '?id=' + result.id) }) .error(function(err) { - showError('Error Could not save gist file, configuration not saved.', err) + showError('Ruh roh! Could not save gist file, configuration not saved.', err) }) } @@ -108,7 +109,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 } function generateZip(css, js, complete) { - if (!css && !js) return showError('Error No Bootstrap files selected.', new Error('no Bootstrap')) + if (!css && !js) return showError('Ruh roh! No Bootstrap files selected.', new Error('no Bootstrap')) var zip = new JSZip() @@ -174,7 +175,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 , filename: 'bootstrap.css' }).parse(css, function (err, tree) { if (err) { - return showError('Error Could not parse less files.', err) + return showError('Ruh roh! Could not parse less files.', err) } result = { 'bootstrap.css' : cw + tree.toCSS(), @@ -182,7 +183,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 } }) } catch (err) { - return showError('Error Could not parse less files.', err) + return showError('Ruh roh! Could not parse less files.', err) } return result diff --git a/customize.html b/customize.html index 59b8468949..8810b1ff80 100644 --- a/customize.html +++ b/customize.html @@ -15,25 +15,15 @@ base_url: "../"

Choose which LESS files to compile into your custom build of Bootstrap. Not sure which files to use? Read through the CSS and Components pages in the docs

-

Basics

-

Layout

-
- -
+

Common CSS

-
-
-

Global CSS

+
+ +
-
+
+
-

Utility classes

+

Components

-
- - -

Components

-
-
-

Navigation

+
+ +
-
-
-

Content blocks

-
-
-

Behavioral (requires JS)

-
-
- -
-
-

Media

+
+ +
+

JavaScript components

-
-
-

Miscellaneous

+ +

Utilities

-
-
+ +