Commit 4519e18fea393da154212abd2776814a9c1ee6aa
1 parent
b0a2a836
Exists in
master
and in
8 other branches
Pequenas melhorias nos botões. (#187)
Showing
1 changed file
with
18 additions
and
0 deletions
Show diff stats
sass/_proposal_detail.scss
... | ... | @@ -299,6 +299,12 @@ |
299 | 299 | padding: 20px; |
300 | 300 | display: block; |
301 | 301 | |
302 | + transition: background-color .2s; | |
303 | + | |
304 | + &:hover, | |
305 | + &:focus { | |
306 | + background-color: saturate( lighten($color, 5%), 10% ); | |
307 | + } | |
302 | 308 | span { |
303 | 309 | padding-left: 20px; |
304 | 310 | background: transparent url(images/airplane.png) left center no-repeat; |
... | ... | @@ -413,6 +419,13 @@ |
413 | 419 | bottom: 40px; |
414 | 420 | left: 50%; |
415 | 421 | margin-left: -30%; |
422 | + | |
423 | + transition: background-color .2s; | |
424 | + | |
425 | + &:hover, | |
426 | + &:focus { | |
427 | + background-color: saturate( lighten($color, 5%), 10% ); | |
428 | + } | |
416 | 429 | } |
417 | 430 | .vote-result { |
418 | 431 | font-size: 14px; |
... | ... | @@ -429,6 +442,11 @@ |
429 | 442 | left: 0; |
430 | 443 | text-decoration: none; |
431 | 444 | color: $color; |
445 | + | |
446 | + &:hover, | |
447 | + &:focus { | |
448 | + text-decoration: underline; | |
449 | + } | |
432 | 450 | } |
433 | 451 | } |
434 | 452 | } | ... | ... |