Commit 01595244 authored by Jacob Thornton's avatar Jacob Thornton

Merge branch '1.2-wip' of github.com:twitter/bootstrap into 1.2-wip

Conflicts:
	bootstrap-1.2.0.css
parents 72da5dd5 0cb6804b
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Thu Sep 1 22:52:35 PDT 2011 * Date: Thu Sep 1 22:54:55 PDT 2011
*/ */
/* Reset.less /* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
...@@ -167,10 +167,6 @@ textarea { ...@@ -167,10 +167,6 @@ textarea {
overflow: auto; overflow: auto;
vertical-align: top; vertical-align: top;
} }
table {
border-collapse: collapse;
border-spacing: 0;
}
/* Preboot.less /* Preboot.less
* Variables and mixins to pre-ignite any new web development project * Variables and mixins to pre-ignite any new web development project
* ------------------------------------------------------------------ */ * ------------------------------------------------------------------ */
...@@ -376,10 +372,10 @@ table { ...@@ -376,10 +372,10 @@ table {
width: 620px; width: 620px;
} }
.row .offset-one-third { .row .offset-one-third {
margin-left: 320px; margin-left: 340px;
} }
.row .offset-two-thirds { .row .offset-two-thirds {
margin-left: 640px; margin-left: 660px;
} }
html, body { html, body {
background-color: #fff; background-color: #fff;
...@@ -673,6 +669,7 @@ select, ...@@ -673,6 +669,7 @@ select,
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
} }
/* mini reset for non-html5 file types */
input[type=checkbox], input[type=radio] { input[type=checkbox], input[type=radio] {
width: auto; width: auto;
padding: 0; padding: 0;
......
...@@ -19,7 +19,6 @@ button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:poin ...@@ -19,7 +19,6 @@ button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:poin
input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;} input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;} input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
textarea{overflow:auto;vertical-align:top;} textarea{overflow:auto;vertical-align:top;}
table{border-collapse:collapse;border-spacing:0;}
.clearfix{zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";} .clearfix{zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";}
.clearfix:after{clear:both;} .clearfix:after{clear:both;}
.center-block{display:block;margin:0 auto;} .center-block{display:block;margin:0 auto;}
...@@ -62,8 +61,8 @@ table{border-collapse:collapse;border-spacing:0;} ...@@ -62,8 +61,8 @@ table{border-collapse:collapse;border-spacing:0;}
.row .offset12{margin-left:740px;} .row .offset12{margin-left:740px;}
.row .span-one-third{width:300px;} .row .span-one-third{width:300px;}
.row .span-two-thirds{width:620px;} .row .span-two-thirds{width:620px;}
.row .offset-one-third{margin-left:320px;} .row .offset-one-third{margin-left:340px;}
.row .offset-two-thirds{margin-left:640px;} .row .offset-two-thirds{margin-left:660px;}
html,body{background-color:#fff;} html,body{background-color:#fff;}
body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#808080;text-rendering:optimizeLegibility;} body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#808080;text-rendering:optimizeLegibility;}
.container{width:940px;margin:0 auto;} .container{width:940px;margin:0 auto;}
......
...@@ -215,6 +215,10 @@ ...@@ -215,6 +215,10 @@
<div class="span-one-third column">1/3</div> <div class="span-one-third column">1/3</div>
<div class="span-one-third column">1/3</div> <div class="span-one-third column">1/3</div>
</div><!-- /row --> </div><!-- /row -->
<div class="row show-grid" title="One-third and two-thirds layout">
<div class="span-one-third column">1/3</div>
<div class="span-two-thirds column">2/3</div>
</div><!-- /row -->
<div class="row show-grid" title="Irregular three column layout"> <div class="row show-grid" title="Irregular three column layout">
<div class="span4 columns">4</div> <div class="span4 columns">4</div>
<div class="span6 columns">6</div> <div class="span6 columns">6</div>
...@@ -236,6 +240,9 @@ ...@@ -236,6 +240,9 @@
<div class="span4 columns">4</div> <div class="span4 columns">4</div>
<div class="span8 columns offset4">8 offset 4</div> <div class="span8 columns offset4">8 offset 4</div>
</div><!-- /row --> </div><!-- /row -->
<div class="row show-grid">
<div class="span-one-third columns offset-two-thirds">1/3 offset 2/3s</div>
</div><!-- /row -->
<div class="row show-grid"> <div class="row show-grid">
<div class="span4 columns offset4">4 offset 4</div> <div class="span4 columns offset4">4 offset 4</div>
<div class="span4 columns offset4">4 offset 4</div> <div class="span4 columns offset4">4 offset 4</div>
...@@ -1092,7 +1099,7 @@ ...@@ -1092,7 +1099,7 @@
<div class="span12 columns"> <div class="span12 columns">
<div class="alert-message warning"> <div class="alert-message warning">
<a class="close" href="#">&times;</a> <a class="close" href="#">&times;</a>
<p><strong>Holy gaucamole!</strong> Best check yo self, you’re not looking too good.</p> <p><strong>Holy guacamole!</strong> Best check yo self, you’re not looking too good.</p>
</div> </div>
<div class="alert-message error"> <div class="alert-message error">
<a class="close" href="#">&times;</a> <a class="close" href="#">&times;</a>
...@@ -1118,7 +1125,7 @@ ...@@ -1118,7 +1125,7 @@
<div class="span12 columns"> <div class="span12 columns">
<div class="alert-message block-message warning"> <div class="alert-message block-message warning">
<a class="close" href="#">&times;</a> <a class="close" href="#">&times;</a>
<p><strong>Holy gaucamole! This is a warning!</strong> Best check yo self, you’re not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p> <p><strong>Holy guacamole! This is a warning!</strong> Best check yo self, you’re not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
<div class="alert-actions"> <div class="alert-actions">
<a class="btn small" href="#">Take this action</a> <a class="btn small" href="#">Or do this</a> <a class="btn small" href="#">Take this action</a> <a class="btn small" href="#">Or do this</a>
</div> </div>
......
...@@ -133,14 +133,4 @@ input[type="search"]::-webkit-search-decoration { ...@@ -133,14 +133,4 @@ input[type="search"]::-webkit-search-decoration {
textarea { textarea {
overflow: auto; // Remove vertical scrollbar in IE6-9 overflow: auto; // Remove vertical scrollbar in IE6-9
vertical-align: top; // Readability and alignment cross-browser vertical-align: top; // Readability and alignment cross-browser
}
// Tables
// -------------------------
// Source: http://github.com/necolas/normalize.css
// Remove spacing between table cells
table {
border-collapse: collapse;
border-spacing: 0;
} }
\ No newline at end of file
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
// Unique column sizes for 16-column grid // Unique column sizes for 16-column grid
.span-one-third { width: 300px; } .span-one-third { width: 300px; }
.span-two-thirds { width: 620px; } .span-two-thirds { width: 620px; }
.offset-one-third { margin-left: 320px; } .offset-one-third { margin-left: 340px; }
.offset-two-thirds { margin-left: 640px; } .offset-two-thirds { margin-left: 660px; }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment