Skip to content

Commit

Permalink
Merge pull request #2187 from CaveSpectre11/2134-focus-color
Browse files Browse the repository at this point in the history
Focus color of buttons should be more saturated/darker (Issue #2134)
  • Loading branch information
ripcurlx authored Jan 7, 2019
2 parents 75e9e99 + c495118 commit c985bf6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions desktop/src/main/java/bisq/desktop/bisq.css
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,12 @@ bg color of non edit textFields: fafafa
-fx-cursor: hand;
}

.jfx-button:hover {
-fx-background-color: derive(-bs-rd-grey-light, 30%);
.jfx-button:hover, .jfx-button:focused {
-fx-background-color: derive(-bs-rd-grey-light, -30%);
}

.action-button:hover {
-fx-background-color: derive(-bs-rd-green-dark, 30%);
.action-button:hover, .action-button:focused {
-fx-background-color: derive(-bs-rd-green-dark, -30%);
}

.action-button {
Expand Down Expand Up @@ -1718,8 +1718,9 @@ textfield */
-fx-text-fill: -bs-rd-white;
}

#buy-button-big:hover, #buy-button:hover {
-fx-background-color: derive(-bs-buy, 30%);
#buy-button-big:hover, #buy-button:hover,
#buy-button-big:focused, #buy-button:focused {
-fx-background-color: derive(-bs-buy, -30%);
}

#sell-button-big {
Expand All @@ -1733,8 +1734,9 @@ textfield */
-fx-text-fill: -bs-rd-white;
}

#sell-button-big:hover, #sell-button:hover {
-fx-background-color: derive(-bs-sell, 30%);
#sell-button-big:hover, #sell-button:hover,
#sell-button-big:focused, #sell-button:focused {
-fx-background-color: derive(-bs-sell, -30%);
}

#sell-button-big.grey-style, #buy-button-big.grey-style,
Expand Down

0 comments on commit c985bf6

Please sign in to comment.