From 3f388ef07a5f0101e97b19479e472528a0c78ff9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 19 Aug 2011 22:28:22 -0700 Subject: updates to the topbar markup and css to remove the logo classname and simplify the selectors for it --- docs/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 8c6c43515..9fc2a9b90 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - Twitter Bootstrap + Bootstrap, from Twitter @@ -20,8 +20,8 @@
-

+ Bootstrap

  • Overview
  • @@ -41,7 +41,7 @@
    -

    Twitter Bootstrap

    +

    Bootstrap, from Twitter

    Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites.
    It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.
    -- cgit v1.2.3 From 66fea662e4b15661cd05b40044a13a7443ed5224 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 19 Aug 2011 22:29:10 -0700 Subject: fix typo --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 9fc2a9b90..62b643da5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1119,7 +1119,7 @@ Lorem ipsum dolar sit amet illo error ipsum verita

    Popovers

    -

    Use popovers to provide subtextual information to a page without effecting layout.

    +

    Use popovers to provide subtextual information to a page without affecting layout.

    -- cgit v1.2.3 From fc3324f88be85b698e095f5f20d00ffb25c3e917 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 19 Aug 2011 22:31:03 -0700 Subject: fix spacing and confusion in example h1 heading with small tag --- docs/index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 62b643da5..14ac43b8f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -256,7 +256,7 @@

    Headings and copy

    A standard typographic hierarchy for structuring your webpages.

    -
    +

    h1. Heading 1

    h2. Heading 2

    h3. Heading 3

    @@ -264,11 +264,10 @@
    h5. Heading 5
    h6. Heading 6
    -
    +

    Example paragraph

    Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    -

    Example headingHas sub-heading…

    -

    You can also add subheadings with the <strong> and <em>

    +

    Example heading Has sub-heading…

    -- cgit v1.2.3 From 4f2b0d8aa4ae646fd5bc151252cf446c2cdba098 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 19 Aug 2011 22:32:14 -0700 Subject: fix topbar in docs as well --- docs/index.html | 134 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 67 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 14ac43b8f..923ca10f7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -286,7 +286,7 @@

    When to use

    Emphasis tags (<strong> and <em>) should be used to add visual distinction between a word or phrase and its surrounding copy. Use <strong> for plain old attention and <em> for slick attention and titles.

    Emphasis in a paragraph

    -

    Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.

    +

    Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.

    Note: It’s still okay to use <b> and <i> tags in HTML5, but they don’t come with inherent styles anymore. <b> is meant to convey importance while <i> is mostly for voice, technical terms, etc.

    Addresses

    The address element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:

    @@ -847,12 +847,12 @@
@@ -896,35 +896,35 @@

 <ul class="tabs">
-  <li class="active"><a href="">Home</a></li>
-  <li><a href="">Profile</a></li>
-  <li><a href="">Messages</a></li>
-  <li><a href="">Settings</a></li>
-  <li><a href="">Contact</a></li>
+  <li class="active"><a href="#">Home</a></li>
+  <li><a href="#">Profile</a></li>
+  <li><a href="#">Messages</a></li>
+  <li><a href="#">Settings</a></li>
+  <li><a href="#">Contact</a></li>
 </ul>
 
 <ul class="pills">
-  <li class="active"><a href="">Home</a></li>
-  <li><a href="">Profile</a></li>
-  <li><a href="">Messages</a></li>
-  <li><a href="">Settings</a></li>
-  <li><a href="">Contact</a></li>
+  <li class="active"><a href="#">Home</a></li>
+  <li><a href="#">Profile</a></li>
+  <li><a href="#">Messages</a></li>
+  <li><a href="#">Settings</a></li>
+  <li><a href="#">Contact</a></li>
 </ul>
 
@@ -938,55 +938,55 @@
 <div class="pagination">
   <ul>
-    <li class="prev disabled"><a href="">&larr; Previous</a></li>
-    <li class="active"><a href="">1</a></li>
-    <li><a href="">2</a></li>
-    <li><a href="">3</a></li>
-    <li><a href="">4</a></li>
-    <li><a href="">5</a></li>
-    <li class="next"><a href="">Next &rarr;</a></li>
+    <li class="prev disabled"><a href="#">&larr; Previous</a></li>
+    <li class="active"><a href="#">1</a></li>
+    <li><a href="#">2</a></li>
+    <li><a href="#">3</a></li>
+    <li><a href="#">4</a></li>
+    <li><a href="#">5</a></li>
+    <li class="next"><a href="#">Next &rarr;</a></li>
   </ul>
 </div>
 
@@ -1076,8 +1076,8 @@

One fine body…

-- cgit v1.2.3 From 4a567fcb10a835bac16f195c93bc64f9546981bf Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 20 Aug 2011 01:11:48 -0700 Subject: updated docs and docs css to not use rgba colors on the layout modules so IE can see that shiz --- docs/assets/css/docs.css | 52 +++++++++++++++++++++++++----------------------- docs/index.html | 9 ++++++--- 2 files changed, 33 insertions(+), 28 deletions(-) (limited to 'docs') diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 13868fdd9..7345a3244 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -11,8 +11,7 @@ body { position: relative; } section { - padding-top: 80px; - margin-bottom: -40px; + padding-top: 60px; } #masthead, #footer { background-color: #049cd9; @@ -29,8 +28,8 @@ section { background: transparent url(../img/grid-18px.png) top center; padding: 45px 0; -webkit-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3); - -moz-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3); - box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3); + -moz-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3); + box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3); } #masthead h1, #footer h1, @@ -77,15 +76,14 @@ div.quickstart { -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0)"; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0); background-image: linear-gradient(#f9f9f9, #f5f5f5); - margin-bottom: -36px; border-top: 1px solid #fff; border-bottom: 1px solid #eee; } div.quickstart div.row { margin: 0 -20px; -webkit-box-shadow: 1px 0 0 #f9f9f9; - -moz-box-shadow: 1px 0 0 #f9f9f9; - box-shadow: 1px 0 0 #f9f9f9; + -moz-box-shadow: 1px 0 0 #f9f9f9; + box-shadow: 1px 0 0 #f9f9f9; } div.quickstart div.columns { width: 285px; @@ -94,8 +92,8 @@ div.quickstart div.columns { padding: 17px 20px 26px; border-left: 1px solid #eee; -webkit-box-shadow: inset 1px 0 0 #f9f9f9; - -moz-box-shadow: inset 1px 0 0 #f9f9f9; - box-shadow: inset 1px 0 0 #f9f9f9; + -moz-box-shadow: inset 1px 0 0 #f9f9f9; + box-shadow: inset 1px 0 0 #f9f9f9; } div.quickstart div.columns:last-child { border-right: 1px solid #eee; @@ -137,10 +135,11 @@ div.quickstart form textarea { margin-bottom: 20px; } .show-grid .column, .show-grid .columns { - background: rgba(0, 0, 0, 0.1); + background-color: #eee; text-align: center; - -moz-border-radius: 3px; - border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; height: 30px; line-height: 30px; } @@ -181,19 +180,21 @@ div.mini-layout { height: 340px; margin-bottom: 20px; padding: 9px; - border: 1px solid rgba(0, 0, 0, 0.25); - -moz-border-radius: 6px; - border-radius: 6px; + border: 1px solid #ccc; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.125); } div.mini-layout div { - -moz-border-radius: 3px; - border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } div.mini-layout div.mini-layout-body { - background-color: rgba(141, 192, 219, 0.25); + background-color: #dceaf4; margin: 0 auto; width: 450px; height: 340px; @@ -202,7 +203,7 @@ div.mini-layout.fluid div.mini-layout-sidebar, div.mini-layout.fluid div.mini-la float: left; } div.mini-layout.fluid div.mini-layout-sidebar { - background-color: rgba(141, 192, 219, 0.5); + background-color: #bbd8e9; width: 90px; height: 340px; } @@ -222,8 +223,9 @@ div.topbar-wrapper div.topbar { margin: 0 -20px; padding-left: 20px; padding-right: 20px; - -moz-border-radius: 4px; - border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; } /* Popover docs @@ -241,7 +243,7 @@ div.popover-well div.popover-wrapper { height: 160px; float: left; margin-left: 55px; - position:relative; + position: relative; } div.popover-well div.popover-menu-wrapper { @@ -250,5 +252,5 @@ div.popover-well div.popover-menu-wrapper { img.large-bird { margin: 5px 0 0 310px; - opacity:.1; + opacity: .1; } \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 923ca10f7..a6d2bc5ee 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,6 +4,11 @@ Bootstrap, from Twitter + + + @@ -20,9 +25,7 @@
-

- Bootstrap -

+

Bootstrap

  • Overview
  • Grid
  • -- cgit v1.2.3 From 261a473a72b321b827e3e4cf55167a761af1916b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 20 Aug 2011 01:51:06 -0700 Subject: adding more details on browser support, adding snippet of about text, changed p tags to have half the bottom margin --- docs/assets/img/browsers.png | Bin 0 -> 15994 bytes docs/index.html | 204 ++++++++++++++++++++++--------------------- 2 files changed, 105 insertions(+), 99 deletions(-) create mode 100644 docs/assets/img/browsers.png (limited to 'docs') diff --git a/docs/assets/img/browsers.png b/docs/assets/img/browsers.png new file mode 100644 index 000000000..0dae62c78 Binary files /dev/null and b/docs/assets/img/browsers.png differ diff --git a/docs/index.html b/docs/index.html index a6d2bc5ee..85965e1b1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -77,25 +77,43 @@

    Download, fork, pull, file issues, and more with the official Bootstrap repo on Github.

    Bootstrap on GitHub »

-
+
+
+ +
+
+

History

+

In the earlier days of Twitter, engineers used almost any library they were familiar with to meet front-end requirements. Bootstrap began as an answer to the challenges that presented and development quickly accelerated during Twitter’s first Hackweek.

+

With the help and feedback of many engineers at Twitter, Bootstrap has grown significantly to encompass not only basic styles, but more elegant and durable front-end design patterns.

+

Read more on dev.twitter.com ›

+
+
+

Browser support

+

Bootstrap is tested and supported most thoroughly in modern browsers like Chrome, Safari, and Firefox. Full support for versions of Internet Explorer is in the works.

+ Tested and supported in Chrome, Safari, and Firefox +
+
+
- -
-
-

Default grid

-

The default grid system provided as part of Bootstrap is a 940px wide 16-column grid. It’s a flavor of the popular 960 grid system, but without the additional margin/padding on the left and right sides.

+ -
-

Example grid markup

-

As shown here, a basic layout can be created with two "columns," each spanning a number of the 16 foundational columns we defined as part of our grid system. See the examples below for more variations.

+
+
+

Default grid

+

The default grid system provided as part of Bootstrap is a 940px wide 16-column grid. It’s a flavor of the popular 960 grid system, but without the additional margin/padding on the left and right sides.

+
+
+

Example grid markup

+

As shown here, a basic layout can be created with two "columns," each spanning a number of the 16 foundational columns we defined as part of our grid system. See the examples below for more variations.

 <div class="row">
   <div class="span6 columns">
@@ -106,94 +124,82 @@
   </div>
 </div>
 
-
-
- -
-
1
-
1
-
1
-
1
- -
1
-
1
-
1
-
1
- -
1
-
1
-
1
-
1
- -
1
-
1
-
1
-
1
-
- -
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
2
-
- -
-
3
-
3
-
3
-
3
-
3
-
1
-
- -
-
4
-
4
-
4
-
4
-
- -
-
4
-
6
-
6
-
- -
-
8
-
8
-
- -
-
5
-
11
-
- -
-
16
-
- -

Offsetting columns

-
-
4
-
8 offset 4
-
-
-
4 offset 4
-
4 offset 4
-
-
-
5 offset 3
-
5 offset 3
-
-
-
10 offset 6
-
+
+
+
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
+
+
2
+
2
+
2
+
2
+
2
+
2
+
2
+
2
+
+
+
3
+
3
+
3
+
3
+
3
+
1
+
+
+
4
+
4
+
4
+
4
+
+
+
4
+
6
+
6
+
+
+
8
+
8
+
+
+
5
+
11
+
+
+
16
+
+

Offsetting columns

+
+
4
+
8 offset 4
+
+
+
4 offset 4
+
4 offset 4
+
+
+
5 offset 3
+
5 offset 3
+
+
+
10 offset 6
+
-- cgit v1.2.3 From 72899a4ee8f9c3b75ba5e015d6c88f5154705c62 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 20 Aug 2011 18:58:12 -0700 Subject: updated docs to fix inconsistent display of code elements, update scaffolding to fix padding issue on fluid containers, add placeholder hero unit in patterns for future use, continue to refactor some rgba to hex values --- docs/assets/css/docs.css | 6 +-- docs/index.html | 118 +++++++++++++++++++++++++++++------------------ 2 files changed, 75 insertions(+), 49 deletions(-) (limited to 'docs') diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 7345a3244..ede141ce5 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -44,7 +44,7 @@ section { font-weight: bold; } #masthead { - margin-top: 40px; + margin-top: -20px; } #masthead h1, #masthead p { @@ -131,8 +131,8 @@ div.quickstart form textarea { /* Special grid styles -------------------------------------------------- */ .show-grid { - margin-top: 20px; - margin-bottom: 20px; + margin-top: 10px; + margin-bottom: 10px; } .show-grid .column, .show-grid .columns { background-color: #eee; diff --git a/docs/index.html b/docs/index.html index 85965e1b1..7244191c9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,6 +3,8 @@ Bootstrap, from Twitter + + + - + + + + + + - +
-
+

Bootstrap

  • Overview
  • +
  • About
  • Grid
  • Layouts
  • Typography
  • @@ -49,7 +58,7 @@ Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites.
    It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.

    -

    Nerd alert: Bootstrap is built with Less and was designed to work out of the gate with only modern browsers in mind.

    +

    Nerd alert: Bootstrap is built with Less and was designed to work out of the gate with modern browsers in mind.

@@ -89,15 +98,30 @@
-

History

+

History

In the earlier days of Twitter, engineers used almost any library they were familiar with to meet front-end requirements. Bootstrap began as an answer to the challenges that presented and development quickly accelerated during Twitter’s first Hackweek.

With the help and feedback of many engineers at Twitter, Bootstrap has grown significantly to encompass not only basic styles, but more elegant and durable front-end design patterns.

Read more on dev.twitter.com ›

-
-

Browser support

-

Bootstrap is tested and supported most thoroughly in modern browsers like Chrome, Safari, and Firefox. Full support for versions of Internet Explorer is in the works.

- Tested and supported in Chrome, Safari, and Firefox +
+

Browser support

+

Bootstrap is tested and supported in modern browsers like Chrome, Safari, and Firefox. Full support for some versions of Internet Explorer is in the works.

+ Tested and supported in Chrome, Safari, and Firefox +
    +
  • Latest Safari
  • +
  • Latest Google Chrome
  • +
  • Firefox v4
  • +
+
+
+

What's included

+

Bootstrap comes complete with compiled CSS, uncompiled, and example templates.

+
    +
  • All original .less files
  • +
  • Fully compiled and minified CSS
  • +
  • Complete styleguide documentation
  • +
  • Example page template (more to come soon)
  • +
@@ -298,16 +322,16 @@

Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.

Note: It’s still okay to use <b> and <i> tags in HTML5, but they don’t come with inherent styles anymore. <b> is meant to convey importance while <i> is mostly for voice, technical terms, etc.

Addresses

-

The address element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:

+

The <address> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:

Twitter, Inc.
795 Folsom Ave, Suite 600
San Francisco, CA 94107
P: (123) 456-7890
-

Note: Each line in an address must end with a line-break (<br />) or be wrapped in a block-level tag (e.g., p) to properly structure the content.

+

Note: Each line in an <address> must end with a line-break (<br />) or be wrapped in a block-level tag (e.g., <p>) to properly structure the content.

Abbreviations

-

For abbreviations and acronyms, use the abbr tag (acronym is deprecated in HTML5). Put the shorthand form within the tag and set a title for the complete name.

+

For abbreviations and acronyms, use the <abbr> tag (<acronym> is deprecated in HTML5). Put the shorthand form within the tag and set a title for the complete name.

@@ -321,7 +345,7 @@

-

Be sure to wrap your blockquote around paragraph and small tags. When citing a source, use the small element. The CSS will automatically preface a name with an em dash (&mdash;).

+

Be sure to wrap your <blockquote> around <p> and <small> tags. When citing a source, use the <small> element. The CSS will automatically preface a name with an em dash (&mdash;).

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…

Dr. Julius Hibbert @@ -430,8 +454,8 @@ <caption>

Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.

-

Always wrap your column headers in a thead such that hierarchy is thead > tr > th.

-

Similar to the column headers, all your table’s body content should be wrapped in a tbody so your hierarchy is tbody > tr > td.

+

Always wrap your column headers in a <thead> such that hierarchy is <thead> > <tr> > <th>.

+

Similar to the column headers, all your table’s body content should be wrapped in a <tbody> so your hierarchy is <tbody> > <tr> > <td>.

@@ -815,7 +839,7 @@

Example buttons

-

Button styles can be applied to anything with the .btn applied. Typically you’ll want to apply these to only a, button, and select input elements. Here’s how it looks:

+

Button styles can be applied to anything with the .btn applied. Typically you’ll want to apply these to only <a>, <button>, and select <input> elements. Here’s how it looks:

@@ -831,7 +855,7 @@ Action

Disabled state

-

For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s .disabled for links and :disabled for button elements.

+

For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s .disabled for links and :disabled for <button> elements.

Links

Primary action @@ -900,7 +924,7 @@

Tabs and pills

-

Create simple secondary navigation with a ul. Swap between tabs or pills by adding the appropriate class.

+

Create simple secondary navigation with a <ul>. Swap between tabs or pills by adding the appropriate class.

Great for sub-sections of content like our account settings pages and user timelines for toggling between pages of like content. Available in tabbed or pill styles.

@@ -1076,6 +1100,7 @@
+
-
-
-
-

Tool Tips

-

Twipsies are super useful for aiding a confused user and pointing them in the right direction.

-
-
-
-
-

+

+
+ +
+
+

Tool Tips

+

Twipsies are super useful for aiding a confused user and pointing them in the right direction.

+
+
+
+
+

Lorem ipsum dolar sit amet illo error ipsum veritatis aut iste perspiciatis iste voluptas natus illo quasi odit aut natus consequuntur consequuntur, aut natus illo voluptatem odit perspiciatis laudantium rem doloremque totam voluptas. Voluptasdicta eaque beatae aperiam ut enim voluptatem explicabo explicabo, voluptas quia odit fugit accusantium totam totam architecto explicabo sit quasi fugit fugit, totam doloremque unde sunt sed dicta quae accusantium fugit voluptas nemo voluptas voluptatem rem quae aut veritatis quasi quae. -

-
-
-
below!
-
-
-
-
right!
-
-
-
-
left!
-
-
-
-
above!
-
+

+
+
+
below!
+
+
+
+
right!
+
+
+
+
left!
+
+
+
+
above!
@@ -1141,7 +1167,7 @@ Lorem ipsum dolar sit amet illo error ipsum verita
- +
-- cgit v1.2.3