Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
2690a3dc
Commit
2690a3dc
authored
Aug 15, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add to #9578 and fix #9614: use cursor not-allowed on radios and checkboxes
parent
5a0ba42a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
dist/css/bootstrap.css
dist/css/bootstrap.css
+4
-0
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/forms.less
less/forms.less
+6
-6
No files found.
dist/css/bootstrap.css
View file @
2690a3dc
...
@@ -1711,10 +1711,14 @@ textarea.form-control {
...
@@ -1711,10 +1711,14 @@ textarea.form-control {
margin-left
:
10px
;
margin-left
:
10px
;
}
}
input
[
type
=
"radio"
][
disabled
],
input
[
type
=
"checkbox"
][
disabled
],
.radio
[
disabled
],
.radio
[
disabled
],
.radio-inline
[
disabled
],
.radio-inline
[
disabled
],
.checkbox
[
disabled
],
.checkbox
[
disabled
],
.checkbox-inline
[
disabled
],
.checkbox-inline
[
disabled
],
fieldset
[
disabled
]
input
[
type
=
"radio"
],
fieldset
[
disabled
]
input
[
type
=
"checkbox"
],
fieldset
[
disabled
]
.radio
,
fieldset
[
disabled
]
.radio
,
fieldset
[
disabled
]
.radio-inline
,
fieldset
[
disabled
]
.radio-inline
,
fieldset
[
disabled
]
.checkbox
,
fieldset
[
disabled
]
.checkbox
,
...
...
dist/css/bootstrap.min.css
View file @
2690a3dc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/forms.less
View file @
2690a3dc
...
@@ -133,9 +133,9 @@ input[type="number"] {
...
@@ -133,9 +133,9 @@ input[type="number"] {
.form-control-focus();
.form-control-focus();
// Disabled and read-only inputs
// Disabled and read-only inputs
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
be
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
//
disabled if the fieldset is disabled. Due to implementation difficulty,
//
be
disabled if the fieldset is disabled. Due to implementation difficulty,
//
we don't honor that edge case; we style them as disabled anyway.
// we don't honor that edge case; we style them as disabled anyway.
&[disabled],
&[disabled],
&[readonly],
&[readonly],
fieldset[disabled] & {
fieldset[disabled] & {
...
@@ -208,10 +208,10 @@ input[type="number"] {
...
@@ -208,10 +208,10 @@ input[type="number"] {
}
}
// Apply same disabled cursor tweak as for inputs
// Apply same disabled cursor tweak as for inputs
// Note: HTML5 says that controls under a fieldset > legend:first-child won't be
//
// disabled if the fieldset is disabled. Due to implementation difficulty,
// we don't honor that edge case; we style them as disabled anyway.
// Note: Neither radios nor checkboxes can be readonly.
// Note: Neither radios nor checkboxes can be readonly.
input[type="radio"],
input[type="checkbox"],
.radio,
.radio,
.radio-inline,
.radio-inline,
.checkbox,
.checkbox,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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