bootstrap-sass-rails 2.3.2.1 → 3.0.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -35
- data/app/assets/fonts/twitter/bootstrap/glyphiconshalflings-regular.eot +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphiconshalflings-regular.otf +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphiconshalflings-regular.svg +175 -0
- data/app/assets/fonts/twitter/bootstrap/glyphiconshalflings-regular.ttf +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphiconshalflings-regular.woff +0 -0
- data/app/assets/javascripts/twitter/bootstrap.js +0 -1
- data/app/assets/javascripts/twitter/bootstrap/affix.js +58 -49
- data/app/assets/javascripts/twitter/bootstrap/alert.js +36 -37
- data/app/assets/javascripts/twitter/bootstrap/button.js +41 -39
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +131 -125
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +108 -96
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +72 -87
- data/app/assets/javascripts/twitter/bootstrap/modal.js +149 -155
- data/app/assets/javascripts/twitter/bootstrap/popover.js +60 -59
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +103 -107
- data/app/assets/javascripts/twitter/bootstrap/tab.js +73 -82
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +258 -255
- data/app/assets/javascripts/twitter/bootstrap/transition.js +34 -38
- data/app/assets/stylesheets/twitter/bootstrap.css.scss +21 -21
- data/app/assets/stylesheets/twitter/bootstrap/_accordion.scss +9 -13
- data/app/assets/stylesheets/twitter/bootstrap/_alerts.scss +44 -53
- data/app/assets/stylesheets/twitter/bootstrap/_badges.scss +51 -0
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +7 -9
- data/app/assets/stylesheets/twitter/bootstrap/_button-groups.scss +93 -151
- data/app/assets/stylesheets/twitter/bootstrap/_buttons.scss +94 -162
- data/app/assets/stylesheets/twitter/bootstrap/_carousel.scss +110 -64
- data/app/assets/stylesheets/twitter/bootstrap/_close.scss +9 -8
- data/app/assets/stylesheets/twitter/bootstrap/_code.scss +14 -21
- data/app/assets/stylesheets/twitter/bootstrap/_component-animations.scss +11 -5
- data/app/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +67 -144
- data/app/assets/stylesheets/twitter/bootstrap/_forms.scss +279 -552
- data/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +202 -0
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +194 -12
- data/app/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +29 -0
- data/app/assets/stylesheets/twitter/bootstrap/_labels.scss +46 -0
- data/app/assets/stylesheets/twitter/bootstrap/_list-group.scss +89 -0
- data/app/assets/stylesheets/twitter/bootstrap/_media.scss +8 -8
- data/app/assets/stylesheets/twitter/bootstrap/_mixins.scss +301 -419
- data/app/assets/stylesheets/twitter/bootstrap/_modals.scss +93 -54
- data/app/assets/stylesheets/twitter/bootstrap/_navbar.scss +288 -402
- data/app/assets/stylesheets/twitter/bootstrap/_navs.scss +176 -349
- data/app/assets/stylesheets/twitter/bootstrap/_normalize.scss +396 -0
- data/app/assets/stylesheets/twitter/bootstrap/_pager.scss +45 -34
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +89 -104
- data/app/assets/stylesheets/twitter/bootstrap/_panels.scss +102 -0
- data/app/assets/stylesheets/twitter/bootstrap/_popovers.scss +55 -54
- data/app/assets/stylesheets/twitter/bootstrap/_print.scss +100 -0
- data/app/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +31 -49
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +56 -33
- data/app/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +60 -20
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +132 -177
- data/app/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +20 -32
- data/app/assets/stylesheets/twitter/bootstrap/_tooltip.scss +45 -21
- data/app/assets/stylesheets/twitter/bootstrap/_type.scss +87 -101
- data/app/assets/stylesheets/twitter/bootstrap/_utilities.scss +17 -6
- data/app/assets/stylesheets/twitter/bootstrap/_variables.scss +448 -179
- data/app/assets/stylesheets/twitter/bootstrap/_wells.scss +5 -6
- data/lib/bootstrap/sass/rails/version.rb +1 -1
- data/test/cases/less_to_sass_spec.rb +1 -6
- data/test/cases/usage_css_spec.rb +77 -121
- data/test/cases/usage_js_spec.rb +13 -14
- data/test/dummy/app/assets/stylesheets/individual.css.scss +4 -4
- data/test/dummy/config/application.rb +2 -2
- data/test/dummy/log/test.log +431 -0
- data/test/dummy/tmp/cache/assets/C41/5B0/sprockets%2F095415e1141a435237aa9464752d21fd +1623 -2374
- data/test/dummy/tmp/cache/assets/C83/870/sprockets%2F508e55e1444b44d0187677a51893acf2 +0 -0
- data/test/dummy/tmp/cache/assets/C96/270/sprockets%2F7984a23519ffe6f306f43f447266634f +0 -0
- data/test/dummy/tmp/cache/assets/CA6/110/sprockets%2F272615ec4af76b10339048ca6da44284 +0 -0
- data/test/dummy/tmp/cache/assets/CC3/BF0/sprockets%2F468c709115f67bff62b7bc8c58577018 +0 -0
- data/test/dummy/tmp/cache/assets/CCB/C60/sprockets%2F0b4e89e7ef810989f02643e226d2799f +0 -0
- data/test/dummy/tmp/cache/assets/CD6/5C0/sprockets%2F95516af385b1c218d233ec924c081e2b +0 -0
- data/test/dummy/tmp/cache/assets/CE5/650/sprockets%2F8ab512c9b33ac90e699b73469d71f061 +0 -0
- data/test/dummy/tmp/cache/assets/CE9/E40/sprockets%2F47f8666418cd38da2ff7625f02422b5e +0 -0
- data/test/dummy/tmp/cache/assets/CF1/960/sprockets%2F339a6cb9e577ba950d8b438b9e080577 +0 -0
- data/test/dummy/tmp/cache/assets/CF1/ED0/sprockets%2F9947d52d16da82564b988d16366e3aea +489 -549
- data/test/dummy/tmp/cache/assets/CF9/BF0/sprockets%2F78b40808be290175c2aed7d0223adb10 +0 -0
- data/test/dummy/tmp/cache/assets/CFD/E70/sprockets%2Ff56d388878ed87bc4b45095e1e69542c +0 -0
- data/test/dummy/tmp/cache/assets/D04/3C0/sprockets%2F29d763bd40cc25622b1f04b876a5c3e3 +0 -0
- data/test/dummy/tmp/cache/assets/D07/830/sprockets%2F530e67cd61f082e10b6b1f055ef9e522 +0 -0
- data/test/dummy/tmp/cache/assets/D09/DA0/sprockets%2Fa128ed69035c50db9cf4530f847a232d +0 -0
- data/test/dummy/tmp/cache/assets/D0E/A50/sprockets%2F468261fcdd6da4ae335b6c649407642a +0 -0
- data/test/dummy/tmp/cache/assets/D0F/A00/sprockets%2F217ed4e8ba29d846187e02c07a7d3d16 +0 -0
- data/test/dummy/tmp/cache/assets/D15/460/sprockets%2F5e20cc6d707d604c87f1043fc59ae596 +0 -0
- data/test/dummy/tmp/cache/assets/D16/D10/sprockets%2F333dae5d08f2e7850832ce0c674e9b93 +0 -0
- data/test/dummy/tmp/cache/assets/D22/870/sprockets%2F4b8d9e928e17ed67ff01fa83837080f1 +0 -0
- data/test/dummy/tmp/cache/assets/D2D/360/sprockets%2Fc1ad77232fa01c1626bd87aef06951a2 +0 -0
- data/test/dummy/tmp/cache/assets/D33/070/sprockets%2F032ca4516063b36df778dcc512b8a6dc +0 -0
- data/test/dummy/tmp/cache/assets/D39/1E0/sprockets%2Ff9c833e26cf56e40e203bc1b4219d5c5 +0 -0
- data/test/dummy/tmp/cache/assets/D39/7B0/sprockets%2Fa8690aabd7f00442715ce19dd5c9b354 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f +0 -0
- data/test/dummy/tmp/cache/assets/D49/BC0/sprockets%2F93df722705d460d54cacae968beb8790 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D52/080/sprockets%2F02ef730a09ca2dd5d1051d492825abaa +0 -0
- data/test/dummy/tmp/cache/assets/D5A/560/sprockets%2Fad87bf89db0c636d2899f3d47eb70838 +0 -0
- data/test/dummy/tmp/cache/assets/D61/DD0/sprockets%2Fb2451cc5a100eae9932abac970808df7 +0 -0
- data/test/dummy/tmp/cache/assets/D70/0D0/sprockets%2F75765d3bfee9346a60198cbb8cdad102 +0 -0
- data/test/dummy/tmp/cache/assets/D73/8E0/sprockets%2F3ca5f1e3af1278de20d8dd955c57c294 +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +1093 -1435
- data/test/dummy/tmp/cache/assets/D91/080/sprockets%2Fbcca522c6302f184f12fe0e8a7d7e71a +0 -0
- data/test/dummy/tmp/cache/assets/D99/2D0/sprockets%2F9d2cc0bcc83c5c5dd8129271fc88aa04 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/300/sprockets%2Fc13fc73ceafa45876a901b3e775b83ae +0 -0
- data/test/dummy/tmp/cache/assets/DA5/5E0/sprockets%2F5ce12bd3f860cef43ffd6737c98d106a +0 -0
- data/test/dummy/tmp/cache/assets/DAE/6A0/sprockets%2Fe416a2a891a5f97fddb97ecc762f95a1 +0 -0
- data/test/dummy/tmp/cache/assets/DD5/C90/sprockets%2Fd55fb0d1a6d0ea7096cf7ffcb66752f6 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DFF/EA0/sprockets%2Fc05f92ff4e2fa5eadcfe9d3d151047f3 +0 -0
- data/test/dummy/tmp/cache/assets/E02/BF0/sprockets%2F136aca6e9aaec765cd78a28a2bcb79e7 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E1D/200/sprockets%2Faaff0ad50df12a7ad76ce7b32d377e0b +0 -0
- data/test/dummy/tmp/cache/assets/E22/B10/sprockets%2Fec73dbc745e21ceda62ae0b9d41b4ed5 +152 -158
- data/test/dummy/tmp/cache/assets/E3A/D90/sprockets%2Fce0dbefdb4416ebc42589ecdbf7d7857 +0 -0
- data/test/dummy/tmp/cache/assets/E5F/300/sprockets%2F243a2fff0dbb8aeec3dd579b4ff7c81b +1624 -2374
- data/test/dummy/tmp/cache/assets/test/sass/8f72aeff1178075699c0d6fdead3bf4e974c0ea8/bootstrap.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9f022039bcde6dbfad5a4cecd880da08604928b6/individual.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_badges.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_close.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_code.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_glyphicons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_jumbotron.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_list-group.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_media.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_normalize.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_print.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_responsive-utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/cfad29a224e7f58382c29443f9b09f2fd1187615/_wells.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/02ef730a09ca2dd5d1051d492825abaa +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/032ca4516063b36df778dcc512b8a6dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b4e89e7ef810989f02643e226d2799f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/136aca6e9aaec765cd78a28a2bcb79e7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/17944d87edb3d6c919fabddafa06e625 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/19646e859b697be7dd414259f4f9ff62 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1ac94a8529fe0f023d8a7793a71c9ee1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/217ed4e8ba29d846187e02c07a7d3d16 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/22c8366fdbaaa2872b202dfe7376629f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/272615ec4af76b10339048ca6da44284 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/29d763bd40cc25622b1f04b876a5c3e3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/333dae5d08f2e7850832ce0c674e9b93 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/339a6cb9e577ba950d8b438b9e080577 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/3ca5f1e3af1278de20d8dd955c57c294 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/468261fcdd6da4ae335b6c649407642a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/468c709115f67bff62b7bc8c58577018 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/47f8666418cd38da2ff7625f02422b5e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4a73849355d6fd23920426e6beee0670 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4b8d9e928e17ed67ff01fa83837080f1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/508e55e1444b44d0187677a51893acf2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/530e67cd61f082e10b6b1f055ef9e522 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5ce12bd3f860cef43ffd6737c98d106a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5e20cc6d707d604c87f1043fc59ae596 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/657e02950f485b10525c2247b3d43a97 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/70398c32ae5ccaa657b2b8ab8aafd095 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/75765d3bfee9346a60198cbb8cdad102 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/78b40808be290175c2aed7d0223adb10 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7984a23519ffe6f306f43f447266634f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8ab512c9b33ac90e699b73469d71f061 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/93df722705d460d54cacae968beb8790 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/95516af385b1c218d233ec924c081e2b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9d2cc0bcc83c5c5dd8129271fc88aa04 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a128ed69035c50db9cf4530f847a232d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a8690aabd7f00442715ce19dd5c9b354 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/aaff0ad50df12a7ad76ce7b32d377e0b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ab4b53d2f50152d21a34997eafa92699 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ad87bf89db0c636d2899f3d47eb70838 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b2451cc5a100eae9932abac970808df7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bcca522c6302f184f12fe0e8a7d7e71a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c05f92ff4e2fa5eadcfe9d3d151047f3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c13fc73ceafa45876a901b3e775b83ae +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c1ad77232fa01c1626bd87aef06951a2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ce0dbefdb4416ebc42589ecdbf7d7857 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d55fb0d1a6d0ea7096cf7ffcb66752f6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e416a2a891a5f97fddb97ecc762f95a1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f56d388878ed87bc4b45095e1e69542c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f9c833e26cf56e40e203bc1b4219d5c5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/fad89ee9eff7367c9620338e7e1f8ce1 +0 -0
- data/test/dummy/tmp/cache/sass/56c119ce8b3716a2decf2be77551c309cebe0abe/bootstrap.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/73d26439e044eca0a3af4a431659ef4346a1c77c/individual.css.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_badges.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_close.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_code.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_glyphicons.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_jumbotron.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_list-group.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_media.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_normalize.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_print.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_responsive-utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_type.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/sass/e41478386532815a970184a6cca59a0fc53ffa12/_wells.scssc +0 -0
- metadata +303 -25
- data/app/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/twitter/bootstrap/typeahead.js +0 -335
- data/app/assets/stylesheets/twitter/bootstrap-no-sprites.css.scss +0 -62
- data/app/assets/stylesheets/twitter/bootstrap/_hero-unit.scss +0 -26
- data/app/assets/stylesheets/twitter/bootstrap/_labels-badges.scss +0 -84
- data/app/assets/stylesheets/twitter/bootstrap/_layouts.scss +0 -17
- data/app/assets/stylesheets/twitter/bootstrap/_reset.scss +0 -216
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-1200px-min.scss +0 -29
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.scss +0 -193
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-768px-979px.scss +0 -22
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-navbar.scss +0 -189
- data/app/assets/stylesheets/twitter/bootstrap/_responsive.scss +0 -48
- data/app/assets/stylesheets/twitter/bootstrap/_sprites.scss +0 -199
- data/test/dummy/app/assets/stylesheets/no-sprites.css.scss +0 -3
@@ -0,0 +1,89 @@
|
|
1
|
+
//
|
2
|
+
// List groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Base class
|
6
|
+
//
|
7
|
+
// Easily usable on <ul>, <ol>, or <div>.
|
8
|
+
.list-group {
|
9
|
+
// No need to set list-style: none; since .list-group-item is block level
|
10
|
+
margin-bottom: 20px;
|
11
|
+
padding-left: 0; // reset padding because ul and ol
|
12
|
+
background-color: $list-group-bg;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Individual list items
|
16
|
+
// -------------------------
|
17
|
+
|
18
|
+
.list-group-item {
|
19
|
+
position: relative;
|
20
|
+
display: block;
|
21
|
+
padding: 10px 30px 10px 15px;
|
22
|
+
// Place the border on the list items and negative margin up for better styling
|
23
|
+
margin-bottom: -1px;
|
24
|
+
border: 1px solid $list-group-border;
|
25
|
+
|
26
|
+
// Round the first and last items
|
27
|
+
&:first-child {
|
28
|
+
@include border-top-radius($border-radius-base);
|
29
|
+
}
|
30
|
+
&:last-child {
|
31
|
+
margin-bottom: 0;
|
32
|
+
@include border-bottom-radius($border-radius-base);
|
33
|
+
}
|
34
|
+
|
35
|
+
// Align badges within list items
|
36
|
+
> .badge {
|
37
|
+
float: right;
|
38
|
+
margin-right: -15px;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// Custom content options
|
43
|
+
// -------------------------
|
44
|
+
|
45
|
+
.list-group-item-heading {
|
46
|
+
margin-top: 0;
|
47
|
+
margin-bottom: 5px;
|
48
|
+
}
|
49
|
+
.list-group-item-text {
|
50
|
+
margin-bottom: 0;
|
51
|
+
line-height: 1.3;
|
52
|
+
}
|
53
|
+
|
54
|
+
// Linked list items
|
55
|
+
// -------------------------
|
56
|
+
|
57
|
+
// Custom content within linked items
|
58
|
+
a.list-group-item {
|
59
|
+
// Colorize content accordingly
|
60
|
+
.list-group-item-heading {
|
61
|
+
color: $list-group-link-heading-color;
|
62
|
+
}
|
63
|
+
.list-group-item-text {
|
64
|
+
color: $list-group-link-color;
|
65
|
+
}
|
66
|
+
|
67
|
+
// Hover state
|
68
|
+
&:hover,
|
69
|
+
&:focus {
|
70
|
+
text-decoration: none;
|
71
|
+
background-color: $list-group-hover-bg;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Active class on item itself, not parent
|
75
|
+
&.active {
|
76
|
+
z-index: 2; // Place active items above their siblings for proper border styling
|
77
|
+
color: $list-group-active-color;
|
78
|
+
background-color: $list-group-active-bg;
|
79
|
+
border-color: $list-group-active-border;
|
80
|
+
|
81
|
+
// Force color to inherit for custom content
|
82
|
+
.list-group-item-heading {
|
83
|
+
color: inherit;
|
84
|
+
}
|
85
|
+
.list-group-item-text {
|
86
|
+
color: lighten($list-group-active-bg, 40%);
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* Partial: twitter/bootstrap/_media.scss */
|
2
1
|
// Media objects
|
3
2
|
// Source: http://stubbornella.org/content/?p=497
|
4
3
|
// --------------------------------------------------
|
@@ -11,7 +10,6 @@
|
|
11
10
|
.media,
|
12
11
|
.media-body {
|
13
12
|
overflow: hidden;
|
14
|
-
*overflow: visible;
|
15
13
|
zoom: 1;
|
16
14
|
}
|
17
15
|
|
@@ -38,11 +36,13 @@
|
|
38
36
|
// Media image alignment
|
39
37
|
// -------------------------
|
40
38
|
|
41
|
-
.media
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
39
|
+
.media {
|
40
|
+
> .pull-left {
|
41
|
+
margin-right: 10px;
|
42
|
+
}
|
43
|
+
> .pull-right {
|
44
|
+
margin-left: 10px;
|
45
|
+
}
|
46
46
|
}
|
47
47
|
|
48
48
|
|
@@ -51,6 +51,6 @@
|
|
51
51
|
|
52
52
|
// Undo default ul/ol styles
|
53
53
|
.media-list {
|
54
|
-
|
54
|
+
padding-left: 0;
|
55
55
|
list-style: none;
|
56
56
|
}
|
@@ -1,35 +1,33 @@
|
|
1
|
-
/* Partial: twitter/bootstrap/_mixins.scss */
|
2
1
|
//
|
3
2
|
// Mixins
|
4
3
|
// --------------------------------------------------
|
5
4
|
|
6
5
|
|
7
|
-
//
|
8
|
-
//
|
6
|
+
// Utilities
|
7
|
+
// -------------------------
|
9
8
|
|
10
9
|
// Clearfix
|
11
|
-
//
|
12
|
-
//
|
13
|
-
|
14
|
-
|
10
|
+
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
|
11
|
+
//
|
12
|
+
// For modern browsers
|
13
|
+
// 1. The space content is one way to avoid an Opera bug when the
|
14
|
+
// contenteditable attribute is included anywhere else in the document.
|
15
|
+
// Otherwise it causes space to appear at the top and bottom of elements
|
16
|
+
// that are clearfixed.
|
17
|
+
// 2. The use of `table` rather than `block` is only necessary if using
|
18
|
+
// `:before` to contain the top-margins of child elements.
|
19
|
+
@mixin clearfix() {
|
15
20
|
&:before,
|
16
21
|
&:after {
|
17
|
-
|
18
|
-
|
19
|
-
// Fixes Opera/contenteditable bug:
|
20
|
-
// http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
|
21
|
-
line-height: 0;
|
22
|
+
content: " "; /* 1 */
|
23
|
+
display: table; /* 2 */
|
22
24
|
}
|
23
25
|
&:after {
|
24
26
|
clear: both;
|
25
27
|
}
|
26
28
|
}
|
27
|
-
.clearfix {
|
28
|
-
@include clearfix();
|
29
|
-
}
|
30
29
|
|
31
30
|
// Webkit-style focus
|
32
|
-
// ------------------
|
33
31
|
@mixin tab-focus() {
|
34
32
|
// Default
|
35
33
|
outline: thin dotted #333;
|
@@ -39,41 +37,14 @@
|
|
39
37
|
}
|
40
38
|
|
41
39
|
// Center-align a block level element
|
42
|
-
// ----------------------------------
|
43
40
|
@mixin center-block() {
|
44
41
|
display: block;
|
45
42
|
margin-left: auto;
|
46
43
|
margin-right: auto;
|
47
44
|
}
|
48
45
|
|
49
|
-
// IE7 inline-block
|
50
|
-
// ----------------
|
51
|
-
@mixin ie7-inline-block() {
|
52
|
-
*display: inline; /* IE7 inline-block hack */
|
53
|
-
*zoom: 1;
|
54
|
-
}
|
55
|
-
|
56
|
-
// IE7 likes to collapse whitespace on either side of the inline-block elements.
|
57
|
-
// Ems because we're attempting to match the width of a space character. Left
|
58
|
-
// version is for form buttons, which typically come after other elements, and
|
59
|
-
// right version is for icons, which come before. Applying both is ok, but it will
|
60
|
-
// mean that space between those elements will be .6em (~2 space characters) in IE7,
|
61
|
-
// instead of the 1 space in other browsers.
|
62
|
-
@mixin ie7-restore-left-whitespace() {
|
63
|
-
*margin-left: .3em;
|
64
|
-
}
|
65
|
-
|
66
|
-
@mixin ie7-restore-right-whitespace() {
|
67
|
-
*margin-right: .3em;
|
68
|
-
|
69
|
-
&:last-child {
|
70
|
-
*margin-left: 0;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
46
|
// Sizing shortcuts
|
75
|
-
|
76
|
-
@mixin size($height, $width) {
|
47
|
+
@mixin size($width, $height) {
|
77
48
|
width: $width;
|
78
49
|
height: $height;
|
79
50
|
}
|
@@ -82,21 +53,14 @@
|
|
82
53
|
}
|
83
54
|
|
84
55
|
// Placeholder text
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
}
|
90
|
-
&:-ms-input-placeholder {
|
91
|
-
color: $color;
|
92
|
-
}
|
93
|
-
&::-webkit-input-placeholder {
|
94
|
-
color: $color;
|
95
|
-
}
|
56
|
+
@mixin placeholder($color: $input-color-placeholder) {
|
57
|
+
&:-moz-placeholder { color: $color; } // Firefox 4-18
|
58
|
+
&::-moz-placeholder { color: $color; } // Firefox 19+
|
59
|
+
&:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
|
60
|
+
&::-webkit-input-placeholder { color: $color; } // Safari and Chrome
|
96
61
|
}
|
97
62
|
|
98
63
|
// Text overflow
|
99
|
-
// -------------------------
|
100
64
|
// Requires inline-block or block for proper styling
|
101
65
|
@mixin text-overflow() {
|
102
66
|
overflow: hidden;
|
@@ -105,9 +69,8 @@
|
|
105
69
|
}
|
106
70
|
|
107
71
|
// CSS image replacement
|
108
|
-
// -------------------------
|
109
72
|
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
110
|
-
@mixin hide-text {
|
73
|
+
@mixin hide-text() {
|
111
74
|
font: 0/0 a;
|
112
75
|
color: transparent;
|
113
76
|
text-shadow: none;
|
@@ -116,229 +79,100 @@
|
|
116
79
|
}
|
117
80
|
|
118
81
|
|
119
|
-
// FONTS
|
120
|
-
// --------------------------------------------------
|
121
|
-
|
122
|
-
@mixin font-family-serif() {
|
123
|
-
font-family: $serifFontFamily;
|
124
|
-
}
|
125
|
-
@mixin font-family-sans-serif() {
|
126
|
-
font-family: $sansFontFamily;
|
127
|
-
}
|
128
|
-
@mixin font-family-monospace() {
|
129
|
-
font-family: $monoFontFamily;
|
130
|
-
}
|
131
|
-
@mixin font-shorthand($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
132
|
-
font-size: $size;
|
133
|
-
font-weight: $weight;
|
134
|
-
line-height: $lineHeight;
|
135
|
-
}
|
136
|
-
@mixin font-serif($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
137
|
-
@include font-family-serif();
|
138
|
-
@include font-shorthand($size, $weight, $lineHeight);
|
139
|
-
}
|
140
|
-
@mixin font-sans-serif($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
141
|
-
@include font-family-sans-serif();
|
142
|
-
@include font-shorthand($size, $weight, $lineHeight);
|
143
|
-
}
|
144
|
-
@mixin monospace($size: $baseFontSize, $weight: normal, $lineHeight: $baseLineHeight) {
|
145
|
-
@include font-family-monospace();
|
146
|
-
@include font-shorthand($size, $weight, $lineHeight);
|
147
|
-
}
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
// FORMS
|
152
|
-
// --------------------------------------------------
|
153
|
-
|
154
|
-
// Block level inputs
|
155
|
-
@mixin input-block-level {
|
156
|
-
display: block;
|
157
|
-
width: 100%;
|
158
|
-
min-height: $inputHeight; // Make inputs at least the height of their button counterpart
|
159
|
-
@include box-sizing(border-box); // Makes inputs behave like true block-level elements
|
160
|
-
}
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
// Mixin for form field states
|
165
|
-
@mixin formFieldState($textColor: #555, $borderColor: #ccc, $backgroundColor: #f5f5f5) {
|
166
|
-
// Set the text color
|
167
|
-
.control-label,
|
168
|
-
.help-block,
|
169
|
-
.help-inline {
|
170
|
-
color: $textColor;
|
171
|
-
}
|
172
|
-
// Style inputs accordingly
|
173
|
-
.checkbox,
|
174
|
-
.radio,
|
175
|
-
input,
|
176
|
-
select,
|
177
|
-
textarea {
|
178
|
-
color: $textColor;
|
179
|
-
}
|
180
|
-
input,
|
181
|
-
select,
|
182
|
-
textarea {
|
183
|
-
border-color: $borderColor;
|
184
|
-
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
185
|
-
&:focus {
|
186
|
-
border-color: darken($borderColor, 10%);
|
187
|
-
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($borderColor, 20%));
|
188
|
-
}
|
189
|
-
}
|
190
|
-
// Give a small background color for input-prepend/-append
|
191
|
-
.input-prepend .add-on,
|
192
|
-
.input-append .add-on {
|
193
|
-
color: $textColor;
|
194
|
-
background-color: $backgroundColor;
|
195
|
-
border-color: $textColor;
|
196
|
-
}
|
197
|
-
}
|
198
|
-
|
199
|
-
|
200
82
|
|
201
83
|
// CSS3 PROPERTIES
|
202
84
|
// --------------------------------------------------
|
203
85
|
|
204
|
-
//
|
205
|
-
@mixin border-radius($radius) {
|
206
|
-
-webkit-border-radius: $radius;
|
207
|
-
-moz-border-radius: $radius;
|
208
|
-
border-radius: $radius;
|
209
|
-
}
|
210
|
-
|
211
|
-
// Single Corner Border Radius
|
212
|
-
@mixin border-top-left-radius($radius) {
|
213
|
-
-webkit-border-top-left-radius: $radius;
|
214
|
-
-moz-border-radius-topleft: $radius;
|
215
|
-
border-top-left-radius: $radius;
|
216
|
-
}
|
217
|
-
@mixin border-top-right-radius($radius) {
|
218
|
-
-webkit-border-top-right-radius: $radius;
|
219
|
-
-moz-border-radius-topright: $radius;
|
220
|
-
border-top-right-radius: $radius;
|
221
|
-
}
|
222
|
-
@mixin border-bottom-right-radius($radius) {
|
223
|
-
-webkit-border-bottom-right-radius: $radius;
|
224
|
-
-moz-border-radius-bottomright: $radius;
|
225
|
-
border-bottom-right-radius: $radius;
|
226
|
-
}
|
227
|
-
@mixin border-bottom-left-radius($radius) {
|
228
|
-
-webkit-border-bottom-left-radius: $radius;
|
229
|
-
-moz-border-radius-bottomleft: $radius;
|
230
|
-
border-bottom-left-radius: $radius;
|
231
|
-
}
|
232
|
-
|
233
|
-
// Single Side Border Radius
|
86
|
+
// Single side border-radius
|
234
87
|
@mixin border-top-radius($radius) {
|
235
|
-
|
236
|
-
|
88
|
+
border-top-right-radius: $radius;
|
89
|
+
border-top-left-radius: $radius;
|
237
90
|
}
|
238
91
|
@mixin border-right-radius($radius) {
|
239
|
-
|
240
|
-
|
92
|
+
border-bottom-right-radius: $radius;
|
93
|
+
border-top-right-radius: $radius;
|
241
94
|
}
|
242
95
|
@mixin border-bottom-radius($radius) {
|
243
|
-
|
244
|
-
|
96
|
+
border-bottom-right-radius: $radius;
|
97
|
+
border-bottom-left-radius: $radius;
|
245
98
|
}
|
246
99
|
@mixin border-left-radius($radius) {
|
247
|
-
|
248
|
-
|
100
|
+
border-bottom-left-radius: $radius;
|
101
|
+
border-top-left-radius: $radius;
|
249
102
|
}
|
250
103
|
|
251
104
|
// Drop shadows
|
252
|
-
@mixin box-shadow($
|
253
|
-
-webkit-box-shadow: $
|
254
|
-
|
255
|
-
box-shadow: $shadows;
|
105
|
+
@mixin box-shadow($shadow...) {
|
106
|
+
-webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1
|
107
|
+
box-shadow: $shadow;
|
256
108
|
}
|
257
109
|
|
258
110
|
// Transitions
|
259
|
-
@mixin transition($
|
260
|
-
-webkit-transition: $
|
261
|
-
|
262
|
-
-o-transition: $transitions;
|
263
|
-
transition: $transitions;
|
111
|
+
@mixin transition($transition...) {
|
112
|
+
-webkit-transition: $transition;
|
113
|
+
transition: $transition;
|
264
114
|
}
|
265
115
|
@mixin transition-delay($transition-delay) {
|
266
116
|
-webkit-transition-delay: $transition-delay;
|
267
|
-
-moz-transition-delay: $transition-delay;
|
268
|
-
-o-transition-delay: $transition-delay;
|
269
117
|
transition-delay: $transition-delay;
|
270
118
|
}
|
271
119
|
@mixin transition-duration($transition-duration) {
|
272
120
|
-webkit-transition-duration: $transition-duration;
|
273
|
-
-moz-transition-duration: $transition-duration;
|
274
|
-
-o-transition-duration: $transition-duration;
|
275
121
|
transition-duration: $transition-duration;
|
276
122
|
}
|
123
|
+
@mixin transition-transform($transition) {
|
124
|
+
-webkit-transition: -webkit-transform $transition;
|
125
|
+
-moz-transition: -moz-transform $transition;
|
126
|
+
-o-transition: -o-transform $transition;
|
127
|
+
transition: transform $transition;
|
128
|
+
}
|
277
129
|
|
278
130
|
// Transformations
|
279
131
|
@mixin rotate($degrees) {
|
280
132
|
-webkit-transform: rotate($degrees);
|
281
|
-
-moz-transform: rotate($degrees);
|
282
133
|
-ms-transform: rotate($degrees);
|
283
|
-
-o-transform: rotate($degrees);
|
284
134
|
transform: rotate($degrees);
|
285
135
|
}
|
286
136
|
@mixin scale($ratio) {
|
287
137
|
-webkit-transform: scale($ratio);
|
288
|
-
-moz-transform: scale($ratio);
|
289
138
|
-ms-transform: scale($ratio);
|
290
|
-
-o-transform: scale($ratio);
|
291
139
|
transform: scale($ratio);
|
292
140
|
}
|
293
141
|
@mixin translate($x, $y) {
|
294
142
|
-webkit-transform: translate($x, $y);
|
295
|
-
-moz-transform: translate($x, $y);
|
296
143
|
-ms-transform: translate($x, $y);
|
297
|
-
-o-transform: translate($x, $y);
|
298
144
|
transform: translate($x, $y);
|
299
145
|
}
|
300
146
|
@mixin skew($x, $y) {
|
301
147
|
-webkit-transform: skew($x, $y);
|
302
|
-
|
303
|
-
-ms-transform: skewX($x), skewY($y); // See https://github.com/twitter/bootstrap/issues/4885
|
304
|
-
-o-transform: skew($x, $y);
|
148
|
+
-ms-transform: skewX($x) skewY($y); // See https://github.com/twbs/bootstrap/issues/4885
|
305
149
|
transform: skew($x, $y);
|
306
|
-
-webkit-backface-visibility: hidden; // See https://github.com/twitter/bootstrap/issues/5319
|
307
150
|
}
|
308
151
|
@mixin translate3d($x, $y, $z) {
|
309
152
|
-webkit-transform: translate3d($x, $y, $z);
|
310
|
-
-moz-transform: translate3d($x, $y, $z);
|
311
|
-
-o-transform: translate3d($x, $y, $z);
|
312
153
|
transform: translate3d($x, $y, $z);
|
313
154
|
}
|
314
155
|
|
315
156
|
// Backface visibility
|
316
157
|
// Prevent browsers from flickering when using CSS 3D transforms.
|
317
|
-
// Default value is `visible`, but can be changed to `hidden
|
158
|
+
// Default value is `visible`, but can be changed to `hidden`
|
318
159
|
// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
|
319
160
|
@mixin backface-visibility($visibility){
|
320
|
-
|
321
|
-
|
322
|
-
|
161
|
+
-webkit-backface-visibility: $visibility;
|
162
|
+
-moz-backface-visibility: $visibility;
|
163
|
+
backface-visibility: $visibility;
|
323
164
|
}
|
324
|
-
|
165
|
+
|
325
166
|
// Background clipping
|
326
|
-
// Heads up: FF 3.6 and under need "padding" instead of "padding-box"
|
327
167
|
@mixin background-clip($clip) {
|
328
|
-
-webkit-background-clip: $clip;
|
329
|
-
-moz-background-clip: $clip;
|
330
168
|
background-clip: $clip;
|
331
169
|
}
|
332
170
|
|
333
171
|
// Background sizing
|
334
172
|
@mixin background-size($size) {
|
335
|
-
-webkit-background-size: $size;
|
336
|
-
-moz-background-size: $size;
|
337
|
-
-o-background-size: $size;
|
338
173
|
background-size: $size;
|
339
174
|
}
|
340
175
|
|
341
|
-
|
342
176
|
// Box sizing
|
343
177
|
@mixin box-sizing($boxmodel) {
|
344
178
|
-webkit-box-sizing: $boxmodel;
|
@@ -363,14 +197,15 @@
|
|
363
197
|
}
|
364
198
|
|
365
199
|
// CSS3 Content Columns
|
366
|
-
@mixin content-columns($
|
367
|
-
-webkit-column-count: $
|
368
|
-
-moz-column-count: $
|
369
|
-
column-count: $
|
370
|
-
-webkit-column-gap: $
|
371
|
-
-moz-column-gap: $
|
372
|
-
column-gap: $
|
200
|
+
@mixin content-columns($column-count, $column-gap: $grid-gutter-width) {
|
201
|
+
-webkit-column-count: $column-count;
|
202
|
+
-moz-column-count: $column-count;
|
203
|
+
column-count: $column-count;
|
204
|
+
-webkit-column-gap: $column-gap;
|
205
|
+
-moz-column-gap: $column-gap;
|
206
|
+
column-gap: $column-gap;
|
373
207
|
}
|
208
|
+
|
374
209
|
// Optional hyphenation
|
375
210
|
@mixin hyphens($mode: auto) {
|
376
211
|
word-wrap: break-word;
|
@@ -383,88 +218,77 @@
|
|
383
218
|
|
384
219
|
// Opacity
|
385
220
|
@mixin opacity($opacity) {
|
386
|
-
opacity: $opacity
|
387
|
-
filter
|
221
|
+
opacity: $opacity;
|
222
|
+
// IE8 filter
|
223
|
+
$opacity-ie: ($opacity * 100);
|
224
|
+
filter: alpha(opacity=$opacity-ie);
|
388
225
|
}
|
389
226
|
|
390
227
|
|
391
228
|
|
392
|
-
//
|
229
|
+
// GRADIENTS
|
393
230
|
// --------------------------------------------------
|
394
231
|
|
395
|
-
//
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
@mixin gradientBar($primaryColor, $secondaryColor, $textColor: #fff, $textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
|
406
|
-
color: $textColor;
|
407
|
-
text-shadow: $textShadow;
|
408
|
-
@include gradient-vertical($primaryColor, $secondaryColor);
|
409
|
-
border-color: $secondaryColor $secondaryColor darken($secondaryColor, 15%);
|
410
|
-
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
|
411
|
-
}
|
412
|
-
|
413
|
-
// Gradients
|
414
|
-
@mixin gradient-horizontal($startColor: #555, $endColor: #333) {
|
415
|
-
background-color: $endColor;
|
416
|
-
background-image: -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
|
417
|
-
background-image: -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
418
|
-
background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
419
|
-
background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
420
|
-
background-image: linear-gradient(to right, $startColor, $endColor); // Standard, IE10
|
232
|
+
// Horizontal gradient, from left to right
|
233
|
+
//
|
234
|
+
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
235
|
+
// Color stops are not available in IE9 and below.
|
236
|
+
@mixin gradient-horizontal($start-color: #555, $start-percent: 0%, $end-color: #333, $end-percent: 100%) {
|
237
|
+
background-color: $end-color;
|
238
|
+
background-image: -webkit-gradient(linear, $start-percent top, $end-percent top, from($start-color), to($end-color)); // Safari 4+, Chrome 2+
|
239
|
+
background-image: -webkit-linear-gradient(left, color-stop($start-color $start-percent), color-stop($end-color $end-percent)); // Safari 5.1+, Chrome 10+
|
240
|
+
background-image: -moz-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // FF 3.6+
|
241
|
+
background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); // Standard, IE10
|
421
242
|
background-repeat: repeat-x;
|
422
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($
|
423
|
-
}
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
background-
|
243
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($start-color)}, endColorstr=#{ie-hex-str($end-color)}, GradientType=1); // IE9 and down
|
244
|
+
}
|
245
|
+
|
246
|
+
// Vertical gradient, from top to bottom
|
247
|
+
//
|
248
|
+
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
249
|
+
// Color stops are not available in IE9 and below.
|
250
|
+
@mixin gradient-vertical($start-color: #555, $start-percent: 0%, $end-color: #333, $end-percent: 100%) {
|
251
|
+
background-color: $end-color;
|
252
|
+
background-image: -webkit-gradient(linear, left $start-percent, left $end-percent, from($start-color), to($end-color)); // Safari 4+, Chrome 2+
|
253
|
+
background-image: -webkit-linear-gradient(top, $start-color, $start-percent, $end-color, $end-percent); // Safari 5.1+, Chrome 10+
|
254
|
+
background-image: -moz-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // FF 3.6+
|
255
|
+
background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10
|
431
256
|
background-repeat: repeat-x;
|
432
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($
|
257
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($start-color)}, endColorstr=#{ie-hex-str($end-color)}, GradientType=0); // IE9 and down
|
433
258
|
}
|
434
|
-
|
435
|
-
|
259
|
+
|
260
|
+
@mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) {
|
261
|
+
background-color: $end-color;
|
436
262
|
background-repeat: repeat-x;
|
437
|
-
background-image: -
|
438
|
-
background-image: -
|
439
|
-
background-image:
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
background-
|
444
|
-
background-image: -webkit-gradient(left,
|
445
|
-
background-image: -
|
446
|
-
background-image:
|
447
|
-
background-image: -o-linear-gradient(left, $startColor, $midColor $colorStop, $endColor);
|
448
|
-
background-image: linear-gradient(to right, $startColor, $midColor $colorStop, $endColor);
|
263
|
+
background-image: -webkit-linear-gradient($deg, $start-color, $end-color); // Safari 5.1+, Chrome 10+
|
264
|
+
background-image: -moz-linear-gradient($deg, $start-color, $end-color); // FF 3.6+
|
265
|
+
background-image: linear-gradient($deg, $start-color, $end-color); // Standard, IE10
|
266
|
+
}
|
267
|
+
@mixin gradient-horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
|
268
|
+
background-color: mix($mid-color, $end-color, 80%);
|
269
|
+
background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from($start-color), color-stop($color-stop, $mid-color), to($end-color));
|
270
|
+
background-image: -webkit-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
|
271
|
+
background-image: -moz-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
|
272
|
+
background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
|
449
273
|
background-repeat: no-repeat;
|
450
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($
|
451
|
-
}
|
452
|
-
|
453
|
-
|
454
|
-
background-
|
455
|
-
background-image: -webkit-
|
456
|
-
background-image: -
|
457
|
-
background-image: -
|
458
|
-
background-image: linear-gradient($
|
274
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($start-color)}, endColorstr=#{ie-hex-str($end-color)}, GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback
|
275
|
+
}
|
276
|
+
|
277
|
+
@mixin gradient-vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
|
278
|
+
background-color: mix($mid-color, $end-color, 80%);
|
279
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($start-color), color-stop($color-stop, $mid-color), to($end-color));
|
280
|
+
background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
281
|
+
background-image: -moz-linear-gradient(top, $start-color, $mid-color $color-stop, $end-color);
|
282
|
+
background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
459
283
|
background-repeat: no-repeat;
|
460
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($
|
461
|
-
}
|
462
|
-
@mixin gradient-radial($
|
463
|
-
background-color: $
|
464
|
-
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from($
|
465
|
-
background-image: -webkit-radial-gradient(circle, $
|
466
|
-
background-image: -moz-radial-gradient(circle, $
|
467
|
-
background-image:
|
284
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{ie-hex-str($start-color)}, endColorstr=#{ie-hex-str($end-color)}, GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
|
285
|
+
}
|
286
|
+
@mixin gradient-radial($inner-color: #555, $outer-color: #333) {
|
287
|
+
background-color: $outer-color;
|
288
|
+
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from($inner-color), to($outer-color));
|
289
|
+
background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
|
290
|
+
background-image: -moz-radial-gradient(circle, $inner-color, $outer-color);
|
291
|
+
background-image: radial-gradient(circle, $inner-color, $outer-color);
|
468
292
|
background-repeat: no-repeat;
|
469
293
|
}
|
470
294
|
@mixin gradient-striped($color: #555, $angle: 45deg) {
|
@@ -472,67 +296,147 @@
|
|
472
296
|
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
|
473
297
|
background-image: -webkit-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
474
298
|
background-image: -moz-linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
475
|
-
background-image:
|
476
|
-
background-image: linear-gradient($angle, rgba(255,255,255,.15) 25%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, rgba(255,255,255,0) 75%, rgba(255,255,255,0));
|
299
|
+
background-image: linear-gradient($angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
477
300
|
}
|
301
|
+
|
478
302
|
// Reset filters for IE
|
303
|
+
//
|
304
|
+
// When you need to remove a gradient background, don't forget to use this to reset
|
305
|
+
// the IE filter for IE9 and below.
|
479
306
|
@mixin reset-filter() {
|
480
|
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled
|
307
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
481
308
|
}
|
482
309
|
|
483
310
|
|
484
311
|
|
312
|
+
// RETINA IMAGE SUPPORT
|
313
|
+
// --------------------------------------------------
|
314
|
+
|
315
|
+
// Short retina mixin for setting background-image and -size
|
316
|
+
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
|
317
|
+
background-image: url("${file-1x}");
|
318
|
+
|
319
|
+
@media
|
320
|
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
321
|
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
322
|
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
323
|
+
only screen and ( min-device-pixel-ratio: 2),
|
324
|
+
only screen and ( min-resolution: 192dpi),
|
325
|
+
only screen and ( min-resolution: 2dppx) {
|
326
|
+
background-image: url("${file-2x}");
|
327
|
+
background-size: $width-1x $height-1x;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
|
485
332
|
// COMPONENT MIXINS
|
486
333
|
// --------------------------------------------------
|
487
334
|
|
488
335
|
// Horizontal dividers
|
489
336
|
// -------------------------
|
490
337
|
// Dividers (basically an hr) within dropdowns and nav lists
|
491
|
-
@mixin nav-divider($
|
492
|
-
// IE7 needs a set width since we gave a height. Restricting just
|
493
|
-
// to IE7 to keep the 1px left/right space in other browsers.
|
494
|
-
// It is unclear where IE is getting the extra space that we need
|
495
|
-
// to negative-margin away, but so it goes.
|
496
|
-
*width: 100%;
|
338
|
+
@mixin nav-divider($color: #e5e5e5) {
|
497
339
|
height: 1px;
|
498
|
-
margin: (($
|
499
|
-
*margin: -5px 0 5px;
|
340
|
+
margin: (($line-height-computed / 2) - 1) 0;
|
500
341
|
overflow: hidden;
|
501
|
-
background-color: $
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
//
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
color: $textColor;
|
516
|
-
background-color: $endColor;
|
517
|
-
*background-color: darken($endColor, 5%);
|
342
|
+
background-color: $color;
|
343
|
+
}
|
344
|
+
|
345
|
+
// Alerts
|
346
|
+
// -------------------------
|
347
|
+
@mixin alert-variant($background, $border, $text-color) {
|
348
|
+
background-color: $background;
|
349
|
+
border-color: $border;
|
350
|
+
color: $text-color;
|
351
|
+
hr {
|
352
|
+
border-top-color: darken($border, 5%);
|
353
|
+
}
|
354
|
+
.alert-link {
|
355
|
+
color: darken($text-color, 10%);
|
518
356
|
}
|
357
|
+
}
|
519
358
|
|
520
|
-
|
359
|
+
// Button pseudo states
|
360
|
+
// -------------------------
|
361
|
+
// Easily pump out default styles, as well as :hover, :focus, :active,
|
362
|
+
// and disabled options for all buttons
|
363
|
+
@mixin btn-pseudo-states($color, $background, $border) {
|
364
|
+
color: $color;
|
365
|
+
background-color: $background;
|
366
|
+
border-color: $border;
|
367
|
+
|
368
|
+
&:hover,
|
369
|
+
&:focus,
|
521
370
|
&:active,
|
522
371
|
&.active {
|
523
|
-
background-color: darken($
|
372
|
+
background-color: darken($background, 5%);
|
373
|
+
border-color: darken($border, 10%);
|
374
|
+
}
|
375
|
+
|
376
|
+
&.disabled,
|
377
|
+
&[disabled],
|
378
|
+
fieldset[disabled] & {
|
379
|
+
&,
|
380
|
+
&:hover,
|
381
|
+
&:focus,
|
382
|
+
&:active,
|
383
|
+
&.active {
|
384
|
+
background-color: $background;
|
385
|
+
border-color: $border
|
386
|
+
}
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
// Labels
|
391
|
+
// -------------------------
|
392
|
+
@mixin label-variant($color) {
|
393
|
+
background-color: $color;
|
394
|
+
&[href] {
|
395
|
+
&:hover,
|
396
|
+
&:focus {
|
397
|
+
background-color: darken($color, 10%);
|
398
|
+
}
|
524
399
|
}
|
525
400
|
}
|
526
401
|
|
527
402
|
// Navbar vertical align
|
528
403
|
// -------------------------
|
529
404
|
// Vertically center elements in the navbar.
|
530
|
-
// Example: an element has a height of 30px, so write out
|
531
|
-
@mixin
|
532
|
-
margin-top: ($
|
405
|
+
// Example: an element has a height of 30px, so write out `.navbarVerticalAlign(30px);` to calculate the appropriate top margin.
|
406
|
+
@mixin navbar-vertical-align($element-height) {
|
407
|
+
margin-top: (($navbar-height - $element-height) / 2);
|
408
|
+
margin-bottom: (($navbar-height - $element-height) / 2);
|
409
|
+
}
|
410
|
+
|
411
|
+
// Progress bars
|
412
|
+
// -------------------------
|
413
|
+
@mixin progress-bar-variant($color) {
|
414
|
+
background-color: $color;
|
415
|
+
.progress-striped & {
|
416
|
+
@include gradient-striped($color);
|
417
|
+
}
|
533
418
|
}
|
534
419
|
|
420
|
+
// Responsive utilities
|
421
|
+
// -------------------------
|
422
|
+
// More easily include all the states for responsive-utilities.less.
|
423
|
+
@mixin responsive-visibility($class-name) {
|
424
|
+
.#{$class-name} {
|
425
|
+
display: block !important;
|
426
|
+
}
|
427
|
+
tr.#{$class-name} { display: table-row !important; }
|
428
|
+
th.#{$class-name},
|
429
|
+
td.#{$class-name} { display: table-cell !important; }
|
430
|
+
}
|
535
431
|
|
432
|
+
@mixin responsive-invisibility($class-name) {
|
433
|
+
.#{$class-name} {
|
434
|
+
display: none !important;
|
435
|
+
}
|
436
|
+
tr.#{$class-name} { display: none !important; }
|
437
|
+
th.#{$class-name},
|
438
|
+
td.#{$class-name} { display: none !important; }
|
439
|
+
}
|
536
440
|
|
537
441
|
// Grid System
|
538
442
|
// -----------
|
@@ -544,120 +448,98 @@
|
|
544
448
|
@include clearfix();
|
545
449
|
}
|
546
450
|
|
547
|
-
//
|
548
|
-
@mixin
|
549
|
-
|
550
|
-
width: (($gridColumnWidth) * $columnSpan) + ($gridGutterWidth * ($columnSpan - 1)) - 16; // 16 is total padding on left and right of table cells
|
551
|
-
margin-left: 0; // undo default grid column styles
|
552
|
-
}
|
553
|
-
|
554
|
-
// Make a Grid
|
555
|
-
// Use .makeRow and .makeColumn to assign semantic layouts grid system behavior
|
556
|
-
@mixin makeRow() {
|
557
|
-
margin-left: $gridGutterWidth * -1;
|
451
|
+
// Creates a wrapper for a series of columns
|
452
|
+
@mixin make-row() {
|
453
|
+
// Then clear the floated columns
|
558
454
|
@include clearfix();
|
559
|
-
}
|
560
|
-
@mixin makeColumn($columns: 1, $offset: 0) {
|
561
|
-
float: left;
|
562
|
-
margin-left: ($gridColumnWidth * $offset) + ($gridGutterWidth * ($offset - 1)) + ($gridGutterWidth * 2);
|
563
|
-
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
564
|
-
}
|
565
455
|
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
}
|
570
|
-
|
571
|
-
@mixin grid-core-span($gridColumnWidth, $gridGutterWidth, $columns) {
|
572
|
-
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
573
|
-
}
|
574
|
-
|
575
|
-
@mixin grid-core($gridColumnWidth, $gridGutterWidth) {
|
576
|
-
.row {
|
577
|
-
margin-left: $gridGutterWidth * -1;
|
578
|
-
@include clearfix();
|
456
|
+
@media (min-width: $screen-small) {
|
457
|
+
margin-left: ($grid-gutter-width / -2);
|
458
|
+
margin-right: ($grid-gutter-width / -2);
|
579
459
|
}
|
580
460
|
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
margin-
|
461
|
+
// Negative margin nested rows out to align the content of columns
|
462
|
+
.row {
|
463
|
+
margin-left: ($grid-gutter-width / -2);
|
464
|
+
margin-right: ($grid-gutter-width / -2);
|
585
465
|
}
|
466
|
+
}
|
586
467
|
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
468
|
+
// Generate the columns
|
469
|
+
@mixin make-column($columns) {
|
470
|
+
position: relative;
|
471
|
+
// Prevent columns from collapsing when empty
|
472
|
+
min-height: 1px;
|
473
|
+
// Inner gutter via padding
|
474
|
+
padding-left: ($grid-gutter-width / 2);
|
475
|
+
padding-right: ($grid-gutter-width / 2);
|
592
476
|
|
593
|
-
//
|
594
|
-
@
|
595
|
-
|
596
|
-
|
477
|
+
// Calculate width based on number of columns available
|
478
|
+
@media (min-width: $grid-float-breakpoint) {
|
479
|
+
float: left;
|
480
|
+
width: percentage(($columns / $grid-columns));
|
597
481
|
}
|
598
482
|
}
|
599
483
|
|
600
|
-
|
601
|
-
|
602
|
-
|
484
|
+
// Generate the column offsets
|
485
|
+
@mixin make-column-offset($columns) {
|
486
|
+
@media (min-width: $grid-float-breakpoint) {
|
487
|
+
margin-left: percentage(($columns / $grid-columns));
|
488
|
+
}
|
603
489
|
}
|
604
|
-
@mixin
|
605
|
-
|
606
|
-
|
490
|
+
@mixin make-column-push($columns) {
|
491
|
+
@media (min-width: $grid-float-breakpoint) {
|
492
|
+
left: percentage(($columns / $grid-columns));
|
493
|
+
}
|
607
494
|
}
|
608
|
-
@mixin
|
609
|
-
|
610
|
-
|
495
|
+
@mixin make-column-pull($columns) {
|
496
|
+
@media (min-width: $grid-float-breakpoint) {
|
497
|
+
right: percentage(($columns / $grid-columns));
|
498
|
+
}
|
611
499
|
}
|
612
|
-
@mixin grid-fluid($fluidGridColumnWidth, $fluidGridGutterWidth) {
|
613
|
-
.row-fluid {
|
614
|
-
width: 100%;
|
615
|
-
@include clearfix();
|
616
|
-
[class*="span"] {
|
617
|
-
@include input-block-level();
|
618
|
-
float: left;
|
619
|
-
margin-left: $fluidGridGutterWidth;
|
620
|
-
*margin-left: $fluidGridGutterWidth - (.5 / ($gridRowWidth/1px) * 100%);
|
621
|
-
}
|
622
|
-
[class*="span"]:first-child {
|
623
|
-
margin-left: 0;
|
624
|
-
}
|
625
500
|
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
501
|
+
// Generate the small columns
|
502
|
+
@mixin make-small-column($columns) {
|
503
|
+
position: relative;
|
504
|
+
float: left;
|
505
|
+
// Prevent columns from collapsing when empty
|
506
|
+
min-height: 1px;
|
507
|
+
// Inner gutter via padding
|
508
|
+
padding-left: ($grid-gutter-width / 2);
|
509
|
+
padding-right: ($grid-gutter-width / 2);
|
510
|
+
$max-width: ($grid-float-breakpoint - 1);
|
511
|
+
|
512
|
+
// Calculate width based on number of columns available
|
513
|
+
@media (max-width: $max-width) {
|
514
|
+
width: percentage(($columns / $grid-columns));
|
637
515
|
}
|
638
516
|
}
|
639
517
|
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
input,
|
645
|
-
textarea,
|
646
|
-
.uneditable-input {
|
647
|
-
margin-left: 0; // override margin-left from core grid system
|
648
|
-
}
|
518
|
+
// Form validation states
|
519
|
+
//
|
520
|
+
// Used in forms.less to generate the form validation CSS for warnings, errors,
|
521
|
+
// and successes.
|
649
522
|
|
650
|
-
|
651
|
-
|
652
|
-
|
523
|
+
@mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
|
524
|
+
// Color the label and help text
|
525
|
+
.help-block,
|
526
|
+
.control-label {
|
527
|
+
color: $text-color;
|
653
528
|
}
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
529
|
+
// Set the border and box shadow on specific inputs to match
|
530
|
+
.form-control {
|
531
|
+
padding-right: 32px; // to account for the feedback icon
|
532
|
+
border-color: $border-color;
|
533
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
534
|
+
&:focus {
|
535
|
+
border-color: darken($border-color, 10%);
|
536
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%));
|
661
537
|
}
|
662
538
|
}
|
539
|
+
// Set validation states also for addons
|
540
|
+
.input-group-addon {
|
541
|
+
color: $text-color;
|
542
|
+
border-color: $border-color;
|
543
|
+
background-color: $background-color;
|
544
|
+
}
|
663
545
|
}
|