From 4519e18fea393da154212abd2776814a9c1ee6aa Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Tue, 5 May 2015 09:28:52 -0300 Subject: [PATCH] Pequenas melhorias nos botões. (#187) --- sass/_proposal_detail.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) diff --git a/sass/_proposal_detail.scss b/sass/_proposal_detail.scss index 0bfaca8..dc40f74 100644 --- a/sass/_proposal_detail.scss +++ b/sass/_proposal_detail.scss @@ -299,6 +299,12 @@ padding: 20px; display: block; + transition: background-color .2s; + + &:hover, + &:focus { + background-color: saturate( lighten($color, 5%), 10% ); + } span { padding-left: 20px; background: transparent url(images/airplane.png) left center no-repeat; @@ -413,6 +419,13 @@ bottom: 40px; left: 50%; margin-left: -30%; + + transition: background-color .2s; + + &:hover, + &:focus { + background-color: saturate( lighten($color, 5%), 10% ); + } } .vote-result { font-size: 14px; @@ -429,6 +442,11 @@ left: 0; text-decoration: none; color: $color; + + &:hover, + &:focus { + text-decoration: underline; + } } } } -- libgit2 0.21.2