Show More
@@ -1,4811 +1,4830 | |||||
1 | html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td |
|
1 | html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td | |
2 | { |
|
2 | { | |
3 | border: 0; |
|
3 | border: 0; | |
4 | outline: 0; |
|
4 | outline: 0; | |
5 | font-size: 100%; |
|
5 | font-size: 100%; | |
6 | vertical-align: baseline; |
|
6 | vertical-align: baseline; | |
7 | background: transparent; |
|
7 | background: transparent; | |
8 | margin: 0; |
|
8 | margin: 0; | |
9 | padding: 0; |
|
9 | padding: 0; | |
10 | } |
|
10 | } | |
11 |
|
11 | |||
12 | body { |
|
12 | body { | |
13 | line-height: 1; |
|
13 | line-height: 1; | |
14 | height: 100%; |
|
14 | height: 100%; | |
15 | background: url("../images/background.png") repeat scroll 0 0 #B0B0B0; |
|
15 | background: url("../images/background.png") repeat scroll 0 0 #B0B0B0; | |
16 | font-family: Lucida Grande, Verdana, Lucida Sans Regular, |
|
16 | font-family: Lucida Grande, Verdana, Lucida Sans Regular, | |
17 | Lucida Sans Unicode, Arial, sans-serif; font-size : 12px; |
|
17 | Lucida Sans Unicode, Arial, sans-serif; font-size : 12px; | |
18 | color: #000; |
|
18 | color: #000; | |
19 | margin: 0; |
|
19 | margin: 0; | |
20 | padding: 0; |
|
20 | padding: 0; | |
21 | font-size: 12px; |
|
21 | font-size: 12px; | |
22 | } |
|
22 | } | |
23 |
|
23 | |||
24 | ol,ul { |
|
24 | ol,ul { | |
25 | list-style: none; |
|
25 | list-style: none; | |
26 | } |
|
26 | } | |
27 |
|
27 | |||
28 | blockquote,q { |
|
28 | blockquote,q { | |
29 | quotes: none; |
|
29 | quotes: none; | |
30 | } |
|
30 | } | |
31 |
|
31 | |||
32 | blockquote:before,blockquote:after,q:before,q:after { |
|
32 | blockquote:before,blockquote:after,q:before,q:after { | |
33 | content: none; |
|
33 | content: none; | |
34 | } |
|
34 | } | |
35 |
|
35 | |||
36 | :focus { |
|
36 | :focus { | |
37 | outline: 0; |
|
37 | outline: 0; | |
38 | } |
|
38 | } | |
39 |
|
39 | |||
40 | del { |
|
40 | del { | |
41 | text-decoration: line-through; |
|
41 | text-decoration: line-through; | |
42 | } |
|
42 | } | |
43 |
|
43 | |||
44 | table { |
|
44 | table { | |
45 | border-collapse: collapse; |
|
45 | border-collapse: collapse; | |
46 | border-spacing: 0; |
|
46 | border-spacing: 0; | |
47 | } |
|
47 | } | |
48 |
|
48 | |||
49 | html { |
|
49 | html { | |
50 | height: 100%; |
|
50 | height: 100%; | |
51 | } |
|
51 | } | |
52 |
|
52 | |||
53 | a { |
|
53 | a { | |
54 | color: #003367; |
|
54 | color: #003367; | |
55 | text-decoration: none; |
|
55 | text-decoration: none; | |
56 | cursor: pointer; |
|
56 | cursor: pointer; | |
57 | } |
|
57 | } | |
58 |
|
58 | |||
59 | a:hover { |
|
59 | a:hover { | |
60 | color: #316293; |
|
60 | color: #316293; | |
61 | text-decoration: underline; |
|
61 | text-decoration: underline; | |
62 | } |
|
62 | } | |
63 |
|
63 | |||
64 | h1,h2,h3,h4,h5,h6, |
|
64 | h1,h2,h3,h4,h5,h6, | |
65 | div.h1,div.h2,div.h3,div.h4,div.h5,div.h6 { |
|
65 | div.h1,div.h2,div.h3,div.h4,div.h5,div.h6 { | |
66 | color: #292929; |
|
66 | color: #292929; | |
67 | font-weight: 700; |
|
67 | font-weight: 700; | |
68 | } |
|
68 | } | |
69 |
|
69 | |||
70 | h1,div.h1 { |
|
70 | h1,div.h1 { | |
71 | font-size: 22px; |
|
71 | font-size: 22px; | |
72 | } |
|
72 | } | |
73 |
|
73 | |||
74 | h2,div.h2 { |
|
74 | h2,div.h2 { | |
75 | font-size: 20px; |
|
75 | font-size: 20px; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | h3,div.h3 { |
|
78 | h3,div.h3 { | |
79 | font-size: 18px; |
|
79 | font-size: 18px; | |
80 | } |
|
80 | } | |
81 |
|
81 | |||
82 | h4,div.h4 { |
|
82 | h4,div.h4 { | |
83 | font-size: 16px; |
|
83 | font-size: 16px; | |
84 | } |
|
84 | } | |
85 |
|
85 | |||
86 | h5,div.h5 { |
|
86 | h5,div.h5 { | |
87 | font-size: 14px; |
|
87 | font-size: 14px; | |
88 | } |
|
88 | } | |
89 |
|
89 | |||
90 | h6,div.h6 { |
|
90 | h6,div.h6 { | |
91 | font-size: 11px; |
|
91 | font-size: 11px; | |
92 | } |
|
92 | } | |
93 |
|
93 | |||
94 | ul.circle { |
|
94 | ul.circle { | |
95 | list-style-type: circle; |
|
95 | list-style-type: circle; | |
96 | } |
|
96 | } | |
97 |
|
97 | |||
98 | ul.disc { |
|
98 | ul.disc { | |
99 | list-style-type: disc; |
|
99 | list-style-type: disc; | |
100 | } |
|
100 | } | |
101 |
|
101 | |||
102 | ul.square { |
|
102 | ul.square { | |
103 | list-style-type: square; |
|
103 | list-style-type: square; | |
104 | } |
|
104 | } | |
105 |
|
105 | |||
106 | ol.lower-roman { |
|
106 | ol.lower-roman { | |
107 | list-style-type: lower-roman; |
|
107 | list-style-type: lower-roman; | |
108 | } |
|
108 | } | |
109 |
|
109 | |||
110 | ol.upper-roman { |
|
110 | ol.upper-roman { | |
111 | list-style-type: upper-roman; |
|
111 | list-style-type: upper-roman; | |
112 | } |
|
112 | } | |
113 |
|
113 | |||
114 | ol.lower-alpha { |
|
114 | ol.lower-alpha { | |
115 | list-style-type: lower-alpha; |
|
115 | list-style-type: lower-alpha; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | ol.upper-alpha { |
|
118 | ol.upper-alpha { | |
119 | list-style-type: upper-alpha; |
|
119 | list-style-type: upper-alpha; | |
120 | } |
|
120 | } | |
121 |
|
121 | |||
122 | ol.decimal { |
|
122 | ol.decimal { | |
123 | list-style-type: decimal; |
|
123 | list-style-type: decimal; | |
124 | } |
|
124 | } | |
125 |
|
125 | |||
126 | div.color { |
|
126 | div.color { | |
127 | clear: both; |
|
127 | clear: both; | |
128 | overflow: hidden; |
|
128 | overflow: hidden; | |
129 | position: absolute; |
|
129 | position: absolute; | |
130 | background: #FFF; |
|
130 | background: #FFF; | |
131 | margin: 7px 0 0 60px; |
|
131 | margin: 7px 0 0 60px; | |
132 | padding: 1px 1px 1px 0; |
|
132 | padding: 1px 1px 1px 0; | |
133 | } |
|
133 | } | |
134 |
|
134 | |||
135 | div.color a { |
|
135 | div.color a { | |
136 | width: 15px; |
|
136 | width: 15px; | |
137 | height: 15px; |
|
137 | height: 15px; | |
138 | display: block; |
|
138 | display: block; | |
139 | float: left; |
|
139 | float: left; | |
140 | margin: 0 0 0 1px; |
|
140 | margin: 0 0 0 1px; | |
141 | padding: 0; |
|
141 | padding: 0; | |
142 | } |
|
142 | } | |
143 |
|
143 | |||
144 | div.options { |
|
144 | div.options { | |
145 | clear: both; |
|
145 | clear: both; | |
146 | overflow: hidden; |
|
146 | overflow: hidden; | |
147 | position: absolute; |
|
147 | position: absolute; | |
148 | background: #FFF; |
|
148 | background: #FFF; | |
149 | margin: 7px 0 0 162px; |
|
149 | margin: 7px 0 0 162px; | |
150 | padding: 0; |
|
150 | padding: 0; | |
151 | } |
|
151 | } | |
152 |
|
152 | |||
153 | div.options a { |
|
153 | div.options a { | |
154 | height: 1%; |
|
154 | height: 1%; | |
155 | display: block; |
|
155 | display: block; | |
156 | text-decoration: none; |
|
156 | text-decoration: none; | |
157 | margin: 0; |
|
157 | margin: 0; | |
158 | padding: 3px 8px; |
|
158 | padding: 3px 8px; | |
159 | } |
|
159 | } | |
160 |
|
160 | |||
161 | .top-left-rounded-corner { |
|
161 | .top-left-rounded-corner { | |
162 | -webkit-border-top-left-radius: 8px; |
|
162 | -webkit-border-top-left-radius: 8px; | |
163 | -khtml-border-radius-topleft: 8px; |
|
163 | -khtml-border-radius-topleft: 8px; | |
164 | -moz-border-radius-topleft: 8px; |
|
164 | -moz-border-radius-topleft: 8px; | |
165 | border-top-left-radius: 8px; |
|
165 | border-top-left-radius: 8px; | |
166 | } |
|
166 | } | |
167 |
|
167 | |||
168 | .top-right-rounded-corner { |
|
168 | .top-right-rounded-corner { | |
169 | -webkit-border-top-right-radius: 8px; |
|
169 | -webkit-border-top-right-radius: 8px; | |
170 | -khtml-border-radius-topright: 8px; |
|
170 | -khtml-border-radius-topright: 8px; | |
171 | -moz-border-radius-topright: 8px; |
|
171 | -moz-border-radius-topright: 8px; | |
172 | border-top-right-radius: 8px; |
|
172 | border-top-right-radius: 8px; | |
173 | } |
|
173 | } | |
174 |
|
174 | |||
175 | .bottom-left-rounded-corner { |
|
175 | .bottom-left-rounded-corner { | |
176 | -webkit-border-bottom-left-radius: 8px; |
|
176 | -webkit-border-bottom-left-radius: 8px; | |
177 | -khtml-border-radius-bottomleft: 8px; |
|
177 | -khtml-border-radius-bottomleft: 8px; | |
178 | -moz-border-radius-bottomleft: 8px; |
|
178 | -moz-border-radius-bottomleft: 8px; | |
179 | border-bottom-left-radius: 8px; |
|
179 | border-bottom-left-radius: 8px; | |
180 | } |
|
180 | } | |
181 |
|
181 | |||
182 | .bottom-right-rounded-corner { |
|
182 | .bottom-right-rounded-corner { | |
183 | -webkit-border-bottom-right-radius: 8px; |
|
183 | -webkit-border-bottom-right-radius: 8px; | |
184 | -khtml-border-radius-bottomright: 8px; |
|
184 | -khtml-border-radius-bottomright: 8px; | |
185 | -moz-border-radius-bottomright: 8px; |
|
185 | -moz-border-radius-bottomright: 8px; | |
186 | border-bottom-right-radius: 8px; |
|
186 | border-bottom-right-radius: 8px; | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | .top-left-rounded-corner-mid { |
|
189 | .top-left-rounded-corner-mid { | |
190 | -webkit-border-top-left-radius: 4px; |
|
190 | -webkit-border-top-left-radius: 4px; | |
191 | -khtml-border-radius-topleft: 4px; |
|
191 | -khtml-border-radius-topleft: 4px; | |
192 | -moz-border-radius-topleft: 4px; |
|
192 | -moz-border-radius-topleft: 4px; | |
193 | border-top-left-radius: 4px; |
|
193 | border-top-left-radius: 4px; | |
194 | } |
|
194 | } | |
195 |
|
195 | |||
196 | .top-right-rounded-corner-mid { |
|
196 | .top-right-rounded-corner-mid { | |
197 | -webkit-border-top-right-radius: 4px; |
|
197 | -webkit-border-top-right-radius: 4px; | |
198 | -khtml-border-radius-topright: 4px; |
|
198 | -khtml-border-radius-topright: 4px; | |
199 | -moz-border-radius-topright: 4px; |
|
199 | -moz-border-radius-topright: 4px; | |
200 | border-top-right-radius: 4px; |
|
200 | border-top-right-radius: 4px; | |
201 | } |
|
201 | } | |
202 |
|
202 | |||
203 | .bottom-left-rounded-corner-mid { |
|
203 | .bottom-left-rounded-corner-mid { | |
204 | -webkit-border-bottom-left-radius: 4px; |
|
204 | -webkit-border-bottom-left-radius: 4px; | |
205 | -khtml-border-radius-bottomleft: 4px; |
|
205 | -khtml-border-radius-bottomleft: 4px; | |
206 | -moz-border-radius-bottomleft: 4px; |
|
206 | -moz-border-radius-bottomleft: 4px; | |
207 | border-bottom-left-radius: 4px; |
|
207 | border-bottom-left-radius: 4px; | |
208 | } |
|
208 | } | |
209 |
|
209 | |||
210 | .bottom-right-rounded-corner-mid { |
|
210 | .bottom-right-rounded-corner-mid { | |
211 | -webkit-border-bottom-right-radius: 4px; |
|
211 | -webkit-border-bottom-right-radius: 4px; | |
212 | -khtml-border-radius-bottomright: 4px; |
|
212 | -khtml-border-radius-bottomright: 4px; | |
213 | -moz-border-radius-bottomright: 4px; |
|
213 | -moz-border-radius-bottomright: 4px; | |
214 | border-bottom-right-radius: 4px; |
|
214 | border-bottom-right-radius: 4px; | |
215 | } |
|
215 | } | |
216 |
|
216 | |||
217 | .help-block { |
|
217 | .help-block { | |
218 | color: #999999; |
|
218 | color: #999999; | |
219 | display: block; |
|
219 | display: block; | |
220 | margin-bottom: 0; |
|
220 | margin-bottom: 0; | |
221 | margin-top: 5px; |
|
221 | margin-top: 5px; | |
222 | } |
|
222 | } | |
223 |
|
223 | |||
224 | .empty_data{ |
|
224 | .empty_data{ | |
225 | color:#B9B9B9; |
|
225 | color:#B9B9B9; | |
226 | } |
|
226 | } | |
227 |
|
227 | |||
228 | a.permalink{ |
|
228 | a.permalink{ | |
229 | visibility: hidden; |
|
229 | visibility: hidden; | |
230 | } |
|
230 | } | |
231 |
|
231 | |||
232 | a.permalink:hover{ |
|
232 | a.permalink:hover{ | |
233 | text-decoration: none; |
|
233 | text-decoration: none; | |
234 | } |
|
234 | } | |
235 |
|
235 | |||
236 | h1:hover > a.permalink, |
|
236 | h1:hover > a.permalink, | |
237 | h2:hover > a.permalink, |
|
237 | h2:hover > a.permalink, | |
238 | h3:hover > a.permalink, |
|
238 | h3:hover > a.permalink, | |
239 | h4:hover > a.permalink, |
|
239 | h4:hover > a.permalink, | |
240 | h5:hover > a.permalink, |
|
240 | h5:hover > a.permalink, | |
241 | h6:hover > a.permalink, |
|
241 | h6:hover > a.permalink, | |
242 | div:hover > a.permalink { |
|
242 | div:hover > a.permalink { | |
243 | visibility: visible; |
|
243 | visibility: visible; | |
244 | } |
|
244 | } | |
245 |
|
245 | |||
246 | #header { |
|
246 | #header { | |
247 | margin: 0; |
|
247 | margin: 0; | |
248 | padding: 0 10px; |
|
248 | padding: 0 10px; | |
249 | } |
|
249 | } | |
250 |
|
250 | |||
251 | #header ul#logged-user { |
|
251 | #header ul#logged-user { | |
252 | margin-bottom: 5px !important; |
|
252 | margin-bottom: 5px !important; | |
253 | -webkit-border-radius: 0px 0px 8px 8px; |
|
253 | -webkit-border-radius: 0px 0px 8px 8px; | |
254 | -khtml-border-radius: 0px 0px 8px 8px; |
|
254 | -khtml-border-radius: 0px 0px 8px 8px; | |
255 | -moz-border-radius: 0px 0px 8px 8px; |
|
255 | -moz-border-radius: 0px 0px 8px 8px; | |
256 | border-radius: 0px 0px 8px 8px; |
|
256 | border-radius: 0px 0px 8px 8px; | |
257 | height: 37px; |
|
257 | height: 37px; | |
258 | background-color: #003B76; |
|
258 | background-color: #003B76; | |
259 | background-repeat: repeat-x; |
|
259 | background-repeat: repeat-x; | |
260 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); |
|
260 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); | |
261 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
261 | background-image: -moz-linear-gradient(top, #003b76, #00376e); | |
262 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
262 | background-image: -ms-linear-gradient(top, #003b76, #00376e); | |
263 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); |
|
263 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); | |
264 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); |
|
264 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); | |
265 | background-image: -o-linear-gradient(top, #003b76, #00376e); |
|
265 | background-image: -o-linear-gradient(top, #003b76, #00376e); | |
266 | background-image: linear-gradient(top, #003b76, #00376e); |
|
266 | background-image: linear-gradient(top, #003b76, #00376e); | |
267 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76',endColorstr='#00376e', GradientType=0 ); |
|
267 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76',endColorstr='#00376e', GradientType=0 ); | |
268 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
268 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
269 | } |
|
269 | } | |
270 |
|
270 | |||
271 | #header ul#logged-user li { |
|
271 | #header ul#logged-user li { | |
272 | list-style: none; |
|
272 | list-style: none; | |
273 | float: left; |
|
273 | float: left; | |
274 | margin: 8px 0 0; |
|
274 | margin: 8px 0 0; | |
275 | padding: 4px 12px; |
|
275 | padding: 4px 12px; | |
276 | border-left: 1px solid #316293; |
|
276 | border-left: 1px solid #316293; | |
277 | } |
|
277 | } | |
278 |
|
278 | |||
279 | #header ul#logged-user li.first { |
|
279 | #header ul#logged-user li.first { | |
280 | border-left: none; |
|
280 | border-left: none; | |
281 | margin: 4px; |
|
281 | margin: 4px; | |
282 | } |
|
282 | } | |
283 |
|
283 | |||
284 | #header ul#logged-user li.first div.gravatar { |
|
284 | #header ul#logged-user li.first div.gravatar { | |
285 | margin-top: -2px; |
|
285 | margin-top: -2px; | |
286 | } |
|
286 | } | |
287 |
|
287 | |||
288 | #header ul#logged-user li.first div.account { |
|
288 | #header ul#logged-user li.first div.account { | |
289 | padding-top: 4px; |
|
289 | padding-top: 4px; | |
290 | float: left; |
|
290 | float: left; | |
291 | } |
|
291 | } | |
292 |
|
292 | |||
293 | #header ul#logged-user li.last { |
|
293 | #header ul#logged-user li.last { | |
294 | border-right: none; |
|
294 | border-right: none; | |
295 | } |
|
295 | } | |
296 |
|
296 | |||
297 | #header ul#logged-user li a { |
|
297 | #header ul#logged-user li a { | |
298 | color: #fff; |
|
298 | color: #fff; | |
299 | font-weight: 700; |
|
299 | font-weight: 700; | |
300 | text-decoration: none; |
|
300 | text-decoration: none; | |
301 | } |
|
301 | } | |
302 |
|
302 | |||
303 | #header ul#logged-user li a:hover { |
|
303 | #header ul#logged-user li a:hover { | |
304 | text-decoration: underline; |
|
304 | text-decoration: underline; | |
305 | } |
|
305 | } | |
306 |
|
306 | |||
307 | #header ul#logged-user li.highlight a { |
|
307 | #header ul#logged-user li.highlight a { | |
308 | color: #fff; |
|
308 | color: #fff; | |
309 | } |
|
309 | } | |
310 |
|
310 | |||
311 | #header ul#logged-user li.highlight a:hover { |
|
311 | #header ul#logged-user li.highlight a:hover { | |
312 | color: #FFF; |
|
312 | color: #FFF; | |
313 | } |
|
313 | } | |
314 |
|
314 | |||
315 | #header #header-inner { |
|
315 | #header #header-inner { | |
316 | min-height: 44px; |
|
316 | min-height: 44px; | |
317 | clear: both; |
|
317 | clear: both; | |
318 | position: relative; |
|
318 | position: relative; | |
319 | background-color: #003B76; |
|
319 | background-color: #003B76; | |
320 | background-repeat: repeat-x; |
|
320 | background-repeat: repeat-x; | |
321 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); |
|
321 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); | |
322 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
322 | background-image: -moz-linear-gradient(top, #003b76, #00376e); | |
323 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
323 | background-image: -ms-linear-gradient(top, #003b76, #00376e); | |
324 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76),color-stop(100%, #00376e) ); |
|
324 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76),color-stop(100%, #00376e) ); | |
325 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); |
|
325 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); | |
326 | background-image: -o-linear-gradient(top, #003b76, #00376e); |
|
326 | background-image: -o-linear-gradient(top, #003b76, #00376e); | |
327 | background-image: linear-gradient(top, #003b76, #00376e); |
|
327 | background-image: linear-gradient(top, #003b76, #00376e); | |
328 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76',endColorstr='#00376e', GradientType=0 ); |
|
328 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76',endColorstr='#00376e', GradientType=0 ); | |
329 | margin: 0; |
|
329 | margin: 0; | |
330 | padding: 0; |
|
330 | padding: 0; | |
331 | display: block; |
|
331 | display: block; | |
332 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
332 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
333 | -webkit-border-radius: 4px 4px 4px 4px; |
|
333 | -webkit-border-radius: 4px 4px 4px 4px; | |
334 | -khtml-border-radius: 4px 4px 4px 4px; |
|
334 | -khtml-border-radius: 4px 4px 4px 4px; | |
335 | -moz-border-radius: 4px 4px 4px 4px; |
|
335 | -moz-border-radius: 4px 4px 4px 4px; | |
336 | border-radius: 4px 4px 4px 4px; |
|
336 | border-radius: 4px 4px 4px 4px; | |
337 | } |
|
337 | } | |
338 | #header #header-inner.hover{ |
|
338 | #header #header-inner.hover{ | |
339 | position: fixed !important; |
|
339 | position: fixed !important; | |
340 | width: 100% !important; |
|
340 | width: 100% !important; | |
341 | margin-left: -10px !important; |
|
341 | margin-left: -10px !important; | |
342 | z-index: 10000; |
|
342 | z-index: 10000; | |
343 | -webkit-border-radius: 0px 0px 0px 0px; |
|
343 | -webkit-border-radius: 0px 0px 0px 0px; | |
344 | -khtml-border-radius: 0px 0px 0px 0px; |
|
344 | -khtml-border-radius: 0px 0px 0px 0px; | |
345 | -moz-border-radius: 0px 0px 0px 0px; |
|
345 | -moz-border-radius: 0px 0px 0px 0px; | |
346 | border-radius: 0px 0px 0px 0px; |
|
346 | border-radius: 0px 0px 0px 0px; | |
347 | } |
|
347 | } | |
348 |
|
348 | |||
349 | .ie7 #header #header-inner.hover, |
|
349 | .ie7 #header #header-inner.hover, | |
350 | .ie8 #header #header-inner.hover, |
|
350 | .ie8 #header #header-inner.hover, | |
351 | .ie9 #header #header-inner.hover |
|
351 | .ie9 #header #header-inner.hover | |
352 | { |
|
352 | { | |
353 | z-index: auto !important; |
|
353 | z-index: auto !important; | |
354 | } |
|
354 | } | |
355 |
|
355 | |||
356 | .header-pos-fix, .anchor{ |
|
356 | .header-pos-fix, .anchor{ | |
357 | margin-top: -46px; |
|
357 | margin-top: -46px; | |
358 | padding-top: 46px; |
|
358 | padding-top: 46px; | |
359 | } |
|
359 | } | |
360 |
|
360 | |||
361 | #header #header-inner #home a { |
|
361 | #header #header-inner #home a { | |
362 | height: 40px; |
|
362 | height: 40px; | |
363 | width: 46px; |
|
363 | width: 46px; | |
364 | display: block; |
|
364 | display: block; | |
365 | background: url("../images/button_home.png"); |
|
365 | background: url("../images/button_home.png"); | |
366 | background-position: 0 0; |
|
366 | background-position: 0 0; | |
367 | margin: 0; |
|
367 | margin: 0; | |
368 | padding: 0; |
|
368 | padding: 0; | |
369 | } |
|
369 | } | |
370 |
|
370 | |||
371 | #header #header-inner #home a:hover { |
|
371 | #header #header-inner #home a:hover { | |
372 | background-position: 0 -40px; |
|
372 | background-position: 0 -40px; | |
373 | } |
|
373 | } | |
374 |
|
374 | |||
375 | #header #header-inner #logo { |
|
375 | #header #header-inner #logo { | |
376 | float: left; |
|
376 | float: left; | |
377 | position: absolute; |
|
377 | position: absolute; | |
378 | } |
|
378 | } | |
379 |
|
379 | |||
380 | #header #header-inner #logo h1 { |
|
380 | #header #header-inner #logo h1 { | |
381 | color: #FFF; |
|
381 | color: #FFF; | |
382 | font-size: 20px; |
|
382 | font-size: 20px; | |
383 | margin: 12px 0 0 13px; |
|
383 | margin: 12px 0 0 13px; | |
384 | padding: 0; |
|
384 | padding: 0; | |
385 | } |
|
385 | } | |
386 |
|
386 | |||
387 | #header #header-inner #logo a { |
|
387 | #header #header-inner #logo a { | |
388 | color: #fff; |
|
388 | color: #fff; | |
389 | text-decoration: none; |
|
389 | text-decoration: none; | |
390 | } |
|
390 | } | |
391 |
|
391 | |||
392 | #header #header-inner #logo a:hover { |
|
392 | #header #header-inner #logo a:hover { | |
393 | color: #bfe3ff; |
|
393 | color: #bfe3ff; | |
394 | } |
|
394 | } | |
395 |
|
395 | |||
396 | #header #header-inner #quick,#header #header-inner #quick ul { |
|
396 | #header #header-inner #quick,#header #header-inner #quick ul { | |
397 | position: relative; |
|
397 | position: relative; | |
398 | float: right; |
|
398 | float: right; | |
399 | list-style-type: none; |
|
399 | list-style-type: none; | |
400 | list-style-position: outside; |
|
400 | list-style-position: outside; | |
401 | margin: 8px 8px 0 0; |
|
401 | margin: 8px 8px 0 0; | |
402 | padding: 0; |
|
402 | padding: 0; | |
403 | } |
|
403 | } | |
404 |
|
404 | |||
405 | #header #header-inner #quick li { |
|
405 | #header #header-inner #quick li { | |
406 | position: relative; |
|
406 | position: relative; | |
407 | float: left; |
|
407 | float: left; | |
408 | margin: 0 5px 0 0; |
|
408 | margin: 0 5px 0 0; | |
409 | padding: 0; |
|
409 | padding: 0; | |
410 | } |
|
410 | } | |
411 |
|
411 | |||
412 | #header #header-inner #quick li a.menu_link { |
|
412 | #header #header-inner #quick li a.menu_link { | |
413 | top: 0; |
|
413 | top: 0; | |
414 | left: 0; |
|
414 | left: 0; | |
415 | height: 1%; |
|
415 | height: 1%; | |
416 | display: block; |
|
416 | display: block; | |
417 | clear: both; |
|
417 | clear: both; | |
418 | overflow: hidden; |
|
418 | overflow: hidden; | |
419 | color: #FFF; |
|
419 | color: #FFF; | |
420 | font-weight: 700; |
|
420 | font-weight: 700; | |
421 | text-decoration: none; |
|
421 | text-decoration: none; | |
422 | background: #369; |
|
422 | background: #369; | |
423 | padding: 0; |
|
423 | padding: 0; | |
424 | -webkit-border-radius: 4px 4px 4px 4px; |
|
424 | -webkit-border-radius: 4px 4px 4px 4px; | |
425 | -khtml-border-radius: 4px 4px 4px 4px; |
|
425 | -khtml-border-radius: 4px 4px 4px 4px; | |
426 | -moz-border-radius: 4px 4px 4px 4px; |
|
426 | -moz-border-radius: 4px 4px 4px 4px; | |
427 | border-radius: 4px 4px 4px 4px; |
|
427 | border-radius: 4px 4px 4px 4px; | |
428 | } |
|
428 | } | |
429 |
|
429 | |||
430 | #header #header-inner #quick li span.short { |
|
430 | #header #header-inner #quick li span.short { | |
431 | padding: 9px 6px 8px 6px; |
|
431 | padding: 9px 6px 8px 6px; | |
432 | } |
|
432 | } | |
433 |
|
433 | |||
434 | #header #header-inner #quick li span { |
|
434 | #header #header-inner #quick li span { | |
435 | top: 0; |
|
435 | top: 0; | |
436 | right: 0; |
|
436 | right: 0; | |
437 | height: 1%; |
|
437 | height: 1%; | |
438 | display: block; |
|
438 | display: block; | |
439 | float: left; |
|
439 | float: left; | |
440 | border-left: 1px solid #3f6f9f; |
|
440 | border-left: 1px solid #3f6f9f; | |
441 | margin: 0; |
|
441 | margin: 0; | |
442 | padding: 10px 12px 8px 10px; |
|
442 | padding: 10px 12px 8px 10px; | |
443 | } |
|
443 | } | |
444 |
|
444 | |||
445 | #header #header-inner #quick li span.normal { |
|
445 | #header #header-inner #quick li span.normal { | |
446 | border: none; |
|
446 | border: none; | |
447 | padding: 10px 12px 8px; |
|
447 | padding: 10px 12px 8px; | |
448 | } |
|
448 | } | |
449 |
|
449 | |||
450 | #header #header-inner #quick li span.icon { |
|
450 | #header #header-inner #quick li span.icon { | |
451 | top: 0; |
|
451 | top: 0; | |
452 | left: 0; |
|
452 | left: 0; | |
453 | border-left: none; |
|
453 | border-left: none; | |
454 | border-right: 1px solid #2e5c89; |
|
454 | border-right: 1px solid #2e5c89; | |
455 | padding: 8px 6px 4px; |
|
455 | padding: 8px 6px 4px; | |
456 | } |
|
456 | } | |
457 |
|
457 | |||
458 | #header #header-inner #quick li span.icon_short { |
|
458 | #header #header-inner #quick li span.icon_short { | |
459 | top: 0; |
|
459 | top: 0; | |
460 | left: 0; |
|
460 | left: 0; | |
461 | border-left: none; |
|
461 | border-left: none; | |
462 | border-right: 1px solid #2e5c89; |
|
462 | border-right: 1px solid #2e5c89; | |
463 | padding: 8px 6px 4px; |
|
463 | padding: 8px 6px 4px; | |
464 | } |
|
464 | } | |
465 |
|
465 | |||
466 | #header #header-inner #quick li span.icon img,#header #header-inner #quick li span.icon_short img |
|
466 | #header #header-inner #quick li span.icon img,#header #header-inner #quick li span.icon_short img | |
467 | { |
|
467 | { | |
468 | margin: 0px -2px 0px 0px; |
|
468 | margin: 0px -2px 0px 0px; | |
469 | } |
|
469 | } | |
470 |
|
470 | |||
471 | #header #header-inner #quick li a:hover { |
|
471 | #header #header-inner #quick li a:hover { | |
472 | background: #4e4e4e no-repeat top left; |
|
472 | background: #4e4e4e no-repeat top left; | |
473 | } |
|
473 | } | |
474 |
|
474 | |||
475 | #header #header-inner #quick li a:hover span { |
|
475 | #header #header-inner #quick li a:hover span { | |
476 | border-left: 1px solid #545454; |
|
476 | border-left: 1px solid #545454; | |
477 | } |
|
477 | } | |
478 |
|
478 | |||
479 | #header #header-inner #quick li a:hover span.icon,#header #header-inner #quick li a:hover span.icon_short |
|
479 | #header #header-inner #quick li a:hover span.icon,#header #header-inner #quick li a:hover span.icon_short | |
480 | { |
|
480 | { | |
481 | border-left: none; |
|
481 | border-left: none; | |
482 | border-right: 1px solid #464646; |
|
482 | border-right: 1px solid #464646; | |
483 | } |
|
483 | } | |
484 |
|
484 | |||
485 | #header #header-inner #quick ul { |
|
485 | #header #header-inner #quick ul { | |
486 | top: 29px; |
|
486 | top: 29px; | |
487 | right: 0; |
|
487 | right: 0; | |
488 | min-width: 200px; |
|
488 | min-width: 200px; | |
489 | display: none; |
|
489 | display: none; | |
490 | position: absolute; |
|
490 | position: absolute; | |
491 | background: #FFF; |
|
491 | background: #FFF; | |
492 | border: 1px solid #666; |
|
492 | border: 1px solid #666; | |
493 | border-top: 1px solid #003367; |
|
493 | border-top: 1px solid #003367; | |
494 | z-index: 100; |
|
494 | z-index: 100; | |
495 | margin: 0px 0px 0px 0px; |
|
495 | margin: 0px 0px 0px 0px; | |
496 | padding: 0; |
|
496 | padding: 0; | |
497 | } |
|
497 | } | |
498 |
|
498 | |||
499 | #header #header-inner #quick ul.repo_switcher { |
|
499 | #header #header-inner #quick ul.repo_switcher { | |
500 | max-height: 275px; |
|
500 | max-height: 275px; | |
501 | overflow-x: hidden; |
|
501 | overflow-x: hidden; | |
502 | overflow-y: auto; |
|
502 | overflow-y: auto; | |
503 | } |
|
503 | } | |
504 |
|
504 | |||
505 | #header #header-inner #quick ul.repo_switcher li.qfilter_rs { |
|
505 | #header #header-inner #quick ul.repo_switcher li.qfilter_rs { | |
506 | float: none; |
|
506 | float: none; | |
507 | margin: 0; |
|
507 | margin: 0; | |
508 | border-bottom: 2px solid #003367; |
|
508 | border-bottom: 2px solid #003367; | |
509 | } |
|
509 | } | |
510 |
|
510 | |||
511 | #header #header-inner #quick .repo_switcher_type { |
|
511 | #header #header-inner #quick .repo_switcher_type { | |
512 | position: absolute; |
|
512 | position: absolute; | |
513 | left: 0; |
|
513 | left: 0; | |
514 | top: 9px; |
|
514 | top: 9px; | |
515 | } |
|
515 | } | |
516 |
|
516 | |||
517 | #header #header-inner #quick li ul li { |
|
517 | #header #header-inner #quick li ul li { | |
518 | border-bottom: 1px solid #ddd; |
|
518 | border-bottom: 1px solid #ddd; | |
519 | } |
|
519 | } | |
520 |
|
520 | |||
521 | #header #header-inner #quick li ul li a { |
|
521 | #header #header-inner #quick li ul li a { | |
522 | width: 182px; |
|
522 | width: 182px; | |
523 | height: auto; |
|
523 | height: auto; | |
524 | display: block; |
|
524 | display: block; | |
525 | float: left; |
|
525 | float: left; | |
526 | background: #FFF; |
|
526 | background: #FFF; | |
527 | color: #003367; |
|
527 | color: #003367; | |
528 | font-weight: 400; |
|
528 | font-weight: 400; | |
529 | margin: 0; |
|
529 | margin: 0; | |
530 | padding: 7px 9px; |
|
530 | padding: 7px 9px; | |
531 | } |
|
531 | } | |
532 |
|
532 | |||
533 | #header #header-inner #quick li ul li a:hover { |
|
533 | #header #header-inner #quick li ul li a:hover { | |
534 | color: #000; |
|
534 | color: #000; | |
535 | background: #FFF; |
|
535 | background: #FFF; | |
536 | } |
|
536 | } | |
537 |
|
537 | |||
538 | #header #header-inner #quick ul ul { |
|
538 | #header #header-inner #quick ul ul { | |
539 | top: auto; |
|
539 | top: auto; | |
540 | } |
|
540 | } | |
541 |
|
541 | |||
542 | #header #header-inner #quick li ul ul { |
|
542 | #header #header-inner #quick li ul ul { | |
543 | right: 200px; |
|
543 | right: 200px; | |
544 | max-height: 275px; |
|
544 | max-height: 275px; | |
545 | overflow: auto; |
|
545 | overflow: auto; | |
546 | overflow-x: hidden; |
|
546 | overflow-x: hidden; | |
547 | white-space: normal; |
|
547 | white-space: normal; | |
548 | } |
|
548 | } | |
549 |
|
549 | |||
550 | #header #header-inner #quick li ul li a.journal,#header #header-inner #quick li ul li a.journal:hover |
|
550 | #header #header-inner #quick li ul li a.journal,#header #header-inner #quick li ul li a.journal:hover | |
551 | { |
|
551 | { | |
552 | background: url("../images/icons/book.png") no-repeat scroll 4px 9px |
|
552 | background: url("../images/icons/book.png") no-repeat scroll 4px 9px | |
553 | #FFF; |
|
553 | #FFF; | |
554 | width: 167px; |
|
554 | width: 167px; | |
555 | margin: 0; |
|
555 | margin: 0; | |
556 | padding: 12px 9px 7px 24px; |
|
556 | padding: 12px 9px 7px 24px; | |
557 | } |
|
557 | } | |
558 |
|
558 | |||
559 | #header #header-inner #quick li ul li a.private_repo,#header #header-inner #quick li ul li a.private_repo:hover |
|
559 | #header #header-inner #quick li ul li a.private_repo,#header #header-inner #quick li ul li a.private_repo:hover | |
560 | { |
|
560 | { | |
561 | background: url("../images/icons/lock.png") no-repeat scroll 4px 9px |
|
561 | background: url("../images/icons/lock.png") no-repeat scroll 4px 9px | |
562 | #FFF; |
|
562 | #FFF; | |
563 | min-width: 167px; |
|
563 | min-width: 167px; | |
564 | margin: 0; |
|
564 | margin: 0; | |
565 | padding: 12px 9px 7px 24px; |
|
565 | padding: 12px 9px 7px 24px; | |
566 | } |
|
566 | } | |
567 |
|
567 | |||
568 | #header #header-inner #quick li ul li a.public_repo,#header #header-inner #quick li ul li a.public_repo:hover |
|
568 | #header #header-inner #quick li ul li a.public_repo,#header #header-inner #quick li ul li a.public_repo:hover | |
569 | { |
|
569 | { | |
570 | background: url("../images/icons/lock_open.png") no-repeat scroll 4px |
|
570 | background: url("../images/icons/lock_open.png") no-repeat scroll 4px | |
571 | 9px #FFF; |
|
571 | 9px #FFF; | |
572 | min-width: 167px; |
|
572 | min-width: 167px; | |
573 | margin: 0; |
|
573 | margin: 0; | |
574 | padding: 12px 9px 7px 24px; |
|
574 | padding: 12px 9px 7px 24px; | |
575 | } |
|
575 | } | |
576 |
|
576 | |||
577 | #header #header-inner #quick li ul li a.hg,#header #header-inner #quick li ul li a.hg:hover |
|
577 | #header #header-inner #quick li ul li a.hg,#header #header-inner #quick li ul li a.hg:hover | |
578 | { |
|
578 | { | |
579 | background: url("../images/icons/hgicon.png") no-repeat scroll 4px 9px |
|
579 | background: url("../images/icons/hgicon.png") no-repeat scroll 4px 9px | |
580 | #FFF; |
|
580 | #FFF; | |
581 | min-width: 167px; |
|
581 | min-width: 167px; | |
582 | margin: 0 0 0 14px; |
|
582 | margin: 0 0 0 14px; | |
583 | padding: 12px 9px 7px 24px; |
|
583 | padding: 12px 9px 7px 24px; | |
584 | } |
|
584 | } | |
585 |
|
585 | |||
586 | #header #header-inner #quick li ul li a.git,#header #header-inner #quick li ul li a.git:hover |
|
586 | #header #header-inner #quick li ul li a.git,#header #header-inner #quick li ul li a.git:hover | |
587 | { |
|
587 | { | |
588 | background: url("../images/icons/giticon.png") no-repeat scroll 4px 9px |
|
588 | background: url("../images/icons/giticon.png") no-repeat scroll 4px 9px | |
589 | #FFF; |
|
589 | #FFF; | |
590 | min-width: 167px; |
|
590 | min-width: 167px; | |
591 | margin: 0 0 0 14px; |
|
591 | margin: 0 0 0 14px; | |
592 | padding: 12px 9px 7px 24px; |
|
592 | padding: 12px 9px 7px 24px; | |
593 | } |
|
593 | } | |
594 |
|
594 | |||
595 | #header #header-inner #quick li ul li a.repos,#header #header-inner #quick li ul li a.repos:hover |
|
595 | #header #header-inner #quick li ul li a.repos,#header #header-inner #quick li ul li a.repos:hover | |
596 | { |
|
596 | { | |
597 | background: url("../images/icons/database_edit.png") no-repeat scroll |
|
597 | background: url("../images/icons/database_edit.png") no-repeat scroll | |
598 | 4px 9px #FFF; |
|
598 | 4px 9px #FFF; | |
599 | width: 167px; |
|
599 | width: 167px; | |
600 | margin: 0; |
|
600 | margin: 0; | |
601 | padding: 12px 9px 7px 24px; |
|
601 | padding: 12px 9px 7px 24px; | |
602 | } |
|
602 | } | |
603 |
|
603 | |||
604 | #header #header-inner #quick li ul li a.repos_groups,#header #header-inner #quick li ul li a.repos_groups:hover |
|
604 | #header #header-inner #quick li ul li a.repos_groups,#header #header-inner #quick li ul li a.repos_groups:hover | |
605 | { |
|
605 | { | |
606 | background: url("../images/icons/database_link.png") no-repeat scroll |
|
606 | background: url("../images/icons/database_link.png") no-repeat scroll | |
607 | 4px 9px #FFF; |
|
607 | 4px 9px #FFF; | |
608 | width: 167px; |
|
608 | width: 167px; | |
609 | margin: 0; |
|
609 | margin: 0; | |
610 | padding: 12px 9px 7px 24px; |
|
610 | padding: 12px 9px 7px 24px; | |
611 | } |
|
611 | } | |
612 |
|
612 | |||
613 | #header #header-inner #quick li ul li a.users,#header #header-inner #quick li ul li a.users:hover |
|
613 | #header #header-inner #quick li ul li a.users,#header #header-inner #quick li ul li a.users:hover | |
614 | { |
|
614 | { | |
615 | background: #FFF url("../images/icons/user_edit.png") no-repeat 4px 9px; |
|
615 | background: #FFF url("../images/icons/user_edit.png") no-repeat 4px 9px; | |
616 | width: 167px; |
|
616 | width: 167px; | |
617 | margin: 0; |
|
617 | margin: 0; | |
618 | padding: 12px 9px 7px 24px; |
|
618 | padding: 12px 9px 7px 24px; | |
619 | } |
|
619 | } | |
620 |
|
620 | |||
621 | #header #header-inner #quick li ul li a.groups,#header #header-inner #quick li ul li a.groups:hover |
|
621 | #header #header-inner #quick li ul li a.groups,#header #header-inner #quick li ul li a.groups:hover | |
622 | { |
|
622 | { | |
623 | background: #FFF url("../images/icons/group_edit.png") no-repeat 4px 9px; |
|
623 | background: #FFF url("../images/icons/group_edit.png") no-repeat 4px 9px; | |
624 | width: 167px; |
|
624 | width: 167px; | |
625 | margin: 0; |
|
625 | margin: 0; | |
626 | padding: 12px 9px 7px 24px; |
|
626 | padding: 12px 9px 7px 24px; | |
627 | } |
|
627 | } | |
628 |
|
628 | |||
629 | #header #header-inner #quick li ul li a.defaults,#header #header-inner #quick li ul li a.defaults:hover |
|
629 | #header #header-inner #quick li ul li a.defaults,#header #header-inner #quick li ul li a.defaults:hover | |
630 | { |
|
630 | { | |
631 | background: #FFF url("../images/icons/wrench.png") no-repeat 4px 9px; |
|
631 | background: #FFF url("../images/icons/wrench.png") no-repeat 4px 9px; | |
632 | width: 167px; |
|
632 | width: 167px; | |
633 | margin: 0; |
|
633 | margin: 0; | |
634 | padding: 12px 9px 7px 24px; |
|
634 | padding: 12px 9px 7px 24px; | |
635 | } |
|
635 | } | |
636 |
|
636 | |||
637 | #header #header-inner #quick li ul li a.settings,#header #header-inner #quick li ul li a.settings:hover |
|
637 | #header #header-inner #quick li ul li a.settings,#header #header-inner #quick li ul li a.settings:hover | |
638 | { |
|
638 | { | |
639 | background: #FFF url("../images/icons/cog.png") no-repeat 4px 9px; |
|
639 | background: #FFF url("../images/icons/cog.png") no-repeat 4px 9px; | |
640 | width: 167px; |
|
640 | width: 167px; | |
641 | margin: 0; |
|
641 | margin: 0; | |
642 | padding: 12px 9px 7px 24px; |
|
642 | padding: 12px 9px 7px 24px; | |
643 | } |
|
643 | } | |
644 |
|
644 | |||
645 | #header #header-inner #quick li ul li a.permissions,#header #header-inner #quick li ul li a.permissions:hover |
|
645 | #header #header-inner #quick li ul li a.permissions,#header #header-inner #quick li ul li a.permissions:hover | |
646 | { |
|
646 | { | |
647 | background: #FFF url("../images/icons/key.png") no-repeat 4px 9px; |
|
647 | background: #FFF url("../images/icons/key.png") no-repeat 4px 9px; | |
648 | width: 167px; |
|
648 | width: 167px; | |
649 | margin: 0; |
|
649 | margin: 0; | |
650 | padding: 12px 9px 7px 24px; |
|
650 | padding: 12px 9px 7px 24px; | |
651 | } |
|
651 | } | |
652 |
|
652 | |||
653 | #header #header-inner #quick li ul li a.ldap,#header #header-inner #quick li ul li a.ldap:hover |
|
653 | #header #header-inner #quick li ul li a.ldap,#header #header-inner #quick li ul li a.ldap:hover | |
654 | { |
|
654 | { | |
655 | background: #FFF url("../images/icons/server_key.png") no-repeat 4px 9px; |
|
655 | background: #FFF url("../images/icons/server_key.png") no-repeat 4px 9px; | |
656 | width: 167px; |
|
656 | width: 167px; | |
657 | margin: 0; |
|
657 | margin: 0; | |
658 | padding: 12px 9px 7px 24px; |
|
658 | padding: 12px 9px 7px 24px; | |
659 | } |
|
659 | } | |
660 |
|
660 | |||
661 | #header #header-inner #quick li ul li a.fork,#header #header-inner #quick li ul li a.fork:hover |
|
661 | #header #header-inner #quick li ul li a.fork,#header #header-inner #quick li ul li a.fork:hover | |
662 | { |
|
662 | { | |
663 | background: #FFF url("../images/icons/arrow_divide.png") no-repeat 4px |
|
663 | background: #FFF url("../images/icons/arrow_divide.png") no-repeat 4px | |
664 | 9px; |
|
664 | 9px; | |
665 | width: 167px; |
|
665 | width: 167px; | |
666 | margin: 0; |
|
666 | margin: 0; | |
667 | padding: 12px 9px 7px 24px; |
|
667 | padding: 12px 9px 7px 24px; | |
668 | } |
|
668 | } | |
669 |
|
669 | |||
670 | #header #header-inner #quick li ul li a.locking_add,#header #header-inner #quick li ul li a.locking_add:hover |
|
670 | #header #header-inner #quick li ul li a.locking_add,#header #header-inner #quick li ul li a.locking_add:hover | |
671 | { |
|
671 | { | |
672 | background: #FFF url("../images/icons/lock_add.png") no-repeat 4px |
|
672 | background: #FFF url("../images/icons/lock_add.png") no-repeat 4px | |
673 | 9px; |
|
673 | 9px; | |
674 | width: 167px; |
|
674 | width: 167px; | |
675 | margin: 0; |
|
675 | margin: 0; | |
676 | padding: 12px 9px 7px 24px; |
|
676 | padding: 12px 9px 7px 24px; | |
677 | } |
|
677 | } | |
678 |
|
678 | |||
679 | #header #header-inner #quick li ul li a.locking_del,#header #header-inner #quick li ul li a.locking_del:hover |
|
679 | #header #header-inner #quick li ul li a.locking_del,#header #header-inner #quick li ul li a.locking_del:hover | |
680 | { |
|
680 | { | |
681 | background: #FFF url("../images/icons/lock_delete.png") no-repeat 4px |
|
681 | background: #FFF url("../images/icons/lock_delete.png") no-repeat 4px | |
682 | 9px; |
|
682 | 9px; | |
683 | width: 167px; |
|
683 | width: 167px; | |
684 | margin: 0; |
|
684 | margin: 0; | |
685 | padding: 12px 9px 7px 24px; |
|
685 | padding: 12px 9px 7px 24px; | |
686 | } |
|
686 | } | |
687 |
|
687 | |||
688 | #header #header-inner #quick li ul li a.pull_request,#header #header-inner #quick li ul li a.pull_request:hover |
|
688 | #header #header-inner #quick li ul li a.pull_request,#header #header-inner #quick li ul li a.pull_request:hover | |
689 | { |
|
689 | { | |
690 | background: #FFF url("../images/icons/arrow_join.png") no-repeat 4px |
|
690 | background: #FFF url("../images/icons/arrow_join.png") no-repeat 4px | |
691 | 9px; |
|
691 | 9px; | |
692 | width: 167px; |
|
692 | width: 167px; | |
693 | margin: 0; |
|
693 | margin: 0; | |
694 | padding: 12px 9px 7px 24px; |
|
694 | padding: 12px 9px 7px 24px; | |
695 | } |
|
695 | } | |
696 |
|
696 | |||
697 | #header #header-inner #quick li ul li a.compare_request,#header #header-inner #quick li ul li a.compare_request:hover |
|
697 | #header #header-inner #quick li ul li a.compare_request,#header #header-inner #quick li ul li a.compare_request:hover | |
698 | { |
|
698 | { | |
699 | background: #FFF url("../images/icons/arrow_inout.png") no-repeat 4px |
|
699 | background: #FFF url("../images/icons/arrow_inout.png") no-repeat 4px | |
700 | 9px; |
|
700 | 9px; | |
701 | width: 167px; |
|
701 | width: 167px; | |
702 | margin: 0; |
|
702 | margin: 0; | |
703 | padding: 12px 9px 7px 24px; |
|
703 | padding: 12px 9px 7px 24px; | |
704 | } |
|
704 | } | |
705 |
|
705 | |||
706 | #header #header-inner #quick li ul li a.search,#header #header-inner #quick li ul li a.search:hover |
|
706 | #header #header-inner #quick li ul li a.search,#header #header-inner #quick li ul li a.search:hover | |
707 | { |
|
707 | { | |
708 | background: #FFF url("../images/icons/search_16.png") no-repeat 4px 9px; |
|
708 | background: #FFF url("../images/icons/search_16.png") no-repeat 4px 9px; | |
709 | width: 167px; |
|
709 | width: 167px; | |
710 | margin: 0; |
|
710 | margin: 0; | |
711 | padding: 12px 9px 7px 24px; |
|
711 | padding: 12px 9px 7px 24px; | |
712 | } |
|
712 | } | |
713 |
|
713 | |||
714 | #header #header-inner #quick li ul li a.delete,#header #header-inner #quick li ul li a.delete:hover |
|
714 | #header #header-inner #quick li ul li a.delete,#header #header-inner #quick li ul li a.delete:hover | |
715 | { |
|
715 | { | |
716 | background: #FFF url("../images/icons/delete.png") no-repeat 4px 9px; |
|
716 | background: #FFF url("../images/icons/delete.png") no-repeat 4px 9px; | |
717 | width: 167px; |
|
717 | width: 167px; | |
718 | margin: 0; |
|
718 | margin: 0; | |
719 | padding: 12px 9px 7px 24px; |
|
719 | padding: 12px 9px 7px 24px; | |
720 | } |
|
720 | } | |
721 |
|
721 | |||
722 | #header #header-inner #quick li ul li a.branches,#header #header-inner #quick li ul li a.branches:hover |
|
722 | #header #header-inner #quick li ul li a.branches,#header #header-inner #quick li ul li a.branches:hover | |
723 | { |
|
723 | { | |
724 | background: #FFF url("../images/icons/arrow_branch.png") no-repeat 4px |
|
724 | background: #FFF url("../images/icons/arrow_branch.png") no-repeat 4px | |
725 | 9px; |
|
725 | 9px; | |
726 | width: 167px; |
|
726 | width: 167px; | |
727 | margin: 0; |
|
727 | margin: 0; | |
728 | padding: 12px 9px 7px 24px; |
|
728 | padding: 12px 9px 7px 24px; | |
729 | } |
|
729 | } | |
730 |
|
730 | |||
731 | #header #header-inner #quick li ul li a.tags, |
|
731 | #header #header-inner #quick li ul li a.tags, | |
732 | #header #header-inner #quick li ul li a.tags:hover{ |
|
732 | #header #header-inner #quick li ul li a.tags:hover{ | |
733 | background: #FFF url("../images/icons/tag_blue.png") no-repeat 4px 9px; |
|
733 | background: #FFF url("../images/icons/tag_blue.png") no-repeat 4px 9px; | |
734 | width: 167px; |
|
734 | width: 167px; | |
735 | margin: 0; |
|
735 | margin: 0; | |
736 | padding: 12px 9px 7px 24px; |
|
736 | padding: 12px 9px 7px 24px; | |
737 | } |
|
737 | } | |
738 |
|
738 | |||
739 | #header #header-inner #quick li ul li a.bookmarks, |
|
739 | #header #header-inner #quick li ul li a.bookmarks, | |
740 | #header #header-inner #quick li ul li a.bookmarks:hover{ |
|
740 | #header #header-inner #quick li ul li a.bookmarks:hover{ | |
741 | background: #FFF url("../images/icons/tag_green.png") no-repeat 4px 9px; |
|
741 | background: #FFF url("../images/icons/tag_green.png") no-repeat 4px 9px; | |
742 | width: 167px; |
|
742 | width: 167px; | |
743 | margin: 0; |
|
743 | margin: 0; | |
744 | padding: 12px 9px 7px 24px; |
|
744 | padding: 12px 9px 7px 24px; | |
745 | } |
|
745 | } | |
746 |
|
746 | |||
747 | #header #header-inner #quick li ul li a.admin, |
|
747 | #header #header-inner #quick li ul li a.admin, | |
748 | #header #header-inner #quick li ul li a.admin:hover{ |
|
748 | #header #header-inner #quick li ul li a.admin:hover{ | |
749 | background: #FFF url("../images/icons/cog_edit.png") no-repeat 4px 9px; |
|
749 | background: #FFF url("../images/icons/cog_edit.png") no-repeat 4px 9px; | |
750 | width: 167px; |
|
750 | width: 167px; | |
751 | margin: 0; |
|
751 | margin: 0; | |
752 | padding: 12px 9px 7px 24px; |
|
752 | padding: 12px 9px 7px 24px; | |
753 | } |
|
753 | } | |
754 |
|
754 | |||
755 | .groups_breadcrumbs a { |
|
755 | .groups_breadcrumbs a { | |
756 | color: #fff; |
|
756 | color: #fff; | |
757 | } |
|
757 | } | |
758 |
|
758 | |||
759 | .groups_breadcrumbs a:hover { |
|
759 | .groups_breadcrumbs a:hover { | |
760 | color: #bfe3ff; |
|
760 | color: #bfe3ff; | |
761 | text-decoration: none; |
|
761 | text-decoration: none; | |
762 | } |
|
762 | } | |
763 |
|
763 | |||
764 | td.quick_repo_menu { |
|
764 | td.quick_repo_menu { | |
765 | background: #FFF url("../images/vertical-indicator.png") 8px 50% no-repeat !important; |
|
765 | background: #FFF url("../images/vertical-indicator.png") 8px 50% no-repeat !important; | |
766 | cursor: pointer; |
|
766 | cursor: pointer; | |
767 | width: 8px; |
|
767 | width: 8px; | |
768 | border: 1px solid transparent; |
|
768 | border: 1px solid transparent; | |
769 | } |
|
769 | } | |
770 |
|
770 | |||
771 | td.quick_repo_menu.active { |
|
771 | td.quick_repo_menu.active { | |
772 | background: url("../images/dt-arrow-dn.png") no-repeat scroll 5px 50% #FFFFFF !important; |
|
772 | background: url("../images/dt-arrow-dn.png") no-repeat scroll 5px 50% #FFFFFF !important; | |
773 | border: 1px solid #003367; |
|
773 | border: 1px solid #003367; | |
774 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); |
|
774 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | |
775 | cursor: pointer; |
|
775 | cursor: pointer; | |
776 | } |
|
776 | } | |
777 |
|
777 | |||
778 | td.quick_repo_menu .menu_items { |
|
778 | td.quick_repo_menu .menu_items { | |
779 | margin-top: 10px; |
|
779 | margin-top: 10px; | |
780 | margin-left:-6px; |
|
780 | margin-left:-6px; | |
781 | width: 150px; |
|
781 | width: 150px; | |
782 | position: absolute; |
|
782 | position: absolute; | |
783 | background-color: #FFF; |
|
783 | background-color: #FFF; | |
784 | background: none repeat scroll 0 0 #FFFFFF; |
|
784 | background: none repeat scroll 0 0 #FFFFFF; | |
785 | border-color: #003367 #666666 #666666; |
|
785 | border-color: #003367 #666666 #666666; | |
786 | border-right: 1px solid #666666; |
|
786 | border-right: 1px solid #666666; | |
787 | border-style: solid; |
|
787 | border-style: solid; | |
788 | border-width: 1px; |
|
788 | border-width: 1px; | |
789 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); |
|
789 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); | |
790 | border-top-style: none; |
|
790 | border-top-style: none; | |
791 | } |
|
791 | } | |
792 |
|
792 | |||
793 | td.quick_repo_menu .menu_items li { |
|
793 | td.quick_repo_menu .menu_items li { | |
794 | padding: 0 !important; |
|
794 | padding: 0 !important; | |
795 | } |
|
795 | } | |
796 |
|
796 | |||
797 | td.quick_repo_menu .menu_items a { |
|
797 | td.quick_repo_menu .menu_items a { | |
798 | display: block; |
|
798 | display: block; | |
799 | padding: 4px 12px 4px 8px; |
|
799 | padding: 4px 12px 4px 8px; | |
800 | } |
|
800 | } | |
801 |
|
801 | |||
802 | td.quick_repo_menu .menu_items a:hover { |
|
802 | td.quick_repo_menu .menu_items a:hover { | |
803 | background-color: #EEE; |
|
803 | background-color: #EEE; | |
804 | text-decoration: none; |
|
804 | text-decoration: none; | |
805 | } |
|
805 | } | |
806 |
|
806 | |||
807 | td.quick_repo_menu .menu_items .icon img { |
|
807 | td.quick_repo_menu .menu_items .icon img { | |
808 | margin-bottom: -2px; |
|
808 | margin-bottom: -2px; | |
809 | } |
|
809 | } | |
810 |
|
810 | |||
811 | td.quick_repo_menu .menu_items.hidden { |
|
811 | td.quick_repo_menu .menu_items.hidden { | |
812 | display: none; |
|
812 | display: none; | |
813 | } |
|
813 | } | |
814 |
|
814 | |||
815 | .yui-dt-first th { |
|
815 | .yui-dt-first th { | |
816 | text-align: left; |
|
816 | text-align: left; | |
817 | } |
|
817 | } | |
818 |
|
818 | |||
819 | /* |
|
819 | /* | |
820 | Copyright (c) 2011, Yahoo! Inc. All rights reserved. |
|
820 | Copyright (c) 2011, Yahoo! Inc. All rights reserved. | |
821 | Code licensed under the BSD License: |
|
821 | Code licensed under the BSD License: | |
822 | http://developer.yahoo.com/yui/license.html |
|
822 | http://developer.yahoo.com/yui/license.html | |
823 | version: 2.9.0 |
|
823 | version: 2.9.0 | |
824 | */ |
|
824 | */ | |
825 | .yui-skin-sam .yui-dt-mask { |
|
825 | .yui-skin-sam .yui-dt-mask { | |
826 | position: absolute; |
|
826 | position: absolute; | |
827 | z-index: 9500; |
|
827 | z-index: 9500; | |
828 | } |
|
828 | } | |
829 | .yui-dt-tmp { |
|
829 | .yui-dt-tmp { | |
830 | position: absolute; |
|
830 | position: absolute; | |
831 | left: -9000px; |
|
831 | left: -9000px; | |
832 | } |
|
832 | } | |
833 | .yui-dt-scrollable .yui-dt-bd { overflow: auto } |
|
833 | .yui-dt-scrollable .yui-dt-bd { overflow: auto } | |
834 | .yui-dt-scrollable .yui-dt-hd { |
|
834 | .yui-dt-scrollable .yui-dt-hd { | |
835 | overflow: hidden; |
|
835 | overflow: hidden; | |
836 | position: relative; |
|
836 | position: relative; | |
837 | } |
|
837 | } | |
838 | .yui-dt-scrollable .yui-dt-bd thead tr, |
|
838 | .yui-dt-scrollable .yui-dt-bd thead tr, | |
839 | .yui-dt-scrollable .yui-dt-bd thead th { |
|
839 | .yui-dt-scrollable .yui-dt-bd thead th { | |
840 | position: absolute; |
|
840 | position: absolute; | |
841 | left: -1500px; |
|
841 | left: -1500px; | |
842 | } |
|
842 | } | |
843 | .yui-dt-scrollable tbody { -moz-outline: 0 } |
|
843 | .yui-dt-scrollable tbody { -moz-outline: 0 } | |
844 | .yui-skin-sam thead .yui-dt-sortable { cursor: pointer } |
|
844 | .yui-skin-sam thead .yui-dt-sortable { cursor: pointer } | |
845 | .yui-skin-sam thead .yui-dt-draggable { cursor: move } |
|
845 | .yui-skin-sam thead .yui-dt-draggable { cursor: move } | |
846 | .yui-dt-coltarget { |
|
846 | .yui-dt-coltarget { | |
847 | position: absolute; |
|
847 | position: absolute; | |
848 | z-index: 999; |
|
848 | z-index: 999; | |
849 | } |
|
849 | } | |
850 | .yui-dt-hd { zoom: 1 } |
|
850 | .yui-dt-hd { zoom: 1 } | |
851 | th.yui-dt-resizeable .yui-dt-resizerliner { position: relative } |
|
851 | th.yui-dt-resizeable .yui-dt-resizerliner { position: relative } | |
852 | .yui-dt-resizer { |
|
852 | .yui-dt-resizer { | |
853 | position: absolute; |
|
853 | position: absolute; | |
854 | right: 0; |
|
854 | right: 0; | |
855 | bottom: 0; |
|
855 | bottom: 0; | |
856 | height: 100%; |
|
856 | height: 100%; | |
857 | cursor: e-resize; |
|
857 | cursor: e-resize; | |
858 | cursor: col-resize; |
|
858 | cursor: col-resize; | |
859 | background-color: #CCC; |
|
859 | background-color: #CCC; | |
860 | opacity: 0; |
|
860 | opacity: 0; | |
861 | filter: alpha(opacity=0); |
|
861 | filter: alpha(opacity=0); | |
862 | } |
|
862 | } | |
863 | .yui-dt-resizerproxy { |
|
863 | .yui-dt-resizerproxy { | |
864 | visibility: hidden; |
|
864 | visibility: hidden; | |
865 | position: absolute; |
|
865 | position: absolute; | |
866 | z-index: 9000; |
|
866 | z-index: 9000; | |
867 | background-color: #CCC; |
|
867 | background-color: #CCC; | |
868 | opacity: 0; |
|
868 | opacity: 0; | |
869 | filter: alpha(opacity=0); |
|
869 | filter: alpha(opacity=0); | |
870 | } |
|
870 | } | |
871 | th.yui-dt-hidden .yui-dt-liner, |
|
871 | th.yui-dt-hidden .yui-dt-liner, | |
872 | td.yui-dt-hidden .yui-dt-liner, |
|
872 | td.yui-dt-hidden .yui-dt-liner, | |
873 | th.yui-dt-hidden .yui-dt-resizer { display: none } |
|
873 | th.yui-dt-hidden .yui-dt-resizer { display: none } | |
874 | .yui-dt-editor, |
|
874 | .yui-dt-editor, | |
875 | .yui-dt-editor-shim { |
|
875 | .yui-dt-editor-shim { | |
876 | position: absolute; |
|
876 | position: absolute; | |
877 | z-index: 9000; |
|
877 | z-index: 9000; | |
878 | } |
|
878 | } | |
879 | .yui-skin-sam .yui-dt table { |
|
879 | .yui-skin-sam .yui-dt table { | |
880 | margin: 0; |
|
880 | margin: 0; | |
881 | padding: 0; |
|
881 | padding: 0; | |
882 | font-family: arial; |
|
882 | font-family: arial; | |
883 | font-size: inherit; |
|
883 | font-size: inherit; | |
884 | border-collapse: separate; |
|
884 | border-collapse: separate; | |
885 | *border-collapse: collapse; |
|
885 | *border-collapse: collapse; | |
886 | border-spacing: 0; |
|
886 | border-spacing: 0; | |
887 | border: 1px solid #7f7f7f; |
|
887 | border: 1px solid #7f7f7f; | |
888 | } |
|
888 | } | |
889 | .yui-skin-sam .yui-dt thead { border-spacing: 0 } |
|
889 | .yui-skin-sam .yui-dt thead { border-spacing: 0 } | |
890 | .yui-skin-sam .yui-dt caption { |
|
890 | .yui-skin-sam .yui-dt caption { | |
891 | color: #000; |
|
891 | color: #000; | |
892 | font-size: 85%; |
|
892 | font-size: 85%; | |
893 | font-weight: normal; |
|
893 | font-weight: normal; | |
894 | font-style: italic; |
|
894 | font-style: italic; | |
895 | line-height: 1; |
|
895 | line-height: 1; | |
896 | padding: 1em 0; |
|
896 | padding: 1em 0; | |
897 | text-align: center; |
|
897 | text-align: center; | |
898 | } |
|
898 | } | |
899 | .yui-skin-sam .yui-dt th { background: #d8d8da url(../images/sprite.png) repeat-x 0 0 } |
|
899 | .yui-skin-sam .yui-dt th { background: #d8d8da url(../images/sprite.png) repeat-x 0 0 } | |
900 | .yui-skin-sam .yui-dt th, |
|
900 | .yui-skin-sam .yui-dt th, | |
901 | .yui-skin-sam .yui-dt th a { |
|
901 | .yui-skin-sam .yui-dt th a { | |
902 | font-weight: normal; |
|
902 | font-weight: normal; | |
903 | text-decoration: none; |
|
903 | text-decoration: none; | |
904 | color: #000; |
|
904 | color: #000; | |
905 | vertical-align: bottom; |
|
905 | vertical-align: bottom; | |
906 | } |
|
906 | } | |
907 | .yui-skin-sam .yui-dt th { |
|
907 | .yui-skin-sam .yui-dt th { | |
908 | margin: 0; |
|
908 | margin: 0; | |
909 | padding: 0; |
|
909 | padding: 0; | |
910 | border: 0; |
|
910 | border: 0; | |
911 | border-right: 1px solid #cbcbcb; |
|
911 | border-right: 1px solid #cbcbcb; | |
912 | } |
|
912 | } | |
913 | .yui-skin-sam .yui-dt tr.yui-dt-first td { border-top: 1px solid #7f7f7f } |
|
913 | .yui-skin-sam .yui-dt tr.yui-dt-first td { border-top: 1px solid #7f7f7f } | |
914 | .yui-skin-sam .yui-dt th .yui-dt-liner { white-space: nowrap } |
|
914 | .yui-skin-sam .yui-dt th .yui-dt-liner { white-space: nowrap } | |
915 | .yui-skin-sam .yui-dt-liner { |
|
915 | .yui-skin-sam .yui-dt-liner { | |
916 | margin: 0; |
|
916 | margin: 0; | |
917 | padding: 0; |
|
917 | padding: 0; | |
918 | } |
|
918 | } | |
919 | .yui-skin-sam .yui-dt-coltarget { |
|
919 | .yui-skin-sam .yui-dt-coltarget { | |
920 | width: 5px; |
|
920 | width: 5px; | |
921 | background-color: red; |
|
921 | background-color: red; | |
922 | } |
|
922 | } | |
923 | .yui-skin-sam .yui-dt td { |
|
923 | .yui-skin-sam .yui-dt td { | |
924 | margin: 0; |
|
924 | margin: 0; | |
925 | padding: 0; |
|
925 | padding: 0; | |
926 | border: 0; |
|
926 | border: 0; | |
927 | border-right: 1px solid #cbcbcb; |
|
927 | border-right: 1px solid #cbcbcb; | |
928 | text-align: left; |
|
928 | text-align: left; | |
929 | } |
|
929 | } | |
930 | .yui-skin-sam .yui-dt-list td { border-right: 0 } |
|
930 | .yui-skin-sam .yui-dt-list td { border-right: 0 } | |
931 | .yui-skin-sam .yui-dt-resizer { width: 6px } |
|
931 | .yui-skin-sam .yui-dt-resizer { width: 6px } | |
932 | .yui-skin-sam .yui-dt-mask { |
|
932 | .yui-skin-sam .yui-dt-mask { | |
933 | background-color: #000; |
|
933 | background-color: #000; | |
934 | opacity: .25; |
|
934 | opacity: .25; | |
935 | filter: alpha(opacity=25); |
|
935 | filter: alpha(opacity=25); | |
936 | } |
|
936 | } | |
937 | .yui-skin-sam .yui-dt-message { background-color: #FFF } |
|
937 | .yui-skin-sam .yui-dt-message { background-color: #FFF } | |
938 | .yui-skin-sam .yui-dt-scrollable table { border: 0 } |
|
938 | .yui-skin-sam .yui-dt-scrollable table { border: 0 } | |
939 | .yui-skin-sam .yui-dt-scrollable .yui-dt-hd { |
|
939 | .yui-skin-sam .yui-dt-scrollable .yui-dt-hd { | |
940 | border-left: 1px solid #7f7f7f; |
|
940 | border-left: 1px solid #7f7f7f; | |
941 | border-top: 1px solid #7f7f7f; |
|
941 | border-top: 1px solid #7f7f7f; | |
942 | border-right: 1px solid #7f7f7f; |
|
942 | border-right: 1px solid #7f7f7f; | |
943 | } |
|
943 | } | |
944 | .yui-skin-sam .yui-dt-scrollable .yui-dt-bd { |
|
944 | .yui-skin-sam .yui-dt-scrollable .yui-dt-bd { | |
945 | border-left: 1px solid #7f7f7f; |
|
945 | border-left: 1px solid #7f7f7f; | |
946 | border-bottom: 1px solid #7f7f7f; |
|
946 | border-bottom: 1px solid #7f7f7f; | |
947 | border-right: 1px solid #7f7f7f; |
|
947 | border-right: 1px solid #7f7f7f; | |
948 | background-color: #FFF; |
|
948 | background-color: #FFF; | |
949 | } |
|
949 | } | |
950 | .yui-skin-sam .yui-dt-scrollable .yui-dt-data tr.yui-dt-last td { border-bottom: 1px solid #7f7f7f } |
|
950 | .yui-skin-sam .yui-dt-scrollable .yui-dt-data tr.yui-dt-last td { border-bottom: 1px solid #7f7f7f } | |
951 | .yui-skin-sam th.yui-dt-asc, |
|
951 | .yui-skin-sam th.yui-dt-asc, | |
952 | .yui-skin-sam th.yui-dt-desc { background: url(../images/sprite.png) repeat-x 0 -100px } |
|
952 | .yui-skin-sam th.yui-dt-desc { background: url(../images/sprite.png) repeat-x 0 -100px } | |
953 | .yui-skin-sam th.yui-dt-sortable .yui-dt-label { margin-right: 10px } |
|
953 | .yui-skin-sam th.yui-dt-sortable .yui-dt-label { margin-right: 10px } | |
954 | .yui-skin-sam th.yui-dt-asc .yui-dt-liner { background: url(../images/dt-arrow-up.png) no-repeat right } |
|
954 | .yui-skin-sam th.yui-dt-asc .yui-dt-liner { background: url(../images/dt-arrow-up.png) no-repeat right } | |
955 | .yui-skin-sam th.yui-dt-desc .yui-dt-liner { background: url(../images/dt-arrow-dn.png) no-repeat right } |
|
955 | .yui-skin-sam th.yui-dt-desc .yui-dt-liner { background: url(../images/dt-arrow-dn.png) no-repeat right } | |
956 | tbody .yui-dt-editable { cursor: pointer } |
|
956 | tbody .yui-dt-editable { cursor: pointer } | |
957 | .yui-dt-editor { |
|
957 | .yui-dt-editor { | |
958 | text-align: left; |
|
958 | text-align: left; | |
959 | background-color: #f2f2f2; |
|
959 | background-color: #f2f2f2; | |
960 | border: 1px solid #808080; |
|
960 | border: 1px solid #808080; | |
961 | padding: 6px; |
|
961 | padding: 6px; | |
962 | } |
|
962 | } | |
963 | .yui-dt-editor label { |
|
963 | .yui-dt-editor label { | |
964 | padding-left: 4px; |
|
964 | padding-left: 4px; | |
965 | padding-right: 6px; |
|
965 | padding-right: 6px; | |
966 | } |
|
966 | } | |
967 | .yui-dt-editor .yui-dt-button { |
|
967 | .yui-dt-editor .yui-dt-button { | |
968 | padding-top: 6px; |
|
968 | padding-top: 6px; | |
969 | text-align: right; |
|
969 | text-align: right; | |
970 | } |
|
970 | } | |
971 | .yui-dt-editor .yui-dt-button button { |
|
971 | .yui-dt-editor .yui-dt-button button { | |
972 | background: url(../images/sprite.png) repeat-x 0 0; |
|
972 | background: url(../images/sprite.png) repeat-x 0 0; | |
973 | border: 1px solid #999; |
|
973 | border: 1px solid #999; | |
974 | width: 4em; |
|
974 | width: 4em; | |
975 | height: 1.8em; |
|
975 | height: 1.8em; | |
976 | margin-left: 6px; |
|
976 | margin-left: 6px; | |
977 | } |
|
977 | } | |
978 | .yui-dt-editor .yui-dt-button button.yui-dt-default { |
|
978 | .yui-dt-editor .yui-dt-button button.yui-dt-default { | |
979 | background: url(../images/sprite.png) repeat-x 0 -1400px; |
|
979 | background: url(../images/sprite.png) repeat-x 0 -1400px; | |
980 | background-color: #5584e0; |
|
980 | background-color: #5584e0; | |
981 | border: 1px solid #304369; |
|
981 | border: 1px solid #304369; | |
982 | color: #FFF; |
|
982 | color: #FFF; | |
983 | } |
|
983 | } | |
984 | .yui-dt-editor .yui-dt-button button:hover { |
|
984 | .yui-dt-editor .yui-dt-button button:hover { | |
985 | background: url(../images/sprite.png) repeat-x 0 -1300px; |
|
985 | background: url(../images/sprite.png) repeat-x 0 -1300px; | |
986 | color: #000; |
|
986 | color: #000; | |
987 | } |
|
987 | } | |
988 | .yui-dt-editor .yui-dt-button button:active { |
|
988 | .yui-dt-editor .yui-dt-button button:active { | |
989 | background: url(../images/sprite.png) repeat-x 0 -1700px; |
|
989 | background: url(../images/sprite.png) repeat-x 0 -1700px; | |
990 | color: #000; |
|
990 | color: #000; | |
991 | } |
|
991 | } | |
992 | .yui-skin-sam tr.yui-dt-even { background-color: #FFF } |
|
992 | .yui-skin-sam tr.yui-dt-even { background-color: #FFF } | |
993 | .yui-skin-sam tr.yui-dt-odd { background-color: #edf5ff } |
|
993 | .yui-skin-sam tr.yui-dt-odd { background-color: #edf5ff } | |
994 | .yui-skin-sam tr.yui-dt-even td.yui-dt-asc, |
|
994 | .yui-skin-sam tr.yui-dt-even td.yui-dt-asc, | |
995 | .yui-skin-sam tr.yui-dt-even td.yui-dt-desc { background-color: #edf5ff } |
|
995 | .yui-skin-sam tr.yui-dt-even td.yui-dt-desc { background-color: #edf5ff } | |
996 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-asc, |
|
996 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-asc, | |
997 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-desc { background-color: #dbeaff } |
|
997 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-desc { background-color: #dbeaff } | |
998 | .yui-skin-sam .yui-dt-list tr.yui-dt-even { background-color: #FFF } |
|
998 | .yui-skin-sam .yui-dt-list tr.yui-dt-even { background-color: #FFF } | |
999 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd { background-color: #FFF } |
|
999 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd { background-color: #FFF } | |
1000 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-asc, |
|
1000 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-asc, | |
1001 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-desc { background-color: #edf5ff } |
|
1001 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-desc { background-color: #edf5ff } | |
1002 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-asc, |
|
1002 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-asc, | |
1003 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-desc { background-color: #edf5ff } |
|
1003 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-desc { background-color: #edf5ff } | |
1004 | .yui-skin-sam th.yui-dt-highlighted, |
|
1004 | .yui-skin-sam th.yui-dt-highlighted, | |
1005 | .yui-skin-sam th.yui-dt-highlighted a { background-color: #b2d2ff } |
|
1005 | .yui-skin-sam th.yui-dt-highlighted a { background-color: #b2d2ff } | |
1006 | .yui-skin-sam tr.yui-dt-highlighted, |
|
1006 | .yui-skin-sam tr.yui-dt-highlighted, | |
1007 | .yui-skin-sam tr.yui-dt-highlighted td.yui-dt-asc, |
|
1007 | .yui-skin-sam tr.yui-dt-highlighted td.yui-dt-asc, | |
1008 | .yui-skin-sam tr.yui-dt-highlighted td.yui-dt-desc, |
|
1008 | .yui-skin-sam tr.yui-dt-highlighted td.yui-dt-desc, | |
1009 | .yui-skin-sam tr.yui-dt-even td.yui-dt-highlighted, |
|
1009 | .yui-skin-sam tr.yui-dt-even td.yui-dt-highlighted, | |
1010 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-highlighted { |
|
1010 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-highlighted { | |
1011 | cursor: pointer; |
|
1011 | cursor: pointer; | |
1012 | background-color: #b2d2ff; |
|
1012 | background-color: #b2d2ff; | |
1013 | } |
|
1013 | } | |
1014 | .yui-skin-sam .yui-dt-list th.yui-dt-highlighted, |
|
1014 | .yui-skin-sam .yui-dt-list th.yui-dt-highlighted, | |
1015 | .yui-skin-sam .yui-dt-list th.yui-dt-highlighted a { background-color: #b2d2ff } |
|
1015 | .yui-skin-sam .yui-dt-list th.yui-dt-highlighted a { background-color: #b2d2ff } | |
1016 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted, |
|
1016 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted, | |
1017 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-asc, |
|
1017 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-asc, | |
1018 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-desc, |
|
1018 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-desc, | |
1019 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-highlighted, |
|
1019 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-highlighted, | |
1020 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-highlighted { |
|
1020 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-highlighted { | |
1021 | cursor: pointer; |
|
1021 | cursor: pointer; | |
1022 | background-color: #b2d2ff; |
|
1022 | background-color: #b2d2ff; | |
1023 | } |
|
1023 | } | |
1024 | .yui-skin-sam th.yui-dt-selected, |
|
1024 | .yui-skin-sam th.yui-dt-selected, | |
1025 | .yui-skin-sam th.yui-dt-selected a { background-color: #446cd7 } |
|
1025 | .yui-skin-sam th.yui-dt-selected a { background-color: #446cd7 } | |
1026 | .yui-skin-sam tr.yui-dt-selected td, |
|
1026 | .yui-skin-sam tr.yui-dt-selected td, | |
1027 | .yui-skin-sam tr.yui-dt-selected td.yui-dt-asc, |
|
1027 | .yui-skin-sam tr.yui-dt-selected td.yui-dt-asc, | |
1028 | .yui-skin-sam tr.yui-dt-selected td.yui-dt-desc { |
|
1028 | .yui-skin-sam tr.yui-dt-selected td.yui-dt-desc { | |
1029 | background-color: #426fd9; |
|
1029 | background-color: #426fd9; | |
1030 | color: #FFF; |
|
1030 | color: #FFF; | |
1031 | } |
|
1031 | } | |
1032 | .yui-skin-sam tr.yui-dt-even td.yui-dt-selected, |
|
1032 | .yui-skin-sam tr.yui-dt-even td.yui-dt-selected, | |
1033 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-selected { |
|
1033 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-selected { | |
1034 | background-color: #446cd7; |
|
1034 | background-color: #446cd7; | |
1035 | color: #FFF; |
|
1035 | color: #FFF; | |
1036 | } |
|
1036 | } | |
1037 | .yui-skin-sam .yui-dt-list th.yui-dt-selected, |
|
1037 | .yui-skin-sam .yui-dt-list th.yui-dt-selected, | |
1038 | .yui-skin-sam .yui-dt-list th.yui-dt-selected a { background-color: #446cd7 } |
|
1038 | .yui-skin-sam .yui-dt-list th.yui-dt-selected a { background-color: #446cd7 } | |
1039 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td, |
|
1039 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td, | |
1040 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-asc, |
|
1040 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-asc, | |
1041 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-desc { |
|
1041 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-desc { | |
1042 | background-color: #426fd9; |
|
1042 | background-color: #426fd9; | |
1043 | color: #FFF; |
|
1043 | color: #FFF; | |
1044 | } |
|
1044 | } | |
1045 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-selected, |
|
1045 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-selected, | |
1046 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-selected { |
|
1046 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-selected { | |
1047 | background-color: #446cd7; |
|
1047 | background-color: #446cd7; | |
1048 | color: #FFF; |
|
1048 | color: #FFF; | |
1049 | } |
|
1049 | } | |
1050 | .yui-skin-sam .yui-dt-paginator { |
|
1050 | .yui-skin-sam .yui-dt-paginator { | |
1051 | display: block; |
|
1051 | display: block; | |
1052 | margin: 6px 0; |
|
1052 | margin: 6px 0; | |
1053 | white-space: nowrap; |
|
1053 | white-space: nowrap; | |
1054 | } |
|
1054 | } | |
1055 | .yui-skin-sam .yui-dt-paginator .yui-dt-first, |
|
1055 | .yui-skin-sam .yui-dt-paginator .yui-dt-first, | |
1056 | .yui-skin-sam .yui-dt-paginator .yui-dt-last, |
|
1056 | .yui-skin-sam .yui-dt-paginator .yui-dt-last, | |
1057 | .yui-skin-sam .yui-dt-paginator .yui-dt-selected { padding: 2px 6px } |
|
1057 | .yui-skin-sam .yui-dt-paginator .yui-dt-selected { padding: 2px 6px } | |
1058 | .yui-skin-sam .yui-dt-paginator a.yui-dt-first, |
|
1058 | .yui-skin-sam .yui-dt-paginator a.yui-dt-first, | |
1059 | .yui-skin-sam .yui-dt-paginator a.yui-dt-last { text-decoration: none } |
|
1059 | .yui-skin-sam .yui-dt-paginator a.yui-dt-last { text-decoration: none } | |
1060 | .yui-skin-sam .yui-dt-paginator .yui-dt-previous, |
|
1060 | .yui-skin-sam .yui-dt-paginator .yui-dt-previous, | |
1061 | .yui-skin-sam .yui-dt-paginator .yui-dt-next { display: none } |
|
1061 | .yui-skin-sam .yui-dt-paginator .yui-dt-next { display: none } | |
1062 | .yui-skin-sam a.yui-dt-page { |
|
1062 | .yui-skin-sam a.yui-dt-page { | |
1063 | border: 1px solid #cbcbcb; |
|
1063 | border: 1px solid #cbcbcb; | |
1064 | padding: 2px 6px; |
|
1064 | padding: 2px 6px; | |
1065 | text-decoration: none; |
|
1065 | text-decoration: none; | |
1066 | background-color: #fff; |
|
1066 | background-color: #fff; | |
1067 | } |
|
1067 | } | |
1068 | .yui-skin-sam .yui-dt-selected { |
|
1068 | .yui-skin-sam .yui-dt-selected { | |
1069 | border: 1px solid #fff; |
|
1069 | border: 1px solid #fff; | |
1070 | background-color: #fff; |
|
1070 | background-color: #fff; | |
1071 | } |
|
1071 | } | |
1072 |
|
1072 | |||
1073 | #content #left { |
|
1073 | #content #left { | |
1074 | left: 0; |
|
1074 | left: 0; | |
1075 | width: 280px; |
|
1075 | width: 280px; | |
1076 | position: absolute; |
|
1076 | position: absolute; | |
1077 | } |
|
1077 | } | |
1078 |
|
1078 | |||
1079 | #content #right { |
|
1079 | #content #right { | |
1080 | margin: 0 60px 10px 290px; |
|
1080 | margin: 0 60px 10px 290px; | |
1081 | } |
|
1081 | } | |
1082 |
|
1082 | |||
1083 | #content div.box { |
|
1083 | #content div.box { | |
1084 | clear: both; |
|
1084 | clear: both; | |
1085 | overflow: hidden; |
|
1085 | overflow: hidden; | |
1086 | background: #fff; |
|
1086 | background: #fff; | |
1087 | margin: 0 0 10px; |
|
1087 | margin: 0 0 10px; | |
1088 | padding: 0 0 10px; |
|
1088 | padding: 0 0 10px; | |
1089 | -webkit-border-radius: 4px 4px 4px 4px; |
|
1089 | -webkit-border-radius: 4px 4px 4px 4px; | |
1090 | -khtml-border-radius: 4px 4px 4px 4px; |
|
1090 | -khtml-border-radius: 4px 4px 4px 4px; | |
1091 | -moz-border-radius: 4px 4px 4px 4px; |
|
1091 | -moz-border-radius: 4px 4px 4px 4px; | |
1092 | border-radius: 4px 4px 4px 4px; |
|
1092 | border-radius: 4px 4px 4px 4px; | |
1093 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1093 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
1094 | } |
|
1094 | } | |
1095 |
|
1095 | |||
1096 | #content div.box-left { |
|
1096 | #content div.box-left { | |
1097 | width: 49%; |
|
1097 | width: 49%; | |
1098 | clear: none; |
|
1098 | clear: none; | |
1099 | float: left; |
|
1099 | float: left; | |
1100 | margin: 0 0 10px; |
|
1100 | margin: 0 0 10px; | |
1101 | } |
|
1101 | } | |
1102 |
|
1102 | |||
1103 | #content div.box-right { |
|
1103 | #content div.box-right { | |
1104 | width: 49%; |
|
1104 | width: 49%; | |
1105 | clear: none; |
|
1105 | clear: none; | |
1106 | float: right; |
|
1106 | float: right; | |
1107 | margin: 0 0 10px; |
|
1107 | margin: 0 0 10px; | |
1108 | } |
|
1108 | } | |
1109 |
|
1109 | |||
1110 | #content div.box div.title { |
|
1110 | #content div.box div.title { | |
1111 | clear: both; |
|
1111 | clear: both; | |
1112 | overflow: hidden; |
|
1112 | overflow: hidden; | |
1113 | background-color: #003B76; |
|
1113 | background-color: #003B76; | |
1114 | background-repeat: repeat-x; |
|
1114 | background-repeat: repeat-x; | |
1115 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); |
|
1115 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); | |
1116 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1116 | background-image: -moz-linear-gradient(top, #003b76, #00376e); | |
1117 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1117 | background-image: -ms-linear-gradient(top, #003b76, #00376e); | |
1118 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); |
|
1118 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); | |
1119 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); |
|
1119 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); | |
1120 | background-image: -o-linear-gradient(top, #003b76, #00376e); |
|
1120 | background-image: -o-linear-gradient(top, #003b76, #00376e); | |
1121 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1121 | background-image: linear-gradient(top, #003b76, #00376e); | |
1122 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', endColorstr='#00376e', GradientType=0 ); |
|
1122 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', endColorstr='#00376e', GradientType=0 ); | |
1123 | margin: 0 0 20px; |
|
1123 | margin: 0 0 20px; | |
1124 | padding: 0; |
|
1124 | padding: 0; | |
1125 | } |
|
1125 | } | |
1126 |
|
1126 | |||
1127 | #content div.box div.title h5 { |
|
1127 | #content div.box div.title h5 { | |
1128 | float: left; |
|
1128 | float: left; | |
1129 | border: none; |
|
1129 | border: none; | |
1130 | color: #fff; |
|
1130 | color: #fff; | |
1131 | text-transform: uppercase; |
|
1131 | text-transform: uppercase; | |
1132 | margin: 0; |
|
1132 | margin: 0; | |
1133 | padding: 11px 0 11px 10px; |
|
1133 | padding: 11px 0 11px 10px; | |
1134 | } |
|
1134 | } | |
1135 |
|
1135 | |||
1136 | #content div.box div.title .link-white{ |
|
1136 | #content div.box div.title .link-white{ | |
1137 | color: #FFFFFF; |
|
1137 | color: #FFFFFF; | |
1138 | } |
|
1138 | } | |
1139 |
|
1139 | |||
1140 | #content div.box div.title .link-white.current{ |
|
1140 | #content div.box div.title .link-white.current{ | |
1141 | color: #BFE3FF; |
|
1141 | color: #BFE3FF; | |
1142 | } |
|
1142 | } | |
1143 |
|
1143 | |||
1144 | #content div.box div.title ul.links li { |
|
1144 | #content div.box div.title ul.links li { | |
1145 | list-style: none; |
|
1145 | list-style: none; | |
1146 | float: left; |
|
1146 | float: left; | |
1147 | margin: 0; |
|
1147 | margin: 0; | |
1148 | padding: 0; |
|
1148 | padding: 0; | |
1149 | } |
|
1149 | } | |
1150 |
|
1150 | |||
1151 | #content div.box div.title ul.links li a { |
|
1151 | #content div.box div.title ul.links li a { | |
1152 | border-left: 1px solid #316293; |
|
1152 | border-left: 1px solid #316293; | |
1153 | color: #FFFFFF; |
|
1153 | color: #FFFFFF; | |
1154 | display: block; |
|
1154 | display: block; | |
1155 | float: left; |
|
1155 | float: left; | |
1156 | font-size: 13px; |
|
1156 | font-size: 13px; | |
1157 | font-weight: 700; |
|
1157 | font-weight: 700; | |
1158 | height: 1%; |
|
1158 | height: 1%; | |
1159 | margin: 0; |
|
1159 | margin: 0; | |
1160 | padding: 11px 22px 12px; |
|
1160 | padding: 11px 22px 12px; | |
1161 | text-decoration: none; |
|
1161 | text-decoration: none; | |
1162 | } |
|
1162 | } | |
1163 |
|
1163 | |||
1164 | #content div.box h1,#content div.box h2,#content div.box h3,#content div.box h4,#content div.box h5,#content div.box h6, |
|
1164 | #content div.box h1,#content div.box h2,#content div.box h3,#content div.box h4,#content div.box h5,#content div.box h6, | |
1165 | #content div.box div.h1,#content div.box div.h2,#content div.box div.h3,#content div.box div.h4,#content div.box div.h5,#content div.box div.h6 |
|
1165 | #content div.box div.h1,#content div.box div.h2,#content div.box div.h3,#content div.box div.h4,#content div.box div.h5,#content div.box div.h6 | |
1166 |
|
1166 | |||
1167 | { |
|
1167 | { | |
1168 | clear: both; |
|
1168 | clear: both; | |
1169 | overflow: hidden; |
|
1169 | overflow: hidden; | |
1170 | border-bottom: 1px solid #DDD; |
|
1170 | border-bottom: 1px solid #DDD; | |
1171 | margin: 10px 20px; |
|
1171 | margin: 10px 20px; | |
1172 | padding: 0 0 15px; |
|
1172 | padding: 0 0 15px; | |
1173 | } |
|
1173 | } | |
1174 |
|
1174 | |||
1175 | #content div.box p { |
|
1175 | #content div.box p { | |
1176 | color: #5f5f5f; |
|
1176 | color: #5f5f5f; | |
1177 | font-size: 12px; |
|
1177 | font-size: 12px; | |
1178 | line-height: 150%; |
|
1178 | line-height: 150%; | |
1179 | margin: 0 24px 10px; |
|
1179 | margin: 0 24px 10px; | |
1180 | padding: 0; |
|
1180 | padding: 0; | |
1181 | } |
|
1181 | } | |
1182 |
|
1182 | |||
1183 | #content div.box blockquote { |
|
1183 | #content div.box blockquote { | |
1184 | border-left: 4px solid #DDD; |
|
1184 | border-left: 4px solid #DDD; | |
1185 | color: #5f5f5f; |
|
1185 | color: #5f5f5f; | |
1186 | font-size: 11px; |
|
1186 | font-size: 11px; | |
1187 | line-height: 150%; |
|
1187 | line-height: 150%; | |
1188 | margin: 0 34px; |
|
1188 | margin: 0 34px; | |
1189 | padding: 0 0 0 14px; |
|
1189 | padding: 0 0 0 14px; | |
1190 | } |
|
1190 | } | |
1191 |
|
1191 | |||
1192 | #content div.box blockquote p { |
|
1192 | #content div.box blockquote p { | |
1193 | margin: 10px 0; |
|
1193 | margin: 10px 0; | |
1194 | padding: 0; |
|
1194 | padding: 0; | |
1195 | } |
|
1195 | } | |
1196 |
|
1196 | |||
1197 | #content div.box dl { |
|
1197 | #content div.box dl { | |
1198 | margin: 10px 0px; |
|
1198 | margin: 10px 0px; | |
1199 | } |
|
1199 | } | |
1200 |
|
1200 | |||
1201 | #content div.box dt { |
|
1201 | #content div.box dt { | |
1202 | font-size: 12px; |
|
1202 | font-size: 12px; | |
1203 | margin: 0; |
|
1203 | margin: 0; | |
1204 | } |
|
1204 | } | |
1205 |
|
1205 | |||
1206 | #content div.box dd { |
|
1206 | #content div.box dd { | |
1207 | font-size: 12px; |
|
1207 | font-size: 12px; | |
1208 | margin: 0; |
|
1208 | margin: 0; | |
1209 | padding: 8px 0 8px 15px; |
|
1209 | padding: 8px 0 8px 15px; | |
1210 | } |
|
1210 | } | |
1211 |
|
1211 | |||
1212 | #content div.box li { |
|
1212 | #content div.box li { | |
1213 | font-size: 12px; |
|
1213 | font-size: 12px; | |
1214 | padding: 4px 0; |
|
1214 | padding: 4px 0; | |
1215 | } |
|
1215 | } | |
1216 |
|
1216 | |||
1217 | #content div.box ul.disc,#content div.box ul.circle { |
|
1217 | #content div.box ul.disc,#content div.box ul.circle { | |
1218 | margin: 10px 24px 10px 38px; |
|
1218 | margin: 10px 24px 10px 38px; | |
1219 | } |
|
1219 | } | |
1220 |
|
1220 | |||
1221 | #content div.box ul.square { |
|
1221 | #content div.box ul.square { | |
1222 | margin: 10px 24px 10px 40px; |
|
1222 | margin: 10px 24px 10px 40px; | |
1223 | } |
|
1223 | } | |
1224 |
|
1224 | |||
1225 | #content div.box img.left { |
|
1225 | #content div.box img.left { | |
1226 | border: none; |
|
1226 | border: none; | |
1227 | float: left; |
|
1227 | float: left; | |
1228 | margin: 10px 10px 10px 0; |
|
1228 | margin: 10px 10px 10px 0; | |
1229 | } |
|
1229 | } | |
1230 |
|
1230 | |||
1231 | #content div.box img.right { |
|
1231 | #content div.box img.right { | |
1232 | border: none; |
|
1232 | border: none; | |
1233 | float: right; |
|
1233 | float: right; | |
1234 | margin: 10px 0 10px 10px; |
|
1234 | margin: 10px 0 10px 10px; | |
1235 | } |
|
1235 | } | |
1236 |
|
1236 | |||
1237 | #content div.box div.messages { |
|
1237 | #content div.box div.messages { | |
1238 | clear: both; |
|
1238 | clear: both; | |
1239 | overflow: hidden; |
|
1239 | overflow: hidden; | |
1240 | margin: 0 20px; |
|
1240 | margin: 0 20px; | |
1241 | padding: 0; |
|
1241 | padding: 0; | |
1242 | } |
|
1242 | } | |
1243 |
|
1243 | |||
1244 | #content div.box div.message { |
|
1244 | #content div.box div.message { | |
1245 | clear: both; |
|
1245 | clear: both; | |
1246 | overflow: hidden; |
|
1246 | overflow: hidden; | |
1247 | margin: 0; |
|
1247 | margin: 0; | |
1248 | padding: 5px 0; |
|
1248 | padding: 5px 0; | |
1249 | white-space: pre-wrap; |
|
1249 | white-space: pre-wrap; | |
1250 | } |
|
1250 | } | |
1251 | #content div.box div.expand { |
|
1251 | #content div.box div.expand { | |
1252 | width: 110%; |
|
1252 | width: 110%; | |
1253 | height:14px; |
|
1253 | height:14px; | |
1254 | font-size:10px; |
|
1254 | font-size:10px; | |
1255 | text-align:center; |
|
1255 | text-align:center; | |
1256 | cursor: pointer; |
|
1256 | cursor: pointer; | |
1257 | color:#666; |
|
1257 | color:#666; | |
1258 |
|
1258 | |||
1259 | background:-webkit-gradient(linear,0% 50%,100% 50%,color-stop(0%,rgba(255,255,255,0)),color-stop(100%,rgba(64,96,128,0.1))); |
|
1259 | background:-webkit-gradient(linear,0% 50%,100% 50%,color-stop(0%,rgba(255,255,255,0)),color-stop(100%,rgba(64,96,128,0.1))); | |
1260 | background:-webkit-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); |
|
1260 | background:-webkit-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); | |
1261 | background:-moz-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); |
|
1261 | background:-moz-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); | |
1262 | background:-o-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); |
|
1262 | background:-o-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); | |
1263 | background:-ms-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); |
|
1263 | background:-ms-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); | |
1264 | background:linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); |
|
1264 | background:linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); | |
1265 |
|
1265 | |||
1266 | display: none; |
|
1266 | display: none; | |
1267 | } |
|
1267 | } | |
1268 | #content div.box div.expand .expandtext { |
|
1268 | #content div.box div.expand .expandtext { | |
1269 | background-color: #ffffff; |
|
1269 | background-color: #ffffff; | |
1270 | padding: 2px; |
|
1270 | padding: 2px; | |
1271 | border-radius: 2px; |
|
1271 | border-radius: 2px; | |
1272 | } |
|
1272 | } | |
1273 |
|
1273 | |||
1274 | #content div.box div.message a { |
|
1274 | #content div.box div.message a { | |
1275 | font-weight: 400 !important; |
|
1275 | font-weight: 400 !important; | |
1276 | } |
|
1276 | } | |
1277 |
|
1277 | |||
1278 | #content div.box div.message div.image { |
|
1278 | #content div.box div.message div.image { | |
1279 | float: left; |
|
1279 | float: left; | |
1280 | margin: 9px 0 0 5px; |
|
1280 | margin: 9px 0 0 5px; | |
1281 | padding: 6px; |
|
1281 | padding: 6px; | |
1282 | } |
|
1282 | } | |
1283 |
|
1283 | |||
1284 | #content div.box div.message div.image img { |
|
1284 | #content div.box div.message div.image img { | |
1285 | vertical-align: middle; |
|
1285 | vertical-align: middle; | |
1286 | margin: 0; |
|
1286 | margin: 0; | |
1287 | } |
|
1287 | } | |
1288 |
|
1288 | |||
1289 | #content div.box div.message div.text { |
|
1289 | #content div.box div.message div.text { | |
1290 | float: left; |
|
1290 | float: left; | |
1291 | margin: 0; |
|
1291 | margin: 0; | |
1292 | padding: 9px 6px; |
|
1292 | padding: 9px 6px; | |
1293 | } |
|
1293 | } | |
1294 |
|
1294 | |||
1295 | #content div.box div.message div.dismiss a { |
|
1295 | #content div.box div.message div.dismiss a { | |
1296 | height: 16px; |
|
1296 | height: 16px; | |
1297 | width: 16px; |
|
1297 | width: 16px; | |
1298 | display: block; |
|
1298 | display: block; | |
1299 | background: url("../images/icons/cross.png") no-repeat; |
|
1299 | background: url("../images/icons/cross.png") no-repeat; | |
1300 | margin: 15px 14px 0 0; |
|
1300 | margin: 15px 14px 0 0; | |
1301 | padding: 0; |
|
1301 | padding: 0; | |
1302 | } |
|
1302 | } | |
1303 |
|
1303 | |||
1304 | #content div.box div.message div.text h1,#content div.box div.message div.text h2,#content div.box div.message div.text h3,#content div.box div.message div.text h4,#content div.box div.message div.text h5,#content div.box div.message div.text h6 |
|
1304 | #content div.box div.message div.text h1,#content div.box div.message div.text h2,#content div.box div.message div.text h3,#content div.box div.message div.text h4,#content div.box div.message div.text h5,#content div.box div.message div.text h6 | |
1305 | { |
|
1305 | { | |
1306 | border: none; |
|
1306 | border: none; | |
1307 | margin: 0; |
|
1307 | margin: 0; | |
1308 | padding: 0; |
|
1308 | padding: 0; | |
1309 | } |
|
1309 | } | |
1310 |
|
1310 | |||
1311 | #content div.box div.message div.text span { |
|
1311 | #content div.box div.message div.text span { | |
1312 | height: 1%; |
|
1312 | height: 1%; | |
1313 | display: block; |
|
1313 | display: block; | |
1314 | margin: 0; |
|
1314 | margin: 0; | |
1315 | padding: 5px 0 0; |
|
1315 | padding: 5px 0 0; | |
1316 | } |
|
1316 | } | |
1317 |
|
1317 | |||
1318 | #content div.box div.message-error { |
|
1318 | #content div.box div.message-error { | |
1319 | height: 1%; |
|
1319 | height: 1%; | |
1320 | clear: both; |
|
1320 | clear: both; | |
1321 | overflow: hidden; |
|
1321 | overflow: hidden; | |
1322 | background: #FBE3E4; |
|
1322 | background: #FBE3E4; | |
1323 | border: 1px solid #FBC2C4; |
|
1323 | border: 1px solid #FBC2C4; | |
1324 | color: #860006; |
|
1324 | color: #860006; | |
1325 | } |
|
1325 | } | |
1326 |
|
1326 | |||
1327 | #content div.box div.message-error h6 { |
|
1327 | #content div.box div.message-error h6 { | |
1328 | color: #860006; |
|
1328 | color: #860006; | |
1329 | } |
|
1329 | } | |
1330 |
|
1330 | |||
1331 | #content div.box div.message-warning { |
|
1331 | #content div.box div.message-warning { | |
1332 | height: 1%; |
|
1332 | height: 1%; | |
1333 | clear: both; |
|
1333 | clear: both; | |
1334 | overflow: hidden; |
|
1334 | overflow: hidden; | |
1335 | background: #FFF6BF; |
|
1335 | background: #FFF6BF; | |
1336 | border: 1px solid #FFD324; |
|
1336 | border: 1px solid #FFD324; | |
1337 | color: #5f5200; |
|
1337 | color: #5f5200; | |
1338 | } |
|
1338 | } | |
1339 |
|
1339 | |||
1340 | #content div.box div.message-warning h6 { |
|
1340 | #content div.box div.message-warning h6 { | |
1341 | color: #5f5200; |
|
1341 | color: #5f5200; | |
1342 | } |
|
1342 | } | |
1343 |
|
1343 | |||
1344 | #content div.box div.message-notice { |
|
1344 | #content div.box div.message-notice { | |
1345 | height: 1%; |
|
1345 | height: 1%; | |
1346 | clear: both; |
|
1346 | clear: both; | |
1347 | overflow: hidden; |
|
1347 | overflow: hidden; | |
1348 | background: #8FBDE0; |
|
1348 | background: #8FBDE0; | |
1349 | border: 1px solid #6BACDE; |
|
1349 | border: 1px solid #6BACDE; | |
1350 | color: #003863; |
|
1350 | color: #003863; | |
1351 | } |
|
1351 | } | |
1352 |
|
1352 | |||
1353 | #content div.box div.message-notice h6 { |
|
1353 | #content div.box div.message-notice h6 { | |
1354 | color: #003863; |
|
1354 | color: #003863; | |
1355 | } |
|
1355 | } | |
1356 |
|
1356 | |||
1357 | #content div.box div.message-success { |
|
1357 | #content div.box div.message-success { | |
1358 | height: 1%; |
|
1358 | height: 1%; | |
1359 | clear: both; |
|
1359 | clear: both; | |
1360 | overflow: hidden; |
|
1360 | overflow: hidden; | |
1361 | background: #E6EFC2; |
|
1361 | background: #E6EFC2; | |
1362 | border: 1px solid #C6D880; |
|
1362 | border: 1px solid #C6D880; | |
1363 | color: #4e6100; |
|
1363 | color: #4e6100; | |
1364 | } |
|
1364 | } | |
1365 |
|
1365 | |||
1366 | #content div.box div.message-success h6 { |
|
1366 | #content div.box div.message-success h6 { | |
1367 | color: #4e6100; |
|
1367 | color: #4e6100; | |
1368 | } |
|
1368 | } | |
1369 |
|
1369 | |||
1370 | #content div.box div.form div.fields div.field { |
|
1370 | #content div.box div.form div.fields div.field { | |
1371 | height: 1%; |
|
1371 | height: 1%; | |
1372 | border-bottom: 1px solid #DDD; |
|
1372 | border-bottom: 1px solid #DDD; | |
1373 | clear: both; |
|
1373 | clear: both; | |
1374 | margin: 0; |
|
1374 | margin: 0; | |
1375 | padding: 10px 0; |
|
1375 | padding: 10px 0; | |
1376 | } |
|
1376 | } | |
1377 |
|
1377 | |||
1378 | #content div.box div.form div.fields div.field-first { |
|
1378 | #content div.box div.form div.fields div.field-first { | |
1379 | padding: 0 0 10px; |
|
1379 | padding: 0 0 10px; | |
1380 | } |
|
1380 | } | |
1381 |
|
1381 | |||
1382 | #content div.box div.form div.fields div.field-noborder { |
|
1382 | #content div.box div.form div.fields div.field-noborder { | |
1383 | border-bottom: 0 !important; |
|
1383 | border-bottom: 0 !important; | |
1384 | } |
|
1384 | } | |
1385 |
|
1385 | |||
1386 | #content div.box div.form div.fields div.field span.error-message { |
|
1386 | #content div.box div.form div.fields div.field span.error-message { | |
1387 | height: 1%; |
|
1387 | height: 1%; | |
1388 | display: inline-block; |
|
1388 | display: inline-block; | |
1389 | color: red; |
|
1389 | color: red; | |
1390 | margin: 8px 0 0 4px; |
|
1390 | margin: 8px 0 0 4px; | |
1391 | padding: 0; |
|
1391 | padding: 0; | |
1392 | } |
|
1392 | } | |
1393 |
|
1393 | |||
1394 | #content div.box div.form div.fields div.field span.success { |
|
1394 | #content div.box div.form div.fields div.field span.success { | |
1395 | height: 1%; |
|
1395 | height: 1%; | |
1396 | display: block; |
|
1396 | display: block; | |
1397 | color: #316309; |
|
1397 | color: #316309; | |
1398 | margin: 8px 0 0; |
|
1398 | margin: 8px 0 0; | |
1399 | padding: 0; |
|
1399 | padding: 0; | |
1400 | } |
|
1400 | } | |
1401 |
|
1401 | |||
1402 | #content div.box div.form div.fields div.field div.label { |
|
1402 | #content div.box div.form div.fields div.field div.label { | |
1403 | left: 70px; |
|
1403 | left: 70px; | |
1404 | width: 155px; |
|
1404 | width: 155px; | |
1405 | position: absolute; |
|
1405 | position: absolute; | |
1406 | margin: 0; |
|
1406 | margin: 0; | |
1407 | padding: 5px 0 0 0px; |
|
1407 | padding: 5px 0 0 0px; | |
1408 | } |
|
1408 | } | |
1409 |
|
1409 | |||
1410 | #content div.box div.form div.fields div.field div.label-summary { |
|
1410 | #content div.box div.form div.fields div.field div.label-summary { | |
1411 | left: 30px; |
|
1411 | left: 30px; | |
1412 | width: 155px; |
|
1412 | width: 155px; | |
1413 | position: absolute; |
|
1413 | position: absolute; | |
1414 | margin: 0; |
|
1414 | margin: 0; | |
1415 | padding: 0px 0 0 0px; |
|
1415 | padding: 0px 0 0 0px; | |
1416 | } |
|
1416 | } | |
1417 |
|
1417 | |||
1418 | #content div.box-left div.form div.fields div.field div.label, |
|
1418 | #content div.box-left div.form div.fields div.field div.label, | |
1419 | #content div.box-right div.form div.fields div.field div.label, |
|
1419 | #content div.box-right div.form div.fields div.field div.label, | |
1420 | #content div.box-left div.form div.fields div.field div.label, |
|
1420 | #content div.box-left div.form div.fields div.field div.label, | |
1421 | #content div.box-left div.form div.fields div.field div.label-summary, |
|
1421 | #content div.box-left div.form div.fields div.field div.label-summary, | |
1422 | #content div.box-right div.form div.fields div.field div.label-summary, |
|
1422 | #content div.box-right div.form div.fields div.field div.label-summary, | |
1423 | #content div.box-left div.form div.fields div.field div.label-summary |
|
1423 | #content div.box-left div.form div.fields div.field div.label-summary | |
1424 | { |
|
1424 | { | |
1425 | clear: both; |
|
1425 | clear: both; | |
1426 | overflow: hidden; |
|
1426 | overflow: hidden; | |
1427 | left: 0; |
|
1427 | left: 0; | |
1428 | width: auto; |
|
1428 | width: auto; | |
1429 | position: relative; |
|
1429 | position: relative; | |
1430 | margin: 0; |
|
1430 | margin: 0; | |
1431 | padding: 0 0 8px; |
|
1431 | padding: 0 0 8px; | |
1432 | } |
|
1432 | } | |
1433 |
|
1433 | |||
1434 | #content div.box div.form div.fields div.field div.label-select { |
|
1434 | #content div.box div.form div.fields div.field div.label-select { | |
1435 | padding: 5px 0 0 5px; |
|
1435 | padding: 5px 0 0 5px; | |
1436 | } |
|
1436 | } | |
1437 |
|
1437 | |||
1438 | #content div.box-left div.form div.fields div.field div.label-select, |
|
1438 | #content div.box-left div.form div.fields div.field div.label-select, | |
1439 | #content div.box-right div.form div.fields div.field div.label-select |
|
1439 | #content div.box-right div.form div.fields div.field div.label-select | |
1440 | { |
|
1440 | { | |
1441 | padding: 0 0 8px; |
|
1441 | padding: 0 0 8px; | |
1442 | } |
|
1442 | } | |
1443 |
|
1443 | |||
1444 | #content div.box-left div.form div.fields div.field div.label-textarea, |
|
1444 | #content div.box-left div.form div.fields div.field div.label-textarea, | |
1445 | #content div.box-right div.form div.fields div.field div.label-textarea |
|
1445 | #content div.box-right div.form div.fields div.field div.label-textarea | |
1446 | { |
|
1446 | { | |
1447 | padding: 0 0 8px !important; |
|
1447 | padding: 0 0 8px !important; | |
1448 | } |
|
1448 | } | |
1449 |
|
1449 | |||
1450 | #content div.box div.form div.fields div.field div.label label,div.label label |
|
1450 | #content div.box div.form div.fields div.field div.label label,div.label label | |
1451 | { |
|
1451 | { | |
1452 | color: #393939; |
|
1452 | color: #393939; | |
1453 | font-weight: 700; |
|
1453 | font-weight: 700; | |
1454 | } |
|
1454 | } | |
1455 | #content div.box div.form div.fields div.field div.label label,div.label-summary label |
|
1455 | #content div.box div.form div.fields div.field div.label label,div.label-summary label | |
1456 | { |
|
1456 | { | |
1457 | color: #393939; |
|
1457 | color: #393939; | |
1458 | font-weight: 700; |
|
1458 | font-weight: 700; | |
1459 | } |
|
1459 | } | |
1460 | #content div.box div.form div.fields div.field div.input { |
|
1460 | #content div.box div.form div.fields div.field div.input { | |
1461 | margin: 0 0 0 200px; |
|
1461 | margin: 0 0 0 200px; | |
1462 | } |
|
1462 | } | |
1463 |
|
1463 | |||
1464 | #content div.box div.form div.fields div.field div.input.summary { |
|
1464 | #content div.box div.form div.fields div.field div.input.summary { | |
1465 | margin: 0 0 0 110px; |
|
1465 | margin: 0 0 0 110px; | |
1466 | } |
|
1466 | } | |
1467 | #content div.box div.form div.fields div.field div.input.summary-short { |
|
1467 | #content div.box div.form div.fields div.field div.input.summary-short { | |
1468 | margin: 0 0 0 110px; |
|
1468 | margin: 0 0 0 110px; | |
1469 | } |
|
1469 | } | |
1470 | #content div.box div.form div.fields div.field div.file { |
|
1470 | #content div.box div.form div.fields div.field div.file { | |
1471 | margin: 0 0 0 200px; |
|
1471 | margin: 0 0 0 200px; | |
1472 | } |
|
1472 | } | |
1473 |
|
1473 | |||
1474 | #content div.box-left div.form div.fields div.field div.input,#content div.box-right div.form div.fields div.field div.input |
|
1474 | #content div.box-left div.form div.fields div.field div.input,#content div.box-right div.form div.fields div.field div.input | |
1475 | { |
|
1475 | { | |
1476 | margin: 0 0 0 0px; |
|
1476 | margin: 0 0 0 0px; | |
1477 | } |
|
1477 | } | |
1478 |
|
1478 | |||
1479 | #content div.box div.form div.fields div.field div.input input, |
|
1479 | #content div.box div.form div.fields div.field div.input input, | |
1480 | .reviewer_ac input { |
|
1480 | .reviewer_ac input { | |
1481 | background: #FFF; |
|
1481 | background: #FFF; | |
1482 | border-top: 1px solid #b3b3b3; |
|
1482 | border-top: 1px solid #b3b3b3; | |
1483 | border-left: 1px solid #b3b3b3; |
|
1483 | border-left: 1px solid #b3b3b3; | |
1484 | border-right: 1px solid #eaeaea; |
|
1484 | border-right: 1px solid #eaeaea; | |
1485 | border-bottom: 1px solid #eaeaea; |
|
1485 | border-bottom: 1px solid #eaeaea; | |
1486 | color: #000; |
|
1486 | color: #000; | |
1487 | font-size: 11px; |
|
1487 | font-size: 11px; | |
1488 | margin: 0; |
|
1488 | margin: 0; | |
1489 | padding: 7px 7px 6px; |
|
1489 | padding: 7px 7px 6px; | |
1490 | } |
|
1490 | } | |
1491 |
|
1491 | |||
1492 | #content div.box div.form div.fields div.field div.input input#clone_url, |
|
1492 | #content div.box div.form div.fields div.field div.input input#clone_url, | |
1493 | #content div.box div.form div.fields div.field div.input input#clone_url_id |
|
1493 | #content div.box div.form div.fields div.field div.input input#clone_url_id | |
1494 | { |
|
1494 | { | |
1495 | font-size: 16px; |
|
1495 | font-size: 16px; | |
1496 | padding: 2px; |
|
1496 | padding: 2px; | |
1497 | } |
|
1497 | } | |
1498 |
|
1498 | |||
1499 | #content div.box div.form div.fields div.field div.file input { |
|
1499 | #content div.box div.form div.fields div.field div.file input { | |
1500 | background: none repeat scroll 0 0 #FFFFFF; |
|
1500 | background: none repeat scroll 0 0 #FFFFFF; | |
1501 | border-color: #B3B3B3 #EAEAEA #EAEAEA #B3B3B3; |
|
1501 | border-color: #B3B3B3 #EAEAEA #EAEAEA #B3B3B3; | |
1502 | border-style: solid; |
|
1502 | border-style: solid; | |
1503 | border-width: 1px; |
|
1503 | border-width: 1px; | |
1504 | color: #000000; |
|
1504 | color: #000000; | |
1505 | font-size: 11px; |
|
1505 | font-size: 11px; | |
1506 | margin: 0; |
|
1506 | margin: 0; | |
1507 | padding: 7px 7px 6px; |
|
1507 | padding: 7px 7px 6px; | |
1508 | } |
|
1508 | } | |
1509 |
|
1509 | |||
1510 | input.disabled { |
|
1510 | input.disabled { | |
1511 | background-color: #F5F5F5 !important; |
|
1511 | background-color: #F5F5F5 !important; | |
1512 | } |
|
1512 | } | |
1513 | #content div.box div.form div.fields div.field div.input input.small { |
|
1513 | #content div.box div.form div.fields div.field div.input input.small { | |
1514 | width: 30%; |
|
1514 | width: 30%; | |
1515 | } |
|
1515 | } | |
1516 |
|
1516 | |||
1517 | #content div.box div.form div.fields div.field div.input input.medium { |
|
1517 | #content div.box div.form div.fields div.field div.input input.medium { | |
1518 | width: 55%; |
|
1518 | width: 55%; | |
1519 | } |
|
1519 | } | |
1520 |
|
1520 | |||
1521 | #content div.box div.form div.fields div.field div.input input.large { |
|
1521 | #content div.box div.form div.fields div.field div.input input.large { | |
1522 | width: 85%; |
|
1522 | width: 85%; | |
1523 | } |
|
1523 | } | |
1524 |
|
1524 | |||
1525 | #content div.box div.form div.fields div.field div.input input.date { |
|
1525 | #content div.box div.form div.fields div.field div.input input.date { | |
1526 | width: 177px; |
|
1526 | width: 177px; | |
1527 | } |
|
1527 | } | |
1528 |
|
1528 | |||
1529 | #content div.box div.form div.fields div.field div.input input.button { |
|
1529 | #content div.box div.form div.fields div.field div.input input.button { | |
1530 | background: #D4D0C8; |
|
1530 | background: #D4D0C8; | |
1531 | border-top: 1px solid #FFF; |
|
1531 | border-top: 1px solid #FFF; | |
1532 | border-left: 1px solid #FFF; |
|
1532 | border-left: 1px solid #FFF; | |
1533 | border-right: 1px solid #404040; |
|
1533 | border-right: 1px solid #404040; | |
1534 | border-bottom: 1px solid #404040; |
|
1534 | border-bottom: 1px solid #404040; | |
1535 | color: #000; |
|
1535 | color: #000; | |
1536 | margin: 0; |
|
1536 | margin: 0; | |
1537 | padding: 4px 8px; |
|
1537 | padding: 4px 8px; | |
1538 | } |
|
1538 | } | |
1539 |
|
1539 | |||
1540 | #content div.box div.form div.fields div.field div.textarea { |
|
1540 | #content div.box div.form div.fields div.field div.textarea { | |
1541 | border-top: 1px solid #b3b3b3; |
|
1541 | border-top: 1px solid #b3b3b3; | |
1542 | border-left: 1px solid #b3b3b3; |
|
1542 | border-left: 1px solid #b3b3b3; | |
1543 | border-right: 1px solid #eaeaea; |
|
1543 | border-right: 1px solid #eaeaea; | |
1544 | border-bottom: 1px solid #eaeaea; |
|
1544 | border-bottom: 1px solid #eaeaea; | |
1545 | margin: 0 0 0 200px; |
|
1545 | margin: 0 0 0 200px; | |
1546 | padding: 10px; |
|
1546 | padding: 10px; | |
1547 | } |
|
1547 | } | |
1548 |
|
1548 | |||
1549 | #content div.box div.form div.fields div.field div.textarea-editor { |
|
1549 | #content div.box div.form div.fields div.field div.textarea-editor { | |
1550 | border: 1px solid #ddd; |
|
1550 | border: 1px solid #ddd; | |
1551 | padding: 0; |
|
1551 | padding: 0; | |
1552 | } |
|
1552 | } | |
1553 |
|
1553 | |||
1554 | #content div.box div.form div.fields div.field div.textarea textarea { |
|
1554 | #content div.box div.form div.fields div.field div.textarea textarea { | |
1555 | width: 100%; |
|
1555 | width: 100%; | |
1556 | height: 220px; |
|
1556 | height: 220px; | |
1557 | overflow: hidden; |
|
1557 | overflow: hidden; | |
1558 | background: #FFF; |
|
1558 | background: #FFF; | |
1559 | color: #000; |
|
1559 | color: #000; | |
1560 | font-size: 11px; |
|
1560 | font-size: 11px; | |
1561 | outline: none; |
|
1561 | outline: none; | |
1562 | border-width: 0; |
|
1562 | border-width: 0; | |
1563 | margin: 0; |
|
1563 | margin: 0; | |
1564 | padding: 0; |
|
1564 | padding: 0; | |
1565 | } |
|
1565 | } | |
1566 |
|
1566 | |||
1567 | #content div.box-left div.form div.fields div.field div.textarea textarea,#content div.box-right div.form div.fields div.field div.textarea textarea |
|
1567 | #content div.box-left div.form div.fields div.field div.textarea textarea,#content div.box-right div.form div.fields div.field div.textarea textarea | |
1568 | { |
|
1568 | { | |
1569 | width: 100%; |
|
1569 | width: 100%; | |
1570 | height: 100px; |
|
1570 | height: 100px; | |
1571 | } |
|
1571 | } | |
1572 |
|
1572 | |||
1573 | #content div.box div.form div.fields div.field div.textarea table { |
|
1573 | #content div.box div.form div.fields div.field div.textarea table { | |
1574 | width: 100%; |
|
1574 | width: 100%; | |
1575 | border: none; |
|
1575 | border: none; | |
1576 | margin: 0; |
|
1576 | margin: 0; | |
1577 | padding: 0; |
|
1577 | padding: 0; | |
1578 | } |
|
1578 | } | |
1579 |
|
1579 | |||
1580 | #content div.box div.form div.fields div.field div.textarea table td { |
|
1580 | #content div.box div.form div.fields div.field div.textarea table td { | |
1581 | background: #DDD; |
|
1581 | background: #DDD; | |
1582 | border: none; |
|
1582 | border: none; | |
1583 | padding: 0; |
|
1583 | padding: 0; | |
1584 | } |
|
1584 | } | |
1585 |
|
1585 | |||
1586 | #content div.box div.form div.fields div.field div.textarea table td table |
|
1586 | #content div.box div.form div.fields div.field div.textarea table td table | |
1587 | { |
|
1587 | { | |
1588 | width: auto; |
|
1588 | width: auto; | |
1589 | border: none; |
|
1589 | border: none; | |
1590 | margin: 0; |
|
1590 | margin: 0; | |
1591 | padding: 0; |
|
1591 | padding: 0; | |
1592 | } |
|
1592 | } | |
1593 |
|
1593 | |||
1594 | #content div.box div.form div.fields div.field div.textarea table td table td |
|
1594 | #content div.box div.form div.fields div.field div.textarea table td table td | |
1595 | { |
|
1595 | { | |
1596 | font-size: 11px; |
|
1596 | font-size: 11px; | |
1597 | padding: 5px 5px 5px 0; |
|
1597 | padding: 5px 5px 5px 0; | |
1598 | } |
|
1598 | } | |
1599 |
|
1599 | |||
1600 | #content div.box div.form div.fields div.field input[type=text]:focus, |
|
1600 | #content div.box div.form div.fields div.field input[type=text]:focus, | |
1601 | #content div.box div.form div.fields div.field input[type=password]:focus, |
|
1601 | #content div.box div.form div.fields div.field input[type=password]:focus, | |
1602 | #content div.box div.form div.fields div.field input[type=file]:focus, |
|
1602 | #content div.box div.form div.fields div.field input[type=file]:focus, | |
1603 | #content div.box div.form div.fields div.field textarea:focus, |
|
1603 | #content div.box div.form div.fields div.field textarea:focus, | |
1604 | #content div.box div.form div.fields div.field select:focus, |
|
1604 | #content div.box div.form div.fields div.field select:focus, | |
1605 | .reviewer_ac input:focus |
|
1605 | .reviewer_ac input:focus | |
1606 | { |
|
1606 | { | |
1607 | background: #f6f6f6; |
|
1607 | background: #f6f6f6; | |
1608 | border-color: #666; |
|
1608 | border-color: #666; | |
1609 | } |
|
1609 | } | |
1610 |
|
1610 | |||
1611 | .reviewer_ac { |
|
1611 | .reviewer_ac { | |
1612 | padding:10px |
|
1612 | padding:10px | |
1613 | } |
|
1613 | } | |
1614 |
|
1614 | |||
1615 | div.form div.fields div.field div.button { |
|
1615 | div.form div.fields div.field div.button { | |
1616 | margin: 0; |
|
1616 | margin: 0; | |
1617 | padding: 0 0 0 8px; |
|
1617 | padding: 0 0 0 8px; | |
1618 | } |
|
1618 | } | |
1619 | #content div.box table.noborder { |
|
1619 | #content div.box table.noborder { | |
1620 | border: 1px solid transparent; |
|
1620 | border: 1px solid transparent; | |
1621 | } |
|
1621 | } | |
1622 |
|
1622 | |||
1623 | #content div.box table { |
|
1623 | #content div.box table { | |
1624 | width: 100%; |
|
1624 | width: 100%; | |
1625 | border-collapse: separate; |
|
1625 | border-collapse: separate; | |
1626 | margin: 0; |
|
1626 | margin: 0; | |
1627 | padding: 0; |
|
1627 | padding: 0; | |
1628 | border: 1px solid #eee; |
|
1628 | border: 1px solid #eee; | |
1629 | -webkit-border-radius: 4px; |
|
1629 | -webkit-border-radius: 4px; | |
1630 | -moz-border-radius: 4px; |
|
1630 | -moz-border-radius: 4px; | |
1631 | border-radius: 4px; |
|
1631 | border-radius: 4px; | |
1632 | } |
|
1632 | } | |
1633 |
|
1633 | |||
1634 | #content div.box table th { |
|
1634 | #content div.box table th { | |
1635 | background: #eee; |
|
1635 | background: #eee; | |
1636 | border-bottom: 1px solid #ddd; |
|
1636 | border-bottom: 1px solid #ddd; | |
1637 | padding: 5px 0px 5px 5px; |
|
1637 | padding: 5px 0px 5px 5px; | |
1638 | text-align: left; |
|
1638 | text-align: left; | |
1639 | } |
|
1639 | } | |
1640 |
|
1640 | |||
1641 | #content div.box table th.left { |
|
1641 | #content div.box table th.left { | |
1642 | text-align: left; |
|
1642 | text-align: left; | |
1643 | } |
|
1643 | } | |
1644 |
|
1644 | |||
1645 | #content div.box table th.right { |
|
1645 | #content div.box table th.right { | |
1646 | text-align: right; |
|
1646 | text-align: right; | |
1647 | } |
|
1647 | } | |
1648 |
|
1648 | |||
1649 | #content div.box table th.center { |
|
1649 | #content div.box table th.center { | |
1650 | text-align: center; |
|
1650 | text-align: center; | |
1651 | } |
|
1651 | } | |
1652 |
|
1652 | |||
1653 | #content div.box table th.selected { |
|
1653 | #content div.box table th.selected { | |
1654 | vertical-align: middle; |
|
1654 | vertical-align: middle; | |
1655 | padding: 0; |
|
1655 | padding: 0; | |
1656 | } |
|
1656 | } | |
1657 |
|
1657 | |||
1658 | #content div.box table td { |
|
1658 | #content div.box table td { | |
1659 | background: #fff; |
|
1659 | background: #fff; | |
1660 | border-bottom: 1px solid #cdcdcd; |
|
1660 | border-bottom: 1px solid #cdcdcd; | |
1661 | vertical-align: middle; |
|
1661 | vertical-align: middle; | |
1662 | padding: 5px; |
|
1662 | padding: 5px; | |
1663 | } |
|
1663 | } | |
1664 |
|
1664 | |||
1665 | #content div.box table tr.selected td { |
|
1665 | #content div.box table tr.selected td { | |
1666 | background: #FFC; |
|
1666 | background: #FFC; | |
1667 | } |
|
1667 | } | |
1668 |
|
1668 | |||
1669 | #content div.box table td.selected { |
|
1669 | #content div.box table td.selected { | |
1670 | width: 3%; |
|
1670 | width: 3%; | |
1671 | text-align: center; |
|
1671 | text-align: center; | |
1672 | vertical-align: middle; |
|
1672 | vertical-align: middle; | |
1673 | padding: 0; |
|
1673 | padding: 0; | |
1674 | } |
|
1674 | } | |
1675 |
|
1675 | |||
1676 | #content div.box table td.action { |
|
1676 | #content div.box table td.action { | |
1677 | width: 45%; |
|
1677 | width: 45%; | |
1678 | text-align: left; |
|
1678 | text-align: left; | |
1679 | } |
|
1679 | } | |
1680 |
|
1680 | |||
1681 | #content div.box table td.date { |
|
1681 | #content div.box table td.date { | |
1682 | width: 33%; |
|
1682 | width: 33%; | |
1683 | text-align: center; |
|
1683 | text-align: center; | |
1684 | } |
|
1684 | } | |
1685 |
|
1685 | |||
1686 | #content div.box div.action { |
|
1686 | #content div.box div.action { | |
1687 | float: right; |
|
1687 | float: right; | |
1688 | background: #FFF; |
|
1688 | background: #FFF; | |
1689 | text-align: right; |
|
1689 | text-align: right; | |
1690 | margin: 10px 0 0; |
|
1690 | margin: 10px 0 0; | |
1691 | padding: 0; |
|
1691 | padding: 0; | |
1692 | } |
|
1692 | } | |
1693 |
|
1693 | |||
1694 | #content div.box div.action select { |
|
1694 | #content div.box div.action select { | |
1695 | font-size: 11px; |
|
1695 | font-size: 11px; | |
1696 | margin: 0; |
|
1696 | margin: 0; | |
1697 | } |
|
1697 | } | |
1698 |
|
1698 | |||
1699 | #content div.box div.action .ui-selectmenu { |
|
1699 | #content div.box div.action .ui-selectmenu { | |
1700 | margin: 0; |
|
1700 | margin: 0; | |
1701 | padding: 0; |
|
1701 | padding: 0; | |
1702 | } |
|
1702 | } | |
1703 |
|
1703 | |||
1704 | #content div.box div.pagination { |
|
1704 | #content div.box div.pagination { | |
1705 | height: 1%; |
|
1705 | height: 1%; | |
1706 | clear: both; |
|
1706 | clear: both; | |
1707 | overflow: hidden; |
|
1707 | overflow: hidden; | |
1708 | margin: 10px 0 0; |
|
1708 | margin: 10px 0 0; | |
1709 | padding: 0; |
|
1709 | padding: 0; | |
1710 | } |
|
1710 | } | |
1711 |
|
1711 | |||
1712 | #content div.box div.pagination ul.pager { |
|
1712 | #content div.box div.pagination ul.pager { | |
1713 | float: right; |
|
1713 | float: right; | |
1714 | text-align: right; |
|
1714 | text-align: right; | |
1715 | margin: 0; |
|
1715 | margin: 0; | |
1716 | padding: 0; |
|
1716 | padding: 0; | |
1717 | } |
|
1717 | } | |
1718 |
|
1718 | |||
1719 | #content div.box div.pagination ul.pager li { |
|
1719 | #content div.box div.pagination ul.pager li { | |
1720 | height: 1%; |
|
1720 | height: 1%; | |
1721 | float: left; |
|
1721 | float: left; | |
1722 | list-style: none; |
|
1722 | list-style: none; | |
1723 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
1723 | background: #ebebeb url("../images/pager.png") repeat-x; | |
1724 | border-top: 1px solid #dedede; |
|
1724 | border-top: 1px solid #dedede; | |
1725 | border-left: 1px solid #cfcfcf; |
|
1725 | border-left: 1px solid #cfcfcf; | |
1726 | border-right: 1px solid #c4c4c4; |
|
1726 | border-right: 1px solid #c4c4c4; | |
1727 | border-bottom: 1px solid #c4c4c4; |
|
1727 | border-bottom: 1px solid #c4c4c4; | |
1728 | color: #4A4A4A; |
|
1728 | color: #4A4A4A; | |
1729 | font-weight: 700; |
|
1729 | font-weight: 700; | |
1730 | margin: 0 0 0 4px; |
|
1730 | margin: 0 0 0 4px; | |
1731 | padding: 0; |
|
1731 | padding: 0; | |
1732 | } |
|
1732 | } | |
1733 |
|
1733 | |||
1734 | #content div.box div.pagination ul.pager li.separator { |
|
1734 | #content div.box div.pagination ul.pager li.separator { | |
1735 | padding: 6px; |
|
1735 | padding: 6px; | |
1736 | } |
|
1736 | } | |
1737 |
|
1737 | |||
1738 | #content div.box div.pagination ul.pager li.current { |
|
1738 | #content div.box div.pagination ul.pager li.current { | |
1739 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1739 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; | |
1740 | border-top: 1px solid #ccc; |
|
1740 | border-top: 1px solid #ccc; | |
1741 | border-left: 1px solid #bebebe; |
|
1741 | border-left: 1px solid #bebebe; | |
1742 | border-right: 1px solid #b1b1b1; |
|
1742 | border-right: 1px solid #b1b1b1; | |
1743 | border-bottom: 1px solid #afafaf; |
|
1743 | border-bottom: 1px solid #afafaf; | |
1744 | color: #515151; |
|
1744 | color: #515151; | |
1745 | padding: 6px; |
|
1745 | padding: 6px; | |
1746 | } |
|
1746 | } | |
1747 |
|
1747 | |||
1748 | #content div.box div.pagination ul.pager li a { |
|
1748 | #content div.box div.pagination ul.pager li a { | |
1749 | height: 1%; |
|
1749 | height: 1%; | |
1750 | display: block; |
|
1750 | display: block; | |
1751 | float: left; |
|
1751 | float: left; | |
1752 | color: #515151; |
|
1752 | color: #515151; | |
1753 | text-decoration: none; |
|
1753 | text-decoration: none; | |
1754 | margin: 0; |
|
1754 | margin: 0; | |
1755 | padding: 6px; |
|
1755 | padding: 6px; | |
1756 | } |
|
1756 | } | |
1757 |
|
1757 | |||
1758 | #content div.box div.pagination ul.pager li a:hover,#content div.box div.pagination ul.pager li a:active |
|
1758 | #content div.box div.pagination ul.pager li a:hover,#content div.box div.pagination ul.pager li a:active | |
1759 | { |
|
1759 | { | |
1760 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1760 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; | |
1761 | border-top: 1px solid #ccc; |
|
1761 | border-top: 1px solid #ccc; | |
1762 | border-left: 1px solid #bebebe; |
|
1762 | border-left: 1px solid #bebebe; | |
1763 | border-right: 1px solid #b1b1b1; |
|
1763 | border-right: 1px solid #b1b1b1; | |
1764 | border-bottom: 1px solid #afafaf; |
|
1764 | border-bottom: 1px solid #afafaf; | |
1765 | margin: -1px; |
|
1765 | margin: -1px; | |
1766 | } |
|
1766 | } | |
1767 |
|
1767 | |||
1768 | #content div.box div.pagination-wh { |
|
1768 | #content div.box div.pagination-wh { | |
1769 | height: 1%; |
|
1769 | height: 1%; | |
1770 | clear: both; |
|
1770 | clear: both; | |
1771 | overflow: hidden; |
|
1771 | overflow: hidden; | |
1772 | text-align: right; |
|
1772 | text-align: right; | |
1773 | margin: 10px 0 0; |
|
1773 | margin: 10px 0 0; | |
1774 | padding: 0; |
|
1774 | padding: 0; | |
1775 | } |
|
1775 | } | |
1776 |
|
1776 | |||
1777 | #content div.box div.pagination-right { |
|
1777 | #content div.box div.pagination-right { | |
1778 | float: right; |
|
1778 | float: right; | |
1779 | } |
|
1779 | } | |
1780 |
|
1780 | |||
1781 | #content div.box div.pagination-wh a, |
|
1781 | #content div.box div.pagination-wh a, | |
1782 | #content div.box div.pagination-wh span.pager_dotdot, |
|
1782 | #content div.box div.pagination-wh span.pager_dotdot, | |
1783 | #content div.box div.pagination-wh span.yui-pg-previous, |
|
1783 | #content div.box div.pagination-wh span.yui-pg-previous, | |
1784 | #content div.box div.pagination-wh span.yui-pg-last, |
|
1784 | #content div.box div.pagination-wh span.yui-pg-last, | |
1785 | #content div.box div.pagination-wh span.yui-pg-next, |
|
1785 | #content div.box div.pagination-wh span.yui-pg-next, | |
1786 | #content div.box div.pagination-wh span.yui-pg-first |
|
1786 | #content div.box div.pagination-wh span.yui-pg-first | |
1787 | { |
|
1787 | { | |
1788 | height: 1%; |
|
1788 | height: 1%; | |
1789 | float: left; |
|
1789 | float: left; | |
1790 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
1790 | background: #ebebeb url("../images/pager.png") repeat-x; | |
1791 | border-top: 1px solid #dedede; |
|
1791 | border-top: 1px solid #dedede; | |
1792 | border-left: 1px solid #cfcfcf; |
|
1792 | border-left: 1px solid #cfcfcf; | |
1793 | border-right: 1px solid #c4c4c4; |
|
1793 | border-right: 1px solid #c4c4c4; | |
1794 | border-bottom: 1px solid #c4c4c4; |
|
1794 | border-bottom: 1px solid #c4c4c4; | |
1795 | color: #4A4A4A; |
|
1795 | color: #4A4A4A; | |
1796 | font-weight: 700; |
|
1796 | font-weight: 700; | |
1797 | margin: 0 0 0 4px; |
|
1797 | margin: 0 0 0 4px; | |
1798 | padding: 6px; |
|
1798 | padding: 6px; | |
1799 | } |
|
1799 | } | |
1800 |
|
1800 | |||
1801 | #content div.box div.pagination-wh span.pager_curpage { |
|
1801 | #content div.box div.pagination-wh span.pager_curpage { | |
1802 | height: 1%; |
|
1802 | height: 1%; | |
1803 | float: left; |
|
1803 | float: left; | |
1804 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1804 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; | |
1805 | border-top: 1px solid #ccc; |
|
1805 | border-top: 1px solid #ccc; | |
1806 | border-left: 1px solid #bebebe; |
|
1806 | border-left: 1px solid #bebebe; | |
1807 | border-right: 1px solid #b1b1b1; |
|
1807 | border-right: 1px solid #b1b1b1; | |
1808 | border-bottom: 1px solid #afafaf; |
|
1808 | border-bottom: 1px solid #afafaf; | |
1809 | color: #515151; |
|
1809 | color: #515151; | |
1810 | font-weight: 700; |
|
1810 | font-weight: 700; | |
1811 | margin: 0 0 0 4px; |
|
1811 | margin: 0 0 0 4px; | |
1812 | padding: 6px; |
|
1812 | padding: 6px; | |
1813 | } |
|
1813 | } | |
1814 |
|
1814 | |||
1815 | #content div.box div.pagination-wh a:hover,#content div.box div.pagination-wh a:active |
|
1815 | #content div.box div.pagination-wh a:hover,#content div.box div.pagination-wh a:active | |
1816 | { |
|
1816 | { | |
1817 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1817 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; | |
1818 | border-top: 1px solid #ccc; |
|
1818 | border-top: 1px solid #ccc; | |
1819 | border-left: 1px solid #bebebe; |
|
1819 | border-left: 1px solid #bebebe; | |
1820 | border-right: 1px solid #b1b1b1; |
|
1820 | border-right: 1px solid #b1b1b1; | |
1821 | border-bottom: 1px solid #afafaf; |
|
1821 | border-bottom: 1px solid #afafaf; | |
1822 | text-decoration: none; |
|
1822 | text-decoration: none; | |
1823 | } |
|
1823 | } | |
1824 |
|
1824 | |||
1825 | #content div.box div.traffic div.legend { |
|
1825 | #content div.box div.traffic div.legend { | |
1826 | clear: both; |
|
1826 | clear: both; | |
1827 | overflow: hidden; |
|
1827 | overflow: hidden; | |
1828 | border-bottom: 1px solid #ddd; |
|
1828 | border-bottom: 1px solid #ddd; | |
1829 | margin: 0 0 10px; |
|
1829 | margin: 0 0 10px; | |
1830 | padding: 0 0 10px; |
|
1830 | padding: 0 0 10px; | |
1831 | } |
|
1831 | } | |
1832 |
|
1832 | |||
1833 | #content div.box div.traffic div.legend h6 { |
|
1833 | #content div.box div.traffic div.legend h6 { | |
1834 | float: left; |
|
1834 | float: left; | |
1835 | border: none; |
|
1835 | border: none; | |
1836 | margin: 0; |
|
1836 | margin: 0; | |
1837 | padding: 0; |
|
1837 | padding: 0; | |
1838 | } |
|
1838 | } | |
1839 |
|
1839 | |||
1840 | #content div.box div.traffic div.legend li { |
|
1840 | #content div.box div.traffic div.legend li { | |
1841 | list-style: none; |
|
1841 | list-style: none; | |
1842 | float: left; |
|
1842 | float: left; | |
1843 | font-size: 11px; |
|
1843 | font-size: 11px; | |
1844 | margin: 0; |
|
1844 | margin: 0; | |
1845 | padding: 0 8px 0 4px; |
|
1845 | padding: 0 8px 0 4px; | |
1846 | } |
|
1846 | } | |
1847 |
|
1847 | |||
1848 | #content div.box div.traffic div.legend li.visits { |
|
1848 | #content div.box div.traffic div.legend li.visits { | |
1849 | border-left: 12px solid #edc240; |
|
1849 | border-left: 12px solid #edc240; | |
1850 | } |
|
1850 | } | |
1851 |
|
1851 | |||
1852 | #content div.box div.traffic div.legend li.pageviews { |
|
1852 | #content div.box div.traffic div.legend li.pageviews { | |
1853 | border-left: 12px solid #afd8f8; |
|
1853 | border-left: 12px solid #afd8f8; | |
1854 | } |
|
1854 | } | |
1855 |
|
1855 | |||
1856 | #content div.box div.traffic table { |
|
1856 | #content div.box div.traffic table { | |
1857 | width: auto; |
|
1857 | width: auto; | |
1858 | } |
|
1858 | } | |
1859 |
|
1859 | |||
1860 | #content div.box div.traffic table td { |
|
1860 | #content div.box div.traffic table td { | |
1861 | background: transparent; |
|
1861 | background: transparent; | |
1862 | border: none; |
|
1862 | border: none; | |
1863 | padding: 2px 3px 3px; |
|
1863 | padding: 2px 3px 3px; | |
1864 | } |
|
1864 | } | |
1865 |
|
1865 | |||
1866 | #content div.box div.traffic table td.legendLabel { |
|
1866 | #content div.box div.traffic table td.legendLabel { | |
1867 | padding: 0 3px 2px; |
|
1867 | padding: 0 3px 2px; | |
1868 | } |
|
1868 | } | |
1869 |
|
1869 | |||
1870 | #summary { |
|
1870 | #summary { | |
1871 |
|
1871 | |||
1872 | } |
|
1872 | } | |
1873 |
|
1873 | |||
1874 | #summary .metatag { |
|
1874 | #summary .metatag { | |
1875 | display: inline-block; |
|
1875 | display: inline-block; | |
1876 | padding: 3px 5px; |
|
1876 | padding: 3px 5px; | |
1877 | margin-bottom: 3px; |
|
1877 | margin-bottom: 3px; | |
1878 | margin-right: 1px; |
|
1878 | margin-right: 1px; | |
1879 | border-radius: 5px; |
|
1879 | border-radius: 5px; | |
1880 | } |
|
1880 | } | |
1881 |
|
1881 | |||
1882 | #content div.box #summary p { |
|
1882 | #content div.box #summary p { | |
1883 | margin-bottom: -5px; |
|
1883 | margin-bottom: -5px; | |
1884 | width: 600px; |
|
1884 | width: 600px; | |
1885 | white-space: pre-wrap; |
|
1885 | white-space: pre-wrap; | |
1886 | } |
|
1886 | } | |
1887 |
|
1887 | |||
1888 | #content div.box #summary p:last-child { |
|
1888 | #content div.box #summary p:last-child { | |
1889 | margin-bottom: 9px; |
|
1889 | margin-bottom: 9px; | |
1890 | } |
|
1890 | } | |
1891 |
|
1891 | |||
1892 | #content div.box #summary p:first-of-type { |
|
1892 | #content div.box #summary p:first-of-type { | |
1893 | margin-top: 9px; |
|
1893 | margin-top: 9px; | |
1894 | } |
|
1894 | } | |
1895 |
|
1895 | |||
1896 | .metatag { |
|
1896 | .metatag { | |
1897 | display: inline-block; |
|
1897 | display: inline-block; | |
1898 | margin-right: 1px; |
|
1898 | margin-right: 1px; | |
1899 | -webkit-border-radius: 4px 4px 4px 4px; |
|
1899 | -webkit-border-radius: 4px 4px 4px 4px; | |
1900 | -khtml-border-radius: 4px 4px 4px 4px; |
|
1900 | -khtml-border-radius: 4px 4px 4px 4px; | |
1901 | -moz-border-radius: 4px 4px 4px 4px; |
|
1901 | -moz-border-radius: 4px 4px 4px 4px; | |
1902 | border-radius: 4px 4px 4px 4px; |
|
1902 | border-radius: 4px 4px 4px 4px; | |
1903 |
|
1903 | |||
1904 | border: solid 1px #9CF; |
|
1904 | border: solid 1px #9CF; | |
1905 | padding: 2px 3px 2px 3px !important; |
|
1905 | padding: 2px 3px 2px 3px !important; | |
1906 | background-color: #DEF; |
|
1906 | background-color: #DEF; | |
1907 | } |
|
1907 | } | |
1908 |
|
1908 | |||
1909 | .metatag[tag="dead"] { |
|
1909 | .metatag[tag="dead"] { | |
1910 | background-color: #E44; |
|
1910 | background-color: #E44; | |
1911 | } |
|
1911 | } | |
1912 |
|
1912 | |||
1913 | .metatag[tag="stale"] { |
|
1913 | .metatag[tag="stale"] { | |
1914 | background-color: #EA4; |
|
1914 | background-color: #EA4; | |
1915 | } |
|
1915 | } | |
1916 |
|
1916 | |||
1917 | .metatag[tag="featured"] { |
|
1917 | .metatag[tag="featured"] { | |
1918 | background-color: #AEA; |
|
1918 | background-color: #AEA; | |
1919 | } |
|
1919 | } | |
1920 |
|
1920 | |||
1921 | .metatag[tag="requires"] { |
|
1921 | .metatag[tag="requires"] { | |
1922 | background-color: #9CF; |
|
1922 | background-color: #9CF; | |
1923 | } |
|
1923 | } | |
1924 |
|
1924 | |||
1925 | .metatag[tag="recommends"] { |
|
1925 | .metatag[tag="recommends"] { | |
1926 | background-color: #BDF; |
|
1926 | background-color: #BDF; | |
1927 | } |
|
1927 | } | |
1928 |
|
1928 | |||
1929 | .metatag[tag="lang"] { |
|
1929 | .metatag[tag="lang"] { | |
1930 | background-color: #FAF474; |
|
1930 | background-color: #FAF474; | |
1931 | } |
|
1931 | } | |
1932 |
|
1932 | |||
1933 | .metatag[tag="license"] { |
|
1933 | .metatag[tag="license"] { | |
1934 | border: solid 1px #9CF; |
|
1934 | border: solid 1px #9CF; | |
1935 | background-color: #DEF; |
|
1935 | background-color: #DEF; | |
1936 | target-new: tab !important; |
|
1936 | target-new: tab !important; | |
1937 | } |
|
1937 | } | |
1938 | .metatag[tag="see"] { |
|
1938 | .metatag[tag="see"] { | |
1939 | border: solid 1px #CBD; |
|
1939 | border: solid 1px #CBD; | |
1940 | background-color: #EDF; |
|
1940 | background-color: #EDF; | |
1941 | } |
|
1941 | } | |
1942 |
|
1942 | |||
1943 | a.metatag[tag="license"]:hover { |
|
1943 | a.metatag[tag="license"]:hover { | |
1944 | background-color: #003367; |
|
1944 | background-color: #003367; | |
1945 | color: #FFF; |
|
1945 | color: #FFF; | |
1946 | text-decoration: none; |
|
1946 | text-decoration: none; | |
1947 | } |
|
1947 | } | |
1948 |
|
1948 | |||
1949 | #summary .desc { |
|
1949 | #summary .desc { | |
1950 | white-space: pre; |
|
1950 | white-space: pre; | |
1951 | width: 100%; |
|
1951 | width: 100%; | |
1952 | } |
|
1952 | } | |
1953 |
|
1953 | |||
1954 | #summary .repo_name { |
|
1954 | #summary .repo_name { | |
1955 | font-size: 1.6em; |
|
1955 | font-size: 1.6em; | |
1956 | font-weight: bold; |
|
1956 | font-weight: bold; | |
1957 | vertical-align: baseline; |
|
1957 | vertical-align: baseline; | |
1958 | clear: right |
|
1958 | clear: right | |
1959 | } |
|
1959 | } | |
1960 |
|
1960 | |||
1961 | #footer { |
|
1961 | #footer { | |
1962 | clear: both; |
|
1962 | clear: both; | |
1963 | overflow: hidden; |
|
1963 | overflow: hidden; | |
1964 | text-align: right; |
|
1964 | text-align: right; | |
1965 | margin: 0; |
|
1965 | margin: 0; | |
1966 | padding: 0 10px 4px; |
|
1966 | padding: 0 10px 4px; | |
1967 | margin: -10px 0 0; |
|
1967 | margin: -10px 0 0; | |
1968 | } |
|
1968 | } | |
1969 |
|
1969 | |||
1970 | #footer div#footer-inner { |
|
1970 | #footer div#footer-inner { | |
1971 | background-color: #003B76; |
|
1971 | background-color: #003B76; | |
1972 | background-repeat : repeat-x; |
|
1972 | background-repeat : repeat-x; | |
1973 | background-image : -khtml-gradient( linear, left top, left bottom, from(#003B76), to(#00376E)); |
|
1973 | background-image : -khtml-gradient( linear, left top, left bottom, from(#003B76), to(#00376E)); | |
1974 | background-image : -moz-linear-gradient(top, #003b76, #00376e); |
|
1974 | background-image : -moz-linear-gradient(top, #003b76, #00376e); | |
1975 | background-image : -ms-linear-gradient( top, #003b76, #00376e); |
|
1975 | background-image : -ms-linear-gradient( top, #003b76, #00376e); | |
1976 | background-image : -webkit-gradient( linear, left top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); |
|
1976 | background-image : -webkit-gradient( linear, left top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); | |
1977 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); |
|
1977 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); | |
1978 | background-image : -o-linear-gradient( top, #003b76, #00376e)); |
|
1978 | background-image : -o-linear-gradient( top, #003b76, #00376e)); | |
1979 | background-image : linear-gradient( top, #003b76, #00376e); |
|
1979 | background-image : linear-gradient( top, #003b76, #00376e); | |
1980 | filter :progid : DXImageTransform.Microsoft.gradient ( startColorstr = '#003b76', endColorstr = '#00376e', GradientType = 0); |
|
1980 | filter :progid : DXImageTransform.Microsoft.gradient ( startColorstr = '#003b76', endColorstr = '#00376e', GradientType = 0); | |
1981 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1981 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
1982 | -webkit-border-radius: 4px 4px 4px 4px; |
|
1982 | -webkit-border-radius: 4px 4px 4px 4px; | |
1983 | -khtml-border-radius: 4px 4px 4px 4px; |
|
1983 | -khtml-border-radius: 4px 4px 4px 4px; | |
1984 | -moz-border-radius: 4px 4px 4px 4px; |
|
1984 | -moz-border-radius: 4px 4px 4px 4px; | |
1985 | border-radius: 4px 4px 4px 4px; |
|
1985 | border-radius: 4px 4px 4px 4px; | |
1986 | } |
|
1986 | } | |
1987 |
|
1987 | |||
1988 | #footer div#footer-inner p { |
|
1988 | #footer div#footer-inner p { | |
1989 | padding: 15px 25px 15px 0; |
|
1989 | padding: 15px 25px 15px 0; | |
1990 | color: #FFF; |
|
1990 | color: #FFF; | |
1991 | font-weight: 700; |
|
1991 | font-weight: 700; | |
1992 | } |
|
1992 | } | |
1993 |
|
1993 | |||
1994 | #footer div#footer-inner .footer-link { |
|
1994 | #footer div#footer-inner .footer-link { | |
1995 | float: left; |
|
1995 | float: left; | |
1996 | padding-left: 10px; |
|
1996 | padding-left: 10px; | |
1997 | } |
|
1997 | } | |
1998 |
|
1998 | |||
1999 | #footer div#footer-inner .footer-link a,#footer div#footer-inner .footer-link-right a |
|
1999 | #footer div#footer-inner .footer-link a,#footer div#footer-inner .footer-link-right a | |
2000 | { |
|
2000 | { | |
2001 | color: #FFF; |
|
2001 | color: #FFF; | |
2002 | } |
|
2002 | } | |
2003 |
|
2003 | |||
2004 | #login div.title { |
|
2004 | #login div.title { | |
2005 | width: 420px; |
|
2005 | width: 420px; | |
2006 | clear: both; |
|
2006 | clear: both; | |
2007 | overflow: hidden; |
|
2007 | overflow: hidden; | |
2008 | position: relative; |
|
2008 | position: relative; | |
2009 | background-color: #003B76; |
|
2009 | background-color: #003B76; | |
2010 | background-repeat : repeat-x; |
|
2010 | background-repeat : repeat-x; | |
2011 | background-image : -khtml-gradient( linear, left top, left bottom, from(#003B76), to(#00376E)); |
|
2011 | background-image : -khtml-gradient( linear, left top, left bottom, from(#003B76), to(#00376E)); | |
2012 | background-image : -moz-linear-gradient( top, #003b76, #00376e); |
|
2012 | background-image : -moz-linear-gradient( top, #003b76, #00376e); | |
2013 | background-image : -ms-linear-gradient( top, #003b76, #00376e); |
|
2013 | background-image : -ms-linear-gradient( top, #003b76, #00376e); | |
2014 | background-image : -webkit-gradient( linear, left top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); |
|
2014 | background-image : -webkit-gradient( linear, left top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); | |
2015 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); |
|
2015 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); | |
2016 | background-image : -o-linear-gradient( top, #003b76, #00376e)); |
|
2016 | background-image : -o-linear-gradient( top, #003b76, #00376e)); | |
2017 | background-image : linear-gradient( top, #003b76, #00376e); |
|
2017 | background-image : linear-gradient( top, #003b76, #00376e); | |
2018 | filter : progid : DXImageTransform.Microsoft.gradient ( startColorstr = '#003b76', endColorstr = '#00376e', GradientType = 0); |
|
2018 | filter : progid : DXImageTransform.Microsoft.gradient ( startColorstr = '#003b76', endColorstr = '#00376e', GradientType = 0); | |
2019 | margin: 0 auto; |
|
2019 | margin: 0 auto; | |
2020 | padding: 0; |
|
2020 | padding: 0; | |
2021 | } |
|
2021 | } | |
2022 |
|
2022 | |||
2023 | #login div.inner { |
|
2023 | #login div.inner { | |
2024 | width: 380px; |
|
2024 | width: 380px; | |
2025 | background: #FFF url("../images/login.png") no-repeat top left; |
|
2025 | background: #FFF url("../images/login.png") no-repeat top left; | |
2026 | border-top: none; |
|
2026 | border-top: none; | |
2027 | border-bottom: none; |
|
2027 | border-bottom: none; | |
2028 | margin: 0 auto; |
|
2028 | margin: 0 auto; | |
2029 | padding: 20px; |
|
2029 | padding: 20px; | |
2030 | } |
|
2030 | } | |
2031 |
|
2031 | |||
2032 | #login div.form div.fields div.field div.label { |
|
2032 | #login div.form div.fields div.field div.label { | |
2033 | width: 173px; |
|
2033 | width: 173px; | |
2034 | float: left; |
|
2034 | float: left; | |
2035 | text-align: right; |
|
2035 | text-align: right; | |
2036 | margin: 2px 10px 0 0; |
|
2036 | margin: 2px 10px 0 0; | |
2037 | padding: 5px 0 0 5px; |
|
2037 | padding: 5px 0 0 5px; | |
2038 | } |
|
2038 | } | |
2039 |
|
2039 | |||
2040 | #login div.form div.fields div.field div.input input { |
|
2040 | #login div.form div.fields div.field div.input input { | |
2041 | width: 176px; |
|
2041 | width: 176px; | |
2042 | background: #FFF; |
|
2042 | background: #FFF; | |
2043 | border-top: 1px solid #b3b3b3; |
|
2043 | border-top: 1px solid #b3b3b3; | |
2044 | border-left: 1px solid #b3b3b3; |
|
2044 | border-left: 1px solid #b3b3b3; | |
2045 | border-right: 1px solid #eaeaea; |
|
2045 | border-right: 1px solid #eaeaea; | |
2046 | border-bottom: 1px solid #eaeaea; |
|
2046 | border-bottom: 1px solid #eaeaea; | |
2047 | color: #000; |
|
2047 | color: #000; | |
2048 | font-size: 11px; |
|
2048 | font-size: 11px; | |
2049 | margin: 0; |
|
2049 | margin: 0; | |
2050 | padding: 7px 7px 6px; |
|
2050 | padding: 7px 7px 6px; | |
2051 | } |
|
2051 | } | |
2052 |
|
2052 | |||
2053 | #login div.form div.fields div.buttons { |
|
2053 | #login div.form div.fields div.buttons { | |
2054 | clear: both; |
|
2054 | clear: both; | |
2055 | overflow: hidden; |
|
2055 | overflow: hidden; | |
2056 | border-top: 1px solid #DDD; |
|
2056 | border-top: 1px solid #DDD; | |
2057 | text-align: right; |
|
2057 | text-align: right; | |
2058 | margin: 0; |
|
2058 | margin: 0; | |
2059 | padding: 10px 0 0; |
|
2059 | padding: 10px 0 0; | |
2060 | } |
|
2060 | } | |
2061 |
|
2061 | |||
2062 | #login div.form div.links { |
|
2062 | #login div.form div.links { | |
2063 | clear: both; |
|
2063 | clear: both; | |
2064 | overflow: hidden; |
|
2064 | overflow: hidden; | |
2065 | margin: 10px 0 0; |
|
2065 | margin: 10px 0 0; | |
2066 | padding: 0 0 2px; |
|
2066 | padding: 0 0 2px; | |
2067 | } |
|
2067 | } | |
2068 |
|
2068 | |||
2069 | .user-menu{ |
|
2069 | .user-menu{ | |
2070 | margin: 0px !important; |
|
2070 | margin: 0px !important; | |
2071 | float: left; |
|
2071 | float: left; | |
2072 | } |
|
2072 | } | |
2073 |
|
2073 | |||
2074 | .user-menu .container{ |
|
2074 | .user-menu .container{ | |
2075 | padding:0px 4px 0px 4px; |
|
2075 | padding:0px 4px 0px 4px; | |
2076 | margin: 0px 0px 0px 0px; |
|
2076 | margin: 0px 0px 0px 0px; | |
2077 | } |
|
2077 | } | |
2078 |
|
2078 | |||
2079 | .user-menu .gravatar{ |
|
2079 | .user-menu .gravatar{ | |
2080 | margin: 0px 0px 0px 0px; |
|
2080 | margin: 0px 0px 0px 0px; | |
2081 | cursor: pointer; |
|
2081 | cursor: pointer; | |
2082 | } |
|
2082 | } | |
2083 | .user-menu .gravatar.enabled{ |
|
2083 | .user-menu .gravatar.enabled{ | |
2084 | background-color: #FDF784 !important; |
|
2084 | background-color: #FDF784 !important; | |
2085 | } |
|
2085 | } | |
2086 | .user-menu .gravatar:hover{ |
|
2086 | .user-menu .gravatar:hover{ | |
2087 | background-color: #FDF784 !important; |
|
2087 | background-color: #FDF784 !important; | |
2088 | } |
|
2088 | } | |
2089 | #quick_login{ |
|
2089 | #quick_login{ | |
2090 | min-height: 80px; |
|
2090 | min-height: 80px; | |
2091 | margin: 37px 0 0 -251px; |
|
2091 | margin: 37px 0 0 -251px; | |
2092 | padding: 4px; |
|
2092 | padding: 4px; | |
2093 | position: absolute; |
|
2093 | position: absolute; | |
2094 | width: 278px; |
|
2094 | width: 278px; | |
2095 | background-color: #003B76; |
|
2095 | background-color: #003B76; | |
2096 | background-repeat: repeat-x; |
|
2096 | background-repeat: repeat-x; | |
2097 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); |
|
2097 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); | |
2098 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
2098 | background-image: -moz-linear-gradient(top, #003b76, #00376e); | |
2099 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
2099 | background-image: -ms-linear-gradient(top, #003b76, #00376e); | |
2100 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); |
|
2100 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); | |
2101 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); |
|
2101 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); | |
2102 | background-image: -o-linear-gradient(top, #003b76, #00376e); |
|
2102 | background-image: -o-linear-gradient(top, #003b76, #00376e); | |
2103 | background-image: linear-gradient(top, #003b76, #00376e); |
|
2103 | background-image: linear-gradient(top, #003b76, #00376e); | |
2104 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', endColorstr='#00376e', GradientType=0 ); |
|
2104 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', endColorstr='#00376e', GradientType=0 ); | |
2105 |
|
2105 | |||
2106 | z-index: 999; |
|
2106 | z-index: 999; | |
2107 | -webkit-border-radius: 0px 0px 4px 4px; |
|
2107 | -webkit-border-radius: 0px 0px 4px 4px; | |
2108 | -khtml-border-radius: 0px 0px 4px 4px; |
|
2108 | -khtml-border-radius: 0px 0px 4px 4px; | |
2109 | -moz-border-radius: 0px 0px 4px 4px; |
|
2109 | -moz-border-radius: 0px 0px 4px 4px; | |
2110 | border-radius: 0px 0px 4px 4px; |
|
2110 | border-radius: 0px 0px 4px 4px; | |
2111 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
2111 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
2112 | } |
|
2112 | } | |
2113 | #quick_login h4{ |
|
2113 | #quick_login h4{ | |
2114 | color: #fff; |
|
2114 | color: #fff; | |
2115 | padding: 5px 0px 5px 14px; |
|
2115 | padding: 5px 0px 5px 14px; | |
2116 | } |
|
2116 | } | |
2117 |
|
2117 | |||
2118 | #quick_login .password_forgoten { |
|
2118 | #quick_login .password_forgoten { | |
2119 | padding-right: 10px; |
|
2119 | padding-right: 10px; | |
2120 | padding-top: 0px; |
|
2120 | padding-top: 0px; | |
2121 | text-align: left; |
|
2121 | text-align: left; | |
2122 | } |
|
2122 | } | |
2123 |
|
2123 | |||
2124 | #quick_login .password_forgoten a { |
|
2124 | #quick_login .password_forgoten a { | |
2125 | font-size: 10px; |
|
2125 | font-size: 10px; | |
2126 | color: #fff; |
|
2126 | color: #fff; | |
2127 | } |
|
2127 | } | |
2128 |
|
2128 | |||
2129 | #quick_login .register { |
|
2129 | #quick_login .register { | |
2130 | padding-right: 10px; |
|
2130 | padding-right: 10px; | |
2131 | padding-top: 5px; |
|
2131 | padding-top: 5px; | |
2132 | text-align: left; |
|
2132 | text-align: left; | |
2133 | } |
|
2133 | } | |
2134 |
|
2134 | |||
2135 | #quick_login .register a { |
|
2135 | #quick_login .register a { | |
2136 | font-size: 10px; |
|
2136 | font-size: 10px; | |
2137 | color: #fff; |
|
2137 | color: #fff; | |
2138 | } |
|
2138 | } | |
2139 |
|
2139 | |||
2140 | #quick_login .submit { |
|
2140 | #quick_login .submit { | |
2141 | margin: -20px 0 0 0px; |
|
2141 | margin: -20px 0 0 0px; | |
2142 | position: absolute; |
|
2142 | position: absolute; | |
2143 | right: 15px; |
|
2143 | right: 15px; | |
2144 | } |
|
2144 | } | |
2145 |
|
2145 | |||
2146 | #quick_login .links_left{ |
|
2146 | #quick_login .links_left{ | |
2147 | float: left; |
|
2147 | float: left; | |
2148 | } |
|
2148 | } | |
2149 | #quick_login .links_right{ |
|
2149 | #quick_login .links_right{ | |
2150 | float: right; |
|
2150 | float: right; | |
2151 | } |
|
2151 | } | |
2152 | #quick_login .full_name{ |
|
2152 | #quick_login .full_name{ | |
2153 | color: #FFFFFF; |
|
2153 | color: #FFFFFF; | |
2154 | font-weight: bold; |
|
2154 | font-weight: bold; | |
2155 | padding: 3px; |
|
2155 | padding: 3px; | |
2156 | } |
|
2156 | } | |
2157 | #quick_login .big_gravatar{ |
|
2157 | #quick_login .big_gravatar{ | |
2158 | padding:4px 0px 0px 6px; |
|
2158 | padding:4px 0px 0px 6px; | |
2159 | } |
|
2159 | } | |
2160 | #quick_login .inbox{ |
|
2160 | #quick_login .inbox{ | |
2161 | padding:4px 0px 0px 6px; |
|
2161 | padding:4px 0px 0px 6px; | |
2162 | color: #FFFFFF; |
|
2162 | color: #FFFFFF; | |
2163 | font-weight: bold; |
|
2163 | font-weight: bold; | |
2164 | } |
|
2164 | } | |
2165 | #quick_login .inbox a{ |
|
2165 | #quick_login .inbox a{ | |
2166 | color: #FFFFFF; |
|
2166 | color: #FFFFFF; | |
2167 | } |
|
2167 | } | |
2168 | #quick_login .email,#quick_login .email a{ |
|
2168 | #quick_login .email,#quick_login .email a{ | |
2169 | color: #FFFFFF; |
|
2169 | color: #FFFFFF; | |
2170 | padding: 3px; |
|
2170 | padding: 3px; | |
2171 |
|
2171 | |||
2172 | } |
|
2172 | } | |
2173 | #quick_login .links .logout{ |
|
2173 | #quick_login .links .logout{ | |
2174 |
|
2174 | |||
2175 | } |
|
2175 | } | |
2176 |
|
2176 | |||
2177 | #quick_login div.form div.fields { |
|
2177 | #quick_login div.form div.fields { | |
2178 | padding-top: 2px; |
|
2178 | padding-top: 2px; | |
2179 | padding-left: 10px; |
|
2179 | padding-left: 10px; | |
2180 | } |
|
2180 | } | |
2181 |
|
2181 | |||
2182 | #quick_login div.form div.fields div.field { |
|
2182 | #quick_login div.form div.fields div.field { | |
2183 | padding: 5px; |
|
2183 | padding: 5px; | |
2184 | } |
|
2184 | } | |
2185 |
|
2185 | |||
2186 | #quick_login div.form div.fields div.field div.label label { |
|
2186 | #quick_login div.form div.fields div.field div.label label { | |
2187 | color: #fff; |
|
2187 | color: #fff; | |
2188 | padding-bottom: 3px; |
|
2188 | padding-bottom: 3px; | |
2189 | } |
|
2189 | } | |
2190 |
|
2190 | |||
2191 | #quick_login div.form div.fields div.field div.input input { |
|
2191 | #quick_login div.form div.fields div.field div.input input { | |
2192 | width: 236px; |
|
2192 | width: 236px; | |
2193 | background: #FFF; |
|
2193 | background: #FFF; | |
2194 | border-top: 1px solid #b3b3b3; |
|
2194 | border-top: 1px solid #b3b3b3; | |
2195 | border-left: 1px solid #b3b3b3; |
|
2195 | border-left: 1px solid #b3b3b3; | |
2196 | border-right: 1px solid #eaeaea; |
|
2196 | border-right: 1px solid #eaeaea; | |
2197 | border-bottom: 1px solid #eaeaea; |
|
2197 | border-bottom: 1px solid #eaeaea; | |
2198 | color: #000; |
|
2198 | color: #000; | |
2199 | font-size: 11px; |
|
2199 | font-size: 11px; | |
2200 | margin: 0; |
|
2200 | margin: 0; | |
2201 | padding: 5px 7px 4px; |
|
2201 | padding: 5px 7px 4px; | |
2202 | } |
|
2202 | } | |
2203 |
|
2203 | |||
2204 | #quick_login div.form div.fields div.buttons { |
|
2204 | #quick_login div.form div.fields div.buttons { | |
2205 | clear: both; |
|
2205 | clear: both; | |
2206 | overflow: hidden; |
|
2206 | overflow: hidden; | |
2207 | text-align: right; |
|
2207 | text-align: right; | |
2208 | margin: 0; |
|
2208 | margin: 0; | |
2209 | padding: 5px 14px 0px 5px; |
|
2209 | padding: 5px 14px 0px 5px; | |
2210 | } |
|
2210 | } | |
2211 |
|
2211 | |||
2212 | #quick_login div.form div.links { |
|
2212 | #quick_login div.form div.links { | |
2213 | clear: both; |
|
2213 | clear: both; | |
2214 | overflow: hidden; |
|
2214 | overflow: hidden; | |
2215 | margin: 10px 0 0; |
|
2215 | margin: 10px 0 0; | |
2216 | padding: 0 0 2px; |
|
2216 | padding: 0 0 2px; | |
2217 | } |
|
2217 | } | |
2218 |
|
2218 | |||
2219 | #quick_login ol.links{ |
|
2219 | #quick_login ol.links{ | |
2220 | display: block; |
|
2220 | display: block; | |
2221 | font-weight: bold; |
|
2221 | font-weight: bold; | |
2222 | list-style: none outside none; |
|
2222 | list-style: none outside none; | |
2223 | text-align: right; |
|
2223 | text-align: right; | |
2224 | } |
|
2224 | } | |
2225 | #quick_login ol.links li{ |
|
2225 | #quick_login ol.links li{ | |
2226 | line-height: 27px; |
|
2226 | line-height: 27px; | |
2227 | margin: 0; |
|
2227 | margin: 0; | |
2228 | padding: 0; |
|
2228 | padding: 0; | |
2229 | color: #fff; |
|
2229 | color: #fff; | |
2230 | display: block; |
|
2230 | display: block; | |
2231 | float:none !important; |
|
2231 | float:none !important; | |
2232 | } |
|
2232 | } | |
2233 |
|
2233 | |||
2234 | #quick_login ol.links li a{ |
|
2234 | #quick_login ol.links li a{ | |
2235 | color: #fff; |
|
2235 | color: #fff; | |
2236 | display: block; |
|
2236 | display: block; | |
2237 | padding: 2px; |
|
2237 | padding: 2px; | |
2238 | } |
|
2238 | } | |
2239 | #quick_login ol.links li a:HOVER{ |
|
2239 | #quick_login ol.links li a:HOVER{ | |
2240 | background-color: inherit !important; |
|
2240 | background-color: inherit !important; | |
2241 | } |
|
2241 | } | |
2242 |
|
2242 | |||
2243 | #register div.title { |
|
2243 | #register div.title { | |
2244 | clear: both; |
|
2244 | clear: both; | |
2245 | overflow: hidden; |
|
2245 | overflow: hidden; | |
2246 | position: relative; |
|
2246 | position: relative; | |
2247 | background-color: #003B76; |
|
2247 | background-color: #003B76; | |
2248 | background-repeat: repeat-x; |
|
2248 | background-repeat: repeat-x; | |
2249 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); |
|
2249 | background-image: -khtml-gradient(linear, left top, left bottom, from(#003B76), to(#00376E) ); | |
2250 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
2250 | background-image: -moz-linear-gradient(top, #003b76, #00376e); | |
2251 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
2251 | background-image: -ms-linear-gradient(top, #003b76, #00376e); | |
2252 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); |
|
2252 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), color-stop(100%, #00376e) ); | |
2253 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); |
|
2253 | background-image: -webkit-linear-gradient(top, #003b76, #00376e); | |
2254 | background-image: -o-linear-gradient(top, #003b76, #00376e); |
|
2254 | background-image: -o-linear-gradient(top, #003b76, #00376e); | |
2255 | background-image: linear-gradient(top, #003b76, #00376e); |
|
2255 | background-image: linear-gradient(top, #003b76, #00376e); | |
2256 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
2256 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', | |
2257 | endColorstr='#00376e', GradientType=0 ); |
|
2257 | endColorstr='#00376e', GradientType=0 ); | |
2258 | margin: 0 auto; |
|
2258 | margin: 0 auto; | |
2259 | padding: 0; |
|
2259 | padding: 0; | |
2260 | } |
|
2260 | } | |
2261 |
|
2261 | |||
2262 | #register div.inner { |
|
2262 | #register div.inner { | |
2263 | background: #FFF; |
|
2263 | background: #FFF; | |
2264 | border-top: none; |
|
2264 | border-top: none; | |
2265 | border-bottom: none; |
|
2265 | border-bottom: none; | |
2266 | margin: 0 auto; |
|
2266 | margin: 0 auto; | |
2267 | padding: 20px; |
|
2267 | padding: 20px; | |
2268 | } |
|
2268 | } | |
2269 |
|
2269 | |||
2270 | #register div.form div.fields div.field div.label { |
|
2270 | #register div.form div.fields div.field div.label { | |
2271 | width: 135px; |
|
2271 | width: 135px; | |
2272 | float: left; |
|
2272 | float: left; | |
2273 | text-align: right; |
|
2273 | text-align: right; | |
2274 | margin: 2px 10px 0 0; |
|
2274 | margin: 2px 10px 0 0; | |
2275 | padding: 5px 0 0 5px; |
|
2275 | padding: 5px 0 0 5px; | |
2276 | } |
|
2276 | } | |
2277 |
|
2277 | |||
2278 | #register div.form div.fields div.field div.input input { |
|
2278 | #register div.form div.fields div.field div.input input { | |
2279 | width: 300px; |
|
2279 | width: 300px; | |
2280 | background: #FFF; |
|
2280 | background: #FFF; | |
2281 | border-top: 1px solid #b3b3b3; |
|
2281 | border-top: 1px solid #b3b3b3; | |
2282 | border-left: 1px solid #b3b3b3; |
|
2282 | border-left: 1px solid #b3b3b3; | |
2283 | border-right: 1px solid #eaeaea; |
|
2283 | border-right: 1px solid #eaeaea; | |
2284 | border-bottom: 1px solid #eaeaea; |
|
2284 | border-bottom: 1px solid #eaeaea; | |
2285 | color: #000; |
|
2285 | color: #000; | |
2286 | font-size: 11px; |
|
2286 | font-size: 11px; | |
2287 | margin: 0; |
|
2287 | margin: 0; | |
2288 | padding: 7px 7px 6px; |
|
2288 | padding: 7px 7px 6px; | |
2289 | } |
|
2289 | } | |
2290 |
|
2290 | |||
2291 | #register div.form div.fields div.buttons { |
|
2291 | #register div.form div.fields div.buttons { | |
2292 | clear: both; |
|
2292 | clear: both; | |
2293 | overflow: hidden; |
|
2293 | overflow: hidden; | |
2294 | border-top: 1px solid #DDD; |
|
2294 | border-top: 1px solid #DDD; | |
2295 | text-align: left; |
|
2295 | text-align: left; | |
2296 | margin: 0; |
|
2296 | margin: 0; | |
2297 | padding: 10px 0 0 150px; |
|
2297 | padding: 10px 0 0 150px; | |
2298 | } |
|
2298 | } | |
2299 |
|
2299 | |||
2300 | #register div.form div.activation_msg { |
|
2300 | #register div.form div.activation_msg { | |
2301 | padding-top: 4px; |
|
2301 | padding-top: 4px; | |
2302 | padding-bottom: 4px; |
|
2302 | padding-bottom: 4px; | |
2303 | } |
|
2303 | } | |
2304 |
|
2304 | |||
2305 | #journal .journal_day { |
|
2305 | #journal .journal_day { | |
2306 | font-size: 20px; |
|
2306 | font-size: 20px; | |
2307 | padding: 10px 0px; |
|
2307 | padding: 10px 0px; | |
2308 | border-bottom: 2px solid #DDD; |
|
2308 | border-bottom: 2px solid #DDD; | |
2309 | margin-left: 10px; |
|
2309 | margin-left: 10px; | |
2310 | margin-right: 10px; |
|
2310 | margin-right: 10px; | |
2311 | } |
|
2311 | } | |
2312 |
|
2312 | |||
2313 | #journal .journal_container { |
|
2313 | #journal .journal_container { | |
2314 | padding: 5px; |
|
2314 | padding: 5px; | |
2315 | clear: both; |
|
2315 | clear: both; | |
2316 | margin: 0px 5px 0px 10px; |
|
2316 | margin: 0px 5px 0px 10px; | |
2317 | } |
|
2317 | } | |
2318 |
|
2318 | |||
2319 | #journal .journal_action_container { |
|
2319 | #journal .journal_action_container { | |
2320 | padding-left: 38px; |
|
2320 | padding-left: 38px; | |
2321 | } |
|
2321 | } | |
2322 |
|
2322 | |||
2323 | #journal .journal_user { |
|
2323 | #journal .journal_user { | |
2324 | color: #747474; |
|
2324 | color: #747474; | |
2325 | font-size: 14px; |
|
2325 | font-size: 14px; | |
2326 | font-weight: bold; |
|
2326 | font-weight: bold; | |
2327 | height: 30px; |
|
2327 | height: 30px; | |
2328 | } |
|
2328 | } | |
2329 |
|
2329 | |||
2330 | #journal .journal_user.deleted { |
|
2330 | #journal .journal_user.deleted { | |
2331 | color: #747474; |
|
2331 | color: #747474; | |
2332 | font-size: 14px; |
|
2332 | font-size: 14px; | |
2333 | font-weight: normal; |
|
2333 | font-weight: normal; | |
2334 | height: 30px; |
|
2334 | height: 30px; | |
2335 | font-style: italic; |
|
2335 | font-style: italic; | |
2336 | } |
|
2336 | } | |
2337 |
|
2337 | |||
2338 |
|
2338 | |||
2339 | #journal .journal_icon { |
|
2339 | #journal .journal_icon { | |
2340 | clear: both; |
|
2340 | clear: both; | |
2341 | float: left; |
|
2341 | float: left; | |
2342 | padding-right: 4px; |
|
2342 | padding-right: 4px; | |
2343 | padding-top: 3px; |
|
2343 | padding-top: 3px; | |
2344 | } |
|
2344 | } | |
2345 |
|
2345 | |||
2346 | #journal .journal_action { |
|
2346 | #journal .journal_action { | |
2347 | padding-top: 4px; |
|
2347 | padding-top: 4px; | |
2348 | min-height: 2px; |
|
2348 | min-height: 2px; | |
2349 | float: left |
|
2349 | float: left | |
2350 | } |
|
2350 | } | |
2351 |
|
2351 | |||
2352 | #journal .journal_action_params { |
|
2352 | #journal .journal_action_params { | |
2353 | clear: left; |
|
2353 | clear: left; | |
2354 | padding-left: 22px; |
|
2354 | padding-left: 22px; | |
2355 | } |
|
2355 | } | |
2356 |
|
2356 | |||
2357 | #journal .journal_repo { |
|
2357 | #journal .journal_repo { | |
2358 | float: left; |
|
2358 | float: left; | |
2359 | margin-left: 6px; |
|
2359 | margin-left: 6px; | |
2360 | padding-top: 3px; |
|
2360 | padding-top: 3px; | |
2361 | } |
|
2361 | } | |
2362 |
|
2362 | |||
2363 | #journal .date { |
|
2363 | #journal .date { | |
2364 | clear: both; |
|
2364 | clear: both; | |
2365 | color: #777777; |
|
2365 | color: #777777; | |
2366 | font-size: 11px; |
|
2366 | font-size: 11px; | |
2367 | padding-left: 22px; |
|
2367 | padding-left: 22px; | |
2368 | } |
|
2368 | } | |
2369 |
|
2369 | |||
2370 | #journal .journal_repo .journal_repo_name { |
|
2370 | #journal .journal_repo .journal_repo_name { | |
2371 | font-weight: bold; |
|
2371 | font-weight: bold; | |
2372 | font-size: 1.1em; |
|
2372 | font-size: 1.1em; | |
2373 | } |
|
2373 | } | |
2374 |
|
2374 | |||
2375 | #journal .compare_view { |
|
2375 | #journal .compare_view { | |
2376 | padding: 5px 0px 5px 0px; |
|
2376 | padding: 5px 0px 5px 0px; | |
2377 | width: 95px; |
|
2377 | width: 95px; | |
2378 | } |
|
2378 | } | |
2379 |
|
2379 | |||
2380 | .journal_highlight { |
|
2380 | .journal_highlight { | |
2381 | font-weight: bold; |
|
2381 | font-weight: bold; | |
2382 | padding: 0 2px; |
|
2382 | padding: 0 2px; | |
2383 | vertical-align: bottom; |
|
2383 | vertical-align: bottom; | |
2384 | } |
|
2384 | } | |
2385 |
|
2385 | |||
2386 | .trending_language_tbl,.trending_language_tbl td { |
|
2386 | .trending_language_tbl,.trending_language_tbl td { | |
2387 | border: 0 !important; |
|
2387 | border: 0 !important; | |
2388 | margin: 0 !important; |
|
2388 | margin: 0 !important; | |
2389 | padding: 0 !important; |
|
2389 | padding: 0 !important; | |
2390 | } |
|
2390 | } | |
2391 |
|
2391 | |||
2392 | .trending_language_tbl,.trending_language_tbl tr { |
|
2392 | .trending_language_tbl,.trending_language_tbl tr { | |
2393 | border-spacing: 1px; |
|
2393 | border-spacing: 1px; | |
2394 | } |
|
2394 | } | |
2395 |
|
2395 | |||
2396 | .trending_language { |
|
2396 | .trending_language { | |
2397 | background-color: #003367; |
|
2397 | background-color: #003367; | |
2398 | color: #FFF; |
|
2398 | color: #FFF; | |
2399 | display: block; |
|
2399 | display: block; | |
2400 | min-width: 20px; |
|
2400 | min-width: 20px; | |
2401 | text-decoration: none; |
|
2401 | text-decoration: none; | |
2402 | height: 12px; |
|
2402 | height: 12px; | |
2403 | margin-bottom: 0px; |
|
2403 | margin-bottom: 0px; | |
2404 | margin-left: 5px; |
|
2404 | margin-left: 5px; | |
2405 | white-space: pre; |
|
2405 | white-space: pre; | |
2406 | padding: 3px; |
|
2406 | padding: 3px; | |
2407 | } |
|
2407 | } | |
2408 |
|
2408 | |||
2409 | h3.files_location { |
|
2409 | h3.files_location { | |
2410 | font-size: 1.8em; |
|
2410 | font-size: 1.8em; | |
2411 | font-weight: 700; |
|
2411 | font-weight: 700; | |
2412 | border-bottom: none !important; |
|
2412 | border-bottom: none !important; | |
2413 | margin: 10px 0 !important; |
|
2413 | margin: 10px 0 !important; | |
2414 | } |
|
2414 | } | |
2415 |
|
2415 | |||
2416 | #files_data dl dt { |
|
2416 | #files_data dl dt { | |
2417 | float: left; |
|
2417 | float: left; | |
2418 | width: 60px; |
|
2418 | width: 60px; | |
2419 | margin: 0 !important; |
|
2419 | margin: 0 !important; | |
2420 | padding: 5px; |
|
2420 | padding: 5px; | |
2421 | } |
|
2421 | } | |
2422 |
|
2422 | |||
2423 | #files_data dl dd { |
|
2423 | #files_data dl dd { | |
2424 | margin: 0 !important; |
|
2424 | margin: 0 !important; | |
2425 | padding: 5px !important; |
|
2425 | padding: 5px !important; | |
2426 | } |
|
2426 | } | |
2427 |
|
2427 | |||
2428 | .file_history{ |
|
2428 | .file_history{ | |
2429 | padding-top:10px; |
|
2429 | padding-top:10px; | |
2430 | font-size:16px; |
|
2430 | font-size:16px; | |
2431 | } |
|
2431 | } | |
2432 | .file_author{ |
|
2432 | .file_author{ | |
2433 | float: left; |
|
2433 | float: left; | |
2434 | } |
|
2434 | } | |
2435 |
|
2435 | |||
2436 | .file_author .item{ |
|
2436 | .file_author .item{ | |
2437 | float:left; |
|
2437 | float:left; | |
2438 | padding:5px; |
|
2438 | padding:5px; | |
2439 | color: #888; |
|
2439 | color: #888; | |
2440 | } |
|
2440 | } | |
2441 |
|
2441 | |||
2442 | .tablerow0 { |
|
2442 | .tablerow0 { | |
2443 | background-color: #F8F8F8; |
|
2443 | background-color: #F8F8F8; | |
2444 | } |
|
2444 | } | |
2445 |
|
2445 | |||
2446 | .tablerow1 { |
|
2446 | .tablerow1 { | |
2447 | background-color: #FFFFFF; |
|
2447 | background-color: #FFFFFF; | |
2448 | } |
|
2448 | } | |
2449 |
|
2449 | |||
2450 | .changeset_id { |
|
2450 | .changeset_id { | |
2451 | font-family: monospace; |
|
2451 | font-family: monospace; | |
2452 | color: #666666; |
|
2452 | color: #666666; | |
2453 | } |
|
2453 | } | |
2454 |
|
2454 | |||
2455 | .changeset_hash { |
|
2455 | .changeset_hash { | |
2456 | color: #000000; |
|
2456 | color: #000000; | |
2457 | } |
|
2457 | } | |
2458 |
|
2458 | |||
2459 | #changeset_content { |
|
2459 | #changeset_content { | |
2460 | border-left: 1px solid #CCC; |
|
2460 | border-left: 1px solid #CCC; | |
2461 | border-right: 1px solid #CCC; |
|
2461 | border-right: 1px solid #CCC; | |
2462 | border-bottom: 1px solid #CCC; |
|
2462 | border-bottom: 1px solid #CCC; | |
2463 | padding: 5px; |
|
2463 | padding: 5px; | |
2464 | } |
|
2464 | } | |
2465 |
|
2465 | |||
2466 | #changeset_compare_view_content { |
|
2466 | #changeset_compare_view_content { | |
2467 | border: 1px solid #CCC; |
|
2467 | border: 1px solid #CCC; | |
2468 | padding: 5px; |
|
2468 | padding: 5px; | |
2469 | } |
|
2469 | } | |
2470 |
|
2470 | |||
2471 | #changeset_content .container { |
|
2471 | #changeset_content .container { | |
2472 | min-height: 100px; |
|
2472 | min-height: 100px; | |
2473 | font-size: 1.2em; |
|
2473 | font-size: 1.2em; | |
2474 | overflow: hidden; |
|
2474 | overflow: hidden; | |
2475 | } |
|
2475 | } | |
2476 |
|
2476 | |||
2477 | #changeset_compare_view_content .compare_view_commits { |
|
2477 | #changeset_compare_view_content .compare_view_commits { | |
2478 | width: auto !important; |
|
2478 | width: auto !important; | |
2479 | } |
|
2479 | } | |
2480 |
|
2480 | |||
2481 | #changeset_compare_view_content .compare_view_commits td { |
|
2481 | #changeset_compare_view_content .compare_view_commits td { | |
2482 | padding: 0px 0px 0px 12px !important; |
|
2482 | padding: 0px 0px 0px 12px !important; | |
2483 | } |
|
2483 | } | |
2484 |
|
2484 | |||
2485 | #changeset_content .container .right { |
|
2485 | #changeset_content .container .right { | |
2486 | float: right; |
|
2486 | float: right; | |
2487 | width: 20%; |
|
2487 | width: 20%; | |
2488 | text-align: right; |
|
2488 | text-align: right; | |
2489 | } |
|
2489 | } | |
2490 |
|
2490 | |||
2491 | #changeset_content .container .left .message { |
|
2491 | #changeset_content .container .left .message { | |
2492 | white-space: pre-wrap; |
|
2492 | white-space: pre-wrap; | |
2493 | } |
|
2493 | } | |
2494 | #changeset_content .container .left .message a:hover { |
|
2494 | #changeset_content .container .left .message a:hover { | |
2495 | text-decoration: none; |
|
2495 | text-decoration: none; | |
2496 | } |
|
2496 | } | |
2497 | .cs_files .cur_cs { |
|
2497 | .cs_files .cur_cs { | |
2498 | margin: 10px 2px; |
|
2498 | margin: 10px 2px; | |
2499 | font-weight: bold; |
|
2499 | font-weight: bold; | |
2500 | } |
|
2500 | } | |
2501 |
|
2501 | |||
2502 | .cs_files .node { |
|
2502 | .cs_files .node { | |
2503 | float: left; |
|
2503 | float: left; | |
2504 | } |
|
2504 | } | |
2505 |
|
2505 | |||
2506 | .cs_files .changes { |
|
2506 | .cs_files .changes { | |
2507 | float: right; |
|
2507 | float: right; | |
2508 | color:#003367; |
|
2508 | color:#003367; | |
2509 |
|
2509 | |||
2510 | } |
|
2510 | } | |
2511 |
|
2511 | |||
2512 | .cs_files .changes .added { |
|
2512 | .cs_files .changes .added { | |
2513 | background-color: #BBFFBB; |
|
2513 | background-color: #BBFFBB; | |
2514 | float: left; |
|
2514 | float: left; | |
2515 | text-align: center; |
|
2515 | text-align: center; | |
2516 | font-size: 9px; |
|
2516 | font-size: 9px; | |
2517 | padding: 2px 0px 2px 0px; |
|
2517 | padding: 2px 0px 2px 0px; | |
2518 | } |
|
2518 | } | |
2519 |
|
2519 | |||
2520 | .cs_files .changes .deleted { |
|
2520 | .cs_files .changes .deleted { | |
2521 | background-color: #FF8888; |
|
2521 | background-color: #FF8888; | |
2522 | float: left; |
|
2522 | float: left; | |
2523 | text-align: center; |
|
2523 | text-align: center; | |
2524 | font-size: 9px; |
|
2524 | font-size: 9px; | |
2525 | padding: 2px 0px 2px 0px; |
|
2525 | padding: 2px 0px 2px 0px; | |
2526 | } |
|
2526 | } | |
2527 | /*new binary*/ |
|
2527 | /*new binary*/ | |
2528 | .cs_files .changes .bin1 { |
|
2528 | .cs_files .changes .bin1 { | |
2529 | background-color: #BBFFBB; |
|
2529 | background-color: #BBFFBB; | |
2530 | float: left; |
|
2530 | float: left; | |
2531 | text-align: center; |
|
2531 | text-align: center; | |
2532 | font-size: 9px; |
|
2532 | font-size: 9px; | |
2533 | padding: 2px 0px 2px 0px; |
|
2533 | padding: 2px 0px 2px 0px; | |
2534 | } |
|
2534 | } | |
2535 |
|
2535 | |||
2536 | /*deleted binary*/ |
|
2536 | /*deleted binary*/ | |
2537 | .cs_files .changes .bin2 { |
|
2537 | .cs_files .changes .bin2 { | |
2538 | background-color: #FF8888; |
|
2538 | background-color: #FF8888; | |
2539 | float: left; |
|
2539 | float: left; | |
2540 | text-align: center; |
|
2540 | text-align: center; | |
2541 | font-size: 9px; |
|
2541 | font-size: 9px; | |
2542 | padding: 2px 0px 2px 0px; |
|
2542 | padding: 2px 0px 2px 0px; | |
2543 | } |
|
2543 | } | |
2544 |
|
2544 | |||
2545 | /*mod binary*/ |
|
2545 | /*mod binary*/ | |
2546 | .cs_files .changes .bin3 { |
|
2546 | .cs_files .changes .bin3 { | |
2547 | background-color: #DDDDDD; |
|
2547 | background-color: #DDDDDD; | |
2548 | float: left; |
|
2548 | float: left; | |
2549 | text-align: center; |
|
2549 | text-align: center; | |
2550 | font-size: 9px; |
|
2550 | font-size: 9px; | |
2551 | padding: 2px 0px 2px 0px; |
|
2551 | padding: 2px 0px 2px 0px; | |
2552 | } |
|
2552 | } | |
2553 |
|
2553 | |||
2554 | /*rename file*/ |
|
2554 | /*rename file*/ | |
2555 | .cs_files .changes .bin4 { |
|
2555 | .cs_files .changes .bin4 { | |
2556 | background-color: #6D99FF; |
|
2556 | background-color: #6D99FF; | |
2557 | float: left; |
|
2557 | float: left; | |
2558 | text-align: center; |
|
2558 | text-align: center; | |
2559 | font-size: 9px; |
|
2559 | font-size: 9px; | |
2560 | padding: 2px 0px 2px 0px; |
|
2560 | padding: 2px 0px 2px 0px; | |
2561 | } |
|
2561 | } | |
2562 |
|
2562 | |||
2563 |
|
2563 | |||
2564 | .cs_files .cs_added,.cs_files .cs_A { |
|
2564 | .cs_files .cs_added,.cs_files .cs_A { | |
2565 | background: url("../images/icons/page_white_add.png") no-repeat scroll |
|
2565 | background: url("../images/icons/page_white_add.png") no-repeat scroll | |
2566 | 3px; |
|
2566 | 3px; | |
2567 | height: 16px; |
|
2567 | height: 16px; | |
2568 | padding-left: 20px; |
|
2568 | padding-left: 20px; | |
2569 | margin-top: 7px; |
|
2569 | margin-top: 7px; | |
2570 | text-align: left; |
|
2570 | text-align: left; | |
2571 | } |
|
2571 | } | |
2572 |
|
2572 | |||
2573 | .cs_files .cs_changed,.cs_files .cs_M { |
|
2573 | .cs_files .cs_changed,.cs_files .cs_M { | |
2574 | background: url("../images/icons/page_white_edit.png") no-repeat scroll |
|
2574 | background: url("../images/icons/page_white_edit.png") no-repeat scroll | |
2575 | 3px; |
|
2575 | 3px; | |
2576 | height: 16px; |
|
2576 | height: 16px; | |
2577 | padding-left: 20px; |
|
2577 | padding-left: 20px; | |
2578 | margin-top: 7px; |
|
2578 | margin-top: 7px; | |
2579 | text-align: left; |
|
2579 | text-align: left; | |
2580 | } |
|
2580 | } | |
2581 |
|
2581 | |||
2582 | .cs_files .cs_removed,.cs_files .cs_D { |
|
2582 | .cs_files .cs_removed,.cs_files .cs_D { | |
2583 | background: url("../images/icons/page_white_delete.png") no-repeat |
|
2583 | background: url("../images/icons/page_white_delete.png") no-repeat | |
2584 | scroll 3px; |
|
2584 | scroll 3px; | |
2585 | height: 16px; |
|
2585 | height: 16px; | |
2586 | padding-left: 20px; |
|
2586 | padding-left: 20px; | |
2587 | margin-top: 7px; |
|
2587 | margin-top: 7px; | |
2588 | text-align: left; |
|
2588 | text-align: left; | |
2589 | } |
|
2589 | } | |
2590 |
|
2590 | |||
2591 | #graph { |
|
2591 | #graph { | |
2592 | overflow: hidden; |
|
2592 | overflow: hidden; | |
2593 | } |
|
2593 | } | |
2594 |
|
2594 | |||
2595 | #graph_nodes { |
|
2595 | #graph_nodes { | |
2596 | float: left; |
|
2596 | float: left; | |
2597 | margin-right: 0px; |
|
2597 | margin-right: 0px; | |
2598 | margin-top: 0px; |
|
2598 | margin-top: 0px; | |
2599 | } |
|
2599 | } | |
2600 |
|
2600 | |||
2601 | #graph_content { |
|
2601 | #graph_content { | |
2602 | width: 80%; |
|
2602 | width: 80%; | |
2603 | float: left; |
|
2603 | float: left; | |
2604 | } |
|
2604 | } | |
2605 |
|
2605 | |||
2606 | #graph_content .container_header { |
|
2606 | #graph_content .container_header { | |
2607 | border-bottom: 1px solid #DDD; |
|
2607 | border-bottom: 1px solid #DDD; | |
2608 | padding: 10px; |
|
2608 | padding: 10px; | |
2609 | height: 25px; |
|
2609 | height: 25px; | |
2610 | } |
|
2610 | } | |
2611 |
|
2611 | |||
2612 | #graph_content #rev_range_container { |
|
2612 | #graph_content #rev_range_container { | |
2613 | float: left; |
|
2613 | float: left; | |
2614 | margin: 0px 0px 0px 3px; |
|
2614 | margin: 0px 0px 0px 3px; | |
2615 | } |
|
2615 | } | |
2616 |
|
2616 | |||
2617 | #graph_content #rev_range_clear { |
|
2617 | #graph_content #rev_range_clear { | |
2618 | float: left; |
|
2618 | float: left; | |
2619 | margin: 0px 0px 0px 3px; |
|
2619 | margin: 0px 0px 0px 3px; | |
2620 | } |
|
2620 | } | |
2621 |
|
2621 | |||
2622 | #graph_content .container { |
|
2622 | #graph_content .container { | |
2623 | border-bottom: 1px solid #DDD; |
|
2623 | border-bottom: 1px solid #DDD; | |
2624 | height: 56px; |
|
2624 | height: 56px; | |
2625 | overflow: hidden; |
|
2625 | overflow: hidden; | |
2626 | } |
|
2626 | } | |
2627 |
|
2627 | |||
2628 | #graph_content .container .right { |
|
2628 | #graph_content .container .right { | |
2629 | float: right; |
|
2629 | float: right; | |
2630 | width: 23%; |
|
2630 | width: 23%; | |
2631 | text-align: right; |
|
2631 | text-align: right; | |
2632 | } |
|
2632 | } | |
2633 |
|
2633 | |||
2634 | #graph_content .container .left { |
|
2634 | #graph_content .container .left { | |
2635 | float: left; |
|
2635 | float: left; | |
2636 | width: 25%; |
|
2636 | width: 25%; | |
2637 | padding-left: 5px; |
|
2637 | padding-left: 5px; | |
2638 | } |
|
2638 | } | |
2639 |
|
2639 | |||
2640 | #graph_content .container .mid { |
|
2640 | #graph_content .container .mid { | |
2641 | float: left; |
|
2641 | float: left; | |
2642 | width: 49%; |
|
2642 | width: 49%; | |
2643 | } |
|
2643 | } | |
2644 |
|
2644 | |||
2645 |
|
2645 | |||
2646 | #graph_content .container .left .date { |
|
2646 | #graph_content .container .left .date { | |
2647 | color: #666; |
|
2647 | color: #666; | |
2648 | padding-left: 22px; |
|
2648 | padding-left: 22px; | |
2649 | font-size: 10px; |
|
2649 | font-size: 10px; | |
2650 | } |
|
2650 | } | |
2651 |
|
2651 | |||
2652 | #graph_content .container .left .author { |
|
2652 | #graph_content .container .left .author { | |
2653 | height: 22px; |
|
2653 | height: 22px; | |
2654 | } |
|
2654 | } | |
2655 |
|
2655 | |||
2656 | #graph_content .container .left .author .user { |
|
2656 | #graph_content .container .left .author .user { | |
2657 | color: #444444; |
|
2657 | color: #444444; | |
2658 | float: left; |
|
2658 | float: left; | |
2659 | margin-left: -4px; |
|
2659 | margin-left: -4px; | |
2660 | margin-top: 4px; |
|
2660 | margin-top: 4px; | |
2661 | } |
|
2661 | } | |
2662 |
|
2662 | |||
2663 | #graph_content .container .mid .message { |
|
2663 | #graph_content .container .mid .message { | |
2664 | white-space: pre-wrap; |
|
2664 | white-space: pre-wrap; | |
2665 | } |
|
2665 | } | |
2666 |
|
2666 | |||
2667 | #graph_content .container .mid .message a:hover{ |
|
2667 | #graph_content .container .mid .message a:hover{ | |
2668 | text-decoration: none; |
|
2668 | text-decoration: none; | |
2669 | } |
|
2669 | } | |
2670 |
|
2670 | |||
2671 | .revision-link |
|
2671 | .revision-link | |
2672 | { |
|
2672 | { | |
2673 | color:#3F6F9F; |
|
2673 | color:#3F6F9F; | |
2674 | font-weight: bold !important; |
|
2674 | font-weight: bold !important; | |
2675 | } |
|
2675 | } | |
2676 |
|
2676 | |||
2677 | .issue-tracker-link{ |
|
2677 | .issue-tracker-link{ | |
2678 | color:#3F6F9F; |
|
2678 | color:#3F6F9F; | |
2679 | font-weight: bold !important; |
|
2679 | font-weight: bold !important; | |
2680 | } |
|
2680 | } | |
2681 |
|
2681 | |||
2682 | .changeset-status-container{ |
|
2682 | .changeset-status-container{ | |
2683 | padding-right: 5px; |
|
2683 | padding-right: 5px; | |
2684 | margin-top:1px; |
|
2684 | margin-top:1px; | |
2685 | float:right; |
|
2685 | float:right; | |
2686 | height:14px; |
|
2686 | height:14px; | |
2687 | } |
|
2687 | } | |
2688 | .code-header .changeset-status-container{ |
|
2688 | .code-header .changeset-status-container{ | |
2689 | float:left; |
|
2689 | float:left; | |
2690 | padding:2px 0px 0px 2px; |
|
2690 | padding:2px 0px 0px 2px; | |
2691 | } |
|
2691 | } | |
2692 | .changeset-status-container .changeset-status-lbl{ |
|
2692 | .changeset-status-container .changeset-status-lbl{ | |
2693 | color: rgb(136, 136, 136); |
|
2693 | color: rgb(136, 136, 136); | |
2694 | float: left; |
|
2694 | float: left; | |
2695 | padding: 3px 4px 0px 0px |
|
2695 | padding: 3px 4px 0px 0px | |
2696 | } |
|
2696 | } | |
2697 | .code-header .changeset-status-container .changeset-status-lbl{ |
|
2697 | .code-header .changeset-status-container .changeset-status-lbl{ | |
2698 | float: left; |
|
2698 | float: left; | |
2699 | padding: 0px 4px 0px 0px; |
|
2699 | padding: 0px 4px 0px 0px; | |
2700 | } |
|
2700 | } | |
2701 | .changeset-status-container .changeset-status-ico{ |
|
2701 | .changeset-status-container .changeset-status-ico{ | |
2702 | float: left; |
|
2702 | float: left; | |
2703 | } |
|
2703 | } | |
2704 | .code-header .changeset-status-container .changeset-status-ico, .container .changeset-status-ico{ |
|
2704 | .code-header .changeset-status-container .changeset-status-ico, .container .changeset-status-ico{ | |
2705 | float: left; |
|
2705 | float: left; | |
2706 | } |
|
2706 | } | |
2707 | .right .comments-container{ |
|
2707 | .right .comments-container{ | |
2708 | padding-right: 5px; |
|
2708 | padding-right: 5px; | |
2709 | margin-top:1px; |
|
2709 | margin-top:1px; | |
2710 | float:right; |
|
2710 | float:right; | |
2711 | height:14px; |
|
2711 | height:14px; | |
2712 | } |
|
2712 | } | |
2713 |
|
2713 | |||
2714 | .right .comments-cnt{ |
|
2714 | .right .comments-cnt{ | |
2715 | float: left; |
|
2715 | float: left; | |
2716 | color: rgb(136, 136, 136); |
|
2716 | color: rgb(136, 136, 136); | |
2717 | padding-right: 2px; |
|
2717 | padding-right: 2px; | |
2718 | } |
|
2718 | } | |
2719 |
|
2719 | |||
2720 | .right .changes{ |
|
2720 | .right .changes{ | |
2721 | clear: both; |
|
2721 | clear: both; | |
2722 | } |
|
2722 | } | |
2723 |
|
2723 | |||
2724 | .right .changes .changed_total { |
|
2724 | .right .changes .changed_total { | |
2725 | display: block; |
|
2725 | display: block; | |
2726 | float: right; |
|
2726 | float: right; | |
2727 | text-align: center; |
|
2727 | text-align: center; | |
2728 | min-width: 45px; |
|
2728 | min-width: 45px; | |
2729 | cursor: pointer; |
|
2729 | cursor: pointer; | |
2730 | color: #444444; |
|
2730 | color: #444444; | |
2731 | background: #FEA; |
|
2731 | background: #FEA; | |
2732 | -webkit-border-radius: 0px 0px 0px 6px; |
|
2732 | -webkit-border-radius: 0px 0px 0px 6px; | |
2733 | -moz-border-radius: 0px 0px 0px 6px; |
|
2733 | -moz-border-radius: 0px 0px 0px 6px; | |
2734 | border-radius: 0px 0px 0px 6px; |
|
2734 | border-radius: 0px 0px 0px 6px; | |
2735 | padding: 1px; |
|
2735 | padding: 1px; | |
2736 | } |
|
2736 | } | |
2737 |
|
2737 | |||
2738 | .right .changes .added,.changed,.removed { |
|
2738 | .right .changes .added,.changed,.removed { | |
2739 | display: block; |
|
2739 | display: block; | |
2740 | padding: 1px; |
|
2740 | padding: 1px; | |
2741 | color: #444444; |
|
2741 | color: #444444; | |
2742 | float: right; |
|
2742 | float: right; | |
2743 | text-align: center; |
|
2743 | text-align: center; | |
2744 | min-width: 15px; |
|
2744 | min-width: 15px; | |
2745 | } |
|
2745 | } | |
2746 |
|
2746 | |||
2747 | .right .changes .added { |
|
2747 | .right .changes .added { | |
2748 | background: #CFC; |
|
2748 | background: #CFC; | |
2749 | } |
|
2749 | } | |
2750 |
|
2750 | |||
2751 | .right .changes .changed { |
|
2751 | .right .changes .changed { | |
2752 | background: #FEA; |
|
2752 | background: #FEA; | |
2753 | } |
|
2753 | } | |
2754 |
|
2754 | |||
2755 | .right .changes .removed { |
|
2755 | .right .changes .removed { | |
2756 | background: #FAA; |
|
2756 | background: #FAA; | |
2757 | } |
|
2757 | } | |
2758 |
|
2758 | |||
2759 | .right .merge { |
|
2759 | .right .merge { | |
2760 | padding: 1px 3px 1px 3px; |
|
2760 | padding: 1px 3px 1px 3px; | |
2761 | background-color: #fca062; |
|
2761 | background-color: #fca062; | |
2762 | font-size: 10px; |
|
2762 | font-size: 10px; | |
2763 | font-weight: bold; |
|
2763 | font-weight: bold; | |
2764 | color: #ffffff; |
|
2764 | color: #ffffff; | |
2765 | text-transform: uppercase; |
|
2765 | text-transform: uppercase; | |
2766 | white-space: nowrap; |
|
2766 | white-space: nowrap; | |
2767 | -webkit-border-radius: 3px; |
|
2767 | -webkit-border-radius: 3px; | |
2768 | -moz-border-radius: 3px; |
|
2768 | -moz-border-radius: 3px; | |
2769 | border-radius: 3px; |
|
2769 | border-radius: 3px; | |
2770 | margin-right: 2px; |
|
2770 | margin-right: 2px; | |
2771 | } |
|
2771 | } | |
2772 |
|
2772 | |||
2773 | .right .parent { |
|
2773 | .right .parent { | |
2774 | color: #666666; |
|
2774 | color: #666666; | |
2775 | clear:both; |
|
2775 | clear:both; | |
2776 | } |
|
2776 | } | |
2777 | .right .logtags{ |
|
2777 | .right .logtags{ | |
2778 | padding: 2px 2px 2px 2px; |
|
2778 | padding: 2px 2px 2px 2px; | |
2779 | } |
|
2779 | } | |
2780 | .right .logtags .branchtag,.right .logtags .tagtag,.right .logtags .booktag{ |
|
2780 | .right .logtags .branchtag,.right .logtags .tagtag,.right .logtags .booktag{ | |
2781 | margin: 0px 2px; |
|
2781 | margin: 0px 2px; | |
2782 | } |
|
2782 | } | |
2783 |
|
2783 | |||
2784 | .right .logtags .branchtag,.logtags .branchtag { |
|
2784 | .right .logtags .branchtag,.logtags .branchtag { | |
2785 | padding: 1px 3px 1px 3px; |
|
2785 | padding: 1px 3px 1px 3px; | |
2786 | background-color: #bfbfbf; |
|
2786 | background-color: #bfbfbf; | |
2787 | font-size: 10px; |
|
2787 | font-size: 10px; | |
2788 | font-weight: bold; |
|
2788 | font-weight: bold; | |
2789 | color: #ffffff; |
|
2789 | color: #ffffff; | |
2790 | text-transform: uppercase; |
|
2790 | text-transform: uppercase; | |
2791 | white-space: nowrap; |
|
2791 | white-space: nowrap; | |
2792 | -webkit-border-radius: 3px; |
|
2792 | -webkit-border-radius: 3px; | |
2793 | -moz-border-radius: 3px; |
|
2793 | -moz-border-radius: 3px; | |
2794 | border-radius: 3px; |
|
2794 | border-radius: 3px; | |
2795 | } |
|
2795 | } | |
2796 | .right .logtags .branchtag a:hover,.logtags .branchtag a{ |
|
2796 | .right .logtags .branchtag a:hover,.logtags .branchtag a{ | |
2797 | color: #ffffff; |
|
2797 | color: #ffffff; | |
2798 | } |
|
2798 | } | |
2799 | .right .logtags .branchtag a:hover,.logtags .branchtag a:hover{ |
|
2799 | .right .logtags .branchtag a:hover,.logtags .branchtag a:hover{ | |
2800 | text-decoration: none; |
|
2800 | text-decoration: none; | |
2801 | color: #ffffff; |
|
2801 | color: #ffffff; | |
2802 | } |
|
2802 | } | |
2803 | .right .logtags .tagtag,.logtags .tagtag { |
|
2803 | .right .logtags .tagtag,.logtags .tagtag { | |
2804 | padding: 1px 3px 1px 3px; |
|
2804 | padding: 1px 3px 1px 3px; | |
2805 | background-color: #62cffc; |
|
2805 | background-color: #62cffc; | |
2806 | font-size: 10px; |
|
2806 | font-size: 10px; | |
2807 | font-weight: bold; |
|
2807 | font-weight: bold; | |
2808 | color: #ffffff; |
|
2808 | color: #ffffff; | |
2809 | text-transform: uppercase; |
|
2809 | text-transform: uppercase; | |
2810 | white-space: nowrap; |
|
2810 | white-space: nowrap; | |
2811 | -webkit-border-radius: 3px; |
|
2811 | -webkit-border-radius: 3px; | |
2812 | -moz-border-radius: 3px; |
|
2812 | -moz-border-radius: 3px; | |
2813 | border-radius: 3px; |
|
2813 | border-radius: 3px; | |
2814 | } |
|
2814 | } | |
2815 | .right .logtags .tagtag a:hover,.logtags .tagtag a{ |
|
2815 | .right .logtags .tagtag a:hover,.logtags .tagtag a{ | |
2816 | color: #ffffff; |
|
2816 | color: #ffffff; | |
2817 | } |
|
2817 | } | |
2818 | .right .logtags .tagtag a:hover,.logtags .tagtag a:hover{ |
|
2818 | .right .logtags .tagtag a:hover,.logtags .tagtag a:hover{ | |
2819 | text-decoration: none; |
|
2819 | text-decoration: none; | |
2820 | color: #ffffff; |
|
2820 | color: #ffffff; | |
2821 | } |
|
2821 | } | |
2822 | .right .logbooks .bookbook,.logbooks .bookbook,.right .logtags .bookbook,.logtags .bookbook { |
|
2822 | .right .logbooks .bookbook,.logbooks .bookbook,.right .logtags .bookbook,.logtags .bookbook { | |
2823 | padding: 1px 3px 1px 3px; |
|
2823 | padding: 1px 3px 1px 3px; | |
2824 | background-color: #46A546; |
|
2824 | background-color: #46A546; | |
2825 | font-size: 10px; |
|
2825 | font-size: 10px; | |
2826 | font-weight: bold; |
|
2826 | font-weight: bold; | |
2827 | color: #ffffff; |
|
2827 | color: #ffffff; | |
2828 | text-transform: uppercase; |
|
2828 | text-transform: uppercase; | |
2829 | white-space: nowrap; |
|
2829 | white-space: nowrap; | |
2830 | -webkit-border-radius: 3px; |
|
2830 | -webkit-border-radius: 3px; | |
2831 | -moz-border-radius: 3px; |
|
2831 | -moz-border-radius: 3px; | |
2832 | border-radius: 3px; |
|
2832 | border-radius: 3px; | |
2833 | } |
|
2833 | } | |
2834 | .right .logbooks .bookbook,.logbooks .bookbook a,.right .logtags .bookbook,.logtags .bookbook a{ |
|
2834 | .right .logbooks .bookbook,.logbooks .bookbook a,.right .logtags .bookbook,.logtags .bookbook a{ | |
2835 | color: #ffffff; |
|
2835 | color: #ffffff; | |
2836 | } |
|
2836 | } | |
2837 | .right .logbooks .bookbook,.logbooks .bookbook a:hover,.right .logtags .bookbook,.logtags .bookbook a:hover{ |
|
2837 | .right .logbooks .bookbook,.logbooks .bookbook a:hover,.right .logtags .bookbook,.logtags .bookbook a:hover{ | |
2838 | text-decoration: none; |
|
2838 | text-decoration: none; | |
2839 | color: #ffffff; |
|
2839 | color: #ffffff; | |
2840 | } |
|
2840 | } | |
2841 | div.browserblock { |
|
2841 | div.browserblock { | |
2842 | overflow: hidden; |
|
2842 | overflow: hidden; | |
2843 | border: 1px solid #ccc; |
|
2843 | border: 1px solid #ccc; | |
2844 | background: #f8f8f8; |
|
2844 | background: #f8f8f8; | |
2845 | font-size: 100%; |
|
2845 | font-size: 100%; | |
2846 | line-height: 125%; |
|
2846 | line-height: 125%; | |
2847 | padding: 0; |
|
2847 | padding: 0; | |
2848 | -webkit-border-radius: 6px 6px 0px 0px; |
|
2848 | -webkit-border-radius: 6px 6px 0px 0px; | |
2849 | -moz-border-radius: 6px 6px 0px 0px; |
|
2849 | -moz-border-radius: 6px 6px 0px 0px; | |
2850 | border-radius: 6px 6px 0px 0px; |
|
2850 | border-radius: 6px 6px 0px 0px; | |
2851 | } |
|
2851 | } | |
2852 |
|
2852 | |||
2853 | div.browserblock .browser-header { |
|
2853 | div.browserblock .browser-header { | |
2854 | background: #FFF; |
|
2854 | background: #FFF; | |
2855 | padding: 10px 0px 15px 0px; |
|
2855 | padding: 10px 0px 15px 0px; | |
2856 | width: 100%; |
|
2856 | width: 100%; | |
2857 | } |
|
2857 | } | |
2858 |
|
2858 | |||
2859 | div.browserblock .browser-nav { |
|
2859 | div.browserblock .browser-nav { | |
2860 | float: left |
|
2860 | float: left | |
2861 | } |
|
2861 | } | |
2862 |
|
2862 | |||
2863 | div.browserblock .browser-branch { |
|
2863 | div.browserblock .browser-branch { | |
2864 | float: left; |
|
2864 | float: left; | |
2865 | } |
|
2865 | } | |
2866 |
|
2866 | |||
2867 | div.browserblock .browser-branch label { |
|
2867 | div.browserblock .browser-branch label { | |
2868 | color: #4A4A4A; |
|
2868 | color: #4A4A4A; | |
2869 | vertical-align: text-top; |
|
2869 | vertical-align: text-top; | |
2870 | } |
|
2870 | } | |
2871 |
|
2871 | |||
2872 | div.browserblock .browser-header span { |
|
2872 | div.browserblock .browser-header span { | |
2873 | margin-left: 5px; |
|
2873 | margin-left: 5px; | |
2874 | font-weight: 700; |
|
2874 | font-weight: 700; | |
2875 | } |
|
2875 | } | |
2876 |
|
2876 | |||
2877 | div.browserblock .browser-search { |
|
2877 | div.browserblock .browser-search { | |
2878 | clear: both; |
|
2878 | clear: both; | |
2879 | padding: 8px 8px 0px 5px; |
|
2879 | padding: 8px 8px 0px 5px; | |
2880 | height: 20px; |
|
2880 | height: 20px; | |
2881 | } |
|
2881 | } | |
2882 |
|
2882 | |||
2883 | div.browserblock #node_filter_box { |
|
2883 | div.browserblock #node_filter_box { | |
2884 |
|
2884 | |||
2885 | } |
|
2885 | } | |
2886 |
|
2886 | |||
2887 | div.browserblock .search_activate { |
|
2887 | div.browserblock .search_activate { | |
2888 | float: left |
|
2888 | float: left | |
2889 | } |
|
2889 | } | |
2890 |
|
2890 | |||
2891 | div.browserblock .add_node { |
|
2891 | div.browserblock .add_node { | |
2892 | float: left; |
|
2892 | float: left; | |
2893 | padding-left: 5px; |
|
2893 | padding-left: 5px; | |
2894 | } |
|
2894 | } | |
2895 |
|
2895 | |||
2896 | div.browserblock .search_activate a:hover,div.browserblock .add_node a:hover |
|
2896 | div.browserblock .search_activate a:hover,div.browserblock .add_node a:hover | |
2897 | { |
|
2897 | { | |
2898 | text-decoration: none !important; |
|
2898 | text-decoration: none !important; | |
2899 | } |
|
2899 | } | |
2900 |
|
2900 | |||
2901 | div.browserblock .browser-body { |
|
2901 | div.browserblock .browser-body { | |
2902 | background: #EEE; |
|
2902 | background: #EEE; | |
2903 | border-top: 1px solid #CCC; |
|
2903 | border-top: 1px solid #CCC; | |
2904 | } |
|
2904 | } | |
2905 |
|
2905 | |||
2906 | table.code-browser { |
|
2906 | table.code-browser { | |
2907 | border-collapse: collapse; |
|
2907 | border-collapse: collapse; | |
2908 | width: 100%; |
|
2908 | width: 100%; | |
2909 | } |
|
2909 | } | |
2910 |
|
2910 | |||
2911 | table.code-browser tr { |
|
2911 | table.code-browser tr { | |
2912 | margin: 3px; |
|
2912 | margin: 3px; | |
2913 | } |
|
2913 | } | |
2914 |
|
2914 | |||
2915 | table.code-browser thead th { |
|
2915 | table.code-browser thead th { | |
2916 | background-color: #EEE; |
|
2916 | background-color: #EEE; | |
2917 | height: 20px; |
|
2917 | height: 20px; | |
2918 | font-size: 1.1em; |
|
2918 | font-size: 1.1em; | |
2919 | font-weight: 700; |
|
2919 | font-weight: 700; | |
2920 | text-align: left; |
|
2920 | text-align: left; | |
2921 | padding-left: 10px; |
|
2921 | padding-left: 10px; | |
2922 | } |
|
2922 | } | |
2923 |
|
2923 | |||
2924 | table.code-browser tbody td { |
|
2924 | table.code-browser tbody td { | |
2925 | padding-left: 10px; |
|
2925 | padding-left: 10px; | |
2926 | height: 20px; |
|
2926 | height: 20px; | |
2927 | } |
|
2927 | } | |
2928 |
|
2928 | |||
2929 | table.code-browser .browser-file { |
|
2929 | table.code-browser .browser-file { | |
2930 | background: url("../images/icons/document_16.png") no-repeat scroll 3px; |
|
2930 | background: url("../images/icons/document_16.png") no-repeat scroll 3px; | |
2931 | height: 16px; |
|
2931 | height: 16px; | |
2932 | padding-left: 20px; |
|
2932 | padding-left: 20px; | |
2933 | text-align: left; |
|
2933 | text-align: left; | |
2934 | } |
|
2934 | } | |
2935 | .diffblock .changeset_header { |
|
2935 | .diffblock .changeset_header { | |
2936 | height: 16px; |
|
2936 | height: 16px; | |
2937 | } |
|
2937 | } | |
2938 | .diffblock .changeset_file { |
|
2938 | .diffblock .changeset_file { | |
2939 | background: url("../images/icons/file.png") no-repeat scroll 3px; |
|
2939 | background: url("../images/icons/file.png") no-repeat scroll 3px; | |
2940 | text-align: left; |
|
2940 | text-align: left; | |
2941 | float: left; |
|
2941 | float: left; | |
2942 | padding: 2px 0px 2px 22px; |
|
2942 | padding: 2px 0px 2px 22px; | |
2943 | } |
|
2943 | } | |
2944 | .diffblock .diff-menu-wrapper{ |
|
2944 | .diffblock .diff-menu-wrapper{ | |
2945 | float: left; |
|
2945 | float: left; | |
2946 | } |
|
2946 | } | |
2947 |
|
2947 | |||
2948 | .diffblock .diff-menu{ |
|
2948 | .diffblock .diff-menu{ | |
2949 | position: absolute; |
|
2949 | position: absolute; | |
2950 | background: none repeat scroll 0 0 #FFFFFF; |
|
2950 | background: none repeat scroll 0 0 #FFFFFF; | |
2951 | border-color: #003367 #666666 #666666; |
|
2951 | border-color: #003367 #666666 #666666; | |
2952 | border-right: 1px solid #666666; |
|
2952 | border-right: 1px solid #666666; | |
2953 | border-style: solid solid solid; |
|
2953 | border-style: solid solid solid; | |
2954 | border-width: 1px; |
|
2954 | border-width: 1px; | |
2955 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); |
|
2955 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); | |
2956 | margin-top:5px; |
|
2956 | margin-top:5px; | |
2957 | margin-left:1px; |
|
2957 | margin-left:1px; | |
2958 |
|
2958 | |||
2959 | } |
|
2959 | } | |
2960 | .diffblock .diff-actions { |
|
2960 | .diffblock .diff-actions { | |
2961 | padding: 2px 0px 0px 2px; |
|
2961 | padding: 2px 0px 0px 2px; | |
2962 | float: left; |
|
2962 | float: left; | |
2963 | } |
|
2963 | } | |
2964 | .diffblock .diff-menu ul li { |
|
2964 | .diffblock .diff-menu ul li { | |
2965 | padding: 0px 0px 0px 0px !important; |
|
2965 | padding: 0px 0px 0px 0px !important; | |
2966 | } |
|
2966 | } | |
2967 | .diffblock .diff-menu ul li a{ |
|
2967 | .diffblock .diff-menu ul li a{ | |
2968 | display: block; |
|
2968 | display: block; | |
2969 | padding: 3px 8px 3px 8px !important; |
|
2969 | padding: 3px 8px 3px 8px !important; | |
2970 | } |
|
2970 | } | |
2971 | .diffblock .diff-menu ul li a:hover{ |
|
2971 | .diffblock .diff-menu ul li a:hover{ | |
2972 | text-decoration: none; |
|
2972 | text-decoration: none; | |
2973 | background-color: #EEEEEE; |
|
2973 | background-color: #EEEEEE; | |
2974 | } |
|
2974 | } | |
2975 | table.code-browser .browser-dir { |
|
2975 | table.code-browser .browser-dir { | |
2976 | background: url("../images/icons/folder_16.png") no-repeat scroll 3px; |
|
2976 | background: url("../images/icons/folder_16.png") no-repeat scroll 3px; | |
2977 | height: 16px; |
|
2977 | height: 16px; | |
2978 | padding-left: 20px; |
|
2978 | padding-left: 20px; | |
2979 | text-align: left; |
|
2979 | text-align: left; | |
2980 | } |
|
2980 | } | |
2981 |
|
2981 | |||
2982 | table.code-browser .submodule-dir { |
|
2982 | table.code-browser .submodule-dir { | |
2983 | background: url("../images/icons/disconnect.png") no-repeat scroll 3px; |
|
2983 | background: url("../images/icons/disconnect.png") no-repeat scroll 3px; | |
2984 | height: 16px; |
|
2984 | height: 16px; | |
2985 | padding-left: 20px; |
|
2985 | padding-left: 20px; | |
2986 | text-align: left; |
|
2986 | text-align: left; | |
2987 | } |
|
2987 | } | |
2988 |
|
2988 | |||
2989 |
|
2989 | |||
2990 | .box .search { |
|
2990 | .box .search { | |
2991 | clear: both; |
|
2991 | clear: both; | |
2992 | overflow: hidden; |
|
2992 | overflow: hidden; | |
2993 | margin: 0; |
|
2993 | margin: 0; | |
2994 | padding: 0 20px 10px; |
|
2994 | padding: 0 20px 10px; | |
2995 | } |
|
2995 | } | |
2996 |
|
2996 | |||
2997 | .box .search div.search_path { |
|
2997 | .box .search div.search_path { | |
2998 | background: none repeat scroll 0 0 #EEE; |
|
2998 | background: none repeat scroll 0 0 #EEE; | |
2999 | border: 1px solid #CCC; |
|
2999 | border: 1px solid #CCC; | |
3000 | color: blue; |
|
3000 | color: blue; | |
3001 | margin-bottom: 10px; |
|
3001 | margin-bottom: 10px; | |
3002 | padding: 10px 0; |
|
3002 | padding: 10px 0; | |
3003 | } |
|
3003 | } | |
3004 |
|
3004 | |||
3005 | .box .search div.search_path div.link { |
|
3005 | .box .search div.search_path div.link { | |
3006 | font-weight: 700; |
|
3006 | font-weight: 700; | |
3007 | margin-left: 25px; |
|
3007 | margin-left: 25px; | |
3008 | } |
|
3008 | } | |
3009 |
|
3009 | |||
3010 | .box .search div.search_path div.link a { |
|
3010 | .box .search div.search_path div.link a { | |
3011 | color: #003367; |
|
3011 | color: #003367; | |
3012 | cursor: pointer; |
|
3012 | cursor: pointer; | |
3013 | text-decoration: none; |
|
3013 | text-decoration: none; | |
3014 | } |
|
3014 | } | |
3015 |
|
3015 | |||
3016 | #path_unlock { |
|
3016 | #path_unlock { | |
3017 | color: red; |
|
3017 | color: red; | |
3018 | font-size: 1.2em; |
|
3018 | font-size: 1.2em; | |
3019 | padding-left: 4px; |
|
3019 | padding-left: 4px; | |
3020 | } |
|
3020 | } | |
3021 |
|
3021 | |||
3022 | .info_box span { |
|
3022 | .info_box span { | |
3023 | margin-left: 3px; |
|
3023 | margin-left: 3px; | |
3024 | margin-right: 3px; |
|
3024 | margin-right: 3px; | |
3025 | } |
|
3025 | } | |
3026 |
|
3026 | |||
3027 | .info_box .rev { |
|
3027 | .info_box .rev { | |
3028 | color: #003367; |
|
3028 | color: #003367; | |
3029 | font-size: 1.6em; |
|
3029 | font-size: 1.6em; | |
3030 | font-weight: bold; |
|
3030 | font-weight: bold; | |
3031 | vertical-align: sub; |
|
3031 | vertical-align: sub; | |
3032 | } |
|
3032 | } | |
3033 |
|
3033 | |||
3034 | .info_box input#at_rev,.info_box input#size { |
|
3034 | .info_box input#at_rev,.info_box input#size { | |
3035 | background: #FFF; |
|
3035 | background: #FFF; | |
3036 | border-top: 1px solid #b3b3b3; |
|
3036 | border-top: 1px solid #b3b3b3; | |
3037 | border-left: 1px solid #b3b3b3; |
|
3037 | border-left: 1px solid #b3b3b3; | |
3038 | border-right: 1px solid #eaeaea; |
|
3038 | border-right: 1px solid #eaeaea; | |
3039 | border-bottom: 1px solid #eaeaea; |
|
3039 | border-bottom: 1px solid #eaeaea; | |
3040 | color: #000; |
|
3040 | color: #000; | |
3041 | font-size: 12px; |
|
3041 | font-size: 12px; | |
3042 | margin: 0; |
|
3042 | margin: 0; | |
3043 | padding: 1px 5px 1px; |
|
3043 | padding: 1px 5px 1px; | |
3044 | } |
|
3044 | } | |
3045 |
|
3045 | |||
3046 | .info_box input#view { |
|
3046 | .info_box input#view { | |
3047 | text-align: center; |
|
3047 | text-align: center; | |
3048 | padding: 4px 3px 2px 2px; |
|
3048 | padding: 4px 3px 2px 2px; | |
3049 | } |
|
3049 | } | |
3050 |
|
3050 | |||
3051 | .yui-overlay,.yui-panel-container { |
|
3051 | .yui-overlay,.yui-panel-container { | |
3052 | visibility: hidden; |
|
3052 | visibility: hidden; | |
3053 | position: absolute; |
|
3053 | position: absolute; | |
3054 | z-index: 2; |
|
3054 | z-index: 2; | |
3055 | } |
|
3055 | } | |
3056 |
|
3056 | |||
3057 | #tip-box { |
|
3057 | #tip-box { | |
3058 | position: absolute; |
|
3058 | position: absolute; | |
3059 |
|
3059 | |||
3060 | background-color: #FFF; |
|
3060 | background-color: #FFF; | |
3061 | border: 2px solid #003367; |
|
3061 | border: 2px solid #003367; | |
3062 | font: 100% sans-serif; |
|
3062 | font: 100% sans-serif; | |
3063 | width: auto; |
|
3063 | width: auto; | |
3064 | opacity: 1px; |
|
3064 | opacity: 1px; | |
3065 | padding: 8px; |
|
3065 | padding: 8px; | |
3066 |
|
3066 | |||
3067 | white-space: pre-wrap; |
|
3067 | white-space: pre-wrap; | |
3068 | -webkit-border-radius: 8px 8px 8px 8px; |
|
3068 | -webkit-border-radius: 8px 8px 8px 8px; | |
3069 | -khtml-border-radius: 8px 8px 8px 8px; |
|
3069 | -khtml-border-radius: 8px 8px 8px 8px; | |
3070 | -moz-border-radius: 8px 8px 8px 8px; |
|
3070 | -moz-border-radius: 8px 8px 8px 8px; | |
3071 | border-radius: 8px 8px 8px 8px; |
|
3071 | border-radius: 8px 8px 8px 8px; | |
3072 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
3072 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
3073 | -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
3073 | -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
3074 | -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
3074 | -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |
3075 | } |
|
3075 | } | |
3076 |
|
3076 | |||
|
3077 | .hl-tip-box { | |||
|
3078 | visibility: hidden; | |||
|
3079 | position: absolute; | |||
|
3080 | color: #666; | |||
|
3081 | background-color: #FFF; | |||
|
3082 | border: 2px solid #003367; | |||
|
3083 | font: 100% sans-serif; | |||
|
3084 | width: auto; | |||
|
3085 | opacity: 1px; | |||
|
3086 | padding: 8px; | |||
|
3087 | white-space: pre-wrap; | |||
|
3088 | -webkit-border-radius: 8px 8px 8px 8px; | |||
|
3089 | -khtml-border-radius: 8px 8px 8px 8px; | |||
|
3090 | -moz-border-radius: 8px 8px 8px 8px; | |||
|
3091 | border-radius: 8px 8px 8px 8px; | |||
|
3092 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); | |||
|
3093 | } | |||
|
3094 | ||||
|
3095 | ||||
3077 | .mentions-container{ |
|
3096 | .mentions-container{ | |
3078 | width: 90% !important; |
|
3097 | width: 90% !important; | |
3079 | } |
|
3098 | } | |
3080 | .mentions-container .yui-ac-content{ |
|
3099 | .mentions-container .yui-ac-content{ | |
3081 | width: 100% !important; |
|
3100 | width: 100% !important; | |
3082 | } |
|
3101 | } | |
3083 |
|
3102 | |||
3084 | .ac { |
|
3103 | .ac { | |
3085 | vertical-align: top; |
|
3104 | vertical-align: top; | |
3086 | } |
|
3105 | } | |
3087 |
|
3106 | |||
3088 | .ac .yui-ac { |
|
3107 | .ac .yui-ac { | |
3089 | position: inherit; |
|
3108 | position: inherit; | |
3090 | font-size: 100%; |
|
3109 | font-size: 100%; | |
3091 | } |
|
3110 | } | |
3092 |
|
3111 | |||
3093 | .ac .perm_ac { |
|
3112 | .ac .perm_ac { | |
3094 | width: 20em; |
|
3113 | width: 20em; | |
3095 | } |
|
3114 | } | |
3096 |
|
3115 | |||
3097 | .ac .yui-ac-input { |
|
3116 | .ac .yui-ac-input { | |
3098 | width: 100%; |
|
3117 | width: 100%; | |
3099 | } |
|
3118 | } | |
3100 |
|
3119 | |||
3101 | .ac .yui-ac-container { |
|
3120 | .ac .yui-ac-container { | |
3102 | position: absolute; |
|
3121 | position: absolute; | |
3103 | top: 1.6em; |
|
3122 | top: 1.6em; | |
3104 | width: auto; |
|
3123 | width: auto; | |
3105 | } |
|
3124 | } | |
3106 |
|
3125 | |||
3107 | .ac .yui-ac-content { |
|
3126 | .ac .yui-ac-content { | |
3108 | position: absolute; |
|
3127 | position: absolute; | |
3109 | border: 1px solid gray; |
|
3128 | border: 1px solid gray; | |
3110 | background: #fff; |
|
3129 | background: #fff; | |
3111 | z-index: 9050; |
|
3130 | z-index: 9050; | |
3112 |
|
3131 | |||
3113 | } |
|
3132 | } | |
3114 |
|
3133 | |||
3115 | .ac .yui-ac-shadow { |
|
3134 | .ac .yui-ac-shadow { | |
3116 | position: absolute; |
|
3135 | position: absolute; | |
3117 | width: 100%; |
|
3136 | width: 100%; | |
3118 | background: #000; |
|
3137 | background: #000; | |
3119 | -moz-opacity: 0.1px; |
|
3138 | -moz-opacity: 0.1px; | |
3120 | opacity: .10; |
|
3139 | opacity: .10; | |
3121 | filter: alpha(opacity = 10); |
|
3140 | filter: alpha(opacity = 10); | |
3122 | z-index: 9049; |
|
3141 | z-index: 9049; | |
3123 | margin: .3em; |
|
3142 | margin: .3em; | |
3124 | } |
|
3143 | } | |
3125 |
|
3144 | |||
3126 | .ac .yui-ac-content ul { |
|
3145 | .ac .yui-ac-content ul { | |
3127 | width: 100%; |
|
3146 | width: 100%; | |
3128 | margin: 0; |
|
3147 | margin: 0; | |
3129 | padding: 0; |
|
3148 | padding: 0; | |
3130 | z-index: 9050; |
|
3149 | z-index: 9050; | |
3131 | } |
|
3150 | } | |
3132 |
|
3151 | |||
3133 | .ac .yui-ac-content li { |
|
3152 | .ac .yui-ac-content li { | |
3134 | cursor: default; |
|
3153 | cursor: default; | |
3135 | white-space: nowrap; |
|
3154 | white-space: nowrap; | |
3136 | margin: 0; |
|
3155 | margin: 0; | |
3137 | padding: 2px 5px; |
|
3156 | padding: 2px 5px; | |
3138 | height: 18px; |
|
3157 | height: 18px; | |
3139 | z-index: 9050; |
|
3158 | z-index: 9050; | |
3140 | display: block; |
|
3159 | display: block; | |
3141 | width: auto !important; |
|
3160 | width: auto !important; | |
3142 | } |
|
3161 | } | |
3143 |
|
3162 | |||
3144 | .ac .yui-ac-content li .ac-container-wrap{ |
|
3163 | .ac .yui-ac-content li .ac-container-wrap{ | |
3145 | width: auto; |
|
3164 | width: auto; | |
3146 | } |
|
3165 | } | |
3147 |
|
3166 | |||
3148 | .ac .yui-ac-content li.yui-ac-prehighlight { |
|
3167 | .ac .yui-ac-content li.yui-ac-prehighlight { | |
3149 | background: #B3D4FF; |
|
3168 | background: #B3D4FF; | |
3150 | z-index: 9050; |
|
3169 | z-index: 9050; | |
3151 | } |
|
3170 | } | |
3152 |
|
3171 | |||
3153 | .ac .yui-ac-content li.yui-ac-highlight { |
|
3172 | .ac .yui-ac-content li.yui-ac-highlight { | |
3154 | background: #556CB5; |
|
3173 | background: #556CB5; | |
3155 | color: #FFF; |
|
3174 | color: #FFF; | |
3156 | z-index: 9050; |
|
3175 | z-index: 9050; | |
3157 | } |
|
3176 | } | |
3158 | .ac .yui-ac-bd{ |
|
3177 | .ac .yui-ac-bd{ | |
3159 | z-index: 9050; |
|
3178 | z-index: 9050; | |
3160 | } |
|
3179 | } | |
3161 |
|
3180 | |||
3162 | .follow { |
|
3181 | .follow { | |
3163 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; |
|
3182 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; | |
3164 | height: 16px; |
|
3183 | height: 16px; | |
3165 | width: 20px; |
|
3184 | width: 20px; | |
3166 | cursor: pointer; |
|
3185 | cursor: pointer; | |
3167 | display: block; |
|
3186 | display: block; | |
3168 | float: right; |
|
3187 | float: right; | |
3169 | margin-top: 2px; |
|
3188 | margin-top: 2px; | |
3170 | } |
|
3189 | } | |
3171 |
|
3190 | |||
3172 | .following { |
|
3191 | .following { | |
3173 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; |
|
3192 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; | |
3174 | height: 16px; |
|
3193 | height: 16px; | |
3175 | width: 20px; |
|
3194 | width: 20px; | |
3176 | cursor: pointer; |
|
3195 | cursor: pointer; | |
3177 | display: block; |
|
3196 | display: block; | |
3178 | float: right; |
|
3197 | float: right; | |
3179 | margin-top: 2px; |
|
3198 | margin-top: 2px; | |
3180 | } |
|
3199 | } | |
3181 |
|
3200 | |||
3182 | .locking_locked{ |
|
3201 | .locking_locked{ | |
3183 | background: #FFF url("../images/icons/block_16.png") no-repeat scroll 3px; |
|
3202 | background: #FFF url("../images/icons/block_16.png") no-repeat scroll 3px; | |
3184 | height: 16px; |
|
3203 | height: 16px; | |
3185 | width: 20px; |
|
3204 | width: 20px; | |
3186 | cursor: pointer; |
|
3205 | cursor: pointer; | |
3187 | display: block; |
|
3206 | display: block; | |
3188 | float: right; |
|
3207 | float: right; | |
3189 | margin-top: 2px; |
|
3208 | margin-top: 2px; | |
3190 | } |
|
3209 | } | |
3191 |
|
3210 | |||
3192 | .locking_unlocked{ |
|
3211 | .locking_unlocked{ | |
3193 | background: #FFF url("../images/icons/accept.png") no-repeat scroll 3px; |
|
3212 | background: #FFF url("../images/icons/accept.png") no-repeat scroll 3px; | |
3194 | height: 16px; |
|
3213 | height: 16px; | |
3195 | width: 20px; |
|
3214 | width: 20px; | |
3196 | cursor: pointer; |
|
3215 | cursor: pointer; | |
3197 | display: block; |
|
3216 | display: block; | |
3198 | float: right; |
|
3217 | float: right; | |
3199 | margin-top: 2px; |
|
3218 | margin-top: 2px; | |
3200 | } |
|
3219 | } | |
3201 |
|
3220 | |||
3202 | .currently_following { |
|
3221 | .currently_following { | |
3203 | padding-left: 10px; |
|
3222 | padding-left: 10px; | |
3204 | padding-bottom: 5px; |
|
3223 | padding-bottom: 5px; | |
3205 | } |
|
3224 | } | |
3206 |
|
3225 | |||
3207 | .add_icon { |
|
3226 | .add_icon { | |
3208 | background: url("../images/icons/add.png") no-repeat scroll 3px; |
|
3227 | background: url("../images/icons/add.png") no-repeat scroll 3px; | |
3209 | padding-left: 20px; |
|
3228 | padding-left: 20px; | |
3210 | padding-top: 0px; |
|
3229 | padding-top: 0px; | |
3211 | text-align: left; |
|
3230 | text-align: left; | |
3212 | } |
|
3231 | } | |
3213 |
|
3232 | |||
3214 | .accept_icon { |
|
3233 | .accept_icon { | |
3215 | background: url("../images/icons/accept.png") no-repeat scroll 3px; |
|
3234 | background: url("../images/icons/accept.png") no-repeat scroll 3px; | |
3216 | padding-left: 20px; |
|
3235 | padding-left: 20px; | |
3217 | padding-top: 0px; |
|
3236 | padding-top: 0px; | |
3218 | text-align: left; |
|
3237 | text-align: left; | |
3219 | } |
|
3238 | } | |
3220 |
|
3239 | |||
3221 | .edit_icon { |
|
3240 | .edit_icon { | |
3222 | background: url("../images/icons/folder_edit.png") no-repeat scroll 3px; |
|
3241 | background: url("../images/icons/folder_edit.png") no-repeat scroll 3px; | |
3223 | padding-left: 20px; |
|
3242 | padding-left: 20px; | |
3224 | padding-top: 0px; |
|
3243 | padding-top: 0px; | |
3225 | text-align: left; |
|
3244 | text-align: left; | |
3226 | } |
|
3245 | } | |
3227 |
|
3246 | |||
3228 | .delete_icon { |
|
3247 | .delete_icon { | |
3229 | background: url("../images/icons/delete.png") no-repeat scroll 3px; |
|
3248 | background: url("../images/icons/delete.png") no-repeat scroll 3px; | |
3230 | padding-left: 20px; |
|
3249 | padding-left: 20px; | |
3231 | padding-top: 0px; |
|
3250 | padding-top: 0px; | |
3232 | text-align: left; |
|
3251 | text-align: left; | |
3233 | } |
|
3252 | } | |
3234 |
|
3253 | |||
3235 | .refresh_icon { |
|
3254 | .refresh_icon { | |
3236 | background: url("../images/icons/arrow_refresh.png") no-repeat scroll |
|
3255 | background: url("../images/icons/arrow_refresh.png") no-repeat scroll | |
3237 | 3px; |
|
3256 | 3px; | |
3238 | padding-left: 20px; |
|
3257 | padding-left: 20px; | |
3239 | padding-top: 0px; |
|
3258 | padding-top: 0px; | |
3240 | text-align: left; |
|
3259 | text-align: left; | |
3241 | } |
|
3260 | } | |
3242 |
|
3261 | |||
3243 | .pull_icon { |
|
3262 | .pull_icon { | |
3244 | background: url("../images/icons/connect.png") no-repeat scroll 3px; |
|
3263 | background: url("../images/icons/connect.png") no-repeat scroll 3px; | |
3245 | padding-left: 20px; |
|
3264 | padding-left: 20px; | |
3246 | padding-top: 0px; |
|
3265 | padding-top: 0px; | |
3247 | text-align: left; |
|
3266 | text-align: left; | |
3248 | } |
|
3267 | } | |
3249 |
|
3268 | |||
3250 | .rss_icon { |
|
3269 | .rss_icon { | |
3251 | background: url("../images/icons/rss_16.png") no-repeat scroll 3px; |
|
3270 | background: url("../images/icons/rss_16.png") no-repeat scroll 3px; | |
3252 | padding-left: 20px; |
|
3271 | padding-left: 20px; | |
3253 | padding-top: 4px; |
|
3272 | padding-top: 4px; | |
3254 | text-align: left; |
|
3273 | text-align: left; | |
3255 | font-size: 8px |
|
3274 | font-size: 8px | |
3256 | } |
|
3275 | } | |
3257 |
|
3276 | |||
3258 | .atom_icon { |
|
3277 | .atom_icon { | |
3259 | background: url("../images/icons/atom.png") no-repeat scroll 3px; |
|
3278 | background: url("../images/icons/atom.png") no-repeat scroll 3px; | |
3260 | padding-left: 20px; |
|
3279 | padding-left: 20px; | |
3261 | padding-top: 4px; |
|
3280 | padding-top: 4px; | |
3262 | text-align: left; |
|
3281 | text-align: left; | |
3263 | font-size: 8px |
|
3282 | font-size: 8px | |
3264 | } |
|
3283 | } | |
3265 |
|
3284 | |||
3266 | .archive_icon { |
|
3285 | .archive_icon { | |
3267 | background: url("../images/icons/compress.png") no-repeat scroll 3px; |
|
3286 | background: url("../images/icons/compress.png") no-repeat scroll 3px; | |
3268 | padding-left: 20px; |
|
3287 | padding-left: 20px; | |
3269 | text-align: left; |
|
3288 | text-align: left; | |
3270 | padding-top: 1px; |
|
3289 | padding-top: 1px; | |
3271 | } |
|
3290 | } | |
3272 |
|
3291 | |||
3273 | .start_following_icon { |
|
3292 | .start_following_icon { | |
3274 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; |
|
3293 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; | |
3275 | padding-left: 20px; |
|
3294 | padding-left: 20px; | |
3276 | text-align: left; |
|
3295 | text-align: left; | |
3277 | padding-top: 0px; |
|
3296 | padding-top: 0px; | |
3278 | } |
|
3297 | } | |
3279 |
|
3298 | |||
3280 | .stop_following_icon { |
|
3299 | .stop_following_icon { | |
3281 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; |
|
3300 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; | |
3282 | padding-left: 20px; |
|
3301 | padding-left: 20px; | |
3283 | text-align: left; |
|
3302 | text-align: left; | |
3284 | padding-top: 0px; |
|
3303 | padding-top: 0px; | |
3285 | } |
|
3304 | } | |
3286 |
|
3305 | |||
3287 | .action_button { |
|
3306 | .action_button { | |
3288 | border: 0; |
|
3307 | border: 0; | |
3289 | display: inline; |
|
3308 | display: inline; | |
3290 | } |
|
3309 | } | |
3291 |
|
3310 | |||
3292 | .action_button:hover { |
|
3311 | .action_button:hover { | |
3293 | border: 0; |
|
3312 | border: 0; | |
3294 | text-decoration: underline; |
|
3313 | text-decoration: underline; | |
3295 | cursor: pointer; |
|
3314 | cursor: pointer; | |
3296 | } |
|
3315 | } | |
3297 |
|
3316 | |||
3298 | #switch_repos { |
|
3317 | #switch_repos { | |
3299 | position: absolute; |
|
3318 | position: absolute; | |
3300 | height: 25px; |
|
3319 | height: 25px; | |
3301 | z-index: 1; |
|
3320 | z-index: 1; | |
3302 | } |
|
3321 | } | |
3303 |
|
3322 | |||
3304 | #switch_repos select { |
|
3323 | #switch_repos select { | |
3305 | min-width: 150px; |
|
3324 | min-width: 150px; | |
3306 | max-height: 250px; |
|
3325 | max-height: 250px; | |
3307 | z-index: 1; |
|
3326 | z-index: 1; | |
3308 | } |
|
3327 | } | |
3309 |
|
3328 | |||
3310 | .breadcrumbs { |
|
3329 | .breadcrumbs { | |
3311 | border: medium none; |
|
3330 | border: medium none; | |
3312 | color: #FFF; |
|
3331 | color: #FFF; | |
3313 | float: left; |
|
3332 | float: left; | |
3314 | text-transform: uppercase; |
|
3333 | text-transform: uppercase; | |
3315 | font-weight: 700; |
|
3334 | font-weight: 700; | |
3316 | font-size: 14px; |
|
3335 | font-size: 14px; | |
3317 | margin: 0; |
|
3336 | margin: 0; | |
3318 | padding: 11px 0 11px 10px; |
|
3337 | padding: 11px 0 11px 10px; | |
3319 | } |
|
3338 | } | |
3320 |
|
3339 | |||
3321 | .breadcrumbs .hash { |
|
3340 | .breadcrumbs .hash { | |
3322 | text-transform: none; |
|
3341 | text-transform: none; | |
3323 | color: #fff; |
|
3342 | color: #fff; | |
3324 | } |
|
3343 | } | |
3325 |
|
3344 | |||
3326 | .breadcrumbs a { |
|
3345 | .breadcrumbs a { | |
3327 | color: #FFF; |
|
3346 | color: #FFF; | |
3328 | } |
|
3347 | } | |
3329 |
|
3348 | |||
3330 | .flash_msg { |
|
3349 | .flash_msg { | |
3331 |
|
3350 | |||
3332 | } |
|
3351 | } | |
3333 |
|
3352 | |||
3334 | .flash_msg ul { |
|
3353 | .flash_msg ul { | |
3335 |
|
3354 | |||
3336 | } |
|
3355 | } | |
3337 |
|
3356 | |||
3338 | .error_red { |
|
3357 | .error_red { | |
3339 | color:red; |
|
3358 | color:red; | |
3340 | } |
|
3359 | } | |
3341 |
|
3360 | |||
3342 | .error_msg { |
|
3361 | .error_msg { | |
3343 | background-color: #c43c35; |
|
3362 | background-color: #c43c35; | |
3344 | background-repeat: repeat-x; |
|
3363 | background-repeat: repeat-x; | |
3345 | background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35) ); |
|
3364 | background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35) ); | |
3346 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); |
|
3365 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); | |
3347 | background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); |
|
3366 | background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); | |
3348 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35) ); |
|
3367 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35) ); | |
3349 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); |
|
3368 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); | |
3350 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); |
|
3369 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); | |
3351 | background-image: linear-gradient(top, #ee5f5b, #c43c35); |
|
3370 | background-image: linear-gradient(top, #ee5f5b, #c43c35); | |
3352 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35', GradientType=0 ); |
|
3371 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b',endColorstr='#c43c35', GradientType=0 ); | |
3353 | border-color: #c43c35 #c43c35 #882a25; |
|
3372 | border-color: #c43c35 #c43c35 #882a25; | |
3354 | } |
|
3373 | } | |
3355 |
|
3374 | |||
3356 | .warning_msg { |
|
3375 | .warning_msg { | |
3357 | color: #404040 !important; |
|
3376 | color: #404040 !important; | |
3358 | background-color: #eedc94; |
|
3377 | background-color: #eedc94; | |
3359 | background-repeat: repeat-x; |
|
3378 | background-repeat: repeat-x; | |
3360 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94) ); |
|
3379 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94) ); | |
3361 | background-image: -moz-linear-gradient(top, #fceec1, #eedc94); |
|
3380 | background-image: -moz-linear-gradient(top, #fceec1, #eedc94); | |
3362 | background-image: -ms-linear-gradient(top, #fceec1, #eedc94); |
|
3381 | background-image: -ms-linear-gradient(top, #fceec1, #eedc94); | |
3363 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94) ); |
|
3382 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94) ); | |
3364 | background-image: -webkit-linear-gradient(top, #fceec1, #eedc94); |
|
3383 | background-image: -webkit-linear-gradient(top, #fceec1, #eedc94); | |
3365 | background-image: -o-linear-gradient(top, #fceec1, #eedc94); |
|
3384 | background-image: -o-linear-gradient(top, #fceec1, #eedc94); | |
3366 | background-image: linear-gradient(top, #fceec1, #eedc94); |
|
3385 | background-image: linear-gradient(top, #fceec1, #eedc94); | |
3367 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', endColorstr='#eedc94', GradientType=0 ); |
|
3386 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', endColorstr='#eedc94', GradientType=0 ); | |
3368 | border-color: #eedc94 #eedc94 #e4c652; |
|
3387 | border-color: #eedc94 #eedc94 #e4c652; | |
3369 | } |
|
3388 | } | |
3370 |
|
3389 | |||
3371 | .success_msg { |
|
3390 | .success_msg { | |
3372 | background-color: #57a957; |
|
3391 | background-color: #57a957; | |
3373 | background-repeat: repeat-x !important; |
|
3392 | background-repeat: repeat-x !important; | |
3374 | background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957) ); |
|
3393 | background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957) ); | |
3375 | background-image: -moz-linear-gradient(top, #62c462, #57a957); |
|
3394 | background-image: -moz-linear-gradient(top, #62c462, #57a957); | |
3376 | background-image: -ms-linear-gradient(top, #62c462, #57a957); |
|
3395 | background-image: -ms-linear-gradient(top, #62c462, #57a957); | |
3377 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957) ); |
|
3396 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957) ); | |
3378 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); |
|
3397 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); | |
3379 | background-image: -o-linear-gradient(top, #62c462, #57a957); |
|
3398 | background-image: -o-linear-gradient(top, #62c462, #57a957); | |
3380 | background-image: linear-gradient(top, #62c462, #57a957); |
|
3399 | background-image: linear-gradient(top, #62c462, #57a957); | |
3381 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0 ); |
|
3400 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0 ); | |
3382 | border-color: #57a957 #57a957 #3d773d; |
|
3401 | border-color: #57a957 #57a957 #3d773d; | |
3383 | } |
|
3402 | } | |
3384 |
|
3403 | |||
3385 | .notice_msg { |
|
3404 | .notice_msg { | |
3386 | background-color: #339bb9; |
|
3405 | background-color: #339bb9; | |
3387 | background-repeat: repeat-x; |
|
3406 | background-repeat: repeat-x; | |
3388 | background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9) ); |
|
3407 | background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9) ); | |
3389 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); |
|
3408 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); | |
3390 | background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); |
|
3409 | background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); | |
3391 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9) ); |
|
3410 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9) ); | |
3392 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); |
|
3411 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); | |
3393 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); |
|
3412 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); | |
3394 | background-image: linear-gradient(top, #5bc0de, #339bb9); |
|
3413 | background-image: linear-gradient(top, #5bc0de, #339bb9); | |
3395 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0 ); |
|
3414 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0 ); | |
3396 | border-color: #339bb9 #339bb9 #22697d; |
|
3415 | border-color: #339bb9 #339bb9 #22697d; | |
3397 | } |
|
3416 | } | |
3398 |
|
3417 | |||
3399 | .success_msg,.error_msg,.notice_msg,.warning_msg { |
|
3418 | .success_msg,.error_msg,.notice_msg,.warning_msg { | |
3400 | font-size: 12px; |
|
3419 | font-size: 12px; | |
3401 | font-weight: 700; |
|
3420 | font-weight: 700; | |
3402 | min-height: 14px; |
|
3421 | min-height: 14px; | |
3403 | line-height: 14px; |
|
3422 | line-height: 14px; | |
3404 | margin-bottom: 10px; |
|
3423 | margin-bottom: 10px; | |
3405 | margin-top: 0; |
|
3424 | margin-top: 0; | |
3406 | display: block; |
|
3425 | display: block; | |
3407 | overflow: auto; |
|
3426 | overflow: auto; | |
3408 | padding: 6px 10px 6px 10px; |
|
3427 | padding: 6px 10px 6px 10px; | |
3409 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
3428 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | |
3410 | position: relative; |
|
3429 | position: relative; | |
3411 | color: #FFF; |
|
3430 | color: #FFF; | |
3412 | border-width: 1px; |
|
3431 | border-width: 1px; | |
3413 | border-style: solid; |
|
3432 | border-style: solid; | |
3414 | -webkit-border-radius: 4px; |
|
3433 | -webkit-border-radius: 4px; | |
3415 | -moz-border-radius: 4px; |
|
3434 | -moz-border-radius: 4px; | |
3416 | border-radius: 4px; |
|
3435 | border-radius: 4px; | |
3417 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
3436 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); | |
3418 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
3437 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); | |
3419 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
3438 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); | |
3420 | } |
|
3439 | } | |
3421 |
|
3440 | |||
3422 | #msg_close { |
|
3441 | #msg_close { | |
3423 | background: transparent url("../icons/cross_grey_small.png") no-repeat scroll 0 0; |
|
3442 | background: transparent url("../icons/cross_grey_small.png") no-repeat scroll 0 0; | |
3424 | cursor: pointer; |
|
3443 | cursor: pointer; | |
3425 | height: 16px; |
|
3444 | height: 16px; | |
3426 | position: absolute; |
|
3445 | position: absolute; | |
3427 | right: 5px; |
|
3446 | right: 5px; | |
3428 | top: 5px; |
|
3447 | top: 5px; | |
3429 | width: 16px; |
|
3448 | width: 16px; | |
3430 | } |
|
3449 | } | |
3431 | div#legend_data{ |
|
3450 | div#legend_data{ | |
3432 | padding-left:10px; |
|
3451 | padding-left:10px; | |
3433 | } |
|
3452 | } | |
3434 | div#legend_container table{ |
|
3453 | div#legend_container table{ | |
3435 | border: none !important; |
|
3454 | border: none !important; | |
3436 | } |
|
3455 | } | |
3437 | div#legend_container table,div#legend_choices table { |
|
3456 | div#legend_container table,div#legend_choices table { | |
3438 | width: auto !important; |
|
3457 | width: auto !important; | |
3439 | } |
|
3458 | } | |
3440 |
|
3459 | |||
3441 | table#permissions_manage { |
|
3460 | table#permissions_manage { | |
3442 | width: 0 !important; |
|
3461 | width: 0 !important; | |
3443 | } |
|
3462 | } | |
3444 |
|
3463 | |||
3445 | table#permissions_manage span.private_repo_msg { |
|
3464 | table#permissions_manage span.private_repo_msg { | |
3446 | font-size: 0.8em; |
|
3465 | font-size: 0.8em; | |
3447 | opacity: 0.6px; |
|
3466 | opacity: 0.6px; | |
3448 | } |
|
3467 | } | |
3449 |
|
3468 | |||
3450 | table#permissions_manage td.private_repo_msg { |
|
3469 | table#permissions_manage td.private_repo_msg { | |
3451 | font-size: 0.8em; |
|
3470 | font-size: 0.8em; | |
3452 | } |
|
3471 | } | |
3453 |
|
3472 | |||
3454 | table#permissions_manage tr#add_perm_input td { |
|
3473 | table#permissions_manage tr#add_perm_input td { | |
3455 | vertical-align: middle; |
|
3474 | vertical-align: middle; | |
3456 | } |
|
3475 | } | |
3457 |
|
3476 | |||
3458 | div.gravatar { |
|
3477 | div.gravatar { | |
3459 | background-color: #FFF; |
|
3478 | background-color: #FFF; | |
3460 | float: left; |
|
3479 | float: left; | |
3461 | margin-right: 0.7em; |
|
3480 | margin-right: 0.7em; | |
3462 | padding: 1px 1px 1px 1px; |
|
3481 | padding: 1px 1px 1px 1px; | |
3463 | line-height:0; |
|
3482 | line-height:0; | |
3464 | -webkit-border-radius: 3px; |
|
3483 | -webkit-border-radius: 3px; | |
3465 | -khtml-border-radius: 3px; |
|
3484 | -khtml-border-radius: 3px; | |
3466 | -moz-border-radius: 3px; |
|
3485 | -moz-border-radius: 3px; | |
3467 | border-radius: 3px; |
|
3486 | border-radius: 3px; | |
3468 | } |
|
3487 | } | |
3469 |
|
3488 | |||
3470 | div.gravatar img { |
|
3489 | div.gravatar img { | |
3471 | -webkit-border-radius: 2px; |
|
3490 | -webkit-border-radius: 2px; | |
3472 | -khtml-border-radius: 2px; |
|
3491 | -khtml-border-radius: 2px; | |
3473 | -moz-border-radius: 2px; |
|
3492 | -moz-border-radius: 2px; | |
3474 | border-radius: 2px; |
|
3493 | border-radius: 2px; | |
3475 | } |
|
3494 | } | |
3476 |
|
3495 | |||
3477 | #header,#content,#footer { |
|
3496 | #header,#content,#footer { | |
3478 | min-width: 978px; |
|
3497 | min-width: 978px; | |
3479 | } |
|
3498 | } | |
3480 |
|
3499 | |||
3481 | #content { |
|
3500 | #content { | |
3482 | clear: both; |
|
3501 | clear: both; | |
3483 | overflow: hidden; |
|
3502 | overflow: hidden; | |
3484 | padding: 54px 10px 14px 10px; |
|
3503 | padding: 54px 10px 14px 10px; | |
3485 | } |
|
3504 | } | |
3486 |
|
3505 | |||
3487 | #content div.box div.title div.search { |
|
3506 | #content div.box div.title div.search { | |
3488 |
|
3507 | |||
3489 | border-left: 1px solid #316293; |
|
3508 | border-left: 1px solid #316293; | |
3490 | } |
|
3509 | } | |
3491 |
|
3510 | |||
3492 | #content div.box div.title div.search div.input input { |
|
3511 | #content div.box div.title div.search div.input input { | |
3493 | border: 1px solid #316293; |
|
3512 | border: 1px solid #316293; | |
3494 | } |
|
3513 | } | |
3495 |
|
3514 | |||
3496 | .ui-btn{ |
|
3515 | .ui-btn{ | |
3497 | color: #515151; |
|
3516 | color: #515151; | |
3498 | background-color: #DADADA; |
|
3517 | background-color: #DADADA; | |
3499 | background-repeat: repeat-x; |
|
3518 | background-repeat: repeat-x; | |
3500 | background-image: -khtml-gradient(linear, left top, left bottom, from(#F4F4F4),to(#DADADA) ); |
|
3519 | background-image: -khtml-gradient(linear, left top, left bottom, from(#F4F4F4),to(#DADADA) ); | |
3501 | background-image: -moz-linear-gradient(top, #F4F4F4, #DADADA); |
|
3520 | background-image: -moz-linear-gradient(top, #F4F4F4, #DADADA); | |
3502 | background-image: -ms-linear-gradient(top, #F4F4F4, #DADADA); |
|
3521 | background-image: -ms-linear-gradient(top, #F4F4F4, #DADADA); | |
3503 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F4F4F4),color-stop(100%, #DADADA) ); |
|
3522 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F4F4F4),color-stop(100%, #DADADA) ); | |
3504 | background-image: -webkit-linear-gradient(top, #F4F4F4, #DADADA) ); |
|
3523 | background-image: -webkit-linear-gradient(top, #F4F4F4, #DADADA) ); | |
3505 | background-image: -o-linear-gradient(top, #F4F4F4, #DADADA) ); |
|
3524 | background-image: -o-linear-gradient(top, #F4F4F4, #DADADA) ); | |
3506 | background-image: linear-gradient(top, #F4F4F4, #DADADA); |
|
3525 | background-image: linear-gradient(top, #F4F4F4, #DADADA); | |
3507 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F4F4F4', endColorstr='#DADADA', GradientType=0); |
|
3526 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F4F4F4', endColorstr='#DADADA', GradientType=0); | |
3508 |
|
3527 | |||
3509 | border-top: 1px solid #DDD; |
|
3528 | border-top: 1px solid #DDD; | |
3510 | border-left: 1px solid #c6c6c6; |
|
3529 | border-left: 1px solid #c6c6c6; | |
3511 | border-right: 1px solid #DDD; |
|
3530 | border-right: 1px solid #DDD; | |
3512 | border-bottom: 1px solid #c6c6c6; |
|
3531 | border-bottom: 1px solid #c6c6c6; | |
3513 | color: #515151; |
|
3532 | color: #515151; | |
3514 | outline: none; |
|
3533 | outline: none; | |
3515 | margin: 0px 3px 3px 0px; |
|
3534 | margin: 0px 3px 3px 0px; | |
3516 | -webkit-border-radius: 4px 4px 4px 4px !important; |
|
3535 | -webkit-border-radius: 4px 4px 4px 4px !important; | |
3517 | -khtml-border-radius: 4px 4px 4px 4px !important; |
|
3536 | -khtml-border-radius: 4px 4px 4px 4px !important; | |
3518 | -moz-border-radius: 4px 4px 4px 4px !important; |
|
3537 | -moz-border-radius: 4px 4px 4px 4px !important; | |
3519 | border-radius: 4px 4px 4px 4px !important; |
|
3538 | border-radius: 4px 4px 4px 4px !important; | |
3520 | cursor: pointer !important; |
|
3539 | cursor: pointer !important; | |
3521 | padding: 3px 3px 3px 3px; |
|
3540 | padding: 3px 3px 3px 3px; | |
3522 | background-position: 0 -15px; |
|
3541 | background-position: 0 -15px; | |
3523 |
|
3542 | |||
3524 | } |
|
3543 | } | |
3525 | .ui-btn.xsmall{ |
|
3544 | .ui-btn.xsmall{ | |
3526 | padding: 1px 2px 1px 1px; |
|
3545 | padding: 1px 2px 1px 1px; | |
3527 | } |
|
3546 | } | |
3528 |
|
3547 | |||
3529 | .ui-btn.large{ |
|
3548 | .ui-btn.large{ | |
3530 | padding: 6px 12px; |
|
3549 | padding: 6px 12px; | |
3531 | } |
|
3550 | } | |
3532 |
|
3551 | |||
3533 | .ui-btn.clone{ |
|
3552 | .ui-btn.clone{ | |
3534 | padding: 5px 2px 6px 1px; |
|
3553 | padding: 5px 2px 6px 1px; | |
3535 | margin: 0px -4px 3px 0px; |
|
3554 | margin: 0px -4px 3px 0px; | |
3536 | -webkit-border-radius: 4px 0px 0px 4px !important; |
|
3555 | -webkit-border-radius: 4px 0px 0px 4px !important; | |
3537 | -khtml-border-radius: 4px 0px 0px 4px !important; |
|
3556 | -khtml-border-radius: 4px 0px 0px 4px !important; | |
3538 | -moz-border-radius: 4px 0px 0px 4px !important; |
|
3557 | -moz-border-radius: 4px 0px 0px 4px !important; | |
3539 | border-radius: 4px 0px 0px 4px !important; |
|
3558 | border-radius: 4px 0px 0px 4px !important; | |
3540 | width: 100px; |
|
3559 | width: 100px; | |
3541 | text-align: center; |
|
3560 | text-align: center; | |
3542 | float: left; |
|
3561 | float: left; | |
3543 | position: absolute; |
|
3562 | position: absolute; | |
3544 | } |
|
3563 | } | |
3545 | .ui-btn:focus { |
|
3564 | .ui-btn:focus { | |
3546 | outline: none; |
|
3565 | outline: none; | |
3547 | } |
|
3566 | } | |
3548 | .ui-btn:hover{ |
|
3567 | .ui-btn:hover{ | |
3549 | background-position: 0 0px; |
|
3568 | background-position: 0 0px; | |
3550 | text-decoration: none; |
|
3569 | text-decoration: none; | |
3551 | color: #515151; |
|
3570 | color: #515151; | |
3552 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #FFFFFF !important; |
|
3571 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #FFFFFF !important; | |
3553 | } |
|
3572 | } | |
3554 |
|
3573 | |||
3555 | .ui-btn.red{ |
|
3574 | .ui-btn.red{ | |
3556 | color:#fff; |
|
3575 | color:#fff; | |
3557 | background-color: #c43c35; |
|
3576 | background-color: #c43c35; | |
3558 | background-repeat: repeat-x; |
|
3577 | background-repeat: repeat-x; | |
3559 | background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35)); |
|
3578 | background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35)); | |
3560 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); |
|
3579 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); | |
3561 | background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); |
|
3580 | background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); | |
3562 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35)); |
|
3581 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35)); | |
3563 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); |
|
3582 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); | |
3564 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); |
|
3583 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); | |
3565 | background-image: linear-gradient(top, #ee5f5b, #c43c35); |
|
3584 | background-image: linear-gradient(top, #ee5f5b, #c43c35); | |
3566 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); |
|
3585 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); | |
3567 | border-color: #c43c35 #c43c35 #882a25; |
|
3586 | border-color: #c43c35 #c43c35 #882a25; | |
3568 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
3587 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | |
3569 | } |
|
3588 | } | |
3570 |
|
3589 | |||
3571 |
|
3590 | |||
3572 | .ui-btn.blue{ |
|
3591 | .ui-btn.blue{ | |
3573 | color:#fff; |
|
3592 | color:#fff; | |
3574 | background-color: #339bb9; |
|
3593 | background-color: #339bb9; | |
3575 | background-repeat: repeat-x; |
|
3594 | background-repeat: repeat-x; | |
3576 | background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9)); |
|
3595 | background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9)); | |
3577 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); |
|
3596 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); | |
3578 | background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); |
|
3597 | background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); | |
3579 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9)); |
|
3598 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9)); | |
3580 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); |
|
3599 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); | |
3581 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); |
|
3600 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); | |
3582 | background-image: linear-gradient(top, #5bc0de, #339bb9); |
|
3601 | background-image: linear-gradient(top, #5bc0de, #339bb9); | |
3583 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); |
|
3602 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); | |
3584 | border-color: #339bb9 #339bb9 #22697d; |
|
3603 | border-color: #339bb9 #339bb9 #22697d; | |
3585 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
3604 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | |
3586 | } |
|
3605 | } | |
3587 |
|
3606 | |||
3588 | .ui-btn.green{ |
|
3607 | .ui-btn.green{ | |
3589 | background-color: #57a957; |
|
3608 | background-color: #57a957; | |
3590 | background-repeat: repeat-x; |
|
3609 | background-repeat: repeat-x; | |
3591 | background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957)); |
|
3610 | background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957)); | |
3592 | background-image: -moz-linear-gradient(top, #62c462, #57a957); |
|
3611 | background-image: -moz-linear-gradient(top, #62c462, #57a957); | |
3593 | background-image: -ms-linear-gradient(top, #62c462, #57a957); |
|
3612 | background-image: -ms-linear-gradient(top, #62c462, #57a957); | |
3594 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957)); |
|
3613 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957)); | |
3595 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); |
|
3614 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); | |
3596 | background-image: -o-linear-gradient(top, #62c462, #57a957); |
|
3615 | background-image: -o-linear-gradient(top, #62c462, #57a957); | |
3597 | background-image: linear-gradient(top, #62c462, #57a957); |
|
3616 | background-image: linear-gradient(top, #62c462, #57a957); | |
3598 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); |
|
3617 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); | |
3599 | border-color: #57a957 #57a957 #3d773d; |
|
3618 | border-color: #57a957 #57a957 #3d773d; | |
3600 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
3619 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | |
3601 | } |
|
3620 | } | |
3602 |
|
3621 | |||
3603 | .ui-btn.active{ |
|
3622 | .ui-btn.active{ | |
3604 | font-weight: bold; |
|
3623 | font-weight: bold; | |
3605 | } |
|
3624 | } | |
3606 |
|
3625 | |||
3607 | ins,div.options a:hover { |
|
3626 | ins,div.options a:hover { | |
3608 | text-decoration: none; |
|
3627 | text-decoration: none; | |
3609 | } |
|
3628 | } | |
3610 |
|
3629 | |||
3611 | img, |
|
3630 | img, | |
3612 | #header #header-inner #quick li a:hover span.normal, |
|
3631 | #header #header-inner #quick li a:hover span.normal, | |
3613 | #header #header-inner #quick li ul li.last, |
|
3632 | #header #header-inner #quick li ul li.last, | |
3614 | #content div.box div.form div.fields div.field div.textarea table td table td a, |
|
3633 | #content div.box div.form div.fields div.field div.textarea table td table td a, | |
3615 | #clone_url, |
|
3634 | #clone_url, | |
3616 | #clone_url_id |
|
3635 | #clone_url_id | |
3617 | { |
|
3636 | { | |
3618 | border: none; |
|
3637 | border: none; | |
3619 | } |
|
3638 | } | |
3620 |
|
3639 | |||
3621 | img.icon,.right .merge img { |
|
3640 | img.icon,.right .merge img { | |
3622 | vertical-align: bottom; |
|
3641 | vertical-align: bottom; | |
3623 | } |
|
3642 | } | |
3624 |
|
3643 | |||
3625 | #header ul#logged-user,#content div.box div.title ul.links, |
|
3644 | #header ul#logged-user,#content div.box div.title ul.links, | |
3626 | #content div.box div.message div.dismiss, |
|
3645 | #content div.box div.message div.dismiss, | |
3627 | #content div.box div.traffic div.legend ul |
|
3646 | #content div.box div.traffic div.legend ul | |
3628 | { |
|
3647 | { | |
3629 | float: right; |
|
3648 | float: right; | |
3630 | margin: 0; |
|
3649 | margin: 0; | |
3631 | padding: 0; |
|
3650 | padding: 0; | |
3632 | } |
|
3651 | } | |
3633 |
|
3652 | |||
3634 | #header #header-inner #home,#header #header-inner #logo, |
|
3653 | #header #header-inner #home,#header #header-inner #logo, | |
3635 | #content div.box ul.left,#content div.box ol.left, |
|
3654 | #content div.box ul.left,#content div.box ol.left, | |
3636 | #content div.box div.pagination-left,div#commit_history, |
|
3655 | #content div.box div.pagination-left,div#commit_history, | |
3637 | div#legend_data,div#legend_container,div#legend_choices |
|
3656 | div#legend_data,div#legend_container,div#legend_choices | |
3638 | { |
|
3657 | { | |
3639 | float: left; |
|
3658 | float: left; | |
3640 | } |
|
3659 | } | |
3641 |
|
3660 | |||
3642 | #header #header-inner #quick li:hover ul ul, |
|
3661 | #header #header-inner #quick li:hover ul ul, | |
3643 | #header #header-inner #quick li:hover ul ul ul, |
|
3662 | #header #header-inner #quick li:hover ul ul ul, | |
3644 | #header #header-inner #quick li:hover ul ul ul ul, |
|
3663 | #header #header-inner #quick li:hover ul ul ul ul, | |
3645 | #content #left #menu ul.closed,#content #left #menu li ul.collapsed,.yui-tt-shadow |
|
3664 | #content #left #menu ul.closed,#content #left #menu li ul.collapsed,.yui-tt-shadow | |
3646 | { |
|
3665 | { | |
3647 | display: none; |
|
3666 | display: none; | |
3648 | } |
|
3667 | } | |
3649 |
|
3668 | |||
3650 | #header #header-inner #quick li:hover ul,#header #header-inner #quick li li:hover ul,#header #header-inner #quick li li li:hover ul,#header #header-inner #quick li li li li:hover ul,#content #left #menu ul.opened,#content #left #menu li ul.expanded |
|
3669 | #header #header-inner #quick li:hover ul,#header #header-inner #quick li li:hover ul,#header #header-inner #quick li li li:hover ul,#header #header-inner #quick li li li li:hover ul,#content #left #menu ul.opened,#content #left #menu li ul.expanded | |
3651 | { |
|
3670 | { | |
3652 | display: block; |
|
3671 | display: block; | |
3653 | } |
|
3672 | } | |
3654 |
|
3673 | |||
3655 | #content div.graph { |
|
3674 | #content div.graph { | |
3656 | padding: 0 10px 10px; |
|
3675 | padding: 0 10px 10px; | |
3657 | } |
|
3676 | } | |
3658 |
|
3677 | |||
3659 | #content div.box div.title ul.links li a:hover,#content div.box div.title ul.links li.ui-tabs-selected a |
|
3678 | #content div.box div.title ul.links li a:hover,#content div.box div.title ul.links li.ui-tabs-selected a | |
3660 | { |
|
3679 | { | |
3661 | color: #bfe3ff; |
|
3680 | color: #bfe3ff; | |
3662 | } |
|
3681 | } | |
3663 |
|
3682 | |||
3664 | #content div.box ol.lower-roman,#content div.box ol.upper-roman,#content div.box ol.lower-alpha,#content div.box ol.upper-alpha,#content div.box ol.decimal |
|
3683 | #content div.box ol.lower-roman,#content div.box ol.upper-roman,#content div.box ol.lower-alpha,#content div.box ol.upper-alpha,#content div.box ol.decimal | |
3665 | { |
|
3684 | { | |
3666 | margin: 10px 24px 10px 44px; |
|
3685 | margin: 10px 24px 10px 44px; | |
3667 | } |
|
3686 | } | |
3668 |
|
3687 | |||
3669 | #content div.box div.form,#content div.box div.table,#content div.box div.traffic |
|
3688 | #content div.box div.form,#content div.box div.table,#content div.box div.traffic | |
3670 | { |
|
3689 | { | |
3671 | clear: both; |
|
3690 | clear: both; | |
3672 | overflow: hidden; |
|
3691 | overflow: hidden; | |
3673 | margin: 0; |
|
3692 | margin: 0; | |
3674 | padding: 0 20px 10px; |
|
3693 | padding: 0 20px 10px; | |
3675 | } |
|
3694 | } | |
3676 |
|
3695 | |||
3677 | #content div.box div.form div.fields,#login div.form,#login div.form div.fields,#register div.form,#register div.form div.fields |
|
3696 | #content div.box div.form div.fields,#login div.form,#login div.form div.fields,#register div.form,#register div.form div.fields | |
3678 | { |
|
3697 | { | |
3679 | clear: both; |
|
3698 | clear: both; | |
3680 | overflow: hidden; |
|
3699 | overflow: hidden; | |
3681 | margin: 0; |
|
3700 | margin: 0; | |
3682 | padding: 0; |
|
3701 | padding: 0; | |
3683 | } |
|
3702 | } | |
3684 |
|
3703 | |||
3685 | #content div.box div.form div.fields div.field div.label span,#login div.form div.fields div.field div.label span,#register div.form div.fields div.field div.label span |
|
3704 | #content div.box div.form div.fields div.field div.label span,#login div.form div.fields div.field div.label span,#register div.form div.fields div.field div.label span | |
3686 | { |
|
3705 | { | |
3687 | height: 1%; |
|
3706 | height: 1%; | |
3688 | display: block; |
|
3707 | display: block; | |
3689 | color: #363636; |
|
3708 | color: #363636; | |
3690 | margin: 0; |
|
3709 | margin: 0; | |
3691 | padding: 2px 0 0; |
|
3710 | padding: 2px 0 0; | |
3692 | } |
|
3711 | } | |
3693 |
|
3712 | |||
3694 | #content div.box div.form div.fields div.field div.input input.error,#login div.form div.fields div.field div.input input.error,#register div.form div.fields div.field div.input input.error |
|
3713 | #content div.box div.form div.fields div.field div.input input.error,#login div.form div.fields div.field div.input input.error,#register div.form div.fields div.field div.input input.error | |
3695 | { |
|
3714 | { | |
3696 | background: #FBE3E4; |
|
3715 | background: #FBE3E4; | |
3697 | border-top: 1px solid #e1b2b3; |
|
3716 | border-top: 1px solid #e1b2b3; | |
3698 | border-left: 1px solid #e1b2b3; |
|
3717 | border-left: 1px solid #e1b2b3; | |
3699 | border-right: 1px solid #FBC2C4; |
|
3718 | border-right: 1px solid #FBC2C4; | |
3700 | border-bottom: 1px solid #FBC2C4; |
|
3719 | border-bottom: 1px solid #FBC2C4; | |
3701 | } |
|
3720 | } | |
3702 |
|
3721 | |||
3703 | #content div.box div.form div.fields div.field div.input input.success,#login div.form div.fields div.field div.input input.success,#register div.form div.fields div.field div.input input.success |
|
3722 | #content div.box div.form div.fields div.field div.input input.success,#login div.form div.fields div.field div.input input.success,#register div.form div.fields div.field div.input input.success | |
3704 | { |
|
3723 | { | |
3705 | background: #E6EFC2; |
|
3724 | background: #E6EFC2; | |
3706 | border-top: 1px solid #cebb98; |
|
3725 | border-top: 1px solid #cebb98; | |
3707 | border-left: 1px solid #cebb98; |
|
3726 | border-left: 1px solid #cebb98; | |
3708 | border-right: 1px solid #c6d880; |
|
3727 | border-right: 1px solid #c6d880; | |
3709 | border-bottom: 1px solid #c6d880; |
|
3728 | border-bottom: 1px solid #c6d880; | |
3710 | } |
|
3729 | } | |
3711 |
|
3730 | |||
3712 | #content div.box-left div.form div.fields div.field div.textarea,#content div.box-right div.form div.fields div.field div.textarea,#content div.box div.form div.fields div.field div.select select,#content div.box table th.selected input,#content div.box table td.selected input |
|
3731 | #content div.box-left div.form div.fields div.field div.textarea,#content div.box-right div.form div.fields div.field div.textarea,#content div.box div.form div.fields div.field div.select select,#content div.box table th.selected input,#content div.box table td.selected input | |
3713 | { |
|
3732 | { | |
3714 | margin: 0; |
|
3733 | margin: 0; | |
3715 | } |
|
3734 | } | |
3716 |
|
3735 | |||
3717 | #content div.box-left div.form div.fields div.field div.select,#content div.box-left div.form div.fields div.field div.checkboxes,#content div.box-left div.form div.fields div.field div.radios,#content div.box-right div.form div.fields div.field div.select,#content div.box-right div.form div.fields div.field div.checkboxes,#content div.box-right div.form div.fields div.field div.radios |
|
3736 | #content div.box-left div.form div.fields div.field div.select,#content div.box-left div.form div.fields div.field div.checkboxes,#content div.box-left div.form div.fields div.field div.radios,#content div.box-right div.form div.fields div.field div.select,#content div.box-right div.form div.fields div.field div.checkboxes,#content div.box-right div.form div.fields div.field div.radios | |
3718 | { |
|
3737 | { | |
3719 | margin: 0 0 0 0px !important; |
|
3738 | margin: 0 0 0 0px !important; | |
3720 | padding: 0; |
|
3739 | padding: 0; | |
3721 | } |
|
3740 | } | |
3722 |
|
3741 | |||
3723 | #content div.box div.form div.fields div.field div.select,#content div.box div.form div.fields div.field div.checkboxes,#content div.box div.form div.fields div.field div.radios |
|
3742 | #content div.box div.form div.fields div.field div.select,#content div.box div.form div.fields div.field div.checkboxes,#content div.box div.form div.fields div.field div.radios | |
3724 | { |
|
3743 | { | |
3725 | margin: 0 0 0 200px; |
|
3744 | margin: 0 0 0 200px; | |
3726 | padding: 0; |
|
3745 | padding: 0; | |
3727 | } |
|
3746 | } | |
3728 |
|
3747 | |||
3729 | #content div.box div.form div.fields div.field div.select a:hover,#content div.box div.form div.fields div.field div.select a.ui-selectmenu:hover,#content div.box div.action a:hover |
|
3748 | #content div.box div.form div.fields div.field div.select a:hover,#content div.box div.form div.fields div.field div.select a.ui-selectmenu:hover,#content div.box div.action a:hover | |
3730 | { |
|
3749 | { | |
3731 | color: #000; |
|
3750 | color: #000; | |
3732 | text-decoration: none; |
|
3751 | text-decoration: none; | |
3733 | } |
|
3752 | } | |
3734 |
|
3753 | |||
3735 | #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus,#content div.box div.action a.ui-selectmenu-focus |
|
3754 | #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus,#content div.box div.action a.ui-selectmenu-focus | |
3736 | { |
|
3755 | { | |
3737 | border: 1px solid #666; |
|
3756 | border: 1px solid #666; | |
3738 | } |
|
3757 | } | |
3739 |
|
3758 | |||
3740 | #content div.box div.form div.fields div.field div.checkboxes div.checkbox,#content div.box div.form div.fields div.field div.radios div.radio |
|
3759 | #content div.box div.form div.fields div.field div.checkboxes div.checkbox,#content div.box div.form div.fields div.field div.radios div.radio | |
3741 | { |
|
3760 | { | |
3742 | clear: both; |
|
3761 | clear: both; | |
3743 | overflow: hidden; |
|
3762 | overflow: hidden; | |
3744 | margin: 0; |
|
3763 | margin: 0; | |
3745 | padding: 8px 0 2px; |
|
3764 | padding: 8px 0 2px; | |
3746 | } |
|
3765 | } | |
3747 |
|
3766 | |||
3748 | #content div.box div.form div.fields div.field div.checkboxes div.checkbox input,#content div.box div.form div.fields div.field div.radios div.radio input |
|
3767 | #content div.box div.form div.fields div.field div.checkboxes div.checkbox input,#content div.box div.form div.fields div.field div.radios div.radio input | |
3749 | { |
|
3768 | { | |
3750 | float: left; |
|
3769 | float: left; | |
3751 | margin: 0; |
|
3770 | margin: 0; | |
3752 | } |
|
3771 | } | |
3753 |
|
3772 | |||
3754 | #content div.box div.form div.fields div.field div.checkboxes div.checkbox label,#content div.box div.form div.fields div.field div.radios div.radio label |
|
3773 | #content div.box div.form div.fields div.field div.checkboxes div.checkbox label,#content div.box div.form div.fields div.field div.radios div.radio label | |
3755 | { |
|
3774 | { | |
3756 | height: 1%; |
|
3775 | height: 1%; | |
3757 | display: block; |
|
3776 | display: block; | |
3758 | float: left; |
|
3777 | float: left; | |
3759 | margin: 2px 0 0 4px; |
|
3778 | margin: 2px 0 0 4px; | |
3760 | } |
|
3779 | } | |
3761 |
|
3780 | |||
3762 | div.form div.fields div.field div.button input, |
|
3781 | div.form div.fields div.field div.button input, | |
3763 | #content div.box div.form div.fields div.buttons input |
|
3782 | #content div.box div.form div.fields div.buttons input | |
3764 | div.form div.fields div.buttons input, |
|
3783 | div.form div.fields div.buttons input, | |
3765 | #content div.box div.action div.button input { |
|
3784 | #content div.box div.action div.button input { | |
3766 | /*color: #000;*/ |
|
3785 | /*color: #000;*/ | |
3767 | font-size: 11px; |
|
3786 | font-size: 11px; | |
3768 | font-weight: 700; |
|
3787 | font-weight: 700; | |
3769 | margin: 0; |
|
3788 | margin: 0; | |
3770 | } |
|
3789 | } | |
3771 |
|
3790 | |||
3772 | input.ui-button { |
|
3791 | input.ui-button { | |
3773 | background: #e5e3e3 url("../images/button.png") repeat-x; |
|
3792 | background: #e5e3e3 url("../images/button.png") repeat-x; | |
3774 | border-top: 1px solid #DDD; |
|
3793 | border-top: 1px solid #DDD; | |
3775 | border-left: 1px solid #c6c6c6; |
|
3794 | border-left: 1px solid #c6c6c6; | |
3776 | border-right: 1px solid #DDD; |
|
3795 | border-right: 1px solid #DDD; | |
3777 | border-bottom: 1px solid #c6c6c6; |
|
3796 | border-bottom: 1px solid #c6c6c6; | |
3778 | color: #515151 !important; |
|
3797 | color: #515151 !important; | |
3779 | outline: none; |
|
3798 | outline: none; | |
3780 | margin: 0; |
|
3799 | margin: 0; | |
3781 | padding: 6px 12px; |
|
3800 | padding: 6px 12px; | |
3782 | -webkit-border-radius: 4px 4px 4px 4px; |
|
3801 | -webkit-border-radius: 4px 4px 4px 4px; | |
3783 | -khtml-border-radius: 4px 4px 4px 4px; |
|
3802 | -khtml-border-radius: 4px 4px 4px 4px; | |
3784 | -moz-border-radius: 4px 4px 4px 4px; |
|
3803 | -moz-border-radius: 4px 4px 4px 4px; | |
3785 | border-radius: 4px 4px 4px 4px; |
|
3804 | border-radius: 4px 4px 4px 4px; | |
3786 | box-shadow: 0 1px 0 #ececec; |
|
3805 | box-shadow: 0 1px 0 #ececec; | |
3787 | cursor: pointer; |
|
3806 | cursor: pointer; | |
3788 | } |
|
3807 | } | |
3789 |
|
3808 | |||
3790 | input.ui-button:hover { |
|
3809 | input.ui-button:hover { | |
3791 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; |
|
3810 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; | |
3792 | border-top: 1px solid #ccc; |
|
3811 | border-top: 1px solid #ccc; | |
3793 | border-left: 1px solid #bebebe; |
|
3812 | border-left: 1px solid #bebebe; | |
3794 | border-right: 1px solid #b1b1b1; |
|
3813 | border-right: 1px solid #b1b1b1; | |
3795 | border-bottom: 1px solid #afafaf; |
|
3814 | border-bottom: 1px solid #afafaf; | |
3796 | } |
|
3815 | } | |
3797 |
|
3816 | |||
3798 | div.form div.fields div.field div.highlight,#content div.box div.form div.fields div.buttons div.highlight |
|
3817 | div.form div.fields div.field div.highlight,#content div.box div.form div.fields div.buttons div.highlight | |
3799 | { |
|
3818 | { | |
3800 | display: inline; |
|
3819 | display: inline; | |
3801 | } |
|
3820 | } | |
3802 |
|
3821 | |||
3803 | #content div.box div.form div.fields div.buttons,div.form div.fields div.buttons |
|
3822 | #content div.box div.form div.fields div.buttons,div.form div.fields div.buttons | |
3804 | { |
|
3823 | { | |
3805 | margin: 10px 0 0 200px; |
|
3824 | margin: 10px 0 0 200px; | |
3806 | padding: 0; |
|
3825 | padding: 0; | |
3807 | } |
|
3826 | } | |
3808 |
|
3827 | |||
3809 | #content div.box-left div.form div.fields div.buttons,#content div.box-right div.form div.fields div.buttons,div.box-left div.form div.fields div.buttons,div.box-right div.form div.fields div.buttons |
|
3828 | #content div.box-left div.form div.fields div.buttons,#content div.box-right div.form div.fields div.buttons,div.box-left div.form div.fields div.buttons,div.box-right div.form div.fields div.buttons | |
3810 | { |
|
3829 | { | |
3811 | margin: 10px 0 0; |
|
3830 | margin: 10px 0 0; | |
3812 | } |
|
3831 | } | |
3813 |
|
3832 | |||
3814 | #content div.box table td.user,#content div.box table td.address { |
|
3833 | #content div.box table td.user,#content div.box table td.address { | |
3815 | width: 10%; |
|
3834 | width: 10%; | |
3816 | text-align: center; |
|
3835 | text-align: center; | |
3817 | } |
|
3836 | } | |
3818 |
|
3837 | |||
3819 | #content div.box div.action div.button,#login div.form div.fields div.field div.input div.link,#register div.form div.fields div.field div.input div.link |
|
3838 | #content div.box div.action div.button,#login div.form div.fields div.field div.input div.link,#register div.form div.fields div.field div.input div.link | |
3820 | { |
|
3839 | { | |
3821 | text-align: right; |
|
3840 | text-align: right; | |
3822 | margin: 6px 0 0; |
|
3841 | margin: 6px 0 0; | |
3823 | padding: 0; |
|
3842 | padding: 0; | |
3824 | } |
|
3843 | } | |
3825 |
|
3844 | |||
3826 | #content div.box div.action div.button input.ui-state-hover,#login div.form div.fields div.buttons input.ui-state-hover,#register div.form div.fields div.buttons input.ui-state-hover |
|
3845 | #content div.box div.action div.button input.ui-state-hover,#login div.form div.fields div.buttons input.ui-state-hover,#register div.form div.fields div.buttons input.ui-state-hover | |
3827 | { |
|
3846 | { | |
3828 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; |
|
3847 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; | |
3829 | border-top: 1px solid #ccc; |
|
3848 | border-top: 1px solid #ccc; | |
3830 | border-left: 1px solid #bebebe; |
|
3849 | border-left: 1px solid #bebebe; | |
3831 | border-right: 1px solid #b1b1b1; |
|
3850 | border-right: 1px solid #b1b1b1; | |
3832 | border-bottom: 1px solid #afafaf; |
|
3851 | border-bottom: 1px solid #afafaf; | |
3833 | color: #515151; |
|
3852 | color: #515151; | |
3834 | margin: 0; |
|
3853 | margin: 0; | |
3835 | padding: 6px 12px; |
|
3854 | padding: 6px 12px; | |
3836 | } |
|
3855 | } | |
3837 |
|
3856 | |||
3838 | #content div.box div.pagination div.results,#content div.box div.pagination-wh div.results |
|
3857 | #content div.box div.pagination div.results,#content div.box div.pagination-wh div.results | |
3839 | { |
|
3858 | { | |
3840 | text-align: left; |
|
3859 | text-align: left; | |
3841 | float: left; |
|
3860 | float: left; | |
3842 | margin: 0; |
|
3861 | margin: 0; | |
3843 | padding: 0; |
|
3862 | padding: 0; | |
3844 | } |
|
3863 | } | |
3845 |
|
3864 | |||
3846 | #content div.box div.pagination div.results span,#content div.box div.pagination-wh div.results span |
|
3865 | #content div.box div.pagination div.results span,#content div.box div.pagination-wh div.results span | |
3847 | { |
|
3866 | { | |
3848 | height: 1%; |
|
3867 | height: 1%; | |
3849 | display: block; |
|
3868 | display: block; | |
3850 | float: left; |
|
3869 | float: left; | |
3851 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
3870 | background: #ebebeb url("../images/pager.png") repeat-x; | |
3852 | border-top: 1px solid #dedede; |
|
3871 | border-top: 1px solid #dedede; | |
3853 | border-left: 1px solid #cfcfcf; |
|
3872 | border-left: 1px solid #cfcfcf; | |
3854 | border-right: 1px solid #c4c4c4; |
|
3873 | border-right: 1px solid #c4c4c4; | |
3855 | border-bottom: 1px solid #c4c4c4; |
|
3874 | border-bottom: 1px solid #c4c4c4; | |
3856 | color: #4A4A4A; |
|
3875 | color: #4A4A4A; | |
3857 | font-weight: 700; |
|
3876 | font-weight: 700; | |
3858 | margin: 0; |
|
3877 | margin: 0; | |
3859 | padding: 6px 8px; |
|
3878 | padding: 6px 8px; | |
3860 | } |
|
3879 | } | |
3861 |
|
3880 | |||
3862 | #content div.box div.pagination ul.pager li.disabled,#content div.box div.pagination-wh a.disabled |
|
3881 | #content div.box div.pagination ul.pager li.disabled,#content div.box div.pagination-wh a.disabled | |
3863 | { |
|
3882 | { | |
3864 | color: #B4B4B4; |
|
3883 | color: #B4B4B4; | |
3865 | padding: 6px; |
|
3884 | padding: 6px; | |
3866 | } |
|
3885 | } | |
3867 |
|
3886 | |||
3868 | #login,#register { |
|
3887 | #login,#register { | |
3869 | width: 520px; |
|
3888 | width: 520px; | |
3870 | margin: 10% auto 0; |
|
3889 | margin: 10% auto 0; | |
3871 | padding: 0; |
|
3890 | padding: 0; | |
3872 | } |
|
3891 | } | |
3873 |
|
3892 | |||
3874 | #login div.color,#register div.color { |
|
3893 | #login div.color,#register div.color { | |
3875 | clear: both; |
|
3894 | clear: both; | |
3876 | overflow: hidden; |
|
3895 | overflow: hidden; | |
3877 | background: #FFF; |
|
3896 | background: #FFF; | |
3878 | margin: 10px auto 0; |
|
3897 | margin: 10px auto 0; | |
3879 | padding: 3px 3px 3px 0; |
|
3898 | padding: 3px 3px 3px 0; | |
3880 | } |
|
3899 | } | |
3881 |
|
3900 | |||
3882 | #login div.color a,#register div.color a { |
|
3901 | #login div.color a,#register div.color a { | |
3883 | width: 20px; |
|
3902 | width: 20px; | |
3884 | height: 20px; |
|
3903 | height: 20px; | |
3885 | display: block; |
|
3904 | display: block; | |
3886 | float: left; |
|
3905 | float: left; | |
3887 | margin: 0 0 0 3px; |
|
3906 | margin: 0 0 0 3px; | |
3888 | padding: 0; |
|
3907 | padding: 0; | |
3889 | } |
|
3908 | } | |
3890 |
|
3909 | |||
3891 | #login div.title h5,#register div.title h5 { |
|
3910 | #login div.title h5,#register div.title h5 { | |
3892 | color: #fff; |
|
3911 | color: #fff; | |
3893 | margin: 10px; |
|
3912 | margin: 10px; | |
3894 | padding: 0; |
|
3913 | padding: 0; | |
3895 | } |
|
3914 | } | |
3896 |
|
3915 | |||
3897 | #login div.form div.fields div.field,#register div.form div.fields div.field |
|
3916 | #login div.form div.fields div.field,#register div.form div.fields div.field | |
3898 | { |
|
3917 | { | |
3899 | clear: both; |
|
3918 | clear: both; | |
3900 | overflow: hidden; |
|
3919 | overflow: hidden; | |
3901 | margin: 0; |
|
3920 | margin: 0; | |
3902 | padding: 0 0 10px; |
|
3921 | padding: 0 0 10px; | |
3903 | } |
|
3922 | } | |
3904 |
|
3923 | |||
3905 | #login div.form div.fields div.field span.error-message,#register div.form div.fields div.field span.error-message |
|
3924 | #login div.form div.fields div.field span.error-message,#register div.form div.fields div.field span.error-message | |
3906 | { |
|
3925 | { | |
3907 | height: 1%; |
|
3926 | height: 1%; | |
3908 | display: block; |
|
3927 | display: block; | |
3909 | color: red; |
|
3928 | color: red; | |
3910 | margin: 8px 0 0; |
|
3929 | margin: 8px 0 0; | |
3911 | padding: 0; |
|
3930 | padding: 0; | |
3912 | max-width: 320px; |
|
3931 | max-width: 320px; | |
3913 | } |
|
3932 | } | |
3914 |
|
3933 | |||
3915 | #login div.form div.fields div.field div.label label,#register div.form div.fields div.field div.label label |
|
3934 | #login div.form div.fields div.field div.label label,#register div.form div.fields div.field div.label label | |
3916 | { |
|
3935 | { | |
3917 | color: #000; |
|
3936 | color: #000; | |
3918 | font-weight: 700; |
|
3937 | font-weight: 700; | |
3919 | } |
|
3938 | } | |
3920 |
|
3939 | |||
3921 | #login div.form div.fields div.field div.input,#register div.form div.fields div.field div.input |
|
3940 | #login div.form div.fields div.field div.input,#register div.form div.fields div.field div.input | |
3922 | { |
|
3941 | { | |
3923 | float: left; |
|
3942 | float: left; | |
3924 | margin: 0; |
|
3943 | margin: 0; | |
3925 | padding: 0; |
|
3944 | padding: 0; | |
3926 | } |
|
3945 | } | |
3927 |
|
3946 | |||
3928 | #login div.form div.fields div.field div.checkbox,#register div.form div.fields div.field div.checkbox |
|
3947 | #login div.form div.fields div.field div.checkbox,#register div.form div.fields div.field div.checkbox | |
3929 | { |
|
3948 | { | |
3930 | margin: 0 0 0 184px; |
|
3949 | margin: 0 0 0 184px; | |
3931 | padding: 0; |
|
3950 | padding: 0; | |
3932 | } |
|
3951 | } | |
3933 |
|
3952 | |||
3934 | #login div.form div.fields div.field div.checkbox label,#register div.form div.fields div.field div.checkbox label |
|
3953 | #login div.form div.fields div.field div.checkbox label,#register div.form div.fields div.field div.checkbox label | |
3935 | { |
|
3954 | { | |
3936 | color: #565656; |
|
3955 | color: #565656; | |
3937 | font-weight: 700; |
|
3956 | font-weight: 700; | |
3938 | } |
|
3957 | } | |
3939 |
|
3958 | |||
3940 | #login div.form div.fields div.buttons input,#register div.form div.fields div.buttons input |
|
3959 | #login div.form div.fields div.buttons input,#register div.form div.fields div.buttons input | |
3941 | { |
|
3960 | { | |
3942 | color: #000; |
|
3961 | color: #000; | |
3943 | font-size: 1em; |
|
3962 | font-size: 1em; | |
3944 | font-weight: 700; |
|
3963 | font-weight: 700; | |
3945 | margin: 0; |
|
3964 | margin: 0; | |
3946 | } |
|
3965 | } | |
3947 |
|
3966 | |||
3948 | #changeset_content .container .wrapper,#graph_content .container .wrapper |
|
3967 | #changeset_content .container .wrapper,#graph_content .container .wrapper | |
3949 | { |
|
3968 | { | |
3950 | width: 600px; |
|
3969 | width: 600px; | |
3951 | } |
|
3970 | } | |
3952 |
|
3971 | |||
3953 | #changeset_content .container .left { |
|
3972 | #changeset_content .container .left { | |
3954 | float: left; |
|
3973 | float: left; | |
3955 | width: 75%; |
|
3974 | width: 75%; | |
3956 | padding-left: 5px; |
|
3975 | padding-left: 5px; | |
3957 | } |
|
3976 | } | |
3958 |
|
3977 | |||
3959 | #changeset_content .container .left .date,.ac .match { |
|
3978 | #changeset_content .container .left .date,.ac .match { | |
3960 | font-weight: 700; |
|
3979 | font-weight: 700; | |
3961 | padding-top: 5px; |
|
3980 | padding-top: 5px; | |
3962 | padding-bottom: 5px; |
|
3981 | padding-bottom: 5px; | |
3963 | } |
|
3982 | } | |
3964 |
|
3983 | |||
3965 | div#legend_container table td,div#legend_choices table td { |
|
3984 | div#legend_container table td,div#legend_choices table td { | |
3966 | border: none !important; |
|
3985 | border: none !important; | |
3967 | height: 20px !important; |
|
3986 | height: 20px !important; | |
3968 | padding: 0 !important; |
|
3987 | padding: 0 !important; | |
3969 | } |
|
3988 | } | |
3970 |
|
3989 | |||
3971 | .q_filter_box { |
|
3990 | .q_filter_box { | |
3972 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
3991 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; | |
3973 | -webkit-border-radius: 4px; |
|
3992 | -webkit-border-radius: 4px; | |
3974 | -moz-border-radius: 4px; |
|
3993 | -moz-border-radius: 4px; | |
3975 | border-radius: 4px; |
|
3994 | border-radius: 4px; | |
3976 | border: 0 none; |
|
3995 | border: 0 none; | |
3977 | color: #AAAAAA; |
|
3996 | color: #AAAAAA; | |
3978 | margin-bottom: -4px; |
|
3997 | margin-bottom: -4px; | |
3979 | margin-top: -4px; |
|
3998 | margin-top: -4px; | |
3980 | padding-left: 3px; |
|
3999 | padding-left: 3px; | |
3981 | } |
|
4000 | } | |
3982 |
|
4001 | |||
3983 | #node_filter { |
|
4002 | #node_filter { | |
3984 | border: 0px solid #545454; |
|
4003 | border: 0px solid #545454; | |
3985 | color: #AAAAAA; |
|
4004 | color: #AAAAAA; | |
3986 | padding-left: 3px; |
|
4005 | padding-left: 3px; | |
3987 | } |
|
4006 | } | |
3988 |
|
4007 | |||
3989 |
|
4008 | |||
3990 | .group_members_wrap{ |
|
4009 | .group_members_wrap{ | |
3991 | min-height: 85px; |
|
4010 | min-height: 85px; | |
3992 | padding-left: 20px; |
|
4011 | padding-left: 20px; | |
3993 | } |
|
4012 | } | |
3994 |
|
4013 | |||
3995 | .group_members .group_member{ |
|
4014 | .group_members .group_member{ | |
3996 | height: 30px; |
|
4015 | height: 30px; | |
3997 | padding:0px 0px 0px 0px; |
|
4016 | padding:0px 0px 0px 0px; | |
3998 | } |
|
4017 | } | |
3999 |
|
4018 | |||
4000 | .reviewers_member{ |
|
4019 | .reviewers_member{ | |
4001 | height: 15px; |
|
4020 | height: 15px; | |
4002 | padding:0px 0px 0px 10px; |
|
4021 | padding:0px 0px 0px 10px; | |
4003 | } |
|
4022 | } | |
4004 |
|
4023 | |||
4005 | .emails_wrap{ |
|
4024 | .emails_wrap{ | |
4006 | padding: 0px 20px; |
|
4025 | padding: 0px 20px; | |
4007 | } |
|
4026 | } | |
4008 |
|
4027 | |||
4009 | .emails_wrap .email_entry{ |
|
4028 | .emails_wrap .email_entry{ | |
4010 | height: 30px; |
|
4029 | height: 30px; | |
4011 | padding:0px 0px 0px 10px; |
|
4030 | padding:0px 0px 0px 10px; | |
4012 | } |
|
4031 | } | |
4013 | .emails_wrap .email_entry .email{ |
|
4032 | .emails_wrap .email_entry .email{ | |
4014 | float: left |
|
4033 | float: left | |
4015 | } |
|
4034 | } | |
4016 | .emails_wrap .email_entry .email_action{ |
|
4035 | .emails_wrap .email_entry .email_action{ | |
4017 | float: left |
|
4036 | float: left | |
4018 | } |
|
4037 | } | |
4019 |
|
4038 | |||
4020 | /*README STYLE*/ |
|
4039 | /*README STYLE*/ | |
4021 |
|
4040 | |||
4022 | div.readme { |
|
4041 | div.readme { | |
4023 | padding:0px; |
|
4042 | padding:0px; | |
4024 | } |
|
4043 | } | |
4025 |
|
4044 | |||
4026 | div.readme h2 { |
|
4045 | div.readme h2 { | |
4027 | font-weight: normal; |
|
4046 | font-weight: normal; | |
4028 | } |
|
4047 | } | |
4029 |
|
4048 | |||
4030 | div.readme .readme_box { |
|
4049 | div.readme .readme_box { | |
4031 | background-color: #fafafa; |
|
4050 | background-color: #fafafa; | |
4032 | } |
|
4051 | } | |
4033 |
|
4052 | |||
4034 | div.readme .readme_box { |
|
4053 | div.readme .readme_box { | |
4035 | clear:both; |
|
4054 | clear:both; | |
4036 | overflow:hidden; |
|
4055 | overflow:hidden; | |
4037 | margin:0; |
|
4056 | margin:0; | |
4038 | padding:0 20px 10px; |
|
4057 | padding:0 20px 10px; | |
4039 | } |
|
4058 | } | |
4040 |
|
4059 | |||
4041 | div.readme .readme_box h1, div.readme .readme_box h2, div.readme .readme_box h3, div.readme .readme_box h4, div.readme .readme_box h5, div.readme .readme_box h6 { |
|
4060 | div.readme .readme_box h1, div.readme .readme_box h2, div.readme .readme_box h3, div.readme .readme_box h4, div.readme .readme_box h5, div.readme .readme_box h6 { | |
4042 | border-bottom: 0 !important; |
|
4061 | border-bottom: 0 !important; | |
4043 | margin: 0 !important; |
|
4062 | margin: 0 !important; | |
4044 | padding: 0 !important; |
|
4063 | padding: 0 !important; | |
4045 | line-height: 1.5em !important; |
|
4064 | line-height: 1.5em !important; | |
4046 | } |
|
4065 | } | |
4047 |
|
4066 | |||
4048 |
|
4067 | |||
4049 | div.readme .readme_box h1:first-child { |
|
4068 | div.readme .readme_box h1:first-child { | |
4050 | padding-top: .25em !important; |
|
4069 | padding-top: .25em !important; | |
4051 | } |
|
4070 | } | |
4052 |
|
4071 | |||
4053 | div.readme .readme_box h2, div.readme .readme_box h3 { |
|
4072 | div.readme .readme_box h2, div.readme .readme_box h3 { | |
4054 | margin: 1em 0 !important; |
|
4073 | margin: 1em 0 !important; | |
4055 | } |
|
4074 | } | |
4056 |
|
4075 | |||
4057 | div.readme .readme_box h2 { |
|
4076 | div.readme .readme_box h2 { | |
4058 | margin-top: 1.5em !important; |
|
4077 | margin-top: 1.5em !important; | |
4059 | border-top: 4px solid #e0e0e0 !important; |
|
4078 | border-top: 4px solid #e0e0e0 !important; | |
4060 | padding-top: .5em !important; |
|
4079 | padding-top: .5em !important; | |
4061 | } |
|
4080 | } | |
4062 |
|
4081 | |||
4063 | div.readme .readme_box p { |
|
4082 | div.readme .readme_box p { | |
4064 | color: black !important; |
|
4083 | color: black !important; | |
4065 | margin: 1em 0 !important; |
|
4084 | margin: 1em 0 !important; | |
4066 | line-height: 1.5em !important; |
|
4085 | line-height: 1.5em !important; | |
4067 | } |
|
4086 | } | |
4068 |
|
4087 | |||
4069 | div.readme .readme_box ul { |
|
4088 | div.readme .readme_box ul { | |
4070 | list-style: disc !important; |
|
4089 | list-style: disc !important; | |
4071 | margin: 1em 0 1em 2em !important; |
|
4090 | margin: 1em 0 1em 2em !important; | |
4072 | } |
|
4091 | } | |
4073 |
|
4092 | |||
4074 | div.readme .readme_box ol { |
|
4093 | div.readme .readme_box ol { | |
4075 | list-style: decimal; |
|
4094 | list-style: decimal; | |
4076 | margin: 1em 0 1em 2em !important; |
|
4095 | margin: 1em 0 1em 2em !important; | |
4077 | } |
|
4096 | } | |
4078 |
|
4097 | |||
4079 | div.readme .readme_box pre, code { |
|
4098 | div.readme .readme_box pre, code { | |
4080 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
4099 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; | |
4081 | } |
|
4100 | } | |
4082 |
|
4101 | |||
4083 | div.readme .readme_box code { |
|
4102 | div.readme .readme_box code { | |
4084 | font-size: 12px !important; |
|
4103 | font-size: 12px !important; | |
4085 | background-color: ghostWhite !important; |
|
4104 | background-color: ghostWhite !important; | |
4086 | color: #444 !important; |
|
4105 | color: #444 !important; | |
4087 | padding: 0 .2em !important; |
|
4106 | padding: 0 .2em !important; | |
4088 | border: 1px solid #dedede !important; |
|
4107 | border: 1px solid #dedede !important; | |
4089 | } |
|
4108 | } | |
4090 |
|
4109 | |||
4091 | div.readme .readme_box pre code { |
|
4110 | div.readme .readme_box pre code { | |
4092 | padding: 0 !important; |
|
4111 | padding: 0 !important; | |
4093 | font-size: 12px !important; |
|
4112 | font-size: 12px !important; | |
4094 | background-color: #eee !important; |
|
4113 | background-color: #eee !important; | |
4095 | border: none !important; |
|
4114 | border: none !important; | |
4096 | } |
|
4115 | } | |
4097 |
|
4116 | |||
4098 | div.readme .readme_box pre { |
|
4117 | div.readme .readme_box pre { | |
4099 | margin: 1em 0; |
|
4118 | margin: 1em 0; | |
4100 | font-size: 12px; |
|
4119 | font-size: 12px; | |
4101 | background-color: #eee; |
|
4120 | background-color: #eee; | |
4102 | border: 1px solid #ddd; |
|
4121 | border: 1px solid #ddd; | |
4103 | padding: 5px; |
|
4122 | padding: 5px; | |
4104 | color: #444; |
|
4123 | color: #444; | |
4105 | overflow: auto; |
|
4124 | overflow: auto; | |
4106 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
4125 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; | |
4107 | -webkit-border-radius: 3px; |
|
4126 | -webkit-border-radius: 3px; | |
4108 | -moz-border-radius: 3px; |
|
4127 | -moz-border-radius: 3px; | |
4109 | border-radius: 3px; |
|
4128 | border-radius: 3px; | |
4110 | } |
|
4129 | } | |
4111 |
|
4130 | |||
4112 | div.readme .readme_box table { |
|
4131 | div.readme .readme_box table { | |
4113 | display: table; |
|
4132 | display: table; | |
4114 | border-collapse: separate; |
|
4133 | border-collapse: separate; | |
4115 | border-spacing: 2px; |
|
4134 | border-spacing: 2px; | |
4116 | border-color: gray; |
|
4135 | border-color: gray; | |
4117 | width: auto !important; |
|
4136 | width: auto !important; | |
4118 | } |
|
4137 | } | |
4119 |
|
4138 | |||
4120 |
|
4139 | |||
4121 | /** RST STYLE **/ |
|
4140 | /** RST STYLE **/ | |
4122 |
|
4141 | |||
4123 |
|
4142 | |||
4124 | div.rst-block { |
|
4143 | div.rst-block { | |
4125 | padding:0px; |
|
4144 | padding:0px; | |
4126 | } |
|
4145 | } | |
4127 |
|
4146 | |||
4128 | div.rst-block h2 { |
|
4147 | div.rst-block h2 { | |
4129 | font-weight: normal; |
|
4148 | font-weight: normal; | |
4130 | } |
|
4149 | } | |
4131 |
|
4150 | |||
4132 | div.rst-block { |
|
4151 | div.rst-block { | |
4133 | background-color: #fafafa; |
|
4152 | background-color: #fafafa; | |
4134 | } |
|
4153 | } | |
4135 |
|
4154 | |||
4136 | div.rst-block { |
|
4155 | div.rst-block { | |
4137 | clear:both; |
|
4156 | clear:both; | |
4138 | overflow:hidden; |
|
4157 | overflow:hidden; | |
4139 | margin:0; |
|
4158 | margin:0; | |
4140 | padding:0 20px 10px; |
|
4159 | padding:0 20px 10px; | |
4141 | } |
|
4160 | } | |
4142 |
|
4161 | |||
4143 | div.rst-block h1, div.rst-block h2, div.rst-block h3, div.rst-block h4, div.rst-block h5, div.rst-block h6 { |
|
4162 | div.rst-block h1, div.rst-block h2, div.rst-block h3, div.rst-block h4, div.rst-block h5, div.rst-block h6 { | |
4144 | border-bottom: 0 !important; |
|
4163 | border-bottom: 0 !important; | |
4145 | margin: 0 !important; |
|
4164 | margin: 0 !important; | |
4146 | padding: 0 !important; |
|
4165 | padding: 0 !important; | |
4147 | line-height: 1.5em !important; |
|
4166 | line-height: 1.5em !important; | |
4148 | } |
|
4167 | } | |
4149 |
|
4168 | |||
4150 |
|
4169 | |||
4151 | div.rst-block h1:first-child { |
|
4170 | div.rst-block h1:first-child { | |
4152 | padding-top: .25em !important; |
|
4171 | padding-top: .25em !important; | |
4153 | } |
|
4172 | } | |
4154 |
|
4173 | |||
4155 | div.rst-block h2, div.rst-block h3 { |
|
4174 | div.rst-block h2, div.rst-block h3 { | |
4156 | margin: 1em 0 !important; |
|
4175 | margin: 1em 0 !important; | |
4157 | } |
|
4176 | } | |
4158 |
|
4177 | |||
4159 | div.rst-block h2 { |
|
4178 | div.rst-block h2 { | |
4160 | margin-top: 1.5em !important; |
|
4179 | margin-top: 1.5em !important; | |
4161 | border-top: 4px solid #e0e0e0 !important; |
|
4180 | border-top: 4px solid #e0e0e0 !important; | |
4162 | padding-top: .5em !important; |
|
4181 | padding-top: .5em !important; | |
4163 | } |
|
4182 | } | |
4164 |
|
4183 | |||
4165 | div.rst-block p { |
|
4184 | div.rst-block p { | |
4166 | color: black !important; |
|
4185 | color: black !important; | |
4167 | margin: 1em 0 !important; |
|
4186 | margin: 1em 0 !important; | |
4168 | line-height: 1.5em !important; |
|
4187 | line-height: 1.5em !important; | |
4169 | } |
|
4188 | } | |
4170 |
|
4189 | |||
4171 | div.rst-block ul { |
|
4190 | div.rst-block ul { | |
4172 | list-style: disc !important; |
|
4191 | list-style: disc !important; | |
4173 | margin: 1em 0 1em 2em !important; |
|
4192 | margin: 1em 0 1em 2em !important; | |
4174 | } |
|
4193 | } | |
4175 |
|
4194 | |||
4176 | div.rst-block ol { |
|
4195 | div.rst-block ol { | |
4177 | list-style: decimal; |
|
4196 | list-style: decimal; | |
4178 | margin: 1em 0 1em 2em !important; |
|
4197 | margin: 1em 0 1em 2em !important; | |
4179 | } |
|
4198 | } | |
4180 |
|
4199 | |||
4181 | div.rst-block pre, code { |
|
4200 | div.rst-block pre, code { | |
4182 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
4201 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; | |
4183 | } |
|
4202 | } | |
4184 |
|
4203 | |||
4185 | div.rst-block code { |
|
4204 | div.rst-block code { | |
4186 | font-size: 12px !important; |
|
4205 | font-size: 12px !important; | |
4187 | background-color: ghostWhite !important; |
|
4206 | background-color: ghostWhite !important; | |
4188 | color: #444 !important; |
|
4207 | color: #444 !important; | |
4189 | padding: 0 .2em !important; |
|
4208 | padding: 0 .2em !important; | |
4190 | border: 1px solid #dedede !important; |
|
4209 | border: 1px solid #dedede !important; | |
4191 | } |
|
4210 | } | |
4192 |
|
4211 | |||
4193 | div.rst-block pre code { |
|
4212 | div.rst-block pre code { | |
4194 | padding: 0 !important; |
|
4213 | padding: 0 !important; | |
4195 | font-size: 12px !important; |
|
4214 | font-size: 12px !important; | |
4196 | background-color: #eee !important; |
|
4215 | background-color: #eee !important; | |
4197 | border: none !important; |
|
4216 | border: none !important; | |
4198 | } |
|
4217 | } | |
4199 |
|
4218 | |||
4200 | div.rst-block pre { |
|
4219 | div.rst-block pre { | |
4201 | margin: 1em 0; |
|
4220 | margin: 1em 0; | |
4202 | font-size: 12px; |
|
4221 | font-size: 12px; | |
4203 | background-color: #eee; |
|
4222 | background-color: #eee; | |
4204 | border: 1px solid #ddd; |
|
4223 | border: 1px solid #ddd; | |
4205 | padding: 5px; |
|
4224 | padding: 5px; | |
4206 | color: #444; |
|
4225 | color: #444; | |
4207 | overflow: auto; |
|
4226 | overflow: auto; | |
4208 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
4227 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; | |
4209 | -webkit-border-radius: 3px; |
|
4228 | -webkit-border-radius: 3px; | |
4210 | -moz-border-radius: 3px; |
|
4229 | -moz-border-radius: 3px; | |
4211 | border-radius: 3px; |
|
4230 | border-radius: 3px; | |
4212 | } |
|
4231 | } | |
4213 |
|
4232 | |||
4214 |
|
4233 | |||
4215 | /** comment main **/ |
|
4234 | /** comment main **/ | |
4216 | .comments { |
|
4235 | .comments { | |
4217 | padding:10px 20px; |
|
4236 | padding:10px 20px; | |
4218 | } |
|
4237 | } | |
4219 |
|
4238 | |||
4220 | .comments .comment { |
|
4239 | .comments .comment { | |
4221 | border: 1px solid #ddd; |
|
4240 | border: 1px solid #ddd; | |
4222 | margin-top: 10px; |
|
4241 | margin-top: 10px; | |
4223 | -webkit-border-radius: 4px; |
|
4242 | -webkit-border-radius: 4px; | |
4224 | -moz-border-radius: 4px; |
|
4243 | -moz-border-radius: 4px; | |
4225 | border-radius: 4px; |
|
4244 | border-radius: 4px; | |
4226 | } |
|
4245 | } | |
4227 |
|
4246 | |||
4228 | .comments .comment .meta { |
|
4247 | .comments .comment .meta { | |
4229 | background: #f8f8f8; |
|
4248 | background: #f8f8f8; | |
4230 | padding: 4px; |
|
4249 | padding: 4px; | |
4231 | border-bottom: 1px solid #ddd; |
|
4250 | border-bottom: 1px solid #ddd; | |
4232 | height: 18px; |
|
4251 | height: 18px; | |
4233 | } |
|
4252 | } | |
4234 |
|
4253 | |||
4235 | .comments .comment .meta img { |
|
4254 | .comments .comment .meta img { | |
4236 | vertical-align: middle; |
|
4255 | vertical-align: middle; | |
4237 | } |
|
4256 | } | |
4238 |
|
4257 | |||
4239 | .comments .comment .meta .user { |
|
4258 | .comments .comment .meta .user { | |
4240 | font-weight: bold; |
|
4259 | font-weight: bold; | |
4241 | float: left; |
|
4260 | float: left; | |
4242 | padding: 4px 2px 2px 2px; |
|
4261 | padding: 4px 2px 2px 2px; | |
4243 | } |
|
4262 | } | |
4244 |
|
4263 | |||
4245 | .comments .comment .meta .date { |
|
4264 | .comments .comment .meta .date { | |
4246 | float: left; |
|
4265 | float: left; | |
4247 | padding:4px 4px 0px 4px; |
|
4266 | padding:4px 4px 0px 4px; | |
4248 | } |
|
4267 | } | |
4249 |
|
4268 | |||
4250 | .comments .comment .text { |
|
4269 | .comments .comment .text { | |
4251 | background-color: #FAFAFA; |
|
4270 | background-color: #FAFAFA; | |
4252 | } |
|
4271 | } | |
4253 | .comment .text div.rst-block p { |
|
4272 | .comment .text div.rst-block p { | |
4254 | margin: 0.5em 0px !important; |
|
4273 | margin: 0.5em 0px !important; | |
4255 | } |
|
4274 | } | |
4256 |
|
4275 | |||
4257 | .comments .comments-number{ |
|
4276 | .comments .comments-number{ | |
4258 | padding:0px 0px 10px 0px; |
|
4277 | padding:0px 0px 10px 0px; | |
4259 | font-weight: bold; |
|
4278 | font-weight: bold; | |
4260 | color: #666; |
|
4279 | color: #666; | |
4261 | font-size: 16px; |
|
4280 | font-size: 16px; | |
4262 | } |
|
4281 | } | |
4263 |
|
4282 | |||
4264 | /** comment form **/ |
|
4283 | /** comment form **/ | |
4265 |
|
4284 | |||
4266 | .status-block{ |
|
4285 | .status-block{ | |
4267 | height:80px; |
|
4286 | height:80px; | |
4268 | clear:both |
|
4287 | clear:both | |
4269 | } |
|
4288 | } | |
4270 |
|
4289 | |||
4271 | .comment-form .clearfix{ |
|
4290 | .comment-form .clearfix{ | |
4272 | background: #EEE; |
|
4291 | background: #EEE; | |
4273 | -webkit-border-radius: 4px; |
|
4292 | -webkit-border-radius: 4px; | |
4274 | -moz-border-radius: 4px; |
|
4293 | -moz-border-radius: 4px; | |
4275 | border-radius: 4px; |
|
4294 | border-radius: 4px; | |
4276 | padding: 10px; |
|
4295 | padding: 10px; | |
4277 | } |
|
4296 | } | |
4278 |
|
4297 | |||
4279 | div.comment-form { |
|
4298 | div.comment-form { | |
4280 | margin-top: 20px; |
|
4299 | margin-top: 20px; | |
4281 | } |
|
4300 | } | |
4282 |
|
4301 | |||
4283 | .comment-form strong { |
|
4302 | .comment-form strong { | |
4284 | display: block; |
|
4303 | display: block; | |
4285 | margin-bottom: 15px; |
|
4304 | margin-bottom: 15px; | |
4286 | } |
|
4305 | } | |
4287 |
|
4306 | |||
4288 | .comment-form textarea { |
|
4307 | .comment-form textarea { | |
4289 | width: 100%; |
|
4308 | width: 100%; | |
4290 | height: 100px; |
|
4309 | height: 100px; | |
4291 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
4310 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; | |
4292 | } |
|
4311 | } | |
4293 |
|
4312 | |||
4294 | form.comment-form { |
|
4313 | form.comment-form { | |
4295 | margin-top: 10px; |
|
4314 | margin-top: 10px; | |
4296 | margin-left: 10px; |
|
4315 | margin-left: 10px; | |
4297 | } |
|
4316 | } | |
4298 |
|
4317 | |||
4299 | .comment-form-submit { |
|
4318 | .comment-form-submit { | |
4300 | margin-top: 5px; |
|
4319 | margin-top: 5px; | |
4301 | margin-left: 525px; |
|
4320 | margin-left: 525px; | |
4302 | } |
|
4321 | } | |
4303 |
|
4322 | |||
4304 | .file-comments { |
|
4323 | .file-comments { | |
4305 | display: none; |
|
4324 | display: none; | |
4306 | } |
|
4325 | } | |
4307 |
|
4326 | |||
4308 | .comment-form .comment { |
|
4327 | .comment-form .comment { | |
4309 | margin-left: 10px; |
|
4328 | margin-left: 10px; | |
4310 | } |
|
4329 | } | |
4311 |
|
4330 | |||
4312 | .comment-form .comment-help{ |
|
4331 | .comment-form .comment-help{ | |
4313 | padding: 0px 0px 5px 0px; |
|
4332 | padding: 0px 0px 5px 0px; | |
4314 | color: #666; |
|
4333 | color: #666; | |
4315 | } |
|
4334 | } | |
4316 |
|
4335 | |||
4317 | .comment-form .comment-button{ |
|
4336 | .comment-form .comment-button{ | |
4318 | padding-top:5px; |
|
4337 | padding-top:5px; | |
4319 | } |
|
4338 | } | |
4320 |
|
4339 | |||
4321 | .add-another-button { |
|
4340 | .add-another-button { | |
4322 | margin-left: 10px; |
|
4341 | margin-left: 10px; | |
4323 | margin-top: 10px; |
|
4342 | margin-top: 10px; | |
4324 | margin-bottom: 10px; |
|
4343 | margin-bottom: 10px; | |
4325 | } |
|
4344 | } | |
4326 |
|
4345 | |||
4327 | .comment .buttons { |
|
4346 | .comment .buttons { | |
4328 | float: right; |
|
4347 | float: right; | |
4329 | padding:2px 2px 0px 0px; |
|
4348 | padding:2px 2px 0px 0px; | |
4330 | } |
|
4349 | } | |
4331 |
|
4350 | |||
4332 |
|
4351 | |||
4333 | .show-inline-comments{ |
|
4352 | .show-inline-comments{ | |
4334 | position: relative; |
|
4353 | position: relative; | |
4335 | top:1px |
|
4354 | top:1px | |
4336 | } |
|
4355 | } | |
4337 |
|
4356 | |||
4338 | /** comment inline form **/ |
|
4357 | /** comment inline form **/ | |
4339 | .comment-inline-form .overlay{ |
|
4358 | .comment-inline-form .overlay{ | |
4340 | display: none; |
|
4359 | display: none; | |
4341 | } |
|
4360 | } | |
4342 | .comment-inline-form .overlay.submitting{ |
|
4361 | .comment-inline-form .overlay.submitting{ | |
4343 | display:block; |
|
4362 | display:block; | |
4344 | background: none repeat scroll 0 0 white; |
|
4363 | background: none repeat scroll 0 0 white; | |
4345 | font-size: 16px; |
|
4364 | font-size: 16px; | |
4346 | opacity: 0.5; |
|
4365 | opacity: 0.5; | |
4347 | position: absolute; |
|
4366 | position: absolute; | |
4348 | text-align: center; |
|
4367 | text-align: center; | |
4349 | vertical-align: top; |
|
4368 | vertical-align: top; | |
4350 |
|
4369 | |||
4351 | } |
|
4370 | } | |
4352 | .comment-inline-form .overlay.submitting .overlay-text{ |
|
4371 | .comment-inline-form .overlay.submitting .overlay-text{ | |
4353 | width:100%; |
|
4372 | width:100%; | |
4354 | margin-top:5%; |
|
4373 | margin-top:5%; | |
4355 | } |
|
4374 | } | |
4356 |
|
4375 | |||
4357 | .comment-inline-form .clearfix{ |
|
4376 | .comment-inline-form .clearfix{ | |
4358 | background: #EEE; |
|
4377 | background: #EEE; | |
4359 | -webkit-border-radius: 4px; |
|
4378 | -webkit-border-radius: 4px; | |
4360 | -moz-border-radius: 4px; |
|
4379 | -moz-border-radius: 4px; | |
4361 | border-radius: 4px; |
|
4380 | border-radius: 4px; | |
4362 | padding: 5px; |
|
4381 | padding: 5px; | |
4363 | } |
|
4382 | } | |
4364 |
|
4383 | |||
4365 | div.comment-inline-form { |
|
4384 | div.comment-inline-form { | |
4366 | padding:4px 0px 6px 0px; |
|
4385 | padding:4px 0px 6px 0px; | |
4367 | } |
|
4386 | } | |
4368 |
|
4387 | |||
4369 |
|
4388 | |||
4370 | tr.hl-comment{ |
|
4389 | tr.hl-comment{ | |
4371 | /* |
|
4390 | /* | |
4372 | background-color: #FFFFCC !important; |
|
4391 | background-color: #FFFFCC !important; | |
4373 | */ |
|
4392 | */ | |
4374 | } |
|
4393 | } | |
4375 |
|
4394 | |||
4376 | /* |
|
4395 | /* | |
4377 | tr.hl-comment pre { |
|
4396 | tr.hl-comment pre { | |
4378 | border-top: 2px solid #FFEE33; |
|
4397 | border-top: 2px solid #FFEE33; | |
4379 | border-left: 2px solid #FFEE33; |
|
4398 | border-left: 2px solid #FFEE33; | |
4380 | border-right: 2px solid #FFEE33; |
|
4399 | border-right: 2px solid #FFEE33; | |
4381 | } |
|
4400 | } | |
4382 | */ |
|
4401 | */ | |
4383 |
|
4402 | |||
4384 | .comment-inline-form strong { |
|
4403 | .comment-inline-form strong { | |
4385 | display: block; |
|
4404 | display: block; | |
4386 | margin-bottom: 15px; |
|
4405 | margin-bottom: 15px; | |
4387 | } |
|
4406 | } | |
4388 |
|
4407 | |||
4389 | .comment-inline-form textarea { |
|
4408 | .comment-inline-form textarea { | |
4390 | width: 100%; |
|
4409 | width: 100%; | |
4391 | height: 100px; |
|
4410 | height: 100px; | |
4392 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
4411 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; | |
4393 | } |
|
4412 | } | |
4394 |
|
4413 | |||
4395 | form.comment-inline-form { |
|
4414 | form.comment-inline-form { | |
4396 | margin-top: 10px; |
|
4415 | margin-top: 10px; | |
4397 | margin-left: 10px; |
|
4416 | margin-left: 10px; | |
4398 | } |
|
4417 | } | |
4399 |
|
4418 | |||
4400 | .comment-inline-form-submit { |
|
4419 | .comment-inline-form-submit { | |
4401 | margin-top: 5px; |
|
4420 | margin-top: 5px; | |
4402 | margin-left: 525px; |
|
4421 | margin-left: 525px; | |
4403 | } |
|
4422 | } | |
4404 |
|
4423 | |||
4405 | .file-comments { |
|
4424 | .file-comments { | |
4406 | display: none; |
|
4425 | display: none; | |
4407 | } |
|
4426 | } | |
4408 |
|
4427 | |||
4409 | .comment-inline-form .comment { |
|
4428 | .comment-inline-form .comment { | |
4410 | margin-left: 10px; |
|
4429 | margin-left: 10px; | |
4411 | } |
|
4430 | } | |
4412 |
|
4431 | |||
4413 | .comment-inline-form .comment-help{ |
|
4432 | .comment-inline-form .comment-help{ | |
4414 | padding: 0px 0px 2px 0px; |
|
4433 | padding: 0px 0px 2px 0px; | |
4415 | color: #666666; |
|
4434 | color: #666666; | |
4416 | font-size: 10px; |
|
4435 | font-size: 10px; | |
4417 | } |
|
4436 | } | |
4418 |
|
4437 | |||
4419 | .comment-inline-form .comment-button{ |
|
4438 | .comment-inline-form .comment-button{ | |
4420 | padding-top:5px; |
|
4439 | padding-top:5px; | |
4421 | } |
|
4440 | } | |
4422 |
|
4441 | |||
4423 | /** comment inline **/ |
|
4442 | /** comment inline **/ | |
4424 | .inline-comments { |
|
4443 | .inline-comments { | |
4425 | padding:10px 20px; |
|
4444 | padding:10px 20px; | |
4426 | } |
|
4445 | } | |
4427 |
|
4446 | |||
4428 | .inline-comments div.rst-block { |
|
4447 | .inline-comments div.rst-block { | |
4429 | clear:both; |
|
4448 | clear:both; | |
4430 | overflow:hidden; |
|
4449 | overflow:hidden; | |
4431 | margin:0; |
|
4450 | margin:0; | |
4432 | padding:0 20px 0px; |
|
4451 | padding:0 20px 0px; | |
4433 | } |
|
4452 | } | |
4434 | .inline-comments .comment { |
|
4453 | .inline-comments .comment { | |
4435 | border: 1px solid #ddd; |
|
4454 | border: 1px solid #ddd; | |
4436 | -webkit-border-radius: 4px; |
|
4455 | -webkit-border-radius: 4px; | |
4437 | -moz-border-radius: 4px; |
|
4456 | -moz-border-radius: 4px; | |
4438 | border-radius: 4px; |
|
4457 | border-radius: 4px; | |
4439 | margin: 3px 3px 5px 5px; |
|
4458 | margin: 3px 3px 5px 5px; | |
4440 | background-color: #FAFAFA; |
|
4459 | background-color: #FAFAFA; | |
4441 | } |
|
4460 | } | |
4442 | .inline-comments .add-comment { |
|
4461 | .inline-comments .add-comment { | |
4443 | padding: 2px 4px 8px 5px; |
|
4462 | padding: 2px 4px 8px 5px; | |
4444 | } |
|
4463 | } | |
4445 |
|
4464 | |||
4446 | .inline-comments .comment-wrapp{ |
|
4465 | .inline-comments .comment-wrapp{ | |
4447 | padding:1px; |
|
4466 | padding:1px; | |
4448 | } |
|
4467 | } | |
4449 | .inline-comments .comment .meta { |
|
4468 | .inline-comments .comment .meta { | |
4450 | background: #f8f8f8; |
|
4469 | background: #f8f8f8; | |
4451 | padding: 4px; |
|
4470 | padding: 4px; | |
4452 | border-bottom: 1px solid #ddd; |
|
4471 | border-bottom: 1px solid #ddd; | |
4453 | height: 20px; |
|
4472 | height: 20px; | |
4454 | } |
|
4473 | } | |
4455 |
|
4474 | |||
4456 | .inline-comments .comment .meta img { |
|
4475 | .inline-comments .comment .meta img { | |
4457 | vertical-align: middle; |
|
4476 | vertical-align: middle; | |
4458 | } |
|
4477 | } | |
4459 |
|
4478 | |||
4460 | .inline-comments .comment .meta .user { |
|
4479 | .inline-comments .comment .meta .user { | |
4461 | font-weight: bold; |
|
4480 | font-weight: bold; | |
4462 | float:left; |
|
4481 | float:left; | |
4463 | padding: 3px; |
|
4482 | padding: 3px; | |
4464 | } |
|
4483 | } | |
4465 |
|
4484 | |||
4466 | .inline-comments .comment .meta .date { |
|
4485 | .inline-comments .comment .meta .date { | |
4467 | float:left; |
|
4486 | float:left; | |
4468 | padding: 3px; |
|
4487 | padding: 3px; | |
4469 | } |
|
4488 | } | |
4470 |
|
4489 | |||
4471 | .inline-comments .comment .text { |
|
4490 | .inline-comments .comment .text { | |
4472 | background-color: #FAFAFA; |
|
4491 | background-color: #FAFAFA; | |
4473 | } |
|
4492 | } | |
4474 |
|
4493 | |||
4475 | .inline-comments .comments-number{ |
|
4494 | .inline-comments .comments-number{ | |
4476 | padding:0px 0px 10px 0px; |
|
4495 | padding:0px 0px 10px 0px; | |
4477 | font-weight: bold; |
|
4496 | font-weight: bold; | |
4478 | color: #666; |
|
4497 | color: #666; | |
4479 | font-size: 16px; |
|
4498 | font-size: 16px; | |
4480 | } |
|
4499 | } | |
4481 | .inline-comments-button .add-comment{ |
|
4500 | .inline-comments-button .add-comment{ | |
4482 | margin:2px 0px 8px 5px !important |
|
4501 | margin:2px 0px 8px 5px !important | |
4483 | } |
|
4502 | } | |
4484 |
|
4503 | |||
4485 |
|
4504 | |||
4486 | .notification-paginator{ |
|
4505 | .notification-paginator{ | |
4487 | padding: 0px 0px 4px 16px; |
|
4506 | padding: 0px 0px 4px 16px; | |
4488 | float: left; |
|
4507 | float: left; | |
4489 | } |
|
4508 | } | |
4490 |
|
4509 | |||
4491 | .notifications{ |
|
4510 | .notifications{ | |
4492 | border-radius: 4px 4px 4px 4px; |
|
4511 | border-radius: 4px 4px 4px 4px; | |
4493 | -webkit-border-radius: 4px; |
|
4512 | -webkit-border-radius: 4px; | |
4494 | -moz-border-radius: 4px; |
|
4513 | -moz-border-radius: 4px; | |
4495 | float: right; |
|
4514 | float: right; | |
4496 | margin: 20px 0px 0px 0px; |
|
4515 | margin: 20px 0px 0px 0px; | |
4497 | position: absolute; |
|
4516 | position: absolute; | |
4498 | text-align: center; |
|
4517 | text-align: center; | |
4499 | width: 26px; |
|
4518 | width: 26px; | |
4500 | z-index: 1000; |
|
4519 | z-index: 1000; | |
4501 | } |
|
4520 | } | |
4502 | .notifications a{ |
|
4521 | .notifications a{ | |
4503 | color:#888 !important; |
|
4522 | color:#888 !important; | |
4504 | display: block; |
|
4523 | display: block; | |
4505 | font-size: 10px; |
|
4524 | font-size: 10px; | |
4506 | background-color: #DEDEDE !important; |
|
4525 | background-color: #DEDEDE !important; | |
4507 | border-radius: 2px !important; |
|
4526 | border-radius: 2px !important; | |
4508 | -webkit-border-radius: 2px !important; |
|
4527 | -webkit-border-radius: 2px !important; | |
4509 | -moz-border-radius: 2px !important; |
|
4528 | -moz-border-radius: 2px !important; | |
4510 | } |
|
4529 | } | |
4511 | .notifications a:hover{ |
|
4530 | .notifications a:hover{ | |
4512 | text-decoration: none !important; |
|
4531 | text-decoration: none !important; | |
4513 | background-color: #EEEFFF !important; |
|
4532 | background-color: #EEEFFF !important; | |
4514 | } |
|
4533 | } | |
4515 | .notification-header{ |
|
4534 | .notification-header{ | |
4516 | padding-top:6px; |
|
4535 | padding-top:6px; | |
4517 | } |
|
4536 | } | |
4518 | .notification-header .desc{ |
|
4537 | .notification-header .desc{ | |
4519 | font-size: 16px; |
|
4538 | font-size: 16px; | |
4520 | height: 24px; |
|
4539 | height: 24px; | |
4521 | float: left |
|
4540 | float: left | |
4522 | } |
|
4541 | } | |
4523 | .notification-list .container.unread{ |
|
4542 | .notification-list .container.unread{ | |
4524 | background: none repeat scroll 0 0 rgba(255, 255, 180, 0.6); |
|
4543 | background: none repeat scroll 0 0 rgba(255, 255, 180, 0.6); | |
4525 | } |
|
4544 | } | |
4526 | .notification-header .gravatar{ |
|
4545 | .notification-header .gravatar{ | |
4527 | background: none repeat scroll 0 0 transparent; |
|
4546 | background: none repeat scroll 0 0 transparent; | |
4528 | padding: 0px 0px 0px 8px; |
|
4547 | padding: 0px 0px 0px 8px; | |
4529 | } |
|
4548 | } | |
4530 | .notification-list .container .notification-header .desc{ |
|
4549 | .notification-list .container .notification-header .desc{ | |
4531 | font-weight: bold; |
|
4550 | font-weight: bold; | |
4532 | font-size: 17px; |
|
4551 | font-size: 17px; | |
4533 | } |
|
4552 | } | |
4534 | .notification-table{ |
|
4553 | .notification-table{ | |
4535 | border: 1px solid #ccc; |
|
4554 | border: 1px solid #ccc; | |
4536 | -webkit-border-radius: 6px 6px 6px 6px; |
|
4555 | -webkit-border-radius: 6px 6px 6px 6px; | |
4537 | -moz-border-radius: 6px 6px 6px 6px; |
|
4556 | -moz-border-radius: 6px 6px 6px 6px; | |
4538 | border-radius: 6px 6px 6px 6px; |
|
4557 | border-radius: 6px 6px 6px 6px; | |
4539 | clear: both; |
|
4558 | clear: both; | |
4540 | margin: 0px 20px 0px 20px; |
|
4559 | margin: 0px 20px 0px 20px; | |
4541 | } |
|
4560 | } | |
4542 | .notification-header .delete-notifications{ |
|
4561 | .notification-header .delete-notifications{ | |
4543 | float: right; |
|
4562 | float: right; | |
4544 | padding-top: 8px; |
|
4563 | padding-top: 8px; | |
4545 | cursor: pointer; |
|
4564 | cursor: pointer; | |
4546 | } |
|
4565 | } | |
4547 | .notification-header .read-notifications{ |
|
4566 | .notification-header .read-notifications{ | |
4548 | float: right; |
|
4567 | float: right; | |
4549 | padding-top: 8px; |
|
4568 | padding-top: 8px; | |
4550 | cursor: pointer; |
|
4569 | cursor: pointer; | |
4551 | } |
|
4570 | } | |
4552 | .notification-subject{ |
|
4571 | .notification-subject{ | |
4553 | clear:both; |
|
4572 | clear:both; | |
4554 | border-bottom: 1px solid #eee; |
|
4573 | border-bottom: 1px solid #eee; | |
4555 | padding:5px 0px 5px 38px; |
|
4574 | padding:5px 0px 5px 38px; | |
4556 | } |
|
4575 | } | |
4557 |
|
4576 | |||
4558 | .notification-body{ |
|
4577 | .notification-body{ | |
4559 | clear:both; |
|
4578 | clear:both; | |
4560 | margin: 34px 2px 2px 8px |
|
4579 | margin: 34px 2px 2px 8px | |
4561 | } |
|
4580 | } | |
4562 |
|
4581 | |||
4563 | /**** |
|
4582 | /**** | |
4564 | PULL REQUESTS |
|
4583 | PULL REQUESTS | |
4565 | *****/ |
|
4584 | *****/ | |
4566 | .pullrequests_section_head { |
|
4585 | .pullrequests_section_head { | |
4567 | padding:10px 10px 10px 0px; |
|
4586 | padding:10px 10px 10px 0px; | |
4568 | font-size:16px; |
|
4587 | font-size:16px; | |
4569 | font-weight: bold; |
|
4588 | font-weight: bold; | |
4570 | } |
|
4589 | } | |
4571 |
|
4590 | |||
4572 | /**** |
|
4591 | /**** | |
4573 | PERMS |
|
4592 | PERMS | |
4574 | *****/ |
|
4593 | *****/ | |
4575 | #perms .perms_section_head { |
|
4594 | #perms .perms_section_head { | |
4576 | padding:10px 10px 10px 0px; |
|
4595 | padding:10px 10px 10px 0px; | |
4577 | font-size:16px; |
|
4596 | font-size:16px; | |
4578 | font-weight: bold; |
|
4597 | font-weight: bold; | |
4579 | } |
|
4598 | } | |
4580 |
|
4599 | |||
4581 | #perms .perm_tag{ |
|
4600 | #perms .perm_tag{ | |
4582 | padding: 1px 3px 1px 3px; |
|
4601 | padding: 1px 3px 1px 3px; | |
4583 | font-size: 10px; |
|
4602 | font-size: 10px; | |
4584 | font-weight: bold; |
|
4603 | font-weight: bold; | |
4585 | text-transform: uppercase; |
|
4604 | text-transform: uppercase; | |
4586 | white-space: nowrap; |
|
4605 | white-space: nowrap; | |
4587 | -webkit-border-radius: 3px; |
|
4606 | -webkit-border-radius: 3px; | |
4588 | -moz-border-radius: 3px; |
|
4607 | -moz-border-radius: 3px; | |
4589 | border-radius: 3px; |
|
4608 | border-radius: 3px; | |
4590 | } |
|
4609 | } | |
4591 |
|
4610 | |||
4592 | #perms .perm_tag.admin{ |
|
4611 | #perms .perm_tag.admin{ | |
4593 | background-color: #B94A48; |
|
4612 | background-color: #B94A48; | |
4594 | color: #ffffff; |
|
4613 | color: #ffffff; | |
4595 | } |
|
4614 | } | |
4596 |
|
4615 | |||
4597 | #perms .perm_tag.write{ |
|
4616 | #perms .perm_tag.write{ | |
4598 | background-color: #B94A48; |
|
4617 | background-color: #B94A48; | |
4599 | color: #ffffff; |
|
4618 | color: #ffffff; | |
4600 | } |
|
4619 | } | |
4601 |
|
4620 | |||
4602 | #perms .perm_tag.read{ |
|
4621 | #perms .perm_tag.read{ | |
4603 | background-color: #468847; |
|
4622 | background-color: #468847; | |
4604 | color: #ffffff; |
|
4623 | color: #ffffff; | |
4605 | } |
|
4624 | } | |
4606 |
|
4625 | |||
4607 | #perms .perm_tag.none{ |
|
4626 | #perms .perm_tag.none{ | |
4608 | background-color: #bfbfbf; |
|
4627 | background-color: #bfbfbf; | |
4609 | color: #ffffff; |
|
4628 | color: #ffffff; | |
4610 | } |
|
4629 | } | |
4611 |
|
4630 | |||
4612 | .perm-gravatar{ |
|
4631 | .perm-gravatar{ | |
4613 | vertical-align:middle; |
|
4632 | vertical-align:middle; | |
4614 | padding:2px; |
|
4633 | padding:2px; | |
4615 | } |
|
4634 | } | |
4616 | .perm-gravatar-ac{ |
|
4635 | .perm-gravatar-ac{ | |
4617 | vertical-align:middle; |
|
4636 | vertical-align:middle; | |
4618 | padding:2px; |
|
4637 | padding:2px; | |
4619 | width: 14px; |
|
4638 | width: 14px; | |
4620 | height: 14px; |
|
4639 | height: 14px; | |
4621 | } |
|
4640 | } | |
4622 |
|
4641 | |||
4623 | /***************************************************************************** |
|
4642 | /***************************************************************************** | |
4624 | DIFFS CSS |
|
4643 | DIFFS CSS | |
4625 | ******************************************************************************/ |
|
4644 | ******************************************************************************/ | |
4626 |
|
4645 | |||
4627 | div.diffblock { |
|
4646 | div.diffblock { | |
4628 | overflow: auto; |
|
4647 | overflow: auto; | |
4629 | padding: 0px; |
|
4648 | padding: 0px; | |
4630 | border: 1px solid #ccc; |
|
4649 | border: 1px solid #ccc; | |
4631 | background: #f8f8f8; |
|
4650 | background: #f8f8f8; | |
4632 | font-size: 100%; |
|
4651 | font-size: 100%; | |
4633 | line-height: 100%; |
|
4652 | line-height: 100%; | |
4634 | /* new */ |
|
4653 | /* new */ | |
4635 | line-height: 125%; |
|
4654 | line-height: 125%; | |
4636 | -webkit-border-radius: 6px 6px 0px 0px; |
|
4655 | -webkit-border-radius: 6px 6px 0px 0px; | |
4637 | -moz-border-radius: 6px 6px 0px 0px; |
|
4656 | -moz-border-radius: 6px 6px 0px 0px; | |
4638 | border-radius: 6px 6px 0px 0px; |
|
4657 | border-radius: 6px 6px 0px 0px; | |
4639 | } |
|
4658 | } | |
4640 | div.diffblock.margined{ |
|
4659 | div.diffblock.margined{ | |
4641 | margin: 0px 20px 0px 20px; |
|
4660 | margin: 0px 20px 0px 20px; | |
4642 | } |
|
4661 | } | |
4643 | div.diffblock .code-header{ |
|
4662 | div.diffblock .code-header{ | |
4644 | border-bottom: 1px solid #CCCCCC; |
|
4663 | border-bottom: 1px solid #CCCCCC; | |
4645 | background: #EEEEEE; |
|
4664 | background: #EEEEEE; | |
4646 | padding:10px 0 10px 0; |
|
4665 | padding:10px 0 10px 0; | |
4647 | height: 14px; |
|
4666 | height: 14px; | |
4648 | } |
|
4667 | } | |
4649 |
|
4668 | |||
4650 | div.diffblock .code-header.banner{ |
|
4669 | div.diffblock .code-header.banner{ | |
4651 | border-bottom: 1px solid #CCCCCC; |
|
4670 | border-bottom: 1px solid #CCCCCC; | |
4652 | background: #EEEEEE; |
|
4671 | background: #EEEEEE; | |
4653 | height: 14px; |
|
4672 | height: 14px; | |
4654 | margin: 0px 95px 0px 95px; |
|
4673 | margin: 0px 95px 0px 95px; | |
4655 | padding: 3px 3px 11px 3px; |
|
4674 | padding: 3px 3px 11px 3px; | |
4656 | } |
|
4675 | } | |
4657 |
|
4676 | |||
4658 | div.diffblock .code-header.cv{ |
|
4677 | div.diffblock .code-header.cv{ | |
4659 | height: 34px; |
|
4678 | height: 34px; | |
4660 | } |
|
4679 | } | |
4661 | div.diffblock .code-header-title{ |
|
4680 | div.diffblock .code-header-title{ | |
4662 | padding: 0px 0px 10px 5px !important; |
|
4681 | padding: 0px 0px 10px 5px !important; | |
4663 | margin: 0 !important; |
|
4682 | margin: 0 !important; | |
4664 | } |
|
4683 | } | |
4665 | div.diffblock .code-header .hash{ |
|
4684 | div.diffblock .code-header .hash{ | |
4666 | float: left; |
|
4685 | float: left; | |
4667 | padding: 2px 0 0 2px; |
|
4686 | padding: 2px 0 0 2px; | |
4668 | } |
|
4687 | } | |
4669 | div.diffblock .code-header .date{ |
|
4688 | div.diffblock .code-header .date{ | |
4670 | float:left; |
|
4689 | float:left; | |
4671 | text-transform: uppercase; |
|
4690 | text-transform: uppercase; | |
4672 | padding: 2px 0px 0px 2px; |
|
4691 | padding: 2px 0px 0px 2px; | |
4673 | } |
|
4692 | } | |
4674 | div.diffblock .code-header div{ |
|
4693 | div.diffblock .code-header div{ | |
4675 | margin-left:4px; |
|
4694 | margin-left:4px; | |
4676 | font-weight: bold; |
|
4695 | font-weight: bold; | |
4677 | font-size: 14px; |
|
4696 | font-size: 14px; | |
4678 | } |
|
4697 | } | |
4679 |
|
4698 | |||
4680 | div.diffblock .parents { |
|
4699 | div.diffblock .parents { | |
4681 | float: left; |
|
4700 | float: left; | |
4682 | height: 26px; |
|
4701 | height: 26px; | |
4683 | width:100px; |
|
4702 | width:100px; | |
4684 | font-size: 10px; |
|
4703 | font-size: 10px; | |
4685 | font-weight: 400; |
|
4704 | font-weight: 400; | |
4686 | vertical-align: middle; |
|
4705 | vertical-align: middle; | |
4687 | padding: 0px 2px 2px 2px; |
|
4706 | padding: 0px 2px 2px 2px; | |
4688 | background-color:#eeeeee; |
|
4707 | background-color:#eeeeee; | |
4689 | border-bottom: 1px solid #CCCCCC; |
|
4708 | border-bottom: 1px solid #CCCCCC; | |
4690 | } |
|
4709 | } | |
4691 |
|
4710 | |||
4692 | div.diffblock .children { |
|
4711 | div.diffblock .children { | |
4693 | float: right; |
|
4712 | float: right; | |
4694 | height: 26px; |
|
4713 | height: 26px; | |
4695 | width:100px; |
|
4714 | width:100px; | |
4696 | font-size: 10px; |
|
4715 | font-size: 10px; | |
4697 | font-weight: 400; |
|
4716 | font-weight: 400; | |
4698 | vertical-align: middle; |
|
4717 | vertical-align: middle; | |
4699 | text-align: right; |
|
4718 | text-align: right; | |
4700 | padding: 0px 2px 2px 2px; |
|
4719 | padding: 0px 2px 2px 2px; | |
4701 | background-color:#eeeeee; |
|
4720 | background-color:#eeeeee; | |
4702 | border-bottom: 1px solid #CCCCCC; |
|
4721 | border-bottom: 1px solid #CCCCCC; | |
4703 | } |
|
4722 | } | |
4704 |
|
4723 | |||
4705 | div.diffblock .code-body{ |
|
4724 | div.diffblock .code-body{ | |
4706 | background: #FFFFFF; |
|
4725 | background: #FFFFFF; | |
4707 | } |
|
4726 | } | |
4708 | div.diffblock pre.raw{ |
|
4727 | div.diffblock pre.raw{ | |
4709 | background: #FFFFFF; |
|
4728 | background: #FFFFFF; | |
4710 | color:#000000; |
|
4729 | color:#000000; | |
4711 | } |
|
4730 | } | |
4712 | table.code-difftable{ |
|
4731 | table.code-difftable{ | |
4713 | border-collapse: collapse; |
|
4732 | border-collapse: collapse; | |
4714 | width: 99%; |
|
4733 | width: 99%; | |
4715 | } |
|
4734 | } | |
4716 | table.code-difftable td { |
|
4735 | table.code-difftable td { | |
4717 | padding: 0 !important; |
|
4736 | padding: 0 !important; | |
4718 | background: none !important; |
|
4737 | background: none !important; | |
4719 | border:0 !important; |
|
4738 | border:0 !important; | |
4720 | vertical-align: none !important; |
|
4739 | vertical-align: none !important; | |
4721 | } |
|
4740 | } | |
4722 | table.code-difftable .context{ |
|
4741 | table.code-difftable .context{ | |
4723 | background:none repeat scroll 0 0 #DDE7EF; |
|
4742 | background:none repeat scroll 0 0 #DDE7EF; | |
4724 | } |
|
4743 | } | |
4725 | table.code-difftable .add{ |
|
4744 | table.code-difftable .add{ | |
4726 | background:none repeat scroll 0 0 #DDFFDD; |
|
4745 | background:none repeat scroll 0 0 #DDFFDD; | |
4727 | } |
|
4746 | } | |
4728 | table.code-difftable .add ins{ |
|
4747 | table.code-difftable .add ins{ | |
4729 | background:none repeat scroll 0 0 #AAFFAA; |
|
4748 | background:none repeat scroll 0 0 #AAFFAA; | |
4730 | text-decoration:none; |
|
4749 | text-decoration:none; | |
4731 | } |
|
4750 | } | |
4732 | table.code-difftable .del{ |
|
4751 | table.code-difftable .del{ | |
4733 | background:none repeat scroll 0 0 #FFDDDD; |
|
4752 | background:none repeat scroll 0 0 #FFDDDD; | |
4734 | } |
|
4753 | } | |
4735 | table.code-difftable .del del{ |
|
4754 | table.code-difftable .del del{ | |
4736 | background:none repeat scroll 0 0 #FFAAAA; |
|
4755 | background:none repeat scroll 0 0 #FFAAAA; | |
4737 | text-decoration:none; |
|
4756 | text-decoration:none; | |
4738 | } |
|
4757 | } | |
4739 |
|
4758 | |||
4740 | /** LINE NUMBERS **/ |
|
4759 | /** LINE NUMBERS **/ | |
4741 | table.code-difftable .lineno{ |
|
4760 | table.code-difftable .lineno{ | |
4742 |
|
4761 | |||
4743 | padding-left:2px; |
|
4762 | padding-left:2px; | |
4744 | padding-right:2px; |
|
4763 | padding-right:2px; | |
4745 | text-align:right; |
|
4764 | text-align:right; | |
4746 | width:32px; |
|
4765 | width:32px; | |
4747 | -moz-user-select:none; |
|
4766 | -moz-user-select:none; | |
4748 | -webkit-user-select: none; |
|
4767 | -webkit-user-select: none; | |
4749 | border-right: 1px solid #CCC !important; |
|
4768 | border-right: 1px solid #CCC !important; | |
4750 | border-left: 0px solid #CCC !important; |
|
4769 | border-left: 0px solid #CCC !important; | |
4751 | border-top: 0px solid #CCC !important; |
|
4770 | border-top: 0px solid #CCC !important; | |
4752 | border-bottom: none !important; |
|
4771 | border-bottom: none !important; | |
4753 | vertical-align: middle !important; |
|
4772 | vertical-align: middle !important; | |
4754 |
|
4773 | |||
4755 | } |
|
4774 | } | |
4756 | table.code-difftable .lineno.new { |
|
4775 | table.code-difftable .lineno.new { | |
4757 | } |
|
4776 | } | |
4758 | table.code-difftable .lineno.old { |
|
4777 | table.code-difftable .lineno.old { | |
4759 | } |
|
4778 | } | |
4760 | table.code-difftable .lineno a{ |
|
4779 | table.code-difftable .lineno a{ | |
4761 | color:#747474 !important; |
|
4780 | color:#747474 !important; | |
4762 | font:11px "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace !important; |
|
4781 | font:11px "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace !important; | |
4763 | letter-spacing:-1px; |
|
4782 | letter-spacing:-1px; | |
4764 | text-align:right; |
|
4783 | text-align:right; | |
4765 | padding-right: 2px; |
|
4784 | padding-right: 2px; | |
4766 | cursor: pointer; |
|
4785 | cursor: pointer; | |
4767 | display: block; |
|
4786 | display: block; | |
4768 | width: 32px; |
|
4787 | width: 32px; | |
4769 | } |
|
4788 | } | |
4770 |
|
4789 | |||
4771 | table.code-difftable .lineno-inline{ |
|
4790 | table.code-difftable .lineno-inline{ | |
4772 | background:none repeat scroll 0 0 #FFF !important; |
|
4791 | background:none repeat scroll 0 0 #FFF !important; | |
4773 | padding-left:2px; |
|
4792 | padding-left:2px; | |
4774 | padding-right:2px; |
|
4793 | padding-right:2px; | |
4775 | text-align:right; |
|
4794 | text-align:right; | |
4776 | width:30px; |
|
4795 | width:30px; | |
4777 | -moz-user-select:none; |
|
4796 | -moz-user-select:none; | |
4778 | -webkit-user-select: none; |
|
4797 | -webkit-user-select: none; | |
4779 | } |
|
4798 | } | |
4780 |
|
4799 | |||
4781 | /** CODE **/ |
|
4800 | /** CODE **/ | |
4782 | table.code-difftable .code { |
|
4801 | table.code-difftable .code { | |
4783 | display: block; |
|
4802 | display: block; | |
4784 | width: 100%; |
|
4803 | width: 100%; | |
4785 | } |
|
4804 | } | |
4786 | table.code-difftable .code td{ |
|
4805 | table.code-difftable .code td{ | |
4787 | margin:0; |
|
4806 | margin:0; | |
4788 | padding:0; |
|
4807 | padding:0; | |
4789 | } |
|
4808 | } | |
4790 | table.code-difftable .code pre{ |
|
4809 | table.code-difftable .code pre{ | |
4791 | margin:0; |
|
4810 | margin:0; | |
4792 | padding:0; |
|
4811 | padding:0; | |
4793 | height: 17px; |
|
4812 | height: 17px; | |
4794 | line-height: 17px; |
|
4813 | line-height: 17px; | |
4795 | } |
|
4814 | } | |
4796 |
|
4815 | |||
4797 |
|
4816 | |||
4798 | .diffblock.margined.comm .line .code:hover{ |
|
4817 | .diffblock.margined.comm .line .code:hover{ | |
4799 | background-color:#FFFFCC !important; |
|
4818 | background-color:#FFFFCC !important; | |
4800 | cursor: pointer !important; |
|
4819 | cursor: pointer !important; | |
4801 | background-image:url("../images/icons/comment_add.png") !important; |
|
4820 | background-image:url("../images/icons/comment_add.png") !important; | |
4802 | background-repeat:no-repeat !important; |
|
4821 | background-repeat:no-repeat !important; | |
4803 | background-position: right !important; |
|
4822 | background-position: right !important; | |
4804 | background-position: 0% 50% !important; |
|
4823 | background-position: 0% 50% !important; | |
4805 | } |
|
4824 | } | |
4806 | .diffblock.margined.comm .line .code.no-comment:hover{ |
|
4825 | .diffblock.margined.comm .line .code.no-comment:hover{ | |
4807 | background-image: none !important; |
|
4826 | background-image: none !important; | |
4808 | cursor: auto !important; |
|
4827 | cursor: auto !important; | |
4809 | background-color: inherit !important; |
|
4828 | background-color: inherit !important; | |
4810 |
|
4829 | |||
4811 | } |
|
4830 | } |
@@ -1,1948 +1,1949 | |||||
1 | /** |
|
1 | /** | |
2 | RhodeCode JS Files |
|
2 | RhodeCode JS Files | |
3 | **/ |
|
3 | **/ | |
4 |
|
4 | |||
5 | if (typeof console == "undefined" || typeof console.log == "undefined"){ |
|
5 | if (typeof console == "undefined" || typeof console.log == "undefined"){ | |
6 | console = { log: function() {} } |
|
6 | console = { log: function() {} } | |
7 | } |
|
7 | } | |
8 |
|
8 | |||
9 |
|
9 | |||
10 | var str_repeat = function(i, m) { |
|
10 | var str_repeat = function(i, m) { | |
11 | for (var o = []; m > 0; o[--m] = i); |
|
11 | for (var o = []; m > 0; o[--m] = i); | |
12 | return o.join(''); |
|
12 | return o.join(''); | |
13 | }; |
|
13 | }; | |
14 |
|
14 | |||
15 | /** |
|
15 | /** | |
16 | * INJECT .format function into String |
|
16 | * INJECT .format function into String | |
17 | * Usage: "My name is {0} {1}".format("Johny","Bravo") |
|
17 | * Usage: "My name is {0} {1}".format("Johny","Bravo") | |
18 | * Return "My name is Johny Bravo" |
|
18 | * Return "My name is Johny Bravo" | |
19 | * Inspired by https://gist.github.com/1049426 |
|
19 | * Inspired by https://gist.github.com/1049426 | |
20 | */ |
|
20 | */ | |
21 | String.prototype.format = function() { |
|
21 | String.prototype.format = function() { | |
22 |
|
22 | |||
23 | function format() { |
|
23 | function format() { | |
24 | var str = this; |
|
24 | var str = this; | |
25 | var len = arguments.length+1; |
|
25 | var len = arguments.length+1; | |
26 | var safe = undefined; |
|
26 | var safe = undefined; | |
27 | var arg = undefined; |
|
27 | var arg = undefined; | |
28 |
|
28 | |||
29 | // For each {0} {1} {n...} replace with the argument in that position. If |
|
29 | // For each {0} {1} {n...} replace with the argument in that position. If | |
30 | // the argument is an object or an array it will be stringified to JSON. |
|
30 | // the argument is an object or an array it will be stringified to JSON. | |
31 | for (var i=0; i < len; arg = arguments[i++]) { |
|
31 | for (var i=0; i < len; arg = arguments[i++]) { | |
32 | safe = typeof arg === 'object' ? JSON.stringify(arg) : arg; |
|
32 | safe = typeof arg === 'object' ? JSON.stringify(arg) : arg; | |
33 | str = str.replace(RegExp('\\{'+(i-1)+'\\}', 'g'), safe); |
|
33 | str = str.replace(RegExp('\\{'+(i-1)+'\\}', 'g'), safe); | |
34 | } |
|
34 | } | |
35 | return str; |
|
35 | return str; | |
36 | } |
|
36 | } | |
37 |
|
37 | |||
38 | // Save a reference of what may already exist under the property native. |
|
38 | // Save a reference of what may already exist under the property native. | |
39 | // Allows for doing something like: if("".format.native) { /* use native */ } |
|
39 | // Allows for doing something like: if("".format.native) { /* use native */ } | |
40 | format.native = String.prototype.format; |
|
40 | format.native = String.prototype.format; | |
41 |
|
41 | |||
42 | // Replace the prototype property |
|
42 | // Replace the prototype property | |
43 | return format; |
|
43 | return format; | |
44 |
|
44 | |||
45 | }(); |
|
45 | }(); | |
46 |
|
46 | |||
47 | String.prototype.strip = function(char) { |
|
47 | String.prototype.strip = function(char) { | |
48 | if(char === undefined){ |
|
48 | if(char === undefined){ | |
49 | char = '\\s'; |
|
49 | char = '\\s'; | |
50 | } |
|
50 | } | |
51 | return this.replace(new RegExp('^'+char+'+|'+char+'+$','g'), ''); |
|
51 | return this.replace(new RegExp('^'+char+'+|'+char+'+$','g'), ''); | |
52 | } |
|
52 | } | |
53 | String.prototype.lstrip = function(char) { |
|
53 | String.prototype.lstrip = function(char) { | |
54 | if(char === undefined){ |
|
54 | if(char === undefined){ | |
55 | char = '\\s'; |
|
55 | char = '\\s'; | |
56 | } |
|
56 | } | |
57 | return this.replace(new RegExp('^'+char+'+'),''); |
|
57 | return this.replace(new RegExp('^'+char+'+'),''); | |
58 | } |
|
58 | } | |
59 | String.prototype.rstrip = function(char) { |
|
59 | String.prototype.rstrip = function(char) { | |
60 | if(char === undefined){ |
|
60 | if(char === undefined){ | |
61 | char = '\\s'; |
|
61 | char = '\\s'; | |
62 | } |
|
62 | } | |
63 | return this.replace(new RegExp(''+char+'+$'),''); |
|
63 | return this.replace(new RegExp(''+char+'+$'),''); | |
64 | } |
|
64 | } | |
65 |
|
65 | |||
66 |
|
66 | |||
67 | if(!Array.prototype.indexOf) { |
|
67 | if(!Array.prototype.indexOf) { | |
68 | Array.prototype.indexOf = function(needle) { |
|
68 | Array.prototype.indexOf = function(needle) { | |
69 | for(var i = 0; i < this.length; i++) { |
|
69 | for(var i = 0; i < this.length; i++) { | |
70 | if(this[i] === needle) { |
|
70 | if(this[i] === needle) { | |
71 | return i; |
|
71 | return i; | |
72 | } |
|
72 | } | |
73 | } |
|
73 | } | |
74 | return -1; |
|
74 | return -1; | |
75 | }; |
|
75 | }; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | // IE(CRAP) doesn't support previousElementSibling |
|
78 | // IE(CRAP) doesn't support previousElementSibling | |
79 | var prevElementSibling = function( el ) { |
|
79 | var prevElementSibling = function( el ) { | |
80 | if( el.previousElementSibling ) { |
|
80 | if( el.previousElementSibling ) { | |
81 | return el.previousElementSibling; |
|
81 | return el.previousElementSibling; | |
82 | } else { |
|
82 | } else { | |
83 | while( el = el.previousSibling ) { |
|
83 | while( el = el.previousSibling ) { | |
84 | if( el.nodeType === 1 ) return el; |
|
84 | if( el.nodeType === 1 ) return el; | |
85 | } |
|
85 | } | |
86 | } |
|
86 | } | |
87 | } |
|
87 | } | |
88 |
|
88 | |||
89 | var setSelectValue = function(select, val){ |
|
89 | var setSelectValue = function(select, val){ | |
90 | var selection = YUD.get(select); |
|
90 | var selection = YUD.get(select); | |
91 |
|
91 | |||
92 | // select element |
|
92 | // select element | |
93 | for(var i=0;i<selection.options.length;i++){ |
|
93 | for(var i=0;i<selection.options.length;i++){ | |
94 | if (selection.options[i].innerHTML == val) { |
|
94 | if (selection.options[i].innerHTML == val) { | |
95 | selection.selectedIndex = i; |
|
95 | selection.selectedIndex = i; | |
96 | break; |
|
96 | break; | |
97 | } |
|
97 | } | |
98 | } |
|
98 | } | |
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 |
|
101 | |||
102 | /** |
|
102 | /** | |
103 | * SmartColorGenerator |
|
103 | * SmartColorGenerator | |
104 | * |
|
104 | * | |
105 | *usage:: |
|
105 | *usage:: | |
106 | * var CG = new ColorGenerator(); |
|
106 | * var CG = new ColorGenerator(); | |
107 | * var col = CG.getColor(key); //returns array of RGB |
|
107 | * var col = CG.getColor(key); //returns array of RGB | |
108 | * 'rgb({0})'.format(col.join(',') |
|
108 | * 'rgb({0})'.format(col.join(',') | |
109 | * |
|
109 | * | |
110 | * @returns {ColorGenerator} |
|
110 | * @returns {ColorGenerator} | |
111 | */ |
|
111 | */ | |
112 | var ColorGenerator = function(){ |
|
112 | var ColorGenerator = function(){ | |
113 | this.GOLDEN_RATIO = 0.618033988749895; |
|
113 | this.GOLDEN_RATIO = 0.618033988749895; | |
114 | this.CURRENT_RATIO = 0.22717784590367374 // this can be random |
|
114 | this.CURRENT_RATIO = 0.22717784590367374 // this can be random | |
115 | this.HSV_1 = 0.75;//saturation |
|
115 | this.HSV_1 = 0.75;//saturation | |
116 | this.HSV_2 = 0.95; |
|
116 | this.HSV_2 = 0.95; | |
117 | this.color; |
|
117 | this.color; | |
118 | this.cacheColorMap = {}; |
|
118 | this.cacheColorMap = {}; | |
119 | }; |
|
119 | }; | |
120 |
|
120 | |||
121 | ColorGenerator.prototype = { |
|
121 | ColorGenerator.prototype = { | |
122 | getColor:function(key){ |
|
122 | getColor:function(key){ | |
123 | if(this.cacheColorMap[key] !== undefined){ |
|
123 | if(this.cacheColorMap[key] !== undefined){ | |
124 | return this.cacheColorMap[key]; |
|
124 | return this.cacheColorMap[key]; | |
125 | } |
|
125 | } | |
126 | else{ |
|
126 | else{ | |
127 | this.cacheColorMap[key] = this.generateColor(); |
|
127 | this.cacheColorMap[key] = this.generateColor(); | |
128 | return this.cacheColorMap[key]; |
|
128 | return this.cacheColorMap[key]; | |
129 | } |
|
129 | } | |
130 | }, |
|
130 | }, | |
131 | _hsvToRgb:function(h,s,v){ |
|
131 | _hsvToRgb:function(h,s,v){ | |
132 | if (s == 0.0) |
|
132 | if (s == 0.0) | |
133 | return [v, v, v]; |
|
133 | return [v, v, v]; | |
134 | i = parseInt(h * 6.0) |
|
134 | i = parseInt(h * 6.0) | |
135 | f = (h * 6.0) - i |
|
135 | f = (h * 6.0) - i | |
136 | p = v * (1.0 - s) |
|
136 | p = v * (1.0 - s) | |
137 | q = v * (1.0 - s * f) |
|
137 | q = v * (1.0 - s * f) | |
138 | t = v * (1.0 - s * (1.0 - f)) |
|
138 | t = v * (1.0 - s * (1.0 - f)) | |
139 | i = i % 6 |
|
139 | i = i % 6 | |
140 | if (i == 0) |
|
140 | if (i == 0) | |
141 | return [v, t, p] |
|
141 | return [v, t, p] | |
142 | if (i == 1) |
|
142 | if (i == 1) | |
143 | return [q, v, p] |
|
143 | return [q, v, p] | |
144 | if (i == 2) |
|
144 | if (i == 2) | |
145 | return [p, v, t] |
|
145 | return [p, v, t] | |
146 | if (i == 3) |
|
146 | if (i == 3) | |
147 | return [p, q, v] |
|
147 | return [p, q, v] | |
148 | if (i == 4) |
|
148 | if (i == 4) | |
149 | return [t, p, v] |
|
149 | return [t, p, v] | |
150 | if (i == 5) |
|
150 | if (i == 5) | |
151 | return [v, p, q] |
|
151 | return [v, p, q] | |
152 | }, |
|
152 | }, | |
153 | generateColor:function(){ |
|
153 | generateColor:function(){ | |
154 | this.CURRENT_RATIO = this.CURRENT_RATIO+this.GOLDEN_RATIO; |
|
154 | this.CURRENT_RATIO = this.CURRENT_RATIO+this.GOLDEN_RATIO; | |
155 | this.CURRENT_RATIO = this.CURRENT_RATIO %= 1; |
|
155 | this.CURRENT_RATIO = this.CURRENT_RATIO %= 1; | |
156 | HSV_tuple = [this.CURRENT_RATIO, this.HSV_1, this.HSV_2] |
|
156 | HSV_tuple = [this.CURRENT_RATIO, this.HSV_1, this.HSV_2] | |
157 | RGB_tuple = this._hsvToRgb(HSV_tuple[0],HSV_tuple[1],HSV_tuple[2]); |
|
157 | RGB_tuple = this._hsvToRgb(HSV_tuple[0],HSV_tuple[1],HSV_tuple[2]); | |
158 | function toRgb(v){ |
|
158 | function toRgb(v){ | |
159 | return ""+parseInt(v*256) |
|
159 | return ""+parseInt(v*256) | |
160 | } |
|
160 | } | |
161 | return [toRgb(RGB_tuple[0]),toRgb(RGB_tuple[1]),toRgb(RGB_tuple[2])]; |
|
161 | return [toRgb(RGB_tuple[0]),toRgb(RGB_tuple[1]),toRgb(RGB_tuple[2])]; | |
162 |
|
162 | |||
163 | } |
|
163 | } | |
164 | } |
|
164 | } | |
165 |
|
165 | |||
166 |
|
166 | |||
167 |
|
167 | |||
168 |
|
168 | |||
169 |
|
169 | |||
170 | /** |
|
170 | /** | |
171 | * GLOBAL YUI Shortcuts |
|
171 | * GLOBAL YUI Shortcuts | |
172 | */ |
|
172 | */ | |
173 | var YUC = YAHOO.util.Connect; |
|
173 | var YUC = YAHOO.util.Connect; | |
174 | var YUD = YAHOO.util.Dom; |
|
174 | var YUD = YAHOO.util.Dom; | |
175 | var YUE = YAHOO.util.Event; |
|
175 | var YUE = YAHOO.util.Event; | |
176 | var YUQ = YAHOO.util.Selector.query; |
|
176 | var YUQ = YAHOO.util.Selector.query; | |
177 |
|
177 | |||
178 | // defines if push state is enabled for this browser ? |
|
178 | // defines if push state is enabled for this browser ? | |
179 | var push_state_enabled = Boolean( |
|
179 | var push_state_enabled = Boolean( | |
180 | window.history && window.history.pushState && window.history.replaceState |
|
180 | window.history && window.history.pushState && window.history.replaceState | |
181 | && !( /* disable for versions of iOS before version 4.3 (8F190) */ |
|
181 | && !( /* disable for versions of iOS before version 4.3 (8F190) */ | |
182 | (/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i).test(navigator.userAgent) |
|
182 | (/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i).test(navigator.userAgent) | |
183 | /* disable for the mercury iOS browser, or at least older versions of the webkit engine */ |
|
183 | /* disable for the mercury iOS browser, or at least older versions of the webkit engine */ | |
184 | || (/AppleWebKit\/5([0-2]|3[0-2])/i).test(navigator.userAgent) |
|
184 | || (/AppleWebKit\/5([0-2]|3[0-2])/i).test(navigator.userAgent) | |
185 | ) |
|
185 | ) | |
186 | ); |
|
186 | ); | |
187 |
|
187 | |||
188 | var _run_callbacks = function(callbacks){ |
|
188 | var _run_callbacks = function(callbacks){ | |
189 | if (callbacks !== undefined){ |
|
189 | if (callbacks !== undefined){ | |
190 | var _l = callbacks.length; |
|
190 | var _l = callbacks.length; | |
191 | for (var i=0;i<_l;i++){ |
|
191 | for (var i=0;i<_l;i++){ | |
192 | var func = callbacks[i]; |
|
192 | var func = callbacks[i]; | |
193 | if(typeof(func)=='function'){ |
|
193 | if(typeof(func)=='function'){ | |
194 | try{ |
|
194 | try{ | |
195 | func(); |
|
195 | func(); | |
196 | }catch (err){}; |
|
196 | }catch (err){}; | |
197 | } |
|
197 | } | |
198 | } |
|
198 | } | |
199 | } |
|
199 | } | |
200 | } |
|
200 | } | |
201 |
|
201 | |||
202 | /** |
|
202 | /** | |
203 | * Partial Ajax Implementation |
|
203 | * Partial Ajax Implementation | |
204 | * |
|
204 | * | |
205 | * @param url: defines url to make partial request |
|
205 | * @param url: defines url to make partial request | |
206 | * @param container: defines id of container to input partial result |
|
206 | * @param container: defines id of container to input partial result | |
207 | * @param s_call: success callback function that takes o as arg |
|
207 | * @param s_call: success callback function that takes o as arg | |
208 | * o.tId |
|
208 | * o.tId | |
209 | * o.status |
|
209 | * o.status | |
210 | * o.statusText |
|
210 | * o.statusText | |
211 | * o.getResponseHeader[ ] |
|
211 | * o.getResponseHeader[ ] | |
212 | * o.getAllResponseHeaders |
|
212 | * o.getAllResponseHeaders | |
213 | * o.responseText |
|
213 | * o.responseText | |
214 | * o.responseXML |
|
214 | * o.responseXML | |
215 | * o.argument |
|
215 | * o.argument | |
216 | * @param f_call: failure callback |
|
216 | * @param f_call: failure callback | |
217 | * @param args arguments |
|
217 | * @param args arguments | |
218 | */ |
|
218 | */ | |
219 | function ypjax(url,container,s_call,f_call,args){ |
|
219 | function ypjax(url,container,s_call,f_call,args){ | |
220 | var method='GET'; |
|
220 | var method='GET'; | |
221 | if(args===undefined){ |
|
221 | if(args===undefined){ | |
222 | args=null; |
|
222 | args=null; | |
223 | } |
|
223 | } | |
224 |
|
224 | |||
225 | // Set special header for partial ajax == HTTP_X_PARTIAL_XHR |
|
225 | // Set special header for partial ajax == HTTP_X_PARTIAL_XHR | |
226 | YUC.initHeader('X-PARTIAL-XHR',true); |
|
226 | YUC.initHeader('X-PARTIAL-XHR',true); | |
227 |
|
227 | |||
228 | // wrapper of passed callback |
|
228 | // wrapper of passed callback | |
229 | var s_wrapper = (function(o){ |
|
229 | var s_wrapper = (function(o){ | |
230 | return function(o){ |
|
230 | return function(o){ | |
231 | YUD.get(container).innerHTML=o.responseText; |
|
231 | YUD.get(container).innerHTML=o.responseText; | |
232 | YUD.setStyle(container,'opacity','1.0'); |
|
232 | YUD.setStyle(container,'opacity','1.0'); | |
233 | //execute the given original callback |
|
233 | //execute the given original callback | |
234 | if (s_call !== undefined){ |
|
234 | if (s_call !== undefined){ | |
235 | s_call(o); |
|
235 | s_call(o); | |
236 | } |
|
236 | } | |
237 | } |
|
237 | } | |
238 | })() |
|
238 | })() | |
239 | YUD.setStyle(container,'opacity','0.3'); |
|
239 | YUD.setStyle(container,'opacity','0.3'); | |
240 | YUC.asyncRequest(method,url,{ |
|
240 | YUC.asyncRequest(method,url,{ | |
241 | success:s_wrapper, |
|
241 | success:s_wrapper, | |
242 | failure:function(o){ |
|
242 | failure:function(o){ | |
243 | console.log(o); |
|
243 | console.log(o); | |
244 | YUD.get(container).innerHTML='<span class="error_red">ERROR: {0}</span>'.format(o.status); |
|
244 | YUD.get(container).innerHTML='<span class="error_red">ERROR: {0}</span>'.format(o.status); | |
245 | YUD.setStyle(container,'opacity','1.0'); |
|
245 | YUD.setStyle(container,'opacity','1.0'); | |
246 | }, |
|
246 | }, | |
247 | cache:false |
|
247 | cache:false | |
248 | },args); |
|
248 | },args); | |
249 |
|
249 | |||
250 | }; |
|
250 | }; | |
251 |
|
251 | |||
252 | var ajaxGET = function(url,success) { |
|
252 | var ajaxGET = function(url,success) { | |
253 | // Set special header for ajax == HTTP_X_PARTIAL_XHR |
|
253 | // Set special header for ajax == HTTP_X_PARTIAL_XHR | |
254 | YUC.initHeader('X-PARTIAL-XHR',true); |
|
254 | YUC.initHeader('X-PARTIAL-XHR',true); | |
255 |
|
255 | |||
256 | var sUrl = url; |
|
256 | var sUrl = url; | |
257 | var callback = { |
|
257 | var callback = { | |
258 | success: success, |
|
258 | success: success, | |
259 | failure: function (o) { |
|
259 | failure: function (o) { | |
260 | alert("error"); |
|
260 | alert("error"); | |
261 | }, |
|
261 | }, | |
262 | }; |
|
262 | }; | |
263 |
|
263 | |||
264 | var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback); |
|
264 | var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback); | |
265 | return request; |
|
265 | return request; | |
266 | }; |
|
266 | }; | |
267 |
|
267 | |||
268 |
|
268 | |||
269 |
|
269 | |||
270 | var ajaxPOST = function(url,postData,success) { |
|
270 | var ajaxPOST = function(url,postData,success) { | |
271 | // Set special header for ajax == HTTP_X_PARTIAL_XHR |
|
271 | // Set special header for ajax == HTTP_X_PARTIAL_XHR | |
272 | YUC.initHeader('X-PARTIAL-XHR',true); |
|
272 | YUC.initHeader('X-PARTIAL-XHR',true); | |
273 |
|
273 | |||
274 | var toQueryString = function(o) { |
|
274 | var toQueryString = function(o) { | |
275 | if(typeof o !== 'object') { |
|
275 | if(typeof o !== 'object') { | |
276 | return false; |
|
276 | return false; | |
277 | } |
|
277 | } | |
278 | var _p, _qs = []; |
|
278 | var _p, _qs = []; | |
279 | for(_p in o) { |
|
279 | for(_p in o) { | |
280 | _qs.push(encodeURIComponent(_p) + '=' + encodeURIComponent(o[_p])); |
|
280 | _qs.push(encodeURIComponent(_p) + '=' + encodeURIComponent(o[_p])); | |
281 | } |
|
281 | } | |
282 | return _qs.join('&'); |
|
282 | return _qs.join('&'); | |
283 | }; |
|
283 | }; | |
284 |
|
284 | |||
285 | var sUrl = url; |
|
285 | var sUrl = url; | |
286 | var callback = { |
|
286 | var callback = { | |
287 | success: success, |
|
287 | success: success, | |
288 | failure: function (o) { |
|
288 | failure: function (o) { | |
289 | alert("error"); |
|
289 | alert("error"); | |
290 | }, |
|
290 | }, | |
291 | }; |
|
291 | }; | |
292 | var postData = toQueryString(postData); |
|
292 | var postData = toQueryString(postData); | |
293 | var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData); |
|
293 | var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData); | |
294 | return request; |
|
294 | return request; | |
295 | }; |
|
295 | }; | |
296 |
|
296 | |||
297 |
|
297 | |||
298 | /** |
|
298 | /** | |
299 | * tooltip activate |
|
299 | * tooltip activate | |
300 | */ |
|
300 | */ | |
301 | var tooltip_activate = function(){ |
|
301 | var tooltip_activate = function(){ | |
302 | yt = YAHOO.yuitip.main; |
|
302 | yt = YAHOO.yuitip.main; | |
303 | YUE.onDOMReady(yt.init); |
|
303 | YUE.onDOMReady(yt.init); | |
304 | }; |
|
304 | }; | |
305 |
|
305 | |||
306 | /** |
|
306 | /** | |
307 | * show more |
|
307 | * show more | |
308 | */ |
|
308 | */ | |
309 | var show_more_event = function(){ |
|
309 | var show_more_event = function(){ | |
310 | YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){ |
|
310 | YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){ | |
311 | var el = e.target; |
|
311 | var el = e.target; | |
312 | YUD.setStyle(YUD.get(el.id.substring(1)),'display',''); |
|
312 | YUD.setStyle(YUD.get(el.id.substring(1)),'display',''); | |
313 | YUD.setStyle(el.parentNode,'display','none'); |
|
313 | YUD.setStyle(el.parentNode,'display','none'); | |
314 | }); |
|
314 | }); | |
315 | }; |
|
315 | }; | |
316 |
|
316 | |||
317 | /** |
|
317 | /** | |
318 | * show changeset tooltip |
|
318 | * show changeset tooltip | |
319 | */ |
|
319 | */ | |
320 | var show_changeset_tooltip = function(){ |
|
320 | var show_changeset_tooltip = function(){ | |
321 | YUE.on(YUD.getElementsByClassName('lazy-cs'), 'mouseover', function(e){ |
|
321 | YUE.on(YUD.getElementsByClassName('lazy-cs'), 'mouseover', function(e){ | |
322 | var target = e.currentTarget; |
|
322 | var target = e.currentTarget; | |
323 | var rid = YUD.getAttribute(target,'raw_id'); |
|
323 | var rid = YUD.getAttribute(target,'raw_id'); | |
324 | var repo_name = YUD.getAttribute(target,'repo_name'); |
|
324 | var repo_name = YUD.getAttribute(target,'repo_name'); | |
325 | var ttid = 'tt-'+rid; |
|
325 | var ttid = 'tt-'+rid; | |
326 | var success = function(o){ |
|
326 | var success = function(o){ | |
327 | var json = JSON.parse(o.responseText); |
|
327 | var json = JSON.parse(o.responseText); | |
328 | YUD.addClass(target,'tooltip') |
|
328 | YUD.addClass(target,'tooltip') | |
329 | YUD.setAttribute(target, 'title',json['message']); |
|
329 | YUD.setAttribute(target, 'title',json['message']); | |
330 | YAHOO.yuitip.main.show_yuitip(e, target); |
|
330 | YAHOO.yuitip.main.show_yuitip(e, target); | |
331 | } |
|
331 | } | |
332 | if(rid && !YUD.hasClass(target, 'tooltip')){ |
|
332 | if(rid && !YUD.hasClass(target, 'tooltip')){ | |
333 | YUD.setAttribute(target,'id',ttid); |
|
333 | YUD.setAttribute(target,'id',ttid); | |
334 | YUD.setAttribute(target, 'title',_TM['loading...']); |
|
334 | YUD.setAttribute(target, 'title',_TM['loading...']); | |
335 | YAHOO.yuitip.main.set_listeners(target); |
|
335 | YAHOO.yuitip.main.set_listeners(target); | |
336 | YAHOO.yuitip.main.show_yuitip(e, target); |
|
336 | YAHOO.yuitip.main.show_yuitip(e, target); | |
337 | ajaxGET('/changeset_info/{0}/{1}'.format(repo_name,rid), success) |
|
337 | ajaxGET('/changeset_info/{0}/{1}'.format(repo_name,rid), success) | |
338 | } |
|
338 | } | |
339 | }); |
|
339 | }); | |
340 | }; |
|
340 | }; | |
341 |
|
341 | |||
342 | var onSuccessFollow = function(target){ |
|
342 | var onSuccessFollow = function(target){ | |
343 | var f = YUD.get(target.id); |
|
343 | var f = YUD.get(target.id); | |
344 | var f_cnt = YUD.get('current_followers_count'); |
|
344 | var f_cnt = YUD.get('current_followers_count'); | |
345 |
|
345 | |||
346 | if(YUD.hasClass(f, 'follow')){ |
|
346 | if(YUD.hasClass(f, 'follow')){ | |
347 | f.setAttribute('class','following'); |
|
347 | f.setAttribute('class','following'); | |
348 | f.setAttribute('title',_TM['Stop following this repository']); |
|
348 | f.setAttribute('title',_TM['Stop following this repository']); | |
349 |
|
349 | |||
350 | if(f_cnt){ |
|
350 | if(f_cnt){ | |
351 | var cnt = Number(f_cnt.innerHTML)+1; |
|
351 | var cnt = Number(f_cnt.innerHTML)+1; | |
352 | f_cnt.innerHTML = cnt; |
|
352 | f_cnt.innerHTML = cnt; | |
353 | } |
|
353 | } | |
354 | } |
|
354 | } | |
355 | else{ |
|
355 | else{ | |
356 | f.setAttribute('class','follow'); |
|
356 | f.setAttribute('class','follow'); | |
357 | f.setAttribute('title',_TM['Start following this repository']); |
|
357 | f.setAttribute('title',_TM['Start following this repository']); | |
358 | if(f_cnt){ |
|
358 | if(f_cnt){ | |
359 | var cnt = Number(f_cnt.innerHTML)-1; |
|
359 | var cnt = Number(f_cnt.innerHTML)-1; | |
360 | f_cnt.innerHTML = cnt; |
|
360 | f_cnt.innerHTML = cnt; | |
361 | } |
|
361 | } | |
362 | } |
|
362 | } | |
363 | } |
|
363 | } | |
364 |
|
364 | |||
365 | var toggleFollowingUser = function(target,fallows_user_id,token,user_id){ |
|
365 | var toggleFollowingUser = function(target,fallows_user_id,token,user_id){ | |
366 | args = 'follows_user_id='+fallows_user_id; |
|
366 | args = 'follows_user_id='+fallows_user_id; | |
367 | args+= '&auth_token='+token; |
|
367 | args+= '&auth_token='+token; | |
368 | if(user_id != undefined){ |
|
368 | if(user_id != undefined){ | |
369 | args+="&user_id="+user_id; |
|
369 | args+="&user_id="+user_id; | |
370 | } |
|
370 | } | |
371 | YUC.asyncRequest('POST',TOGGLE_FOLLOW_URL,{ |
|
371 | YUC.asyncRequest('POST',TOGGLE_FOLLOW_URL,{ | |
372 | success:function(o){ |
|
372 | success:function(o){ | |
373 | onSuccessFollow(target); |
|
373 | onSuccessFollow(target); | |
374 | } |
|
374 | } | |
375 | },args); |
|
375 | },args); | |
376 | return false; |
|
376 | return false; | |
377 | } |
|
377 | } | |
378 |
|
378 | |||
379 | var toggleFollowingRepo = function(target,fallows_repo_id,token,user_id){ |
|
379 | var toggleFollowingRepo = function(target,fallows_repo_id,token,user_id){ | |
380 |
|
380 | |||
381 | args = 'follows_repo_id='+fallows_repo_id; |
|
381 | args = 'follows_repo_id='+fallows_repo_id; | |
382 | args+= '&auth_token='+token; |
|
382 | args+= '&auth_token='+token; | |
383 | if(user_id != undefined){ |
|
383 | if(user_id != undefined){ | |
384 | args+="&user_id="+user_id; |
|
384 | args+="&user_id="+user_id; | |
385 | } |
|
385 | } | |
386 | YUC.asyncRequest('POST',TOGGLE_FOLLOW_URL,{ |
|
386 | YUC.asyncRequest('POST',TOGGLE_FOLLOW_URL,{ | |
387 | success:function(o){ |
|
387 | success:function(o){ | |
388 | onSuccessFollow(target); |
|
388 | onSuccessFollow(target); | |
389 | } |
|
389 | } | |
390 | },args); |
|
390 | },args); | |
391 | return false; |
|
391 | return false; | |
392 | } |
|
392 | } | |
393 |
|
393 | |||
394 |
|
394 | |||
395 | /** |
|
395 | /** | |
396 | * TOOLTIP IMPL. |
|
396 | * TOOLTIP IMPL. | |
397 | */ |
|
397 | */ | |
398 | YAHOO.namespace('yuitip'); |
|
398 | YAHOO.namespace('yuitip'); | |
399 | YAHOO.yuitip.main = { |
|
399 | YAHOO.yuitip.main = { | |
400 |
|
400 | |||
401 | $: YAHOO.util.Dom.get, |
|
401 | $: YAHOO.util.Dom.get, | |
402 |
|
402 | |||
403 | bgColor: '#000', |
|
403 | bgColor: '#000', | |
404 | speed: 0.3, |
|
404 | speed: 0.3, | |
405 | opacity: 0.9, |
|
405 | opacity: 0.9, | |
406 | offset: [15,15], |
|
406 | offset: [15,15], | |
407 | useAnim: false, |
|
407 | useAnim: false, | |
408 | maxWidth: 600, |
|
408 | maxWidth: 600, | |
409 | add_links: false, |
|
409 | add_links: false, | |
410 | yuitips: [], |
|
410 | yuitips: [], | |
411 |
|
411 | |||
412 | set_listeners: function(tt){ |
|
412 | set_listeners: function(tt){ | |
413 | YUE.on(tt, 'mouseover', yt.show_yuitip, tt); |
|
413 | YUE.on(tt, 'mouseover', yt.show_yuitip, tt); | |
414 | YUE.on(tt, 'mousemove', yt.move_yuitip, tt); |
|
414 | YUE.on(tt, 'mousemove', yt.move_yuitip, tt); | |
415 | YUE.on(tt, 'mouseout', yt.close_yuitip, tt); |
|
415 | YUE.on(tt, 'mouseout', yt.close_yuitip, tt); | |
416 | }, |
|
416 | }, | |
417 |
|
417 | |||
418 | init: function(){ |
|
418 | init: function(){ | |
419 | yt._tooltip = ''; |
|
419 | yt._tooltip = ''; | |
420 | yt.tipBox = yt.$('tip-box'); |
|
420 | yt.tipBox = yt.$('tip-box'); | |
421 | if(!yt.tipBox){ |
|
421 | if(!yt.tipBox){ | |
422 | yt.tipBox = document.createElement('div'); |
|
422 | yt.tipBox = document.createElement('div'); | |
423 | document.body.appendChild(yt.tipBox); |
|
423 | document.body.appendChild(yt.tipBox); | |
424 | yt.tipBox.id = 'tip-box'; |
|
424 | yt.tipBox.id = 'tip-box'; | |
425 | } |
|
425 | } | |
426 |
|
426 | |||
427 | YUD.setStyle(yt.tipBox, 'display', 'none'); |
|
427 | YUD.setStyle(yt.tipBox, 'display', 'none'); | |
428 | YUD.setStyle(yt.tipBox, 'position', 'absolute'); |
|
428 | YUD.setStyle(yt.tipBox, 'position', 'absolute'); | |
429 | if(yt.maxWidth !== null){ |
|
429 | if(yt.maxWidth !== null){ | |
430 | YUD.setStyle(yt.tipBox, 'max-width', yt.maxWidth+'px'); |
|
430 | YUD.setStyle(yt.tipBox, 'max-width', yt.maxWidth+'px'); | |
431 | } |
|
431 | } | |
432 |
|
432 | |||
433 | var yuitips = YUD.getElementsByClassName('tooltip'); |
|
433 | var yuitips = YUD.getElementsByClassName('tooltip'); | |
434 |
|
434 | |||
435 | if(yt.add_links === true){ |
|
435 | if(yt.add_links === true){ | |
436 | var links = document.getElementsByTagName('a'); |
|
436 | var links = document.getElementsByTagName('a'); | |
437 | var linkLen = links.length; |
|
437 | var linkLen = links.length; | |
438 | for(i=0;i<linkLen;i++){ |
|
438 | for(i=0;i<linkLen;i++){ | |
439 | yuitips.push(links[i]); |
|
439 | yuitips.push(links[i]); | |
440 | } |
|
440 | } | |
441 | } |
|
441 | } | |
442 |
|
442 | |||
443 | var yuiLen = yuitips.length; |
|
443 | var yuiLen = yuitips.length; | |
444 |
|
444 | |||
445 | for(i=0;i<yuiLen;i++){ |
|
445 | for(i=0;i<yuiLen;i++){ | |
446 | yt.set_listeners(yuitips[i]); |
|
446 | yt.set_listeners(yuitips[i]); | |
447 | } |
|
447 | } | |
448 | }, |
|
448 | }, | |
449 |
|
449 | |||
450 | show_yuitip: function(e, el){ |
|
450 | show_yuitip: function(e, el){ | |
451 | YUE.stopEvent(e); |
|
451 | YUE.stopEvent(e); | |
452 | if(el.tagName.toLowerCase() === 'img'){ |
|
452 | if(el.tagName.toLowerCase() === 'img'){ | |
453 | yt.tipText = el.alt ? el.alt : ''; |
|
453 | yt.tipText = el.alt ? el.alt : ''; | |
454 | } else { |
|
454 | } else { | |
455 | yt.tipText = el.title ? el.title : ''; |
|
455 | yt.tipText = el.title ? el.title : ''; | |
456 | } |
|
456 | } | |
457 |
|
457 | |||
458 | if(yt.tipText !== ''){ |
|
458 | if(yt.tipText !== ''){ | |
459 | // save org title |
|
459 | // save org title | |
460 | yt._tooltip = yt.tipText; |
|
460 | yt._tooltip = yt.tipText; | |
461 | // reset title to not show org tooltips |
|
461 | // reset title to not show org tooltips | |
462 | YUD.setAttribute(el, 'title', ''); |
|
462 | YUD.setAttribute(el, 'title', ''); | |
463 |
|
463 | |||
464 | yt.tipBox.innerHTML = yt.tipText; |
|
464 | yt.tipBox.innerHTML = yt.tipText; | |
465 | YUD.setStyle(yt.tipBox, 'display', 'block'); |
|
465 | YUD.setStyle(yt.tipBox, 'display', 'block'); | |
466 | if(yt.useAnim === true){ |
|
466 | if(yt.useAnim === true){ | |
467 | YUD.setStyle(yt.tipBox, 'opacity', '0'); |
|
467 | YUD.setStyle(yt.tipBox, 'opacity', '0'); | |
468 | var newAnim = new YAHOO.util.Anim(yt.tipBox, |
|
468 | var newAnim = new YAHOO.util.Anim(yt.tipBox, | |
469 | { |
|
469 | { | |
470 | opacity: { to: yt.opacity } |
|
470 | opacity: { to: yt.opacity } | |
471 | }, yt.speed, YAHOO.util.Easing.easeOut |
|
471 | }, yt.speed, YAHOO.util.Easing.easeOut | |
472 | ); |
|
472 | ); | |
473 | newAnim.animate(); |
|
473 | newAnim.animate(); | |
474 | } |
|
474 | } | |
475 | } |
|
475 | } | |
476 | }, |
|
476 | }, | |
477 |
|
477 | |||
478 | move_yuitip: function(e, el){ |
|
478 | move_yuitip: function(e, el){ | |
479 | YUE.stopEvent(e); |
|
479 | YUE.stopEvent(e); | |
480 | var movePos = YUE.getXY(e); |
|
480 | var movePos = YUE.getXY(e); | |
481 | YUD.setStyle(yt.tipBox, 'top', (movePos[1] + yt.offset[1]) + 'px'); |
|
481 | YUD.setStyle(yt.tipBox, 'top', (movePos[1] + yt.offset[1]) + 'px'); | |
482 | YUD.setStyle(yt.tipBox, 'left', (movePos[0] + yt.offset[0]) + 'px'); |
|
482 | YUD.setStyle(yt.tipBox, 'left', (movePos[0] + yt.offset[0]) + 'px'); | |
483 | }, |
|
483 | }, | |
484 |
|
484 | |||
485 | close_yuitip: function(e, el){ |
|
485 | close_yuitip: function(e, el){ | |
486 | YUE.stopEvent(e); |
|
486 | YUE.stopEvent(e); | |
487 |
|
487 | |||
488 | if(yt.useAnim === true){ |
|
488 | if(yt.useAnim === true){ | |
489 | var newAnim = new YAHOO.util.Anim(yt.tipBox, |
|
489 | var newAnim = new YAHOO.util.Anim(yt.tipBox, | |
490 | { |
|
490 | { | |
491 | opacity: { to: 0 } |
|
491 | opacity: { to: 0 } | |
492 | }, yt.speed, YAHOO.util.Easing.easeOut |
|
492 | }, yt.speed, YAHOO.util.Easing.easeOut | |
493 | ); |
|
493 | ); | |
494 | newAnim.animate(); |
|
494 | newAnim.animate(); | |
495 | } else { |
|
495 | } else { | |
496 | YUD.setStyle(yt.tipBox, 'display', 'none'); |
|
496 | YUD.setStyle(yt.tipBox, 'display', 'none'); | |
497 | } |
|
497 | } | |
498 | YUD.setAttribute(el,'title', yt._tooltip); |
|
498 | YUD.setAttribute(el,'title', yt._tooltip); | |
499 | } |
|
499 | } | |
500 | } |
|
500 | } | |
501 |
|
501 | |||
502 | /** |
|
502 | /** | |
503 | * Quick filter widget |
|
503 | * Quick filter widget | |
504 | * |
|
504 | * | |
505 | * @param target: filter input target |
|
505 | * @param target: filter input target | |
506 | * @param nodes: list of nodes in html we want to filter. |
|
506 | * @param nodes: list of nodes in html we want to filter. | |
507 | * @param display_element function that takes current node from nodes and |
|
507 | * @param display_element function that takes current node from nodes and | |
508 | * does hide or show based on the node |
|
508 | * does hide or show based on the node | |
509 | * |
|
509 | * | |
510 | */ |
|
510 | */ | |
511 | var q_filter = function(target,nodes,display_element){ |
|
511 | var q_filter = function(target,nodes,display_element){ | |
512 |
|
512 | |||
513 | var nodes = nodes; |
|
513 | var nodes = nodes; | |
514 | var q_filter_field = YUD.get(target); |
|
514 | var q_filter_field = YUD.get(target); | |
515 | var F = YAHOO.namespace(target); |
|
515 | var F = YAHOO.namespace(target); | |
516 |
|
516 | |||
517 | YUE.on(q_filter_field,'click',function(){ |
|
517 | YUE.on(q_filter_field,'click',function(){ | |
518 | q_filter_field.value = ''; |
|
518 | q_filter_field.value = ''; | |
519 | }); |
|
519 | }); | |
520 |
|
520 | |||
521 | YUE.on(q_filter_field,'keyup',function(e){ |
|
521 | YUE.on(q_filter_field,'keyup',function(e){ | |
522 | clearTimeout(F.filterTimeout); |
|
522 | clearTimeout(F.filterTimeout); | |
523 | F.filterTimeout = setTimeout(F.updateFilter,600); |
|
523 | F.filterTimeout = setTimeout(F.updateFilter,600); | |
524 | }); |
|
524 | }); | |
525 |
|
525 | |||
526 | F.filterTimeout = null; |
|
526 | F.filterTimeout = null; | |
527 |
|
527 | |||
528 | var show_node = function(node){ |
|
528 | var show_node = function(node){ | |
529 | YUD.setStyle(node,'display','') |
|
529 | YUD.setStyle(node,'display','') | |
530 | } |
|
530 | } | |
531 | var hide_node = function(node){ |
|
531 | var hide_node = function(node){ | |
532 | YUD.setStyle(node,'display','none'); |
|
532 | YUD.setStyle(node,'display','none'); | |
533 | } |
|
533 | } | |
534 |
|
534 | |||
535 | F.updateFilter = function() { |
|
535 | F.updateFilter = function() { | |
536 | // Reset timeout |
|
536 | // Reset timeout | |
537 | F.filterTimeout = null; |
|
537 | F.filterTimeout = null; | |
538 |
|
538 | |||
539 | var obsolete = []; |
|
539 | var obsolete = []; | |
540 |
|
540 | |||
541 | var req = q_filter_field.value.toLowerCase(); |
|
541 | var req = q_filter_field.value.toLowerCase(); | |
542 |
|
542 | |||
543 | var l = nodes.length; |
|
543 | var l = nodes.length; | |
544 | var i; |
|
544 | var i; | |
545 | var showing = 0; |
|
545 | var showing = 0; | |
546 |
|
546 | |||
547 | for (i=0;i<l;i++ ){ |
|
547 | for (i=0;i<l;i++ ){ | |
548 | var n = nodes[i]; |
|
548 | var n = nodes[i]; | |
549 | var target_element = display_element(n) |
|
549 | var target_element = display_element(n) | |
550 | if(req && n.innerHTML.toLowerCase().indexOf(req) == -1){ |
|
550 | if(req && n.innerHTML.toLowerCase().indexOf(req) == -1){ | |
551 | hide_node(target_element); |
|
551 | hide_node(target_element); | |
552 | } |
|
552 | } | |
553 | else{ |
|
553 | else{ | |
554 | show_node(target_element); |
|
554 | show_node(target_element); | |
555 | showing+=1; |
|
555 | showing+=1; | |
556 | } |
|
556 | } | |
557 | } |
|
557 | } | |
558 |
|
558 | |||
559 | // if repo_count is set update the number |
|
559 | // if repo_count is set update the number | |
560 | var cnt = YUD.get('repo_count'); |
|
560 | var cnt = YUD.get('repo_count'); | |
561 | if(cnt){ |
|
561 | if(cnt){ | |
562 | YUD.get('repo_count').innerHTML = showing; |
|
562 | YUD.get('repo_count').innerHTML = showing; | |
563 | } |
|
563 | } | |
564 |
|
564 | |||
565 | } |
|
565 | } | |
566 | }; |
|
566 | }; | |
567 |
|
567 | |||
568 | var tableTr = function(cls, body){ |
|
568 | var tableTr = function(cls, body){ | |
569 | var _el = document.createElement('div'); |
|
569 | var _el = document.createElement('div'); | |
570 | var cont = new YAHOO.util.Element(body); |
|
570 | var cont = new YAHOO.util.Element(body); | |
571 | var comment_id = fromHTML(body).children[0].id.split('comment-')[1]; |
|
571 | var comment_id = fromHTML(body).children[0].id.split('comment-')[1]; | |
572 | var id = 'comment-tr-{0}'.format(comment_id); |
|
572 | var id = 'comment-tr-{0}'.format(comment_id); | |
573 | var _html = ('<table><tbody><tr id="{0}" class="{1}">'+ |
|
573 | var _html = ('<table><tbody><tr id="{0}" class="{1}">'+ | |
574 | '<td class="lineno-inline new-inline"></td>'+ |
|
574 | '<td class="lineno-inline new-inline"></td>'+ | |
575 | '<td class="lineno-inline old-inline"></td>'+ |
|
575 | '<td class="lineno-inline old-inline"></td>'+ | |
576 | '<td>{2}</td>'+ |
|
576 | '<td>{2}</td>'+ | |
577 | '</tr></tbody></table>').format(id, cls, body); |
|
577 | '</tr></tbody></table>').format(id, cls, body); | |
578 | _el.innerHTML = _html; |
|
578 | _el.innerHTML = _html; | |
579 | return _el.children[0].children[0].children[0]; |
|
579 | return _el.children[0].children[0].children[0]; | |
580 | }; |
|
580 | }; | |
581 |
|
581 | |||
582 | /** comments **/ |
|
582 | /** comments **/ | |
583 | var removeInlineForm = function(form) { |
|
583 | var removeInlineForm = function(form) { | |
584 | form.parentNode.removeChild(form); |
|
584 | form.parentNode.removeChild(form); | |
585 | }; |
|
585 | }; | |
586 |
|
586 | |||
587 | var createInlineForm = function(parent_tr, f_path, line) { |
|
587 | var createInlineForm = function(parent_tr, f_path, line) { | |
588 | var tmpl = YUD.get('comment-inline-form-template').innerHTML; |
|
588 | var tmpl = YUD.get('comment-inline-form-template').innerHTML; | |
589 | tmpl = tmpl.format(f_path, line); |
|
589 | tmpl = tmpl.format(f_path, line); | |
590 | var form = tableTr('comment-form-inline',tmpl) |
|
590 | var form = tableTr('comment-form-inline',tmpl) | |
591 |
|
591 | |||
592 | // create event for hide button |
|
592 | // create event for hide button | |
593 | form = new YAHOO.util.Element(form); |
|
593 | form = new YAHOO.util.Element(form); | |
594 | var form_hide_button = new YAHOO.util.Element(YUD.getElementsByClassName('hide-inline-form',null,form)[0]); |
|
594 | var form_hide_button = new YAHOO.util.Element(YUD.getElementsByClassName('hide-inline-form',null,form)[0]); | |
595 | form_hide_button.on('click', function(e) { |
|
595 | form_hide_button.on('click', function(e) { | |
596 | var newtr = e.currentTarget.parentNode.parentNode.parentNode.parentNode.parentNode; |
|
596 | var newtr = e.currentTarget.parentNode.parentNode.parentNode.parentNode.parentNode; | |
597 | if(YUD.hasClass(newtr.nextElementSibling,'inline-comments-button')){ |
|
597 | if(YUD.hasClass(newtr.nextElementSibling,'inline-comments-button')){ | |
598 | YUD.setStyle(newtr.nextElementSibling,'display',''); |
|
598 | YUD.setStyle(newtr.nextElementSibling,'display',''); | |
599 | } |
|
599 | } | |
600 | removeInlineForm(newtr); |
|
600 | removeInlineForm(newtr); | |
601 | YUD.removeClass(parent_tr, 'form-open'); |
|
601 | YUD.removeClass(parent_tr, 'form-open'); | |
602 | YUD.removeClass(parent_tr, 'hl-comment'); |
|
602 | YUD.removeClass(parent_tr, 'hl-comment'); | |
603 |
|
603 | |||
604 | }); |
|
604 | }); | |
605 |
|
605 | |||
606 | return form |
|
606 | return form | |
607 | }; |
|
607 | }; | |
608 |
|
608 | |||
609 | /** |
|
609 | /** | |
610 | * Inject inline comment for on given TR this tr should be always an .line |
|
610 | * Inject inline comment for on given TR this tr should be always an .line | |
611 | * tr containing the line. Code will detect comment, and always put the comment |
|
611 | * tr containing the line. Code will detect comment, and always put the comment | |
612 | * block at the very bottom |
|
612 | * block at the very bottom | |
613 | */ |
|
613 | */ | |
614 | var injectInlineForm = function(tr){ |
|
614 | var injectInlineForm = function(tr){ | |
615 | if(!YUD.hasClass(tr, 'line')){ |
|
615 | if(!YUD.hasClass(tr, 'line')){ | |
616 | return |
|
616 | return | |
617 | } |
|
617 | } | |
618 | var submit_url = AJAX_COMMENT_URL; |
|
618 | var submit_url = AJAX_COMMENT_URL; | |
619 | var _td = YUD.getElementsByClassName('code',null,tr)[0]; |
|
619 | var _td = YUD.getElementsByClassName('code',null,tr)[0]; | |
620 | if(YUD.hasClass(tr,'form-open') || YUD.hasClass(tr,'context') || YUD.hasClass(_td,'no-comment')){ |
|
620 | if(YUD.hasClass(tr,'form-open') || YUD.hasClass(tr,'context') || YUD.hasClass(_td,'no-comment')){ | |
621 | return |
|
621 | return | |
622 | } |
|
622 | } | |
623 | YUD.addClass(tr,'form-open'); |
|
623 | YUD.addClass(tr,'form-open'); | |
624 | YUD.addClass(tr,'hl-comment'); |
|
624 | YUD.addClass(tr,'hl-comment'); | |
625 | var node = YUD.getElementsByClassName('full_f_path',null,tr.parentNode.parentNode.parentNode)[0]; |
|
625 | var node = YUD.getElementsByClassName('full_f_path',null,tr.parentNode.parentNode.parentNode)[0]; | |
626 | var f_path = YUD.getAttribute(node,'path'); |
|
626 | var f_path = YUD.getAttribute(node,'path'); | |
627 | var lineno = getLineNo(tr); |
|
627 | var lineno = getLineNo(tr); | |
628 | var form = createInlineForm(tr, f_path, lineno, submit_url); |
|
628 | var form = createInlineForm(tr, f_path, lineno, submit_url); | |
629 |
|
629 | |||
630 | var parent = tr; |
|
630 | var parent = tr; | |
631 | while (1){ |
|
631 | while (1){ | |
632 | var n = parent.nextElementSibling; |
|
632 | var n = parent.nextElementSibling; | |
633 | // next element are comments ! |
|
633 | // next element are comments ! | |
634 | if(YUD.hasClass(n,'inline-comments')){ |
|
634 | if(YUD.hasClass(n,'inline-comments')){ | |
635 | parent = n; |
|
635 | parent = n; | |
636 | } |
|
636 | } | |
637 | else{ |
|
637 | else{ | |
638 | break; |
|
638 | break; | |
639 | } |
|
639 | } | |
640 | } |
|
640 | } | |
641 | YUD.insertAfter(form,parent); |
|
641 | YUD.insertAfter(form,parent); | |
642 | var f = YUD.get(form); |
|
642 | var f = YUD.get(form); | |
643 | var overlay = YUD.getElementsByClassName('overlay',null,f)[0]; |
|
643 | var overlay = YUD.getElementsByClassName('overlay',null,f)[0]; | |
644 | var _form = YUD.getElementsByClassName('inline-form',null,f)[0]; |
|
644 | var _form = YUD.getElementsByClassName('inline-form',null,f)[0]; | |
645 |
|
645 | |||
646 | YUE.on(YUD.get(_form), 'submit',function(e){ |
|
646 | YUE.on(YUD.get(_form), 'submit',function(e){ | |
647 | YUE.preventDefault(e); |
|
647 | YUE.preventDefault(e); | |
648 |
|
648 | |||
649 | //ajax submit |
|
649 | //ajax submit | |
650 | var text = YUD.get('text_'+lineno).value; |
|
650 | var text = YUD.get('text_'+lineno).value; | |
651 | var postData = { |
|
651 | var postData = { | |
652 | 'text':text, |
|
652 | 'text':text, | |
653 | 'f_path':f_path, |
|
653 | 'f_path':f_path, | |
654 | 'line':lineno |
|
654 | 'line':lineno | |
655 | }; |
|
655 | }; | |
656 |
|
656 | |||
657 | if(lineno === undefined){ |
|
657 | if(lineno === undefined){ | |
658 | alert('missing line !'); |
|
658 | alert('missing line !'); | |
659 | return |
|
659 | return | |
660 | } |
|
660 | } | |
661 | if(f_path === undefined){ |
|
661 | if(f_path === undefined){ | |
662 | alert('missing file path !'); |
|
662 | alert('missing file path !'); | |
663 | return |
|
663 | return | |
664 | } |
|
664 | } | |
665 |
|
665 | |||
666 | if(text == ""){ |
|
666 | if(text == ""){ | |
667 | return |
|
667 | return | |
668 | } |
|
668 | } | |
669 |
|
669 | |||
670 | var success = function(o){ |
|
670 | var success = function(o){ | |
671 | YUD.removeClass(tr, 'form-open'); |
|
671 | YUD.removeClass(tr, 'form-open'); | |
672 | removeInlineForm(f); |
|
672 | removeInlineForm(f); | |
673 | var json_data = JSON.parse(o.responseText); |
|
673 | var json_data = JSON.parse(o.responseText); | |
674 | renderInlineComment(json_data); |
|
674 | renderInlineComment(json_data); | |
675 | }; |
|
675 | }; | |
676 |
|
676 | |||
677 | if (YUD.hasClass(overlay,'overlay')){ |
|
677 | if (YUD.hasClass(overlay,'overlay')){ | |
678 | var w = _form.offsetWidth; |
|
678 | var w = _form.offsetWidth; | |
679 | var h = _form.offsetHeight; |
|
679 | var h = _form.offsetHeight; | |
680 | YUD.setStyle(overlay,'width',w+'px'); |
|
680 | YUD.setStyle(overlay,'width',w+'px'); | |
681 | YUD.setStyle(overlay,'height',h+'px'); |
|
681 | YUD.setStyle(overlay,'height',h+'px'); | |
682 | } |
|
682 | } | |
683 | YUD.addClass(overlay, 'submitting'); |
|
683 | YUD.addClass(overlay, 'submitting'); | |
684 |
|
684 | |||
685 | ajaxPOST(submit_url, postData, success); |
|
685 | ajaxPOST(submit_url, postData, success); | |
686 | }); |
|
686 | }); | |
687 |
|
687 | |||
688 | setTimeout(function(){ |
|
688 | setTimeout(function(){ | |
689 | // callbacks |
|
689 | // callbacks | |
690 | tooltip_activate(); |
|
690 | tooltip_activate(); | |
691 | MentionsAutoComplete('text_'+lineno, 'mentions_container_'+lineno, |
|
691 | MentionsAutoComplete('text_'+lineno, 'mentions_container_'+lineno, | |
692 | _USERS_AC_DATA, _GROUPS_AC_DATA); |
|
692 | _USERS_AC_DATA, _GROUPS_AC_DATA); | |
693 | var _e = YUD.get('text_'+lineno); |
|
693 | var _e = YUD.get('text_'+lineno); | |
694 | if(_e){ |
|
694 | if(_e){ | |
695 | _e.focus(); |
|
695 | _e.focus(); | |
696 | } |
|
696 | } | |
697 | },10) |
|
697 | },10) | |
698 | }; |
|
698 | }; | |
699 |
|
699 | |||
700 | var deleteComment = function(comment_id){ |
|
700 | var deleteComment = function(comment_id){ | |
701 | var url = AJAX_COMMENT_DELETE_URL.replace('__COMMENT_ID__',comment_id); |
|
701 | var url = AJAX_COMMENT_DELETE_URL.replace('__COMMENT_ID__',comment_id); | |
702 | var postData = {'_method':'delete'}; |
|
702 | var postData = {'_method':'delete'}; | |
703 | var success = function(o){ |
|
703 | var success = function(o){ | |
704 | var n = YUD.get('comment-tr-'+comment_id); |
|
704 | var n = YUD.get('comment-tr-'+comment_id); | |
705 | var root = prevElementSibling(prevElementSibling(n)); |
|
705 | var root = prevElementSibling(prevElementSibling(n)); | |
706 | n.parentNode.removeChild(n); |
|
706 | n.parentNode.removeChild(n); | |
707 |
|
707 | |||
708 | // scann nodes, and attach add button to last one |
|
708 | // scann nodes, and attach add button to last one | |
709 | placeAddButton(root); |
|
709 | placeAddButton(root); | |
710 | } |
|
710 | } | |
711 | ajaxPOST(url,postData,success); |
|
711 | ajaxPOST(url,postData,success); | |
712 | } |
|
712 | } | |
713 |
|
713 | |||
714 | var updateReviewers = function(reviewers_ids){ |
|
714 | var updateReviewers = function(reviewers_ids){ | |
715 | var url = AJAX_UPDATE_PULLREQUEST; |
|
715 | var url = AJAX_UPDATE_PULLREQUEST; | |
716 | var postData = {'_method':'put', |
|
716 | var postData = {'_method':'put', | |
717 | 'reviewers_ids': reviewers_ids}; |
|
717 | 'reviewers_ids': reviewers_ids}; | |
718 | var success = function(o){ |
|
718 | var success = function(o){ | |
719 | window.location.reload(); |
|
719 | window.location.reload(); | |
720 | } |
|
720 | } | |
721 | ajaxPOST(url,postData,success); |
|
721 | ajaxPOST(url,postData,success); | |
722 | } |
|
722 | } | |
723 |
|
723 | |||
724 | var createInlineAddButton = function(tr){ |
|
724 | var createInlineAddButton = function(tr){ | |
725 |
|
725 | |||
726 | var label = TRANSLATION_MAP['add another comment']; |
|
726 | var label = TRANSLATION_MAP['add another comment']; | |
727 |
|
727 | |||
728 | var html_el = document.createElement('div'); |
|
728 | var html_el = document.createElement('div'); | |
729 | YUD.addClass(html_el, 'add-comment'); |
|
729 | YUD.addClass(html_el, 'add-comment'); | |
730 | html_el.innerHTML = '<span class="ui-btn">{0}</span>'.format(label); |
|
730 | html_el.innerHTML = '<span class="ui-btn">{0}</span>'.format(label); | |
731 |
|
731 | |||
732 | var add = new YAHOO.util.Element(html_el); |
|
732 | var add = new YAHOO.util.Element(html_el); | |
733 | add.on('click', function(e) { |
|
733 | add.on('click', function(e) { | |
734 | injectInlineForm(tr); |
|
734 | injectInlineForm(tr); | |
735 | }); |
|
735 | }); | |
736 | return add; |
|
736 | return add; | |
737 | }; |
|
737 | }; | |
738 |
|
738 | |||
739 | var getLineNo = function(tr) { |
|
739 | var getLineNo = function(tr) { | |
740 | var line; |
|
740 | var line; | |
741 | var o = tr.children[0].id.split('_'); |
|
741 | var o = tr.children[0].id.split('_'); | |
742 | var n = tr.children[1].id.split('_'); |
|
742 | var n = tr.children[1].id.split('_'); | |
743 |
|
743 | |||
744 | if (n.length >= 2) { |
|
744 | if (n.length >= 2) { | |
745 | line = n[n.length-1]; |
|
745 | line = n[n.length-1]; | |
746 | } else if (o.length >= 2) { |
|
746 | } else if (o.length >= 2) { | |
747 | line = o[o.length-1]; |
|
747 | line = o[o.length-1]; | |
748 | } |
|
748 | } | |
749 |
|
749 | |||
750 | return line |
|
750 | return line | |
751 | }; |
|
751 | }; | |
752 |
|
752 | |||
753 | var placeAddButton = function(target_tr){ |
|
753 | var placeAddButton = function(target_tr){ | |
754 | if(!target_tr){ |
|
754 | if(!target_tr){ | |
755 | return |
|
755 | return | |
756 | } |
|
756 | } | |
757 | var last_node = target_tr; |
|
757 | var last_node = target_tr; | |
758 | //scann |
|
758 | //scann | |
759 | while (1){ |
|
759 | while (1){ | |
760 | var n = last_node.nextElementSibling; |
|
760 | var n = last_node.nextElementSibling; | |
761 | // next element are comments ! |
|
761 | // next element are comments ! | |
762 | if(YUD.hasClass(n,'inline-comments')){ |
|
762 | if(YUD.hasClass(n,'inline-comments')){ | |
763 | last_node = n; |
|
763 | last_node = n; | |
764 | //also remove the comment button from previous |
|
764 | //also remove the comment button from previous | |
765 | var comment_add_buttons = YUD.getElementsByClassName('add-comment',null,last_node); |
|
765 | var comment_add_buttons = YUD.getElementsByClassName('add-comment',null,last_node); | |
766 | for(var i=0;i<comment_add_buttons.length;i++){ |
|
766 | for(var i=0;i<comment_add_buttons.length;i++){ | |
767 | var b = comment_add_buttons[i]; |
|
767 | var b = comment_add_buttons[i]; | |
768 | b.parentNode.removeChild(b); |
|
768 | b.parentNode.removeChild(b); | |
769 | } |
|
769 | } | |
770 | } |
|
770 | } | |
771 | else{ |
|
771 | else{ | |
772 | break; |
|
772 | break; | |
773 | } |
|
773 | } | |
774 | } |
|
774 | } | |
775 |
|
775 | |||
776 | var add = createInlineAddButton(target_tr); |
|
776 | var add = createInlineAddButton(target_tr); | |
777 | // get the comment div |
|
777 | // get the comment div | |
778 | var comment_block = YUD.getElementsByClassName('comment',null,last_node)[0]; |
|
778 | var comment_block = YUD.getElementsByClassName('comment',null,last_node)[0]; | |
779 | // attach add button |
|
779 | // attach add button | |
780 | YUD.insertAfter(add,comment_block); |
|
780 | YUD.insertAfter(add,comment_block); | |
781 | } |
|
781 | } | |
782 |
|
782 | |||
783 | /** |
|
783 | /** | |
784 | * Places the inline comment into the changeset block in proper line position |
|
784 | * Places the inline comment into the changeset block in proper line position | |
785 | */ |
|
785 | */ | |
786 | var placeInline = function(target_container,lineno,html){ |
|
786 | var placeInline = function(target_container,lineno,html){ | |
787 | var lineid = "{0}_{1}".format(target_container,lineno); |
|
787 | var lineid = "{0}_{1}".format(target_container,lineno); | |
788 | var target_line = YUD.get(lineid); |
|
788 | var target_line = YUD.get(lineid); | |
789 | var comment = new YAHOO.util.Element(tableTr('inline-comments',html)) |
|
789 | var comment = new YAHOO.util.Element(tableTr('inline-comments',html)) | |
790 |
|
790 | |||
791 | // check if there are comments already ! |
|
791 | // check if there are comments already ! | |
792 | var parent = target_line.parentNode; |
|
792 | var parent = target_line.parentNode; | |
793 | var root_parent = parent; |
|
793 | var root_parent = parent; | |
794 | while (1){ |
|
794 | while (1){ | |
795 | var n = parent.nextElementSibling; |
|
795 | var n = parent.nextElementSibling; | |
796 | // next element are comments ! |
|
796 | // next element are comments ! | |
797 | if(YUD.hasClass(n,'inline-comments')){ |
|
797 | if(YUD.hasClass(n,'inline-comments')){ | |
798 | parent = n; |
|
798 | parent = n; | |
799 | } |
|
799 | } | |
800 | else{ |
|
800 | else{ | |
801 | break; |
|
801 | break; | |
802 | } |
|
802 | } | |
803 | } |
|
803 | } | |
804 | // put in the comment at the bottom |
|
804 | // put in the comment at the bottom | |
805 | YUD.insertAfter(comment,parent); |
|
805 | YUD.insertAfter(comment,parent); | |
806 |
|
806 | |||
807 | // scann nodes, and attach add button to last one |
|
807 | // scann nodes, and attach add button to last one | |
808 | placeAddButton(root_parent); |
|
808 | placeAddButton(root_parent); | |
809 |
|
809 | |||
810 | return target_line; |
|
810 | return target_line; | |
811 | } |
|
811 | } | |
812 |
|
812 | |||
813 | /** |
|
813 | /** | |
814 | * make a single inline comment and place it inside |
|
814 | * make a single inline comment and place it inside | |
815 | */ |
|
815 | */ | |
816 | var renderInlineComment = function(json_data){ |
|
816 | var renderInlineComment = function(json_data){ | |
817 | try{ |
|
817 | try{ | |
818 | var html = json_data['rendered_text']; |
|
818 | var html = json_data['rendered_text']; | |
819 | var lineno = json_data['line_no']; |
|
819 | var lineno = json_data['line_no']; | |
820 | var target_id = json_data['target_id']; |
|
820 | var target_id = json_data['target_id']; | |
821 | placeInline(target_id, lineno, html); |
|
821 | placeInline(target_id, lineno, html); | |
822 |
|
822 | |||
823 | }catch(e){ |
|
823 | }catch(e){ | |
824 | console.log(e); |
|
824 | console.log(e); | |
825 | } |
|
825 | } | |
826 | } |
|
826 | } | |
827 |
|
827 | |||
828 | /** |
|
828 | /** | |
829 | * Iterates over all the inlines, and places them inside proper blocks of data |
|
829 | * Iterates over all the inlines, and places them inside proper blocks of data | |
830 | */ |
|
830 | */ | |
831 | var renderInlineComments = function(file_comments){ |
|
831 | var renderInlineComments = function(file_comments){ | |
832 | for (f in file_comments){ |
|
832 | for (f in file_comments){ | |
833 | // holding all comments for a FILE |
|
833 | // holding all comments for a FILE | |
834 | var box = file_comments[f]; |
|
834 | var box = file_comments[f]; | |
835 |
|
835 | |||
836 | var target_id = YUD.getAttribute(box,'target_id'); |
|
836 | var target_id = YUD.getAttribute(box,'target_id'); | |
837 | // actually comments with line numbers |
|
837 | // actually comments with line numbers | |
838 | var comments = box.children; |
|
838 | var comments = box.children; | |
839 | for(var i=0; i<comments.length; i++){ |
|
839 | for(var i=0; i<comments.length; i++){ | |
840 | var data = { |
|
840 | var data = { | |
841 | 'rendered_text': comments[i].outerHTML, |
|
841 | 'rendered_text': comments[i].outerHTML, | |
842 | 'line_no': YUD.getAttribute(comments[i],'line'), |
|
842 | 'line_no': YUD.getAttribute(comments[i],'line'), | |
843 | 'target_id': target_id |
|
843 | 'target_id': target_id | |
844 | } |
|
844 | } | |
845 | renderInlineComment(data); |
|
845 | renderInlineComment(data); | |
846 | } |
|
846 | } | |
847 | } |
|
847 | } | |
848 | } |
|
848 | } | |
849 |
|
849 | |||
850 | var removeReviewer = function(reviewer_id){ |
|
850 | var removeReviewer = function(reviewer_id){ | |
851 | var el = YUD.get('reviewer_{0}'.format(reviewer_id)); |
|
851 | var el = YUD.get('reviewer_{0}'.format(reviewer_id)); | |
852 | if (el.parentNode !== undefined){ |
|
852 | if (el.parentNode !== undefined){ | |
853 | el.parentNode.removeChild(el); |
|
853 | el.parentNode.removeChild(el); | |
854 | } |
|
854 | } | |
855 | } |
|
855 | } | |
856 |
|
856 | |||
857 | var fileBrowserListeners = function(current_url, node_list_url, url_base){ |
|
857 | var fileBrowserListeners = function(current_url, node_list_url, url_base){ | |
858 | var current_url_branch = +"?branch=__BRANCH__"; |
|
858 | var current_url_branch = +"?branch=__BRANCH__"; | |
859 |
|
859 | |||
860 | YUE.on('stay_at_branch','click',function(e){ |
|
860 | YUE.on('stay_at_branch','click',function(e){ | |
861 | if(e.target.checked){ |
|
861 | if(e.target.checked){ | |
862 | var uri = current_url_branch; |
|
862 | var uri = current_url_branch; | |
863 | uri = uri.replace('__BRANCH__',e.target.value); |
|
863 | uri = uri.replace('__BRANCH__',e.target.value); | |
864 | window.location = uri; |
|
864 | window.location = uri; | |
865 | } |
|
865 | } | |
866 | else{ |
|
866 | else{ | |
867 | window.location = current_url; |
|
867 | window.location = current_url; | |
868 | } |
|
868 | } | |
869 | }) |
|
869 | }) | |
870 |
|
870 | |||
871 | var n_filter = YUD.get('node_filter'); |
|
871 | var n_filter = YUD.get('node_filter'); | |
872 | var F = YAHOO.namespace('node_filter'); |
|
872 | var F = YAHOO.namespace('node_filter'); | |
873 |
|
873 | |||
874 | F.filterTimeout = null; |
|
874 | F.filterTimeout = null; | |
875 | var nodes = null; |
|
875 | var nodes = null; | |
876 |
|
876 | |||
877 | F.initFilter = function(){ |
|
877 | F.initFilter = function(){ | |
878 | YUD.setStyle('node_filter_box_loading','display',''); |
|
878 | YUD.setStyle('node_filter_box_loading','display',''); | |
879 | YUD.setStyle('search_activate_id','display','none'); |
|
879 | YUD.setStyle('search_activate_id','display','none'); | |
880 | YUD.setStyle('add_node_id','display','none'); |
|
880 | YUD.setStyle('add_node_id','display','none'); | |
881 | YUC.initHeader('X-PARTIAL-XHR',true); |
|
881 | YUC.initHeader('X-PARTIAL-XHR',true); | |
882 | YUC.asyncRequest('GET', node_list_url, { |
|
882 | YUC.asyncRequest('GET', node_list_url, { | |
883 | success:function(o){ |
|
883 | success:function(o){ | |
884 | nodes = JSON.parse(o.responseText).nodes; |
|
884 | nodes = JSON.parse(o.responseText).nodes; | |
885 | YUD.setStyle('node_filter_box_loading','display','none'); |
|
885 | YUD.setStyle('node_filter_box_loading','display','none'); | |
886 | YUD.setStyle('node_filter_box','display',''); |
|
886 | YUD.setStyle('node_filter_box','display',''); | |
887 | n_filter.focus(); |
|
887 | n_filter.focus(); | |
888 | if(YUD.hasClass(n_filter,'init')){ |
|
888 | if(YUD.hasClass(n_filter,'init')){ | |
889 | n_filter.value = ''; |
|
889 | n_filter.value = ''; | |
890 | YUD.removeClass(n_filter,'init'); |
|
890 | YUD.removeClass(n_filter,'init'); | |
891 | } |
|
891 | } | |
892 | }, |
|
892 | }, | |
893 | failure:function(o){ |
|
893 | failure:function(o){ | |
894 | console.log('failed to load'); |
|
894 | console.log('failed to load'); | |
895 | } |
|
895 | } | |
896 | },null); |
|
896 | },null); | |
897 | } |
|
897 | } | |
898 |
|
898 | |||
899 | F.updateFilter = function(e) { |
|
899 | F.updateFilter = function(e) { | |
900 |
|
900 | |||
901 | return function(){ |
|
901 | return function(){ | |
902 | // Reset timeout |
|
902 | // Reset timeout | |
903 | F.filterTimeout = null; |
|
903 | F.filterTimeout = null; | |
904 | var query = e.target.value.toLowerCase(); |
|
904 | var query = e.target.value.toLowerCase(); | |
905 | var match = []; |
|
905 | var match = []; | |
906 | var matches = 0; |
|
906 | var matches = 0; | |
907 | var matches_max = 20; |
|
907 | var matches_max = 20; | |
908 | if (query != ""){ |
|
908 | if (query != ""){ | |
909 | for(var i=0;i<nodes.length;i++){ |
|
909 | for(var i=0;i<nodes.length;i++){ | |
910 |
|
910 | |||
911 | var pos = nodes[i].name.toLowerCase().indexOf(query) |
|
911 | var pos = nodes[i].name.toLowerCase().indexOf(query) | |
912 | if(query && pos != -1){ |
|
912 | if(query && pos != -1){ | |
913 |
|
913 | |||
914 | matches++ |
|
914 | matches++ | |
915 | //show only certain amount to not kill browser |
|
915 | //show only certain amount to not kill browser | |
916 | if (matches > matches_max){ |
|
916 | if (matches > matches_max){ | |
917 | break; |
|
917 | break; | |
918 | } |
|
918 | } | |
919 |
|
919 | |||
920 | var n = nodes[i].name; |
|
920 | var n = nodes[i].name; | |
921 | var t = nodes[i].type; |
|
921 | var t = nodes[i].type; | |
922 | var n_hl = n.substring(0,pos) |
|
922 | var n_hl = n.substring(0,pos) | |
923 | +"<b>{0}</b>".format(n.substring(pos,pos+query.length)) |
|
923 | +"<b>{0}</b>".format(n.substring(pos,pos+query.length)) | |
924 | +n.substring(pos+query.length) |
|
924 | +n.substring(pos+query.length) | |
925 | var new_url = url_base.replace('__FPATH__',n); |
|
925 | var new_url = url_base.replace('__FPATH__',n); | |
926 | match.push('<tr><td><a class="browser-{0}" href="{1}">{2}</a></td><td colspan="5"></td></tr>'.format(t,new_url,n_hl)); |
|
926 | match.push('<tr><td><a class="browser-{0}" href="{1}">{2}</a></td><td colspan="5"></td></tr>'.format(t,new_url,n_hl)); | |
927 | } |
|
927 | } | |
928 | if(match.length >= matches_max){ |
|
928 | if(match.length >= matches_max){ | |
929 | match.push('<tr><td>{0}</td><td colspan="5"></td></tr>'.format(_TM['search truncated'])); |
|
929 | match.push('<tr><td>{0}</td><td colspan="5"></td></tr>'.format(_TM['search truncated'])); | |
930 | } |
|
930 | } | |
931 | } |
|
931 | } | |
932 | } |
|
932 | } | |
933 | if(query != ""){ |
|
933 | if(query != ""){ | |
934 | YUD.setStyle('tbody','display','none'); |
|
934 | YUD.setStyle('tbody','display','none'); | |
935 | YUD.setStyle('tbody_filtered','display',''); |
|
935 | YUD.setStyle('tbody_filtered','display',''); | |
936 |
|
936 | |||
937 | if (match.length==0){ |
|
937 | if (match.length==0){ | |
938 | match.push('<tr><td>{0}</td><td colspan="5"></td></tr>'.format(_TM['no matching files'])); |
|
938 | match.push('<tr><td>{0}</td><td colspan="5"></td></tr>'.format(_TM['no matching files'])); | |
939 | } |
|
939 | } | |
940 |
|
940 | |||
941 | YUD.get('tbody_filtered').innerHTML = match.join(""); |
|
941 | YUD.get('tbody_filtered').innerHTML = match.join(""); | |
942 | } |
|
942 | } | |
943 | else{ |
|
943 | else{ | |
944 | YUD.setStyle('tbody','display',''); |
|
944 | YUD.setStyle('tbody','display',''); | |
945 | YUD.setStyle('tbody_filtered','display','none'); |
|
945 | YUD.setStyle('tbody_filtered','display','none'); | |
946 | } |
|
946 | } | |
947 |
|
947 | |||
948 | } |
|
948 | } | |
949 | }; |
|
949 | }; | |
950 |
|
950 | |||
951 | YUE.on(YUD.get('filter_activate'),'click',function(){ |
|
951 | YUE.on(YUD.get('filter_activate'),'click',function(){ | |
952 | F.initFilter(); |
|
952 | F.initFilter(); | |
953 | }) |
|
953 | }) | |
954 | YUE.on(n_filter,'click',function(){ |
|
954 | YUE.on(n_filter,'click',function(){ | |
955 | if(YUD.hasClass(n_filter,'init')){ |
|
955 | if(YUD.hasClass(n_filter,'init')){ | |
956 | n_filter.value = ''; |
|
956 | n_filter.value = ''; | |
957 | YUD.removeClass(n_filter,'init'); |
|
957 | YUD.removeClass(n_filter,'init'); | |
958 | } |
|
958 | } | |
959 | }); |
|
959 | }); | |
960 | YUE.on(n_filter,'keyup',function(e){ |
|
960 | YUE.on(n_filter,'keyup',function(e){ | |
961 | clearTimeout(F.filterTimeout); |
|
961 | clearTimeout(F.filterTimeout); | |
962 | F.filterTimeout = setTimeout(F.updateFilter(e),600); |
|
962 | F.filterTimeout = setTimeout(F.updateFilter(e),600); | |
963 | }); |
|
963 | }); | |
964 | }; |
|
964 | }; | |
965 |
|
965 | |||
966 |
|
966 | |||
967 | var initCodeMirror = function(textAreadId,resetUrl){ |
|
967 | var initCodeMirror = function(textAreadId,resetUrl){ | |
968 | var myCodeMirror = CodeMirror.fromTextArea(YUD.get(textAreadId),{ |
|
968 | var myCodeMirror = CodeMirror.fromTextArea(YUD.get(textAreadId),{ | |
969 | mode: "null", |
|
969 | mode: "null", | |
970 | lineNumbers:true |
|
970 | lineNumbers:true | |
971 | }); |
|
971 | }); | |
972 | YUE.on('reset','click',function(e){ |
|
972 | YUE.on('reset','click',function(e){ | |
973 | window.location=resetUrl |
|
973 | window.location=resetUrl | |
974 | }); |
|
974 | }); | |
975 |
|
975 | |||
976 | YUE.on('file_enable','click',function(){ |
|
976 | YUE.on('file_enable','click',function(){ | |
977 | YUD.setStyle('editor_container','display',''); |
|
977 | YUD.setStyle('editor_container','display',''); | |
978 | YUD.setStyle('upload_file_container','display','none'); |
|
978 | YUD.setStyle('upload_file_container','display','none'); | |
979 | YUD.setStyle('filename_container','display',''); |
|
979 | YUD.setStyle('filename_container','display',''); | |
980 | }); |
|
980 | }); | |
981 |
|
981 | |||
982 | YUE.on('upload_file_enable','click',function(){ |
|
982 | YUE.on('upload_file_enable','click',function(){ | |
983 | YUD.setStyle('editor_container','display','none'); |
|
983 | YUD.setStyle('editor_container','display','none'); | |
984 | YUD.setStyle('upload_file_container','display',''); |
|
984 | YUD.setStyle('upload_file_container','display',''); | |
985 | YUD.setStyle('filename_container','display','none'); |
|
985 | YUD.setStyle('filename_container','display','none'); | |
986 | }); |
|
986 | }); | |
987 | }; |
|
987 | }; | |
988 |
|
988 | |||
989 |
|
989 | |||
990 |
|
990 | |||
991 | var getIdentNode = function(n){ |
|
991 | var getIdentNode = function(n){ | |
992 | //iterate thru nodes untill matched interesting node ! |
|
992 | //iterate thru nodes untill matched interesting node ! | |
993 |
|
993 | |||
994 | if (typeof n == 'undefined'){ |
|
994 | if (typeof n == 'undefined'){ | |
995 | return -1 |
|
995 | return -1 | |
996 | } |
|
996 | } | |
997 |
|
997 | |||
998 | if(typeof n.id != "undefined" && n.id.match('L[0-9]+')){ |
|
998 | if(typeof n.id != "undefined" && n.id.match('L[0-9]+')){ | |
999 | return n |
|
999 | return n | |
1000 | } |
|
1000 | } | |
1001 | else{ |
|
1001 | else{ | |
1002 | return getIdentNode(n.parentNode); |
|
1002 | return getIdentNode(n.parentNode); | |
1003 | } |
|
1003 | } | |
1004 | }; |
|
1004 | }; | |
1005 |
|
1005 | |||
1006 | var getSelectionLink = function(e) { |
|
1006 | var getSelectionLink = function(e) { | |
1007 |
|
1007 | |||
1008 | //get selection from start/to nodes |
|
1008 | //get selection from start/to nodes | |
1009 | if (typeof window.getSelection != "undefined") { |
|
1009 | if (typeof window.getSelection != "undefined") { | |
1010 | s = window.getSelection(); |
|
1010 | s = window.getSelection(); | |
1011 |
|
1011 | |||
1012 | from = getIdentNode(s.anchorNode); |
|
1012 | from = getIdentNode(s.anchorNode); | |
1013 | till = getIdentNode(s.focusNode); |
|
1013 | till = getIdentNode(s.focusNode); | |
1014 |
|
1014 | |||
1015 | f_int = parseInt(from.id.replace('L','')); |
|
1015 | f_int = parseInt(from.id.replace('L','')); | |
1016 | t_int = parseInt(till.id.replace('L','')); |
|
1016 | t_int = parseInt(till.id.replace('L','')); | |
1017 |
|
1017 | |||
1018 | if (f_int > t_int){ |
|
1018 | if (f_int > t_int){ | |
1019 | //highlight from bottom |
|
1019 | //highlight from bottom | |
1020 | offset = -35; |
|
1020 | offset = -35; | |
1021 | ranges = [t_int,f_int]; |
|
1021 | ranges = [t_int,f_int]; | |
1022 |
|
1022 | |||
1023 | } |
|
1023 | } | |
1024 | else{ |
|
1024 | else{ | |
1025 | //highligth from top |
|
1025 | //highligth from top | |
1026 | offset = 35; |
|
1026 | offset = 35; | |
1027 | ranges = [f_int,t_int]; |
|
1027 | ranges = [f_int,t_int]; | |
1028 | } |
|
1028 | } | |
1029 |
|
1029 | // if we select more than 2 lines | ||
1030 | if (ranges[0] != ranges[1]){ |
|
1030 | if (ranges[0] != ranges[1]){ | |
1031 | if(YUD.get('linktt') == null){ |
|
1031 | if(YUD.get('linktt') == null){ | |
1032 | hl_div = document.createElement('div'); |
|
1032 | hl_div = document.createElement('div'); | |
1033 | hl_div.id = 'linktt'; |
|
1033 | hl_div.id = 'linktt'; | |
1034 | } |
|
1034 | } | |
|
1035 | hl_div.innerHTML = ''; | |||
|
1036 | ||||
1035 | anchor = '#L'+ranges[0]+'-'+ranges[1]; |
|
1037 | anchor = '#L'+ranges[0]+'-'+ranges[1]; | |
1036 | hl_div.innerHTML = ''; |
|
1038 | var link = document.createElement('a'); | |
1037 | l = document.createElement('a'); |
|
1039 | link.href = location.href.substring(0,location.href.indexOf('#'))+anchor; | |
1038 | l.href = location.href.substring(0,location.href.indexOf('#'))+anchor; |
|
1040 | link.innerHTML = _TM['Selection link']; | |
1039 | l.innerHTML = _TM['Selection link']; |
|
1041 | hl_div.appendChild(link); | |
1040 | hl_div.appendChild(l); |
|
|||
1041 |
|
||||
1042 | YUD.get('body').appendChild(hl_div); |
|
1042 | YUD.get('body').appendChild(hl_div); | |
1043 |
|
1043 | |||
1044 | xy = YUD.getXY(till.id); |
|
1044 | xy = YUD.getXY(till.id); | |
1045 |
|
1045 | |||
1046 |
YUD.addClass('linktt', |
|
1046 | YUD.addClass('linktt', 'hl-tip-box'); | |
1047 | YUD.setStyle('linktt','top',xy[1]+offset+'px'); |
|
1047 | YUD.setStyle('linktt','top',xy[1]+offset+'px'); | |
1048 | YUD.setStyle('linktt','left',xy[0]+'px'); |
|
1048 | YUD.setStyle('linktt','left',xy[0]+'px'); | |
1049 | YUD.setStyle('linktt','visibility','visible'); |
|
1049 | YUD.setStyle('linktt','visibility','visible'); | |
|
1050 | ||||
1050 | } |
|
1051 | } | |
1051 | else{ |
|
1052 | else{ | |
1052 | YUD.setStyle('linktt','visibility','hidden'); |
|
1053 | YUD.setStyle('linktt','visibility','hidden'); | |
1053 | } |
|
1054 | } | |
1054 | } |
|
1055 | } | |
1055 | }; |
|
1056 | }; | |
1056 |
|
1057 | |||
1057 | var deleteNotification = function(url, notification_id,callbacks){ |
|
1058 | var deleteNotification = function(url, notification_id,callbacks){ | |
1058 | var callback = { |
|
1059 | var callback = { | |
1059 | success:function(o){ |
|
1060 | success:function(o){ | |
1060 | var obj = YUD.get(String("notification_"+notification_id)); |
|
1061 | var obj = YUD.get(String("notification_"+notification_id)); | |
1061 | if(obj.parentNode !== undefined){ |
|
1062 | if(obj.parentNode !== undefined){ | |
1062 | obj.parentNode.removeChild(obj); |
|
1063 | obj.parentNode.removeChild(obj); | |
1063 | } |
|
1064 | } | |
1064 | _run_callbacks(callbacks); |
|
1065 | _run_callbacks(callbacks); | |
1065 | }, |
|
1066 | }, | |
1066 | failure:function(o){ |
|
1067 | failure:function(o){ | |
1067 | alert("error"); |
|
1068 | alert("error"); | |
1068 | }, |
|
1069 | }, | |
1069 | }; |
|
1070 | }; | |
1070 | var postData = '_method=delete'; |
|
1071 | var postData = '_method=delete'; | |
1071 | var sUrl = url.replace('__NOTIFICATION_ID__',notification_id); |
|
1072 | var sUrl = url.replace('__NOTIFICATION_ID__',notification_id); | |
1072 | var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, |
|
1073 | var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, | |
1073 | callback, postData); |
|
1074 | callback, postData); | |
1074 | }; |
|
1075 | }; | |
1075 |
|
1076 | |||
1076 | var readNotification = function(url, notification_id,callbacks){ |
|
1077 | var readNotification = function(url, notification_id,callbacks){ | |
1077 | var callback = { |
|
1078 | var callback = { | |
1078 | success:function(o){ |
|
1079 | success:function(o){ | |
1079 | var obj = YUD.get(String("notification_"+notification_id)); |
|
1080 | var obj = YUD.get(String("notification_"+notification_id)); | |
1080 | YUD.removeClass(obj, 'unread'); |
|
1081 | YUD.removeClass(obj, 'unread'); | |
1081 | var r_button = YUD.getElementsByClassName('read-notification',null,obj.children[0])[0]; |
|
1082 | var r_button = YUD.getElementsByClassName('read-notification',null,obj.children[0])[0]; | |
1082 |
|
1083 | |||
1083 | if(r_button.parentNode !== undefined){ |
|
1084 | if(r_button.parentNode !== undefined){ | |
1084 | r_button.parentNode.removeChild(r_button); |
|
1085 | r_button.parentNode.removeChild(r_button); | |
1085 | } |
|
1086 | } | |
1086 | _run_callbacks(callbacks); |
|
1087 | _run_callbacks(callbacks); | |
1087 | }, |
|
1088 | }, | |
1088 | failure:function(o){ |
|
1089 | failure:function(o){ | |
1089 | alert("error"); |
|
1090 | alert("error"); | |
1090 | }, |
|
1091 | }, | |
1091 | }; |
|
1092 | }; | |
1092 | var postData = '_method=put'; |
|
1093 | var postData = '_method=put'; | |
1093 | var sUrl = url.replace('__NOTIFICATION_ID__',notification_id); |
|
1094 | var sUrl = url.replace('__NOTIFICATION_ID__',notification_id); | |
1094 | var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, |
|
1095 | var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, | |
1095 | callback, postData); |
|
1096 | callback, postData); | |
1096 | }; |
|
1097 | }; | |
1097 |
|
1098 | |||
1098 | /** MEMBERS AUTOCOMPLETE WIDGET **/ |
|
1099 | /** MEMBERS AUTOCOMPLETE WIDGET **/ | |
1099 |
|
1100 | |||
1100 | var MembersAutoComplete = function (divid, cont, users_list, groups_list) { |
|
1101 | var MembersAutoComplete = function (divid, cont, users_list, groups_list) { | |
1101 | var myUsers = users_list; |
|
1102 | var myUsers = users_list; | |
1102 | var myGroups = groups_list; |
|
1103 | var myGroups = groups_list; | |
1103 |
|
1104 | |||
1104 | // Define a custom search function for the DataSource of users |
|
1105 | // Define a custom search function for the DataSource of users | |
1105 | var matchUsers = function (sQuery) { |
|
1106 | var matchUsers = function (sQuery) { | |
1106 | // Case insensitive matching |
|
1107 | // Case insensitive matching | |
1107 | var query = sQuery.toLowerCase(); |
|
1108 | var query = sQuery.toLowerCase(); | |
1108 | var i = 0; |
|
1109 | var i = 0; | |
1109 | var l = myUsers.length; |
|
1110 | var l = myUsers.length; | |
1110 | var matches = []; |
|
1111 | var matches = []; | |
1111 |
|
1112 | |||
1112 | // Match against each name of each contact |
|
1113 | // Match against each name of each contact | |
1113 | for (; i < l; i++) { |
|
1114 | for (; i < l; i++) { | |
1114 | contact = myUsers[i]; |
|
1115 | contact = myUsers[i]; | |
1115 | if (((contact.fname+"").toLowerCase().indexOf(query) > -1) || |
|
1116 | if (((contact.fname+"").toLowerCase().indexOf(query) > -1) || | |
1116 | ((contact.lname+"").toLowerCase().indexOf(query) > -1) || |
|
1117 | ((contact.lname+"").toLowerCase().indexOf(query) > -1) || | |
1117 | ((contact.nname) && ((contact.nname).toLowerCase().indexOf(query) > -1))) { |
|
1118 | ((contact.nname) && ((contact.nname).toLowerCase().indexOf(query) > -1))) { | |
1118 | matches[matches.length] = contact; |
|
1119 | matches[matches.length] = contact; | |
1119 | } |
|
1120 | } | |
1120 | } |
|
1121 | } | |
1121 | return matches; |
|
1122 | return matches; | |
1122 | }; |
|
1123 | }; | |
1123 |
|
1124 | |||
1124 | // Define a custom search function for the DataSource of usersGroups |
|
1125 | // Define a custom search function for the DataSource of usersGroups | |
1125 | var matchGroups = function (sQuery) { |
|
1126 | var matchGroups = function (sQuery) { | |
1126 | // Case insensitive matching |
|
1127 | // Case insensitive matching | |
1127 | var query = sQuery.toLowerCase(); |
|
1128 | var query = sQuery.toLowerCase(); | |
1128 | var i = 0; |
|
1129 | var i = 0; | |
1129 | var l = myGroups.length; |
|
1130 | var l = myGroups.length; | |
1130 | var matches = []; |
|
1131 | var matches = []; | |
1131 |
|
1132 | |||
1132 | // Match against each name of each contact |
|
1133 | // Match against each name of each contact | |
1133 | for (; i < l; i++) { |
|
1134 | for (; i < l; i++) { | |
1134 | matched_group = myGroups[i]; |
|
1135 | matched_group = myGroups[i]; | |
1135 | if (matched_group.grname.toLowerCase().indexOf(query) > -1) { |
|
1136 | if (matched_group.grname.toLowerCase().indexOf(query) > -1) { | |
1136 | matches[matches.length] = matched_group; |
|
1137 | matches[matches.length] = matched_group; | |
1137 | } |
|
1138 | } | |
1138 | } |
|
1139 | } | |
1139 | return matches; |
|
1140 | return matches; | |
1140 | }; |
|
1141 | }; | |
1141 |
|
1142 | |||
1142 | //match all |
|
1143 | //match all | |
1143 | var matchAll = function (sQuery) { |
|
1144 | var matchAll = function (sQuery) { | |
1144 | u = matchUsers(sQuery); |
|
1145 | u = matchUsers(sQuery); | |
1145 | g = matchGroups(sQuery); |
|
1146 | g = matchGroups(sQuery); | |
1146 | return u.concat(g); |
|
1147 | return u.concat(g); | |
1147 | }; |
|
1148 | }; | |
1148 |
|
1149 | |||
1149 | // DataScheme for members |
|
1150 | // DataScheme for members | |
1150 | var memberDS = new YAHOO.util.FunctionDataSource(matchAll); |
|
1151 | var memberDS = new YAHOO.util.FunctionDataSource(matchAll); | |
1151 | memberDS.responseSchema = { |
|
1152 | memberDS.responseSchema = { | |
1152 | fields: ["id", "fname", "lname", "nname", "grname", "grmembers", "gravatar_lnk"] |
|
1153 | fields: ["id", "fname", "lname", "nname", "grname", "grmembers", "gravatar_lnk"] | |
1153 | }; |
|
1154 | }; | |
1154 |
|
1155 | |||
1155 | // DataScheme for owner |
|
1156 | // DataScheme for owner | |
1156 | var ownerDS = new YAHOO.util.FunctionDataSource(matchUsers); |
|
1157 | var ownerDS = new YAHOO.util.FunctionDataSource(matchUsers); | |
1157 | ownerDS.responseSchema = { |
|
1158 | ownerDS.responseSchema = { | |
1158 | fields: ["id", "fname", "lname", "nname", "gravatar_lnk"] |
|
1159 | fields: ["id", "fname", "lname", "nname", "gravatar_lnk"] | |
1159 | }; |
|
1160 | }; | |
1160 |
|
1161 | |||
1161 | // Instantiate AutoComplete for perms |
|
1162 | // Instantiate AutoComplete for perms | |
1162 | var membersAC = new YAHOO.widget.AutoComplete(divid, cont, memberDS); |
|
1163 | var membersAC = new YAHOO.widget.AutoComplete(divid, cont, memberDS); | |
1163 | membersAC.useShadow = false; |
|
1164 | membersAC.useShadow = false; | |
1164 | membersAC.resultTypeList = false; |
|
1165 | membersAC.resultTypeList = false; | |
1165 | membersAC.animVert = false; |
|
1166 | membersAC.animVert = false; | |
1166 | membersAC.animHoriz = false; |
|
1167 | membersAC.animHoriz = false; | |
1167 | membersAC.animSpeed = 0.1; |
|
1168 | membersAC.animSpeed = 0.1; | |
1168 |
|
1169 | |||
1169 | // Instantiate AutoComplete for owner |
|
1170 | // Instantiate AutoComplete for owner | |
1170 | var ownerAC = new YAHOO.widget.AutoComplete("user", "owner_container", ownerDS); |
|
1171 | var ownerAC = new YAHOO.widget.AutoComplete("user", "owner_container", ownerDS); | |
1171 | ownerAC.useShadow = false; |
|
1172 | ownerAC.useShadow = false; | |
1172 | ownerAC.resultTypeList = false; |
|
1173 | ownerAC.resultTypeList = false; | |
1173 | ownerAC.animVert = false; |
|
1174 | ownerAC.animVert = false; | |
1174 | ownerAC.animHoriz = false; |
|
1175 | ownerAC.animHoriz = false; | |
1175 | ownerAC.animSpeed = 0.1; |
|
1176 | ownerAC.animSpeed = 0.1; | |
1176 |
|
1177 | |||
1177 | // Helper highlight function for the formatter |
|
1178 | // Helper highlight function for the formatter | |
1178 | var highlightMatch = function (full, snippet, matchindex) { |
|
1179 | var highlightMatch = function (full, snippet, matchindex) { | |
1179 | return full.substring(0, matchindex) |
|
1180 | return full.substring(0, matchindex) | |
1180 | + "<span class='match'>" |
|
1181 | + "<span class='match'>" | |
1181 | + full.substr(matchindex, snippet.length) |
|
1182 | + full.substr(matchindex, snippet.length) | |
1182 | + "</span>" + full.substring(matchindex + snippet.length); |
|
1183 | + "</span>" + full.substring(matchindex + snippet.length); | |
1183 | }; |
|
1184 | }; | |
1184 |
|
1185 | |||
1185 | // Custom formatter to highlight the matching letters |
|
1186 | // Custom formatter to highlight the matching letters | |
1186 | var custom_formatter = function (oResultData, sQuery, sResultMatch) { |
|
1187 | var custom_formatter = function (oResultData, sQuery, sResultMatch) { | |
1187 | var query = sQuery.toLowerCase(); |
|
1188 | var query = sQuery.toLowerCase(); | |
1188 | var _gravatar = function(res, em, group){ |
|
1189 | var _gravatar = function(res, em, group){ | |
1189 | if (group !== undefined){ |
|
1190 | if (group !== undefined){ | |
1190 | em = '/images/icons/group.png' |
|
1191 | em = '/images/icons/group.png' | |
1191 | } |
|
1192 | } | |
1192 | tmpl = '<div class="ac-container-wrap"><img class="perm-gravatar-ac" src="{0}"/>{1}</div>' |
|
1193 | tmpl = '<div class="ac-container-wrap"><img class="perm-gravatar-ac" src="{0}"/>{1}</div>' | |
1193 | return tmpl.format(em,res) |
|
1194 | return tmpl.format(em,res) | |
1194 | } |
|
1195 | } | |
1195 | // group |
|
1196 | // group | |
1196 | if (oResultData.grname != undefined) { |
|
1197 | if (oResultData.grname != undefined) { | |
1197 | var grname = oResultData.grname; |
|
1198 | var grname = oResultData.grname; | |
1198 | var grmembers = oResultData.grmembers; |
|
1199 | var grmembers = oResultData.grmembers; | |
1199 | var grnameMatchIndex = grname.toLowerCase().indexOf(query); |
|
1200 | var grnameMatchIndex = grname.toLowerCase().indexOf(query); | |
1200 | var grprefix = "{0}: ".format(_TM['Group']); |
|
1201 | var grprefix = "{0}: ".format(_TM['Group']); | |
1201 | var grsuffix = " (" + grmembers + " )"; |
|
1202 | var grsuffix = " (" + grmembers + " )"; | |
1202 | var grsuffix = " ({0} {1})".format(grmembers, _TM['members']); |
|
1203 | var grsuffix = " ({0} {1})".format(grmembers, _TM['members']); | |
1203 |
|
1204 | |||
1204 | if (grnameMatchIndex > -1) { |
|
1205 | if (grnameMatchIndex > -1) { | |
1205 | return _gravatar(grprefix + highlightMatch(grname, query, grnameMatchIndex) + grsuffix,null,true); |
|
1206 | return _gravatar(grprefix + highlightMatch(grname, query, grnameMatchIndex) + grsuffix,null,true); | |
1206 | } |
|
1207 | } | |
1207 | return _gravatar(grprefix + oResultData.grname + grsuffix, null,true); |
|
1208 | return _gravatar(grprefix + oResultData.grname + grsuffix, null,true); | |
1208 | // Users |
|
1209 | // Users | |
1209 | } else if (oResultData.nname != undefined) { |
|
1210 | } else if (oResultData.nname != undefined) { | |
1210 | var fname = oResultData.fname || ""; |
|
1211 | var fname = oResultData.fname || ""; | |
1211 | var lname = oResultData.lname || ""; |
|
1212 | var lname = oResultData.lname || ""; | |
1212 | var nname = oResultData.nname; |
|
1213 | var nname = oResultData.nname; | |
1213 |
|
1214 | |||
1214 | // Guard against null value |
|
1215 | // Guard against null value | |
1215 | var fnameMatchIndex = fname.toLowerCase().indexOf(query), |
|
1216 | var fnameMatchIndex = fname.toLowerCase().indexOf(query), | |
1216 | lnameMatchIndex = lname.toLowerCase().indexOf(query), |
|
1217 | lnameMatchIndex = lname.toLowerCase().indexOf(query), | |
1217 | nnameMatchIndex = nname.toLowerCase().indexOf(query), |
|
1218 | nnameMatchIndex = nname.toLowerCase().indexOf(query), | |
1218 | displayfname, displaylname, displaynname; |
|
1219 | displayfname, displaylname, displaynname; | |
1219 |
|
1220 | |||
1220 | if (fnameMatchIndex > -1) { |
|
1221 | if (fnameMatchIndex > -1) { | |
1221 | displayfname = highlightMatch(fname, query, fnameMatchIndex); |
|
1222 | displayfname = highlightMatch(fname, query, fnameMatchIndex); | |
1222 | } else { |
|
1223 | } else { | |
1223 | displayfname = fname; |
|
1224 | displayfname = fname; | |
1224 | } |
|
1225 | } | |
1225 |
|
1226 | |||
1226 | if (lnameMatchIndex > -1) { |
|
1227 | if (lnameMatchIndex > -1) { | |
1227 | displaylname = highlightMatch(lname, query, lnameMatchIndex); |
|
1228 | displaylname = highlightMatch(lname, query, lnameMatchIndex); | |
1228 | } else { |
|
1229 | } else { | |
1229 | displaylname = lname; |
|
1230 | displaylname = lname; | |
1230 | } |
|
1231 | } | |
1231 |
|
1232 | |||
1232 | if (nnameMatchIndex > -1) { |
|
1233 | if (nnameMatchIndex > -1) { | |
1233 | displaynname = "(" + highlightMatch(nname, query, nnameMatchIndex) + ")"; |
|
1234 | displaynname = "(" + highlightMatch(nname, query, nnameMatchIndex) + ")"; | |
1234 | } else { |
|
1235 | } else { | |
1235 | displaynname = nname ? "(" + nname + ")" : ""; |
|
1236 | displaynname = nname ? "(" + nname + ")" : ""; | |
1236 | } |
|
1237 | } | |
1237 |
|
1238 | |||
1238 | return _gravatar(displayfname + " " + displaylname + " " + displaynname, oResultData.gravatar_lnk); |
|
1239 | return _gravatar(displayfname + " " + displaylname + " " + displaynname, oResultData.gravatar_lnk); | |
1239 | } else { |
|
1240 | } else { | |
1240 | return ''; |
|
1241 | return ''; | |
1241 | } |
|
1242 | } | |
1242 | }; |
|
1243 | }; | |
1243 | membersAC.formatResult = custom_formatter; |
|
1244 | membersAC.formatResult = custom_formatter; | |
1244 | ownerAC.formatResult = custom_formatter; |
|
1245 | ownerAC.formatResult = custom_formatter; | |
1245 |
|
1246 | |||
1246 | var myHandler = function (sType, aArgs) { |
|
1247 | var myHandler = function (sType, aArgs) { | |
1247 | var nextId = divid.split('perm_new_member_name_')[1]; |
|
1248 | var nextId = divid.split('perm_new_member_name_')[1]; | |
1248 | var myAC = aArgs[0]; // reference back to the AC instance |
|
1249 | var myAC = aArgs[0]; // reference back to the AC instance | |
1249 | var elLI = aArgs[1]; // reference to the selected LI element |
|
1250 | var elLI = aArgs[1]; // reference to the selected LI element | |
1250 | var oData = aArgs[2]; // object literal of selected item's result data |
|
1251 | var oData = aArgs[2]; // object literal of selected item's result data | |
1251 | //fill the autocomplete with value |
|
1252 | //fill the autocomplete with value | |
1252 | if (oData.nname != undefined) { |
|
1253 | if (oData.nname != undefined) { | |
1253 | //users |
|
1254 | //users | |
1254 | myAC.getInputEl().value = oData.nname; |
|
1255 | myAC.getInputEl().value = oData.nname; | |
1255 | YUD.get('perm_new_member_type_'+nextId).value = 'user'; |
|
1256 | YUD.get('perm_new_member_type_'+nextId).value = 'user'; | |
1256 | } else { |
|
1257 | } else { | |
1257 | //groups |
|
1258 | //groups | |
1258 | myAC.getInputEl().value = oData.grname; |
|
1259 | myAC.getInputEl().value = oData.grname; | |
1259 | YUD.get('perm_new_member_type_'+nextId).value = 'users_group'; |
|
1260 | YUD.get('perm_new_member_type_'+nextId).value = 'users_group'; | |
1260 | } |
|
1261 | } | |
1261 | }; |
|
1262 | }; | |
1262 |
|
1263 | |||
1263 | membersAC.itemSelectEvent.subscribe(myHandler); |
|
1264 | membersAC.itemSelectEvent.subscribe(myHandler); | |
1264 | if(ownerAC.itemSelectEvent){ |
|
1265 | if(ownerAC.itemSelectEvent){ | |
1265 | ownerAC.itemSelectEvent.subscribe(myHandler); |
|
1266 | ownerAC.itemSelectEvent.subscribe(myHandler); | |
1266 | } |
|
1267 | } | |
1267 |
|
1268 | |||
1268 | return { |
|
1269 | return { | |
1269 | memberDS: memberDS, |
|
1270 | memberDS: memberDS, | |
1270 | ownerDS: ownerDS, |
|
1271 | ownerDS: ownerDS, | |
1271 | membersAC: membersAC, |
|
1272 | membersAC: membersAC, | |
1272 | ownerAC: ownerAC, |
|
1273 | ownerAC: ownerAC, | |
1273 | }; |
|
1274 | }; | |
1274 | } |
|
1275 | } | |
1275 |
|
1276 | |||
1276 |
|
1277 | |||
1277 | var MentionsAutoComplete = function (divid, cont, users_list, groups_list) { |
|
1278 | var MentionsAutoComplete = function (divid, cont, users_list, groups_list) { | |
1278 | var myUsers = users_list; |
|
1279 | var myUsers = users_list; | |
1279 | var myGroups = groups_list; |
|
1280 | var myGroups = groups_list; | |
1280 |
|
1281 | |||
1281 | // Define a custom search function for the DataSource of users |
|
1282 | // Define a custom search function for the DataSource of users | |
1282 | var matchUsers = function (sQuery) { |
|
1283 | var matchUsers = function (sQuery) { | |
1283 | var org_sQuery = sQuery; |
|
1284 | var org_sQuery = sQuery; | |
1284 | if(this.mentionQuery == null){ |
|
1285 | if(this.mentionQuery == null){ | |
1285 | return [] |
|
1286 | return [] | |
1286 | } |
|
1287 | } | |
1287 | sQuery = this.mentionQuery; |
|
1288 | sQuery = this.mentionQuery; | |
1288 | // Case insensitive matching |
|
1289 | // Case insensitive matching | |
1289 | var query = sQuery.toLowerCase(); |
|
1290 | var query = sQuery.toLowerCase(); | |
1290 | var i = 0; |
|
1291 | var i = 0; | |
1291 | var l = myUsers.length; |
|
1292 | var l = myUsers.length; | |
1292 | var matches = []; |
|
1293 | var matches = []; | |
1293 |
|
1294 | |||
1294 | // Match against each name of each contact |
|
1295 | // Match against each name of each contact | |
1295 | for (; i < l; i++) { |
|
1296 | for (; i < l; i++) { | |
1296 | contact = myUsers[i]; |
|
1297 | contact = myUsers[i]; | |
1297 | if (((contact.fname+"").toLowerCase().indexOf(query) > -1) || |
|
1298 | if (((contact.fname+"").toLowerCase().indexOf(query) > -1) || | |
1298 | ((contact.lname+"").toLowerCase().indexOf(query) > -1) || |
|
1299 | ((contact.lname+"").toLowerCase().indexOf(query) > -1) || | |
1299 | ((contact.nname) && ((contact.nname).toLowerCase().indexOf(query) > -1))) { |
|
1300 | ((contact.nname) && ((contact.nname).toLowerCase().indexOf(query) > -1))) { | |
1300 | matches[matches.length] = contact; |
|
1301 | matches[matches.length] = contact; | |
1301 | } |
|
1302 | } | |
1302 | } |
|
1303 | } | |
1303 | return matches |
|
1304 | return matches | |
1304 | }; |
|
1305 | }; | |
1305 |
|
1306 | |||
1306 | //match all |
|
1307 | //match all | |
1307 | var matchAll = function (sQuery) { |
|
1308 | var matchAll = function (sQuery) { | |
1308 | u = matchUsers(sQuery); |
|
1309 | u = matchUsers(sQuery); | |
1309 | return u |
|
1310 | return u | |
1310 | }; |
|
1311 | }; | |
1311 |
|
1312 | |||
1312 | // DataScheme for owner |
|
1313 | // DataScheme for owner | |
1313 | var ownerDS = new YAHOO.util.FunctionDataSource(matchUsers); |
|
1314 | var ownerDS = new YAHOO.util.FunctionDataSource(matchUsers); | |
1314 |
|
1315 | |||
1315 | ownerDS.responseSchema = { |
|
1316 | ownerDS.responseSchema = { | |
1316 | fields: ["id", "fname", "lname", "nname", "gravatar_lnk"] |
|
1317 | fields: ["id", "fname", "lname", "nname", "gravatar_lnk"] | |
1317 | }; |
|
1318 | }; | |
1318 |
|
1319 | |||
1319 | // Instantiate AutoComplete for mentions |
|
1320 | // Instantiate AutoComplete for mentions | |
1320 | var ownerAC = new YAHOO.widget.AutoComplete(divid, cont, ownerDS); |
|
1321 | var ownerAC = new YAHOO.widget.AutoComplete(divid, cont, ownerDS); | |
1321 | ownerAC.useShadow = false; |
|
1322 | ownerAC.useShadow = false; | |
1322 | ownerAC.resultTypeList = false; |
|
1323 | ownerAC.resultTypeList = false; | |
1323 | ownerAC.suppressInputUpdate = true; |
|
1324 | ownerAC.suppressInputUpdate = true; | |
1324 | ownerAC.animVert = false; |
|
1325 | ownerAC.animVert = false; | |
1325 | ownerAC.animHoriz = false; |
|
1326 | ownerAC.animHoriz = false; | |
1326 | ownerAC.animSpeed = 0.1; |
|
1327 | ownerAC.animSpeed = 0.1; | |
1327 |
|
1328 | |||
1328 | // Helper highlight function for the formatter |
|
1329 | // Helper highlight function for the formatter | |
1329 | var highlightMatch = function (full, snippet, matchindex) { |
|
1330 | var highlightMatch = function (full, snippet, matchindex) { | |
1330 | return full.substring(0, matchindex) |
|
1331 | return full.substring(0, matchindex) | |
1331 | + "<span class='match'>" |
|
1332 | + "<span class='match'>" | |
1332 | + full.substr(matchindex, snippet.length) |
|
1333 | + full.substr(matchindex, snippet.length) | |
1333 | + "</span>" + full.substring(matchindex + snippet.length); |
|
1334 | + "</span>" + full.substring(matchindex + snippet.length); | |
1334 | }; |
|
1335 | }; | |
1335 |
|
1336 | |||
1336 | // Custom formatter to highlight the matching letters |
|
1337 | // Custom formatter to highlight the matching letters | |
1337 | ownerAC.formatResult = function (oResultData, sQuery, sResultMatch) { |
|
1338 | ownerAC.formatResult = function (oResultData, sQuery, sResultMatch) { | |
1338 | var org_sQuery = sQuery; |
|
1339 | var org_sQuery = sQuery; | |
1339 | if(this.dataSource.mentionQuery != null){ |
|
1340 | if(this.dataSource.mentionQuery != null){ | |
1340 | sQuery = this.dataSource.mentionQuery; |
|
1341 | sQuery = this.dataSource.mentionQuery; | |
1341 | } |
|
1342 | } | |
1342 |
|
1343 | |||
1343 | var query = sQuery.toLowerCase(); |
|
1344 | var query = sQuery.toLowerCase(); | |
1344 | var _gravatar = function(res, em, group){ |
|
1345 | var _gravatar = function(res, em, group){ | |
1345 | if (group !== undefined){ |
|
1346 | if (group !== undefined){ | |
1346 | em = '/images/icons/group.png' |
|
1347 | em = '/images/icons/group.png' | |
1347 | } |
|
1348 | } | |
1348 | tmpl = '<div class="ac-container-wrap"><img class="perm-gravatar-ac" src="{0}"/>{1}</div>' |
|
1349 | tmpl = '<div class="ac-container-wrap"><img class="perm-gravatar-ac" src="{0}"/>{1}</div>' | |
1349 | return tmpl.format(em,res) |
|
1350 | return tmpl.format(em,res) | |
1350 | } |
|
1351 | } | |
1351 | if (oResultData.nname != undefined) { |
|
1352 | if (oResultData.nname != undefined) { | |
1352 | var fname = oResultData.fname || ""; |
|
1353 | var fname = oResultData.fname || ""; | |
1353 | var lname = oResultData.lname || ""; |
|
1354 | var lname = oResultData.lname || ""; | |
1354 | var nname = oResultData.nname; |
|
1355 | var nname = oResultData.nname; | |
1355 |
|
1356 | |||
1356 | // Guard against null value |
|
1357 | // Guard against null value | |
1357 | var fnameMatchIndex = fname.toLowerCase().indexOf(query), |
|
1358 | var fnameMatchIndex = fname.toLowerCase().indexOf(query), | |
1358 | lnameMatchIndex = lname.toLowerCase().indexOf(query), |
|
1359 | lnameMatchIndex = lname.toLowerCase().indexOf(query), | |
1359 | nnameMatchIndex = nname.toLowerCase().indexOf(query), |
|
1360 | nnameMatchIndex = nname.toLowerCase().indexOf(query), | |
1360 | displayfname, displaylname, displaynname; |
|
1361 | displayfname, displaylname, displaynname; | |
1361 |
|
1362 | |||
1362 | if (fnameMatchIndex > -1) { |
|
1363 | if (fnameMatchIndex > -1) { | |
1363 | displayfname = highlightMatch(fname, query, fnameMatchIndex); |
|
1364 | displayfname = highlightMatch(fname, query, fnameMatchIndex); | |
1364 | } else { |
|
1365 | } else { | |
1365 | displayfname = fname; |
|
1366 | displayfname = fname; | |
1366 | } |
|
1367 | } | |
1367 |
|
1368 | |||
1368 | if (lnameMatchIndex > -1) { |
|
1369 | if (lnameMatchIndex > -1) { | |
1369 | displaylname = highlightMatch(lname, query, lnameMatchIndex); |
|
1370 | displaylname = highlightMatch(lname, query, lnameMatchIndex); | |
1370 | } else { |
|
1371 | } else { | |
1371 | displaylname = lname; |
|
1372 | displaylname = lname; | |
1372 | } |
|
1373 | } | |
1373 |
|
1374 | |||
1374 | if (nnameMatchIndex > -1) { |
|
1375 | if (nnameMatchIndex > -1) { | |
1375 | displaynname = "(" + highlightMatch(nname, query, nnameMatchIndex) + ")"; |
|
1376 | displaynname = "(" + highlightMatch(nname, query, nnameMatchIndex) + ")"; | |
1376 | } else { |
|
1377 | } else { | |
1377 | displaynname = nname ? "(" + nname + ")" : ""; |
|
1378 | displaynname = nname ? "(" + nname + ")" : ""; | |
1378 | } |
|
1379 | } | |
1379 |
|
1380 | |||
1380 | return _gravatar(displayfname + " " + displaylname + " " + displaynname, oResultData.gravatar_lnk); |
|
1381 | return _gravatar(displayfname + " " + displaylname + " " + displaynname, oResultData.gravatar_lnk); | |
1381 | } else { |
|
1382 | } else { | |
1382 | return ''; |
|
1383 | return ''; | |
1383 | } |
|
1384 | } | |
1384 | }; |
|
1385 | }; | |
1385 |
|
1386 | |||
1386 | if(ownerAC.itemSelectEvent){ |
|
1387 | if(ownerAC.itemSelectEvent){ | |
1387 | ownerAC.itemSelectEvent.subscribe(function (sType, aArgs) { |
|
1388 | ownerAC.itemSelectEvent.subscribe(function (sType, aArgs) { | |
1388 |
|
1389 | |||
1389 | var myAC = aArgs[0]; // reference back to the AC instance |
|
1390 | var myAC = aArgs[0]; // reference back to the AC instance | |
1390 | var elLI = aArgs[1]; // reference to the selected LI element |
|
1391 | var elLI = aArgs[1]; // reference to the selected LI element | |
1391 | var oData = aArgs[2]; // object literal of selected item's result data |
|
1392 | var oData = aArgs[2]; // object literal of selected item's result data | |
1392 | //fill the autocomplete with value |
|
1393 | //fill the autocomplete with value | |
1393 | if (oData.nname != undefined) { |
|
1394 | if (oData.nname != undefined) { | |
1394 | //users |
|
1395 | //users | |
1395 | //Replace the mention name with replaced |
|
1396 | //Replace the mention name with replaced | |
1396 | var re = new RegExp(); |
|
1397 | var re = new RegExp(); | |
1397 | var org = myAC.getInputEl().value; |
|
1398 | var org = myAC.getInputEl().value; | |
1398 | var chunks = myAC.dataSource.chunks |
|
1399 | var chunks = myAC.dataSource.chunks | |
1399 | // replace middle chunk(the search term) with actuall match |
|
1400 | // replace middle chunk(the search term) with actuall match | |
1400 | chunks[1] = chunks[1].replace('@'+myAC.dataSource.mentionQuery, |
|
1401 | chunks[1] = chunks[1].replace('@'+myAC.dataSource.mentionQuery, | |
1401 | '@'+oData.nname+' '); |
|
1402 | '@'+oData.nname+' '); | |
1402 | myAC.getInputEl().value = chunks.join('') |
|
1403 | myAC.getInputEl().value = chunks.join('') | |
1403 | YUD.get(myAC.getInputEl()).focus(); // Y U NO WORK !? |
|
1404 | YUD.get(myAC.getInputEl()).focus(); // Y U NO WORK !? | |
1404 | } else { |
|
1405 | } else { | |
1405 | //groups |
|
1406 | //groups | |
1406 | myAC.getInputEl().value = oData.grname; |
|
1407 | myAC.getInputEl().value = oData.grname; | |
1407 | YUD.get('perm_new_member_type').value = 'users_group'; |
|
1408 | YUD.get('perm_new_member_type').value = 'users_group'; | |
1408 | } |
|
1409 | } | |
1409 | }); |
|
1410 | }); | |
1410 | } |
|
1411 | } | |
1411 |
|
1412 | |||
1412 | // in this keybuffer we will gather current value of search ! |
|
1413 | // in this keybuffer we will gather current value of search ! | |
1413 | // since we need to get this just when someone does `@` then we do the |
|
1414 | // since we need to get this just when someone does `@` then we do the | |
1414 | // search |
|
1415 | // search | |
1415 | ownerAC.dataSource.chunks = []; |
|
1416 | ownerAC.dataSource.chunks = []; | |
1416 | ownerAC.dataSource.mentionQuery = null; |
|
1417 | ownerAC.dataSource.mentionQuery = null; | |
1417 |
|
1418 | |||
1418 | ownerAC.get_mention = function(msg, max_pos) { |
|
1419 | ownerAC.get_mention = function(msg, max_pos) { | |
1419 | var org = msg; |
|
1420 | var org = msg; | |
1420 | var re = new RegExp('(?:^@|\s@)([a-zA-Z0-9]{1}[a-zA-Z0-9\-\_\.]+)$') |
|
1421 | var re = new RegExp('(?:^@|\s@)([a-zA-Z0-9]{1}[a-zA-Z0-9\-\_\.]+)$') | |
1421 | var chunks = []; |
|
1422 | var chunks = []; | |
1422 |
|
1423 | |||
1423 |
|
1424 | |||
1424 | // cut first chunk until curret pos |
|
1425 | // cut first chunk until curret pos | |
1425 | var to_max = msg.substr(0, max_pos); |
|
1426 | var to_max = msg.substr(0, max_pos); | |
1426 | var at_pos = Math.max(0,to_max.lastIndexOf('@')-1); |
|
1427 | var at_pos = Math.max(0,to_max.lastIndexOf('@')-1); | |
1427 | var msg2 = to_max.substr(at_pos); |
|
1428 | var msg2 = to_max.substr(at_pos); | |
1428 |
|
1429 | |||
1429 | chunks.push(org.substr(0,at_pos))// prefix chunk |
|
1430 | chunks.push(org.substr(0,at_pos))// prefix chunk | |
1430 | chunks.push(msg2) // search chunk |
|
1431 | chunks.push(msg2) // search chunk | |
1431 | chunks.push(org.substr(max_pos)) // postfix chunk |
|
1432 | chunks.push(org.substr(max_pos)) // postfix chunk | |
1432 |
|
1433 | |||
1433 | // clean up msg2 for filtering and regex match |
|
1434 | // clean up msg2 for filtering and regex match | |
1434 | var msg2 = msg2.lstrip(' ').lstrip('\n'); |
|
1435 | var msg2 = msg2.lstrip(' ').lstrip('\n'); | |
1435 |
|
1436 | |||
1436 | if(re.test(msg2)){ |
|
1437 | if(re.test(msg2)){ | |
1437 | var unam = re.exec(msg2)[1]; |
|
1438 | var unam = re.exec(msg2)[1]; | |
1438 | return [unam, chunks]; |
|
1439 | return [unam, chunks]; | |
1439 | } |
|
1440 | } | |
1440 | return [null, null]; |
|
1441 | return [null, null]; | |
1441 | }; |
|
1442 | }; | |
1442 |
|
1443 | |||
1443 | if (ownerAC.textboxKeyUpEvent){ |
|
1444 | if (ownerAC.textboxKeyUpEvent){ | |
1444 | ownerAC.textboxKeyUpEvent.subscribe(function(type, args){ |
|
1445 | ownerAC.textboxKeyUpEvent.subscribe(function(type, args){ | |
1445 |
|
1446 | |||
1446 | var ac_obj = args[0]; |
|
1447 | var ac_obj = args[0]; | |
1447 | var currentMessage = args[1]; |
|
1448 | var currentMessage = args[1]; | |
1448 | var currentCaretPosition = args[0]._elTextbox.selectionStart; |
|
1449 | var currentCaretPosition = args[0]._elTextbox.selectionStart; | |
1449 |
|
1450 | |||
1450 | var unam = ownerAC.get_mention(currentMessage, currentCaretPosition); |
|
1451 | var unam = ownerAC.get_mention(currentMessage, currentCaretPosition); | |
1451 | var curr_search = null; |
|
1452 | var curr_search = null; | |
1452 | if(unam[0]){ |
|
1453 | if(unam[0]){ | |
1453 | curr_search = unam[0]; |
|
1454 | curr_search = unam[0]; | |
1454 | } |
|
1455 | } | |
1455 |
|
1456 | |||
1456 | ownerAC.dataSource.chunks = unam[1]; |
|
1457 | ownerAC.dataSource.chunks = unam[1]; | |
1457 | ownerAC.dataSource.mentionQuery = curr_search; |
|
1458 | ownerAC.dataSource.mentionQuery = curr_search; | |
1458 |
|
1459 | |||
1459 | }) |
|
1460 | }) | |
1460 | } |
|
1461 | } | |
1461 | return { |
|
1462 | return { | |
1462 | ownerDS: ownerDS, |
|
1463 | ownerDS: ownerDS, | |
1463 | ownerAC: ownerAC, |
|
1464 | ownerAC: ownerAC, | |
1464 | }; |
|
1465 | }; | |
1465 | } |
|
1466 | } | |
1466 |
|
1467 | |||
1467 |
|
1468 | |||
1468 | var PullRequestAutoComplete = function (divid, cont, users_list, groups_list) { |
|
1469 | var PullRequestAutoComplete = function (divid, cont, users_list, groups_list) { | |
1469 | var myUsers = users_list; |
|
1470 | var myUsers = users_list; | |
1470 | var myGroups = groups_list; |
|
1471 | var myGroups = groups_list; | |
1471 |
|
1472 | |||
1472 | // Define a custom search function for the DataSource of users |
|
1473 | // Define a custom search function for the DataSource of users | |
1473 | var matchUsers = function (sQuery) { |
|
1474 | var matchUsers = function (sQuery) { | |
1474 | // Case insensitive matching |
|
1475 | // Case insensitive matching | |
1475 | var query = sQuery.toLowerCase(); |
|
1476 | var query = sQuery.toLowerCase(); | |
1476 | var i = 0; |
|
1477 | var i = 0; | |
1477 | var l = myUsers.length; |
|
1478 | var l = myUsers.length; | |
1478 | var matches = []; |
|
1479 | var matches = []; | |
1479 |
|
1480 | |||
1480 | // Match against each name of each contact |
|
1481 | // Match against each name of each contact | |
1481 | for (; i < l; i++) { |
|
1482 | for (; i < l; i++) { | |
1482 | contact = myUsers[i]; |
|
1483 | contact = myUsers[i]; | |
1483 | if (((contact.fname+"").toLowerCase().indexOf(query) > -1) || |
|
1484 | if (((contact.fname+"").toLowerCase().indexOf(query) > -1) || | |
1484 | ((contact.lname+"").toLowerCase().indexOf(query) > -1) || |
|
1485 | ((contact.lname+"").toLowerCase().indexOf(query) > -1) || | |
1485 | ((contact.nname) && ((contact.nname).toLowerCase().indexOf(query) > -1))) { |
|
1486 | ((contact.nname) && ((contact.nname).toLowerCase().indexOf(query) > -1))) { | |
1486 | matches[matches.length] = contact; |
|
1487 | matches[matches.length] = contact; | |
1487 | } |
|
1488 | } | |
1488 | } |
|
1489 | } | |
1489 | return matches; |
|
1490 | return matches; | |
1490 | }; |
|
1491 | }; | |
1491 |
|
1492 | |||
1492 | // Define a custom search function for the DataSource of usersGroups |
|
1493 | // Define a custom search function for the DataSource of usersGroups | |
1493 | var matchGroups = function (sQuery) { |
|
1494 | var matchGroups = function (sQuery) { | |
1494 | // Case insensitive matching |
|
1495 | // Case insensitive matching | |
1495 | var query = sQuery.toLowerCase(); |
|
1496 | var query = sQuery.toLowerCase(); | |
1496 | var i = 0; |
|
1497 | var i = 0; | |
1497 | var l = myGroups.length; |
|
1498 | var l = myGroups.length; | |
1498 | var matches = []; |
|
1499 | var matches = []; | |
1499 |
|
1500 | |||
1500 | // Match against each name of each contact |
|
1501 | // Match against each name of each contact | |
1501 | for (; i < l; i++) { |
|
1502 | for (; i < l; i++) { | |
1502 | matched_group = myGroups[i]; |
|
1503 | matched_group = myGroups[i]; | |
1503 | if (matched_group.grname.toLowerCase().indexOf(query) > -1) { |
|
1504 | if (matched_group.grname.toLowerCase().indexOf(query) > -1) { | |
1504 | matches[matches.length] = matched_group; |
|
1505 | matches[matches.length] = matched_group; | |
1505 | } |
|
1506 | } | |
1506 | } |
|
1507 | } | |
1507 | return matches; |
|
1508 | return matches; | |
1508 | }; |
|
1509 | }; | |
1509 |
|
1510 | |||
1510 | //match all |
|
1511 | //match all | |
1511 | var matchAll = function (sQuery) { |
|
1512 | var matchAll = function (sQuery) { | |
1512 | u = matchUsers(sQuery); |
|
1513 | u = matchUsers(sQuery); | |
1513 | return u |
|
1514 | return u | |
1514 | }; |
|
1515 | }; | |
1515 |
|
1516 | |||
1516 | // DataScheme for owner |
|
1517 | // DataScheme for owner | |
1517 | var ownerDS = new YAHOO.util.FunctionDataSource(matchUsers); |
|
1518 | var ownerDS = new YAHOO.util.FunctionDataSource(matchUsers); | |
1518 |
|
1519 | |||
1519 | ownerDS.responseSchema = { |
|
1520 | ownerDS.responseSchema = { | |
1520 | fields: ["id", "fname", "lname", "nname", "gravatar_lnk"] |
|
1521 | fields: ["id", "fname", "lname", "nname", "gravatar_lnk"] | |
1521 | }; |
|
1522 | }; | |
1522 |
|
1523 | |||
1523 | // Instantiate AutoComplete for mentions |
|
1524 | // Instantiate AutoComplete for mentions | |
1524 | var reviewerAC = new YAHOO.widget.AutoComplete(divid, cont, ownerDS); |
|
1525 | var reviewerAC = new YAHOO.widget.AutoComplete(divid, cont, ownerDS); | |
1525 | reviewerAC.useShadow = false; |
|
1526 | reviewerAC.useShadow = false; | |
1526 | reviewerAC.resultTypeList = false; |
|
1527 | reviewerAC.resultTypeList = false; | |
1527 | reviewerAC.suppressInputUpdate = true; |
|
1528 | reviewerAC.suppressInputUpdate = true; | |
1528 | reviewerAC.animVert = false; |
|
1529 | reviewerAC.animVert = false; | |
1529 | reviewerAC.animHoriz = false; |
|
1530 | reviewerAC.animHoriz = false; | |
1530 | reviewerAC.animSpeed = 0.1; |
|
1531 | reviewerAC.animSpeed = 0.1; | |
1531 |
|
1532 | |||
1532 | // Helper highlight function for the formatter |
|
1533 | // Helper highlight function for the formatter | |
1533 | var highlightMatch = function (full, snippet, matchindex) { |
|
1534 | var highlightMatch = function (full, snippet, matchindex) { | |
1534 | return full.substring(0, matchindex) |
|
1535 | return full.substring(0, matchindex) | |
1535 | + "<span class='match'>" |
|
1536 | + "<span class='match'>" | |
1536 | + full.substr(matchindex, snippet.length) |
|
1537 | + full.substr(matchindex, snippet.length) | |
1537 | + "</span>" + full.substring(matchindex + snippet.length); |
|
1538 | + "</span>" + full.substring(matchindex + snippet.length); | |
1538 | }; |
|
1539 | }; | |
1539 |
|
1540 | |||
1540 | // Custom formatter to highlight the matching letters |
|
1541 | // Custom formatter to highlight the matching letters | |
1541 | reviewerAC.formatResult = function (oResultData, sQuery, sResultMatch) { |
|
1542 | reviewerAC.formatResult = function (oResultData, sQuery, sResultMatch) { | |
1542 | var org_sQuery = sQuery; |
|
1543 | var org_sQuery = sQuery; | |
1543 | if(this.dataSource.mentionQuery != null){ |
|
1544 | if(this.dataSource.mentionQuery != null){ | |
1544 | sQuery = this.dataSource.mentionQuery; |
|
1545 | sQuery = this.dataSource.mentionQuery; | |
1545 | } |
|
1546 | } | |
1546 |
|
1547 | |||
1547 | var query = sQuery.toLowerCase(); |
|
1548 | var query = sQuery.toLowerCase(); | |
1548 | var _gravatar = function(res, em, group){ |
|
1549 | var _gravatar = function(res, em, group){ | |
1549 | if (group !== undefined){ |
|
1550 | if (group !== undefined){ | |
1550 | em = '/images/icons/group.png' |
|
1551 | em = '/images/icons/group.png' | |
1551 | } |
|
1552 | } | |
1552 | tmpl = '<div class="ac-container-wrap"><img class="perm-gravatar-ac" src="{0}"/>{1}</div>' |
|
1553 | tmpl = '<div class="ac-container-wrap"><img class="perm-gravatar-ac" src="{0}"/>{1}</div>' | |
1553 | return tmpl.format(em,res) |
|
1554 | return tmpl.format(em,res) | |
1554 | } |
|
1555 | } | |
1555 | if (oResultData.nname != undefined) { |
|
1556 | if (oResultData.nname != undefined) { | |
1556 | var fname = oResultData.fname || ""; |
|
1557 | var fname = oResultData.fname || ""; | |
1557 | var lname = oResultData.lname || ""; |
|
1558 | var lname = oResultData.lname || ""; | |
1558 | var nname = oResultData.nname; |
|
1559 | var nname = oResultData.nname; | |
1559 |
|
1560 | |||
1560 | // Guard against null value |
|
1561 | // Guard against null value | |
1561 | var fnameMatchIndex = fname.toLowerCase().indexOf(query), |
|
1562 | var fnameMatchIndex = fname.toLowerCase().indexOf(query), | |
1562 | lnameMatchIndex = lname.toLowerCase().indexOf(query), |
|
1563 | lnameMatchIndex = lname.toLowerCase().indexOf(query), | |
1563 | nnameMatchIndex = nname.toLowerCase().indexOf(query), |
|
1564 | nnameMatchIndex = nname.toLowerCase().indexOf(query), | |
1564 | displayfname, displaylname, displaynname; |
|
1565 | displayfname, displaylname, displaynname; | |
1565 |
|
1566 | |||
1566 | if (fnameMatchIndex > -1) { |
|
1567 | if (fnameMatchIndex > -1) { | |
1567 | displayfname = highlightMatch(fname, query, fnameMatchIndex); |
|
1568 | displayfname = highlightMatch(fname, query, fnameMatchIndex); | |
1568 | } else { |
|
1569 | } else { | |
1569 | displayfname = fname; |
|
1570 | displayfname = fname; | |
1570 | } |
|
1571 | } | |
1571 |
|
1572 | |||
1572 | if (lnameMatchIndex > -1) { |
|
1573 | if (lnameMatchIndex > -1) { | |
1573 | displaylname = highlightMatch(lname, query, lnameMatchIndex); |
|
1574 | displaylname = highlightMatch(lname, query, lnameMatchIndex); | |
1574 | } else { |
|
1575 | } else { | |
1575 | displaylname = lname; |
|
1576 | displaylname = lname; | |
1576 | } |
|
1577 | } | |
1577 |
|
1578 | |||
1578 | if (nnameMatchIndex > -1) { |
|
1579 | if (nnameMatchIndex > -1) { | |
1579 | displaynname = "(" + highlightMatch(nname, query, nnameMatchIndex) + ")"; |
|
1580 | displaynname = "(" + highlightMatch(nname, query, nnameMatchIndex) + ")"; | |
1580 | } else { |
|
1581 | } else { | |
1581 | displaynname = nname ? "(" + nname + ")" : ""; |
|
1582 | displaynname = nname ? "(" + nname + ")" : ""; | |
1582 | } |
|
1583 | } | |
1583 |
|
1584 | |||
1584 | return _gravatar(displayfname + " " + displaylname + " " + displaynname, oResultData.gravatar_lnk); |
|
1585 | return _gravatar(displayfname + " " + displaylname + " " + displaynname, oResultData.gravatar_lnk); | |
1585 | } else { |
|
1586 | } else { | |
1586 | return ''; |
|
1587 | return ''; | |
1587 | } |
|
1588 | } | |
1588 | }; |
|
1589 | }; | |
1589 |
|
1590 | |||
1590 | //members cache to catch duplicates |
|
1591 | //members cache to catch duplicates | |
1591 | reviewerAC.dataSource.cache = []; |
|
1592 | reviewerAC.dataSource.cache = []; | |
1592 | // hack into select event |
|
1593 | // hack into select event | |
1593 | if(reviewerAC.itemSelectEvent){ |
|
1594 | if(reviewerAC.itemSelectEvent){ | |
1594 | reviewerAC.itemSelectEvent.subscribe(function (sType, aArgs) { |
|
1595 | reviewerAC.itemSelectEvent.subscribe(function (sType, aArgs) { | |
1595 |
|
1596 | |||
1596 | var myAC = aArgs[0]; // reference back to the AC instance |
|
1597 | var myAC = aArgs[0]; // reference back to the AC instance | |
1597 | var elLI = aArgs[1]; // reference to the selected LI element |
|
1598 | var elLI = aArgs[1]; // reference to the selected LI element | |
1598 | var oData = aArgs[2]; // object literal of selected item's result data |
|
1599 | var oData = aArgs[2]; // object literal of selected item's result data | |
1599 | var members = YUD.get('review_members'); |
|
1600 | var members = YUD.get('review_members'); | |
1600 | //fill the autocomplete with value |
|
1601 | //fill the autocomplete with value | |
1601 |
|
1602 | |||
1602 | if (oData.nname != undefined) { |
|
1603 | if (oData.nname != undefined) { | |
1603 | if (myAC.dataSource.cache.indexOf(oData.id) != -1){ |
|
1604 | if (myAC.dataSource.cache.indexOf(oData.id) != -1){ | |
1604 | return |
|
1605 | return | |
1605 | } |
|
1606 | } | |
1606 |
|
1607 | |||
1607 | var tmpl = '<li id="reviewer_{2}">'+ |
|
1608 | var tmpl = '<li id="reviewer_{2}">'+ | |
1608 | '<div class="reviewers_member">'+ |
|
1609 | '<div class="reviewers_member">'+ | |
1609 | '<div class="gravatar"><img alt="gravatar" src="{0}"/> </div>'+ |
|
1610 | '<div class="gravatar"><img alt="gravatar" src="{0}"/> </div>'+ | |
1610 | '<div style="float:left">{1}</div>'+ |
|
1611 | '<div style="float:left">{1}</div>'+ | |
1611 | '<input type="hidden" value="{2}" name="review_members" />'+ |
|
1612 | '<input type="hidden" value="{2}" name="review_members" />'+ | |
1612 | '<span class="delete_icon action_button" onclick="removeReviewer({2})"></span>'+ |
|
1613 | '<span class="delete_icon action_button" onclick="removeReviewer({2})"></span>'+ | |
1613 | '</div>'+ |
|
1614 | '</div>'+ | |
1614 | '</li>' |
|
1615 | '</li>' | |
1615 |
|
1616 | |||
1616 | var displayname = "{0} {1} ({2})".format(oData.fname,oData.lname,oData.nname); |
|
1617 | var displayname = "{0} {1} ({2})".format(oData.fname,oData.lname,oData.nname); | |
1617 | var element = tmpl.format(oData.gravatar_lnk,displayname,oData.id); |
|
1618 | var element = tmpl.format(oData.gravatar_lnk,displayname,oData.id); | |
1618 | members.innerHTML += element; |
|
1619 | members.innerHTML += element; | |
1619 | myAC.dataSource.cache.push(oData.id); |
|
1620 | myAC.dataSource.cache.push(oData.id); | |
1620 | YUD.get('user').value = '' |
|
1621 | YUD.get('user').value = '' | |
1621 | } |
|
1622 | } | |
1622 | }); |
|
1623 | }); | |
1623 | } |
|
1624 | } | |
1624 | return { |
|
1625 | return { | |
1625 | ownerDS: ownerDS, |
|
1626 | ownerDS: ownerDS, | |
1626 | reviewerAC: reviewerAC, |
|
1627 | reviewerAC: reviewerAC, | |
1627 | }; |
|
1628 | }; | |
1628 | } |
|
1629 | } | |
1629 |
|
1630 | |||
1630 |
|
1631 | |||
1631 | /** |
|
1632 | /** | |
1632 | * QUICK REPO MENU |
|
1633 | * QUICK REPO MENU | |
1633 | */ |
|
1634 | */ | |
1634 | var quick_repo_menu = function(){ |
|
1635 | var quick_repo_menu = function(){ | |
1635 | YUE.on(YUQ('.quick_repo_menu'),'mouseenter',function(e){ |
|
1636 | YUE.on(YUQ('.quick_repo_menu'),'mouseenter',function(e){ | |
1636 | var menu = e.currentTarget.firstElementChild.firstElementChild; |
|
1637 | var menu = e.currentTarget.firstElementChild.firstElementChild; | |
1637 | if(YUD.hasClass(menu,'hidden')){ |
|
1638 | if(YUD.hasClass(menu,'hidden')){ | |
1638 | YUD.replaceClass(e.currentTarget,'hidden', 'active'); |
|
1639 | YUD.replaceClass(e.currentTarget,'hidden', 'active'); | |
1639 | YUD.replaceClass(menu, 'hidden', 'active'); |
|
1640 | YUD.replaceClass(menu, 'hidden', 'active'); | |
1640 | } |
|
1641 | } | |
1641 | }) |
|
1642 | }) | |
1642 | YUE.on(YUQ('.quick_repo_menu'),'mouseleave',function(e){ |
|
1643 | YUE.on(YUQ('.quick_repo_menu'),'mouseleave',function(e){ | |
1643 | var menu = e.currentTarget.firstElementChild.firstElementChild; |
|
1644 | var menu = e.currentTarget.firstElementChild.firstElementChild; | |
1644 | if(YUD.hasClass(menu,'active')){ |
|
1645 | if(YUD.hasClass(menu,'active')){ | |
1645 | YUD.replaceClass(e.currentTarget, 'active', 'hidden'); |
|
1646 | YUD.replaceClass(e.currentTarget, 'active', 'hidden'); | |
1646 | YUD.replaceClass(menu, 'active', 'hidden'); |
|
1647 | YUD.replaceClass(menu, 'active', 'hidden'); | |
1647 | } |
|
1648 | } | |
1648 | }) |
|
1649 | }) | |
1649 | }; |
|
1650 | }; | |
1650 |
|
1651 | |||
1651 |
|
1652 | |||
1652 | /** |
|
1653 | /** | |
1653 | * TABLE SORTING |
|
1654 | * TABLE SORTING | |
1654 | */ |
|
1655 | */ | |
1655 |
|
1656 | |||
1656 | // returns a node from given html; |
|
1657 | // returns a node from given html; | |
1657 | var fromHTML = function(html){ |
|
1658 | var fromHTML = function(html){ | |
1658 | var _html = document.createElement('element'); |
|
1659 | var _html = document.createElement('element'); | |
1659 | _html.innerHTML = html; |
|
1660 | _html.innerHTML = html; | |
1660 | return _html; |
|
1661 | return _html; | |
1661 | } |
|
1662 | } | |
1662 | var get_rev = function(node){ |
|
1663 | var get_rev = function(node){ | |
1663 | var n = node.firstElementChild.firstElementChild; |
|
1664 | var n = node.firstElementChild.firstElementChild; | |
1664 |
|
1665 | |||
1665 | if (n===null){ |
|
1666 | if (n===null){ | |
1666 | return -1 |
|
1667 | return -1 | |
1667 | } |
|
1668 | } | |
1668 | else{ |
|
1669 | else{ | |
1669 | out = n.firstElementChild.innerHTML.split(':')[0].replace('r',''); |
|
1670 | out = n.firstElementChild.innerHTML.split(':')[0].replace('r',''); | |
1670 | return parseInt(out); |
|
1671 | return parseInt(out); | |
1671 | } |
|
1672 | } | |
1672 | } |
|
1673 | } | |
1673 |
|
1674 | |||
1674 | var get_name = function(node){ |
|
1675 | var get_name = function(node){ | |
1675 | var name = node.firstElementChild.children[2].innerHTML; |
|
1676 | var name = node.firstElementChild.children[2].innerHTML; | |
1676 | return name |
|
1677 | return name | |
1677 | } |
|
1678 | } | |
1678 | var get_group_name = function(node){ |
|
1679 | var get_group_name = function(node){ | |
1679 | var name = node.firstElementChild.children[1].innerHTML; |
|
1680 | var name = node.firstElementChild.children[1].innerHTML; | |
1680 | return name |
|
1681 | return name | |
1681 | } |
|
1682 | } | |
1682 | var get_date = function(node){ |
|
1683 | var get_date = function(node){ | |
1683 | var date_ = YUD.getAttribute(node.firstElementChild,'date'); |
|
1684 | var date_ = YUD.getAttribute(node.firstElementChild,'date'); | |
1684 | return date_ |
|
1685 | return date_ | |
1685 | } |
|
1686 | } | |
1686 |
|
1687 | |||
1687 | var get_age = function(node){ |
|
1688 | var get_age = function(node){ | |
1688 | return node |
|
1689 | return node | |
1689 | } |
|
1690 | } | |
1690 |
|
1691 | |||
1691 | var get_link = function(node){ |
|
1692 | var get_link = function(node){ | |
1692 | return node.firstElementChild.text; |
|
1693 | return node.firstElementChild.text; | |
1693 | } |
|
1694 | } | |
1694 |
|
1695 | |||
1695 | var revisionSort = function(a, b, desc, field) { |
|
1696 | var revisionSort = function(a, b, desc, field) { | |
1696 |
|
1697 | |||
1697 | var a_ = fromHTML(a.getData(field)); |
|
1698 | var a_ = fromHTML(a.getData(field)); | |
1698 | var b_ = fromHTML(b.getData(field)); |
|
1699 | var b_ = fromHTML(b.getData(field)); | |
1699 |
|
1700 | |||
1700 | // extract revisions from string nodes |
|
1701 | // extract revisions from string nodes | |
1701 | a_ = get_rev(a_) |
|
1702 | a_ = get_rev(a_) | |
1702 | b_ = get_rev(b_) |
|
1703 | b_ = get_rev(b_) | |
1703 |
|
1704 | |||
1704 | var comp = YAHOO.util.Sort.compare; |
|
1705 | var comp = YAHOO.util.Sort.compare; | |
1705 | var compState = comp(a_, b_, desc); |
|
1706 | var compState = comp(a_, b_, desc); | |
1706 | return compState; |
|
1707 | return compState; | |
1707 | }; |
|
1708 | }; | |
1708 | var ageSort = function(a, b, desc, field) { |
|
1709 | var ageSort = function(a, b, desc, field) { | |
1709 | var a_ = fromHTML(a.getData(field)); |
|
1710 | var a_ = fromHTML(a.getData(field)); | |
1710 | var b_ = fromHTML(b.getData(field)); |
|
1711 | var b_ = fromHTML(b.getData(field)); | |
1711 |
|
1712 | |||
1712 | // extract name from table |
|
1713 | // extract name from table | |
1713 | a_ = get_date(a_) |
|
1714 | a_ = get_date(a_) | |
1714 | b_ = get_date(b_) |
|
1715 | b_ = get_date(b_) | |
1715 |
|
1716 | |||
1716 | var comp = YAHOO.util.Sort.compare; |
|
1717 | var comp = YAHOO.util.Sort.compare; | |
1717 | var compState = comp(a_, b_, desc); |
|
1718 | var compState = comp(a_, b_, desc); | |
1718 | return compState; |
|
1719 | return compState; | |
1719 | }; |
|
1720 | }; | |
1720 |
|
1721 | |||
1721 | var lastLoginSort = function(a, b, desc, field) { |
|
1722 | var lastLoginSort = function(a, b, desc, field) { | |
1722 | var a_ = a.getData('last_login_raw') || 0; |
|
1723 | var a_ = a.getData('last_login_raw') || 0; | |
1723 | var b_ = b.getData('last_login_raw') || 0; |
|
1724 | var b_ = b.getData('last_login_raw') || 0; | |
1724 |
|
1725 | |||
1725 | var comp = YAHOO.util.Sort.compare; |
|
1726 | var comp = YAHOO.util.Sort.compare; | |
1726 | var compState = comp(a_, b_, desc); |
|
1727 | var compState = comp(a_, b_, desc); | |
1727 | return compState; |
|
1728 | return compState; | |
1728 | }; |
|
1729 | }; | |
1729 |
|
1730 | |||
1730 | var nameSort = function(a, b, desc, field) { |
|
1731 | var nameSort = function(a, b, desc, field) { | |
1731 | var a_ = fromHTML(a.getData(field)); |
|
1732 | var a_ = fromHTML(a.getData(field)); | |
1732 | var b_ = fromHTML(b.getData(field)); |
|
1733 | var b_ = fromHTML(b.getData(field)); | |
1733 |
|
1734 | |||
1734 | // extract name from table |
|
1735 | // extract name from table | |
1735 | a_ = get_name(a_) |
|
1736 | a_ = get_name(a_) | |
1736 | b_ = get_name(b_) |
|
1737 | b_ = get_name(b_) | |
1737 |
|
1738 | |||
1738 | var comp = YAHOO.util.Sort.compare; |
|
1739 | var comp = YAHOO.util.Sort.compare; | |
1739 | var compState = comp(a_, b_, desc); |
|
1740 | var compState = comp(a_, b_, desc); | |
1740 | return compState; |
|
1741 | return compState; | |
1741 | }; |
|
1742 | }; | |
1742 |
|
1743 | |||
1743 | var permNameSort = function(a, b, desc, field) { |
|
1744 | var permNameSort = function(a, b, desc, field) { | |
1744 | var a_ = fromHTML(a.getData(field)); |
|
1745 | var a_ = fromHTML(a.getData(field)); | |
1745 | var b_ = fromHTML(b.getData(field)); |
|
1746 | var b_ = fromHTML(b.getData(field)); | |
1746 | // extract name from table |
|
1747 | // extract name from table | |
1747 |
|
1748 | |||
1748 | a_ = a_.children[0].innerHTML; |
|
1749 | a_ = a_.children[0].innerHTML; | |
1749 | b_ = b_.children[0].innerHTML; |
|
1750 | b_ = b_.children[0].innerHTML; | |
1750 |
|
1751 | |||
1751 | var comp = YAHOO.util.Sort.compare; |
|
1752 | var comp = YAHOO.util.Sort.compare; | |
1752 | var compState = comp(a_, b_, desc); |
|
1753 | var compState = comp(a_, b_, desc); | |
1753 | return compState; |
|
1754 | return compState; | |
1754 | }; |
|
1755 | }; | |
1755 |
|
1756 | |||
1756 | var groupNameSort = function(a, b, desc, field) { |
|
1757 | var groupNameSort = function(a, b, desc, field) { | |
1757 | var a_ = fromHTML(a.getData(field)); |
|
1758 | var a_ = fromHTML(a.getData(field)); | |
1758 | var b_ = fromHTML(b.getData(field)); |
|
1759 | var b_ = fromHTML(b.getData(field)); | |
1759 |
|
1760 | |||
1760 | // extract name from table |
|
1761 | // extract name from table | |
1761 | a_ = get_group_name(a_) |
|
1762 | a_ = get_group_name(a_) | |
1762 | b_ = get_group_name(b_) |
|
1763 | b_ = get_group_name(b_) | |
1763 |
|
1764 | |||
1764 | var comp = YAHOO.util.Sort.compare; |
|
1765 | var comp = YAHOO.util.Sort.compare; | |
1765 | var compState = comp(a_, b_, desc); |
|
1766 | var compState = comp(a_, b_, desc); | |
1766 | return compState; |
|
1767 | return compState; | |
1767 | }; |
|
1768 | }; | |
1768 | var dateSort = function(a, b, desc, field) { |
|
1769 | var dateSort = function(a, b, desc, field) { | |
1769 | var a_ = fromHTML(a.getData(field)); |
|
1770 | var a_ = fromHTML(a.getData(field)); | |
1770 | var b_ = fromHTML(b.getData(field)); |
|
1771 | var b_ = fromHTML(b.getData(field)); | |
1771 |
|
1772 | |||
1772 | // extract name from table |
|
1773 | // extract name from table | |
1773 | a_ = get_date(a_) |
|
1774 | a_ = get_date(a_) | |
1774 | b_ = get_date(b_) |
|
1775 | b_ = get_date(b_) | |
1775 |
|
1776 | |||
1776 | var comp = YAHOO.util.Sort.compare; |
|
1777 | var comp = YAHOO.util.Sort.compare; | |
1777 | var compState = comp(a_, b_, desc); |
|
1778 | var compState = comp(a_, b_, desc); | |
1778 | return compState; |
|
1779 | return compState; | |
1779 | }; |
|
1780 | }; | |
1780 |
|
1781 | |||
1781 | var linkSort = function(a, b, desc, field) { |
|
1782 | var linkSort = function(a, b, desc, field) { | |
1782 | var a_ = fromHTML(a.getData(field)); |
|
1783 | var a_ = fromHTML(a.getData(field)); | |
1783 | var b_ = fromHTML(a.getData(field)); |
|
1784 | var b_ = fromHTML(a.getData(field)); | |
1784 |
|
1785 | |||
1785 | // extract url text from string nodes |
|
1786 | // extract url text from string nodes | |
1786 | a_ = get_link(a_) |
|
1787 | a_ = get_link(a_) | |
1787 | b_ = get_link(b_) |
|
1788 | b_ = get_link(b_) | |
1788 |
|
1789 | |||
1789 | var comp = YAHOO.util.Sort.compare; |
|
1790 | var comp = YAHOO.util.Sort.compare; | |
1790 | var compState = comp(a_, b_, desc); |
|
1791 | var compState = comp(a_, b_, desc); | |
1791 | return compState; |
|
1792 | return compState; | |
1792 | } |
|
1793 | } | |
1793 |
|
1794 | |||
1794 | var addPermAction = function(_html, users_list, groups_list){ |
|
1795 | var addPermAction = function(_html, users_list, groups_list){ | |
1795 | var elmts = YUD.getElementsByClassName('last_new_member'); |
|
1796 | var elmts = YUD.getElementsByClassName('last_new_member'); | |
1796 | var last_node = elmts[elmts.length-1]; |
|
1797 | var last_node = elmts[elmts.length-1]; | |
1797 | if (last_node){ |
|
1798 | if (last_node){ | |
1798 | var next_id = (YUD.getElementsByClassName('new_members')).length; |
|
1799 | var next_id = (YUD.getElementsByClassName('new_members')).length; | |
1799 | _html = _html.format(next_id); |
|
1800 | _html = _html.format(next_id); | |
1800 | last_node.innerHTML = _html; |
|
1801 | last_node.innerHTML = _html; | |
1801 | YUD.setStyle(last_node, 'display', ''); |
|
1802 | YUD.setStyle(last_node, 'display', ''); | |
1802 | YUD.removeClass(last_node, 'last_new_member'); |
|
1803 | YUD.removeClass(last_node, 'last_new_member'); | |
1803 | MembersAutoComplete("perm_new_member_name_"+next_id, |
|
1804 | MembersAutoComplete("perm_new_member_name_"+next_id, | |
1804 | "perm_container_"+next_id, users_list, groups_list); |
|
1805 | "perm_container_"+next_id, users_list, groups_list); | |
1805 | //create new last NODE |
|
1806 | //create new last NODE | |
1806 | var el = document.createElement('tr'); |
|
1807 | var el = document.createElement('tr'); | |
1807 | el.id = 'add_perm_input'; |
|
1808 | el.id = 'add_perm_input'; | |
1808 | YUD.addClass(el,'last_new_member'); |
|
1809 | YUD.addClass(el,'last_new_member'); | |
1809 | YUD.addClass(el,'new_members'); |
|
1810 | YUD.addClass(el,'new_members'); | |
1810 | YUD.insertAfter(el, last_node); |
|
1811 | YUD.insertAfter(el, last_node); | |
1811 | } |
|
1812 | } | |
1812 | } |
|
1813 | } | |
1813 |
|
1814 | |||
1814 | /* Multi selectors */ |
|
1815 | /* Multi selectors */ | |
1815 |
|
1816 | |||
1816 | var MultiSelectWidget = function(selected_id, available_id, form_id){ |
|
1817 | var MultiSelectWidget = function(selected_id, available_id, form_id){ | |
1817 |
|
1818 | |||
1818 |
|
1819 | |||
1819 | //definition of containers ID's |
|
1820 | //definition of containers ID's | |
1820 | var selected_container = selected_id; |
|
1821 | var selected_container = selected_id; | |
1821 | var available_container = available_id; |
|
1822 | var available_container = available_id; | |
1822 |
|
1823 | |||
1823 | //temp container for selected storage. |
|
1824 | //temp container for selected storage. | |
1824 | var cache = new Array(); |
|
1825 | var cache = new Array(); | |
1825 | var av_cache = new Array(); |
|
1826 | var av_cache = new Array(); | |
1826 | var c = YUD.get(selected_container); |
|
1827 | var c = YUD.get(selected_container); | |
1827 | var ac = YUD.get(available_container); |
|
1828 | var ac = YUD.get(available_container); | |
1828 |
|
1829 | |||
1829 | //get only selected options for further fullfilment |
|
1830 | //get only selected options for further fullfilment | |
1830 | for(var i = 0;node =c.options[i];i++){ |
|
1831 | for(var i = 0;node =c.options[i];i++){ | |
1831 | if(node.selected){ |
|
1832 | if(node.selected){ | |
1832 | //push selected to my temp storage left overs :) |
|
1833 | //push selected to my temp storage left overs :) | |
1833 | cache.push(node); |
|
1834 | cache.push(node); | |
1834 | } |
|
1835 | } | |
1835 | } |
|
1836 | } | |
1836 |
|
1837 | |||
1837 | //get all available options to cache |
|
1838 | //get all available options to cache | |
1838 | for(var i = 0;node =ac.options[i];i++){ |
|
1839 | for(var i = 0;node =ac.options[i];i++){ | |
1839 | //push selected to my temp storage left overs :) |
|
1840 | //push selected to my temp storage left overs :) | |
1840 | av_cache.push(node); |
|
1841 | av_cache.push(node); | |
1841 | } |
|
1842 | } | |
1842 |
|
1843 | |||
1843 | //fill available only with those not in choosen |
|
1844 | //fill available only with those not in choosen | |
1844 | ac.options.length=0; |
|
1845 | ac.options.length=0; | |
1845 | tmp_cache = new Array(); |
|
1846 | tmp_cache = new Array(); | |
1846 |
|
1847 | |||
1847 | for(var i = 0;node = av_cache[i];i++){ |
|
1848 | for(var i = 0;node = av_cache[i];i++){ | |
1848 | var add = true; |
|
1849 | var add = true; | |
1849 | for(var i2 = 0;node_2 = cache[i2];i2++){ |
|
1850 | for(var i2 = 0;node_2 = cache[i2];i2++){ | |
1850 | if(node.value == node_2.value){ |
|
1851 | if(node.value == node_2.value){ | |
1851 | add=false; |
|
1852 | add=false; | |
1852 | break; |
|
1853 | break; | |
1853 | } |
|
1854 | } | |
1854 | } |
|
1855 | } | |
1855 | if(add){ |
|
1856 | if(add){ | |
1856 | tmp_cache.push(new Option(node.text, node.value, false, false)); |
|
1857 | tmp_cache.push(new Option(node.text, node.value, false, false)); | |
1857 | } |
|
1858 | } | |
1858 | } |
|
1859 | } | |
1859 |
|
1860 | |||
1860 | for(var i = 0;node = tmp_cache[i];i++){ |
|
1861 | for(var i = 0;node = tmp_cache[i];i++){ | |
1861 | ac.options[i] = node; |
|
1862 | ac.options[i] = node; | |
1862 | } |
|
1863 | } | |
1863 |
|
1864 | |||
1864 | function prompts_action_callback(e){ |
|
1865 | function prompts_action_callback(e){ | |
1865 |
|
1866 | |||
1866 | var choosen = YUD.get(selected_container); |
|
1867 | var choosen = YUD.get(selected_container); | |
1867 | var available = YUD.get(available_container); |
|
1868 | var available = YUD.get(available_container); | |
1868 |
|
1869 | |||
1869 | //get checked and unchecked options from field |
|
1870 | //get checked and unchecked options from field | |
1870 | function get_checked(from_field){ |
|
1871 | function get_checked(from_field){ | |
1871 | //temp container for storage. |
|
1872 | //temp container for storage. | |
1872 | var sel_cache = new Array(); |
|
1873 | var sel_cache = new Array(); | |
1873 | var oth_cache = new Array(); |
|
1874 | var oth_cache = new Array(); | |
1874 |
|
1875 | |||
1875 | for(var i = 0;node = from_field.options[i];i++){ |
|
1876 | for(var i = 0;node = from_field.options[i];i++){ | |
1876 | if(node.selected){ |
|
1877 | if(node.selected){ | |
1877 | //push selected fields :) |
|
1878 | //push selected fields :) | |
1878 | sel_cache.push(node); |
|
1879 | sel_cache.push(node); | |
1879 | } |
|
1880 | } | |
1880 | else{ |
|
1881 | else{ | |
1881 | oth_cache.push(node) |
|
1882 | oth_cache.push(node) | |
1882 | } |
|
1883 | } | |
1883 | } |
|
1884 | } | |
1884 |
|
1885 | |||
1885 | return [sel_cache,oth_cache] |
|
1886 | return [sel_cache,oth_cache] | |
1886 | } |
|
1887 | } | |
1887 |
|
1888 | |||
1888 | //fill the field with given options |
|
1889 | //fill the field with given options | |
1889 | function fill_with(field,options){ |
|
1890 | function fill_with(field,options){ | |
1890 | //clear firtst |
|
1891 | //clear firtst | |
1891 | field.options.length=0; |
|
1892 | field.options.length=0; | |
1892 | for(var i = 0;node = options[i];i++){ |
|
1893 | for(var i = 0;node = options[i];i++){ | |
1893 | field.options[i]=new Option(node.text, node.value, |
|
1894 | field.options[i]=new Option(node.text, node.value, | |
1894 | false, false); |
|
1895 | false, false); | |
1895 | } |
|
1896 | } | |
1896 |
|
1897 | |||
1897 | } |
|
1898 | } | |
1898 | //adds to current field |
|
1899 | //adds to current field | |
1899 | function add_to(field,options){ |
|
1900 | function add_to(field,options){ | |
1900 | for(var i = 0;node = options[i];i++){ |
|
1901 | for(var i = 0;node = options[i];i++){ | |
1901 | field.appendChild(new Option(node.text, node.value, |
|
1902 | field.appendChild(new Option(node.text, node.value, | |
1902 | false, false)); |
|
1903 | false, false)); | |
1903 | } |
|
1904 | } | |
1904 | } |
|
1905 | } | |
1905 |
|
1906 | |||
1906 | // add action |
|
1907 | // add action | |
1907 | if (this.id=='add_element'){ |
|
1908 | if (this.id=='add_element'){ | |
1908 | var c = get_checked(available); |
|
1909 | var c = get_checked(available); | |
1909 | add_to(choosen,c[0]); |
|
1910 | add_to(choosen,c[0]); | |
1910 | fill_with(available,c[1]); |
|
1911 | fill_with(available,c[1]); | |
1911 | } |
|
1912 | } | |
1912 | // remove action |
|
1913 | // remove action | |
1913 | if (this.id=='remove_element'){ |
|
1914 | if (this.id=='remove_element'){ | |
1914 | var c = get_checked(choosen); |
|
1915 | var c = get_checked(choosen); | |
1915 | add_to(available,c[0]); |
|
1916 | add_to(available,c[0]); | |
1916 | fill_with(choosen,c[1]); |
|
1917 | fill_with(choosen,c[1]); | |
1917 | } |
|
1918 | } | |
1918 | // add all elements |
|
1919 | // add all elements | |
1919 | if(this.id=='add_all_elements'){ |
|
1920 | if(this.id=='add_all_elements'){ | |
1920 | for(var i=0; node = available.options[i];i++){ |
|
1921 | for(var i=0; node = available.options[i];i++){ | |
1921 | choosen.appendChild(new Option(node.text, |
|
1922 | choosen.appendChild(new Option(node.text, | |
1922 | node.value, false, false)); |
|
1923 | node.value, false, false)); | |
1923 | } |
|
1924 | } | |
1924 | available.options.length = 0; |
|
1925 | available.options.length = 0; | |
1925 | } |
|
1926 | } | |
1926 | //remove all elements |
|
1927 | //remove all elements | |
1927 | if(this.id=='remove_all_elements'){ |
|
1928 | if(this.id=='remove_all_elements'){ | |
1928 | for(var i=0; node = choosen.options[i];i++){ |
|
1929 | for(var i=0; node = choosen.options[i];i++){ | |
1929 | available.appendChild(new Option(node.text, |
|
1930 | available.appendChild(new Option(node.text, | |
1930 | node.value, false, false)); |
|
1931 | node.value, false, false)); | |
1931 | } |
|
1932 | } | |
1932 | choosen.options.length = 0; |
|
1933 | choosen.options.length = 0; | |
1933 | } |
|
1934 | } | |
1934 |
|
1935 | |||
1935 | } |
|
1936 | } | |
1936 |
|
1937 | |||
1937 | YUE.addListener(['add_element','remove_element', |
|
1938 | YUE.addListener(['add_element','remove_element', | |
1938 | 'add_all_elements','remove_all_elements'],'click', |
|
1939 | 'add_all_elements','remove_all_elements'],'click', | |
1939 | prompts_action_callback) |
|
1940 | prompts_action_callback) | |
1940 | if (form_id !== undefined) { |
|
1941 | if (form_id !== undefined) { | |
1941 | YUE.addListener(form_id,'submit',function(){ |
|
1942 | YUE.addListener(form_id,'submit',function(){ | |
1942 | var choosen = YUD.get(selected_container); |
|
1943 | var choosen = YUD.get(selected_container); | |
1943 | for (var i = 0; i < choosen.options.length; i++) { |
|
1944 | for (var i = 0; i < choosen.options.length; i++) { | |
1944 | choosen.options[i].selected = 'selected'; |
|
1945 | choosen.options[i].selected = 'selected'; | |
1945 | } |
|
1946 | } | |
1946 | }); |
|
1947 | }); | |
1947 | } |
|
1948 | } | |
1948 | } |
|
1949 | } |
General Comments 0
You need to be logged in to leave comments.
Login now