Skip to content

feat(css): Add opacity 0

Robert Hunt requested to merge add-opacity-0 into master

What does this MR do?

For gitlab#287826 (closed) we want to add the input type of color to the preview area. However, the style doesn't really match our Pajama's style and is pretty much impossible to style consistently across browsers. Therefore, we want to overlay an invisible color picker so it can be selected and then show the output in more of our style.

To do this, we need to use opacity and since we don't currently have a util to make the opacity 0, this MR adds one in.

Does this MR meet the acceptance criteria?

Conformity

  • Code review guidelines.
  • GitLab UI's contributing guidlines.
  • [-] If it changes a Pajamas-compliant component's look & feel, the MR has been reviewed by a UX designer.
  • [-] If it changes GitLab UI's documentation guidelines, the MR has been reviewed by a Technical Writer.
  • [-] If the MR changes a component's API, integration MR(s) have been opened in the following projects to ensure that the @gitlab/ui package can be upgraded quickly after the changes are released:
  • [-] Added the ~"component:*" label(s) if applicable.

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Merge request reports