diff options
| author | Jacob Thornton <[email protected]> | 2012-08-14 21:06:39 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-08-14 21:06:39 -0700 |
| commit | ae9a2bd93a8863eca8346f19a29d55f6c726a156 (patch) | |
| tree | 7e158118727accf105ffda746a280db35d31c2a6 /docs | |
| parent | dee57462e2805421a0fe0d786229446bbaef677b (diff) | |
| parent | e1659b2c4ebcd1124665779fe045600207ea7333 (diff) | |
| download | bootstrap-ae9a2bd93a8863eca8346f19a29d55f6c726a156.tar.xz bootstrap-ae9a2bd93a8863eca8346f19a29d55f6c726a156.zip | |
Merge branch '2.1.0-wip' of https://github.com/twitter/bootstrap into 2.1.0-wip
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap-responsive.css | 8 | ||||
| -rw-r--r-- | docs/assets/css/bootstrap.css | 62 | ||||
| -rw-r--r-- | docs/assets/css/docs.css | 14 | ||||
| -rw-r--r-- | docs/base-css.html | 2 | ||||
| -rw-r--r-- | docs/customize.html | 12 | ||||
| -rw-r--r-- | docs/examples/hero.html | 12 | ||||
| -rw-r--r-- | docs/index.html | 2 | ||||
| -rw-r--r-- | docs/javascript.html | 2 | ||||
| -rw-r--r-- | docs/templates/pages/base-css.mustache | 2 | ||||
| -rw-r--r-- | docs/templates/pages/customize.mustache | 12 | ||||
| -rw-r--r-- | docs/templates/pages/index.mustache | 2 | ||||
| -rw-r--r-- | docs/templates/pages/javascript.mustache | 2 |
12 files changed, 87 insertions, 45 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index d5b7e3c4e..56951cfbe 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -34,7 +34,7 @@ .input-block-level { display: block; width: 100%; - min-height: 28px; + min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -203,7 +203,7 @@ display: block; float: left; width: 100%; - min-height: 28px; + min-height: 30px; margin-left: 2.564102564102564%; *margin-left: 2.5109110747408616%; -webkit-box-sizing: border-box; @@ -548,7 +548,7 @@ display: block; float: left; width: 100%; - min-height: 28px; + min-height: 30px; margin-left: 2.7624309392265194%; *margin-left: 2.709239449864817%; -webkit-box-sizing: border-box; @@ -830,7 +830,7 @@ .uneditable-input { display: block; width: 100%; - min-height: 28px; + min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 3fd9070be..7d706b036 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -150,7 +150,7 @@ textarea { .input-block-level { display: block; width: 100%; - min-height: 28px; + min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -340,7 +340,7 @@ a:hover { display: block; float: left; width: 100%; - min-height: 28px; + min-height: 30px; margin-left: 2.127659574468085%; *margin-left: 2.074468085106383%; -webkit-box-sizing: border-box; @@ -1012,10 +1012,9 @@ input[type="color"]:focus, input[type="radio"], input[type="checkbox"] { - margin: 4px 0; + margin: 4px 0 0; + margin-top: 1px \9; *margin-top: 0; - /* IE7 */ - line-height: normal; cursor: pointer; } @@ -1031,13 +1030,13 @@ input[type="checkbox"] { select, input[type="file"] { - height: 28px; + height: 30px; /* In IE7, the height of the select element cannot be changed by height, only font-size */ *margin-top: 4px; /* For IE7, add top margin to align select with labels */ - line-height: 28px; + line-height: 30px; } select { @@ -1863,8 +1862,8 @@ table { background-color: #f9f9f9; } -.table-hover tr:hover td, -.table-hover tr:hover th { +.table-hover tbody tr:hover td, +.table-hover tbody tr:hover th { background-color: #f5f5f5; } @@ -2866,6 +2865,7 @@ table .span24 { position: relative; height: 0; overflow: hidden; + overflow: visible \9; -webkit-transition: height 0.35s ease; -moz-transition: height 0.35s ease; -o-transition: height 0.35s ease; @@ -3254,8 +3254,8 @@ button.close { button.btn, input[type="submit"].btn { - *padding-top: 2px; - *padding-bottom: 2px; + *padding-top: 3px; + *padding-bottom: 3px; } button.btn::-moz-focus-inner, @@ -4030,7 +4030,7 @@ input[type="submit"].btn.btn-mini { .navbar .brand { display: block; float: left; - padding: 8px 20px 12px; + padding: 10px 20px 10px; margin-left: -20px; font-size: 20px; font-weight: 200; @@ -4148,6 +4148,11 @@ input[type="submit"].btn.btn-mini { .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner { + border: 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-fixed-bottom .navbar-inner { padding-right: 0; padding-left: 0; -webkit-border-radius: 0; @@ -4165,7 +4170,6 @@ input[type="submit"].btn.btn-mini { } .navbar-fixed-top .navbar-inner { - border-width: 0 0 1px; -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); @@ -4176,7 +4180,6 @@ input[type="submit"].btn.btn-mini { } .navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); @@ -4285,7 +4288,7 @@ input[type="submit"].btn.btn-mini { margin-top: 3px; } -.navbar .dropdown-menu:before { +.navbar .nav > li > .dropdown-menu:before { position: absolute; top: -7px; left: 9px; @@ -4297,7 +4300,7 @@ input[type="submit"].btn.btn-mini { content: ''; } -.navbar .dropdown-menu:after { +.navbar .nav > li > .dropdown-menu:after { position: absolute; top: -6px; left: 10px; @@ -4308,7 +4311,7 @@ input[type="submit"].btn.btn-mini { content: ''; } -.navbar-fixed-bottom .dropdown-menu:before { +.navbar-fixed-bottom .nav > li > .dropdown-menu:before { top: auto; bottom: -7px; border-top: 7px solid #ccc; @@ -4316,7 +4319,7 @@ input[type="submit"].btn.btn-mini { border-top-color: rgba(0, 0, 0, 0.2); } -.navbar-fixed-bottom .dropdown-menu:after { +.navbar-fixed-bottom .nav > li > .dropdown-menu:after { top: auto; bottom: -6px; border-top: 6px solid #ffffff; @@ -4342,24 +4345,35 @@ input[type="submit"].btn.btn-mini { border-bottom-color: #555555; } -.navbar .pull-right .dropdown-menu, -.navbar .dropdown-menu.pull-right { +.navbar .pull-right > li > .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right { right: 0; left: auto; } -.navbar .pull-right .dropdown-menu:before, -.navbar .dropdown-menu.pull-right:before { +.navbar .pull-right > li > .dropdown-menu:before, +.navbar .nav > li > .dropdown-menu.pull-right:before { right: 12px; left: auto; } -.navbar .pull-right .dropdown-menu:after, -.navbar .dropdown-menu.pull-right:after { +.navbar .pull-right > li > .dropdown-menu:after, +.navbar .nav > li > .dropdown-menu.pull-right:after { right: 13px; left: auto; } +.navbar .pull-right > li > .dropdown-menu .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { + right: 100%; + left: auto; + margin-right: -1px; + margin-left: 0; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} + .navbar-inverse { color: #999999; } diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 685f3b7af..02fd34c51 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -133,9 +133,14 @@ hr.soften { /* Download button */ @-webkit-keyframes downloadButton { - from { -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } - 50% { -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); } - to { -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } + from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } + 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); } + to { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } +} +@-moz-keyframes downloadButton { + from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } + 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); } + to { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); } } .masthead .btn { padding: 14px 24px; @@ -150,8 +155,11 @@ hr.soften { -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01); -webkit-animation-name: downloadButton; + -moz-animation-name: downloadButton; -webkit-animation-duration: 1.5s; + -moz-animation-duration: 1.5s; -webkit-animation-iteration-count: infinite; + -moz-animation-iteration-count: infinite; -webkit-transition: none; -moz-transition: none; transition: none; diff --git a/docs/base-css.html b/docs/base-css.html index f8fd8da33..c1598821c 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1257,7 +1257,7 @@ For example, <code>section</code> should be wrapped as inline. <span class="input-xlarge uneditable-input">Some value here</span> </form> <pre class="prettyprint linenums"> - <span class="input-xlarge uneditable-input">Some value here</span> +<span class="input-xlarge uneditable-input">Some value here</span> </pre> <h3>Form actions</h3> diff --git a/docs/customize.html b/docs/customize.html index 422ad43ea..b24685196 100644 --- a/docs/customize.html +++ b/docs/customize.html @@ -190,12 +190,16 @@ <input type="checkbox" checked="true" value="bootstrap-tooltip.js"> Tooltips </label> - </div><!-- /span --> - <div class="span3"> <label class="checkbox"> <input type="checkbox" checked="true" value="bootstrap-popover.js"> Popovers <small>(requires Tooltips)</small> </label> + </div><!-- /span --> + <div class="span3"> + <label class="checkbox"> + <input type="checkbox" checked="true" value="bootstrap-affix.js"> + Affix + </label> <label class="checkbox"> <input type="checkbox" checked="true" value="bootstrap-alert.js"> Alert messages @@ -294,11 +298,11 @@ <label>@monoFontFamily</label> <input type="text" class="span3" placeholder="Menlo, Monaco, 'Courier New', monospace"> <label>@baseFontSize</label> - <input type="text" class="span3" placeholder="13px"> + <input type="text" class="span3" placeholder="14px"> <label>@baseFontFamily</label> <input type="text" class="span3" placeholder="@sansFontFamily"> <label>@baseLineHeight</label> - <input type="text" class="span3" placeholder="18px"> + <input type="text" class="span3" placeholder="20px"> <label>@altFontFamily</label> <input type="text" class="span3" placeholder="@serifFontFamily"> <label>@headingsFontFamily</label> diff --git a/docs/examples/hero.html b/docs/examples/hero.html index 3efe568eb..b567647ae 100644 --- a/docs/examples/hero.html +++ b/docs/examples/hero.html @@ -46,6 +46,18 @@ <li class="active"><a href="#">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#contact">Contact</a></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li class="nav-header">Nav header</li> + <li><a href="#">Separated link</a></li> + <li><a href="#">One more separated link</a></li> + </ul> + </li> </ul> <form class="navbar-form pull-right"> <input class="span2" type="text" placeholder="Email"> diff --git a/docs/index.html b/docs/index.html index bd798aae0..3233287ed 100644 --- a/docs/index.html +++ b/docs/index.html @@ -86,7 +86,7 @@ <div class="container"> <ul class="bs-docs-social-buttons"> <li> - <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="112px" height="20px"></iframe> + <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe> </li> <li> <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="98px" height="20px"></iframe> diff --git a/docs/javascript.html b/docs/javascript.html index f6594caaf..bc5d606cd 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -74,7 +74,7 @@ <header class="jumbotron subhead" id="overview"> <div class="container"> <h1>JavaScript for Bootstrap</h1> - <p class="lead">Bring Bootstrap's components to life—now with 12 custom jQuery plugins. + <p class="lead">Bring Bootstrap's components to life—now with 13 custom jQuery plugins. </div> </header> diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index a65233160..36f0d1ea5 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1194,7 +1194,7 @@ <span class="input-xlarge uneditable-input">Some value here</span> </form> <pre class="prettyprint linenums"> - <span class="input-xlarge uneditable-input">Some value here</span> +<span class="input-xlarge uneditable-input">Some value here</span> </pre> <h3>{{_i}}Form actions{{/i}}</h3> diff --git a/docs/templates/pages/customize.mustache b/docs/templates/pages/customize.mustache index 31844bd45..0e78f99fd 100644 --- a/docs/templates/pages/customize.mustache +++ b/docs/templates/pages/customize.mustache @@ -119,12 +119,16 @@ <input type="checkbox" checked="true" value="bootstrap-tooltip.js"> {{_i}}Tooltips{{/i}} </label> - </div><!-- /span --> - <div class="span3"> <label class="checkbox"> <input type="checkbox" checked="true" value="bootstrap-popover.js"> {{_i}}Popovers <small>(requires Tooltips)</small>{{/i}} </label> + </div><!-- /span --> + <div class="span3"> + <label class="checkbox"> + <input type="checkbox" checked="true" value="bootstrap-affix.js"> + {{_i}}Affix{{/i}} + </label> <label class="checkbox"> <input type="checkbox" checked="true" value="bootstrap-alert.js"> {{_i}}Alert messages{{/i}} @@ -223,11 +227,11 @@ <label>@monoFontFamily</label> <input type="text" class="span3" placeholder="Menlo, Monaco, 'Courier New', monospace"> <label>@baseFontSize</label> - <input type="text" class="span3" placeholder="13px"> + <input type="text" class="span3" placeholder="14px"> <label>@baseFontFamily</label> <input type="text" class="span3" placeholder="@sansFontFamily"> <label>@baseLineHeight</label> - <input type="text" class="span3" placeholder="18px"> + <input type="text" class="span3" placeholder="20px"> <label>@altFontFamily</label> <input type="text" class="span3" placeholder="@serifFontFamily"> <label>@headingsFontFamily</label> diff --git a/docs/templates/pages/index.mustache b/docs/templates/pages/index.mustache index d8d1a2064..b3af8b661 100644 --- a/docs/templates/pages/index.mustache +++ b/docs/templates/pages/index.mustache @@ -15,7 +15,7 @@ <div class="container"> <ul class="bs-docs-social-buttons"> <li> - <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="112px" height="20px"></iframe> + <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe> </li> <li> <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="98px" height="20px"></iframe> diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 1109dbaf1..b62bbfc3c 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -3,7 +3,7 @@ <header class="jumbotron subhead" id="overview"> <div class="container"> <h1>{{_i}}JavaScript for Bootstrap{{/i}}</h1> - <p class="lead">{{_i}}Bring Bootstrap's components to life—now with 12 custom jQuery plugins.{{/i}} + <p class="lead">{{_i}}Bring Bootstrap's components to life—now with 13 custom jQuery plugins.{{/i}} </div> </header> |
