index.scss 1.61 KB
Newer Older
FE committed
1
.student-form {
FE committed
2
  margin-top: -27px;
FE committed
3 4 5 6 7 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 41 42
  padding: 0 35px;

  .input-with-country-codes {
    margin-bottom: 15px;
  }
}

.student-form__code {
  margin: 0 0 15px;
  
  &.input-wrapper {
    width: 100%;
  }
}

.student-form__item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.student-form__label {
  width: 44px;
  font-size: 15px;
  color: 333;
}

.student-form__input {
  flex: 1;
  height: 46px;
  padding: 0 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 15px;
  color: #999;
}

.student-form__footer {
  position: relative;
FE committed
43
  margin-top: 35px;
FE committed
44 45 46 47
}

.student-form__tip {
  position: absolute;
FE committed
48
  top: -25px;
FE committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
  margin: 0;
  padding-left: 60px;
  font-size: 12px;
  color: #FF1717;
  line-height: 1;
}

.student-form__submit {
  width: 100%;
  height: 44px;
  padding: 0;
  border-style: none;
  border-radius: 3px;
  font-size: 18px;
  color: #fff;
  background-color: #0099FF;

  &:disabled {
    background-color: #ccc;
  }
}

.student-select {
  position: relative;
  flex: 1;
  height: 46px;

  input {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 15px;
    color: #999;

    &.active {
      border-radius: 3px 3px 0 0;
    }
  }
}

.student-select__list {
  position: absolute;
  top: 45px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0 0 3px 3px;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 99;
}

.student-select__option {
  padding-left: 15px;
  font-size: 14px;
  color: #999;
  line-height: 32px;

  &:hover {
    color: #0099FF;
  }
}