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
5b03c9ad
Commit
5b03c9ad
authored
Dec 22, 2014
by
Chris Rebert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[disabled] => :disabled
:disabled is supported in IE9+ and all modern browsers
parent
497b05c1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
scss/_buttons.scss
scss/_buttons.scss
+3
-3
scss/_forms.scss
scss/_forms.scss
+2
-2
scss/_navbar.scss
scss/_navbar.scss
+2
-2
scss/mixins/_buttons.scss
scss/mixins/_buttons.scss
+1
-1
No files found.
scss/_buttons.scss
View file @
5b03c9ad
...
...
@@ -43,7 +43,7 @@
}
&
.disabled
,
&
[
disabled
]
,
&
:disabled
,
fieldset
[
disabled
]
&
{
pointer-events
:
none
;
// Future-proof disabling of clicks
cursor
:
$cursor-disabled
;
...
...
@@ -88,7 +88,7 @@
&
,
&
:active
,
&
.active
,
&
[
disabled
]
,
&
:disabled
,
fieldset
[
disabled
]
&
{
background-color
:
transparent
;
@include
box-shadow
(
none
);
...
...
@@ -105,7 +105,7 @@
text-decoration
:
underline
;
background-color
:
transparent
;
}
&
[
disabled
]
,
&
:disabled
,
fieldset
[
disabled
]
&
{
&
:hover
,
&
:focus
{
...
...
scss/_forms.scss
View file @
5b03c9ad
...
...
@@ -140,7 +140,7 @@ output {
// 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.
&
[
disabled
]
,
&
:disabled
,
&
[
readonly
],
fieldset
[
disabled
]
&
{
cursor
:
$cursor-disabled
;
...
...
@@ -263,7 +263,7 @@ input[type="search"] {
// Note: Neither radios nor checkboxes can be readonly.
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
&
[
disabled
]
,
&
:disabled
,
&
.disabled
,
fieldset
[
disabled
]
&
{
cursor
:
$cursor-disabled
;
...
...
scss/_navbar.scss
View file @
5b03c9ad
...
...
@@ -309,7 +309,7 @@
&
:focus
{
color
:
$navbar-default-link-hover-color
;
}
&
[
disabled
]
,
&
:disabled
,
fieldset
[
disabled
]
&
{
&
:hover
,
&
:focus
{
...
...
@@ -422,7 +422,7 @@
color
:
$navbar-inverse-link-hover-color
;
}
&
[
disabled
]
,
&
:disabled
,
fieldset
[
disabled
]
&
{
&
:hover
,
&
:focus
{
...
...
scss/mixins/_buttons.scss
View file @
5b03c9ad
...
...
@@ -28,7 +28,7 @@
@include
box-shadow
(
inset
0
3px
5px
rgba
(
0
,
0
,
0
,.
125
));
}
&
.disabled
,
&
[
disabled
]
,
&
:disabled
,
fieldset
[
disabled
]
&
{
&
,
&
:hover
,
...
...
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