Skip to content
Snippets Groups Projects
style.js 1003 B
Newer Older
Jure's avatar
Jure committed
import styled from 'styled-components'
import { Action } from '@pubsweet/ui'
Jure's avatar
Jure committed
export {
  Row,
  Cell,
  LastCell,
  UserCombo,
  Primary,
  Secondary,
  UserInfo,
  Container,
  Table,
  Header,
  Content,
Jure's avatar
Jure committed
  Heading,
Jure's avatar
Jure committed
  Carets,
  CaretUp,
  CaretDown,
  Spinner,
  Pagination,
Jure's avatar
Jure committed
  SuccessStatus,
  ErrorStatus,
  NormalStatus,
  StatusBadge,
  ScrollableContent,
  ManuscriptsTable,
Jure's avatar
Jure committed
} from '../../shared'

// TODO: Extract common above
// Specific

Jure's avatar
Jure committed
export const UserAction = styled(Action)`
  cursor: pointer;
Mihail Gorceag's avatar
Mihail Gorceag committed
  display: block;
Jure's avatar
Jure committed
  font-size: inherit;
Mihail Gorceag's avatar
Mihail Gorceag committed
  width: fit-content;

export const StyledTopic = styled.p`
  background-color: red;
  border-radius: 7px;
  color: white;
  cursor: pointer;
  margin-bottom: 5px;
  max-width: 150px;
  overflow: hidden;
  padding: 0 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: fit-content;
`

export const StyledTableLabel = styled.p`
  background-color: #ccc;
  border-radius: 7px;
  padding: 0 10px;
  text-align: center;
  white-space: nowrap;