mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-21 10:15:27 +00:00
Buttons with disabled state
This commit is contained in:
parent
6167e86bea
commit
be4e577b85
2 changed files with 7 additions and 2 deletions
|
|
@ -47,6 +47,11 @@
|
|||
background-color: var(--color-signal580);
|
||||
}
|
||||
|
||||
&:global(.disabled) {
|
||||
color: var(--color-surfacedarker);
|
||||
background-color: var(--color-surfacedark);
|
||||
}
|
||||
|
||||
.icon {
|
||||
fill: var(--color-surfacelighter);
|
||||
width: 1rem;
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ storiesOf('ModalDialog', module).add('ModalDialog', () => {
|
|||
}
|
||||
},
|
||||
{
|
||||
label: 'A button with a long name', props: {
|
||||
onClick: action('A button with a long name clicked.')
|
||||
label: 'A disabled button with a long name', props: {
|
||||
disabled: true,
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue