mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
fix border and border radius on radios/checkboxes for iOS, fix forms docs alignment on small devices
This commit is contained in:
parent
b77161f864
commit
70c6a6cd85
3
docs/assets/css/bootstrap-responsive.css
vendored
3
docs/assets/css/bootstrap-responsive.css
vendored
@ -20,7 +20,8 @@
|
||||
padding-top: 0;
|
||||
}
|
||||
.form-horizontal .form-actions {
|
||||
padding-left: 0;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.modal {
|
||||
position: absolute;
|
||||
|
1
docs/assets/css/bootstrap.css
vendored
1
docs/assets/css/bootstrap.css
vendored
@ -534,6 +534,7 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
|
||||
|
||||
line-height: normal;
|
||||
border: none;
|
||||
border: initial;
|
||||
cursor: pointer;
|
||||
border-radius: 0 \0/;
|
||||
}
|
||||
|
@ -306,42 +306,6 @@ hr.soften {
|
||||
}
|
||||
|
||||
|
||||
/* Quickstart section for getting le code
|
||||
-------------------------------------------------- */
|
||||
.getting-started p {
|
||||
color: #777;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
.getting-started .current-version,
|
||||
.getting-started .current-version a {
|
||||
color: #999;
|
||||
}
|
||||
.getting-started form {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.getting-started textarea {
|
||||
display: block;
|
||||
width: 95%;
|
||||
height: auto;
|
||||
font-family: Menlo, Monaco, "Courier New", monospace;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
color: #999;
|
||||
/* Makes inputs behave like true block-level elements */
|
||||
-webkit-box-sizing: border-box; /* Older Webkit */
|
||||
-moz-box-sizing: border-box; /* Older FF */
|
||||
-ms-box-sizing: border-box; /* IE8 */
|
||||
box-sizing: border-box; /* CSS3 spec*/
|
||||
/* Hacks for IE7 to make this work just okay enough to function */
|
||||
*width: 80%;
|
||||
*height: 24px;
|
||||
}
|
||||
.getting-started textarea:focus {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
||||
/* Footer
|
||||
-------------------------------------------------- */
|
||||
@ -354,27 +318,6 @@ hr.soften {
|
||||
margin-bottom: 0;
|
||||
color: #555;
|
||||
}
|
||||
.footer dl {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.footer dl dt {
|
||||
font-size: 11px;
|
||||
color: #999;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.footer dl dd + dt {
|
||||
margin-top: 18px;
|
||||
}
|
||||
.footer dl dd {
|
||||
margin-left: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
.footer dl a {
|
||||
color: #999;
|
||||
}
|
||||
.footer dl a:hover {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -745,6 +688,11 @@ form.well {
|
||||
bottom: auto;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
/* Forms docs */
|
||||
.form-docs {
|
||||
padding-left: 0; /* down from 10px */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -85,6 +85,7 @@ input[type="radio"] {
|
||||
*margin-top: 0; /* IE7 */
|
||||
line-height: normal;
|
||||
border: none;
|
||||
border: initial;
|
||||
cursor: pointer;
|
||||
border-radius: 0 e("\0/");
|
||||
}
|
||||
|
@ -50,7 +50,8 @@
|
||||
}
|
||||
// Move over buttons in .form-actions to align with .controls
|
||||
.form-horizontal .form-actions {
|
||||
padding-left: 0;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
// Modals
|
||||
|
Loading…
x
Reference in New Issue
Block a user