huridocs/uwazi

View on GitHub
app/react/App/scss/utilities/_utilities.scss

Summary

Maintainability
Test Coverage
.u-floatLeft {
  float: left;
  left: 0;
}

.u-floatRight {
  float: right;
  right: 0;
}

.full-width {
  width: 100%;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.only-desktop {
  display: none;

  @media (min-width: 1024px) {
    display: initial;
  }
}

.only-mobile {
  @media (min-width: 1024px) {
    display: none;
  }
}

@keyframes jumpingAnimation {
  0% {
    transform: translate3d(0, 0, 0)
  }

  50% {
    transform: translate3d(0, 5px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}