dropdown-lang.scss 1.5 KB
@import "@/styles/_support.scss";

.drop-list {
  display: inline-block;
  position: relative;
  margin: 0 0px;
  font-size: $fontSizeTitle;

  .list {
    position: absolute;
    width: 34px;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 16px;
    left: 50%;
    transform: translateX(-50%); //居中处理

    .space {
      height: 18px;
    }

    .triangle-up {
      opacity: 0;
      margin: 2px auto 0;
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-bottom: 9px solid #f1f2f2;
    }
    .opacity1{
      opacity: 1;
    }
  }

  span {
    display: block;
    text-align: center;
  }

  span:hover {
  }

  ul {
    display: none;
    overflow: hidden;
    border-radius: 5px;
    background-color: #f1f2f2;

    li {
      @extend .fcc;
      text-align: center;
      position: relative;
      height: 28px;
      color: $cFontGray2;

      &:after {
        content: "";
        width: 28px;
        height: 1px;
        background-color: #c5c5c5;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%); //居中处理
      }
    }

    li:last-child {
      border-bottom: none;

      &:after {
        background: transparent;
      }
    }

    li:hover {
      color: $cOrange2;
    }

    .act {
      color: $cOrange2;
    }
  }
}
// .drop-list:lang(en){
//   min-width: 0;
//   margin: 0 13px;
// }

@media (max-width: 1100px) {
}

@media (max-width: 1000px) {
}