From 41aaf428bf887f21c5716f53d7778821af3f8961 Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Wed, 13 Feb 2019 20:32:15 +0100 Subject: [PATCH] Cleanup --- .../ts/pages/governance/modal_vote.tsx | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/packages/website/ts/pages/governance/modal_vote.tsx b/packages/website/ts/pages/governance/modal_vote.tsx index d3ec062f11..c7dd198b84 100644 --- a/packages/website/ts/pages/governance/modal_vote.tsx +++ b/packages/website/ts/pages/governance/modal_vote.tsx @@ -317,14 +317,6 @@ const ButtonRow = styled(InputRow)` } `; -const ButtonFull = styled(Button)` - width: 100%; -`; - -const ButtonHalf = styled(Button)` - width: calc(50% - 15px); -`; - const ButtonClose = styled.button.attrs({})` cursor: pointer; position: absolute; @@ -344,21 +336,6 @@ cursor: pointer; position: absolute; } `; - -const ButtonDisabled = styled(Button)<{ isDisabled?: boolean; disabled?: boolean }>` - background-color: ${props => props.disabled && '#898990'}; - opacity: ${props => props.disabled && '0.4'}; -`; - -const ButtonActive = styled(Button)<{ isActive: boolean; activeColor: string; onClickValue?: string }>` - background-color: ${props => (props.isActive ? props.activeColor : '#898990')}; - width: calc(50% - 15px); - - &:hover { - background-color: ${props => (props.activeColor ? props.activeColor : '#898990')}; - } -`; - const StyledDialogContent = styled(DialogContent)` position: relative; max-width: 800px; @@ -372,14 +349,6 @@ const StyledDialogContent = styled(DialogContent)` } `; -const Form = styled.form` - position: relative; - transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; - - opacity: ${props => props.isSuccessful && `0`}; - visibility: ${props => props.isSuccessful && `hidden`}; -`; - const Confirmation = styled.div` position: absolute; top: 50%;