editor.init.css 3.2 KB
.fixed {
  position: fixed;
  bottom: 0;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 6;
  width: 100%;
}
.body--mobile .fixed {
  max-width: 750px;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

* {
  padding: 0;
  margin: 0;
  outline: 0;
  border: 0;
  box-sizing: border-box;
  list-style: none;
  background: none;
}

input,
button {
  appearance: none;
}

body {
  background: none;
  font-size: 0;
}

img {
  max-width: 100%;
}

/* 弹窗 */
[id*='register-popup'],
[id*='loading-popup'],
[id*='back-popup'],
[id*='success-popup'] {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 7 !important;
}

[id*='register-popup'] {
  z-index: 8 !important;
}

[id*='success-popup'] {
  z-index: 9 !important;
}

[id*='register-popup'],
[id*='back-popup'],
[id*='success-popup'] {
  display: none;
}

/* 输入框 */
.input__div {
  position: relative;
  width: 100%;
}
.input__div img {
  position: absolute;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.input__div img ~ input {
  padding-left: 0.5rem;
}

.input__div > input {
  font-size: inherit;
  width: 100%;
  line-height: inherit;
  padding: initial;
  color: initial;
  display: block;
  height: 100%;
}

.input__div > button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}

[data-popup-id] {
  cursor: pointer;
}

/* 按钮 */
button {
  max-width: 100%;
  display: block;
  cursor: pointer;
}
button:disabled {
  background-color: #aeaeae !important;
  cursor: no-drop !important;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
}

input:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px transparent inset !important;
}

/* swiper */
/* .swiper-container{} */

/* .swiper-wrapper {} */

.swiper-slide > img {
  width: 100%;
}

.scale-swiper .swiper-slide {
  width: 70%;
}

.scale-swiper .swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.85);
}

.banner {
  width: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
}

/* pc */
@media (min-width: 769px) {
  .mobile--show {
    display: none !important;
  }
}

/* mobile */
@media (max-width: 768px) {
  .pc--show {
    display: none !important;
  }
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  background-color: #000;
}
.duanxin {
  display: none;
}

/* areaCode */
div[data-form-areacode] {
  cursor: pointer;
}
ul[data-areacode-select] {
  display: none;
  position: absolute;
  overflow: auto;
  height: 150px;
  right: -0.8rem;
  bottom: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 15px;
  z-index: 2;
  transform: translateY(95%);
}
ul[data-areacode-select] > li {
  width: 100%;
  line-height: 2;
  white-space: nowrap;
  padding: 0 0.2rem;
}

ul[data-areacode-select] > li:hover {
  background-color: #ccc;
}