From: Geoffrey T. D. <da...@us...> - 2001-12-13 16:48:51
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv10373 Modified Files: phpwiki.css phpwiki-heavy.css Log Message: Tune-ups for diff output: bolder colors, NS4 cleanup. Index: phpwiki.css =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/phpwiki.css,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** phpwiki.css 2001/12/13 05:10:04 1.10 --- phpwiki.css 2001/12/13 16:48:48 1.11 *************** *** 226,251 **** } ! /* Diff output */ ! .diff .block { ! padding: 0.5ex 0.5em; ! margin: 0.5ex 0; ! border: 0.1px; /* hack for NS4 to get background color filled in whole div */ ! } .diff .block tt { font-weight: bold; } ! .diff .block div { position: relative; padding-left: 1.5em; } .diff .prefix { position: absolute; left: 0.5em; top: 0; } .diff .block { background: #ccc; } - .diff .context { background: white; } ! .diff .deleted { background: #fee; } ! .diff .added { background: #efe; } ! .diff .changed { background: #ffb; } ! .diff del { background: #fbb; font-weight: bold; text-decoration: none; } ! .diff ins { background: #bfb; font-weight: bold; text-decoration: none; } - /* For emacs users * --- 226,252 ---- } ! /**************************************************************** ! ** ! ** Diff Output ! ** ! *****************************************************************/ ! .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; } .diff .block tt { font-weight: bold; } ! /* These screw up NS4 --- moved to phpwiki-heavy.css ! .diff .block div { position: relative; padding-left: 1.5em; } .diff .prefix { position: absolute; left: 0.5em; top: 0; } + */ .diff .block { background: #ccc; } .diff .context { background: white; } ! .diff .deleted { background: #fcc; } ! .diff .added { background: #cfc; } ! .diff .changed { background: #ff6; } ! /* These don't work in NS4 -- it completely ignores <del> and <ins>. */ ! .diff del { background: #f99; font-weight: bold; text-decoration: none; } ! .diff ins { background: #9f9; font-weight: bold; text-decoration: none; } /* For emacs users * Index: phpwiki-heavy.css =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/phpwiki-heavy.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** phpwiki-heavy.css 2001/09/18 19:16:23 1.1 --- phpwiki-heavy.css 2001/12/13 16:48:48 1.2 *************** *** 31,32 **** --- 31,41 ---- } + /**************************************************************** + ** + ** Diff Output + ** + *****************************************************************/ + .diff .block div { position: relative; padding-left: 1.5em; } + .diff .prefix { position: absolute; left: 0.5em; top: 0; } + + |