sass-twitter-bootstrap 2.1.1 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/_media.scss +55 -0
- data/lib/sass/twitter/bootstrap/version.rb +1 -1
- data/lib/tests/buttons.html +139 -0
- data/lib/tests/forms-responsive.html +71 -0
- data/lib/tests/navbar-fixed-top.html +104 -0
- data/lib/tests/navbar-static-top.html +107 -0
- data/vendor/assets/javascripts/twitter/bootstrap-affix.js +4 -2
- data/vendor/assets/javascripts/twitter/bootstrap-alert.js +2 -4
- data/vendor/assets/javascripts/twitter/bootstrap-button.js +5 -7
- data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +12 -12
- data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +9 -11
- data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +9 -11
- data/vendor/assets/javascripts/twitter/bootstrap-modal.js +20 -25
- data/vendor/assets/javascripts/twitter/bootstrap-popover.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +1 -1
- data/vendor/assets/javascripts/twitter/bootstrap-tab.js +5 -7
- data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +12 -11
- data/vendor/assets/javascripts/twitter/bootstrap-transition.js +5 -5
- data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +19 -9
- data/vendor/assets/javascripts/twitter/bootstrap.js +1 -0
- data/vendor/assets/stylesheets/tests/navbar.html +35 -36
- data/vendor/assets/stylesheets/twitter/_accordion.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_alerts.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_button-groups.scss +5 -8
- data/vendor/assets/stylesheets/twitter/_buttons.scss +18 -17
- data/vendor/assets/stylesheets/twitter/_code.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_component-animations.scss +2 -2
- data/vendor/assets/stylesheets/twitter/_dropdowns.scss +32 -5
- data/vendor/assets/stylesheets/twitter/_forms.scss +46 -14
- data/vendor/assets/stylesheets/twitter/_hero-unit.scss +6 -5
- data/vendor/assets/stylesheets/twitter/_labels-badges.scss +4 -2
- data/vendor/assets/stylesheets/twitter/_mixins.scss +12 -7
- data/vendor/assets/stylesheets/twitter/_modals.scss +8 -11
- data/vendor/assets/stylesheets/twitter/_navbar.scss +8 -10
- data/vendor/assets/stylesheets/twitter/_navs.scss +5 -4
- data/vendor/assets/stylesheets/twitter/_pager.scss +10 -9
- data/vendor/assets/stylesheets/twitter/_pagination.scss +69 -12
- data/vendor/assets/stylesheets/twitter/_popovers.scss +2 -2
- data/vendor/assets/stylesheets/twitter/_progress-bars.scss +2 -2
- data/vendor/assets/stylesheets/twitter/_reset.scss +6 -4
- data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +20 -1
- data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +12 -4
- data/vendor/assets/stylesheets/twitter/_scaffolding.scss +1 -3
- data/vendor/assets/stylesheets/twitter/_sprites.scss +3 -3
- data/vendor/assets/stylesheets/twitter/_tables.scss +12 -8
- data/vendor/assets/stylesheets/twitter/_thumbnails.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_tooltip.scss +1 -1
- data/vendor/assets/stylesheets/twitter/_type.scss +30 -24
- data/vendor/assets/stylesheets/twitter/_variables.scss +25 -2
- data/vendor/assets/stylesheets/twitter/_wells.scss +3 -3
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +2 -1
- data/vendor/assets/stylesheets/twitter/responsive.scss +1 -1
- metadata +7 -2
data/lib/_media.scss
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
// Media objects
|
2
|
+
// Source: http://stubbornella.org/content/?p=497
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Common styles
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
// Clear the floats
|
10
|
+
.media,
|
11
|
+
.media-body {
|
12
|
+
overflow: hidden;
|
13
|
+
*overflow: visible;
|
14
|
+
zoom: 1;
|
15
|
+
}
|
16
|
+
|
17
|
+
// Proper spacing between instances of .media
|
18
|
+
.media,
|
19
|
+
.media .media {
|
20
|
+
margin-top: 15px;
|
21
|
+
}
|
22
|
+
.media:first-child {
|
23
|
+
margin-top: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
// For images and videos, set to block
|
27
|
+
.media-object {
|
28
|
+
display: block;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Reset margins on headings for tighter default spacing
|
32
|
+
.media-heading {
|
33
|
+
margin: 0 0 5px;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
// Media image alignment
|
38
|
+
// -------------------------
|
39
|
+
|
40
|
+
.media .pull-left {
|
41
|
+
margin-right: 10px;
|
42
|
+
}
|
43
|
+
.media .pull-right {
|
44
|
+
margin-left: 10px;
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
// Media list variation
|
49
|
+
// -------------------------
|
50
|
+
|
51
|
+
// Undo default ul/ol styles
|
52
|
+
.media-list {
|
53
|
+
margin-left: 0;
|
54
|
+
list-style: none;
|
55
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Buttons · Bootstrap</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: 30px;
|
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="shortcut icon" href="../../docs/assets/ico/favicon.ico">
|
27
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
28
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
29
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
30
|
+
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
31
|
+
</head>
|
32
|
+
|
33
|
+
<body>
|
34
|
+
|
35
|
+
<div class="container">
|
36
|
+
|
37
|
+
<h2>Dropups</h2>
|
38
|
+
<div class="btn-toolbar">
|
39
|
+
<div class="btn-group dropup">
|
40
|
+
<button class="btn">Dropup</button>
|
41
|
+
<button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
42
|
+
<ul class="dropdown-menu">
|
43
|
+
<li><a href="#">Action</a></li>
|
44
|
+
<li><a href="#">Another action</a></li>
|
45
|
+
<li><a href="#">Something else here</a></li>
|
46
|
+
<li class="divider"></li>
|
47
|
+
<li><a href="#">Separated link</a></li>
|
48
|
+
</ul>
|
49
|
+
</div><!-- /btn-group -->
|
50
|
+
<div class="btn-group dropup">
|
51
|
+
<button class="btn btn-primary">Dropup</button>
|
52
|
+
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
53
|
+
<ul class="dropdown-menu">
|
54
|
+
<li><a href="#">Action</a></li>
|
55
|
+
<li><a href="#">Another action</a></li>
|
56
|
+
<li><a href="#">Something else here</a></li>
|
57
|
+
<li class="divider"></li>
|
58
|
+
<li><a href="#">Separated link</a></li>
|
59
|
+
</ul>
|
60
|
+
</div><!-- /btn-group -->
|
61
|
+
<div class="btn-group dropup">
|
62
|
+
<button class="btn btn-danger">Dropup</button>
|
63
|
+
<button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
64
|
+
<ul class="dropdown-menu">
|
65
|
+
<li><a href="#">Action</a></li>
|
66
|
+
<li><a href="#">Another action</a></li>
|
67
|
+
<li><a href="#">Something else here</a></li>
|
68
|
+
<li class="divider"></li>
|
69
|
+
<li><a href="#">Separated link</a></li>
|
70
|
+
</ul>
|
71
|
+
</div><!-- /btn-group -->
|
72
|
+
<div class="btn-group dropup">
|
73
|
+
<button class="btn btn-warning">Dropup</button>
|
74
|
+
<button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
75
|
+
<ul class="dropdown-menu">
|
76
|
+
<li><a href="#">Action</a></li>
|
77
|
+
<li><a href="#">Another action</a></li>
|
78
|
+
<li><a href="#">Something else here</a></li>
|
79
|
+
<li class="divider"></li>
|
80
|
+
<li><a href="#">Separated link</a></li>
|
81
|
+
</ul>
|
82
|
+
</div><!-- /btn-group -->
|
83
|
+
<div class="btn-group dropup">
|
84
|
+
<button class="btn btn-success">Dropup</button>
|
85
|
+
<button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
86
|
+
<ul class="dropdown-menu">
|
87
|
+
<li><a href="#">Action</a></li>
|
88
|
+
<li><a href="#">Another action</a></li>
|
89
|
+
<li><a href="#">Something else here</a></li>
|
90
|
+
<li class="divider"></li>
|
91
|
+
<li><a href="#">Separated link</a></li>
|
92
|
+
</ul>
|
93
|
+
</div><!-- /btn-group -->
|
94
|
+
<div class="btn-group dropup">
|
95
|
+
<button class="btn btn-info">Dropup</button>
|
96
|
+
<button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
97
|
+
<ul class="dropdown-menu">
|
98
|
+
<li><a href="#">Action</a></li>
|
99
|
+
<li><a href="#">Another action</a></li>
|
100
|
+
<li><a href="#">Something else here</a></li>
|
101
|
+
<li class="divider"></li>
|
102
|
+
<li><a href="#">Separated link</a></li>
|
103
|
+
</ul>
|
104
|
+
</div><!-- /btn-group -->
|
105
|
+
<div class="btn-group dropup">
|
106
|
+
<button class="btn btn-inverse">Dropup</button>
|
107
|
+
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
108
|
+
<ul class="dropdown-menu">
|
109
|
+
<li><a href="#">Action</a></li>
|
110
|
+
<li><a href="#">Another action</a></li>
|
111
|
+
<li><a href="#">Something else here</a></li>
|
112
|
+
<li class="divider"></li>
|
113
|
+
<li><a href="#">Separated link</a></li>
|
114
|
+
</ul>
|
115
|
+
</div><!-- /btn-group -->
|
116
|
+
</div><!-- /btn-toolbar -->
|
117
|
+
|
118
|
+
|
119
|
+
</div> <!-- /container -->
|
120
|
+
|
121
|
+
<!-- Le javascript
|
122
|
+
================================================== -->
|
123
|
+
<!-- Placed at the end of the document so the pages load faster -->
|
124
|
+
<script src="../../docs/assets/js/jquery.js"></script>
|
125
|
+
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
126
|
+
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
127
|
+
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
128
|
+
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
129
|
+
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
130
|
+
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
131
|
+
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
132
|
+
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
133
|
+
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
134
|
+
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
135
|
+
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
136
|
+
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
137
|
+
|
138
|
+
</body>
|
139
|
+
</html>
|
@@ -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="shortcut icon" href="../../docs/assets/ico/favicon.ico">
|
27
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
28
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
29
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
30
|
+
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.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="shortcut icon" href="../../docs/assets/ico/favicon.ico">
|
27
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
28
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
29
|
+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
30
|
+
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.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="shortcut icon" href="../../docs/assets/ico/favicon.ico">
|
29
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
30
|
+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
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
|
+
</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>
|