Feature #199

Use Alpha blending for HTML styles

Added by Kornelius Kalnbach 7 months ago. Updated 5 months ago.

Status:Closed Start:02/15/2010
Priority:Normal Due date:
Assigned to:Kornelius Kalnbach % Done:

100%

Category:Styles
Target version:1.0 RC1

Description

Alpha colors are a very cool CSS feature that we can use. I started to write a new Alpha style using this, which could well become the new default style.

Which browsers support alpha colors? According to Zen Elements, all but IE (Opera 10 supports alpha). If we find a simple fallback method, it should be okay.

Remember: IE incompatiblity is a feature.

alpha.rb - alpha version of the new "Alpha" style (3.5 KB) Kornelius Kalnbach, 02/15/2010 10:11 am


Related issues

related to CodeRay - Feature #52: Improved Diff Scanner Feedback 09/25/2008

Associated revisions

Revision 465
Added by Kornelius Kalnbach 7 months ago

A new color style using HSLA colors (alpha channel, issue #199)

History

Updated by Kornelius Kalnbach 7 months ago

  • % Done changed from 0 to 50

The new style looks fine.

Updated by Kornelius Kalnbach 5 months ago

  • Status changed from New to Closed
  • % Done changed from 50 to 100

The new Alpha style rocks. It also uses the :target pseudoclass of CSS 3 to mark the line number that has been jumped to. Since IE support was dropped, and everything seems to work find in Firefox, Safari, and Opera, I made the new style the default one.

Also available in: Atom PDF