All files / components/menu/menu-item menu-item.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                                                                                           
import styled from 'styled-components'
 
const MenuItemStyled = styled.div`
  display: flex;
  flex-direction: column;
  cursor: pointer;
 
  > .menu-item {
    display: flex;
    padding-left: 10px;
    align-items: center;
    height: 50px;
    width: 100%;
    text-align: left;
    color: #c5d0e1;
    font-size: 14px;
 
    &:hover {
      background-color: #2c3848;
    }
 
    &.menu-item-active {
      background-color: #2c3848;
      box-shadow: inset -4px 0 0 0 #6197c6;
      font-family: ProximaNova;
      font-size: 14px;
      color: #ffffff;
    }
  }
 
  .menu-item-submenu {
    display: none;
 
    .menu-item{
      height: 40px;
      padding-left: 40px;
    }
 
    &.menu-item-submenu-opened {
      display: block;
    }
  }
`
 
export default MenuItemStyled