import styled from 'styled-components' import { th, grid } from '@pubsweet/ui-toolkit' export const Table = styled.table` margin-top: ${grid(2)}; width: 100%; border-radius: ${th('borderRadius')}; border-collapse: collapse; font-size: ${th('fontSizeBaseSmall')}; overflow: hidden; td { width: 25%; } ` export const ManuscriptsTable = styled(Table)` @media (max-width: 1400px) { margin-top: 0; } ` export const Header = styled.thead` text-align: left; font-variant: all-small-caps; border-bottom: 1px solid ${th('colorFurniture')}; background-color: ${th('colorSecondaryBackground')}; th { padding: ${grid(1)} ${grid(3)}; } ` export const Row = styled.tr` max-height: ${grid(8)}; border-bottom: 1px solid ${th('colorFurniture')}; &:hover { background-color: ${th('colorBackgroundHue')}; } ` export const Cell = styled.td` padding-bottom: ${grid(2)}; padding-top: calc(${grid(2)} - 1px); padding-left: ${grid(3)}; padding-right: ${grid(3)}; button { font-size: ${th('fontSizeBaseSmall')}; } ` export const LastCell = styled(Cell)` text-align: right; `