Changes between Initial Version and Version 1 of Ticket #2411, comment 22


Ignore:
Timestamp:
2011-08-20T22:20:12+02:00 (14 years ago)
Author:
bastiK

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2411, comment 22

    initial v1  
    1 I have an idea: Draw a number of lines at the same position in cyan at very low transparency. Starting at 20 px width and each one 2 px thinner than the previous. This should simulate a gradient and you get nice rounded corners. Performance wise, it shouldn't be that much of a problem because there is usually not more than one object highlighted at a time.
     1There is another method, demonstrated by the following style:
     2{{{
     3way[highlight]::h02,
     4way[highlight]::h04,
     5way[highlight]::h06,
     6way[highlight]::h08,
     7way[highlight]::h10,
     8way[highlight]::h12 { color: cyan; opacity: 0.08; z-index: -5; }
     9
     10way[highlight]::h02 { width: +02; }
     11way[highlight]::h04 { width: +04; }
     12way[highlight]::h06 { width: +06; }
     13way[highlight]::h08 { width: +08; }
     14way[highlight]::h10 { width: +10; }
     15way[highlight]::h12 { width: +12; }
     16}}}
     17
     18This should work better at the corners.