bootstrap-more 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +46 -0
  5. data/Rakefile +1 -0
  6. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  7. data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  8. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  9. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  10. data/app/assets/javascripts/bootstrap/affix.js +126 -0
  11. data/app/assets/javascripts/bootstrap/alert.js +98 -0
  12. data/app/assets/javascripts/bootstrap/button.js +109 -0
  13. data/app/assets/javascripts/bootstrap/carousel.js +217 -0
  14. data/app/assets/javascripts/bootstrap/collapse.js +179 -0
  15. data/app/assets/javascripts/bootstrap/dropdown.js +154 -0
  16. data/app/assets/javascripts/bootstrap/modal.js +246 -0
  17. data/app/assets/javascripts/bootstrap/popover.js +117 -0
  18. data/app/assets/javascripts/bootstrap/scrollspy.js +158 -0
  19. data/app/assets/javascripts/bootstrap/tab.js +135 -0
  20. data/app/assets/javascripts/bootstrap/tooltip.js +386 -0
  21. data/app/assets/javascripts/bootstrap/transition.js +56 -0
  22. data/app/assets/javascripts/bootstrap.js +12 -0
  23. data/app/assets/stylesheets/_bootstrap-more.scss +1 -0
  24. data/app/assets/stylesheets/bootstrap/_alerts.scss +67 -0
  25. data/app/assets/stylesheets/bootstrap/_badges.scss +51 -0
  26. data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +23 -0
  27. data/app/assets/stylesheets/bootstrap/_button-groups.scss +260 -0
  28. data/app/assets/stylesheets/bootstrap/_buttons.scss +165 -0
  29. data/app/assets/stylesheets/bootstrap/_carousel.scss +231 -0
  30. data/app/assets/stylesheets/bootstrap/_close.scss +35 -0
  31. data/app/assets/stylesheets/bootstrap/_code.scss +53 -0
  32. data/app/assets/stylesheets/bootstrap/_component-animations.scss +29 -0
  33. data/app/assets/stylesheets/bootstrap/_config.scss +19 -0
  34. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +203 -0
  35. data/app/assets/stylesheets/bootstrap/_forms.scss +371 -0
  36. data/app/assets/stylesheets/bootstrap/_glyphicons.scss +237 -0
  37. data/app/assets/stylesheets/bootstrap/_grid.scss +93 -0
  38. data/app/assets/stylesheets/bootstrap/_input-groups.scss +146 -0
  39. data/app/assets/stylesheets/bootstrap/_jumbotron.scss +40 -0
  40. data/app/assets/stylesheets/bootstrap/_labels.scss +58 -0
  41. data/app/assets/stylesheets/bootstrap/_list-group.scss +95 -0
  42. data/app/assets/stylesheets/bootstrap/_media.scss +56 -0
  43. data/app/assets/stylesheets/bootstrap/_mixins.scss +882 -0
  44. data/app/assets/stylesheets/bootstrap/_modals.scss +132 -0
  45. data/app/assets/stylesheets/bootstrap/_navbar.scss +628 -0
  46. data/app/assets/stylesheets/bootstrap/_navs.scss +262 -0
  47. data/app/assets/stylesheets/bootstrap/_normalize.scss +406 -0
  48. data/app/assets/stylesheets/bootstrap/_pager.scss +55 -0
  49. data/app/assets/stylesheets/bootstrap/_pagination.scss +85 -0
  50. data/app/assets/stylesheets/bootstrap/_panels.scss +172 -0
  51. data/app/assets/stylesheets/bootstrap/_popovers.scss +133 -0
  52. data/app/assets/stylesheets/bootstrap/_print.scss +105 -0
  53. data/app/assets/stylesheets/bootstrap/_progress-bars.scss +92 -0
  54. data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +198 -0
  55. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +119 -0
  56. data/app/assets/stylesheets/bootstrap/_tables.scss +244 -0
  57. data/app/assets/stylesheets/bootstrap/_theme.scss +247 -0
  58. data/app/assets/stylesheets/bootstrap/_thumbnails.scss +32 -0
  59. data/app/assets/stylesheets/bootstrap/_tooltip.scss +95 -0
  60. data/app/assets/stylesheets/bootstrap/_type.scss +279 -0
  61. data/app/assets/stylesheets/bootstrap/_utilities.scss +56 -0
  62. data/app/assets/stylesheets/bootstrap/_variables.scss +665 -0
  63. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  64. data/app/assets/stylesheets/bootstrap/bootstrap.scss +50 -0
  65. data/bootstrap-more.gemspec +23 -0
  66. data/docs/.gitignore +17 -0
  67. data/docs/.ruby-gemset +1 -0
  68. data/docs/.ruby-version +1 -0
  69. data/docs/Gemfile +9 -0
  70. data/docs/README.md +8 -0
  71. data/docs/Rakefile +1 -0
  72. data/docs/config.rb +98 -0
  73. data/docs/index.html.erb +9 -0
  74. data/docs/source/about.html.erb +92 -0
  75. data/docs/source/assets/javascripts/application.js +103 -0
  76. data/docs/source/assets/javascripts/bootstrap.js +12 -0
  77. data/docs/source/assets/javascripts/vendor/.gitkeep +0 -0
  78. data/docs/source/assets/javascripts/vendor/holder.js +404 -0
  79. data/docs/source/assets/javascripts/vendor/ie8-responsive-file-warning.js +12 -0
  80. data/docs/source/assets/stylesheets/_settings.scss +656 -0
  81. data/docs/source/assets/stylesheets/bootstrap.scss +2 -0
  82. data/docs/source/assets/stylesheets/pygments-manni.css +66 -0
  83. data/docs/source/assets/stylesheets/styles.scss +1198 -0
  84. data/docs/source/components.html.erb +3607 -0
  85. data/docs/source/css.html.erb +2585 -0
  86. data/docs/source/customize.html.erb +1715 -0
  87. data/docs/source/getting-started.html.erb +1010 -0
  88. data/docs/source/includes/_ads.erb +1 -0
  89. data/docs/source/includes/_footer.erb +23 -0
  90. data/docs/source/includes/_header.erb +39 -0
  91. data/docs/source/includes/_nav-about.erb +12 -0
  92. data/docs/source/includes/_nav-components.erb +137 -0
  93. data/docs/source/includes/_nav-css.erb +99 -0
  94. data/docs/source/includes/_nav-customize.erb +40 -0
  95. data/docs/source/includes/_nav-getting-started.erb +44 -0
  96. data/docs/source/includes/_nav-javascript.erb +88 -0
  97. data/docs/source/includes/_nav-main.erb +34 -0
  98. data/docs/source/includes/_old-bs-docs.erb +8 -0
  99. data/docs/source/includes/_social-buttons.erb +16 -0
  100. data/docs/source/index.html.erb +17 -0
  101. data/docs/source/javascript.html.erb +1946 -0
  102. data/docs/source/layouts/default.html.erb +75 -0
  103. data/docs/source/layouts/home.html.erb +20 -0
  104. data/docs/source/layouts/layout.html.erb +81 -0
  105. data/lib/bootstrap-more/version.rb +5 -0
  106. data/lib/bootstrap-more.rb +7 -0
  107. metadata +185 -0
@@ -0,0 +1,50 @@
1
+ // Core variables and mixins
2
+ @import "bootstrap/config";
3
+ @import "bootstrap/variables";
4
+ @import "bootstrap/mixins";
5
+
6
+ // Reset
7
+ @import "bootstrap/normalize";
8
+ @import "bootstrap/print";
9
+
10
+ // Core CSS
11
+ @import "bootstrap/scaffolding";
12
+ @import "bootstrap/type";
13
+ @import "bootstrap/code";
14
+ @import "bootstrap/grid";
15
+ @import "bootstrap/tables";
16
+ @import "bootstrap/forms";
17
+ @import "bootstrap/buttons";
18
+
19
+ // Components
20
+ @import "bootstrap/component-animations";
21
+ @import "bootstrap/glyphicons";
22
+ @import "bootstrap/dropdowns";
23
+ @import "bootstrap/button-groups";
24
+ @import "bootstrap/input-groups";
25
+ @import "bootstrap/navs";
26
+ @import "bootstrap/navbar";
27
+ @import "bootstrap/breadcrumbs";
28
+ @import "bootstrap/pagination";
29
+ @import "bootstrap/pager";
30
+ @import "bootstrap/labels";
31
+ @import "bootstrap/badges";
32
+ @import "bootstrap/jumbotron";
33
+ @import "bootstrap/thumbnails";
34
+ @import "bootstrap/alerts";
35
+ @import "bootstrap/progress-bars";
36
+ @import "bootstrap/media";
37
+ @import "bootstrap/list-group";
38
+ @import "bootstrap/panels";
39
+ @import "bootstrap/wells";
40
+ @import "bootstrap/close";
41
+
42
+ // Components w/ JavaScript
43
+ @import "bootstrap/modals";
44
+ @import "bootstrap/tooltip";
45
+ @import "bootstrap/popovers";
46
+ @import "bootstrap/carousel";
47
+
48
+ // Utility classes
49
+ @import "bootstrap/utilities";
50
+ @import "bootstrap/responsive-utilities";
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'bootstrap-more/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "bootstrap-more"
8
+ gem.version = Bootstrap::More::VERSION
9
+ gem.authors = ["Cristian Ferrari"]
10
+ gem.email = ["cristianferrarig@gmail.com"]
11
+ gem.description = %q{Bootstrap More provides the Bootstrap Framework with some special flavors as a rails engine.}
12
+ gem.summary = %q{Bootstrap with some special flavors as a rails engine}
13
+ gem.homepage = ""
14
+ gem.license = "MIT"
15
+
16
+ gem.files = `git ls-files`.split($/)
17
+ gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
+ gem.require_paths = ["lib"]
20
+
21
+ gem.add_development_dependency "bundler", "~> 1.3"
22
+ gem.add_development_dependency "rake"
23
+ end
data/docs/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile ~/.gitignore_global
6
+
7
+ # Ignore bundler config
8
+ /.bundle
9
+
10
+ # Ignore the build directory
11
+ /build
12
+
13
+ # Ignore Sass' cache
14
+ /.sass-cache
15
+
16
+ .DS_Store
17
+ /_gh_pages
data/docs/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ middleman
@@ -0,0 +1 @@
1
+ 1.9.3-p448
data/docs/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # If you have OpenSSL installed, we recommend updating
2
+ # the following line to use "https"
3
+ source 'http://rubygems.org'
4
+
5
+ gem "middleman", "~>3.2.0"
6
+ gem "middleman-livereload", "~> 3.1.0"
7
+ gem 'middleman-gh-pages'
8
+
9
+ gem "bootstrap-more", path: "../../bootstrap-more"
data/docs/README.md ADDED
@@ -0,0 +1,8 @@
1
+
2
+ ### Next steps:
3
+
4
+ * Install middleman gem:
5
+
6
+ $ gem install middleman
7
+ $ bundle install
8
+ $ bundle exec middleman server
data/docs/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'middleman-gh-pages'
data/docs/config.rb ADDED
@@ -0,0 +1,98 @@
1
+ ###
2
+ # Compass
3
+ ###
4
+
5
+ # Susy grids in Compass
6
+ # First: gem install susy
7
+ # require 'susy'
8
+
9
+ # Change Compass configuration
10
+ compass_config do |config|
11
+ # routes for stylesheets directories at build mode
12
+ config.sass_options = {
13
+ # config.output_style = :compact,
14
+ :output_style => :nested,
15
+ :images_dir => 'assets/images',
16
+ :fonts_dir => 'assets/fonts'
17
+ }
18
+ end
19
+
20
+ ###
21
+ # Page options, layouts, aliases and proxies
22
+ ###
23
+
24
+ # Per-page layout changes:
25
+ #
26
+ # With no layout
27
+ # page "/path/to/file.html", :layout => false
28
+ #
29
+ # With alternative layout
30
+ # page "/path/to/file.html", :layout => :otherlayout
31
+ #
32
+ # A path which all have the same layout
33
+ # with_layout :admin do
34
+ # page "/admin/*"
35
+ # end
36
+
37
+ # Proxy (fake) files
38
+ # page "/this-page-has-no-template.html", :proxy => "/template-file.html" do
39
+ # @which_fake_page = "Rendering a fake page with a variable"
40
+ # end
41
+
42
+ ###
43
+ # Helpers
44
+ ###
45
+
46
+ # Automatic image dimensions on image_tag helper
47
+ # activate :automatic_image_sizes
48
+
49
+ # Methods defined in the helpers block are available in templates
50
+ # helpers do
51
+ # def some_helper
52
+ # "Helping"
53
+ # end
54
+ # end
55
+
56
+ set :css_dir, 'assets/stylesheets'
57
+ set :js_dir, 'assets/javascripts'
58
+ set :images_dir, 'assets/images'
59
+ set :fonts_dir, 'assets/fonts'
60
+
61
+ activate :directory_indexes
62
+ activate :livereload
63
+
64
+
65
+ # Development-specific configuration
66
+ configure :development do
67
+ set :debug_assets, true
68
+ end
69
+
70
+
71
+ # Build-specific configuration
72
+ configure :build do
73
+ # ignore 'images/*.psd'
74
+ # ignore 'stylesheets/lib/*'
75
+ # ignore 'stylesheets/vendor/*'
76
+ # ignore 'javascripts/lib/*'
77
+ # ignore 'javascripts/vendor/*'
78
+
79
+ # For example, change the Compass output style for deployment
80
+ activate :minify_css
81
+
82
+ # Minify Javascript on build
83
+ activate :minify_javascript
84
+
85
+ # Enable cache buster
86
+ # activate :cache_buster
87
+
88
+ # Use relative URLs
89
+ activate :relative_assets
90
+
91
+ # Compress PNGs after build
92
+ # First: gem install middleman-smusher
93
+ # require "middleman-smusher"
94
+ # activate :smusher
95
+
96
+ # Or use a different image path
97
+ # set :http_path, "/Content/images/"
98
+ end
@@ -0,0 +1,9 @@
1
+ ---
2
+ title: Middleman is Watching
3
+ body_class: index
4
+ ---
5
+
6
+ .welcome
7
+ %h1 Middleman is Watching
8
+ %p.doc
9
+ = link_to 'Read Online Documentation', 'http://middlemanapp.com/', title: 'Read Online Documentation', target: '_blank'
@@ -0,0 +1,92 @@
1
+ ---
2
+ layout: default
3
+ title: About
4
+ slug: about
5
+ lead: "Learn about the history of Bootstrap, meet the core team, and check out the ever-growing community resources."
6
+ base_url: "../"
7
+ ---
8
+
9
+ <!-- History
10
+ ================================================== -->
11
+ <div class="bs-docs-section">
12
+ <div class="page-header">
13
+ <h1 id="history">History</h1>
14
+ </div>
15
+ <p class="lead">Originally created by a designer and a developer at Twitter, Bootstrap has become one of the most popular front-end frameworks and open source projects in the world.</p>
16
+ <p>Bootstrap was created at Twitter in mid-2010 by <a href="https://twitter.com/mdo">@mdo</a> and <a href="https://twitter.com/fat">@fat</a>. Prior to being an open-sourced framework, Bootstrap was known as <em>Twitter Blueprint</em>. A few months into development, Twitter held its <a href="https://blog.twitter.com/2010/hack-week">first Hack Week</a> and the project exploded as developers of all skill levels jumped in without any external guidance. It served as the style guide for internal tools development at the company for over a year before its public release, and continues to do so today.</p>
17
+ <p>Originally <a href="https://dev.twitter.com/blog/bootstrap-twitter">released</a> on <a href="https://twitter.com/mdo/statuses/104620039650557952"><time datetime="2011-08-19 11:25">Friday, August 19, 2011</time></a>, we've since had over <a href="https://github.com/twbs/bootstrap/releases">twenty releases</a>, including two major rewrites with v2 and v3. With Bootstrap 2, we added responsive functionality to the entire framework as an optional stylesheet. Building on that with Bootstrap 3, we rewrote the library once more to make it responsive by default with a mobile first approach.</p>
18
+ </div>
19
+
20
+
21
+ <!-- Team
22
+ ================================================== -->
23
+ <div class="bs-docs-section">
24
+ <div class="page-header">
25
+ <h1 id="team">Core team</h1>
26
+ </div>
27
+ <p class="lead">Bootstrap is maintained by the founding team and a small group of invaluable core contributors, with the massive support and involvement of our community.</p>
28
+ <div class="list-group bs-team">
29
+ <div class="list-group-item">
30
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=mdo&amp;type=follow"></iframe>
31
+ <a class="team-member" href="https://github.com/mdo">
32
+ <img src="http://www.gravatar.com/avatar/bc4ab438f7a4ce1c406aadc688427f2c" alt="@mdo">
33
+ <strong>Mark Otto</strong> <small>@mdo</small>
34
+ </a>
35
+ </div>
36
+ <div class="list-group-item">
37
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=fat&amp;type=follow"></iframe>
38
+ <a class="team-member" href="https://github.com/fat">
39
+ <img src="http://www.gravatar.com/avatar/a98244cbdacaf1c0b55499466002f7a8" alt="@fat">
40
+ <strong>Jacob Thornton</strong> <small>@fat</small>
41
+ </a>
42
+ </div>
43
+ <div class="list-group-item">
44
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=cvrebert&amp;type=follow"></iframe>
45
+ <a class="team-member" href="https://github.com/cvrebert">
46
+ <img src="http://www.gravatar.com/avatar/edec428c425453955f770095a7d26c50" alt="@cvrebert">
47
+ <strong>Chris Rebert</strong> <small>@cvrebert</small>
48
+ </a>
49
+ </div>
50
+ <div class="list-group-item">
51
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=juthilo&amp;type=follow"></iframe>
52
+ <a class="team-member" href="https://github.com/juthilo">
53
+ <img src="http://www.gravatar.com/avatar/0f7dd3ce58a416be5685ea6194f82b11" alt="@juthilo">
54
+ <strong>Julian Thilo</strong> <small>@juthilo</small>
55
+ </a>
56
+ </div>
57
+ </div>
58
+ <p>Get involved with Bootstrap development by <a href="https://github.com/twbs/bootstrap/issues/new">opening an issue</a> or submitting a pull request. Read our <a href="https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md">contributing guidelines</a> for information on how we develop.</p>
59
+ </div>
60
+
61
+
62
+ <!-- Community
63
+ ================================================== -->
64
+ <div class="bs-docs-section">
65
+ <div class="page-header">
66
+ <h1 id="community">Community</h1>
67
+ </div>
68
+ <p class="lead">Stay up to date on the development of Bootstrap and reach out to the community with these helpful resources.</p>
69
+ <ul>
70
+ <li>Read and subscribe to <a href="http://blog.getbootstrap.com/">The Official Bootstrap Blog</a>.</li>
71
+ <li>Have a question that's not a feature request or bug report? <a href="http://groups.google.com/group/twitter-bootstrap">Ask on the mailing list.</a></li>
72
+ <li>Chat with fellow Bootstrappers using IRC in the <code>irc.freenode.net</code> server, in the <a href="irc://irc.freenode.net/#twitter-bootstrap">##twitter-bootstrap channel</a>.</li>
73
+ <li>Find inspiring examples of people building with Bootstrap at the <a href="http://expo.getbootstrap.com">Bootstrap Expo</a>.</li>
74
+ </ul>
75
+ <p>You can also follow <a href="https://twitter.com/twbootstrap">@twbootstrap on Twitter</a> for the latest gossip and awesome music videos.</p>
76
+ </div>
77
+
78
+
79
+ <!-- Translations
80
+ ================================================== -->
81
+ <div class="bs-docs-section">
82
+ <div class="page-header">
83
+ <h1 id="translations">Translations</h1>
84
+ </div>
85
+ <p class="lead">Community members have translated Bootstrap's documentation into various langauges. None are officially supported and may not always be up to date.</p>
86
+ <ul>
87
+ <li><a href="http://v3.bootcss.com/">Bootstrap 中文文档 (Chinese)</a></li>
88
+ <li><a href="http://www.oneskyapp.com/docs/bootstrap/ru">Bootstrap по-русски (Russian)</a></li>
89
+ <li><a href="http://www.oneskyapp.com/docs/bootstrap/es">Bootstrap en Español (Spanish)</a></li>
90
+ </ul>
91
+ <p>Have another language to add, or perhaps a different or better translation? Let us know by <a href="https://github.com/twbs/bootstrap/issues/new">opening an issue</a>.</p>
92
+ </div>
@@ -0,0 +1,103 @@
1
+ // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
2
+ // IT'S ALL JUST JUNK FOR OUR DOCS!
3
+ // ++++++++++++++++++++++++++++++++++++++++++
4
+
5
+ /*!
6
+ * Copyright 2013 Twitter, Inc.
7
+ *
8
+ * Licensed under the Creative Commons Attribution 3.0 Unported License. For
9
+ * details, see http://creativecommons.org/licenses/by/3.0/.
10
+ */
11
+
12
+
13
+ !function ($) {
14
+
15
+ $(function(){
16
+
17
+ // IE10 viewport hack for Surface/desktop Windows 8 bug
18
+ //
19
+ // See Getting Started docs for more information
20
+ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
21
+ var msViewportStyle = document.createElement("style");
22
+ msViewportStyle.appendChild(
23
+ document.createTextNode(
24
+ "@-ms-viewport{width:auto!important}"
25
+ )
26
+ );
27
+ document.getElementsByTagName("head")[0].
28
+ appendChild(msViewportStyle);
29
+ }
30
+
31
+
32
+ var $window = $(window)
33
+ var $body = $(document.body)
34
+
35
+ var navHeight = $('.navbar').outerHeight(true) + 10
36
+
37
+ $body.scrollspy({
38
+ target: '.bs-sidebar',
39
+ offset: navHeight
40
+ })
41
+
42
+ $window.on('load', function () {
43
+ $body.scrollspy('refresh')
44
+ })
45
+
46
+ $('.bs-docs-container [href=#]').click(function (e) {
47
+ e.preventDefault()
48
+ })
49
+
50
+ // back to top
51
+ setTimeout(function () {
52
+ var $sideBar = $('.bs-sidebar')
53
+
54
+ $sideBar.affix({
55
+ offset: {
56
+ top: function () {
57
+ var offsetTop = $sideBar.offset().top
58
+ var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10)
59
+ var navOuterHeight = $('.bs-docs-nav').height()
60
+
61
+ return (this.top = offsetTop - navOuterHeight - sideBarMargin)
62
+ }
63
+ , bottom: function () {
64
+ return (this.bottom = $('.bs-footer').outerHeight(true))
65
+ }
66
+ }
67
+ })
68
+ }, 100)
69
+
70
+ setTimeout(function () {
71
+ $('.bs-top').affix()
72
+ }, 100)
73
+
74
+ // tooltip demo
75
+ $('.tooltip-demo').tooltip({
76
+ selector: "[data-toggle=tooltip]",
77
+ container: "body"
78
+ })
79
+
80
+ $('.tooltip-test').tooltip()
81
+ $('.popover-test').popover()
82
+
83
+ $('.bs-docs-navbar').tooltip({
84
+ selector: "a[data-toggle=tooltip]",
85
+ container: ".bs-docs-navbar .nav"
86
+ })
87
+
88
+ // popover demo
89
+ $("[data-toggle=popover]")
90
+ .popover()
91
+
92
+ // button state demo
93
+ $('#fat-btn')
94
+ .click(function () {
95
+ var btn = $(this)
96
+ btn.button('loading')
97
+ setTimeout(function () {
98
+ btn.button('reset')
99
+ }, 3000)
100
+ })
101
+ })
102
+
103
+ }(window.jQuery)
@@ -0,0 +1,12 @@
1
+ //= require bootstrap/affix
2
+ //= require bootstrap/alert
3
+ //= require bootstrap/button
4
+ //= require bootstrap/carousel
5
+ //= require bootstrap/collapse
6
+ //= require bootstrap/dropdown
7
+ //= require bootstrap/tab
8
+ //= require bootstrap/transition
9
+ //= require bootstrap/scrollspy
10
+ //= require bootstrap/modal
11
+ //= require bootstrap/tooltip
12
+ //= require bootstrap/popover
File without changes