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,6 +299,12 @@ | ||
| 299 | padding: 20px; | 299 | padding: 20px; |
| 300 | display: block; | 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 | span { | 308 | span { |
| 303 | padding-left: 20px; | 309 | padding-left: 20px; |
| 304 | background: transparent url(images/airplane.png) left center no-repeat; | 310 | background: transparent url(images/airplane.png) left center no-repeat; |
| @@ -413,6 +419,13 @@ | @@ -413,6 +419,13 @@ | ||
| 413 | bottom: 40px; | 419 | bottom: 40px; |
| 414 | left: 50%; | 420 | left: 50%; |
| 415 | margin-left: -30%; | 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 | .vote-result { | 430 | .vote-result { |
| 418 | font-size: 14px; | 431 | font-size: 14px; |
| @@ -429,6 +442,11 @@ | @@ -429,6 +442,11 @@ | ||
| 429 | left: 0; | 442 | left: 0; |
| 430 | text-decoration: none; | 443 | text-decoration: none; |
| 431 | color: $color; | 444 | color: $color; |
| 445 | + | ||
| 446 | + &:hover, | ||
| 447 | + &:focus { | ||
| 448 | + text-decoration: underline; | ||
| 449 | + } | ||
| 432 | } | 450 | } |
| 433 | } | 451 | } |
| 434 | } | 452 | } |