All files / Rindu/styles menuContextStyles.tsx

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 49 50 51 52 53 54 55 56    132x                                                                                                          
import css from "styled-jsx/css";
 
export const menuContextStyles = css`
  li :global(svg) {
    margin-left: 16px;
  }
  li :global(a),
  li :global(button) {
    text-decoration: none;
    color: #fff;
    cursor: default;
  }
  li {
    background-color: transparent;
    width: max-content;
    min-width: 100%;
    height: 40px;
    border: none;
    display: flex;
    align-content: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #ffffffe6;
    cursor: pointer;
    text-align: start;
    text-decoration: none;
    cursor: default;
    border-radius: 3px;
    align-items: center;
    width: 100%;
  }
  li > :global(:first-child) {
    background: none;
    border: none;
    padding: 8px 10px;
    width: 100%;
    text-align: start;
    display: flex;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: -webkit-box;
    width: 100%;
    -webkit-box-orient: vertical;
    height: fit-content;
  }
  li:hover,
  li:focus {
    outline: none;
    background-color: #ffffff1a;
  }
`;