remove active state from buttons by moving the :active before :disabled
This commit is contained in:
parent
251882892f
commit
46e4fb3133
3 changed files with 11 additions and 11 deletions
|
|
@ -450,6 +450,10 @@ footer {
|
|||
.transition(.1s linear all);
|
||||
|
||||
// Active and Disabled states
|
||||
&:active {
|
||||
@shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.05);
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
&.disabled {
|
||||
cursor: default;
|
||||
background-image: none;
|
||||
|
|
@ -464,10 +468,6 @@ footer {
|
|||
.opacity(65);
|
||||
.box-shadow(none);
|
||||
}
|
||||
&:active {
|
||||
@shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.05);
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
|
||||
// Button Sizes
|
||||
&.large {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue