Skip to content
Snippets Groups Projects
_form.scss 8.81 KiB
Newer Older
@mixin flexColCenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  p {
    font-size: $textLg;
  }
  
  .firstArticle {
    padding-bottom: 120px;
  }
  
  .form {
    border: 1px solid black;
    background: rgb(0, 0, 0, 0.3);
    border-radius: 5px;
    margin: 0 auto;
    width: auto;
    padding: 10px;
    height: 600px;
    display: flex;
    flex-direction: row;
    align-items: center;
  
    .signIn {
      background: rgb(0, 0, 0, 0.3);
      min-width: 300px;
      width: 50%;
      height: 580px;
      @include flexColCenter();
    }
  
    .imgContainer {
      border-left: 0px;
      box-shadow: none;
      min-width: 300px;
      width: 50%;
      height: 580px;
      display: flex;
      align-items: center;
      justify-content: center;
      img {
        position: relative;
        top: 0px;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        box-shadow: none;
        border-radius: 0px;
      }
    }
  
    input {
      margin: 10px;
      border-bottom: 2px solid rgba(222, 40, 4, 0.5830532896752452);
      border-left: none;
      border-top: none;
      border-right: none;
      background: transparent;
      display: flex;
    }
  
    .uName::placeholder {
      color: white;
      opacity: 0.5;
    }
  
    .pWord::placeholder {
      color: white;
      opacity: 0.5;
    }
  
    button {
      margin-top: 6px;
      padding: 5px;
      border-radius: 25px;
      border: none;
      width: 175px;
      font-weight: 700;
      background: rgb(11, 10, 24);
      background: rgba(222, 40, 4, 0.5830532896752452);
      color: white;
      text-shadow: 1px 1px 1px black;
WiljamiT's avatar
WiljamiT committed
      font-size: 16px;
  
      cursor: pointer;
    }
  
    img {
      height: 30px;
      width: auto;
      margin: 5px;
    }
  
    .btn,
    .btn1,
    .btn2 {
      margin: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      &:hover {
        transform: translateY(-1.5px);
      }
  
      img {
        margin: 0px;
        padding: 3px;
WiljamiT's avatar
WiljamiT committed
        height: 36px;
        width: 40px;
        border-radius: 0px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        box-shadow: none;
      }
  
      button {
        height: 36px;
        width: 130px;
        border-radius: 0px;
        position: relative;
        bottom: 3px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        text-align: left;
        padding-left: 25px;
      }
    }
  
    .btn {
      img {
        background-color: #223866;
      }
      button {
        background-color: #3a5998;
      }
    }
  
    .btn1 {
      img {
        background-color: #c52b24;
      }
      button {
        background-color: #f54034;
      }
    }
  
    .btn2 {
      img {
        background-color: #0996c8;
      }
      button {
        background-color: #06abed;
      }
    }
  
    a {
      cursor: pointer;
      &:hover {
        text-decoration: underline;
      }
    }
  }
  
  @media only screen and (max-width: 700px) {
    .form {
      border: 1px solid black;
      background: rgb(0, 0, 0, 0.3);
      border-radius: 5px;
      min-width: 300px;
      width: auto;
      padding: 10px;
      margin: 10px;
      height: 700px;
      display: flex;
      flex-direction: column;
      align-items: center;
  
      .signIn {
        background: none;
        border-radius: 5px;
        min-width: 300px;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
  
      .imgContainer {
        min-width: 300px;
        width: auto;
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
          position: relative;
          top: 0px;
          width: 240px;
          height: auto;
        }
      }
  
      input {
        margin: 5px;
        border-bottom: 2px solid rgba(222, 40, 4, 0.5830532896752452);
        border-left: none;
        border-top: none;
        border-right: none;
        background: transparent;
        display: flex;
      }
  
      .uName::placeholder {
        color: white;
        opacity: 0.5;
      }
  
      .pWord::placeholder {
        color: white;
        opacity: 0.5;
      }
  
      button {
        margin-top: 5px;
        padding: 5px;
        border-radius: 25px;
        border: none;
        width: 175px;
        font-weight: 700;
        background: rgb(11, 10, 24);
        background: rgba(222, 40, 4, 0.5830532896752452);
        color: white;
        text-shadow: 1px 1px 1px black;
        cursor: pointer;
        height: 30px;
        width: auto;
        margin: 5px;
      }
  
      .btn,
      .btn1,
      .btn2 {
        margin: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        &:hover {
          transform: translateY(-1.5px);
        }
  
        img {
          margin: 0px;
          padding: 3px;
          width: 40px;
          border-radius: 0px;
          border-top-left-radius: 5px;
          border-bottom-left-radius: 5px;
          box-shadow: none;
        }
  
        button {
          height: 36px;
          width: 130px;
          border-radius: 0px;
          position: relative;
          bottom: 2px;
          border-top-right-radius: 5px;
          border-bottom-right-radius: 5px;
          text-align: left;
          padding-left: 25px;
        }
      }
  
      .btn {
        img {
          background-color: #223866;
        }
        button {
          background-color: #3a5998;
        }
      }
  
      .btn1 {
        img {
          background-color: #c52b24;
        }
        button {
          background-color: #f54034;
        }
      }
  
      .btn2 {
        img {
          background-color: #0996c8;
        }
        button {
          background-color: #06abed;
        }
      }
unknown's avatar
unknown committed
  @media only screen and (max-width: 450px) {
    p {
      font-size: $textMob;
    }
    .form {
      border: 1px solid black;
      background: rgb(0, 0, 0, 0.3);
      border-radius: 5px;
      min-width: 300px;
      width: auto;
      padding: 10px;
      margin: 10px;
      height: 700px;
      display: flex;
      flex-direction: column;
      align-items: center;
  
      .signIn {
        background: none;
        border-radius: 5px;
        min-width: 300px;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
  
      .imgContainer {
        min-width: 300px;
        width: auto;
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
          position: relative;
          top: 0px;
          width: 240px;
          height: auto;
        }
      }
  
      input {
        margin: 5px;
        border-bottom: 2px solid rgba(222, 40, 4, 0.5830532896752452);
        border-left: none;
        border-top: none;
        border-right: none;
        background: transparent;
        display: flex;
      }
  
      .uName::placeholder {
        color: white;
        opacity: 0.5;
      }
  
      .pWord::placeholder {
        color: white;
        opacity: 0.5;
      }
  
      button {
        margin-top: 4px;
unknown's avatar
unknown committed
        padding: 0px;
        border-radius: 25px;
        border: none;
        width: 175px;
        font-weight: 700;
        background: rgb(11, 10, 24);
        background: rgba(222, 40, 4, 0.5830532896752452);
        color: white;
        text-shadow: 1px 1px 1px black;
  
        cursor: pointer;
      }
  
      img {
        height: 30px;
        width: auto;
        margin: 5px;
      }
  
      .btn,
      .btn1,
      .btn2 {
        margin: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        &:hover {
          transform: translateY(-1.5px);
        }
  
        img {
          margin: 0px;
          padding: 3px;
          width: 40px;
          border-radius: 0px;
          border-top-left-radius: 5px;
          border-bottom-left-radius: 5px;
          box-shadow: none;
        }
  
        button {
          height: 36px;
          width: 130px;
          border-radius: 0px;
          position: relative;
          bottom: 2px;
          border-top-right-radius: 5px;
          border-bottom-right-radius: 5px;
          text-align: left;
          padding-left: 25px;
        }
      }
  
      .btn {
        img {
          background-color: #223866;
        }
        button {
          background-color: #3a5998;
        }
      }
  
      .btn1 {
        img {
          background-color: #c52b24;
        }
        button {
          background-color: #f54034;
        }
      }
  
      .btn2 {
        img {
          background-color: #0996c8;
        }
        button {
          background-color: #06abed;
        }
      }