import styled from 'styled-components' ; import { Link } from 'react-router-dom' ; export const TableTitleRow = styled . div `
  background: ${ props => props . theme . primary };
  display: flex;
  min-height: 65px;
  border-radius: 6px 6px 0px 0px;
  padding: 0 20px;
` ; export const TableTitleRowItem = styled . div `
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: ${ ( { width } ) => width };
  min-height: 65px;

  > div {
    color: white;
    font-size: 18px;
    font-weight: 450;
    text-align: center;

    @media (max-width: 1000px) {
      font-size: 16px;
    }
  }
` ; export const TableContentRow = styled . div `
  position: relative;
  display: flex;
  min-height: 60px;
  background-color: white;
  padding: 20px;

  ::after {
    content: '';
    position: absolute;
    display: block;
    width: auto;
    height: 1px;
    left: 20px;
    right: 20px;
    bottom: 1px;
    background: #d8d8d8;
    transform: ${ ( ) => `scaleY(${ Math . ceil ( ( 1.0 / window . devicePixelRatio ) * 10.0 ) / 10.0 })` };
  }

  :hover {
    background: #f8f9fa;
  }
` ; export const TableContentRowItem = styled . div `
  width: ${ ( { width } ) => width };
  color: #000000;
  align-items: center;
  text-align: center;
  justify-content: center;
  text-overflow: ellipsis;
  font-size: 16px;

  a {
    color: ${ props => props . theme . primary };
  }

  a:hover {
    color: ${ props => props . theme . primary };
  }
` ; export const TableMinerContentPanel = styled . div `
  width: ${ ( props ) => props . width };
  line-height: 20px;
  text-align: center;
  margin: auto 0;
  .table__miner__content {
    color: ${ ( props ) => props . theme . primary };
    text-decoration: none;
  }

  .table__miner__text {
    width: 100%
    justify-content: center;
    font-size: ${ ( props ) => props . fontSize };
    font-weight: 500;

    @media(max-width: 750px) {
      font-size: 13px;
    }
  }

  .table__miner__text__disable {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: ${ ( props ) => props . fontSize };
    color: #000000;

    @media(max-width: 750px) {
      font-size: 13px;
    }
  }
` ; export const HighlightLink = styled ( props => < Link { ... props } / > ) `
  color: ${ props => props . theme . primary }
  text-decoration: none;
` ;