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
b741c731
Commit
b741c731
authored
Jan 18, 2013
by
Vickash Mahabir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix logic error where a disabled button would change color in an enabled fieldset
parent
6e96cd1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+24
-24
less/buttons.less
less/buttons.less
+2
-2
No files found.
docs/assets/css/bootstrap.css
View file @
b741c731
...
@@ -1661,12 +1661,12 @@ input[type="button"].btn-block {
...
@@ -1661,12 +1661,12 @@ input[type="button"].btn-block {
border-color
:
#a7a9aa
;
border-color
:
#a7a9aa
;
}
}
fieldset
:not
([
disabled
])
.btn
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
fieldset
:not
([
disabled
])
.btn
:
hover
,
fieldset
:not
([
disabled
])
.btn
:
not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
fieldset
:not
([
disabled
])
.btn
:focus
,
fieldset
:not
([
disabled
])
.btn
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn
:not
([
disabled
])
:not
(
.disabled
)
:active
{
fieldset
:not
([
disabled
])
.btn
:active
{
background-color
:
#9a9c9d
;
background-color
:
#9a9c9d
;
border-color
:
#8d9091
;
border-color
:
#8d9091
;
}
}
...
@@ -1676,12 +1676,12 @@ fieldset:not([disabled]) .btn:active {
...
@@ -1676,12 +1676,12 @@ fieldset:not([disabled]) .btn:active {
border-color
:
#428bca
;
border-color
:
#428bca
;
}
}
fieldset
:not
([
disabled
])
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
fieldset
:not
([
disabled
])
.btn-primary
:
hover
,
fieldset
:not
([
disabled
])
.btn-primary
:
not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
fieldset
:not
([
disabled
])
.btn-primary
:focus
,
fieldset
:not
([
disabled
])
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-primary
:not
([
disabled
])
:not
(
.disabled
)
:active
{
fieldset
:not
([
disabled
])
.btn-primary
:active
{
background-color
:
#357ebd
;
background-color
:
#357ebd
;
border-color
:
#3071a9
;
border-color
:
#3071a9
;
}
}
...
@@ -1691,12 +1691,12 @@ fieldset:not([disabled]) .btn-primary:active {
...
@@ -1691,12 +1691,12 @@ fieldset:not([disabled]) .btn-primary:active {
border-color
:
#f0ad4e
;
border-color
:
#f0ad4e
;
}
}
fieldset
:not
([
disabled
])
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
fieldset
:not
([
disabled
])
.btn-warning
:
hover
,
fieldset
:not
([
disabled
])
.btn-warning
:
not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
fieldset
:not
([
disabled
])
.btn-warning
:focus
,
fieldset
:not
([
disabled
])
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-warning
:not
([
disabled
])
:not
(
.disabled
)
:active
{
fieldset
:not
([
disabled
])
.btn-warning
:active
{
background-color
:
#eea236
;
background-color
:
#eea236
;
border-color
:
#ec971f
;
border-color
:
#ec971f
;
}
}
...
@@ -1706,12 +1706,12 @@ fieldset:not([disabled]) .btn-warning:active {
...
@@ -1706,12 +1706,12 @@ fieldset:not([disabled]) .btn-warning:active {
border-color
:
#d9534f
;
border-color
:
#d9534f
;
}
}
fieldset
:not
([
disabled
])
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
fieldset
:not
([
disabled
])
.btn-danger
:
hover
,
fieldset
:not
([
disabled
])
.btn-danger
:
not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
fieldset
:not
([
disabled
])
.btn-danger
:focus
,
fieldset
:not
([
disabled
])
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-danger
:not
([
disabled
])
:not
(
.disabled
)
:active
{
fieldset
:not
([
disabled
])
.btn-danger
:active
{
background-color
:
#d43f3a
;
background-color
:
#d43f3a
;
border-color
:
#c9302c
;
border-color
:
#c9302c
;
}
}
...
@@ -1721,12 +1721,12 @@ fieldset:not([disabled]) .btn-danger:active {
...
@@ -1721,12 +1721,12 @@ fieldset:not([disabled]) .btn-danger:active {
border-color
:
#5cb85c
;
border-color
:
#5cb85c
;
}
}
fieldset
:not
([
disabled
])
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
fieldset
:not
([
disabled
])
.btn-success
:
hover
,
fieldset
:not
([
disabled
])
.btn-success
:
not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
fieldset
:not
([
disabled
])
.btn-success
:focus
,
fieldset
:not
([
disabled
])
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-success
:not
([
disabled
])
:not
(
.disabled
)
:active
{
fieldset
:not
([
disabled
])
.btn-success
:active
{
background-color
:
#4cae4c
;
background-color
:
#4cae4c
;
border-color
:
#449d44
;
border-color
:
#449d44
;
}
}
...
@@ -1736,12 +1736,12 @@ fieldset:not([disabled]) .btn-success:active {
...
@@ -1736,12 +1736,12 @@ fieldset:not([disabled]) .btn-success:active {
border-color
:
#5bc0de
;
border-color
:
#5bc0de
;
}
}
fieldset
:not
([
disabled
])
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:hover
,
fieldset
:not
([
disabled
])
.btn-info
:
hover
,
fieldset
:not
([
disabled
])
.btn-info
:
not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:focus
,
fieldset
:not
([
disabled
])
.btn-info
:focus
,
fieldset
:not
([
disabled
])
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:active
,
.btn-info
:not
([
disabled
])
:not
(
.disabled
)
:active
{
fieldset
:not
([
disabled
])
.btn-info
:active
{
background-color
:
#46b8da
;
background-color
:
#46b8da
;
border-color
:
#31b0d5
;
border-color
:
#31b0d5
;
}
}
...
...
less/buttons.less
View file @
b741c731
...
@@ -111,8 +111,8 @@ input[type="button"] {
...
@@ -111,8 +111,8 @@ input[type="button"] {
// Mixin for darkening only enabled buttons for link states
// Mixin for darkening only enabled buttons for link states
.darken-button-states (@background, @border) {
.darken-button-states (@background, @border) {
&:not([disabled]):not(.disabled),
fieldset:not([disabled])
&:not([disabled]):not(.disabled),
fieldset:not([disabled]) &
{
&:not([disabled]):not(.disabled)
{
&:hover,
&:hover,
&:focus,
&:focus,
&:active {
&:active {
...
...
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