diff options
| author | Mark Otto <[email protected]> | 2012-09-18 21:16:08 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-09-18 21:16:08 -0700 |
| commit | 2d90c816accea106cbf70c988ddd866268851595 (patch) | |
| tree | 633113028b4e2bae4ad55374ea48738d45310d9d /docs | |
| parent | 2769241aeb5e9eba4a34ddbd9d495f7f8271e360 (diff) | |
| download | bootstrap-2d90c816accea106cbf70c988ddd866268851595.tar.xz bootstrap-2d90c816accea106cbf70c988ddd866268851595.zip | |
add new vars for common border-radius, upping border-radius of inputs to 4px; add border-radius changes to -large, -small, -mini for buttons and paginations
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 145 | ||||
| -rw-r--r-- | docs/components.html | 16 | ||||
| -rw-r--r-- | docs/templates/pages/components.mustache | 16 |
3 files changed, 125 insertions, 52 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index aa950d24c..d4d4e031f 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -992,9 +992,9 @@ input[type="color"], font-size: 14px; line-height: 20px; color: #555555; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; } input, @@ -1582,9 +1582,9 @@ select:focus:required:invalid:focus { margin-bottom: 0; *margin-left: 0; vertical-align: top; - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; } .input-append input:focus, @@ -1635,17 +1635,17 @@ select:focus:required:invalid:focus { .input-prepend .add-on:first-child, .input-prepend .btn:first-child { - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; } .input-append input, .input-append select, .input-append .uneditable-input { - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; } .input-append .add-on, @@ -1655,9 +1655,9 @@ select:focus:required:invalid:focus { .input-append .add-on:last-child, .input-append .btn:last-child { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; } .input-prepend.input-append input, @@ -1671,17 +1671,17 @@ select:focus:required:invalid:focus { .input-prepend.input-append .add-on:first-child, .input-prepend.input-append .btn:first-child { margin-right: -1px; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; } .input-prepend.input-append .add-on:last-child, .input-prepend.input-append .btn:last-child { margin-left: -1px; - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; } input.search-query { @@ -3062,7 +3062,7 @@ button.close { .btn { display: inline-block; *display: inline; - padding: 4px 14px; + padding: 4px 12px; margin-bottom: 0; *margin-left: .3em; font-size: 14px; @@ -3159,14 +3159,8 @@ button.close { box-shadow: none; } -.btn-large, -.btn-small, -.btn-mini { - line-height: 1; -} - .btn-large { - padding: 10px 19px; + padding: 11px 19px; font-size: 17.5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; @@ -3178,8 +3172,11 @@ button.close { } .btn-small { - padding: 6px 10px; + padding: 2px 10px; font-size: 11.9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } .btn-small [class^="icon-"] { @@ -3187,8 +3184,11 @@ button.close { } .btn-mini { - padding: 5px 6px; + padding: 1px 6px; font-size: 10.5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } .btn-block { @@ -4787,8 +4787,8 @@ input[type="submit"].btn.btn-mini { .pagination ul > li > a, .pagination ul > li > span { float: left; - padding: 10px 14px; - line-height: 1; + padding: 4px 12px; + line-height: 20px; text-decoration: none; background-color: #ffffff; border: 1px solid #dddddd; @@ -4818,16 +4818,22 @@ input[type="submit"].btn.btn-mini { .pagination ul > li:first-child > a, .pagination ul > li:first-child > span { border-left-width: 1px; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-topleft: 4px; } .pagination ul > li:last-child > a, .pagination ul > li:last-child > span { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-bottomright: 4px; } .pagination-centered { @@ -4838,31 +4844,66 @@ input[type="submit"].btn.btn-mini { text-align: right; } -.pagination-large { - font-size: 17.5px; -} - .pagination-large ul > li > a, .pagination-large ul > li > span { - padding: 10px 19px; + padding: 11px 19px; + font-size: 17.5px; } -.pagination-small { - font-size: 11.9px; +.pagination-large ul > li:first-child > a, +.pagination-large ul > li:first-child > span { + -webkit-border-bottom-left-radius: 5px; + border-bottom-left-radius: 5px; + -webkit-border-top-left-radius: 5px; + border-top-left-radius: 5px; + -moz-border-radius-bottomleft: 5px; + -moz-border-radius-topleft: 5px; +} + +.pagination-large ul > li:last-child > a, +.pagination-large ul > li:last-child > span { + -webkit-border-top-right-radius: 5px; + border-top-right-radius: 5px; + -webkit-border-bottom-right-radius: 5px; + border-bottom-right-radius: 5px; + -moz-border-radius-topright: 5px; + -moz-border-radius-bottomright: 5px; +} + +.pagination-mini ul > li:first-child > a, +.pagination-small ul > li:first-child > a, +.pagination-mini ul > li:first-child > span, +.pagination-small ul > li:first-child > span { + -webkit-border-bottom-left-radius: 3px; + border-bottom-left-radius: 3px; + -webkit-border-top-left-radius: 3px; + border-top-left-radius: 3px; + -moz-border-radius-bottomleft: 3px; + -moz-border-radius-topleft: 3px; +} + +.pagination-mini ul > li:last-child > a, +.pagination-small ul > li:last-child > a, +.pagination-mini ul > li:last-child > span, +.pagination-small ul > li:last-child > span { + -webkit-border-top-right-radius: 3px; + border-top-right-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + border-bottom-right-radius: 3px; + -moz-border-radius-topright: 3px; + -moz-border-radius-bottomright: 3px; } .pagination-small ul > li > a, .pagination-small ul > li > span { - padding: 6px 10px; -} - -.pagination-mini { - font-size: 10.5px; + padding: 2px 10px; + font-size: 11.9px; } .pagination-mini ul > li > a, .pagination-mini ul > li > span { - padding: 5px 6px; + padding: 1px 6px; + font-size: 10.5px; } .pager { diff --git a/docs/components.html b/docs/components.html index b5d39b7be..ac44cca29 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1525,6 +1525,17 @@ <li><a href="#">»</a></li> </ul> </div> + <div class="pagination"> + <ul> + <li><a href="#">«</a></li> + <li><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><a href="#">»</a></li> + </ul> + </div> <div class="pagination pagination-small"> <ul> <li><a href="#">«</a></li> @@ -1554,6 +1565,11 @@ ... </ul> </div> +<div class="pagination"> + <ul> + ... + </ul> +</div> <div class="pagination pagination-small"> <ul> ... diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 67fbf5535..99da9da7c 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1454,6 +1454,17 @@ <li><a href="#">»</a></li> </ul> </div> + <div class="pagination"> + <ul> + <li><a href="#">«</a></li> + <li><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><a href="#">»</a></li> + </ul> + </div> <div class="pagination pagination-small"> <ul> <li><a href="#">«</a></li> @@ -1483,6 +1494,11 @@ ... </ul> </div> +<div class="pagination"> + <ul> + ... + </ul> +</div> <div class="pagination pagination-small"> <ul> ... |
