index.scss 3.21 KB
Newer Older
FE committed
1
// form 
FE committed
2 3
// .popup-form {
//   text-align: center;
FE committed
4 5 6 7

  .popup-packet__button--bundle {
    margin-top: 5px;
  }
FE committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
// }

[data-skip="default"] {
  .popup-form__item {
    height: 36px;
  }

  .popup-form__button--num {
    border: 1px solid #99D6FF;
    border-right-style: none;
    border-radius: 6px 0 0 6px;
  }
  
  .popup-form__button--code {
    border-radius: 6px;
  }

  .popup-form__button--bundle {
    width: 161px;
    height: 30px;
    border-radius: 15px;
    font-size: 13px;
  }
  
  .popup-form__ipt {
    border: 1px solid #99D6FF;
    border-radius: 6px;

    &[data-type="tel"] {
      border-left-style: none;
      border-radius: 0 6px 6px 0;
    }
  }
FE committed
41 42
}

FE committed
43
[data-skip="year"] {
FE committed
44 45 46 47 48 49 50 51
  .popup-form__title {
    margin: 10px 0 0;
    font-size: 18px;
    color: #111;
    text-align: center;
    line-height: 1;
  }

FE committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
  .popup-form__item {
    width: 269px;
    height: 40px;
  }

  .popup-form__button--num {
    border: 1px solid #CDCDCD;
    border-right-style: none;
    border-radius: 3px 0 0 3px;
  }

  .popup-form__button--code {
    border-radius: 3px;
  }

  .popup-form__button--bundle {
    width: 270px;
    height: 44px;
FE committed
70
    margin-bottom: 14px;
FE committed
71 72 73 74 75 76 77 78 79 80 81 82 83
    border-radius: 5px;
    font-size: 16px;
  }

  .popup-form__ipt {
    border: 1px solid #CDCDCD;
    border-radius: 3px;

    &[data-type="tel"] {
      border-left-style: none;
      border-radius: 0 3px 3px 0;
    }
  }
FE committed
84 85
}

FE committed
86 87
.captcha-container {
  width: 269px;
FE committed
88
  height: 40px;
FE committed
89 90 91 92 93 94 95 96
  margin: 0 auto 15px;
}

.popup-form {
  // width: 290px;
  // height: 257px;
  // padding: 20px 20px 0;
  box-sizing: border-box;
FE committed
97 98 99 100 101 102
}

.popup-form__item {
  display: flex;
  align-items: center;
  justify-content: center;
FE committed
103
  margin: 0 auto 15px;
FE committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
  
  .popup-form__ipt {
    flex: 1;
  }

  .popup-form__ipt--left {
    width: 130px;
  }

  .popup-form__button--code {
    margin-left: 10px;
  }
}

.popup-form__button--num {
  display: block;
  position: relative;
  height: 36px;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
  line-height: 36px;

  &::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 14px;
    margin: auto 0;
    background-color: #AAAAAA;
  }

  .iconfont {
    font-size: 12px;
    color: #333;
  }
}

.popup-form__ipt {
  height: 36px;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 12px;
  color: #999;
  line-height: 36px;
  outline: none;

  &[data-type="tel"] {
    border-left-style: none;
  }
}

.popup-form__tip {
  margin: 0;
  font-size: 12px;
  color: #FF3131;

  .iconfont {
    font-size: 15px;
    color: #FF3131;
  }
}

.popup-form__button--code {
  width: 110px;
  height: 36px;
  padding: 0;
FE committed
176 177
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
FE committed
178 179 180 181 182 183 184 185 186 187
  font-size: 13px;
  color: #999;
  text-align: center;
  line-height: 36px;
  background-color: transparent;

  &[data-status='do'] {
    border-color: #0099FF;
    color: #0099FF;
  }
FE committed
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
}

.popup-form__button--bundle {
  display: block;
  padding: 0;
  margin: 0 auto;
  border-style: none;
  color: #2B2B2B;
  background-color: #F9DB4A;
  cursor: pointer;

  &[data-status="done"] {
    color: #fff;
    background-color: #ABABAB;
  }

  &[data-status='do'] {
    color: #fff;
    background-color: #0099FF;
  }
FE committed
208
}