Details
-
Task
-
Resolution: Unresolved
-
None
-
None
-
Empty show more show less
Description
problem
With TRANSLATE-1130 the tag coloring was changed to grey instead of the green.
This interferes with tags which are marked as deleted, here the color was changed to a grey too. In the segment grid the tags (tags as div/span) are strikedthrough via CSS, this was not possible for the tags in the currently edited segment (tags as img).
solution
With TRANSLATE-1200 dynamic SVGs are used as tag images.
Possible Solution:
- Make the background of the SVGs transparent
- Let the tag img background color come from CSS backgorund of the img tag itself
- Advantage 1: Both color definitions are coming from the same place - CSS. Currently the SVG color comes from JS.
- Advantage 2: Additionaly to the img background color we could define a background img containing just a horizontal line- activated only for img tags inside a DEL tag. This could emulate the strike through then.
Attachments
Issue Links
- is caused by
-
TRANSLATE-1130 Show specific whitespace-Tag
- Done
- relates to
-
TRANSLATE-1200 Refactor images of internal tags to SVG content instead PNG
- Done