Commit 4cdef5941696cfe0e6dde2a69ce8a521dba5be22
Committed by
Daniela Feitosa
1 parent
38a7ea69
Exists in
master
and in
29 other branches
Making disabled button not change on hover
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
public/stylesheets/application.css
@@ -1510,7 +1510,14 @@ a.disabled{ | @@ -1510,7 +1510,14 @@ a.disabled{ | ||
1510 | -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */ | 1510 | -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */ |
1511 | cursor: default; | 1511 | cursor: default; |
1512 | } | 1512 | } |
1513 | -input.disabled { | 1513 | + |
1514 | +#content a.button.disabled:hover { | ||
1515 | + border: 1px solid #AAA; | ||
1516 | + background-color: #EEE; | ||
1517 | + color: #555; | ||
1518 | + cursor: default; | ||
1519 | +} | ||
1520 | +a.button.disabled, input.disabled { | ||
1514 | opacity: 0.5; | 1521 | opacity: 0.5; |
1515 | filter-opacity: 50%; | 1522 | filter-opacity: 50%; |
1516 | } | 1523 | } |