@import "/styles/main.less";
@import '/templates/tabs/tabs.less';
@import '/templates/loaderPage/loaderPage.less';
@import '/templates/loaderBar/loaderBar.less';
@import '/templates/slider/slider.less';
@import '/templates/shortcuts/shortcuts.less';
@import '/templates/postCard/postCard.less';
@import '/templates/categoryCard/categoryCard.less';
@import "/templates/messageModal/messageModal.less";
@import "/templates/shareView/shareView.less";

@light-background: #f4f4f4;

.post-index {
  display: flex;
  flex-direction: column;
  height: 100vh;

  text {
    font-size: 17px;
    color: #fff;
  }

  scroll-view {
    height: 100vh;
    flex: 1 1 0%;
  }

  .posts {
    padding: 26rpx;
  }

  .categories {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30rpx 18rpx;
    background: @light-background;
  }
}

.comment-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 15rpx 30rpx;
  border: 2rpx solid #e2e4e7;
  background-color: #f4f4f4;
  .component-placeholder {
    font-size: 28rpx;
    color: #c6c9cd;
  }
  .comment-input {
    width: 100%;
    height: 68rpx;
    line-height: 70rpx;
    padding-left: 18rpx;

    font-size: 28rpx;
    color: black;
    border: 2rpx solid #e2e4e7;
    border-radius: 8rpx;
    background-color: white;
  }
  .comment-btn {
    display: inline-block;
    height: 70rpx;
    width: 150rpx;
    line-height: 70rpx;

    margin-left: 15rpx;
    font-size: 28rpx;
    text-align: center;
    color: white;
    background-color: #62b900;
    &.disabled{
      background-color: #f6f6f6;
      color: #e2e4e7;
    }
  }
}
