@import "../../v.scss";
.video-wrapper {
  display: flex;
  .video-controller-wrapper {
    width: 312px;
    .video-list-wrapper {
      height: 400px;
      background-image: url("./static/video-list-wrapper.png");
      .video-list-content {
        height: 100%;
        padding-top: 20px;
        box-sizing: border-box;
        .video-search-wrapper {
          width: 80%;
          height: 28px;
          position: relative;
          left: 20px;
          padding: 0 20px;
          background-image: url("./static/search-input-bg.png");
          background-repeat: no-repeat;
          background-size: 100% auto;
          .video-search-input {
            height: 100%;
            outline: none;
            border: 0;
            background-color: transparent;
            background-image: url("./static/search-icon.png");
            background-repeat: no-repeat;
            background-position: left center;
            font-size: 12px;
            color: #ffffff;
            padding-left: 20px;
            line-height: 28px;
            &:placeholder {
              color: #199cea;
            }
          }
        }
        .video-list-table {
          height:  240px;
          padding-top: 5px;
          box-sizing: border-box;
          overflow-y: scroll;

          .chanle-record {
            color: #a6daf8;
            padding: 18px 20px 8px 20px;
            font-size: 12px;
            border-bottom: 1px solid rgba($color: #1580c7, $alpha: 0.3);
            box-sizing: border-box;
            span {
              padding-left: 20px;
              background-image: url("./static/vidoe-online-icon.png");
              background-size: 14px auto;
              background-position: left center;
              background-repeat: no-repeat;
            }
            &[data-online="false"] {
              span {
                cursor: auto;
                background-image: url("./static/vide-offline-icon.png");
              }
            }
            &[data-online="true"] {
              cursor: pointer;
            }
            &[data-checked="true"] {
              background: rgba(#00a0ff, 0.3);
            }
          }
        }
      }
    }
    .video-setUp-controller {
      margin-top: 20px;
      height: 339px;
      background-image: url("./static/window-controller-bg.png");
      .video-setUp-content {
        color: #80c5f0;
        font-size: 12px;
        padding: 20px;
        .video-basic-wrapper {
          display: flex;
          justify-content: space-between;
          button {
            border: 0;
            background-color: transparent;
            outline: none;
            &:active {
              background-color: $primayBlueColor;
              color: #ffffff;
            }
          }
          .setup-wrapper {
            background-image: url("./static/setup-bg.png");
            background-size: 100% auto;
            background-repeat: no-repeat;
            width: 128px;
            height: 128px;
            position: relative;
            border-radius: 100%;
            .setup-stop {
              width: 46px;
              height: 46px;
              border-radius: 100%;
              outline: none;
              cursor: pointer;
              font-size: 30px;
              font-weight: bold;
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              color: #ffffff;
            }
            .video-arrow {
              height:50%;
              font-size: 24px;
              position: absolute;
              top:0;
              left: 50%;
              transform: translate(-50%,-50%);
              transform-origin: bottom center;
              cursor: pointer;
              &:active {
                span{
                  color: $primayBlueColor;

                }
              }
              &[data-roate="0"] {
                transform: translate(-50%,-6px)
              }
              &[data-roate="45"] {
                
                transform: rotate(45deg) translate(-45%,3px);
              }
              &[data-roate="90"] {
                transform: rotate(90deg) translate(0%,6px);
              }
              &[data-roate="135"] {
                transform: rotate(135deg) translate(45%,3px);
              }
              &[data-roate="180"] {
                transform: rotate(180deg) translate(45%,-6px);
              }
              &[data-roate="225"] {
                transform: rotate(225deg) translate(45%,-12px);
              }
              &[data-roate="270"] {
                transform: rotate(270deg) translate(0,-18px);
              }
              &[data-roate="315"] {
                transform: rotate(315deg) translate(-45%,-12px);
              }
            }
          }
          .video-sensitive-wrapper {
            display: flex;
            flex-direction: column;
            justify-content: space-around;

            button {
              color: #ffffff;
              text-align: center;
              border: 1px solid #00a0ff;
            }
            .video-sensitive-text {
              padding: 0 8px;
            }
          }
        }

        .video-rotating-set {
          margin-top: 20px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .video-rotating-slider {
            flex: 1;
            .ant-slider-rail {
              background: rgba(0, 160, 255, 0.2);
            }
            .ant-slider-track {
              background-color: #00a0ff;
            }
          }
        }
        .video-position-wrapper {
          display: flex;
          justify-content: space-between;
          align-items: center;
         
     
          .video-btn {
            width: 14px;
            height: 14px;
            background-size: 100% auto;
            background-repeat: no-repeat;
            background-position: center;
            outline: none;
            border: 0;
            cursor: pointer;
            padding: 0;
          }

          .video-setUp-btn {
            background-image: url("./static/setup-icon.png");
          }
          .video-get-btn {
            background-image: url("./static/get-btn-bg.png");
          }
          .video-remove-btn {
            background-image: url("./static/remove-btn-bg.png");
          }
        }
      }
    }
  }
  .video-show-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    box-sizing: border-box;
    .video-window-controller {
      width: 100%;
      height: 40px;
      margin-top: 10px;
      background-image: url("./static/video-num-controller.png");
      background-size: 100% auto;
      background-position: center center;
      background-repeat: no-repeat;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      & > div {
        cursor: pointer;
        width: 80px;
        height: 36px;
        background-size: 24px auto;
        background-position: center center;
        background-repeat: no-repeat;
        box-sizing: border-box;
        &[data-checked="true"] {
          background-color: rgba($color: #00a0ff, $alpha: 0.2);
        }
      }
    }
    .video-window-wrapper {
      height: 710px;
      flex: 1;
      display: flex;
      flex-direction: column;
      .video-window-item {
        flex: 1;
      }
      &[data-views="2"] {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-between;
        & > div {
          &:nth-child(1) {
            margin-bottom: 10px;
          }
        }
      }
      &[data-views="3"] {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        & > div {
          width: 49.5%;
          flex: none;
          margin-bottom: 0;
          &:nth-child(1) {
            margin-bottom: 10px;
          }
          &:nth-child(2) {
            margin-bottom: 10px;
          }
          &:nth-child(3) {
            width: 100%;
          }
        }
      }
      &[data-views="4"] {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        & > div {
          width: 49.5%;
          flex: none;
          margin-bottom: 0;
          &:nth-child(1) {
            margin-bottom: 10px;
          }
          &:nth-child(2) {
            margin-bottom: 10px;
          }
        }
      }
      &[data-views="6"] {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        & > div {
          width: 49.5%;
          flex: none;
          margin-bottom: 0;
          &:nth-child(3) {
            margin-bottom: 10px;
            margin-top: 10px;
          }
          &:nth-child(4) {
            margin-bottom: 10px;
            margin-top: 10px;
          }
        }
      }
      &[data-views="8"] {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        & > div {
          width: 49.5%;
          flex: none;
          margin-bottom: 0;
          &:nth-child(3),
          &:nth-child(4) {
            margin-bottom: 10px;
            margin-top: 10px;
          }
          &:nth-child(5),
          &:nth-child(6) {
            margin-bottom: 10px;
          }
        }
      }
      &[data-views="9"] {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        & > div {
          width: 33%;
          flex: none;
          margin-bottom: 10px;
          &:nth-child(7),
          &:nth-child(8),
          &:nth-child(9) {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}
.video-position-select {
  width: 100px;
  height: 28px;
  .ant-select-selector {
    background: rgba(0, 160, 255, 0.1) !important;
    border-color: #204987 !important;
    .ant-select-selection-item{
      color:#00A0FF ;
    }
  }
  .ant-select-selection-placeholder {
    color: #80c5f0;
  }

  .ant-select-arrow{
    color: #0A76B6;
  }
}
.video-position-dropdownselect{
  background-color: #16285C;

            .rc-virtual-list-holder-inner{
              background-color: #16285C;
              .ant-select-item{
                color: #E7F2F8;

              }
              .ant-select-item-option-selected{
                background-color: #00A0FF;
                color: #ffffff;
              }
              .ant-select-item-option-active{
                background-color: #00A0FF;
                color: #ffffff;
              }
            }
}