@import 'moda-themes/themes';

.mo-web-user-section {
  position: relative;
  float: right;
  line-height: 3.6;
  font-family: font-family('sans');
  font-size: 10px;
  letter-spacing: 1px;

  .mo-web-user-menu {
    display: none;
  }

  &:hover {
    .mo-web-user-menu {
      display: block;
      position: absolute;
      right: 0;
      top: 46px;
      z-index: 3;

      &:after {
        content: '';
        display: block;
        position: absolute;
        top: -8px;
        right: 20px;
        width: 13px;
        height: 13px;
        border-left: 1px solid color('cashmere');
        border-top: 1px solid color('cashmere');
        transform: rotate(45deg);
        background-color: white;
      }

      &:before {
        content: '';
        display: block;
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
        background-color: transparent;
      }
    }
  }
}
