Skip to content

Commit a40827b

Browse files
committed
visual indicator that install selected button is disabled
1 parent 1f02371 commit a40827b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/common/src/components/CondaPkgDrawer.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,15 @@ namespace Style {
489489
$nest: {
490490
'&:hover': {
491491
color: 'var(--jp-ui-font-color0)'
492+
},
493+
'&:disabled': {
494+
opacity: 0.5,
495+
cursor: 'not-allowed',
496+
backgroundColor: 'var(--jp-layout-color3)',
497+
color: 'var(--jp-ui-font-color3)'
498+
},
499+
'&:disabled:hover': {
500+
color: 'var(--jp-ui-font-color3)'
492501
}
493502
}
494503
});

0 commit comments

Comments
 (0)