##// END OF EJS Templates
Slight changes to diff/file/annotate styles....
Jean-Philippe Lang -
r10249:fa2fe3e1e852
parent child
Show More
@@ -1,100 +1,104
1
1
2 table.revision-info td {
2 table.revision-info td {
3 margin: 0px;
3 margin: 0px;
4 padding: 0px;
4 padding: 0px;
5 }
5 }
6
6
7 div.revision-graph { position: absolute; min-width: 1px; }
7 div.revision-graph { position: absolute; min-width: 1px; }
8
8
9 div.changeset-changes ul { margin: 0; padding: 0; }
9 div.changeset-changes ul { margin: 0; padding: 0; }
10 div.changeset-changes ul > ul { margin-left: 18px; padding: 0; }
10 div.changeset-changes ul > ul { margin-left: 18px; padding: 0; }
11
11
12 li.change {
12 li.change {
13 list-style-type:none;
13 list-style-type:none;
14 background-image: url(../images/bullet_black.png);
14 background-image: url(../images/bullet_black.png);
15 background-position: 1px 1px;
15 background-position: 1px 1px;
16 background-repeat: no-repeat;
16 background-repeat: no-repeat;
17 padding-top: 1px;
17 padding-top: 1px;
18 padding-bottom: 1px;
18 padding-bottom: 1px;
19 padding-left: 20px;
19 padding-left: 20px;
20 margin: 0;
20 margin: 0;
21 }
21 }
22 li.change.folder { background-image: url(../images/folder_open.png); }
22 li.change.folder { background-image: url(../images/folder_open.png); }
23 li.change.folder.change-A { background-image: url(../images/folder_open_add.png); }
23 li.change.folder.change-A { background-image: url(../images/folder_open_add.png); }
24 li.change.folder.change-M { background-image: url(../images/folder_open_orange.png); }
24 li.change.folder.change-M { background-image: url(../images/folder_open_orange.png); }
25 li.change.change-A { background-image: url(../images/bullet_add.png); }
25 li.change.change-A { background-image: url(../images/bullet_add.png); }
26 li.change.change-M { background-image: url(../images/bullet_orange.png); }
26 li.change.change-M { background-image: url(../images/bullet_orange.png); }
27 li.change.change-C { background-image: url(../images/bullet_blue.png); }
27 li.change.change-C { background-image: url(../images/bullet_blue.png); }
28 li.change.change-R { background-image: url(../images/bullet_purple.png); }
28 li.change.change-R { background-image: url(../images/bullet_purple.png); }
29 li.change.change-D { background-image: url(../images/bullet_delete.png); }
29 li.change.change-D { background-image: url(../images/bullet_delete.png); }
30
30
31 li.change .copied-from { font-style: italic; color: #999; font-size: 0.9em; }
31 li.change .copied-from { font-style: italic; color: #999; font-size: 0.9em; }
32 li.change .copied-from:before { content: " - "}
32 li.change .copied-from:before { content: " - "}
33
33
34 #changes-legend { float: right; font-size: 0.8em; margin: 0; }
34 #changes-legend { float: right; font-size: 0.8em; margin: 0; }
35 #changes-legend li { float: left; background-position: 5px 0; }
35 #changes-legend li { float: left; background-position: 5px 0; }
36
36
37 table.filecontent { border: 1px solid #e2e2e2; border-collapse: collapse; width:98%; background-color: #fafafa; }
37 table.filecontent { border: 1px solid #e2e2e2; border-collapse: collapse; width:98%; background-color: #fafafa; }
38 table.filecontent tbody {font-family:"Liberation Mono", Courier, monospace; font-size:12px;}
38 table.filecontent th { border: 1px solid #e2e2e2; background-color: #eee; }
39 table.filecontent th { border: 1px solid #e2e2e2; background-color: #eee; }
39 table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding: 0.2em;}
40 table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding:5px;}
40 table.filecontent tr.spacing th { text-align:center; }
41 table.filecontent tr.spacing th { text-align:center; }
41 table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;}
42 table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;}
42 table.filecontent th.line-num {
43 table.filecontent th.line-num {
43 border: 1px solid #e2e2e2;
44 border: 1px solid #e2e2e2;
44 font-size: 0.8em;
45 text-align: right;
45 text-align: right;
46 width: 2%;
46 width: 2%;
47 padding-right: 3px;
47 padding: 0 3px 0 0;
48 color: #999;
48 color: #999;
49 user-select: none;
49 user-select: none;
50 -moz-user-select: none;
50 -moz-user-select: none;
51 -o-user-select: none;
51 -o-user-select: none;
52 -ms-user-select: none;
52 -ms-user-select: none;
53 -webkit-user-select: none;
53 -webkit-user-select: none;
54 font-weight:normal;
54 }
55 }
55 table.filecontent th.line-num a {
56 table.filecontent th.line-num a {
56 text-decoration: none;
57 text-decoration: none;
57 color: inherit;
58 color: inherit;
58 }
59 }
60 table.filecontent td.line-code {padding: 0 0 0 4px;}
59 table.filecontent td.line-code pre {
61 table.filecontent td.line-code pre {
60 margin: 0px;
62 margin: 0px;
61 white-space: pre-wrap;
63 white-space: pre-wrap;
64 font-family:"Liberation Mono", Courier, monospace; font-size:12px;
62 }
65 }
63
66
64 /* 12 different colors for the annonate view */
67 /* 12 different colors for the annonate view */
65 table.annotate tr.bloc-0 {background: #FFFFBF;}
68 table.annotate tr.bloc-0 {background: #FFFFBF;}
66 table.annotate tr.bloc-1 {background: #EABFFF;}
69 table.annotate tr.bloc-1 {background: #EABFFF;}
67 table.annotate tr.bloc-2 {background: #BFFFFF;}
70 table.annotate tr.bloc-2 {background: #BFFFFF;}
68 table.annotate tr.bloc-3 {background: #FFD9BF;}
71 table.annotate tr.bloc-3 {background: #FFD9BF;}
69 table.annotate tr.bloc-4 {background: #E6FFBF;}
72 table.annotate tr.bloc-4 {background: #E6FFBF;}
70 table.annotate tr.bloc-5 {background: #BFCFFF;}
73 table.annotate tr.bloc-5 {background: #BFCFFF;}
71 table.annotate tr.bloc-6 {background: #FFBFEF;}
74 table.annotate tr.bloc-6 {background: #FFBFEF;}
72 table.annotate tr.bloc-7 {background: #FFE6BF;}
75 table.annotate tr.bloc-7 {background: #FFE6BF;}
73 table.annotate tr.bloc-8 {background: #FFE680;}
76 table.annotate tr.bloc-8 {background: #FFE680;}
74 table.annotate tr.bloc-9 {background: #AA80FF;}
77 table.annotate tr.bloc-9 {background: #AA80FF;}
75 table.annotate tr.bloc-10 {background: #FFBFDC;}
78 table.annotate tr.bloc-10 {background: #FFBFDC;}
76 table.annotate tr.bloc-11 {background: #BFE4FF;}
79 table.annotate tr.bloc-11 {background: #BFE4FF;}
77
80
78 table.annotate td.revision {
81 table.annotate td.revision {
82 padding:0;
79 text-align: center;
83 text-align: center;
80 width: 2%;
84 width: 2%;
81 padding-left: 1em;
85 padding-left: 1em;
82 background: inherit;
86 background: inherit;
83 }
87 }
84
88
85 table.annotate td.author {
89 table.annotate td.author {
90 padding:0;
86 text-align: center;
91 text-align: center;
87 border-right: 1px solid #d7d7d7;
92 border-right: 1px solid #d7d7d7;
88 white-space: nowrap;
93 white-space: nowrap;
89 padding-left: 1em;
94 padding-left: 1em;
90 padding-right: 1em;
95 padding-right: 1em;
91 width: 3%;
96 width: 3%;
92 background: inherit;
97 background: inherit;
93 font-size: 90%;
94 }
98 }
95
99
96 table.annotate td.line-code { background-color: #fafafa; }
100 table.annotate td.line-code { background-color: #fafafa; }
97
101
98 div.action_M { background: #fd8 }
102 div.action_M { background: #fd8 }
99 div.action_D { background: #f88 }
103 div.action_D { background: #f88 }
100 div.action_A { background: #bfb }
104 div.action_A { background: #bfb }
General Comments 0
You need to be logged in to leave comments. Login now