@import 'app/style/default.scss';

#QuotationChart {
  #PriceList .coin-cp {
    width: 31%;
  }
  .chart-header {
    background: #212138;
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    color: $white;
    height: 45px;
    .choose-pair {
      width: 100%;
      height: 100%;
      position: relative;
      z-index: 10;
      display: -webkit-flex;
      display: flex;
      -webkit-justify-content: center;
      justify-content: center;
    }
    .display-pair {
      position: relative;
      height: 100%;
      width: pxToRem(230);
      display: -webkit-flex;
      display: flex;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-align-content: center;
      align-content: center;
      -webkit-flex-wrap: wrap;
      flex-wrap: wrap;
      .chineseName, .englishName {
        width: 100%;
        text-align: center;
      }
      .chineseName {
        font-size: 18px;
      }
      .englishName {
        font-size: 13px;
        margin-top: pxToRem(4);
      }
      &::after {
        content: '';
        position: absolute;
        left: 90%;
        top: 50%;
        -webkit-transform: translateY(-55%);
        transform: translateY(-55%);
        height: 0;
        width: 0;
        border-top: pxToRem(13) solid #fff;
        border-left: pxToRem(10) solid transparent;
        border-right: pxToRem(10) solid transparent;
        border-radius: 1px;
      }
    }
    .select-product {
      position: absolute;
      width: pxToRem(230);
      height: 100%;
      top: 0;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      opacity: 0;
      z-index: 10;
    }
    span {
      font-size: pxToRem(36);
      position: fixed;
      top: pxToRem(10);
      left: 42%;
    }
    .vert-to-hor {
      position: fixed;
      width: pxToRem(40);
      height: pxToRem(38);
      right: pxToRem(20);
      top: pxToRem(20);
      z-index: 1000;
    }
  }
  #PriceList {
    li {
      background: $white;
    }
  }
  .price-content {
    position: relative;
    overflow: hidden;
    font-size: pxToRem(30);
    color: #999999;
    padding: pxToRem(40) 0 pxToRem(16);;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    div {
      float: left;
      width: 25%;
      overflow: hidden;
      span {
        display: block;
        width: 100%;
        float: left;
        text-align: center;
        line-height: pxToRem(50);
      }
      .left-span-item {
        text-align: left;
        padding-left: pxToRem(23);
        letter-spacing: -1px;
      }
      .price-color {
        color: #555555;
      }
    }
  }
  .icon {
    width: 20%;
    display: block;
    float: left;
    color: #f75a5a;
    margin-right: pxToRem(20);
    padding-top: pxToRem(20);
    img {
      width: pxToRem(38);
      height: pxToRem(46);
    }
  }
  .am-icon-down {
    position: fixed;
    height: 45px;
    line-height: 45px;
    right: 30%;
  }
  .am-icon-left {
    position: fixed;
    z-index: 1000;
  }
  .rise-and-fall-point {
    color: #545454;
    display: inline-block;
    width: 70%;
    float: left;
    font-size: 15px;
  }
  .rise-and-fall-rate {
    color: #545454;
    font-size: 15px;
    display: inline-block;
    width: 70%;
    float: left;
  }
  .line-box {
    // margin: pxToRem(20) 0 0 0;
    height: 1px;
    line-height: 1px;
    padding: 0 pxToRem(30);
    .left, .right {
      width: 50%;
      display: inline-block;
      height: 1px;
      margin: 0;
    }
    .left {
      background: -webkit-linear-gradient(left, #ffffff, #eaeaea); /* Safari 5.1 - 6.0 */
      background: -o-linear-gradient(right, #ffffff, #eaeaea); /* Opera 11.1 - 12.0 */
      background: -moz-linear-gradient(right, #ffffff, #eaeaea); /* Firefox 3.6 - 15 */
      background: linear-gradient(to right, #ffffff, #eaeaea); /* 标准的语法 */
    }
    .right {
      background: -webkit-linear-gradient(left, #eaeaea, #ffffff); /* Safari 5.1 - 6.0 */
      background: -o-linear-gradient(right, #eaeaea, #ffffff); /* Opera 11.1 - 12.0 */
      background: -moz-linear-gradient(right, #eaeaea, #ffffff); /* Firefox 3.6 - 15 */
      background: linear-gradient(to right, #eaeaea, #ffffff); /* 标准的语法 */
    }
  }
  .chart-info {
    color: #333333;
    background-color: $white;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    span, select {
      display: inline-block;
      width: 25%;
      height: pxToRem(80);
      line-height: pxToRem(80);
      font-size: pxToRem(30);
      text-align: center;
      background: $white;
    }
    .active-chart-info {
      position: relative;
      color: #309fea;
      &::after {
        content: '';
        width: pxToRem(100);
        height: 2px;
        position: absolute;
        bottom: 0;
        background-color: #309FEA;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
      }
    }
    select {
      position: relative;
      appearance: none;
      -webkit-appearance: none;
      border: none;
      padding-left: 5%;
      border-radius: 0;
    }
    .select-down {
      position: absolute;
      z-index: 1;
      right: pxToRem(40);
      top: 50%;
      -webkit-transform: translateY(-55%);
      transform: translateY(-55%);
      height: 0;
      width: 0;
      border-top: pxToRem(13) solid #787878;
      border-left: pxToRem(10) solid transparent;
      border-right: pxToRem(10) solid transparent;
      border-radius: 1px;
    }
  }
}

.am-action-sheet-button-list .am-action-sheet-destructive-button {
  color: #000000 !important;
}
