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
@@ -0,0 +1,71 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Bootstrap, from Twitter</title>
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
+
<meta name="description" content="">
|
8
|
+
<meta name="author" content="">
|
9
|
+
|
10
|
+
<!-- Le styles -->
|
11
|
+
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
12
|
+
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
13
|
+
<style>
|
14
|
+
body {
|
15
|
+
padding-top: 30px;
|
16
|
+
padding-bottom: 30px;
|
17
|
+
}
|
18
|
+
</style>
|
19
|
+
|
20
|
+
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
21
|
+
<!--[if lt IE 9]>
|
22
|
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
23
|
+
<![endif]-->
|
24
|
+
|
25
|
+
<!-- Le fav and touch icons -->
|
26
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
27
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
28
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
29
|
+
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
30
|
+
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
31
|
+
</head>
|
32
|
+
|
33
|
+
<body>
|
34
|
+
|
35
|
+
<form class="container">
|
36
|
+
|
37
|
+
<div class="page-header">
|
38
|
+
<h1>Fixed grid</h1>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<h3>Vertical alignment</h3>
|
42
|
+
<input type="text" class="span2" placeholder="span2">
|
43
|
+
<select class="span2"><option>span2</option></select>
|
44
|
+
<span class="uneditable-input span2">span1</span>
|
45
|
+
|
46
|
+
<h3>Width across elements</h3>
|
47
|
+
<div>
|
48
|
+
<input type="text" class="span2" placeholder="span2">
|
49
|
+
</div>
|
50
|
+
<div>
|
51
|
+
<select class="span2"><option>span2</option></select>
|
52
|
+
</div>
|
53
|
+
<div>
|
54
|
+
<span class="uneditable-input span2">span2</span>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
|
58
|
+
<div class="page-header">
|
59
|
+
<h1>Fluid grid</h1>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div class="row-fluid">
|
63
|
+
<input type="text" class="span2" placeholder="span2">
|
64
|
+
<select class="span2"><option>span2</option></select>
|
65
|
+
<span class="uneditable-input span2">span1</span>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
</form> <!-- /container -->
|
69
|
+
|
70
|
+
</body>
|
71
|
+
</html>
|
@@ -0,0 +1,104 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Bootstrap, from Twitter</title>
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
+
<meta name="description" content="">
|
8
|
+
<meta name="author" content="">
|
9
|
+
|
10
|
+
<!-- Le styles -->
|
11
|
+
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
12
|
+
<style>
|
13
|
+
body {
|
14
|
+
padding-top: 60px;
|
15
|
+
padding-bottom: 30px;
|
16
|
+
}
|
17
|
+
</style>
|
18
|
+
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
19
|
+
|
20
|
+
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
21
|
+
<!--[if lt IE 9]>
|
22
|
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
23
|
+
<![endif]-->
|
24
|
+
|
25
|
+
<!-- Le fav and touch icons -->
|
26
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
27
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
28
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
29
|
+
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
30
|
+
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
31
|
+
</head>
|
32
|
+
|
33
|
+
<body>
|
34
|
+
|
35
|
+
<!-- Fixed navbar -->
|
36
|
+
<div class="navbar navbar-fixed-top">
|
37
|
+
<div class="navbar-inner">
|
38
|
+
<div class="container">
|
39
|
+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
40
|
+
<span class="icon-bar"></span>
|
41
|
+
<span class="icon-bar"></span>
|
42
|
+
<span class="icon-bar"></span>
|
43
|
+
</a>
|
44
|
+
<a class="brand" href="#">Project name</a>
|
45
|
+
<div class="nav-collapse collapse">
|
46
|
+
<ul class="nav">
|
47
|
+
<li class="active"><a href="#">Home</a></li>
|
48
|
+
<li><a href="#about">About</a></li>
|
49
|
+
<li><a href="#contact">Contact</a></li>
|
50
|
+
<li class="dropdown">
|
51
|
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
52
|
+
<ul class="dropdown-menu">
|
53
|
+
<li><a href="#">Action</a></li>
|
54
|
+
<li><a href="#">Another action</a></li>
|
55
|
+
<li><a href="#">Something else here</a></li>
|
56
|
+
<li class="divider"></li>
|
57
|
+
<li class="nav-header">Nav header</li>
|
58
|
+
<li><a href="#">Separated link</a></li>
|
59
|
+
<li><a href="#">One more separated link</a></li>
|
60
|
+
</ul>
|
61
|
+
</li>
|
62
|
+
</ul>
|
63
|
+
<ul class="nav pull-right">
|
64
|
+
<li><a href="./navbar.html">Default</a></li>
|
65
|
+
<li><a href="./navbar-static-top.html">Static top</a></li>
|
66
|
+
<li class="active"><a href="./navbar-fixed-top.html">Fixed top</a></li>
|
67
|
+
</ul>
|
68
|
+
</div><!--/.nav-collapse -->
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
<div class="container">
|
74
|
+
|
75
|
+
<!-- Main hero unit for a primary marketing message or call to action -->
|
76
|
+
<div class="hero-unit">
|
77
|
+
<h1>Navbar example</h1>
|
78
|
+
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
79
|
+
<p>
|
80
|
+
<a class="btn btn-large btn-primary" href="../components.html#navbar">View navbar docs »</a>
|
81
|
+
</p>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
</div> <!-- /container -->
|
85
|
+
|
86
|
+
<!-- Le javascript
|
87
|
+
================================================== -->
|
88
|
+
<!-- Placed at the end of the document so the pages load faster -->
|
89
|
+
<script src="../../docs/assets/js/jquery.js"></script>
|
90
|
+
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
91
|
+
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
92
|
+
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
93
|
+
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
94
|
+
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
95
|
+
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
96
|
+
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
97
|
+
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
98
|
+
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
99
|
+
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
100
|
+
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
101
|
+
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
102
|
+
|
103
|
+
</body>
|
104
|
+
</html>
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Bootstrap, from Twitter</title>
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
+
<meta name="description" content="">
|
8
|
+
<meta name="author" content="">
|
9
|
+
|
10
|
+
<!-- Le styles -->
|
11
|
+
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
12
|
+
<style>
|
13
|
+
body {
|
14
|
+
padding-bottom: 30px;
|
15
|
+
}
|
16
|
+
.hero-unit {
|
17
|
+
margin-top: 20px;
|
18
|
+
}
|
19
|
+
</style>
|
20
|
+
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
21
|
+
|
22
|
+
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
23
|
+
<!--[if lt IE 9]>
|
24
|
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
25
|
+
<![endif]-->
|
26
|
+
|
27
|
+
<!-- Le fav and touch icons -->
|
28
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
29
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
30
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
31
|
+
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
32
|
+
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
33
|
+
</head>
|
34
|
+
|
35
|
+
<body>
|
36
|
+
|
37
|
+
<!-- Static navbar -->
|
38
|
+
<div class="navbar navbar-static-top">
|
39
|
+
<div class="navbar-inner">
|
40
|
+
<div class="container">
|
41
|
+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
42
|
+
<span class="icon-bar"></span>
|
43
|
+
<span class="icon-bar"></span>
|
44
|
+
<span class="icon-bar"></span>
|
45
|
+
</a>
|
46
|
+
<a class="brand" href="#">Project name</a>
|
47
|
+
<div class="nav-collapse collapse">
|
48
|
+
<ul class="nav">
|
49
|
+
<li class="active"><a href="#">Home</a></li>
|
50
|
+
<li><a href="#about">About</a></li>
|
51
|
+
<li><a href="#contact">Contact</a></li>
|
52
|
+
<li class="dropdown">
|
53
|
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
54
|
+
<ul class="dropdown-menu">
|
55
|
+
<li><a href="#">Action</a></li>
|
56
|
+
<li><a href="#">Another action</a></li>
|
57
|
+
<li><a href="#">Something else here</a></li>
|
58
|
+
<li class="divider"></li>
|
59
|
+
<li class="nav-header">Nav header</li>
|
60
|
+
<li><a href="#">Separated link</a></li>
|
61
|
+
<li><a href="#">One more separated link</a></li>
|
62
|
+
</ul>
|
63
|
+
</li>
|
64
|
+
</ul>
|
65
|
+
<ul class="nav pull-right">
|
66
|
+
<li><a href="./navbar.html">Default</a></li>
|
67
|
+
<li class="active"><a href="./navbar-static-top.html">Static top</a></li>
|
68
|
+
<li><a href="./navbar-fixed-top.html">Fixed top</a></li>
|
69
|
+
</ul>
|
70
|
+
</div><!--/.nav-collapse -->
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
|
76
|
+
<div class="container">
|
77
|
+
|
78
|
+
<!-- Main hero unit for a primary marketing message or call to action -->
|
79
|
+
<div class="hero-unit">
|
80
|
+
<h1>Navbar example</h1>
|
81
|
+
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
82
|
+
<p>
|
83
|
+
<a class="btn btn-large btn-primary" href="../components.html#navbar">View navbar docs »</a>
|
84
|
+
</p>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
</div> <!-- /container -->
|
88
|
+
|
89
|
+
<!-- Le javascript
|
90
|
+
================================================== -->
|
91
|
+
<!-- Placed at the end of the document so the pages load faster -->
|
92
|
+
<script src="../../docs/assets/js/jquery.js"></script>
|
93
|
+
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
94
|
+
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
95
|
+
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
96
|
+
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
97
|
+
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
98
|
+
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
99
|
+
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
100
|
+
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
101
|
+
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
102
|
+
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
103
|
+
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
104
|
+
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
105
|
+
|
106
|
+
</body>
|
107
|
+
</html>
|
@@ -11,9 +11,12 @@
|
|
11
11
|
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
12
12
|
<style>
|
13
13
|
body {
|
14
|
-
padding-top:
|
14
|
+
padding-top: 0;
|
15
15
|
padding-bottom: 30px;
|
16
16
|
}
|
17
|
+
.navbar {
|
18
|
+
margin-top: 20px;
|
19
|
+
}
|
17
20
|
</style>
|
18
21
|
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
19
22
|
|
@@ -23,36 +26,15 @@
|
|
23
26
|
<![endif]-->
|
24
27
|
|
25
28
|
<!-- Le fav and touch icons -->
|
26
|
-
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.ico">
|
27
29
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
28
30
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
29
|
-
|
30
|
-
|
31
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
32
|
+
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
33
|
+
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
31
34
|
</head>
|
32
35
|
|
33
36
|
<body>
|
34
37
|
|
35
|
-
<!-- Fixed navbar -->
|
36
|
-
<div class="navbar navbar-fixed-top">
|
37
|
-
<div class="navbar-inner">
|
38
|
-
<div class="container">
|
39
|
-
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
40
|
-
<span class="icon-bar"></span>
|
41
|
-
<span class="icon-bar"></span>
|
42
|
-
<span class="icon-bar"></span>
|
43
|
-
</a>
|
44
|
-
<a class="brand" href="#">Project name</a>
|
45
|
-
<div class="nav-collapse">
|
46
|
-
<ul class="nav">
|
47
|
-
<li class="active"><a href="#">Home</a></li>
|
48
|
-
<li><a href="#about">About</a></li>
|
49
|
-
<li><a href="#contact">Contact</a></li>
|
50
|
-
</ul>
|
51
|
-
</div><!--/.nav-collapse -->
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
</div>
|
55
|
-
|
56
38
|
<div class="container">
|
57
39
|
|
58
40
|
<!-- Static navbar -->
|
@@ -65,11 +47,28 @@
|
|
65
47
|
<span class="icon-bar"></span>
|
66
48
|
</a>
|
67
49
|
<a class="brand" href="#">Project name</a>
|
68
|
-
<div class="nav-collapse">
|
50
|
+
<div class="nav-collapse collapse">
|
69
51
|
<ul class="nav">
|
70
52
|
<li class="active"><a href="#">Home</a></li>
|
71
53
|
<li><a href="#about">About</a></li>
|
72
54
|
<li><a href="#contact">Contact</a></li>
|
55
|
+
<li class="dropdown">
|
56
|
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
57
|
+
<ul class="dropdown-menu">
|
58
|
+
<li><a href="#">Action</a></li>
|
59
|
+
<li><a href="#">Another action</a></li>
|
60
|
+
<li><a href="#">Something else here</a></li>
|
61
|
+
<li class="divider"></li>
|
62
|
+
<li class="nav-header">Nav header</li>
|
63
|
+
<li><a href="#">Separated link</a></li>
|
64
|
+
<li><a href="#">One more separated link</a></li>
|
65
|
+
</ul>
|
66
|
+
</li>
|
67
|
+
</ul>
|
68
|
+
<ul class="nav pull-right">
|
69
|
+
<li class="active"><a href="./navbar.html">Default</a></li>
|
70
|
+
<li><a href="./navbar-static-top.html">Static top</a></li>
|
71
|
+
<li><a href="./navbar-fixed-top.html">Fixed top</a></li>
|
73
72
|
</ul>
|
74
73
|
</div><!--/.nav-collapse -->
|
75
74
|
</div>
|
@@ -90,19 +89,19 @@
|
|
90
89
|
<!-- Le javascript
|
91
90
|
================================================== -->
|
92
91
|
<!-- Placed at the end of the document so the pages load faster -->
|
93
|
-
<script src="
|
94
|
-
<script src="
|
95
|
-
<script src="
|
96
|
-
<script src="
|
97
|
-
<script src="
|
98
|
-
<script src="
|
99
|
-
<script src="
|
100
|
-
<script src="
|
101
|
-
<script src="
|
102
|
-
<script src="
|
103
|
-
<script src="
|
104
|
-
<script src="
|
105
|
-
<script src="
|
92
|
+
<script src="../../docs/assets/js/jquery.js"></script>
|
93
|
+
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
94
|
+
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
95
|
+
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
96
|
+
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
97
|
+
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
98
|
+
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
99
|
+
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
100
|
+
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
101
|
+
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
102
|
+
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
103
|
+
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
104
|
+
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
106
105
|
|
107
106
|
</body>
|
108
107
|
</html>
|
@@ -9,10 +9,10 @@
|
|
9
9
|
background-color: $warningBackground;
|
10
10
|
border: 1px solid $warningBorder;
|
11
11
|
@include border-radius(4px);
|
12
|
-
color: $warningText;
|
13
12
|
}
|
13
|
+
.alert,
|
14
14
|
.alert-heading {
|
15
|
-
color:
|
15
|
+
color: $warningText;
|
16
16
|
}
|
17
17
|
|
18
18
|
// Adjust close link position
|
@@ -28,21 +28,33 @@
|
|
28
28
|
|
29
29
|
.alert-success {
|
30
30
|
background-color: $successBackground;
|
31
|
-
border-color: $successBorder;
|
31
|
+
border-color: $successBorder;
|
32
|
+
}
|
33
|
+
.alert-success,
|
34
|
+
.alert-success .alert-heading {
|
32
35
|
color: $successText;
|
33
36
|
}
|
34
37
|
.alert-danger,
|
35
38
|
.alert-error {
|
36
39
|
background-color: $errorBackground;
|
37
40
|
border-color: $errorBorder;
|
41
|
+
}
|
42
|
+
.alert-danger,
|
43
|
+
.alert-error,
|
44
|
+
.alert-danger .alert-heading,
|
45
|
+
.alert-error .alert-heading {
|
38
46
|
color: $errorText;
|
39
47
|
}
|
40
48
|
.alert-info {
|
41
49
|
background-color: $infoBackground;
|
42
50
|
border-color: $infoBorder;
|
51
|
+
}
|
52
|
+
.alert-info,
|
53
|
+
.alert-info .alert-heading {
|
43
54
|
color: $infoText;
|
44
55
|
}
|
45
56
|
|
57
|
+
|
46
58
|
// Block alerts
|
47
59
|
// ------------------------
|
48
60
|
.alert-block {
|