Mercurial > kallithea
annotate rhodecode/public/css/diff.css @ 1723:64e91067b996 beta
- refactoring to overcome poor usage of global pylons config
- db transaction fixes
- fixed tests
- garden
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 26 Nov 2011 02:16:21 +0200 |
parents | f23828b00b21 |
children | 47c2a006d43b |
rev | line source |
---|---|
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 div.diffblock { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 overflow: auto; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 padding: 0px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 border: 1px solid #ccc; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 background: #f8f8f8; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 font-size: 100%; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 line-height: 100%; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 /* new */ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 line-height: 125%; |
1703
f23828b00b21
notification fixes and improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1701
diff
changeset
|
10 -webkit-border-radius: 6px 6px 0px 0px; |
f23828b00b21
notification fixes and improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1701
diff
changeset
|
11 -moz-border-radius: 6px 6px 0px 0px; |
f23828b00b21
notification fixes and improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1701
diff
changeset
|
12 border-radius: 6px 6px 0px 0px; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 } |
1670 | 14 |
15 div.diffblock.margined{ | |
16 margin: 0px 20px 0px 20px; | |
17 } | |
18 | |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 div.diffblock .code-header{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 border-bottom: 1px solid #CCCCCC; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 background: #EEEEEE; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 padding:10px 0 10px 0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 } |
160
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
24 div.diffblock .code-header div{ |
1703
f23828b00b21
notification fixes and improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1701
diff
changeset
|
25 margin-left:10px; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 font-weight: bold; |
1703
f23828b00b21
notification fixes and improvements
Marcin Kuzminski <marcin@python-works.com>
parents:
1701
diff
changeset
|
27 font-size: 14px; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 div.diffblock .code-body{ |
219
64e1125fc479
html + css changes, added icons and etc.
Marcin Kuzminski <marcin@python-works.com>
parents:
160
diff
changeset
|
30 background: #FFFFFF; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
31 } |
160
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
32 div.diffblock pre.raw{ |
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
33 background: #FFFFFF; |
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
34 color:#000000; |
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
35 } |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
37 table.code-difftable{ |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 border-collapse: collapse; |
158
f905f45c457e
moved diff libs to vcs. updated htmls and css for diff and source
Marcin Kuzminski <marcin@python-works.com>
parents:
144
diff
changeset
|
39 width: 99%; |
f905f45c457e
moved diff libs to vcs. updated htmls and css for diff and source
Marcin Kuzminski <marcin@python-works.com>
parents:
144
diff
changeset
|
40 } |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
41 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
42 table.code-difftable td { |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
43 padding: 0 !important; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
44 background: none !important; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
45 border:0 !important; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
46 } |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
47 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
48 |
158
f905f45c457e
moved diff libs to vcs. updated htmls and css for diff and source
Marcin Kuzminski <marcin@python-works.com>
parents:
144
diff
changeset
|
49 .code-difftable .context{ |
f905f45c457e
moved diff libs to vcs. updated htmls and css for diff and source
Marcin Kuzminski <marcin@python-works.com>
parents:
144
diff
changeset
|
50 background:none repeat scroll 0 0 #DDE7EF; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
51 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
52 .code-difftable .add{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
53 background:none repeat scroll 0 0 #DDFFDD; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
54 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
55 .code-difftable .add ins{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
56 background:none repeat scroll 0 0 #AAFFAA; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
57 text-decoration:none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
58 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
59 |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
60 .code-difftable .del{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
61 background:none repeat scroll 0 0 #FFDDDD; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
62 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
63 .code-difftable .del del{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
64 background:none repeat scroll 0 0 #FFAAAA; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
65 text-decoration:none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
66 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
67 |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
68 .code-difftable .lineno{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
69 background:none repeat scroll 0 0 #EEEEEE !important; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
70 padding-left:2px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
71 padding-right:2px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
72 text-align:right; |
410
9a7ae16ff53e
fixes translations, style updates.
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
73 width:30px; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
74 -moz-user-select:none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
75 -webkit-user-select: none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
76 } |
1683
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
77 .code-difftable .lineno-inline{ |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
78 background:none repeat scroll 0 0 #FFF !important; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
79 padding-left:2px; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
80 padding-right:2px; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
81 text-align:right; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
82 width:30px; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
83 -moz-user-select:none; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
84 -webkit-user-select: none; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
85 } |
815 | 86 .code-difftable .new { |
87 border-right: 1px solid #CCC !important; | |
88 } | |
89 .code-difftable .old { | |
90 border-right: 1px solid #CCC !important; | |
91 } | |
1683
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
92 |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
93 .code-difftable .lineno-inline.new-inline{ |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
94 |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
95 } |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
96 .code-difftable .lineno-inline.old-inline{ |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
97 border-right: 1px solid #CCC !important; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
98 } |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
99 |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
100 .code-difftable .lineno pre{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
101 color:#747474 !important; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
102 font:11px "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace !important; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
103 letter-spacing:-1px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
104 text-align:right; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
105 width:20px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
106 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
107 .code-difftable .lineno a{ |
815 | 108 font-weight: 700; |
109 cursor: pointer; | |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
110 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
111 .code-difftable .code td{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
112 margin:0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
113 padding: 0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
114 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
115 .code-difftable .code pre{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
116 margin:0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
117 padding:0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
118 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
119 |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
120 .code { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
121 display: block; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
122 width: 100%; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
123 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
124 .code-diff { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
125 padding: 0px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
126 margin-top: 5px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
127 margin-bottom: 5px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
128 border-left: 2px solid #ccc; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
129 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
130 .code-diff pre, .line pre { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
131 padding: 3px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
132 margin: 0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
133 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
134 .lineno a { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
135 text-decoration: none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
136 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
137 |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
138 .line{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
139 padding:0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
140 margin:0; |
1677
7276b170ce8b
#71 code-review
Marcin Kuzminski <marcin@python-works.com>
parents:
1676
diff
changeset
|
141 } |
1701
b702d0d4b030
fixed inline comment indicator.
Marcin Kuzminski <marcin@python-works.com>
parents:
1691
diff
changeset
|
142 |
b702d0d4b030
fixed inline comment indicator.
Marcin Kuzminski <marcin@python-works.com>
parents:
1691
diff
changeset
|
143 .diffblock.margined.comm .line:hover{ |
1691
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
144 background-color:#FFFFCC !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
145 cursor: pointer !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
146 background-image:url("../images/icons/comment_add.png") !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
147 background-repeat:no-repeat !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
148 background-position: right !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
149 background-position: 100% 50% !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
150 } |