aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-02 00:56:03 -0700
committerMark Otto <[email protected]>2011-09-02 00:56:03 -0700
commit46e4fb31338807be1535208fb07dfc3fff89fe08 (patch)
treebee0b1cdc3be2102b1cfce7b174062fdd34aa596 /lib/patterns.less
parent251882892f27fa074d9f801c651060552a970282 (diff)
downloadbootstrap-46e4fb31338807be1535208fb07dfc3fff89fe08.tar.xz
bootstrap-46e4fb31338807be1535208fb07dfc3fff89fe08.zip
remove active state from buttons by moving the :active before :disabled
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index 013566b81..578b02826 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -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 {