digitalfabrik / integreat-cms

Simplified content management back end for the Integreat App - a multilingual information platform for newcomers
https://digitalfabrik.github.io/integreat-cms/
Apache License 2.0
56 stars 35 forks source link

Change styling of "Cancel"-Button in MT overlay #2966

Open JoeyStk opened 2 months ago

JoeyStk commented 2 months ago

Describe the Bug

In our current styling we use a red button for "Cancel" in our MT overlay. However it was recommended to use the ghost-button for this instead to be in-line with the rest of the system.

Steps to Reproduce

  1. Go to any region that has MT activated
  2. Go to pages and select a language that is not the root language (usually German)
  3. Select in that language one or more page(s) and select "Machine translate selected pages to selected language"
  4. Click on "Execute" and see the popup. See that the color of "Cancel" is red

Expected Behavior

The button should be a ghost button like here: grafik

Actual Behavior

It's red

Additional Information

None

JoeyStk commented 2 months ago

Question for @nikolahoff: Should only buttons called "Cancel" be changed to a ghost button or does this include all red buttons, so also buttons for deleting? :)