From 1cdaf4b5a42f521caa377e8c5a527b68835067e3 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Fri, 7 Mar 2014 10:52:42 +0000 Subject: [PATCH] Fix transitions on buttons. --- app/assets/stylesheets/admin/menu.css.sass | 4 ++-- app/assets/stylesheets/includes/_button.sass | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/admin/menu.css.sass b/app/assets/stylesheets/admin/menu.css.sass index fbcae73..b37d0d2 100644 --- a/app/assets/stylesheets/admin/menu.css.sass +++ b/app/assets/stylesheets/admin/menu.css.sass @@ -31,7 +31,7 @@ header float: left padding: 7px 1em 7px text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) - @include transition(all 0.15s 0s ease) + @include transition(background 0.15s 0s ease) &:hover, &:focus @include v-linear-grad(rgba(0,0,0,0), rgba(0,0,0,0.2)) @include box-shadow("0 1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.5)") @@ -47,4 +47,4 @@ header background-color: #999 color: white &:hover - background-color: #aaa \ No newline at end of file + background-color: #aaa diff --git a/app/assets/stylesheets/includes/_button.sass b/app/assets/stylesheets/includes/_button.sass index 38c92e8..8119f55 100644 --- a/app/assets/stylesheets/includes/_button.sass +++ b/app/assets/stylesheets/includes/_button.sass @@ -15,7 +15,7 @@ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) font-weight: bold cursor: pointer - @include transition(all 0.15s 0s ease) + @include transition(background 0.15s 0s ease) @include round-corners(3px) &:hover, &:focus background-color: #eee