]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Use bootstrap.less file order in Customizer 10779/head
authorRoss Allen <reallen@gmail.com>
Tue, 24 Sep 2013 06:29:45 +0000 (23:29 -0700)
committerRoss Allen <reallen@gmail.com>
Tue, 24 Sep 2013 06:33:20 +0000 (23:33 -0700)
commit3663e3700540e08e9168d4066dc17b97554d9732
tree9ebff8e1f973e700b5ab80b1dfcee21783ffcf10
parentb80f58b336cd7a4b59d704ff4c311cbf8edf5e51
Use bootstrap.less file order in Customizer

Appending stylesheets by iterating the `__less` Hash creates an order
that is not the same as 'bootstrap.less'.

Some stylesheets like 'component-animations.less' and 'modals.less' have
selectors with matching specificity, and so file order decides which
style wins. This causes issue #10030 by putting `.fade.in` after
`.modal-backdrop.in` and gives the backdrop a higher opacity than
intended.

This change uses the Less ordering in 'bootstrap.less' to generate the
final stylesheets in the Customizer to make sure customized file
ordering matches the distribution file order.

Fixes #10030
docs-assets/js/customizer.js