"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CopyText = exports.Balance = exports.Inner = exports.Wrapper = void 0;
const styles_1 = require("../../styles");
const Flex_1 = require("../Flex");
const Text_1 = require("../Text");
const variants = {
    default: styles_1.css `
    box-shadow: 0px 1px 2px rgba (21, 41, 53, 0.24),
      0px 1px 3px rgba(21, 41, 53, 0.12);
  `,
    transparent: ``,
};
exports.Wrapper = styles_1.styled.div `
  z-index: 999;
  position: fixed;
  width: 100%;
  background-color: white;
  box-shadow: 0px 1px 2px rgba(21, 41, 53, 0.24),
    0px 1px 3px rgba(21, 41, 53, 0.12);
  height: ${({ theme }) => theme.header.height};
  font-size: ${({ theme }) => theme.fontSizes[1]};
  top: 0;
  ${({ variant }) => variants[variant]};
  > a {
    float: left;
  }
  .pui-header-menu {
    li {
      display: inline-flex;
      align-items: center;
      color: $poly-gray-dark;
      font-size: 14px;
      line-height: 22px;
      margin-left: 30px;
      font-weight: 300;
      svg,
      img {
        margin-right: 8px;
      }
    }
  }
`;
exports.Inner = styles_1.styled(Flex_1.Flex) `
  height: ${({ theme }) => theme.header.height};
`;
exports.Balance = styles_1.styled.span `
  display: inline-block;
  margin: 0 5px 0 0;
  padding: 0;
  color: #000000;
`;
exports.CopyText = styles_1.styled(Text_1.Text) `
  position: relative;
  cursor: pointer;

  &::after {
    content: 'Copied';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
    opacity: ${(props) => (props.copied ? 1 : 0)};
  }

  ${(props) => props.copied
    ? ''
    : `&:hover {
           &::after {
             content: 'Click to copy DID';
             opacity: 1;
             transition: opacity 0.3s;
           }
         }`};
`;
//# sourceMappingURL=styles.js.map