CoreFiles by mySites.guru
_form.scss107 lines, 1,294 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
a94b1d6ad25785db8b21c0993a7f2c35
sha1
1f069b405403f72c4469dbf87853a2e3bfba1a5b
sha256
e786611370493bf4ea59f66085304b0521a626a34fea4749e679d09838845ab4
// Form

.form-control {
  max-width: $input-max-width;
  background-color: $white-offset;

  &.input-xlarge {
    max-width: 350px;
  }

  &.input-xxlarge {
    max-width: 550px;
  }

  &.input-full {
    max-width: 100%;
  }

}

.control-group::after {
  display: table;
  clear: both;
  content: "";
}

form:not(.form-no-margin) {

  .control-group {
    margin-bottom: 18px;

    .control-label {
      float: left;
      width: auto;
      padding-top: 5px;
      padding-right: 5px;
      text-align: left;
    }

    .controls {
      margin-left: 220px;
    }

  }

}

.form-no-margin {

  .control-group {

    .controls {
      margin-left: 0;
      .switcher__legend {
        float:none;
      }
    }

    .control-label {
      float: none;
    }
  }
}

.spacer hr {
  width: 380px;
}

.custom-select {
  max-width: $input-max-width;
}
.form-inline .custom-select {
  width: auto;
}

td .form-control {
  display: inline-block;
  width: auto;
}

.checkboxes {
  padding-top: 5px;

  .checkbox input {
    position: static;
    margin-left: 0;
  }

}

.modal label {
  width: 100%;
}

// Validation
.invalid {
  color: theme-color("danger");
  border-color: theme-color("danger");
}

.valid {
  border-color: theme-color("success");
}

.form-control-feedback {
  display: block;
}

The same content is in 4 releases, Joomla 4.0.0-alpha9 to 4.0.0-alpha12. See them all, or every version of this file.