HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode-site/src/style/components/form-field.scss
.form-field {
  position: relative;

  &__title {
    font-size: 12px;
    line-height: 18px;

    &.required {
      &:after {
        content: '*';
        color: $red;
        font-size: 20px;
      }
    }
  }

  &__label {
    display: block;
    width: 100%;

    .iti {
      width: 100%;

      .iti__selected-flag {
        background: transparent;
        border-right: thin solid rgba(42,53,64,0.5);
      }

      .iti__arrow {
        background-image: url("../assets/resource/arrow.svg");
        background-size: contain;
        background-repeat: no-repeat;
        width: 8px;
        height: 5px;
        margin-left: 4px;
        border: none;

        &--up {
          background-image: url("../assets/resource/arrow-up.svg");
        }
      }
    }
  }

  &__input {
    width: 100%;
    outline: none;
    padding: 11px 18px;
    border: thin solid rgba(42, 53, 64, 0.5);
    background: none;
    color: #2a3540;
    resize: none;
    font-size: 14px;
    line-height: 16px;

    @include breakpoint-down('tabM') {
      padding: 9px 15px;
    }

    &::placeholder {
      color: #bcc6cf;
    }
  }

  &__error {
    color: $red;
    position: absolute;
    top: 4px;
    right: 0;
    font-size: 12px;
    align-items: center;
    opacity: 0;
    display: none;

    &:before {
      content: "!";
      display: flex;
      align-items: center;
      justify-content: center;
      width: 12px;
      height: 12px;
      margin-right: 5px;
      border-radius: 50%;
      background-color: $red;
      color: $white;
      font-size: 10px;
    }
  }

  &.error {
    .form-field {

      &__input {
        border: thin solid $red;
      }

      &__error {
        display: flex;
        opacity: 1;
      }
    }
  }
}