All files / components/pagination pagination.styled.js

0% Statements 0/8
0% Branches 0/4
0% Functions 0/2
0% Lines 0/2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48                                                                                               
import styled from 'styled-components'
 
const PaginationStyled = styled.ul`
  display: flex;
  justify-content: center;
  width: 100%;
  
  .link {
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: solid 1px #c5d0e1;
    cursor: pointer;
  
    > div {
        color: #3b495e;
        font-size: 14px;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
  }
 
  .active {
    background-color: #e7f0f7;
    border: solid 1px #afcef3;
    pointer-events: none;
    cursor: default;
  
    > div {
        color: #314056;
      }  
    }
 
  .inactive {
    pointer-events: none;
    cursor: default;
  }
`
 
export default PaginationStyled