sass-twitter-bootstrap 0.1.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{sass-twitter-bootstrap.rb → sass/twitter/bootstrap.rb} +1 -1
- data/lib/sass/twitter/bootstrap/rails.rb +1 -5
- data/lib/sass/twitter/bootstrap/rails/engine.rb +12 -0
- data/lib/sass/twitter/bootstrap/version.rb +1 -1
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap-alert.js +32 -28
- data/vendor/assets/javascripts/twitter/bootstrap-button.js +33 -29
- data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +21 -33
- data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +26 -47
- data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +10 -18
- data/vendor/assets/javascripts/twitter/bootstrap-modal.js +17 -25
- data/vendor/assets/javascripts/twitter/bootstrap-popover.js +10 -13
- data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +18 -44
- data/vendor/assets/javascripts/twitter/bootstrap-tab.js +7 -12
- data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +35 -40
- data/vendor/assets/javascripts/twitter/bootstrap-transition.js +20 -30
- data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +15 -29
- data/vendor/assets/stylesheets/tests/buttons.html +139 -0
- data/vendor/assets/stylesheets/tests/css-tests.css +99 -1
- data/vendor/assets/stylesheets/tests/css-tests.html +519 -37
- data/vendor/assets/stylesheets/tests/forms-responsive.html +71 -0
- data/vendor/assets/stylesheets/tests/navbar-fixed-top.html +104 -0
- data/vendor/assets/stylesheets/tests/navbar-static-top.html +107 -0
- data/vendor/assets/stylesheets/tests/navbar.html +38 -39
- data/vendor/assets/stylesheets/twitter/_accordion.scss +0 -5
- data/vendor/assets/stylesheets/twitter/_alerts.scss +15 -3
- data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +0 -2
- data/vendor/assets/stylesheets/twitter/_button-groups.scss +32 -76
- data/vendor/assets/stylesheets/twitter/_buttons.scss +25 -33
- data/vendor/assets/stylesheets/twitter/_close.scss +1 -12
- data/vendor/assets/stylesheets/twitter/_code.scss +8 -8
- data/vendor/assets/stylesheets/twitter/_component-animations.scss +7 -9
- data/vendor/assets/stylesheets/twitter/_dropdowns.scss +45 -58
- data/vendor/assets/stylesheets/twitter/_forms.scss +146 -206
- data/vendor/assets/stylesheets/twitter/_grid.scss +5 -2
- data/vendor/assets/stylesheets/twitter/_hero-unit.scss +1 -3
- data/vendor/assets/stylesheets/twitter/_labels.scss +32 -0
- data/vendor/assets/stylesheets/twitter/_layouts.scss +2 -2
- data/vendor/assets/stylesheets/twitter/_mixins.scss +208 -273
- data/vendor/assets/stylesheets/twitter/_modals.scss +8 -14
- data/vendor/assets/stylesheets/twitter/_navbar.scss +73 -132
- data/vendor/assets/stylesheets/twitter/_navs.scss +43 -53
- data/vendor/assets/stylesheets/twitter/_pager.scss +0 -6
- data/vendor/assets/stylesheets/twitter/_pagination.scss +0 -1
- data/vendor/assets/stylesheets/twitter/_progress-bars.scss +6 -28
- data/vendor/assets/stylesheets/twitter/_reset.scss +4 -9
- data/vendor/assets/stylesheets/twitter/_scaffolding.scss +8 -4
- data/vendor/assets/stylesheets/twitter/_sprites.scss +7 -40
- data/vendor/assets/stylesheets/twitter/_tables.scss +33 -38
- data/vendor/assets/stylesheets/twitter/_thumbnails.scss +2 -14
- data/vendor/assets/stylesheets/twitter/_tooltip.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_type.scss +14 -28
- data/vendor/assets/stylesheets/twitter/_variables.scss +19 -116
- data/vendor/assets/stylesheets/twitter/_wells.scss +0 -10
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +7 -3
- data/vendor/assets/stylesheets/twitter/responsive.scss +301 -15
- metadata +25 -190
- data/.gitignore +0 -4
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -14
- data/LICENSE +0 -176
- data/Makefile +0 -94
- data/README.md +0 -217
- data/Rakefile +0 -52
- data/bootstrap-2.0.4.css +0 -4661
- data/bootstrap-2.0.4.min.css +0 -9
- data/bootstrap-responsive-2.0.4.css +0 -932
- data/bootstrap-responsive-2.0.4.min.css +0 -9
- data/docs/assets/css/bootstrap-responsive.css +0 -932
- data/docs/assets/css/bootstrap.css +0 -4661
- data/docs/assets/css/docs.css +0 -846
- data/docs/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
- data/docs/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
- data/docs/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
- data/docs/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
- data/docs/assets/ico/favicon.ico +0 -0
- data/docs/assets/img/bird.png +0 -0
- data/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
- data/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
- data/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
- data/docs/assets/img/browsers.png +0 -0
- data/docs/assets/img/example-sites/fleetio.png +0 -0
- data/docs/assets/img/example-sites/jshint.png +0 -0
- data/docs/assets/img/example-sites/kippt.png +0 -0
- data/docs/assets/img/example-sites/soundready.png +0 -0
- data/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
- data/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
- data/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
- data/docs/assets/img/github-16px.png +0 -0
- data/docs/assets/img/glyphicons-halflings-white.png +0 -0
- data/docs/assets/img/glyphicons-halflings.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/docs/assets/img/grid-18px-masked.png +0 -0
- data/docs/assets/img/icon-css3.png +0 -0
- data/docs/assets/img/icon-github.png +0 -0
- data/docs/assets/img/icon-html5.png +0 -0
- data/docs/assets/img/icon-twitter.png +0 -0
- data/docs/assets/img/less-logo-large.png +0 -0
- data/docs/assets/img/less-small.png +0 -0
- data/docs/assets/img/responsive-illustrations.png +0 -0
- data/docs/assets/js/README.md +0 -106
- data/docs/assets/js/application.js +0 -184
- data/docs/assets/js/bootstrap-alert.js +0 -90
- data/docs/assets/js/bootstrap-button.js +0 -96
- data/docs/assets/js/bootstrap-carousel.js +0 -169
- data/docs/assets/js/bootstrap-collapse.js +0 -157
- data/docs/assets/js/bootstrap-dropdown.js +0 -100
- data/docs/assets/js/bootstrap-modal.js +0 -218
- data/docs/assets/js/bootstrap-popover.js +0 -98
- data/docs/assets/js/bootstrap-scrollspy.js +0 -151
- data/docs/assets/js/bootstrap-tab.js +0 -135
- data/docs/assets/js/bootstrap-tooltip.js +0 -275
- data/docs/assets/js/bootstrap-transition.js +0 -61
- data/docs/assets/js/bootstrap-typeahead.js +0 -285
- data/docs/assets/js/bootstrap.js +0 -1825
- data/docs/assets/js/bootstrap.min.js +0 -6
- data/docs/assets/js/google-code-prettify/prettify.css +0 -30
- data/docs/assets/js/google-code-prettify/prettify.js +0 -28
- data/docs/assets/js/jquery.js +0 -9252
- data/docs/base-css.html +0 -1710
- data/docs/build/index.js +0 -44
- data/docs/build/node_modules/.bin/hulk +0 -93
- data/docs/build/node_modules/hogan.js/.git_ignore +0 -1
- data/docs/build/node_modules/hogan.js/.gitmodules +0 -3
- data/docs/build/node_modules/hogan.js/LICENSE +0 -177
- data/docs/build/node_modules/hogan.js/Makefile +0 -62
- data/docs/build/node_modules/hogan.js/README.md +0 -93
- data/docs/build/node_modules/hogan.js/bin/hulk +0 -93
- data/docs/build/node_modules/hogan.js/lib/compiler.js +0 -348
- data/docs/build/node_modules/hogan.js/lib/hogan.js +0 -20
- data/docs/build/node_modules/hogan.js/lib/template.js +0 -233
- data/docs/build/node_modules/hogan.js/package.json +0 -20
- data/docs/build/node_modules/hogan.js/test/html/list.html +0 -8
- data/docs/build/node_modules/hogan.js/test/index.html +0 -13
- data/docs/build/node_modules/hogan.js/test/index.js +0 -848
- data/docs/build/node_modules/hogan.js/test/mustache.js +0 -90
- data/docs/build/node_modules/hogan.js/test/spec.js +0 -77
- data/docs/build/node_modules/hogan.js/test/spec/Changes +0 -31
- data/docs/build/node_modules/hogan.js/test/spec/README.md +0 -65
- data/docs/build/node_modules/hogan.js/test/spec/Rakefile +0 -27
- data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +0 -46
- data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +0 -103
- data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +0 -158
- data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +0 -230
- data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +0 -193
- data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +0 -109
- data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +0 -256
- data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +0 -1
- data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +0 -149
- data/docs/build/node_modules/hogan.js/test/templates/list.mustache +0 -8
- data/docs/build/node_modules/hogan.js/tools/release.js +0 -74
- data/docs/build/node_modules/hogan.js/tools/web_templates.js +0 -32
- data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +0 -500
- data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +0 -14
- data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +0 -500
- data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +0 -14
- data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +0 -545
- data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +0 -576
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +0 -576
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +0 -572
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +0 -5
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +0 -619
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +0 -233
- data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +0 -5
- data/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
- data/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
- data/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
- data/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
- data/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
- data/docs/build/node_modules/hogan.js/web/index.html.mustache +0 -139
- data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +0 -206
- data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +0 -236
- data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +0 -21
- data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +0 -21
- data/docs/build/node_modules/hogan.js/wrappers/js.mustache +0 -17
- data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +0 -64
- data/docs/build/package.json +0 -6
- data/docs/components.html +0 -1931
- data/docs/download.html +0 -454
- data/docs/examples.html +0 -147
- data/docs/examples/fluid.html +0 -162
- data/docs/examples/hero.html +0 -109
- data/docs/examples/starter-template.html +0 -79
- data/docs/index.html +0 -259
- data/docs/javascript.html +0 -1520
- data/docs/less.html +0 -1060
- data/docs/scaffolding.html +0 -671
- data/docs/templates/layout.mustache +0 -146
- data/docs/templates/pages/base-css.mustache +0 -1594
- data/docs/templates/pages/components.mustache +0 -1815
- data/docs/templates/pages/download.mustache +0 -338
- data/docs/templates/pages/examples.mustache +0 -31
- data/docs/templates/pages/index.mustache +0 -144
- data/docs/templates/pages/javascript.mustache +0 -1405
- data/docs/templates/pages/less.mustache +0 -944
- data/docs/templates/pages/scaffolding.mustache +0 -555
- data/docs/templates/pages/upgrading.mustache +0 -194
- data/docs/upgrading.html +0 -310
- data/js/tests/index.html +0 -54
- data/js/tests/phantom.js +0 -63
- data/js/tests/server.js +0 -14
- data/js/tests/unit/bootstrap-alert.js +0 -56
- data/js/tests/unit/bootstrap-button.js +0 -77
- data/js/tests/unit/bootstrap-carousel.js +0 -28
- data/js/tests/unit/bootstrap-collapse.js +0 -54
- data/js/tests/unit/bootstrap-dropdown.js +0 -87
- data/js/tests/unit/bootstrap-modal.js +0 -114
- data/js/tests/unit/bootstrap-phantom.js +0 -21
- data/js/tests/unit/bootstrap-popover.js +0 -93
- data/js/tests/unit/bootstrap-scrollspy.js +0 -31
- data/js/tests/unit/bootstrap-tab.js +0 -61
- data/js/tests/unit/bootstrap-tooltip.js +0 -155
- data/js/tests/unit/bootstrap-transition.js +0 -13
- data/js/tests/unit/bootstrap-typeahead.js +0 -148
- data/js/tests/vendor/jquery.js +0 -9252
- data/js/tests/vendor/qunit.css +0 -232
- data/js/tests/vendor/qunit.js +0 -1510
- data/package.json +0 -25
- data/sass-twitter-bootstrap.gemspec +0 -19
- data/vendor/assets/javascripts/README.md +0 -112
- data/vendor/assets/javascripts/twitter/bootstrap.js +0 -12
- data/vendor/assets/stylesheets/twitter/_labels-badges.scss +0 -52
- data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +0 -26
- data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +0 -149
- data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +0 -17
- data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +0 -153
- data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +0 -41
data/package.json
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "bootstrap"
|
3
|
-
, "description": "HTML, CSS, and JS toolkit from Twitter."
|
4
|
-
, "version": "2.0.4"
|
5
|
-
, "keywords": ["bootstrap", "css"]
|
6
|
-
, "homepage": "http://twitter.github.com/bootstrap/"
|
7
|
-
, "author": "Twitter Inc."
|
8
|
-
, "scripts": { "test": "make test" }
|
9
|
-
, "repository": {
|
10
|
-
"type": "git"
|
11
|
-
, "url": "https://github.com/twitter/bootstrap.git"
|
12
|
-
}
|
13
|
-
, "licenses": [
|
14
|
-
{
|
15
|
-
"type": "Apache-2.0"
|
16
|
-
, "url": "http://www.apache.org/licenses/LICENSE-2.0"
|
17
|
-
}
|
18
|
-
]
|
19
|
-
, "devDependencies": {
|
20
|
-
"uglify-js": "1.2.6"
|
21
|
-
, "jshint": "0.6.1"
|
22
|
-
, "recess": "1.0.3"
|
23
|
-
, "connect": "2.1.3"
|
24
|
-
}
|
25
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/sass/twitter/bootstrap/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.name = "sass-twitter-bootstrap"
|
6
|
-
gem.version = Sass::Twitter::Bootstrap::VERSION
|
7
|
-
gem.authors = ["Wade Tandy"]
|
8
|
-
gem.email = ["wade@wadetandy.com"]
|
9
|
-
gem.description = %q{Gemification of the Twitter Bootstrap}
|
10
|
-
gem.summary = %q{Create a Rails 2 and 3 compatible gem for John Long's Sass conversion of the Twitter Bootstrap}
|
11
|
-
gem.homepage = "http://github.com/wadetandy/sass-twitter-bootstrap"
|
12
|
-
|
13
|
-
gem.files = `git ls-files`.split($\)
|
14
|
-
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
15
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
16
|
-
gem.require_paths = ["lib"]
|
17
|
-
|
18
|
-
gem.add_dependency 'sass'
|
19
|
-
end
|
@@ -1,112 +0,0 @@
|
|
1
|
-
## 2.0 BOOTSTRAP JS PHILOSOPHY
|
2
|
-
These are the high-level design rules which guide the development of Bootstrap's plugin apis.
|
3
|
-
|
4
|
-
---
|
5
|
-
|
6
|
-
### DATA-ATTRIBUTE API
|
7
|
-
|
8
|
-
We believe you should be able to use all plugins provided by Bootstrap purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first class API.
|
9
|
-
|
10
|
-
We acknowledge that this isn't always the most performant and it may sometimes be desirable to turn this functionality off altogether. Therefore, as of 2.0 we provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
|
11
|
-
|
12
|
-
$('body').off('.data-api')
|
13
|
-
|
14
|
-
To target a specific plugin, just include the plugins name as a namespace along with the data-api namespace like this:
|
15
|
-
|
16
|
-
$('body').off('.alert.data-api')
|
17
|
-
|
18
|
-
---
|
19
|
-
|
20
|
-
### PROGRAMATIC API
|
21
|
-
|
22
|
-
We also believe you should be able to use all plugins provided by Bootstrap purely through the JavaScript API.
|
23
|
-
|
24
|
-
All public APIs should be single, chainable methods, and return the collection acted upon.
|
25
|
-
|
26
|
-
$(".btn.danger").button("toggle").addClass("fat")
|
27
|
-
|
28
|
-
All methods should accept an optional options object, a string which targets a particular method, or null which initiates the default behavior:
|
29
|
-
|
30
|
-
$("#myModal").modal() // initialized with defaults
|
31
|
-
$("#myModal").modal({ keyboard: false }) // initialized with no keyboard
|
32
|
-
$("#myModal").modal('show') // initializes and invokes show immediately
|
33
|
-
|
34
|
-
---
|
35
|
-
|
36
|
-
### OPTIONS
|
37
|
-
|
38
|
-
Options should be sparse and add universal value. We should pick the right defaults.
|
39
|
-
|
40
|
-
All plugins should have a default object which can be modified to affect all instances' default options. The defaults object should be available via `$.fn.plugin.defaults`.
|
41
|
-
|
42
|
-
$.fn.modal.defaults = { … }
|
43
|
-
|
44
|
-
An options definition should take the following form:
|
45
|
-
|
46
|
-
*noun*: *adjective* - describes or modifies a quality of an instance
|
47
|
-
|
48
|
-
Examples:
|
49
|
-
|
50
|
-
backdrop: true
|
51
|
-
keyboard: false
|
52
|
-
placement: 'top'
|
53
|
-
|
54
|
-
---
|
55
|
-
|
56
|
-
### EVENTS
|
57
|
-
|
58
|
-
All events should have an infinitive and past participle form. The infinitive is fired just before an action takes place, the past participle on completion of the action.
|
59
|
-
|
60
|
-
show | shown
|
61
|
-
hide | hidden
|
62
|
-
|
63
|
-
All infinitive events should provide preventDefault functionality. This provides the abililty to stop the execution of an action.
|
64
|
-
|
65
|
-
$('#myModal').on('show', function (e) {
|
66
|
-
if (!data) return e.preventDefault() // stops modal from being shown
|
67
|
-
})
|
68
|
-
|
69
|
-
---
|
70
|
-
|
71
|
-
### CONSTRUCTORS
|
72
|
-
|
73
|
-
Each plugin should expose its raw constructor on a `Constructor` property -- accessed in the following way:
|
74
|
-
|
75
|
-
|
76
|
-
$.fn.popover.Constructor
|
77
|
-
|
78
|
-
---
|
79
|
-
|
80
|
-
### DATA ACCESSOR
|
81
|
-
|
82
|
-
Each plugin stores a copy of the invoked class on an object. This class instance can be accessed directly through jQuery's data API like this:
|
83
|
-
|
84
|
-
$('[rel=popover]').data('popover') instanceof $.fn.popover.Constructor
|
85
|
-
|
86
|
-
---
|
87
|
-
|
88
|
-
### DATA ATTRIBUTES
|
89
|
-
|
90
|
-
Data attributes should take the following form:
|
91
|
-
|
92
|
-
- data-{{verb}}={{plugin}} - defines main interaction
|
93
|
-
- data-target || href^=# - defined on "control" element (if element controls an element other than self)
|
94
|
-
- data-{{noun}} - defines class instance options
|
95
|
-
|
96
|
-
Examples:
|
97
|
-
|
98
|
-
// control other targets
|
99
|
-
data-toggle="modal" data-target="#foo"
|
100
|
-
data-toggle="collapse" data-target="#foo" data-parent="#bar"
|
101
|
-
|
102
|
-
// defined on element they control
|
103
|
-
data-spy="scroll"
|
104
|
-
|
105
|
-
data-dismiss="modal"
|
106
|
-
data-dismiss="alert"
|
107
|
-
|
108
|
-
data-toggle="dropdown"
|
109
|
-
|
110
|
-
data-toggle="button"
|
111
|
-
data-toggle="buttons-checkbox"
|
112
|
-
data-toggle="buttons-radio"
|
@@ -1,12 +0,0 @@
|
|
1
|
-
//= require twitter/bootstrap-transition
|
2
|
-
//= require twitter/bootstrap-alert
|
3
|
-
//= require twitter/bootstrap-modal
|
4
|
-
//= require twitter/bootstrap-dropdown
|
5
|
-
//= require twitter/bootstrap-scrollspy
|
6
|
-
//= require twitter/bootstrap-tab
|
7
|
-
//= require twitter/bootstrap-tooltip
|
8
|
-
//= require twitter/bootstrap-popover
|
9
|
-
//= require twitter/bootstrap-button
|
10
|
-
//= require twitter/bootstrap-collapse
|
11
|
-
//= require twitter/bootstrap-carousel
|
12
|
-
//= require twitter/bootstrap-typeahead
|
@@ -1,52 +0,0 @@
|
|
1
|
-
// LABELS & BADGES
|
2
|
-
// ---------------
|
3
|
-
|
4
|
-
// Base classes
|
5
|
-
.label,
|
6
|
-
.badge {
|
7
|
-
font-size: $baseFontSize * .846;
|
8
|
-
font-weight: bold;
|
9
|
-
line-height: 14px; // ensure proper line-height if floated
|
10
|
-
color: $white;
|
11
|
-
vertical-align: baseline;
|
12
|
-
white-space: nowrap;
|
13
|
-
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
14
|
-
background-color: $grayLight;
|
15
|
-
}
|
16
|
-
// Set unique padding and border-radii
|
17
|
-
.label {
|
18
|
-
padding: 1px 4px 2px;
|
19
|
-
@include border-radius(3px);
|
20
|
-
}
|
21
|
-
.badge {
|
22
|
-
padding: 1px 9px 2px;
|
23
|
-
@include border-radius(9px);
|
24
|
-
}
|
25
|
-
|
26
|
-
// Hover state, but only for links
|
27
|
-
a {
|
28
|
-
&.label:hover,
|
29
|
-
&.badge:hover {
|
30
|
-
color: $white;
|
31
|
-
text-decoration: none;
|
32
|
-
cursor: pointer;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
// Colors
|
37
|
-
// Only give background-color difference to links (and to simplify, we don't qualifty with `a` but [href] attribute)
|
38
|
-
// Important (red)
|
39
|
-
.label-important, .badge-important { background-color: $errorText; }
|
40
|
-
.label-important[href], .badge-important[href] { background-color: darken($errorText, 10%); }
|
41
|
-
// Warnings (orange)
|
42
|
-
.label-warning, .badge-warning { background-color: $orange; }
|
43
|
-
.label-warning[href], .badge-warning[href] { background-color: darken($orange, 10%); }
|
44
|
-
// Success (green)
|
45
|
-
.label-success, .badge-success { background-color: $successText; }
|
46
|
-
.label-success[href], .badge-success[href] { background-color: darken($successText, 10%); }
|
47
|
-
// Info (turquoise)
|
48
|
-
.label-info, .badge-info { background-color: $infoText; }
|
49
|
-
.label-info[href], .badge-info[href] { background-color: darken($infoText, 10%); }
|
50
|
-
// Inverse (black)
|
51
|
-
.label-inverse, .badge-inverse { background-color: $grayDark; }
|
52
|
-
.label-inverse[href], .badge-inverse[href] { background-color: darken($grayDark, 10%); }
|
@@ -1,26 +0,0 @@
|
|
1
|
-
// LARGE DESKTOP & UP
|
2
|
-
// ------------------
|
3
|
-
|
4
|
-
@media (min-width: 1200px) {
|
5
|
-
|
6
|
-
// Fixed grid
|
7
|
-
@include grid-core(70px, 30px);
|
8
|
-
|
9
|
-
// Fluid grid
|
10
|
-
@include grid-fluid(5.982905983%, 2.564102564%);
|
11
|
-
|
12
|
-
// Input grid
|
13
|
-
@include grid-input(70px, 30px);
|
14
|
-
|
15
|
-
// Thumbnails
|
16
|
-
.thumbnails {
|
17
|
-
margin-left: -30px;
|
18
|
-
}
|
19
|
-
.thumbnails > li {
|
20
|
-
margin-left: 30px;
|
21
|
-
}
|
22
|
-
.row-fluid .thumbnails {
|
23
|
-
margin-left: 0;
|
24
|
-
}
|
25
|
-
|
26
|
-
}
|
@@ -1,149 +0,0 @@
|
|
1
|
-
// UP TO LANDSCAPE PHONE
|
2
|
-
// ---------------------
|
3
|
-
|
4
|
-
@media (max-width: 480px) {
|
5
|
-
|
6
|
-
// Smooth out the collapsing/expanding nav
|
7
|
-
.nav-collapse {
|
8
|
-
-webkit-transform: translate3d(0, 0, 0); // activate the GPU
|
9
|
-
}
|
10
|
-
|
11
|
-
// Block level the page header small tag for readability
|
12
|
-
.page-header h1 small {
|
13
|
-
display: block;
|
14
|
-
line-height: $baseLineHeight;
|
15
|
-
}
|
16
|
-
|
17
|
-
// Update checkboxes for iOS
|
18
|
-
input[type="checkbox"],
|
19
|
-
input[type="radio"] {
|
20
|
-
border: 1px solid #ccc;
|
21
|
-
}
|
22
|
-
|
23
|
-
// Remove the horizontal form styles
|
24
|
-
.form-horizontal .control-group > label {
|
25
|
-
float: none;
|
26
|
-
width: auto;
|
27
|
-
padding-top: 0;
|
28
|
-
text-align: left;
|
29
|
-
}
|
30
|
-
// Move over all input controls and content
|
31
|
-
.form-horizontal .controls {
|
32
|
-
margin-left: 0;
|
33
|
-
}
|
34
|
-
// Move the options list down to align with labels
|
35
|
-
.form-horizontal .control-list {
|
36
|
-
padding-top: 0; // has to be padding because margin collaspes
|
37
|
-
}
|
38
|
-
// Move over buttons in .form-actions to align with .controls
|
39
|
-
.form-horizontal .form-actions {
|
40
|
-
padding-left: 10px;
|
41
|
-
padding-right: 10px;
|
42
|
-
}
|
43
|
-
|
44
|
-
// Modals
|
45
|
-
.modal {
|
46
|
-
position: absolute;
|
47
|
-
top: 10px;
|
48
|
-
left: 10px;
|
49
|
-
right: 10px;
|
50
|
-
width: auto;
|
51
|
-
margin: 0;
|
52
|
-
&.fade.in { top: auto; }
|
53
|
-
}
|
54
|
-
.modal-header .close {
|
55
|
-
padding: 10px;
|
56
|
-
margin: -10px;
|
57
|
-
}
|
58
|
-
|
59
|
-
// Carousel
|
60
|
-
.carousel-caption {
|
61
|
-
position: static;
|
62
|
-
}
|
63
|
-
|
64
|
-
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
|
69
|
-
// --------------------------------------------------
|
70
|
-
|
71
|
-
@media (max-width: 767px) {
|
72
|
-
|
73
|
-
// Padding to set content in a bit
|
74
|
-
body {
|
75
|
-
padding-left: 20px;
|
76
|
-
padding-right: 20px;
|
77
|
-
}
|
78
|
-
// Negative indent the now static "fixed" navbar
|
79
|
-
.navbar-fixed-top,
|
80
|
-
.navbar-fixed-bottom {
|
81
|
-
margin-left: -20px;
|
82
|
-
margin-right: -20px;
|
83
|
-
}
|
84
|
-
// Remove padding on container given explicit padding set on body
|
85
|
-
.container-fluid {
|
86
|
-
padding: 0;
|
87
|
-
}
|
88
|
-
|
89
|
-
// TYPOGRAPHY
|
90
|
-
// ----------
|
91
|
-
// Reset horizontal dl
|
92
|
-
.dl-horizontal {
|
93
|
-
dt {
|
94
|
-
float: none;
|
95
|
-
clear: none;
|
96
|
-
width: auto;
|
97
|
-
text-align: left;
|
98
|
-
}
|
99
|
-
dd {
|
100
|
-
margin-left: 0;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
// GRID & CONTAINERS
|
105
|
-
// -----------------
|
106
|
-
// Remove width from containers
|
107
|
-
.container {
|
108
|
-
width: auto;
|
109
|
-
}
|
110
|
-
// Fluid rows
|
111
|
-
.row-fluid {
|
112
|
-
width: 100%;
|
113
|
-
}
|
114
|
-
// Undo negative margin on rows and thumbnails
|
115
|
-
.row,
|
116
|
-
.thumbnails {
|
117
|
-
margin-left: 0;
|
118
|
-
}
|
119
|
-
// Make all grid-sized elements block level again
|
120
|
-
[class*="span"],
|
121
|
-
.row-fluid [class*="span"] {
|
122
|
-
float: none;
|
123
|
-
display: block;
|
124
|
-
width: auto;
|
125
|
-
margin-left: 0;
|
126
|
-
}
|
127
|
-
|
128
|
-
// FORM FIELDS
|
129
|
-
// -----------
|
130
|
-
// Make span* classes full width
|
131
|
-
.input-large,
|
132
|
-
.input-xlarge,
|
133
|
-
.input-xxlarge,
|
134
|
-
input[class*="span"],
|
135
|
-
select[class*="span"],
|
136
|
-
textarea[class*="span"],
|
137
|
-
.uneditable-input {
|
138
|
-
@include input-block-level();
|
139
|
-
}
|
140
|
-
// But don't let it screw up prepend/append inputs
|
141
|
-
.input-prepend input,
|
142
|
-
.input-append input,
|
143
|
-
.input-prepend input[class*="span"],
|
144
|
-
.input-append input[class*="span"] {
|
145
|
-
display: inline-block; // redeclare so they don't wrap to new lines
|
146
|
-
width: auto;
|
147
|
-
}
|
148
|
-
|
149
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
// PORTRAIT TABLET TO DEFAULT DESKTOP
|
2
|
-
// ----------------------------------
|
3
|
-
|
4
|
-
@media (min-width: 768px) and (max-width: 979px) {
|
5
|
-
|
6
|
-
// Fixed grid
|
7
|
-
@include grid-core(42px, 20px);
|
8
|
-
|
9
|
-
// Fluid grid
|
10
|
-
@include grid-fluid(5.801104972%, 2.762430939%);
|
11
|
-
|
12
|
-
// Input grid
|
13
|
-
@include grid-input(42px, 20px);
|
14
|
-
|
15
|
-
// No need to reset .thumbnails here since it's the same @gridGutterWidth
|
16
|
-
|
17
|
-
}
|
@@ -1,153 +0,0 @@
|
|
1
|
-
// TABLETS AND BELOW
|
2
|
-
// -----------------
|
3
|
-
@media (max-width: 979px) {
|
4
|
-
|
5
|
-
// UNFIX THE TOPBAR
|
6
|
-
// ----------------
|
7
|
-
// Remove any padding from the body
|
8
|
-
body {
|
9
|
-
padding-top: 0;
|
10
|
-
}
|
11
|
-
// Unfix the navbar
|
12
|
-
.navbar-fixed-top,
|
13
|
-
.navbar-fixed-bottom {
|
14
|
-
position: static;
|
15
|
-
}
|
16
|
-
.navbar-fixed-top {
|
17
|
-
margin-bottom: $baseLineHeight;
|
18
|
-
}
|
19
|
-
.navbar-fixed-bottom {
|
20
|
-
margin-top: $baseLineHeight;
|
21
|
-
}
|
22
|
-
.navbar-fixed-top .navbar-inner,
|
23
|
-
.navbar-fixed-bottom .navbar-inner {
|
24
|
-
padding: 5px;
|
25
|
-
}
|
26
|
-
.navbar .container {
|
27
|
-
width: auto;
|
28
|
-
padding: 0;
|
29
|
-
}
|
30
|
-
// Account for brand name
|
31
|
-
.navbar .brand {
|
32
|
-
padding-left: 10px;
|
33
|
-
padding-right: 10px;
|
34
|
-
margin: 0 0 0 -5px;
|
35
|
-
}
|
36
|
-
|
37
|
-
// COLLAPSIBLE NAVBAR
|
38
|
-
// ------------------
|
39
|
-
// Nav collapse clears brand
|
40
|
-
.nav-collapse {
|
41
|
-
clear: both;
|
42
|
-
}
|
43
|
-
// Block-level the nav
|
44
|
-
.nav-collapse .nav {
|
45
|
-
float: none;
|
46
|
-
margin: 0 0 ($baseLineHeight / 2);
|
47
|
-
}
|
48
|
-
.nav-collapse .nav > li {
|
49
|
-
float: none;
|
50
|
-
}
|
51
|
-
.nav-collapse .nav > li > a {
|
52
|
-
margin-bottom: 2px;
|
53
|
-
}
|
54
|
-
.nav-collapse .nav > .divider-vertical {
|
55
|
-
display: none;
|
56
|
-
}
|
57
|
-
.nav-collapse .nav .nav-header {
|
58
|
-
color: $navbarText;
|
59
|
-
text-shadow: none;
|
60
|
-
}
|
61
|
-
// Nav and dropdown links in navbar
|
62
|
-
.nav-collapse .nav > li > a,
|
63
|
-
.nav-collapse .dropdown-menu a {
|
64
|
-
padding: 6px 15px;
|
65
|
-
font-weight: bold;
|
66
|
-
color: $navbarLinkColor;
|
67
|
-
@include border-radius(3px);
|
68
|
-
}
|
69
|
-
// Buttons
|
70
|
-
.nav-collapse .btn {
|
71
|
-
padding: 4px 10px 4px;
|
72
|
-
font-weight: normal;
|
73
|
-
@include border-radius(4px);
|
74
|
-
}
|
75
|
-
.nav-collapse .dropdown-menu li + li a {
|
76
|
-
margin-bottom: 2px;
|
77
|
-
}
|
78
|
-
.nav-collapse .nav > li > a:hover,
|
79
|
-
.nav-collapse .dropdown-menu a:hover {
|
80
|
-
background-color: $navbarBackground;
|
81
|
-
}
|
82
|
-
// Buttons in the navbar
|
83
|
-
.nav-collapse.in .btn-group {
|
84
|
-
margin-top: 5px;
|
85
|
-
padding: 0;
|
86
|
-
}
|
87
|
-
// Dropdowns in the navbar
|
88
|
-
.nav-collapse .dropdown-menu {
|
89
|
-
position: static;
|
90
|
-
top: auto;
|
91
|
-
left: auto;
|
92
|
-
float: none;
|
93
|
-
display: block;
|
94
|
-
max-width: none;
|
95
|
-
margin: 0 15px;
|
96
|
-
padding: 0;
|
97
|
-
background-color: transparent;
|
98
|
-
border: none;
|
99
|
-
@include border-radius(0);
|
100
|
-
@include box-shadow(none);
|
101
|
-
}
|
102
|
-
.nav-collapse .dropdown-menu:before,
|
103
|
-
.nav-collapse .dropdown-menu:after {
|
104
|
-
display: none;
|
105
|
-
}
|
106
|
-
.nav-collapse .dropdown-menu .divider {
|
107
|
-
display: none;
|
108
|
-
}
|
109
|
-
// Forms in navbar
|
110
|
-
.nav-collapse .navbar-form,
|
111
|
-
.nav-collapse .navbar-search {
|
112
|
-
float: none;
|
113
|
-
padding: ($baseLineHeight / 2) 15px;
|
114
|
-
margin: ($baseLineHeight / 2) 0;
|
115
|
-
border-top: 1px solid $navbarBackground;
|
116
|
-
border-bottom: 1px solid $navbarBackground;
|
117
|
-
@include box-shadow(#{inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)});
|
118
|
-
}
|
119
|
-
// Pull right (secondary) nav content
|
120
|
-
.navbar .nav-collapse .nav.pull-right {
|
121
|
-
float: none;
|
122
|
-
margin-left: 0;
|
123
|
-
}
|
124
|
-
// Hide everything in the navbar save .brand and toggle button */
|
125
|
-
.nav-collapse,
|
126
|
-
.nav-collapse.collapse {
|
127
|
-
overflow: hidden;
|
128
|
-
height: 0;
|
129
|
-
}
|
130
|
-
// Navbar button
|
131
|
-
.navbar .btn-navbar {
|
132
|
-
display: block;
|
133
|
-
}
|
134
|
-
|
135
|
-
// STATIC NAVBAR
|
136
|
-
// -------------
|
137
|
-
.navbar-static .navbar-inner {
|
138
|
-
padding-left: 10px;
|
139
|
-
padding-right: 10px;
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
|
144
|
-
// DEFAULT DESKTOP
|
145
|
-
// ---------------
|
146
|
-
|
147
|
-
// Required to make the collapsing navbar work on regular desktops
|
148
|
-
@media (min-width: 980px) {
|
149
|
-
.nav-collapse.collapse {
|
150
|
-
height: auto !important;
|
151
|
-
overflow: visible !important;
|
152
|
-
}
|
153
|
-
}
|