CoreFiles by mySites.guru
_custom-forms.scss61 lines, 1,403 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
60fc73462b5a691887c6804373b18bf8
sha1
9566207f8a610b2577ca57fc42e56dd42ee9eb1a
sha256
b790408aafbb36301c035794089edcffc395dbeeaef39ade027c0e834537b873
// Custom Forms

.custom-select {
  max-width: $input-max-width;
  cursor: pointer;
  background: $custom-select-background;
  background-color: $custom-select-bg;
  border: $input-border;
  // var needed
  box-shadow: $input-box-shadow;

  [dir=rtl] & {
    padding: $custom-select-padding-y $custom-select-padding-x $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding);
    background: $custom-select-background-rtl;
    background-color: $custom-select-bg;
  }

  &[multiple] {
    padding: 0;
    background-color: var(--white-offset);

    option {
      padding: $custom-select-multiple-padding-y $custom-select-padding-x;
      background-color: var(--white);

      &:checked {
        color: var(--white);
        background-color: $cassiopeia-template-color-dark !important;
      }
    }
  }

  &.custom-select-color-state {

    &.custom-select-success {
      color: theme-color("success");
      background-color: theme-color("success");

      option {
        color: $custom-select-color;
        background-color: $white-offset;
      }
    }

    &.custom-select-danger {
      color: theme-color("danger");
      background-color: theme-color("danger");

      option {
        color: $custom-select-color;
        background-color: $white-offset;
      }
    }
  }

  optgroup,
  option {
    color: var(--dark);
    background-color: $white;
  }
}

The same content is in 3 releases, Joomla 4.0.0-beta3 to 4.0.0-beta5. See them all, or every version of this file.