style-guide 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/.pairs +11 -0
- data/.rvmrc +1 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +144 -0
- data/Guardfile +14 -0
- data/LICENSE +7 -0
- data/README.md +7 -0
- data/Rakefile +27 -0
- data/app/assets/images/style_guide/.gitkeep +0 -0
- data/app/assets/images/style_guide/img/bird.png +0 -0
- data/app/assets/images/style_guide/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
- data/app/assets/images/style_guide/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
- data/app/assets/images/style_guide/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
- data/app/assets/images/style_guide/img/browsers.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-bootstrap-features.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-masthead-pattern.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-responsive-illustrations.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-twitter-github.png +0 -0
- data/app/assets/images/style_guide/img/example-diagram-01.png +0 -0
- data/app/assets/images/style_guide/img/example-diagram-02.png +0 -0
- data/app/assets/images/style_guide/img/example-diagram-03.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/8020select.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/adoptahydrant.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/bartop.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/breakingnews.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/fleetio.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/gathercontent.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/jshint.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/kippt.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/railwayjs.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/soundready.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/totalwireframe.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-carousel.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-fluid.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-hero.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-marketing-narrow.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-signin.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-starter.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-sticky-footer.png +0 -0
- data/app/assets/images/style_guide/img/examples/browser-icon-chrome.png +0 -0
- data/app/assets/images/style_guide/img/examples/browser-icon-firefox.png +0 -0
- data/app/assets/images/style_guide/img/examples/browser-icon-safari.png +0 -0
- data/app/assets/images/style_guide/img/examples/slide-01.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/slide-02.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/slide-03.jpg +0 -0
- data/app/assets/images/style_guide/img/github-16px.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_042_group.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons-halflings.png +0 -0
- data/app/assets/images/style_guide/img/grid-18px-masked.png +0 -0
- data/app/assets/images/style_guide/img/grid-baseline-20px.png +0 -0
- data/app/assets/images/style_guide/img/icon-css3.png +0 -0
- data/app/assets/images/style_guide/img/icon-github.png +0 -0
- data/app/assets/images/style_guide/img/icon-html5.png +0 -0
- data/app/assets/images/style_guide/img/icon-twitter.png +0 -0
- data/app/assets/images/style_guide/img/less-logo-large.png +0 -0
- data/app/assets/images/style_guide/img/less-small.png +0 -0
- data/app/assets/images/style_guide/img/responsive-illustrations.png +0 -0
- data/app/assets/javascripts/style_guide/application.js +13 -0
- data/app/assets/javascripts/style_guide/docs.js +154 -0
- data/app/assets/javascripts/style_guide/prettify.js +28 -0
- data/app/assets/stylesheets/style_guide/application.css +13 -0
- data/app/assets/stylesheets/style_guide/docs.css +1015 -0
- data/app/assets/stylesheets/style_guide/prettify.css +30 -0
- data/app/controllers/style_guide/application_controller.rb +4 -0
- data/app/controllers/style_guide/style_controller.rb +12 -0
- data/app/helpers/style_guide/application_helper.rb +4 -0
- data/app/views/layouts/style_guide/application.html.erb +44 -0
- data/app/views/style_guide/partials/_buttons.erb +167 -0
- data/app/views/style_guide/partials/_code.erb +31 -0
- data/app/views/style_guide/partials/_forms.erb +714 -0
- data/app/views/style_guide/partials/_images.erb +318 -0
- data/app/views/style_guide/partials/_tables.erb +409 -0
- data/app/views/style_guide/partials/_typography.erb +331 -0
- data/app/views/style_guide/style/index.html.erb +32 -0
- data/config/routes.rb +3 -0
- data/lib/style_guide/engine.rb +12 -0
- data/lib/style_guide/version.rb +3 -0
- data/lib/style_guide.rb +4 -0
- data/script/rails +8 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_042_group.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons-halflings-white.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons-halflings.png +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +27 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-affix.js +106 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-alert.js +88 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-button.js +94 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-carousel.js +176 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-collapse.js +156 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-dropdown.js +148 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-modal.js +234 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-popover.js +103 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-scrollspy.js +151 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-tab.js +133 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-tooltip.js +276 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-transition.js +60 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-typeahead.js +310 -0
- data/spec/dummy/app/assets/javascripts/jquery.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/accordion.less +34 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/alerts.less +65 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/bootstrap.less +63 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/breadcrumbs.less +24 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/button-groups.less +242 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/buttons.less +232 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/carousel.less +131 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/close.less +31 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/code.less +58 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/component-animations.less +22 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/dropdowns.less +237 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/forms.less +683 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/grid.less +21 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/hero-unit.less +25 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/labels-badges.less +74 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/layouts.less +16 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/media.less +55 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/mixins.less +687 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/modals.less +94 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/navbar.less +475 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/navs.less +385 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/pager.less +41 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/pagination.less +121 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/popovers.less +117 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/progress-bars.less +122 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/reset.less +138 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-1200px-min.less +28 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-767px-max.less +193 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-768px-979px.less +19 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-navbar.less +185 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-utilities.less +43 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive.less +48 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/scaffolding.less +52 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/sprites.less +193 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/tables.less +236 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/thumbnails.less +52 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/tooltip.less +70 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/type.less +227 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/utilities.less +30 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/variables.less +301 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/wells.less +29 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap-responsive.css +1088 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap.css +5893 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/_colors.scss +10 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/ars-maquette-web.css +35 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/button.less +5 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/layout.css.scss +11 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/typography.css.scss +20 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/variables.css.less +10 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap.css.less +3 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/home_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/views/home/index.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/styles/_info-header.erb +1 -0
- data/spec/dummy/config/application.rb +32 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +34 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_042_group.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/spec/dummy/public/img/glyphicons-halflings-white.png +0 -0
- data/spec/dummy/public/img/glyphicons-halflings.png +0 -0
- data/spec/dummy/script/rails +6 -0
- data/style-guide.gemspec +26 -0
- metadata +500 -0
@@ -0,0 +1,318 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<!-- Images
|
4
|
+
================================================== -->
|
5
|
+
<section id="images">
|
6
|
+
<div class="page-header">
|
7
|
+
<h1>Images</h1>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<p>Add classes to an <code><img></code> element to easily style images in any project.</p>
|
11
|
+
<div class="bs-docs-example bs-docs-example-images">
|
12
|
+
<img src="http://placehold.it/140x140" class="img-rounded">
|
13
|
+
<img src="http://placehold.it/140x140" class="img-circle">
|
14
|
+
<img src="http://placehold.it/140x140" class="img-polaroid">
|
15
|
+
</div>
|
16
|
+
<pre class="prettyprint linenums">
|
17
|
+
<img src="..." class="img-rounded">
|
18
|
+
<img src="..." class="img-circle">
|
19
|
+
<img src="..." class="img-polaroid">
|
20
|
+
</pre>
|
21
|
+
<p><span class="label label-info">Heads up!</span> <code>.img-rounded</code> and <code>.img-circle</code> do not work in IE7-8 due to lack of <code>border-radius</code> support.</p>
|
22
|
+
|
23
|
+
|
24
|
+
</section>
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
<!-- Icons
|
29
|
+
================================================== -->
|
30
|
+
<section id="icons">
|
31
|
+
<div class="page-header">
|
32
|
+
<h1>Icons <small>by <a href="http://glyphicons.com" target="_blank">Glyphicons</a></small></h1>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<h2>Icon glyphs</h2>
|
36
|
+
<p>140 icons in sprite form, available in dark gray (default) and white, provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a>.</p>
|
37
|
+
<ul class="the-icons clearfix">
|
38
|
+
<li><i class="icon-glass"></i> icon-glass</li>
|
39
|
+
<li><i class="icon-music"></i> icon-music</li>
|
40
|
+
<li><i class="icon-search"></i> icon-search</li>
|
41
|
+
<li><i class="icon-envelope"></i> icon-envelope</li>
|
42
|
+
<li><i class="icon-heart"></i> icon-heart</li>
|
43
|
+
<li><i class="icon-star"></i> icon-star</li>
|
44
|
+
<li><i class="icon-star-empty"></i> icon-star-empty</li>
|
45
|
+
<li><i class="icon-user"></i> icon-user</li>
|
46
|
+
<li><i class="icon-film"></i> icon-film</li>
|
47
|
+
<li><i class="icon-th-large"></i> icon-th-large</li>
|
48
|
+
<li><i class="icon-th"></i> icon-th</li>
|
49
|
+
<li><i class="icon-th-list"></i> icon-th-list</li>
|
50
|
+
<li><i class="icon-ok"></i> icon-ok</li>
|
51
|
+
<li><i class="icon-remove"></i> icon-remove</li>
|
52
|
+
<li><i class="icon-zoom-in"></i> icon-zoom-in</li>
|
53
|
+
<li><i class="icon-zoom-out"></i> icon-zoom-out</li>
|
54
|
+
<li><i class="icon-off"></i> icon-off</li>
|
55
|
+
<li><i class="icon-signal"></i> icon-signal</li>
|
56
|
+
<li><i class="icon-cog"></i> icon-cog</li>
|
57
|
+
<li><i class="icon-trash"></i> icon-trash</li>
|
58
|
+
<li><i class="icon-home"></i> icon-home</li>
|
59
|
+
<li><i class="icon-file"></i> icon-file</li>
|
60
|
+
<li><i class="icon-time"></i> icon-time</li>
|
61
|
+
<li><i class="icon-road"></i> icon-road</li>
|
62
|
+
<li><i class="icon-download-alt"></i> icon-download-alt</li>
|
63
|
+
<li><i class="icon-download"></i> icon-download</li>
|
64
|
+
<li><i class="icon-upload"></i> icon-upload</li>
|
65
|
+
<li><i class="icon-inbox"></i> icon-inbox</li>
|
66
|
+
|
67
|
+
<li><i class="icon-play-circle"></i> icon-play-circle</li>
|
68
|
+
<li><i class="icon-repeat"></i> icon-repeat</li>
|
69
|
+
<li><i class="icon-refresh"></i> icon-refresh</li>
|
70
|
+
<li><i class="icon-list-alt"></i> icon-list-alt</li>
|
71
|
+
<li><i class="icon-lock"></i> icon-lock</li>
|
72
|
+
<li><i class="icon-flag"></i> icon-flag</li>
|
73
|
+
<li><i class="icon-headphones"></i> icon-headphones</li>
|
74
|
+
<li><i class="icon-volume-off"></i> icon-volume-off</li>
|
75
|
+
<li><i class="icon-volume-down"></i> icon-volume-down</li>
|
76
|
+
<li><i class="icon-volume-up"></i> icon-volume-up</li>
|
77
|
+
<li><i class="icon-qrcode"></i> icon-qrcode</li>
|
78
|
+
<li><i class="icon-barcode"></i> icon-barcode</li>
|
79
|
+
<li><i class="icon-tag"></i> icon-tag</li>
|
80
|
+
<li><i class="icon-tags"></i> icon-tags</li>
|
81
|
+
<li><i class="icon-book"></i> icon-book</li>
|
82
|
+
<li><i class="icon-bookmark"></i> icon-bookmark</li>
|
83
|
+
<li><i class="icon-print"></i> icon-print</li>
|
84
|
+
<li><i class="icon-camera"></i> icon-camera</li>
|
85
|
+
<li><i class="icon-font"></i> icon-font</li>
|
86
|
+
<li><i class="icon-bold"></i> icon-bold</li>
|
87
|
+
<li><i class="icon-italic"></i> icon-italic</li>
|
88
|
+
<li><i class="icon-text-height"></i> icon-text-height</li>
|
89
|
+
<li><i class="icon-text-width"></i> icon-text-width</li>
|
90
|
+
<li><i class="icon-align-left"></i> icon-align-left</li>
|
91
|
+
<li><i class="icon-align-center"></i> icon-align-center</li>
|
92
|
+
<li><i class="icon-align-right"></i> icon-align-right</li>
|
93
|
+
<li><i class="icon-align-justify"></i> icon-align-justify</li>
|
94
|
+
<li><i class="icon-list"></i> icon-list</li>
|
95
|
+
|
96
|
+
<li><i class="icon-indent-left"></i> icon-indent-left</li>
|
97
|
+
<li><i class="icon-indent-right"></i> icon-indent-right</li>
|
98
|
+
<li><i class="icon-facetime-video"></i> icon-facetime-video</li>
|
99
|
+
<li><i class="icon-picture"></i> icon-picture</li>
|
100
|
+
<li><i class="icon-pencil"></i> icon-pencil</li>
|
101
|
+
<li><i class="icon-map-marker"></i> icon-map-marker</li>
|
102
|
+
<li><i class="icon-adjust"></i> icon-adjust</li>
|
103
|
+
<li><i class="icon-tint"></i> icon-tint</li>
|
104
|
+
<li><i class="icon-edit"></i> icon-edit</li>
|
105
|
+
<li><i class="icon-share"></i> icon-share</li>
|
106
|
+
<li><i class="icon-check"></i> icon-check</li>
|
107
|
+
<li><i class="icon-move"></i> icon-move</li>
|
108
|
+
<li><i class="icon-step-backward"></i> icon-step-backward</li>
|
109
|
+
<li><i class="icon-fast-backward"></i> icon-fast-backward</li>
|
110
|
+
<li><i class="icon-backward"></i> icon-backward</li>
|
111
|
+
<li><i class="icon-play"></i> icon-play</li>
|
112
|
+
<li><i class="icon-pause"></i> icon-pause</li>
|
113
|
+
<li><i class="icon-stop"></i> icon-stop</li>
|
114
|
+
<li><i class="icon-forward"></i> icon-forward</li>
|
115
|
+
<li><i class="icon-fast-forward"></i> icon-fast-forward</li>
|
116
|
+
<li><i class="icon-step-forward"></i> icon-step-forward</li>
|
117
|
+
<li><i class="icon-eject"></i> icon-eject</li>
|
118
|
+
<li><i class="icon-chevron-left"></i> icon-chevron-left</li>
|
119
|
+
<li><i class="icon-chevron-right"></i> icon-chevron-right</li>
|
120
|
+
<li><i class="icon-plus-sign"></i> icon-plus-sign</li>
|
121
|
+
<li><i class="icon-minus-sign"></i> icon-minus-sign</li>
|
122
|
+
<li><i class="icon-remove-sign"></i> icon-remove-sign</li>
|
123
|
+
<li><i class="icon-ok-sign"></i> icon-ok-sign</li>
|
124
|
+
|
125
|
+
<li><i class="icon-question-sign"></i> icon-question-sign</li>
|
126
|
+
<li><i class="icon-info-sign"></i> icon-info-sign</li>
|
127
|
+
<li><i class="icon-screenshot"></i> icon-screenshot</li>
|
128
|
+
<li><i class="icon-remove-circle"></i> icon-remove-circle</li>
|
129
|
+
<li><i class="icon-ok-circle"></i> icon-ok-circle</li>
|
130
|
+
<li><i class="icon-ban-circle"></i> icon-ban-circle</li>
|
131
|
+
<li><i class="icon-arrow-left"></i> icon-arrow-left</li>
|
132
|
+
<li><i class="icon-arrow-right"></i> icon-arrow-right</li>
|
133
|
+
<li><i class="icon-arrow-up"></i> icon-arrow-up</li>
|
134
|
+
<li><i class="icon-arrow-down"></i> icon-arrow-down</li>
|
135
|
+
<li><i class="icon-share-alt"></i> icon-share-alt</li>
|
136
|
+
<li><i class="icon-resize-full"></i> icon-resize-full</li>
|
137
|
+
<li><i class="icon-resize-small"></i> icon-resize-small</li>
|
138
|
+
<li><i class="icon-plus"></i> icon-plus</li>
|
139
|
+
<li><i class="icon-minus"></i> icon-minus</li>
|
140
|
+
<li><i class="icon-asterisk"></i> icon-asterisk</li>
|
141
|
+
<li><i class="icon-exclamation-sign"></i> icon-exclamation-sign</li>
|
142
|
+
<li><i class="icon-gift"></i> icon-gift</li>
|
143
|
+
<li><i class="icon-leaf"></i> icon-leaf</li>
|
144
|
+
<li><i class="icon-fire"></i> icon-fire</li>
|
145
|
+
<li><i class="icon-eye-open"></i> icon-eye-open</li>
|
146
|
+
<li><i class="icon-eye-close"></i> icon-eye-close</li>
|
147
|
+
<li><i class="icon-warning-sign"></i> icon-warning-sign</li>
|
148
|
+
<li><i class="icon-plane"></i> icon-plane</li>
|
149
|
+
<li><i class="icon-calendar"></i> icon-calendar</li>
|
150
|
+
<li><i class="icon-random"></i> icon-random</li>
|
151
|
+
<li><i class="icon-comment"></i> icon-comment</li>
|
152
|
+
<li><i class="icon-magnet"></i> icon-magnet</li>
|
153
|
+
|
154
|
+
<li><i class="icon-chevron-up"></i> icon-chevron-up</li>
|
155
|
+
<li><i class="icon-chevron-down"></i> icon-chevron-down</li>
|
156
|
+
<li><i class="icon-retweet"></i> icon-retweet</li>
|
157
|
+
<li><i class="icon-shopping-cart"></i> icon-shopping-cart</li>
|
158
|
+
<li><i class="icon-folder-close"></i> icon-folder-close</li>
|
159
|
+
<li><i class="icon-folder-open"></i> icon-folder-open</li>
|
160
|
+
<li><i class="icon-resize-vertical"></i> icon-resize-vertical</li>
|
161
|
+
<li><i class="icon-resize-horizontal"></i> icon-resize-horizontal</li>
|
162
|
+
<li><i class="icon-hdd"></i> icon-hdd</li>
|
163
|
+
<li><i class="icon-bullhorn"></i> icon-bullhorn</li>
|
164
|
+
<li><i class="icon-bell"></i> icon-bell</li>
|
165
|
+
<li><i class="icon-certificate"></i> icon-certificate</li>
|
166
|
+
<li><i class="icon-thumbs-up"></i> icon-thumbs-up</li>
|
167
|
+
<li><i class="icon-thumbs-down"></i> icon-thumbs-down</li>
|
168
|
+
<li><i class="icon-hand-right"></i> icon-hand-right</li>
|
169
|
+
<li><i class="icon-hand-left"></i> icon-hand-left</li>
|
170
|
+
<li><i class="icon-hand-up"></i> icon-hand-up</li>
|
171
|
+
<li><i class="icon-hand-down"></i> icon-hand-down</li>
|
172
|
+
<li><i class="icon-circle-arrow-right"></i> icon-circle-arrow-right</li>
|
173
|
+
<li><i class="icon-circle-arrow-left"></i> icon-circle-arrow-left</li>
|
174
|
+
<li><i class="icon-circle-arrow-up"></i> icon-circle-arrow-up</li>
|
175
|
+
<li><i class="icon-circle-arrow-down"></i> icon-circle-arrow-down</li>
|
176
|
+
<li><i class="icon-globe"></i> icon-globe</li>
|
177
|
+
<li><i class="icon-wrench"></i> icon-wrench</li>
|
178
|
+
<li><i class="icon-tasks"></i> icon-tasks</li>
|
179
|
+
<li><i class="icon-filter"></i> icon-filter</li>
|
180
|
+
<li><i class="icon-briefcase"></i> icon-briefcase</li>
|
181
|
+
<li><i class="icon-fullscreen"></i> icon-fullscreen</li>
|
182
|
+
</ul>
|
183
|
+
|
184
|
+
<h3>Glyphicons attribution</h3>
|
185
|
+
<p><a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at no cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.</p>
|
186
|
+
|
187
|
+
|
188
|
+
<hr class="bs-docs-separator">
|
189
|
+
|
190
|
+
|
191
|
+
<h2>How to use</h2>
|
192
|
+
<p>All icons require an <code><i></code> tag with a unique class, prefixed with <code>icon-</code>. To use, place the following code just about anywhere:</p>
|
193
|
+
<pre class="prettyprint linenums">
|
194
|
+
<i class="icon-search"></i>
|
195
|
+
</pre>
|
196
|
+
<p>There are also styles available for inverted (white) icons, made ready with one extra class. We will specifically enforce this class on hover and active states for nav and dropdown links.</p>
|
197
|
+
<pre class="prettyprint linenums">
|
198
|
+
<i class="icon-search icon-white"></i>
|
199
|
+
</pre>
|
200
|
+
<p>
|
201
|
+
<span class="label label-info">Heads up!</span>
|
202
|
+
When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <code><i></code> tag for proper spacing.
|
203
|
+
</p>
|
204
|
+
|
205
|
+
|
206
|
+
<hr class="bs-docs-separator">
|
207
|
+
|
208
|
+
|
209
|
+
<h2>Icon examples</h2>
|
210
|
+
<p>Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.</p>
|
211
|
+
|
212
|
+
<h4>Buttons</h4>
|
213
|
+
|
214
|
+
<h5>Button group in a button toolbar</h5>
|
215
|
+
<div class="bs-docs-example">
|
216
|
+
<div class="btn-toolbar">
|
217
|
+
<div class="btn-group">
|
218
|
+
<a class="btn" href="#"><i class="icon-align-left"></i></a>
|
219
|
+
<a class="btn" href="#"><i class="icon-align-center"></i></a>
|
220
|
+
<a class="btn" href="#"><i class="icon-align-right"></i></a>
|
221
|
+
<a class="btn" href="#"><i class="icon-align-justify"></i></a>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
<pre class="prettyprint linenums">
|
226
|
+
<div class="btn-toolbar">
|
227
|
+
<div class="btn-group">
|
228
|
+
|
229
|
+
<a class="btn" href="#"><i class="icon-align-left"></i></a>
|
230
|
+
<a class="btn" href="#"><i class="icon-align-center"></i></a>
|
231
|
+
<a class="btn" href="#"><i class="icon-align-right"></i></a>
|
232
|
+
<a class="btn" href="#"><i class="icon-align-justify"></i></a>
|
233
|
+
</div>
|
234
|
+
</div>
|
235
|
+
</pre>
|
236
|
+
|
237
|
+
<h5>Dropdown in a button group</h5>
|
238
|
+
<div class="bs-docs-example">
|
239
|
+
<div class="btn-group">
|
240
|
+
<a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> User</a>
|
241
|
+
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
|
242
|
+
<ul class="dropdown-menu">
|
243
|
+
<li><a href="#"><i class="icon-pencil"></i> Edit</a></li>
|
244
|
+
<li><a href="#"><i class="icon-trash"></i> Delete</a></li>
|
245
|
+
<li><a href="#"><i class="icon-ban-circle"></i> Ban</a></li>
|
246
|
+
<li class="divider"></li>
|
247
|
+
<li><a href="#"><i class="i"></i> Make admin</a></li>
|
248
|
+
</ul>
|
249
|
+
</div>
|
250
|
+
</div>
|
251
|
+
<pre class="prettyprint linenums">
|
252
|
+
<div class="btn-group">
|
253
|
+
<a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> User</a>
|
254
|
+
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
|
255
|
+
<ul class="dropdown-menu">
|
256
|
+
<li><a href="#"><i class="icon-pencil"></i> Edit</a></li>
|
257
|
+
<li><a href="#"><i class="icon-trash"></i> Delete</a></li>
|
258
|
+
<li><a href="#"><i class="icon-ban-circle"></i> Ban</a></li>
|
259
|
+
<li class="divider"></li>
|
260
|
+
<li><a href="#"><i class="i"></i> Make admin</a></li>
|
261
|
+
</ul>
|
262
|
+
</div>
|
263
|
+
</pre>
|
264
|
+
|
265
|
+
<h5>Small button</h5>
|
266
|
+
<div class="bs-docs-example">
|
267
|
+
<a class="btn btn-small" href="#"><i class="icon-star"></i></a>
|
268
|
+
</div>
|
269
|
+
<pre class="prettyprint linenums">
|
270
|
+
<a class="btn btn-small" href="#"><i class="icon-star"></i></a>
|
271
|
+
</pre>
|
272
|
+
|
273
|
+
|
274
|
+
<h4>Navigation</h4>
|
275
|
+
<div class="bs-docs-example">
|
276
|
+
<div class="well" style="padding: 8px 0; margin-bottom: 0;">
|
277
|
+
<ul class="nav nav-list">
|
278
|
+
<li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
|
279
|
+
<li><a href="#"><i class="icon-book"></i> Library</a></li>
|
280
|
+
<li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
|
281
|
+
<li><a href="#"><i class="i"></i> Misc</a></li>
|
282
|
+
</ul>
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
<pre class="prettyprint linenums">
|
286
|
+
<ul class="nav nav-list">
|
287
|
+
<li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
|
288
|
+
<li><a href="#"><i class="icon-book"></i> Library</a></li>
|
289
|
+
<li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
|
290
|
+
<li><a href="#"><i class="i"></i> Misc</a></li>
|
291
|
+
</ul>
|
292
|
+
</pre>
|
293
|
+
|
294
|
+
<h4>Form fields</h4>
|
295
|
+
<form class="bs-docs-example form-horizontal">
|
296
|
+
<div class="control-group">
|
297
|
+
<label class="control-label" for="inputIcon">Email address</label>
|
298
|
+
<div class="controls">
|
299
|
+
<div class="input-prepend">
|
300
|
+
<span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
|
301
|
+
</div>
|
302
|
+
</div>
|
303
|
+
</div>
|
304
|
+
</form>
|
305
|
+
<pre class="prettyprint linenums">
|
306
|
+
<div class="control-group">
|
307
|
+
<label class="control-label" for="inputIcon">Email address</label>
|
308
|
+
<div class="controls">
|
309
|
+
<div class="input-prepend">
|
310
|
+
<span class="add-on"><i class="icon-envelope"></i></span>
|
311
|
+
<input class="span2" id="inputIcon" type="text">
|
312
|
+
</div>
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
</pre>
|
316
|
+
|
317
|
+
</section>
|
318
|
+
|
@@ -0,0 +1,409 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
<!-- Tables
|
6
|
+
================================================== -->
|
7
|
+
<section id="tables">
|
8
|
+
<div class="page-header">
|
9
|
+
<h1>Tables</h1>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<h2>Default styles</h2>
|
13
|
+
<p>For basic styling—light padding and only horizontal dividers—add the base class <code>.table</code> to any <code><table></code>.</p>
|
14
|
+
<div class="bs-docs-example">
|
15
|
+
<table class="table">
|
16
|
+
<thead>
|
17
|
+
<tr>
|
18
|
+
<th>#</th>
|
19
|
+
<th>First Name</th>
|
20
|
+
<th>Last Name</th>
|
21
|
+
<th>Username</th>
|
22
|
+
</tr>
|
23
|
+
</thead>
|
24
|
+
<tbody>
|
25
|
+
<tr>
|
26
|
+
<td>1</td>
|
27
|
+
<td>Mark</td>
|
28
|
+
<td>Otto</td>
|
29
|
+
<td>@mdo</td>
|
30
|
+
</tr>
|
31
|
+
<tr>
|
32
|
+
<td>2</td>
|
33
|
+
<td>Jacob</td>
|
34
|
+
<td>Thornton</td>
|
35
|
+
<td>@fat</td>
|
36
|
+
</tr>
|
37
|
+
<tr>
|
38
|
+
<td>3</td>
|
39
|
+
<td>Larry</td>
|
40
|
+
<td>the Bird</td>
|
41
|
+
<td>@twitter</td>
|
42
|
+
</tr>
|
43
|
+
</tbody>
|
44
|
+
</table>
|
45
|
+
</div>
|
46
|
+
<pre class="prettyprint linenums">
|
47
|
+
<table class="table">
|
48
|
+
…
|
49
|
+
</table>
|
50
|
+
</pre>
|
51
|
+
|
52
|
+
|
53
|
+
<hr class="bs-docs-separator">
|
54
|
+
|
55
|
+
|
56
|
+
<h2>Optional classes</h2>
|
57
|
+
<p>Add any of the following classes to the <code>.table</code> base class.</p>
|
58
|
+
|
59
|
+
<h3><code>.table-striped</code></h3>
|
60
|
+
<p>Adds zebra-striping to any table row within the <code><tbody></code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).</p>
|
61
|
+
<div class="bs-docs-example">
|
62
|
+
<table class="table table-striped">
|
63
|
+
<thead>
|
64
|
+
<tr>
|
65
|
+
<th>#</th>
|
66
|
+
<th>First Name</th>
|
67
|
+
<th>Last Name</th>
|
68
|
+
<th>Username</th>
|
69
|
+
</tr>
|
70
|
+
</thead>
|
71
|
+
<tbody>
|
72
|
+
<tr>
|
73
|
+
<td>1</td>
|
74
|
+
<td>Mark</td>
|
75
|
+
<td>Otto</td>
|
76
|
+
<td>@mdo</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td>2</td>
|
80
|
+
<td>Jacob</td>
|
81
|
+
<td>Thornton</td>
|
82
|
+
<td>@fat</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td>3</td>
|
86
|
+
<td>Larry</td>
|
87
|
+
<td>the Bird</td>
|
88
|
+
<td>@twitter</td>
|
89
|
+
</tr>
|
90
|
+
</tbody>
|
91
|
+
</table>
|
92
|
+
</div>
|
93
|
+
<pre class="prettyprint linenums" style="margin-bottom: 18px;">
|
94
|
+
<table class="table table-striped">
|
95
|
+
…
|
96
|
+
</table>
|
97
|
+
</pre>
|
98
|
+
|
99
|
+
<h3><code>.table-bordered</code></h3>
|
100
|
+
<p>Add borders and rounded corners to the table.</p>
|
101
|
+
<div class="bs-docs-example">
|
102
|
+
<table class="table table-bordered">
|
103
|
+
<thead>
|
104
|
+
<tr>
|
105
|
+
<th>#</th>
|
106
|
+
<th>First Name</th>
|
107
|
+
<th>Last Name</th>
|
108
|
+
<th>Username</th>
|
109
|
+
</tr>
|
110
|
+
</thead>
|
111
|
+
<tbody>
|
112
|
+
<tr>
|
113
|
+
<td rowspan="2">1</td>
|
114
|
+
<td>Mark</td>
|
115
|
+
<td>Otto</td>
|
116
|
+
<td>@mdo</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td>Mark</td>
|
120
|
+
<td>Otto</td>
|
121
|
+
<td>@TwBootstrap</td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<td>2</td>
|
125
|
+
<td>Jacob</td>
|
126
|
+
<td>Thornton</td>
|
127
|
+
<td>@fat</td>
|
128
|
+
</tr>
|
129
|
+
<tr>
|
130
|
+
<td>3</td>
|
131
|
+
<td colspan="2">Larry the Bird</td>
|
132
|
+
<td>@twitter</td>
|
133
|
+
</tr>
|
134
|
+
</tbody>
|
135
|
+
</table>
|
136
|
+
</div>
|
137
|
+
<pre class="prettyprint linenums">
|
138
|
+
<table class="table table-bordered">
|
139
|
+
…
|
140
|
+
</table>
|
141
|
+
</pre>
|
142
|
+
|
143
|
+
<h3><code>.table-hover</code></h3>
|
144
|
+
<p>Enable a hover state on table rows within a <code><tbody></code>.</p>
|
145
|
+
<div class="bs-docs-example">
|
146
|
+
<table class="table table-hover">
|
147
|
+
<thead>
|
148
|
+
<tr>
|
149
|
+
<th>#</th>
|
150
|
+
<th>First Name</th>
|
151
|
+
<th>Last Name</th>
|
152
|
+
<th>Username</th>
|
153
|
+
</tr>
|
154
|
+
</thead>
|
155
|
+
<tbody>
|
156
|
+
<tr>
|
157
|
+
<td>1</td>
|
158
|
+
<td>Mark</td>
|
159
|
+
<td>Otto</td>
|
160
|
+
<td>@mdo</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td>2</td>
|
164
|
+
<td>Jacob</td>
|
165
|
+
<td>Thornton</td>
|
166
|
+
<td>@fat</td>
|
167
|
+
</tr>
|
168
|
+
<tr>
|
169
|
+
<td>3</td>
|
170
|
+
<td colspan="2">Larry the Bird</td>
|
171
|
+
<td>@twitter</td>
|
172
|
+
</tr>
|
173
|
+
</tbody>
|
174
|
+
</table>
|
175
|
+
</div>
|
176
|
+
<pre class="prettyprint linenums" style="margin-bottom: 18px;">
|
177
|
+
<table class="table table-hover">
|
178
|
+
…
|
179
|
+
</table>
|
180
|
+
</pre>
|
181
|
+
|
182
|
+
<h3><code>.table-condensed</code></h3>
|
183
|
+
<p>Makes tables more compact by cutting cell padding in half.</p>
|
184
|
+
<div class="bs-docs-example">
|
185
|
+
<table class="table table-condensed">
|
186
|
+
<thead>
|
187
|
+
<tr>
|
188
|
+
<th>#</th>
|
189
|
+
<th>First Name</th>
|
190
|
+
<th>Last Name</th>
|
191
|
+
<th>Username</th>
|
192
|
+
</tr>
|
193
|
+
</thead>
|
194
|
+
<tbody>
|
195
|
+
<tr>
|
196
|
+
<td>1</td>
|
197
|
+
<td>Mark</td>
|
198
|
+
<td>Otto</td>
|
199
|
+
<td>@mdo</td>
|
200
|
+
</tr>
|
201
|
+
<tr>
|
202
|
+
<td>2</td>
|
203
|
+
<td>Jacob</td>
|
204
|
+
<td>Thornton</td>
|
205
|
+
<td>@fat</td>
|
206
|
+
</tr>
|
207
|
+
<tr>
|
208
|
+
<td>3</td>
|
209
|
+
<td colspan="2">Larry the Bird</td>
|
210
|
+
<td>@twitter</td>
|
211
|
+
</tr>
|
212
|
+
</tbody>
|
213
|
+
</table>
|
214
|
+
</div>
|
215
|
+
<pre class="prettyprint linenums" style="margin-bottom: 18px;">
|
216
|
+
<table class="table table-condensed">
|
217
|
+
…
|
218
|
+
</table>
|
219
|
+
</pre>
|
220
|
+
|
221
|
+
|
222
|
+
<hr class="bs-docs-separator">
|
223
|
+
|
224
|
+
|
225
|
+
<h2>Optional row classes</h2>
|
226
|
+
<p>Use contextual classes to color table rows.</p>
|
227
|
+
<table class="table table-bordered table-striped">
|
228
|
+
<colgroup>
|
229
|
+
<col class="span1">
|
230
|
+
<col class="span7">
|
231
|
+
</colgroup>
|
232
|
+
<thead>
|
233
|
+
<tr>
|
234
|
+
<th>Class</th>
|
235
|
+
<th>Description</th>
|
236
|
+
</tr>
|
237
|
+
</thead>
|
238
|
+
<tbody>
|
239
|
+
<tr>
|
240
|
+
<td>
|
241
|
+
<code>.success</code>
|
242
|
+
</td>
|
243
|
+
<td>Indicates a successful or positive action.</td>
|
244
|
+
</tr>
|
245
|
+
<tr>
|
246
|
+
<td>
|
247
|
+
<code>.error</code>
|
248
|
+
</td>
|
249
|
+
<td>Indicates a dangerous or potentially negative action.</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td>
|
253
|
+
<code>.warning</code>
|
254
|
+
</td>
|
255
|
+
<td>Indicates a warning that might need attention.</td>
|
256
|
+
</tr>
|
257
|
+
<tr>
|
258
|
+
<td>
|
259
|
+
<code>.info</code>
|
260
|
+
</td>
|
261
|
+
<td>Used as an alternative to the default styles.</td>
|
262
|
+
</tr>
|
263
|
+
</tbody>
|
264
|
+
</table>
|
265
|
+
<div class="bs-docs-example">
|
266
|
+
<table class="table">
|
267
|
+
<thead>
|
268
|
+
<tr>
|
269
|
+
<th>#</th>
|
270
|
+
<th>Product</th>
|
271
|
+
<th>Payment Taken</th>
|
272
|
+
<th>Status</th>
|
273
|
+
</tr>
|
274
|
+
</thead>
|
275
|
+
<tbody>
|
276
|
+
<tr class="success">
|
277
|
+
<td>1</td>
|
278
|
+
<td>TB - Monthly</td>
|
279
|
+
<td>01/04/2012</td>
|
280
|
+
<td>Approved</td>
|
281
|
+
</tr>
|
282
|
+
<tr class="error">
|
283
|
+
<td>2</td>
|
284
|
+
<td>TB - Monthly</td>
|
285
|
+
<td>02/04/2012</td>
|
286
|
+
<td>Declined</td>
|
287
|
+
</tr>
|
288
|
+
<tr class="warning">
|
289
|
+
<td>3</td>
|
290
|
+
<td>TB - Monthly</td>
|
291
|
+
<td>03/04/2012</td>
|
292
|
+
<td>Pending</td>
|
293
|
+
</tr>
|
294
|
+
<tr class="info">
|
295
|
+
<td>4</td>
|
296
|
+
<td>TB - Monthly</td>
|
297
|
+
<td>04/04/2012</td>
|
298
|
+
<td>Call in to confirm</td>
|
299
|
+
</tr>
|
300
|
+
</tbody>
|
301
|
+
</table>
|
302
|
+
</div>
|
303
|
+
<pre class="prettyprint linenums">
|
304
|
+
...
|
305
|
+
<tr class="success">
|
306
|
+
<td>1</td>
|
307
|
+
<td>TB - Monthly</td>
|
308
|
+
<td>01/04/2012</td>
|
309
|
+
<td>Approved</td>
|
310
|
+
</tr>
|
311
|
+
...
|
312
|
+
</pre>
|
313
|
+
|
314
|
+
|
315
|
+
<hr class="bs-docs-separator">
|
316
|
+
|
317
|
+
|
318
|
+
<h2>Supported table markup</h2>
|
319
|
+
<p>List of supported table HTML elements and how they should be used.</p>
|
320
|
+
<table class="table table-bordered table-striped">
|
321
|
+
<colgroup>
|
322
|
+
<col class="span1">
|
323
|
+
<col class="span7">
|
324
|
+
</colgroup>
|
325
|
+
<thead>
|
326
|
+
<tr>
|
327
|
+
<th>Tag</th>
|
328
|
+
<th>Description</th>
|
329
|
+
</tr>
|
330
|
+
</thead>
|
331
|
+
<tbody>
|
332
|
+
<tr>
|
333
|
+
<td>
|
334
|
+
<code><table></code>
|
335
|
+
</td>
|
336
|
+
<td>
|
337
|
+
Wrapping element for displaying data in a tabular format
|
338
|
+
</td>
|
339
|
+
</tr>
|
340
|
+
<tr>
|
341
|
+
<td>
|
342
|
+
<code><thead></code>
|
343
|
+
</td>
|
344
|
+
<td>
|
345
|
+
Container element for table header rows (<code><tr></code>) to label table columns
|
346
|
+
</td>
|
347
|
+
</tr>
|
348
|
+
<tr>
|
349
|
+
<td>
|
350
|
+
<code><tbody></code>
|
351
|
+
</td>
|
352
|
+
<td>
|
353
|
+
Container element for table rows (<code><tr></code>) in the body of the table
|
354
|
+
</td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td>
|
358
|
+
<code><tr></code>
|
359
|
+
</td>
|
360
|
+
<td>
|
361
|
+
Container element for a set of table cells (<code><td></code> or <code><th></code>) that appears on a single row
|
362
|
+
</td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td>
|
366
|
+
<code><td></code>
|
367
|
+
</td>
|
368
|
+
<td>
|
369
|
+
Default table cell
|
370
|
+
</td>
|
371
|
+
</tr>
|
372
|
+
<tr>
|
373
|
+
<td>
|
374
|
+
<code><th></code>
|
375
|
+
</td>
|
376
|
+
<td>
|
377
|
+
Special table cell for column (or row, depending on scope and placement) labels<br>
|
378
|
+
Must be used within a <code><thead></code>
|
379
|
+
</td>
|
380
|
+
</tr>
|
381
|
+
<tr>
|
382
|
+
<td>
|
383
|
+
<code><caption></code>
|
384
|
+
</td>
|
385
|
+
<td>
|
386
|
+
Description or summary of what the table holds, especially useful for screen readers
|
387
|
+
</td>
|
388
|
+
</tr>
|
389
|
+
</tbody>
|
390
|
+
</table>
|
391
|
+
<pre class="prettyprint linenums">
|
392
|
+
<table>
|
393
|
+
<caption>...</caption>
|
394
|
+
<thead>
|
395
|
+
<tr>
|
396
|
+
<th>...</th>
|
397
|
+
<th>...</th>
|
398
|
+
</tr>
|
399
|
+
</thead>
|
400
|
+
<tbody>
|
401
|
+
<tr>
|
402
|
+
<td>...</td>
|
403
|
+
<td>...</td>
|
404
|
+
</tr>
|
405
|
+
</tbody>
|
406
|
+
</table>
|
407
|
+
</pre>
|
408
|
+
|
409
|
+
</section>
|