menu-app {
  display: block;

  form[name=saveForm] {
    width: 500px;
    position: relative;

    .menu {
      margin-bottom: 10px;
      position: relative;
      height: 30px;

      select {
        -webkit-appearance: none;
        width: 70% !important;
        height: 30px;
        float: left;
        border-radius: 3px 0 0 3px;
        border: solid 1px #d3d3d3;
        background: linear-gradient(to top, #f3f3f3, #fff);
      }

      .main {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
      }

      .select-bg {
        width: calc(70% + 24px);
        background: #eee;
        height: 30px;
        border-radius: 3px;
        float: left;
      }

      .fa-sort-desc {
        position: absolute;
        top: 7px;
        left: 66%;
      }

      .drag-icon {
        background: linear-gradient(to bottom, #f7f7f7, #e0e0e0);
        float: left;
        height: 30px;
        width: 24px;
        border: solid 1px #d3d3d3;
        border-left: none;
        text-align: center;
        line-height: 30px;
        border-radius: 0 3px 3px 0;
        cursor: move;
      }

      .menu-icon {
        display: none;
        margin-left: 10px;
        line-height: 33px;
        float: left;
        position: relative;
        z-index: 2;

        a {
          color: #d15f66;
          font-size: 13px;
          cursor: pointer;
        }
      }

      &:hover {
        .menu-icon {
          display: block;
        }
      }
    }
  }

  .drag-box {
    .menu {
      transition: .3s;
    }

    .dragging {
      transition: none;
      z-index: 1;

      .menu-icon {
        display: none!important;
      }
    }
  }

  .menu-button {
    text-align: center;
    margin: 10px 0;
  }

  .addMenu {
    text-align: left;
    margin-left: 316px;
  }

  nav {
    height: 30px;
    line-height: 30px;
    text-indent: 13px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #f6f6f6, #fff);
  }

  .content {
    padding: 0 0 15px 76px;
  }

  .form-group {
    display: flex;
    align-items: center;

    .control-label {
      width: 120px;
      text-align: right;
      color: #4a4a4a;
    }

    .ipt {
      width: 400px;
      border-bottom: solid 1px #ccc;
      display: flex;
      align-items: center;

      > input {
        border-bottom: none;
        flex: 1;
        margin: 0;
      }
    }

    .dataSets {
      -webkit-appearance: none;
      background: none;
      flex: 1;
      height: 25px;
      border: none;
      margin-top: 5px;

      &:focus {
        outline: none;
      }
    }
  }

  .disabled {
    .control-label {
      color: #AAAAAA;
    }

    .ipt {
      border-bottom-color: #EEEEEE;
    }
  }

  .choose-img {
    margin-top: -18px;
    padding-bottom: 27px;
  }

  time-filter {
    border: none;

    th {
      width: auto!important;
      min-width: auto!important;
    }
  }

  .timefilter-warp {
    position: relative;

    .timefilter-button-group {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;

      .timefilter-button {
        width: 100%;
        height: 100%;
      }

      &>a {
        opacity: 0;
      }
    }

    .popover {
      left: 0!important;
    }

    .arrow {
      left: 10px!important;
    }
  }

  .img-bg {
    display: inline-block;
    margin: 0 30px 0 10px;
    padding: 5px;
    width: 140px;
    height: 70px;
    border: #d8d8d8 solid 1px;
    border-radius: 3px;
    position: relative;
    top: 27px;
  }

  .chart-icon {
    display: inline-block;
    width: 126px;
    height: 56px;
    box-sizing: content-box;
    border: 1px solid;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .show-chart {
    background-image: url("~@images/show-chart.svg");
  }

  .hide-chart {
    background-image: url("~@images/hide-chart.svg");
  }
}
