bootstrapped-rails 1.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Rakefile +1 -0
- data/bootstrapped-rails.gemspec +24 -0
- data/lib/.DS_Store +0 -0
- data/lib/bootstrapped-rails.rb +11 -0
- data/lib/bootstrapped-rails/.DS_Store +0 -0
- data/lib/bootstrapped-rails/engine.rb +6 -0
- data/lib/bootstrapped-rails/ie_hex_str.rb +16 -0
- data/lib/bootstrapped-rails/railtie.rb +6 -0
- data/lib/bootstrapped-rails/version.rb +5 -0
- data/vendor/.DS_Store +0 -0
- data/vendor/images/.DS_Store +0 -0
- data/vendor/images/glyphicons-halflings-white.png +0 -0
- data/vendor/images/glyphicons-halflings.png +0 -0
- data/vendor/javascripts/.DS_Store +0 -0
- data/vendor/javascripts/bootstrapped.js +1 -0
- data/vendor/javascripts/bootstrapped/.DS_Store +0 -0
- data/vendor/javascripts/bootstrapped/bootstrap-alert.js +91 -0
- data/vendor/javascripts/bootstrapped/bootstrap-button.js +98 -0
- data/vendor/javascripts/bootstrapped/bootstrap-carousel.js +154 -0
- data/vendor/javascripts/bootstrapped/bootstrap-collapse.js +136 -0
- data/vendor/javascripts/bootstrapped/bootstrap-dropdown.js +92 -0
- data/vendor/javascripts/bootstrapped/bootstrap-modal.js +209 -0
- data/vendor/javascripts/bootstrapped/bootstrap-popover.js +95 -0
- data/vendor/javascripts/bootstrapped/bootstrap-scrollspy.js +125 -0
- data/vendor/javascripts/bootstrapped/bootstrap-tab.js +130 -0
- data/vendor/javascripts/bootstrapped/bootstrap-tooltip.js +270 -0
- data/vendor/javascripts/bootstrapped/bootstrap-transition.js +51 -0
- data/vendor/javascripts/bootstrapped/bootstrap-typeahead.js +271 -0
- data/vendor/stylesheets/.DS_Store +0 -0
- data/vendor/stylesheets/bootstrapped-rails.css +3 -0
- data/vendor/stylesheets/bootstrapped/.DS_Store +0 -0
- data/vendor/stylesheets/bootstrapped/accordion.scss +28 -0
- data/vendor/stylesheets/bootstrapped/alerts.scss +70 -0
- data/vendor/stylesheets/bootstrapped/bootstrap.scss +62 -0
- data/vendor/stylesheets/bootstrapped/breadcrumbs.scss +22 -0
- data/vendor/stylesheets/bootstrapped/button-groups.scss +147 -0
- data/vendor/stylesheets/bootstrapped/buttons.scss +183 -0
- data/vendor/stylesheets/bootstrapped/carousel.scss +121 -0
- data/vendor/stylesheets/bootstrapped/close.scss +18 -0
- data/vendor/stylesheets/bootstrapped/code.scss +44 -0
- data/vendor/stylesheets/bootstrapped/component-animations.scss +18 -0
- data/vendor/stylesheets/bootstrapped/dropdowns.scss +131 -0
- data/vendor/stylesheets/bootstrapped/forms.scss +516 -0
- data/vendor/stylesheets/bootstrapped/grid.scss +8 -0
- data/vendor/stylesheets/bootstrapped/hero-unit.scss +20 -0
- data/vendor/stylesheets/bootstrapped/labels.scss +16 -0
- data/vendor/stylesheets/bootstrapped/layouts.scss +17 -0
- data/vendor/stylesheets/bootstrapped/mixins.scss +511 -0
- data/vendor/stylesheets/bootstrapped/modals.scss +72 -0
- data/vendor/stylesheets/bootstrapped/navbar.scss +292 -0
- data/vendor/stylesheets/bootstrapped/navs.scss +344 -0
- data/vendor/stylesheets/bootstrapped/pager.scss +30 -0
- data/vendor/stylesheets/bootstrapped/pagination.scss +55 -0
- data/vendor/stylesheets/bootstrapped/popovers.scss +49 -0
- data/vendor/stylesheets/bootstrapped/progress-bars.scss +95 -0
- data/vendor/stylesheets/bootstrapped/reset.scss +126 -0
- data/vendor/stylesheets/bootstrapped/responsive.scss +323 -0
- data/vendor/stylesheets/bootstrapped/scaffolding.scss +29 -0
- data/vendor/stylesheets/bootstrapped/sprites.scss +158 -0
- data/vendor/stylesheets/bootstrapped/tables.scss +130 -0
- data/vendor/stylesheets/bootstrapped/thumbnails.scss +35 -0
- data/vendor/stylesheets/bootstrapped/tooltip.scss +35 -0
- data/vendor/stylesheets/bootstrapped/type.scss +217 -0
- data/vendor/stylesheets/bootstrapped/utilities.scss +23 -0
- data/vendor/stylesheets/bootstrapped/variables.scss +99 -0
- data/vendor/stylesheets/bootstrapped/wells.scss +17 -0
- data/vendor/twitter/.gitignore +33 -0
- data/vendor/twitter/LICENSE +13 -0
- data/vendor/twitter/Makefile +59 -0
- data/vendor/twitter/README.md +94 -0
- data/vendor/twitter/docs/assets/bootstrap.zip +0 -0
- data/vendor/twitter/docs/assets/css/bootstrap-responsive.css +567 -0
- data/vendor/twitter/docs/assets/css/bootstrap.css +3365 -0
- data/vendor/twitter/docs/assets/css/docs.css +790 -0
- data/vendor/twitter/docs/assets/ico/bootstrap-apple-114x114.png +0 -0
- data/vendor/twitter/docs/assets/ico/bootstrap-apple-57x57.png +0 -0
- data/vendor/twitter/docs/assets/ico/bootstrap-apple-72x72.png +0 -0
- data/vendor/twitter/docs/assets/ico/favicon.ico +0 -0
- data/vendor/twitter/docs/assets/img/bird.png +0 -0
- data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
- data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
- data/vendor/twitter/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
- data/vendor/twitter/docs/assets/img/browsers.png +0 -0
- data/vendor/twitter/docs/assets/img/example-diagram-01.png +0 -0
- data/vendor/twitter/docs/assets/img/example-diagram-02.png +0 -0
- data/vendor/twitter/docs/assets/img/example-diagram-03.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/bartop.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/fleetio.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/jshint.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/kippt.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/railwayjs.png +0 -0
- data/vendor/twitter/docs/assets/img/example-sites/totalwireframe.png +0 -0
- data/vendor/twitter/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
- data/vendor/twitter/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
- data/vendor/twitter/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
- data/vendor/twitter/docs/assets/img/github-16px.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons-halflings-white.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons-halflings.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/vendor/twitter/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/vendor/twitter/docs/assets/img/grid-18px-masked.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-css3.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-github.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-html5.png +0 -0
- data/vendor/twitter/docs/assets/img/icon-twitter.png +0 -0
- data/vendor/twitter/docs/assets/img/less-logo-large.png +0 -0
- data/vendor/twitter/docs/assets/img/less-small.png +0 -0
- data/vendor/twitter/docs/assets/img/responsive-illustrations.png +0 -0
- data/vendor/twitter/docs/assets/js/README.md +106 -0
- data/vendor/twitter/docs/assets/js/application.js +180 -0
- data/vendor/twitter/docs/assets/js/bootstrap-alert.js +91 -0
- data/vendor/twitter/docs/assets/js/bootstrap-button.js +98 -0
- data/vendor/twitter/docs/assets/js/bootstrap-carousel.js +154 -0
- data/vendor/twitter/docs/assets/js/bootstrap-collapse.js +136 -0
- data/vendor/twitter/docs/assets/js/bootstrap-dropdown.js +92 -0
- data/vendor/twitter/docs/assets/js/bootstrap-modal.js +209 -0
- data/vendor/twitter/docs/assets/js/bootstrap-popover.js +95 -0
- data/vendor/twitter/docs/assets/js/bootstrap-scrollspy.js +125 -0
- data/vendor/twitter/docs/assets/js/bootstrap-tab.js +130 -0
- data/vendor/twitter/docs/assets/js/bootstrap-tooltip.js +270 -0
- data/vendor/twitter/docs/assets/js/bootstrap-transition.js +51 -0
- data/vendor/twitter/docs/assets/js/bootstrap-typeahead.js +271 -0
- data/vendor/twitter/docs/assets/js/google-code-prettify/prettify.css +30 -0
- data/vendor/twitter/docs/assets/js/google-code-prettify/prettify.js +28 -0
- data/vendor/twitter/docs/assets/js/jquery.js +9252 -0
- data/vendor/twitter/docs/base-css.html +1582 -0
- data/vendor/twitter/docs/build/index.js +33 -0
- data/vendor/twitter/docs/build/node_modules/.bin/hulk +93 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/.git_ignore +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/.gitmodules +3 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/LICENSE +177 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/Makefile +62 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/README.md +93 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/bin/hulk +93 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/lib/template.js +233 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/package.json +20 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/index.html +13 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/index.js +848 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec.js +77 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/tools/release.js +74 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
- data/vendor/twitter/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
- data/vendor/twitter/docs/build/package.json +6 -0
- data/vendor/twitter/docs/components.html +1517 -0
- data/vendor/twitter/docs/download.html +362 -0
- data/vendor/twitter/docs/examples.html +145 -0
- data/vendor/twitter/docs/examples/fluid.html +150 -0
- data/vendor/twitter/docs/examples/hero.html +107 -0
- data/vendor/twitter/docs/examples/starter-template.html +77 -0
- data/vendor/twitter/docs/index.html +249 -0
- data/vendor/twitter/docs/javascript.html +1465 -0
- data/vendor/twitter/docs/less.html +795 -0
- data/vendor/twitter/docs/scaffolding.html +438 -0
- data/vendor/twitter/docs/templates/layout.mustache +132 -0
- data/vendor/twitter/docs/templates/pages/base-css.mustache +1468 -0
- data/vendor/twitter/docs/templates/pages/components.mustache +1403 -0
- data/vendor/twitter/docs/templates/pages/download.mustache +248 -0
- data/vendor/twitter/docs/templates/pages/examples.mustache +31 -0
- data/vendor/twitter/docs/templates/pages/index.mustache +136 -0
- data/vendor/twitter/docs/templates/pages/javascript.mustache +1352 -0
- data/vendor/twitter/docs/templates/pages/less.mustache +681 -0
- data/vendor/twitter/docs/templates/pages/scaffolding.mustache +324 -0
- data/vendor/twitter/docs/templates/pages/upgrading.mustache +183 -0
- data/vendor/twitter/docs/upgrading.html +297 -0
- data/vendor/twitter/img/glyphicons-halflings-white.png +0 -0
- data/vendor/twitter/img/glyphicons-halflings.png +0 -0
- data/vendor/twitter/js/README.md +106 -0
- data/vendor/twitter/js/bootstrap-alert.js +91 -0
- data/vendor/twitter/js/bootstrap-button.js +98 -0
- data/vendor/twitter/js/bootstrap-carousel.js +154 -0
- data/vendor/twitter/js/bootstrap-collapse.js +136 -0
- data/vendor/twitter/js/bootstrap-dropdown.js +92 -0
- data/vendor/twitter/js/bootstrap-modal.js +209 -0
- data/vendor/twitter/js/bootstrap-popover.js +95 -0
- data/vendor/twitter/js/bootstrap-scrollspy.js +125 -0
- data/vendor/twitter/js/bootstrap-tab.js +130 -0
- data/vendor/twitter/js/bootstrap-tooltip.js +270 -0
- data/vendor/twitter/js/bootstrap-transition.js +51 -0
- data/vendor/twitter/js/bootstrap-typeahead.js +271 -0
- data/vendor/twitter/js/tests/index.html +49 -0
- data/vendor/twitter/js/tests/unit/bootstrap-alert.js +41 -0
- data/vendor/twitter/js/tests/unit/bootstrap-button.js +54 -0
- data/vendor/twitter/js/tests/unit/bootstrap-collapse.js +25 -0
- data/vendor/twitter/js/tests/unit/bootstrap-dropdown.js +53 -0
- data/vendor/twitter/js/tests/unit/bootstrap-modal.js +85 -0
- data/vendor/twitter/js/tests/unit/bootstrap-popover.js +93 -0
- data/vendor/twitter/js/tests/unit/bootstrap-scrollspy.js +31 -0
- data/vendor/twitter/js/tests/unit/bootstrap-tab.js +45 -0
- data/vendor/twitter/js/tests/unit/bootstrap-tooltip.js +62 -0
- data/vendor/twitter/js/tests/unit/bootstrap-transition.js +13 -0
- data/vendor/twitter/js/tests/unit/bootstrap-typeahead.js +128 -0
- data/vendor/twitter/js/tests/vendor/jquery.js +9252 -0
- data/vendor/twitter/js/tests/vendor/qunit.css +232 -0
- data/vendor/twitter/js/tests/vendor/qunit.js +1510 -0
- data/vendor/twitter/scss/accordion.scss +28 -0
- data/vendor/twitter/scss/alerts.scss +70 -0
- data/vendor/twitter/scss/bootstrap.scss +62 -0
- data/vendor/twitter/scss/breadcrumbs.scss +22 -0
- data/vendor/twitter/scss/button-groups.scss +147 -0
- data/vendor/twitter/scss/buttons.scss +168 -0
- data/vendor/twitter/scss/carousel.scss +121 -0
- data/vendor/twitter/scss/close.scss +18 -0
- data/vendor/twitter/scss/code.scss +44 -0
- data/vendor/twitter/scss/component-animations.scss +18 -0
- data/vendor/twitter/scss/dropdowns.scss +131 -0
- data/vendor/twitter/scss/forms.scss +516 -0
- data/vendor/twitter/scss/grid.scss +8 -0
- data/vendor/twitter/scss/hero-unit.scss +20 -0
- data/vendor/twitter/scss/labels.scss +16 -0
- data/vendor/twitter/scss/layouts.scss +17 -0
- data/vendor/twitter/scss/mixins.scss +500 -0
- data/vendor/twitter/scss/modals.scss +72 -0
- data/vendor/twitter/scss/navbar.scss +292 -0
- data/vendor/twitter/scss/navs.scss +344 -0
- data/vendor/twitter/scss/pager.scss +30 -0
- data/vendor/twitter/scss/pagination.scss +55 -0
- data/vendor/twitter/scss/popovers.scss +49 -0
- data/vendor/twitter/scss/progress-bars.scss +95 -0
- data/vendor/twitter/scss/reset.scss +126 -0
- data/vendor/twitter/scss/responsive.scss +323 -0
- data/vendor/twitter/scss/scaffolding.scss +29 -0
- data/vendor/twitter/scss/sprites.scss +158 -0
- data/vendor/twitter/scss/tables.scss +130 -0
- data/vendor/twitter/scss/thumbnails.scss +35 -0
- data/vendor/twitter/scss/tooltip.scss +35 -0
- data/vendor/twitter/scss/type.scss +217 -0
- data/vendor/twitter/scss/utilities.scss +23 -0
- data/vendor/twitter/scss/variables.scss +99 -0
- data/vendor/twitter/scss/wells.scss +17 -0
- metadata +368 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
/* ===================================================
|
2
|
+
* bootstrap-transition.js v2.0.0
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
4
|
+
* ===================================================
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* ========================================================== */
|
19
|
+
|
20
|
+
!function( $ ) {
|
21
|
+
|
22
|
+
$(function () {
|
23
|
+
|
24
|
+
"use strict"
|
25
|
+
|
26
|
+
/* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
|
27
|
+
* ======================================================= */
|
28
|
+
|
29
|
+
$.support.transition = (function () {
|
30
|
+
var thisBody = document.body || document.documentElement
|
31
|
+
, thisStyle = thisBody.style
|
32
|
+
, support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined
|
33
|
+
|
34
|
+
return support && {
|
35
|
+
end: (function () {
|
36
|
+
var transitionEnd = "TransitionEnd"
|
37
|
+
if ( $.browser.webkit ) {
|
38
|
+
transitionEnd = "webkitTransitionEnd"
|
39
|
+
} else if ( $.browser.mozilla ) {
|
40
|
+
transitionEnd = "transitionend"
|
41
|
+
} else if ( $.browser.opera ) {
|
42
|
+
transitionEnd = "oTransitionEnd"
|
43
|
+
}
|
44
|
+
return transitionEnd
|
45
|
+
}())
|
46
|
+
}
|
47
|
+
})()
|
48
|
+
|
49
|
+
})
|
50
|
+
|
51
|
+
}( window.jQuery )
|
@@ -0,0 +1,271 @@
|
|
1
|
+
/* =============================================================
|
2
|
+
* bootstrap-typeahead.js v2.0.0
|
3
|
+
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
4
|
+
* =============================================================
|
5
|
+
* Copyright 2012 Twitter, Inc.
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
* ============================================================ */
|
19
|
+
|
20
|
+
!function( $ ){
|
21
|
+
|
22
|
+
"use strict"
|
23
|
+
|
24
|
+
var Typeahead = function ( element, options ) {
|
25
|
+
this.$element = $(element)
|
26
|
+
this.options = $.extend({}, $.fn.typeahead.defaults, options)
|
27
|
+
this.matcher = this.options.matcher || this.matcher
|
28
|
+
this.sorter = this.options.sorter || this.sorter
|
29
|
+
this.highlighter = this.options.highlighter || this.highlighter
|
30
|
+
this.$menu = $(this.options.menu).appendTo('body')
|
31
|
+
this.source = this.options.source
|
32
|
+
this.shown = false
|
33
|
+
this.listen()
|
34
|
+
}
|
35
|
+
|
36
|
+
Typeahead.prototype = {
|
37
|
+
|
38
|
+
constructor: Typeahead
|
39
|
+
|
40
|
+
, select: function () {
|
41
|
+
var val = this.$menu.find('.active').attr('data-value')
|
42
|
+
this.$element.val(val)
|
43
|
+
return this.hide()
|
44
|
+
}
|
45
|
+
|
46
|
+
, show: function () {
|
47
|
+
var pos = $.extend({}, this.$element.offset(), {
|
48
|
+
height: this.$element[0].offsetHeight
|
49
|
+
})
|
50
|
+
|
51
|
+
this.$menu.css({
|
52
|
+
top: pos.top + pos.height
|
53
|
+
, left: pos.left
|
54
|
+
})
|
55
|
+
|
56
|
+
this.$menu.show()
|
57
|
+
this.shown = true
|
58
|
+
return this
|
59
|
+
}
|
60
|
+
|
61
|
+
, hide: function () {
|
62
|
+
this.$menu.hide()
|
63
|
+
this.shown = false
|
64
|
+
return this
|
65
|
+
}
|
66
|
+
|
67
|
+
, lookup: function (event) {
|
68
|
+
var that = this
|
69
|
+
, items
|
70
|
+
, q
|
71
|
+
|
72
|
+
this.query = this.$element.val()
|
73
|
+
|
74
|
+
if (!this.query) {
|
75
|
+
return this.shown ? this.hide() : this
|
76
|
+
}
|
77
|
+
|
78
|
+
items = $.grep(this.source, function (item) {
|
79
|
+
if (that.matcher(item)) return item
|
80
|
+
})
|
81
|
+
|
82
|
+
items = this.sorter(items)
|
83
|
+
|
84
|
+
if (!items.length) {
|
85
|
+
return this.shown ? this.hide() : this
|
86
|
+
}
|
87
|
+
|
88
|
+
return this.render(items.slice(0, this.options.items)).show()
|
89
|
+
}
|
90
|
+
|
91
|
+
, matcher: function (item) {
|
92
|
+
return ~item.toLowerCase().indexOf(this.query.toLowerCase())
|
93
|
+
}
|
94
|
+
|
95
|
+
, sorter: function (items) {
|
96
|
+
var beginswith = []
|
97
|
+
, caseSensitive = []
|
98
|
+
, caseInsensitive = []
|
99
|
+
, item
|
100
|
+
|
101
|
+
while (item = items.shift()) {
|
102
|
+
if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item)
|
103
|
+
else if (~item.indexOf(this.query)) caseSensitive.push(item)
|
104
|
+
else caseInsensitive.push(item)
|
105
|
+
}
|
106
|
+
|
107
|
+
return beginswith.concat(caseSensitive, caseInsensitive)
|
108
|
+
}
|
109
|
+
|
110
|
+
, highlighter: function (item) {
|
111
|
+
return item.replace(new RegExp('(' + this.query + ')', 'ig'), function ($1, match) {
|
112
|
+
return '<strong>' + match + '</strong>'
|
113
|
+
})
|
114
|
+
}
|
115
|
+
|
116
|
+
, render: function (items) {
|
117
|
+
var that = this
|
118
|
+
|
119
|
+
items = $(items).map(function (i, item) {
|
120
|
+
i = $(that.options.item).attr('data-value', item)
|
121
|
+
i.find('a').html(that.highlighter(item))
|
122
|
+
return i[0]
|
123
|
+
})
|
124
|
+
|
125
|
+
items.first().addClass('active')
|
126
|
+
this.$menu.html(items)
|
127
|
+
return this
|
128
|
+
}
|
129
|
+
|
130
|
+
, next: function (event) {
|
131
|
+
var active = this.$menu.find('.active').removeClass('active')
|
132
|
+
, next = active.next()
|
133
|
+
|
134
|
+
if (!next.length) {
|
135
|
+
next = $(this.$menu.find('li')[0])
|
136
|
+
}
|
137
|
+
|
138
|
+
next.addClass('active')
|
139
|
+
}
|
140
|
+
|
141
|
+
, prev: function (event) {
|
142
|
+
var active = this.$menu.find('.active').removeClass('active')
|
143
|
+
, prev = active.prev()
|
144
|
+
|
145
|
+
if (!prev.length) {
|
146
|
+
prev = this.$menu.find('li').last()
|
147
|
+
}
|
148
|
+
|
149
|
+
prev.addClass('active')
|
150
|
+
}
|
151
|
+
|
152
|
+
, listen: function () {
|
153
|
+
this.$element
|
154
|
+
.on('blur', $.proxy(this.blur, this))
|
155
|
+
.on('keypress', $.proxy(this.keypress, this))
|
156
|
+
.on('keyup', $.proxy(this.keyup, this))
|
157
|
+
|
158
|
+
if ($.browser.webkit || $.browser.msie) {
|
159
|
+
this.$element.on('keydown', $.proxy(this.keypress, this))
|
160
|
+
}
|
161
|
+
|
162
|
+
this.$menu
|
163
|
+
.on('click', $.proxy(this.click, this))
|
164
|
+
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
165
|
+
}
|
166
|
+
|
167
|
+
, keyup: function (e) {
|
168
|
+
e.stopPropagation()
|
169
|
+
e.preventDefault()
|
170
|
+
|
171
|
+
switch(e.keyCode) {
|
172
|
+
case 40: // down arrow
|
173
|
+
case 38: // up arrow
|
174
|
+
break
|
175
|
+
|
176
|
+
case 9: // tab
|
177
|
+
case 13: // enter
|
178
|
+
if (!this.shown) return
|
179
|
+
this.select()
|
180
|
+
break
|
181
|
+
|
182
|
+
case 27: // escape
|
183
|
+
this.hide()
|
184
|
+
break
|
185
|
+
|
186
|
+
default:
|
187
|
+
this.lookup()
|
188
|
+
}
|
189
|
+
|
190
|
+
}
|
191
|
+
|
192
|
+
, keypress: function (e) {
|
193
|
+
e.stopPropagation()
|
194
|
+
if (!this.shown) return
|
195
|
+
|
196
|
+
switch(e.keyCode) {
|
197
|
+
case 9: // tab
|
198
|
+
case 13: // enter
|
199
|
+
case 27: // escape
|
200
|
+
e.preventDefault()
|
201
|
+
break
|
202
|
+
|
203
|
+
case 38: // up arrow
|
204
|
+
e.preventDefault()
|
205
|
+
this.prev()
|
206
|
+
break
|
207
|
+
|
208
|
+
case 40: // down arrow
|
209
|
+
e.preventDefault()
|
210
|
+
this.next()
|
211
|
+
break
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
, blur: function (e) {
|
216
|
+
var that = this
|
217
|
+
e.stopPropagation()
|
218
|
+
e.preventDefault()
|
219
|
+
setTimeout(function () { that.hide() }, 150)
|
220
|
+
}
|
221
|
+
|
222
|
+
, click: function (e) {
|
223
|
+
e.stopPropagation()
|
224
|
+
e.preventDefault()
|
225
|
+
this.select()
|
226
|
+
}
|
227
|
+
|
228
|
+
, mouseenter: function (e) {
|
229
|
+
this.$menu.find('.active').removeClass('active')
|
230
|
+
$(e.currentTarget).addClass('active')
|
231
|
+
}
|
232
|
+
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
/* TYPEAHEAD PLUGIN DEFINITION
|
237
|
+
* =========================== */
|
238
|
+
|
239
|
+
$.fn.typeahead = function ( option ) {
|
240
|
+
return this.each(function () {
|
241
|
+
var $this = $(this)
|
242
|
+
, data = $this.data('typeahead')
|
243
|
+
, options = typeof option == 'object' && option
|
244
|
+
if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))
|
245
|
+
if (typeof option == 'string') data[option]()
|
246
|
+
})
|
247
|
+
}
|
248
|
+
|
249
|
+
$.fn.typeahead.defaults = {
|
250
|
+
source: []
|
251
|
+
, items: 8
|
252
|
+
, menu: '<ul class="typeahead dropdown-menu"></ul>'
|
253
|
+
, item: '<li><a href="#"></a></li>'
|
254
|
+
}
|
255
|
+
|
256
|
+
$.fn.typeahead.Constructor = Typeahead
|
257
|
+
|
258
|
+
|
259
|
+
/* TYPEAHEAD DATA-API
|
260
|
+
* ================== */
|
261
|
+
|
262
|
+
$(function () {
|
263
|
+
$('body').on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
|
264
|
+
var $this = $(this)
|
265
|
+
if ($this.data('typeahead')) return
|
266
|
+
e.preventDefault()
|
267
|
+
$this.typeahead($this.data())
|
268
|
+
})
|
269
|
+
})
|
270
|
+
|
271
|
+
}( window.jQuery )
|
Binary file
|
Binary file
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// ACCORDION
|
2
|
+
// ---------
|
3
|
+
|
4
|
+
|
5
|
+
// Parent container
|
6
|
+
.accordion {
|
7
|
+
margin-bottom: $baseLineHeight;
|
8
|
+
}
|
9
|
+
|
10
|
+
// Group == heading + body
|
11
|
+
.accordion-group {
|
12
|
+
margin-bottom: 2px;
|
13
|
+
border: 1px solid #e5e5e5;
|
14
|
+
@include border-radius(4px);
|
15
|
+
}
|
16
|
+
.accordion-heading {
|
17
|
+
border-bottom: 0;
|
18
|
+
}
|
19
|
+
.accordion-heading .accordion-toggle {
|
20
|
+
display: block;
|
21
|
+
padding: 8px 15px;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Inner needs the styles because you can't animate properly with any styles on the element
|
25
|
+
.accordion-inner {
|
26
|
+
padding: 9px 15px;
|
27
|
+
border-top: 1px solid #e5e5e5;
|
28
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
// ALERT STYLES
|
2
|
+
// ------------
|
3
|
+
|
4
|
+
// Base alert styles
|
5
|
+
.alert {
|
6
|
+
padding: 8px 35px 8px 14px;
|
7
|
+
margin-bottom: $baseLineHeight;
|
8
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
9
|
+
background-color: $warningBackground;
|
10
|
+
border: 1px solid $warningBorder;
|
11
|
+
@include border-radius(4px);
|
12
|
+
}
|
13
|
+
.alert,
|
14
|
+
.alert-heading {
|
15
|
+
color: $warningText;
|
16
|
+
}
|
17
|
+
|
18
|
+
// Adjust close link position
|
19
|
+
.alert .close {
|
20
|
+
position: relative;
|
21
|
+
top: -2px;
|
22
|
+
right: -21px;
|
23
|
+
line-height: 18px;
|
24
|
+
}
|
25
|
+
|
26
|
+
// Alternate styles
|
27
|
+
// ----------------
|
28
|
+
|
29
|
+
.alert-success {
|
30
|
+
background-color: $successBackground;
|
31
|
+
border-color: $successBorder;
|
32
|
+
}
|
33
|
+
.alert-success,
|
34
|
+
.alert-success .alert-heading {
|
35
|
+
color: $successText;
|
36
|
+
}
|
37
|
+
.alert-danger,
|
38
|
+
.alert-error {
|
39
|
+
background-color: $errorBackground;
|
40
|
+
border-color: $errorBorder;
|
41
|
+
}
|
42
|
+
.alert-danger,
|
43
|
+
.alert-error,
|
44
|
+
.alert-danger .alert-heading,
|
45
|
+
.alert-error .alert-heading {
|
46
|
+
color: $errorText;
|
47
|
+
}
|
48
|
+
.alert-info {
|
49
|
+
background-color: $infoBackground;
|
50
|
+
border-color: $infoBorder;
|
51
|
+
}
|
52
|
+
.alert-info,
|
53
|
+
.alert-info .alert-heading {
|
54
|
+
color: $infoText;
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
// Block alerts
|
59
|
+
// ------------------------
|
60
|
+
.alert-block {
|
61
|
+
padding-top: 14px;
|
62
|
+
padding-bottom: 14px;
|
63
|
+
}
|
64
|
+
.alert-block > p,
|
65
|
+
.alert-block > ul {
|
66
|
+
margin-bottom: 0;
|
67
|
+
}
|
68
|
+
.alert-block p + p {
|
69
|
+
margin-top: 5px;
|
70
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v2.0.0
|
3
|
+
*
|
4
|
+
* Copyright 2012 Twitter, Inc
|
5
|
+
* Licensed under the Apache License v2.0
|
6
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
*
|
8
|
+
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
9
|
+
*/
|
10
|
+
|
11
|
+
// Core variables and mixins
|
12
|
+
@import "variables.scss"; // Modify this for custom colors, font-sizes, etc
|
13
|
+
@import "mixins.scss";
|
14
|
+
|
15
|
+
// CSS Reset
|
16
|
+
@import "reset.scss";
|
17
|
+
|
18
|
+
// Grid system and page structure
|
19
|
+
@import "scaffolding.scss";
|
20
|
+
@import "grid.scss";
|
21
|
+
@import "layouts.scss";
|
22
|
+
|
23
|
+
// Base CSS
|
24
|
+
@import "type.scss";
|
25
|
+
@import "code.scss";
|
26
|
+
@import "forms.scss";
|
27
|
+
@import "tables.scss";
|
28
|
+
|
29
|
+
// Components: common
|
30
|
+
@import "sprites.scss";
|
31
|
+
@import "dropdowns.scss";
|
32
|
+
@import "wells.scss";
|
33
|
+
@import "component-animations.scss";
|
34
|
+
@import "close.scss";
|
35
|
+
|
36
|
+
// Components: Buttons & Alerts
|
37
|
+
@import "buttons.scss";
|
38
|
+
@import "button-groups.scss";
|
39
|
+
@import "alerts.scss"; // Note: alerts share common CSS with buttons and thus have styles in buttons.scss
|
40
|
+
|
41
|
+
// Components: Nav
|
42
|
+
@import "navs.scss";
|
43
|
+
@import "navbar.scss";
|
44
|
+
@import "breadcrumbs.scss";
|
45
|
+
@import "pagination.scss";
|
46
|
+
@import "pager.scss";
|
47
|
+
|
48
|
+
// Components: Popovers
|
49
|
+
@import "modals.scss";
|
50
|
+
@import "tooltip.scss";
|
51
|
+
@import "popovers.scss";
|
52
|
+
|
53
|
+
// Components: Misc
|
54
|
+
@import "thumbnails.scss";
|
55
|
+
@import "labels.scss";
|
56
|
+
@import "progress-bars.scss";
|
57
|
+
@import "accordion.scss";
|
58
|
+
@import "carousel.scss";
|
59
|
+
@import "hero-unit.scss";
|
60
|
+
|
61
|
+
// Utility classes
|
62
|
+
@import "utilities.scss"; // Has to be last to override when necessary
|