|
| 1 | +/*! |
| 2 | + * Bootstrap v3.3.5 (http://getbootstrap.com) |
| 3 | + * Copyright 2011-2015 Twitter, Inc. |
| 4 | + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
| 5 | + */ |
| 6 | + |
| 7 | +/****** NOTE: IMPORTANT INFORMATION ABOUT USING THIS FILE *********\ |
| 8 | + * If you are importing this file then use `@import (reference) '..../bootstrap'` |
| 9 | + * ENSURE that you use the (refrerence) |
| 10 | + * WHY? Because otherwise you will import the entire contents of less bootstrap |
| 11 | + * |
| 12 | + * How does this work? |
| 13 | + * All of the bootstrap less elements are namespaced under `#ui-grid-twbs` |
| 14 | + * This prevents the CSS generated using this file from conflicting with a project's |
| 15 | + * import of bootstrap. |
| 16 | + * |
| 17 | + * XXX: Why are so many of these imports commented out? |
| 18 | + * There are several issues with the `extend` function in less. |
| 19 | + * Using extend, even within an import that only has a reference will import that |
| 20 | + * css element. This causes bloat in the distributed css files. |
| 21 | + * Related Issues: |
| 22 | + * https://github.com/less/less.js/issues/1968 |
| 23 | + * https://github.com/less/less.js/issues/1851 |
| 24 | + * |
| 25 | + * If you comment in one of these files you may get much more than css then you want. |
| 26 | + * Only do this sparingly. |
| 27 | + */ |
| 28 | +#ui-grid-twbs { |
| 29 | + // Core variables and mixins |
| 30 | + @import (reference) "@{bootstrapDirectory}/less/variables.less"; |
| 31 | + @import (reference) "@{bootstrapDirectory}/less/mixins.less"; |
| 32 | + |
| 33 | + // Reset and dependencies |
| 34 | + @import (reference) "@{bootstrapDirectory}/less/normalize.less"; |
| 35 | + @import (reference) "@{bootstrapDirectory}/less/print.less"; |
| 36 | + @import (reference) "@{bootstrapDirectory}/less/glyphicons.less"; |
| 37 | + |
| 38 | + // Core CSS |
| 39 | + @import (reference) "@{bootstrapDirectory}/less/scaffolding.less"; |
| 40 | + @import (reference) "@{bootstrapDirectory}/less/code.less"; |
| 41 | + @import (reference) "@{bootstrapDirectory}/less/tables.less"; |
| 42 | + @import (reference) "@{bootstrapDirectory}/less/forms.less"; |
| 43 | + @import (reference) "@{bootstrapDirectory}/less/buttons.less"; |
| 44 | + //@import (reference) "@{bootstrapDirectory}/less/type.less"; |
| 45 | + //@import (reference) "@{bootstrapDirectory}/less/grid.less"; |
| 46 | + |
| 47 | + // Components |
| 48 | + @import (reference) "@{bootstrapDirectory}/less/component-animations.less"; |
| 49 | + @import (reference) "@{bootstrapDirectory}/less/dropdowns.less"; |
| 50 | + @import (reference) "@{bootstrapDirectory}/less/button-groups.less"; |
| 51 | + @import (reference) "@{bootstrapDirectory}/less/input-groups.less"; |
| 52 | + @import (reference) "@{bootstrapDirectory}/less/breadcrumbs.less"; |
| 53 | + @import (reference) "@{bootstrapDirectory}/less/pagination.less"; |
| 54 | + @import (reference) "@{bootstrapDirectory}/less/labels.less"; |
| 55 | + @import (reference) "@{bootstrapDirectory}/less/badges.less"; |
| 56 | + @import (reference) "@{bootstrapDirectory}/less/jumbotron.less"; |
| 57 | + @import (reference) "@{bootstrapDirectory}/less/alerts.less"; |
| 58 | + @import (reference) "@{bootstrapDirectory}/less/progress-bars.less"; |
| 59 | + @import (reference) "@{bootstrapDirectory}/less/media.less"; |
| 60 | + @import (reference) "@{bootstrapDirectory}/less/list-group.less"; |
| 61 | + @import (reference) "@{bootstrapDirectory}/less/responsive-embed.less"; |
| 62 | + @import (reference) "@{bootstrapDirectory}/less/wells.less"; |
| 63 | + @import (reference) "@{bootstrapDirectory}/less/close.less"; |
| 64 | + //@import (reference) "@{bootstrapDirectory}/less/navs.less"; |
| 65 | + //@import (reference) "@{bootstrapDirectory}/less/navbar.less"; |
| 66 | + //@import (reference) "@{bootstrapDirectory}/less/pager.less"; |
| 67 | + //@import (reference) "@{bootstrapDirectory}/less/thumbnails.less"; |
| 68 | + //@import (reference) "@{bootstrapDirectory}/less/panels.less"; |
| 69 | + |
| 70 | + // Components w/ JavaScript |
| 71 | + @import (reference) "@{bootstrapDirectory}/less/tooltip.less"; |
| 72 | + //@import (reference) "@{bootstrapDirectory}/less/modals.less"; |
| 73 | + //@import (reference) "@{bootstrapDirectory}/less/popovers.less"; |
| 74 | + |
| 75 | + // Utility classes |
| 76 | + @import (reference) "@{bootstrapDirectory}/less/utilities.less"; |
| 77 | + //@import (reference) "@{bootstrapDirectory}/less/responsive-utilities.less"; |
| 78 | +} |
0 commit comments