/* This Source Code Form is subject to the terms of the Mozilla Public * License. v. 2.0. If a copy of the MPL was not distributed with this file. * You can obtain one at http://mozilla.org/MPL/2.0/. */ import styled from 'styled-components' interface StyleProps { show?: boolean size?: string } export const StyledWrapper = styled<{}, 'div'>('div')` display: block; width: 100%; height: 100%; ` as any export const StyledTransitionWrapper = styled('div')` height: ${p => p.show ? '100%' : '0'}; opacity: ${p => p.show ? '1' : '0'}; overflow: ${p => p.show ? 'unset' : 'hidden'}; ` as any export const StyledToggleWrapper = styled('div')` width: 100%; display: block; max-height: 56px; padding: ${p => p.show ? '18px 30px 20px 30px' : '20px'}; top: ${p => p.show ? 'unset' : '12px'}; position: ${p => p.show ? 'static' : 'absolute'}; bottom: ${p => p.show ? '0px' : 'unset'}; background: ${p => p.show ? '#E9EBFF' : 'inherit'}; ` as any export const StyledSummaryText = styled<{}, 'span'>('span')` color: #A1A8F2; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.35px; line-height: 22px; ` as any export const StyledArrowIcon = styled('span')` width: 24px; height: 24px; display: flex; color: #696FDC; ` as any export const StyledGrid = styled<{}, 'div'>('div')` display: flex; flex-direction: row; justify-content: space-between; ` export const StyledColumn = styled('div')` display: flex; `