aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-09-16 06:00:42 +0800
committerGitHub <noreply@github.com>2016-09-16 06:00:42 +0800
commita5e45820cc7359491d1d7b06a5358d99b9c97305 (patch)
tree521c1baf581454c29b05c53a6598d5ec6fe8caa4 /ui/app/css
parent06b9adf172010600c7ac1127ff2ee76a7433e97b (diff)
parentcf484d735fab021a0dfe509243b957e8c6278532 (diff)
downloadtangerine-wallet-browser-a5e45820cc7359491d1d7b06a5358d99b9c97305.tar.gz
tangerine-wallet-browser-a5e45820cc7359491d1d7b06a5358d99b9c97305.tar.zst
tangerine-wallet-browser-a5e45820cc7359491d1d7b06a5358d99b9c97305.zip
Merge pull request #673 from MetaMask/i#519buyButtonTxConf
Drop the buy button in if tx is more then account balance
Diffstat (limited to 'ui/app/css')
-rw-r--r--ui/app/css/index.css26
1 files changed, 21 insertions, 5 deletions
diff --git a/ui/app/css/index.css b/ui/app/css/index.css
index ba90aa551..8543960fe 100644
--- a/ui/app/css/index.css
+++ b/ui/app/css/index.css
@@ -36,24 +36,40 @@ button {
font-family: 'Montserrat Bold';
outline: none;
cursor: pointer;
- box-shadow: 0px 3px 6px rgba(247, 134, 28, 0.36);
- /*margin: 10px;*/
padding: 8px 12px;
border: none;
- background: #F7861C;
color: white;
transform-origin: center center;
transition: transform 50ms ease-in;
+ /* default orange */
+ background: rgba(247, 134, 28, 1);
+ box-shadow: 0px 3px 6px rgba(247, 134, 28, 0.36);
+}
+
+button.btn-green {
+ background: rgba(106, 195, 96, 1);
+ box-shadow: 0px 3px 6px rgba(106, 195, 96, 0.36);
+}
+
+button.btn-red {
+ background: rgba(254, 35, 17, 1);
+ box-shadow: 0px 3px 6px rgba(254, 35, 17, 0.36);
+}
+
+button[disabled] {
+ cursor: not-allowed;
+ background: rgba(197, 197, 197, 1);
+ box-shadow: 0px 3px 6px rgba(197, 197, 197, 0.36);
}
button.spaced {
margin: 2px;
}
-button:hover {
+button:not([disabled]):hover {
transform: scale(1.1);
}
-button:active {
+button:not([disabled]):active {
transform: scale(0.95);
}