CoreFiles by mySites.guru
_custom-forms.scss72 lines, 1,636 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
39832214028a9d7c4a52a3fe8c814a2a
sha1
a47d361c0383afad4da4bd7aa4782ef1edff21e5
sha256
a40ee331124486c4a04a0ff3a7cef7b14e8a3405b9aff6c9786331fda06c398d
// 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-offset);

      &:checked {
        color: var(--atum-text-light);
        background-color: var(--atum-bg-dark) !important;
      }
    }
  }

  &.custom-select-color-state {

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

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

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

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

  &:focus {
    border-color: $focuscolor;
    box-shadow: $focusshadow;
  }

  &:disabled {
    cursor: default;
  }

  optgroup,
  option {
    color: var(--atum-text-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.