aboutsummaryrefslogtreecommitdiff
path: root/modern/src/theme/overrides.js
diff options
context:
space:
mode:
authorDesmond Kyeremeh <elDekyfin@gmail.com>2021-06-29 03:52:31 +0000
committerDesmond Kyeremeh <elDekyfin@gmail.com>2021-06-29 03:52:31 +0000
commit2df3827308d8d2e3ec16a32bac5f7667bc2618e2 (patch)
tree87de46c470d4500c5edf67ffb373fbbaa946b2cb /modern/src/theme/overrides.js
parent271740034791dc7137325d5b5352217c3bc987f3 (diff)
downloadtrackermap-web-2df3827308d8d2e3ec16a32bac5f7667bc2618e2.tar.gz
trackermap-web-2df3827308d8d2e3ec16a32bac5f7667bc2618e2.tar.bz2
trackermap-web-2df3827308d8d2e3ec16a32bac5f7667bc2618e2.zip
Updated disabled button style
Diffstat (limited to 'modern/src/theme/overrides.js')
-rw-r--r--modern/src/theme/overrides.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/modern/src/theme/overrides.js b/modern/src/theme/overrides.js
index c8d64a9d..846859f1 100644
--- a/modern/src/theme/overrides.js
+++ b/modern/src/theme/overrides.js
@@ -44,6 +44,17 @@ export default {
MuiButton: {
root: {
height: dimensions.inputHeight,
+ '&$disabled': {
+ opacity: .4,
+ color: undefined,
+ }
+ },
+ contained: {
+ '&$disabled': {
+ opacity: .4,
+ color: undefined,
+ backgroundColor: undefined
+ }
}
}
};