~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/diff/diff.css

  • Committer: mattgiuca
  • Date: 2008-02-28 05:19:08 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:602
util.js: Added shallow_copy_object function.
fileservice: Removed temp code causing return=contents to be the default.
    Now return=listing is the default, so you will not get file contents
    unless you explicitly say "return=contents".
browser: Moved the code to handle a dir listing somewhat from listing.js
    to browser.js, and applies to all returns. Now even non-dir files have a
    listing - all files have a file_listing and current_file global variable,
    which means the correct processing can now be done on files and dirs.
    For non-dir files, it now makes a SECOND Ajax request to get the contents,
    which it then handles in the way it always has (in the text editor or
    a binary form).
    (Suggested by Tom Conway).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.diff {
2
 
    margin-left: 3em;
3
 
}
4
 
 
5
 
.diff-add {
 
1
.diff_add {
6
2
    /*background-color:#aaffaa;*/
7
3
    color: green;
8
4
}
9
 
.diff-chg {
 
5
.diff_chg {
10
6
    /*background-color:#ffff77;*/
11
7
    color: olive;
12
8
}
13
9
 
14
 
.diff-sub {
 
10
.diff_sub {
15
11
    /*background-color:#ffaaaa;*/
16
12
    color: maroon;
17
13
}
18
14
 
19
 
.diff-range {
 
15
.diff_range {
20
16
    text-decoration: underline;
21
17
}
22
18
 
23
 
.diff-files {
 
19
.diff_files {
24
20
    font-weight: bold;
25
21
}
26
22
 
27
 
.diff-special {
 
23
.diff_special {
28
24
    /*font-style: italic;*/
29
25
    font-variant: small-caps;
30
26
    color: gray;