/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

@perfix-cls: ant-tugraph;
.@{perfix-cls}-nodequery {
  flex: 0 0 280px;
  position: relative;
  width: 280px;
  transition: all 0.3s ease 0s;
  &-drawer {
    height: 100%;
    border-top: 1px solid #ececec;
    .@{perfix-cls}-drawer-ccontainer {
      padding: 0 24px;
      .@{perfix-cls}-drawer-title {
        font-weight: 500;
        font-size: 14px;
        line-height: 48px;
        color: rgba(54, 55, 64, 1);
        margin-bottom: 14px;
      }
    }
    .@{perfix-cls}-tab-left-btn {
      width: 24px;
      height: 24px;
      position: absolute;
      left: -12px;
      background-color: rgba(255, 255, 255, 1);
      border-radius: 50%;
      z-index: 1;
      cursor: pointer;
    }
    .@{perfix-cls}-tab-right-btn {
      width: 24px;
      height: 24px;
      position: absolute;
      right: -12px;
      background-color: rgba(255, 255, 255, 1);
      border-radius: 50%;
      z-index: 1;
      cursor: pointer;
    }
  }
  .@{perfix-cls}-select-container {
    width: 46%;
    margin-bottom: 0;
    :global {
      .ant-select-selector {
        border-radius: 8px 0 0 8px !important;
      }
    }
  }
  .@{perfix-cls}-input-container {
    width: 54%;
    margin-bottom: 0;
    :global {
      .ant-input {
        border-radius: 0px 6px 6px 0px;
      }
      .ant-select-selector {
        border-radius: 0px 6px 6px 0px;
      }
      .ant-input-number {
        margin-top: 0;
        border-radius: 0px 6px 6px 0px;
      }
    }
  }
  .@{perfix-cls}-property-container {
    display: none;
  }
  :global {
    .anticon-left,
    .anticon-right {
      color: rgba(153, 153, 153, 1);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .ant-btn {
      border-radius: 6px;
    }
    .ant-input-number {
      width: 100%;
      border-radius: 6px;
      margin-top: 8px;
      .ant-input-number-handler-wrap {
        border-radius: 0 6px 6px 0;
      }
    }
    .ant-checkbox-wrapper {
      margin-bottom: 8px;
    }
    .ant-select-multiple {
      width: 100%;
      height: 33px;
      .ant-select-selector {
        border-radius: 6px;
      }
    }
    .ant-form-item {
      margin-bottom: 16px;
    }
    .ant-tabs-nav {
      margin-bottom: 0;
    }
    .ant-tabs-top {
      margin-top: -6px;
    }
    .ant-tabs-nav-operations {
      display: none !important;
    }
  }
}
.@{perfix-cls}-nodequery-ani {
  flex: 0 0 10px;
  width: 10px;
}
