@import "variables";
.view-list-activities{
  table{
    tbody{
      tr{
        td {
          vertical-align: middle;
          padding-left: 18px;
          &.sorting_1 {
            width: 5%;
          }
          &.activity-name {
            width: 25%;
            h4 {
              font-size: @font-size-h4;
              font-weight: @font-weight-semibold;
              color: @text-color-1;
            }
          }
          &.activity-image {
            width: 10%;
            .img-box {
              width: 100%;
              height: 100px;
              div {
                width: 100%;
                height: 100%;
                padding-bottom: calc(100% * 1 / 1.5);
                position: relative;
                img {
                  width: 100%;
                  height: 100%;
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  transform: translate(-50%, -50%);
                  object-fit: cover;
                  object-position: center;
                }
              }
            }
          }
          &.activity-published{
            width: 10%;
            .published {
              i.fa-check-square {
                color: #1e7e34;
              }
            }
            .unpublished {
              i.fa-times-circle {
                color: #ac2925;
              }
            }
          }
          &.activity-description {
            width: 40%;
            div {
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              height: 40px;
              overflow: hidden;
              text-overflow: ellipsis;
              margin-bottom: 0;
            }
          }
          &.activity-action {
            a {
              color: @text-color-2;
              &+a {
                margin-left: 10px;
              }
            }
          }
        }
      }
    }
  }
}