Newer
Older
eShopOnWeb-VerticalFeatureSlices / src / Web / wwwroot / css / shared / components / identity / identity.css
@Derek Comartin Derek Comartin on 27 Jul 2021 877 bytes Init
.esh-identity {
  line-height: 3rem;
  position: relative;
  text-align: right;
}

.esh-identity-section {
  display: inline-block;
  width: 100%;
}

.esh-identity-name {
  display: inline-block;
}

.esh-identity-name--upper {
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .esh-identity-name {
    font-size: 0.85rem;
  }
}

.esh-identity-image {
  display: inline-block;
}

.esh-identity-drop {
  background: #FFFFFF;
  height: 10px;
  width: 10rem;
  overflow: hidden;
  padding: .5rem;
  position: absolute;
  right: 0;
  top: 2.5rem;
  transition: height 0.35s;
}

.esh-identity:hover .esh-identity-drop {
  border: 1px solid #EEEEEE;
  height: 14rem;
  transition: height 0.35s;
  z-index: 10;
}

.esh-identity-item {
  cursor: pointer;
  transition: color 0.35s;
}

.esh-identity-item:hover {
  color: #75b918;
  transition: color 0.35s;
}