Ticket #1484051: style-quote-depth.patch
| File style-quote-depth.patch, 1.2 KB (added by dopry, 7 years ago) |
|---|
-
program/steps/mail/func.inc
744 744 $line = $a_lines[$n]; 745 745 746 746 if ($line{2}=='>') 747 $color = ' red';747 $color = 'quote-depth-3'; 748 748 else if ($line{1}=='>') 749 $color = ' green';749 $color = 'quote-depth-2'; 750 750 else if ($line{0}=='>') 751 $color = ' blue';751 $color = 'quote-depth-1'; 752 752 else 753 753 $color = FALSE; 754 754 755 755 $line = rep_specialchars_output($line, 'html', 'replace', FALSE); 756 756 757 757 if ($color) 758 $a_lines[$n] = sprintf('< font color="%s">%s</font>', $color, $line);758 $a_lines[$n] = sprintf('<span class="%s">%s</span>', $color, $line); 759 759 else 760 760 $a_lines[$n] = $line; 761 761 } -
skins/default/mail.css
861 861 color: #999999; 862 862 font-size: 11px; 863 863 } 864 865 span.quote-depth-1 { 866 color: blue; 867 } 868 869 span.quote-depth-2 { 870 color: green; 871 } 872 873 span.quote-depth-3 { 874 color: red; 875 }
