@import '../../lib/commonStyles/colors.scss';
@import '../../lib/commonStyles/full-size.scss';
@import '../../lib/commonStyles/layout.scss';
@import '../../lib/commonStyles/reset.scss';

.root {
  @include full-size;
}

.spinner {
  z-index: 2;
}

.content {
  @include full-size;
  height: calc(100% - 50px);
  padding-top: 0;
  padding-bottom: 0;
}

.contentWrapper {
  @include full-size;
}

.actionBar {
  padding: 10px 20px;
  border-bottom: 1px solid #e3e4e5;
}

.searchInput {
  display: inline-block;
  width: calc(100% - 40px);
  padding: 0;
  border-radius: 15px;
  border: solid 1px #e9e9e9;

  span {
    top: 7px;
  }

  input {
    height: 26px;
  }
}

.withRefresh {
  width: calc(100% - 60px);
}

.actionButton {
  float: right;
  position: relative;
  margin-left: 0;
  width: 26px;
  height: 28px;
  vertical-align: middle;
}

.iconContainer {
  padding: 6px;
  cursor: pointer;

  .iconNode {
    @include reset;
    width: 100%;
    height: 100%;

    path {
      fill: $primary-color;
    }
  }
}

.refreshIcon {
  top: 1px;
}

@keyframes refreshCirle {
  0% {
    -webkit-transform: rotate(0deg);
  }

  25% {
    -webkit-transform: rotate(90deg);
  }

  50% {
    -webkit-transform: rotate(180deg);
  }

  75% {
    -webkit-transform: rotate(270deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

.refreshingIcon {
  top: 1px;

  svg {
    animation: refreshCirle 1s linear infinite;
  }
}
