PASTAplus / DataPortal

EDI Data Portal
3 stars 3 forks source link

colors in EML rendering need to be higher contrast #1

Open mobb opened 5 years ago

mobb commented 5 years ago

In EML rendering, we have metadata arranged in tables with colored stripes, alternating white and blue. We currently have these color combinations:

background-color: #003366;

foreground (set many places in style_slate.css) #666666 (gray)

According to https://webaim.org/resources/contrastchecker/ these do not have sufficient contrast.

A better combination would be: background-color: #C4DCEE; this is a lighter shade of danube (used on many other pages), but would be set in a class specifically for EML metadata

with a foreground of #3D3D3D (darker gray) probably all text would be affected.

mobb commented 5 years ago

Logging this issue because it's a change to css, not xsl.