aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-08-25 13:52:04 -0700
committerJacob Thornton <[email protected]>2011-08-25 13:52:04 -0700
commit04b8e667d0a8caaf241570721bbf7afb7a5e1b2d (patch)
tree0a7e2a49487c42278b1a71303fe3ca91b830bf09 /lib
parent0e9d7c1c4d9552dda438d6eb5d2f175a99fd4501 (diff)
downloadbootstrap-04b8e667d0a8caaf241570721bbf7afb7a5e1b2d.tar.xz
bootstrap-04b8e667d0a8caaf241570721bbf7afb7a5e1b2d.zip
clean up btn selectors a bit
Diffstat (limited to 'lib')
-rw-r--r--lib/patterns.less14
-rw-r--r--lib/preboot.less10
2 files changed, 9 insertions, 15 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index 2d946e39d..b96a97198 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -315,6 +315,12 @@ footer {
text-decoration: none;
}
+ // Primary Button Type
+ &.primary {
+ color:#fff;
+ .gradientBar(@blue, @blueDark)
+ }
+
// Transitions
.transition(.1s linear all);
@@ -338,14 +344,6 @@ footer {
.box-shadow(@shadow);
}
- // Primary Button Type
- &.primary,
- &.primary:hover {
- color:#fff;
- .gradientBar(@blue, @blueDark)
- }
-
-
// Button Sizes
&.large {
font-size: 16px;
diff --git a/lib/preboot.less b/lib/preboot.less
index cec847852..344876873 100644
--- a/lib/preboot.less
+++ b/lib/preboot.less
@@ -206,19 +206,15 @@
}
&.danger,
- &.danger:hover,
- &.error,
- &.error:hover {
+ &.error {
.gradientBar(#f56a66, #d6463e);
}
- &.success,
- &.success:hover {
+ &.success {
.gradientBar(#62c462, #57a957);
}
- &.info,
- &.info:hover {
+ &.info {
.gradientBar(#6bd0ee, #36b3d9);
}