Untitled

 avatar
unknown
scss
2 years ago
2.2 kB
5
Indexable
// Causes form layout to break when enabled, will need looking into if
// this needs to be enabled
.formLogoWrapper {
  display: none !important;
}
.hidethistablet {
  @media (min-width: 768px) {
    display: none;
  }
}
.page-title {
  padding: 0 0 70px 0 !important;
}
.row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 30px 0;
  @media (min-width: 768px) {
    padding: 0;
  }

  & p {
    max-width: 92.5%;
    margin: 0 auto;
  }
}
.form-section {
  padding: 0 !important;
}
body {
  background: white !important;
}
.extended {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 375px;
  gap: 30px;

  @media (min-width: 768px) {
    flex-direction: row;
    gap: 25px;
    width: 500px !important;
  }

  & > span {
    margin-left: 0 !important;
  }
}
.form-line {
  background: none !important;
}
.jotform-date-input {
  &::placeholder {
    font-size: 14px;
  }
}
.form-label {
  margin-bottom: 20px !important;
}
.jotform-item {
  position: relative;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: start;
  align-items: flex-start;
  display: -ms-flexbox;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 12px 10px;
  margin: 12px 4px;
  border-radius: 3px;
  width: 100%;
  transition: background-color 0.15s;
  margin-top: 0 !important;

  & label {
    display: block;
    @media (min-width: 768px) {
      margin-bottom: 25px !important;
    }
  }
}
.form-textbox {
  width: 100% !important;
}
.form-sub-label-container {
  position: relative;

  & input {
    background: transparent !important;
    border: 1px solid black !important;

    &:hover {
      box-shadow: none !important;
      border-color: none !important;
    }
    & > label {
      position: relative;
    }

    &:focus {
      box-shadow: none;
      border-color: none;
      & ~ label {
        position: absolute;
        background: none;
        top: -30px !important;
        left: 0;
        font-size: 10px;
        padding: 0;
      }
    }
  }
  & label {
    position: absolute;
    transition: 0.25s;
    background: white;
    top: -25px !important;
    left: 10px !important;
    padding: 5px;
    &:focus {
      background: transparent !important;
    }
  }
}
Editor is loading...