@import "color";
@import "variables";

.op0 {
  opacity: 0;
}

.global-notice {
  position: fixed;
  z-index: 999;
  color: white;
  background: black;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem 1.8rem;
  border-radius: .3rem;
  font-size: 1.2rem;
  white-space: nowrap;
}

.row {
  padding: 0 @padding-page;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5rem;
  font-size: 1.4rem;

  &.no-active {
    &:active {
      background: @main-bg;
    }
  }

  &.active {
    &:active {
      background: @active-main-bg;
    }
  }

  &.no-padding {
    padding: 0;
  }

  &.border {
    border-bottom: 1px solid @line-color;
  }


  .left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;

    img {
      margin-right: 1rem;
      width: 1.5rem;
    }
  }

  .right {
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: @second-text-color;

    img {
      margin-left: .5rem;
      width: 2rem;
    }
  }
}

.button {
  color: white;
  height: 4rem;
  line-height: 4rem;
  text-align: center;
  border-radius: .3rem;
  //width: 100%;
  font-size: 1.4rem;

  &.primary {
    background: @primary-btn-color;

    &:active {
      background: @disable-primary-btn-color;
    }
  }

  &.no-active {
    &:active {
      &.primary {
        background: @primary-btn-color;
      }

      &.dark {
        background: @second-btn-color;
      }

      &.white {
        background: white;
      }
    }
  }

  &.disabled {
    &.primary {
      background: gainsboro;
      color: white;
    }

    &:active {
      &.primary {
        background: gainsboro;
      }
    }
  }

  &.dark {
    background: @second-btn-color;

    &:active {
      background: @second-btn-color-tran;
    }
  }

  &.white {
    background: white;
    color: black;
    border: 1px solid gainsboro;
  }
}

.not-read {
  @width: .7rem;
  width: @width;
  height: @width;
  border-radius: 50%;
  background: yellow;
}

.badge {
  font-size: 1.2rem;
  display: block;
  color: black;
  padding: 1px .6rem;
  border-radius: 1rem;
  background: yellow;
}

.badge2 {
  transform: scale(.9);
  font-size: 1.2rem;
  color: black;
  @width: 1.8rem;
  width: @width;
  height: @width;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: yellow;
}

p {
  padding: 0;
  margin: 0;
}

.line {
  height: 1px;
  background: @line-color2;
  width: 100%;
}

.link {
  color: rgb(18, 100, 149);
}
