Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
296d06a2
Commit
296d06a2
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
add checkbox/radio border for ios in responsive
parent
70c6a6cd
2 merge requests
!1475
2.0 wip
,
!1403
warningText and warningBackground docs fix
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/assets/css/bootstrap-responsive.css
+3
-0
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
+1
-2
docs/assets/css/bootstrap.css
less/forms.less
+1
-2
less/forms.less
less/responsive.less
+6
-0
less/responsive.less
with
11 additions
and
4 deletions
+11
-4
docs/assets/css/bootstrap-responsive.css
+
3
-
0
View file @
296d06a2
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
display
:
block
;
display
:
block
;
line-height
:
18px
;
line-height
:
18px
;
}
}
input
[
type
=
"checkbox"
],
input
[
type
=
"radio"
]
{
border
:
1px
solid
#ccc
;
}
.form-horizontal
.control-group
>
label
{
.form-horizontal
.control-group
>
label
{
float
:
none
;
float
:
none
;
width
:
auto
;
width
:
auto
;
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
1
-
2
View file @
296d06a2
...
@@ -533,8 +533,7 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
...
@@ -533,8 +533,7 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
/* IE7 */
/* IE7 */
line-height
:
normal
;
line-height
:
normal
;
border
:
none
;
border
:
0
;
border
:
initial
;
cursor
:
pointer
;
cursor
:
pointer
;
border-radius
:
0
\
0
/;
border-radius
:
0
\
0
/;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
1
-
2
View file @
296d06a2
...
@@ -84,8 +84,7 @@ input[type="radio"] {
...
@@ -84,8 +84,7 @@ input[type="radio"] {
margin: 3px 0;
margin: 3px 0;
*margin-top: 0; /* IE7 */
*margin-top: 0; /* IE7 */
line-height: normal;
line-height: normal;
border: none;
border: 0;
border: initial;
cursor: pointer;
cursor: pointer;
border-radius: 0 e("\0/");
border-radius: 0 e("\0/");
}
}
...
...
This diff is collapsed.
Click to expand it.
less/responsive.less
+
6
-
0
View file @
296d06a2
...
@@ -33,6 +33,12 @@
...
@@ -33,6 +33,12 @@
line-height: @baseLineHeight;
line-height: @baseLineHeight;
}
}
// Update checkboxes for iOS
input[type="checkbox"],
input[type="radio"] {
border: 1px solid #ccc;
}
// Remove the horizontal form styles
// Remove the horizontal form styles
.form-horizontal .control-group > label {
.form-horizontal .control-group > label {
float: none;
float: none;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets