annotate rhodecode/public/css/diff.css @ 1670:d2de0c2f02cd beta

#77 code review - initial very simple version of changeset comments - RST parsed
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 11 Nov 2011 20:41:53 +0200
parents a41bb4005608
children e86191684f4b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
d2de0c2f02cd #77 code review
Marcin Kuzminski <marcin@python-works.com>
parents: 815
diff changeset
11
d2de0c2f02cd #77 code review
Marcin Kuzminski <marcin@python-works.com>
parents: 815
diff changeset
12 div.diffblock.margined{
d2de0c2f02cd #77 code review
Marcin Kuzminski <marcin@python-works.com>
parents: 815
diff changeset
13 margin: 0px 20px 0px 20px;
d2de0c2f02cd #77 code review
Marcin Kuzminski <marcin@python-works.com>
parents: 815
diff changeset
14 }
d2de0c2f02cd #77 code review
Marcin Kuzminski <marcin@python-works.com>
parents: 815
diff changeset
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 table.code-difftable td:target *{
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
38 background: repeat scroll 0 0 #FFFFBE !important;
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 text-decoration: underline;
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 }
815
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
77 .code-difftable .new {
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
78 border-right: 1px solid #CCC !important;
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
79 }
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
80 .code-difftable .old {
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
81 border-right: 1px solid #CCC !important;
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
82 }
144
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
83 .code-difftable .lineno pre{
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
84 color:#747474 !important;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
85 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
86 letter-spacing:-1px;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
87 text-align:right;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
88 width:20px;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
89 }
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
90 .code-difftable .lineno a{
815
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
91 font-weight: 700;
a41bb4005608 small css fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 579
diff changeset
92 cursor: pointer;
144
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
93 }
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
94 .code-difftable .code td{
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
95 margin:0;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
96 padding: 0;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
97 }
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
98 .code-difftable .code pre{
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
99 margin:0;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
100 padding:0;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
101 }
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 {
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
104 display: block;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
105 width: 100%;
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-diff {
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
108 padding: 0px;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
109 margin-top: 5px;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
110 margin-bottom: 5px;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
111 border-left: 2px solid #ccc;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
112 }
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
113 .code-diff pre, .line pre {
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
114 padding: 3px;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
115 margin: 0;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
116 }
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
117 .lineno a {
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
118 text-decoration: none;
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
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
121 .line{
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
122 padding:0;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
123 margin:0;
ea89ac73bef8 Update css +file browsing and diffs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
124 }