Mercurial > kallithea
annotate rhodecode/public/css/diff.css @ 1691:0b8cf2e82bd4 beta
removed lame js hover to css hover !
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 16 Nov 2011 23:50:36 +0200 |
parents | 28eeddf81b25 |
children | b702d0d4b030 |
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%; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 } |
1670 | 11 |
12 div.diffblock.margined{ | |
13 margin: 0px 20px 0px 20px; | |
14 } | |
15 | |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 div.diffblock .code-header{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 border-bottom: 1px solid #CCCCCC; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 background: #EEEEEE; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 padding:10px 0 10px 0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 } |
160
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
21 div.diffblock .code-header div{ |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 margin-left:25px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 font-weight: bold; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 div.diffblock .code-body{ |
219
64e1125fc479
html + css changes, added icons and etc.
Marcin Kuzminski <marcin@python-works.com>
parents:
160
diff
changeset
|
26 background: #FFFFFF; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 } |
160
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
28 div.diffblock pre.raw{ |
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
29 background: #FFFFFF; |
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
30 color:#000000; |
0f7f93df5802
implemented rawdiff and diff download into diff view.
Marcin Kuzminski <marcin@python-works.com>
parents:
158
diff
changeset
|
31 } |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
32 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
33 table.code-difftable{ |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 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
|
35 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
|
36 } |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
37 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
38 table.code-difftable td { |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
39 padding: 0 !important; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
40 background: none !important; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
41 border:0 !important; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
42 } |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
43 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
219
diff
changeset
|
44 |
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
|
45 .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
|
46 background:none repeat scroll 0 0 #DDE7EF; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
47 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
48 .code-difftable .add{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
49 background:none repeat scroll 0 0 #DDFFDD; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
50 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
51 .code-difftable .add ins{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
52 background:none repeat scroll 0 0 #AAFFAA; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
53 text-decoration:none; |
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 |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
56 .code-difftable .del{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
57 background:none repeat scroll 0 0 #FFDDDD; |
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 .code-difftable .del del{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
60 background:none repeat scroll 0 0 #FFAAAA; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
61 text-decoration:none; |
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 |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
64 .code-difftable .lineno{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
65 background:none repeat scroll 0 0 #EEEEEE !important; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
66 padding-left:2px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
67 padding-right:2px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
68 text-align:right; |
410
9a7ae16ff53e
fixes translations, style updates.
Marcin Kuzminski <marcin@python-works.com>
parents:
362
diff
changeset
|
69 width:30px; |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
70 -moz-user-select:none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
71 -webkit-user-select: none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
72 } |
1683
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
73 .code-difftable .lineno-inline{ |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
74 background:none repeat scroll 0 0 #FFF !important; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
75 padding-left:2px; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
76 padding-right:2px; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
77 text-align:right; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
78 width:30px; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
79 -moz-user-select:none; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
80 -webkit-user-select: none; |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
81 } |
815 | 82 .code-difftable .new { |
83 border-right: 1px solid #CCC !important; | |
84 } | |
85 .code-difftable .old { | |
86 border-right: 1px solid #CCC !important; | |
87 } | |
1683
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
88 |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
89 .code-difftable .lineno-inline.new-inline{ |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
90 |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
91 } |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
92 .code-difftable .lineno-inline.old-inline{ |
28eeddf81b25
inline comments gui
Marcin Kuzminski <marcin@python-works.com>
parents:
1677
diff
changeset
|
93 border-right: 1px solid #CCC !important; |
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 |
144
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
96 .code-difftable .lineno pre{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
97 color:#747474 !important; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
98 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
|
99 letter-spacing:-1px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
100 text-align:right; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
101 width:20px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
102 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
103 .code-difftable .lineno a{ |
815 | 104 font-weight: 700; |
105 cursor: pointer; | |
144
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 .code td{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
108 margin:0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
109 padding: 0; |
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 pre{ |
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 |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
116 .code { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
117 display: block; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
118 width: 100%; |
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-diff { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
121 padding: 0px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
122 margin-top: 5px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
123 margin-bottom: 5px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
124 border-left: 2px solid #ccc; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
125 } |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
126 .code-diff pre, .line pre { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
127 padding: 3px; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
128 margin: 0; |
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 .lineno a { |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
131 text-decoration: none; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
132 } |
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 .line{ |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
135 padding:0; |
ea89ac73bef8
Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
136 margin:0; |
1677
7276b170ce8b
#71 code-review
Marcin Kuzminski <marcin@python-works.com>
parents:
1676
diff
changeset
|
137 } |
1691
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
138 .line:hover{ |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
139 background-color:#FFFFCC !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
140 cursor: pointer !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
141 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
|
142 background-repeat:no-repeat !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
143 background-position: right !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
144 background-position: 100% 50% !important; |
0b8cf2e82bd4
removed lame js hover to css hover !
Marcin Kuzminski <marcin@python-works.com>
parents:
1683
diff
changeset
|
145 } |