Show More
@@ -1,267 +1,288 b'' | |||
|
1 | 1 | ################################################################################ |
|
2 | 2 | ################################################################################ |
|
3 | 3 | # RhodeCode - Pylons environment configuration # |
|
4 | 4 | # # |
|
5 | 5 | # The %(here)s variable will be replaced with the parent directory of this file# |
|
6 | 6 | ################################################################################ |
|
7 | 7 | |
|
8 | 8 | [DEFAULT] |
|
9 | 9 | debug = true |
|
10 | 10 | pdebug = false |
|
11 | 11 | ################################################################################ |
|
12 | 12 | ## Uncomment and replace with the address which should receive ## |
|
13 | 13 | ## any error reports after application crash ## |
|
14 | 14 | ## Additionally those settings will be used by RhodeCode mailing system ## |
|
15 | 15 | ################################################################################ |
|
16 | 16 | #email_to = admin@localhost |
|
17 | 17 | #error_email_from = paste_error@localhost |
|
18 | 18 | #app_email_from = rhodecode-noreply@localhost |
|
19 | 19 | #error_message = |
|
20 | 20 | #email_prefix = [RhodeCode] |
|
21 | 21 | |
|
22 | 22 | #smtp_server = mail.server.com |
|
23 | 23 | #smtp_username = |
|
24 | 24 | #smtp_password = |
|
25 | 25 | #smtp_port = |
|
26 | 26 | #smtp_use_tls = false |
|
27 | 27 | #smtp_use_ssl = true |
|
28 | 28 | # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) |
|
29 | 29 | #smtp_auth = |
|
30 | 30 | |
|
31 | 31 | [server:main] |
|
32 | 32 | ##nr of threads to spawn |
|
33 | 33 | threadpool_workers = 5 |
|
34 | 34 | |
|
35 | 35 | ##max request before thread respawn |
|
36 | 36 | threadpool_max_requests = 10 |
|
37 | 37 | |
|
38 | 38 | ##option to use threads of process |
|
39 | 39 | use_threadpool = true |
|
40 | 40 | |
|
41 | 41 | use = egg:Paste#http |
|
42 | 42 | host = 0.0.0.0 |
|
43 | 43 | port = 5000 |
|
44 | 44 | |
|
45 | 45 | [app:main] |
|
46 | 46 | use = egg:rhodecode |
|
47 | 47 | full_stack = true |
|
48 | 48 | static_files = true |
|
49 | 49 | lang=en |
|
50 | 50 | cache_dir = %(here)s/data |
|
51 | 51 | index_dir = %(here)s/data/index |
|
52 | 52 | app_instance_uuid = develop |
|
53 | 53 | cut_off_limit = 256000 |
|
54 | 54 | force_https = false |
|
55 | 55 | commit_parse_limit = 25 |
|
56 | 56 | use_gravatar = true |
|
57 | 57 | container_auth_enabled = false |
|
58 | 58 | proxypass_auth_enabled = false |
|
59 | 59 | |
|
60 | 60 | ## overwrite schema of clone url |
|
61 | # available vars: | |
|
62 | # scheme - http/https | |
|
63 | # user - current user | |
|
64 | # pass - password | |
|
65 | # netloc - network location | |
|
66 | # path - usually repo_name | |
|
67 | # clone_uri = {scheme}://{user}{pass}{netloc}{path} | |
|
61 | ## available vars: | |
|
62 | ## scheme - http/https | |
|
63 | ## user - current user | |
|
64 | ## pass - password | |
|
65 | ## netloc - network location | |
|
66 | ## path - usually repo_name | |
|
67 | ||
|
68 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} | |
|
69 | ||
|
70 | ## issue tracking mapping for commits messages | |
|
71 | ## uncomment url_pat, issue_server, issue_prefix to enable | |
|
72 | ||
|
73 | ||
|
74 | ## pattern to get the issues from commit messages | |
|
75 | ## default one used here is #1234 | |
|
76 | ||
|
77 | #url_pat = (?:^#|\s#)(\w+) | |
|
78 | ||
|
79 | ## server url to the issue, each {id} will be replaced with id | |
|
80 | ## fetched from the regex | |
|
81 | ||
|
82 | #issue_server = https://myissueserver.com/issue/{id} | |
|
83 | ||
|
84 | ## prefix to add to link to indicate it's an url | |
|
85 | ## #314 will be replaced by <issue_prefix><id> | |
|
86 | ||
|
87 | #issue_prefix = # | |
|
88 | ||
|
68 | 89 | |
|
69 | 90 | #################################### |
|
70 | 91 | ### CELERY CONFIG #### |
|
71 | 92 | #################################### |
|
72 | 93 | use_celery = false |
|
73 | 94 | broker.host = localhost |
|
74 | 95 | broker.vhost = rabbitmqhost |
|
75 | 96 | broker.port = 5672 |
|
76 | 97 | broker.user = rabbitmq |
|
77 | 98 | broker.password = qweqwe |
|
78 | 99 | |
|
79 | 100 | celery.imports = rhodecode.lib.celerylib.tasks |
|
80 | 101 | |
|
81 | 102 | celery.result.backend = amqp |
|
82 | 103 | celery.result.dburi = amqp:// |
|
83 | 104 | celery.result.serialier = json |
|
84 | 105 | |
|
85 | 106 | #celery.send.task.error.emails = true |
|
86 | 107 | #celery.amqp.task.result.expires = 18000 |
|
87 | 108 | |
|
88 | 109 | celeryd.concurrency = 2 |
|
89 | 110 | #celeryd.log.file = celeryd.log |
|
90 | 111 | celeryd.log.level = debug |
|
91 | 112 | celeryd.max.tasks.per.child = 1 |
|
92 | 113 | |
|
93 | 114 | #tasks will never be sent to the queue, but executed locally instead. |
|
94 | 115 | celery.always.eager = false |
|
95 | 116 | |
|
96 | 117 | #################################### |
|
97 | 118 | ### BEAKER CACHE #### |
|
98 | 119 | #################################### |
|
99 | 120 | beaker.cache.data_dir=%(here)s/data/cache/data |
|
100 | 121 | beaker.cache.lock_dir=%(here)s/data/cache/lock |
|
101 | 122 | |
|
102 | 123 | beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long |
|
103 | 124 | |
|
104 | 125 | beaker.cache.super_short_term.type=memory |
|
105 | 126 | beaker.cache.super_short_term.expire=10 |
|
106 | 127 | beaker.cache.super_short_term.key_length = 256 |
|
107 | 128 | |
|
108 | 129 | beaker.cache.short_term.type=memory |
|
109 | 130 | beaker.cache.short_term.expire=60 |
|
110 | 131 | beaker.cache.short_term.key_length = 256 |
|
111 | 132 | |
|
112 | 133 | beaker.cache.long_term.type=memory |
|
113 | 134 | beaker.cache.long_term.expire=36000 |
|
114 | 135 | beaker.cache.long_term.key_length = 256 |
|
115 | 136 | |
|
116 | 137 | beaker.cache.sql_cache_short.type=memory |
|
117 | 138 | beaker.cache.sql_cache_short.expire=10 |
|
118 | 139 | beaker.cache.sql_cache_short.key_length = 256 |
|
119 | 140 | |
|
120 | 141 | beaker.cache.sql_cache_med.type=memory |
|
121 | 142 | beaker.cache.sql_cache_med.expire=360 |
|
122 | 143 | beaker.cache.sql_cache_med.key_length = 256 |
|
123 | 144 | |
|
124 | 145 | beaker.cache.sql_cache_long.type=file |
|
125 | 146 | beaker.cache.sql_cache_long.expire=3600 |
|
126 | 147 | beaker.cache.sql_cache_long.key_length = 256 |
|
127 | 148 | |
|
128 | 149 | #################################### |
|
129 | 150 | ### BEAKER SESSION #### |
|
130 | 151 | #################################### |
|
131 | 152 | ## Type of storage used for the session, current types are |
|
132 | 153 | ## dbm, file, memcached, database, and memory. |
|
133 | 154 | ## The storage uses the Container API |
|
134 | 155 | ## that is also used by the cache system. |
|
135 | 156 | |
|
136 | 157 | ## db session example |
|
137 | 158 | |
|
138 | 159 | #beaker.session.type = ext:database |
|
139 | 160 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode |
|
140 | 161 | #beaker.session.table_name = db_session |
|
141 | 162 | |
|
142 | 163 | ## encrypted cookie session, good for many instances |
|
143 | 164 | #beaker.session.type = cookie |
|
144 | 165 | |
|
145 | 166 | beaker.session.type = file |
|
146 | 167 | beaker.session.key = rhodecode |
|
147 | 168 | #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu |
|
148 | 169 | #beaker.session.validate_key = 9712sds2212c--zxc123 |
|
149 | 170 | beaker.session.timeout = 36000 |
|
150 | 171 | beaker.session.httponly = true |
|
151 | 172 | |
|
152 | 173 | ## uncomment for https secure cookie |
|
153 | 174 | beaker.session.secure = false |
|
154 | 175 | |
|
155 | 176 | ##auto save the session to not to use .save() |
|
156 | 177 | beaker.session.auto = False |
|
157 | 178 | |
|
158 | 179 | ##true exire at browser close |
|
159 | 180 | #beaker.session.cookie_expires = 3600 |
|
160 | 181 | |
|
161 | 182 | |
|
162 | 183 | ################################################################################ |
|
163 | 184 | ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## |
|
164 | 185 | ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## |
|
165 | 186 | ## execute malicious code after an exception is raised. ## |
|
166 | 187 | ################################################################################ |
|
167 | 188 | #set debug = false |
|
168 | 189 | |
|
169 | 190 | ################################## |
|
170 | 191 | ### LOGVIEW CONFIG ### |
|
171 | 192 | ################################## |
|
172 | 193 | logview.sqlalchemy = #faa |
|
173 | 194 | logview.pylons.templating = #bfb |
|
174 | 195 | logview.pylons.util = #eee |
|
175 | 196 | |
|
176 | 197 | ######################################################### |
|
177 | 198 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
178 | 199 | ######################################################### |
|
179 | 200 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db |
|
180 | 201 | sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode |
|
181 | 202 | sqlalchemy.db1.echo = false |
|
182 | 203 | sqlalchemy.db1.pool_recycle = 3600 |
|
183 | 204 | sqlalchemy.convert_unicode = true |
|
184 | 205 | |
|
185 | 206 | ################################ |
|
186 | 207 | ### LOGGING CONFIGURATION #### |
|
187 | 208 | ################################ |
|
188 | 209 | [loggers] |
|
189 | 210 | keys = root, routes, rhodecode, sqlalchemy, beaker, templates |
|
190 | 211 | |
|
191 | 212 | [handlers] |
|
192 | 213 | keys = console, console_sql |
|
193 | 214 | |
|
194 | 215 | [formatters] |
|
195 | 216 | keys = generic, color_formatter, color_formatter_sql |
|
196 | 217 | |
|
197 | 218 | ############# |
|
198 | 219 | ## LOGGERS ## |
|
199 | 220 | ############# |
|
200 | 221 | [logger_root] |
|
201 | 222 | level = NOTSET |
|
202 | 223 | handlers = console |
|
203 | 224 | |
|
204 | 225 | [logger_routes] |
|
205 | 226 | level = DEBUG |
|
206 | 227 | handlers = |
|
207 | 228 | qualname = routes.middleware |
|
208 | 229 | # "level = DEBUG" logs the route matched and routing variables. |
|
209 | 230 | propagate = 1 |
|
210 | 231 | |
|
211 | 232 | [logger_beaker] |
|
212 | 233 | level = DEBUG |
|
213 | 234 | handlers = |
|
214 | 235 | qualname = beaker.container |
|
215 | 236 | propagate = 1 |
|
216 | 237 | |
|
217 | 238 | [logger_templates] |
|
218 | 239 | level = INFO |
|
219 | 240 | handlers = |
|
220 | 241 | qualname = pylons.templating |
|
221 | 242 | propagate = 1 |
|
222 | 243 | |
|
223 | 244 | [logger_rhodecode] |
|
224 | 245 | level = DEBUG |
|
225 | 246 | handlers = |
|
226 | 247 | qualname = rhodecode |
|
227 | 248 | propagate = 1 |
|
228 | 249 | |
|
229 | 250 | [logger_sqlalchemy] |
|
230 | 251 | level = INFO |
|
231 | 252 | handlers = console_sql |
|
232 | 253 | qualname = sqlalchemy.engine |
|
233 | 254 | propagate = 0 |
|
234 | 255 | |
|
235 | 256 | ############## |
|
236 | 257 | ## HANDLERS ## |
|
237 | 258 | ############## |
|
238 | 259 | |
|
239 | 260 | [handler_console] |
|
240 | 261 | class = StreamHandler |
|
241 | 262 | args = (sys.stderr,) |
|
242 | 263 | level = DEBUG |
|
243 | 264 | formatter = color_formatter |
|
244 | 265 | |
|
245 | 266 | [handler_console_sql] |
|
246 | 267 | class = StreamHandler |
|
247 | 268 | args = (sys.stderr,) |
|
248 | 269 | level = DEBUG |
|
249 | 270 | formatter = color_formatter_sql |
|
250 | 271 | |
|
251 | 272 | ################ |
|
252 | 273 | ## FORMATTERS ## |
|
253 | 274 | ################ |
|
254 | 275 | |
|
255 | 276 | [formatter_generic] |
|
256 | 277 | format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
257 | 278 | datefmt = %Y-%m-%d %H:%M:%S |
|
258 | 279 | |
|
259 | 280 | [formatter_color_formatter] |
|
260 | 281 | class=rhodecode.lib.colored_formatter.ColorFormatter |
|
261 | 282 | format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
262 | 283 | datefmt = %Y-%m-%d %H:%M:%S |
|
263 | 284 | |
|
264 | 285 | [formatter_color_formatter_sql] |
|
265 | 286 | class=rhodecode.lib.colored_formatter.ColorFormatterSql |
|
266 | 287 | format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
267 | 288 | datefmt = %Y-%m-%d %H:%M:%S |
@@ -1,267 +1,288 b'' | |||
|
1 | 1 | ################################################################################ |
|
2 | 2 | ################################################################################ |
|
3 | 3 | # RhodeCode - Pylons environment configuration # |
|
4 | 4 | # # |
|
5 | 5 | # The %(here)s variable will be replaced with the parent directory of this file# |
|
6 | 6 | ################################################################################ |
|
7 | 7 | |
|
8 | 8 | [DEFAULT] |
|
9 | 9 | debug = true |
|
10 | 10 | pdebug = false |
|
11 | 11 | ################################################################################ |
|
12 | 12 | ## Uncomment and replace with the address which should receive ## |
|
13 | 13 | ## any error reports after application crash ## |
|
14 | 14 | ## Additionally those settings will be used by RhodeCode mailing system ## |
|
15 | 15 | ################################################################################ |
|
16 | 16 | #email_to = admin@localhost |
|
17 | 17 | #error_email_from = paste_error@localhost |
|
18 | 18 | #app_email_from = rhodecode-noreply@localhost |
|
19 | 19 | #error_message = |
|
20 | 20 | #email_prefix = [RhodeCode] |
|
21 | 21 | |
|
22 | 22 | #smtp_server = mail.server.com |
|
23 | 23 | #smtp_username = |
|
24 | 24 | #smtp_password = |
|
25 | 25 | #smtp_port = |
|
26 | 26 | #smtp_use_tls = false |
|
27 | 27 | #smtp_use_ssl = true |
|
28 | 28 | # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) |
|
29 | 29 | #smtp_auth = |
|
30 | 30 | |
|
31 | 31 | [server:main] |
|
32 | 32 | ##nr of threads to spawn |
|
33 | 33 | threadpool_workers = 5 |
|
34 | 34 | |
|
35 | 35 | ##max request before thread respawn |
|
36 | 36 | threadpool_max_requests = 10 |
|
37 | 37 | |
|
38 | 38 | ##option to use threads of process |
|
39 | 39 | use_threadpool = true |
|
40 | 40 | |
|
41 | 41 | use = egg:Paste#http |
|
42 | 42 | host = 127.0.0.1 |
|
43 | 43 | port = 8001 |
|
44 | 44 | |
|
45 | 45 | [app:main] |
|
46 | 46 | use = egg:rhodecode |
|
47 | 47 | full_stack = true |
|
48 | 48 | static_files = true |
|
49 | 49 | lang=en |
|
50 | 50 | cache_dir = %(here)s/data |
|
51 | 51 | index_dir = %(here)s/data/index |
|
52 | 52 | app_instance_uuid = prod1234 |
|
53 | 53 | cut_off_limit = 256000 |
|
54 | 54 | force_https = false |
|
55 | 55 | commit_parse_limit = 50 |
|
56 | 56 | use_gravatar = true |
|
57 | 57 | container_auth_enabled = false |
|
58 | 58 | proxypass_auth_enabled = false |
|
59 | 59 | |
|
60 | 60 | ## overwrite schema of clone url |
|
61 | # available vars: | |
|
62 | # scheme - http/https | |
|
63 | # user - current user | |
|
64 | # pass - password | |
|
65 | # netloc - network location | |
|
66 | # path - usually repo_name | |
|
67 | # clone_uri = {scheme}://{user}{pass}{netloc}{path} | |
|
61 | ## available vars: | |
|
62 | ## scheme - http/https | |
|
63 | ## user - current user | |
|
64 | ## pass - password | |
|
65 | ## netloc - network location | |
|
66 | ## path - usually repo_name | |
|
67 | ||
|
68 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} | |
|
69 | ||
|
70 | ## issue tracking mapping for commits messages | |
|
71 | ## uncomment url_pat, issue_server, issue_prefix to enable | |
|
72 | ||
|
73 | ||
|
74 | ## pattern to get the issues from commit messages | |
|
75 | ## default one used here is #1234 | |
|
76 | ||
|
77 | #url_pat = (?:^#|\s#)(\w+) | |
|
78 | ||
|
79 | ## server url to the issue, each {id} will be replaced with id | |
|
80 | ## fetched from the regex | |
|
81 | ||
|
82 | #issue_server = https://myissueserver.com/issue/{id} | |
|
83 | ||
|
84 | ## prefix to add to link to indicate it's an url | |
|
85 | ## #314 will be replaced by <issue_prefix><id> | |
|
86 | ||
|
87 | #issue_prefix = # | |
|
88 | ||
|
68 | 89 | |
|
69 | 90 | #################################### |
|
70 | 91 | ### CELERY CONFIG #### |
|
71 | 92 | #################################### |
|
72 | 93 | use_celery = false |
|
73 | 94 | broker.host = localhost |
|
74 | 95 | broker.vhost = rabbitmqhost |
|
75 | 96 | broker.port = 5672 |
|
76 | 97 | broker.user = rabbitmq |
|
77 | 98 | broker.password = qweqwe |
|
78 | 99 | |
|
79 | 100 | celery.imports = rhodecode.lib.celerylib.tasks |
|
80 | 101 | |
|
81 | 102 | celery.result.backend = amqp |
|
82 | 103 | celery.result.dburi = amqp:// |
|
83 | 104 | celery.result.serialier = json |
|
84 | 105 | |
|
85 | 106 | #celery.send.task.error.emails = true |
|
86 | 107 | #celery.amqp.task.result.expires = 18000 |
|
87 | 108 | |
|
88 | 109 | celeryd.concurrency = 2 |
|
89 | 110 | #celeryd.log.file = celeryd.log |
|
90 | 111 | celeryd.log.level = debug |
|
91 | 112 | celeryd.max.tasks.per.child = 1 |
|
92 | 113 | |
|
93 | 114 | #tasks will never be sent to the queue, but executed locally instead. |
|
94 | 115 | celery.always.eager = false |
|
95 | 116 | |
|
96 | 117 | #################################### |
|
97 | 118 | ### BEAKER CACHE #### |
|
98 | 119 | #################################### |
|
99 | 120 | beaker.cache.data_dir=%(here)s/data/cache/data |
|
100 | 121 | beaker.cache.lock_dir=%(here)s/data/cache/lock |
|
101 | 122 | |
|
102 | 123 | beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long |
|
103 | 124 | |
|
104 | 125 | beaker.cache.super_short_term.type=memory |
|
105 | 126 | beaker.cache.super_short_term.expire=10 |
|
106 | 127 | beaker.cache.super_short_term.key_length = 256 |
|
107 | 128 | |
|
108 | 129 | beaker.cache.short_term.type=memory |
|
109 | 130 | beaker.cache.short_term.expire=60 |
|
110 | 131 | beaker.cache.short_term.key_length = 256 |
|
111 | 132 | |
|
112 | 133 | beaker.cache.long_term.type=memory |
|
113 | 134 | beaker.cache.long_term.expire=36000 |
|
114 | 135 | beaker.cache.long_term.key_length = 256 |
|
115 | 136 | |
|
116 | 137 | beaker.cache.sql_cache_short.type=memory |
|
117 | 138 | beaker.cache.sql_cache_short.expire=10 |
|
118 | 139 | beaker.cache.sql_cache_short.key_length = 256 |
|
119 | 140 | |
|
120 | 141 | beaker.cache.sql_cache_med.type=memory |
|
121 | 142 | beaker.cache.sql_cache_med.expire=360 |
|
122 | 143 | beaker.cache.sql_cache_med.key_length = 256 |
|
123 | 144 | |
|
124 | 145 | beaker.cache.sql_cache_long.type=file |
|
125 | 146 | beaker.cache.sql_cache_long.expire=3600 |
|
126 | 147 | beaker.cache.sql_cache_long.key_length = 256 |
|
127 | 148 | |
|
128 | 149 | #################################### |
|
129 | 150 | ### BEAKER SESSION #### |
|
130 | 151 | #################################### |
|
131 | 152 | ## Type of storage used for the session, current types are |
|
132 | 153 | ## dbm, file, memcached, database, and memory. |
|
133 | 154 | ## The storage uses the Container API |
|
134 | 155 | ## that is also used by the cache system. |
|
135 | 156 | |
|
136 | 157 | ## db session example |
|
137 | 158 | |
|
138 | 159 | #beaker.session.type = ext:database |
|
139 | 160 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode |
|
140 | 161 | #beaker.session.table_name = db_session |
|
141 | 162 | |
|
142 | 163 | ## encrypted cookie session, good for many instances |
|
143 | 164 | #beaker.session.type = cookie |
|
144 | 165 | |
|
145 | 166 | beaker.session.type = file |
|
146 | 167 | beaker.session.key = rhodecode |
|
147 | 168 | #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu |
|
148 | 169 | #beaker.session.validate_key = 9712sds2212c--zxc123 |
|
149 | 170 | beaker.session.timeout = 36000 |
|
150 | 171 | beaker.session.httponly = true |
|
151 | 172 | |
|
152 | 173 | ## uncomment for https secure cookie |
|
153 | 174 | beaker.session.secure = false |
|
154 | 175 | |
|
155 | 176 | ##auto save the session to not to use .save() |
|
156 | 177 | beaker.session.auto = False |
|
157 | 178 | |
|
158 | 179 | ##true exire at browser close |
|
159 | 180 | #beaker.session.cookie_expires = 3600 |
|
160 | 181 | |
|
161 | 182 | |
|
162 | 183 | ################################################################################ |
|
163 | 184 | ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## |
|
164 | 185 | ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## |
|
165 | 186 | ## execute malicious code after an exception is raised. ## |
|
166 | 187 | ################################################################################ |
|
167 | 188 | set debug = false |
|
168 | 189 | |
|
169 | 190 | ################################## |
|
170 | 191 | ### LOGVIEW CONFIG ### |
|
171 | 192 | ################################## |
|
172 | 193 | logview.sqlalchemy = #faa |
|
173 | 194 | logview.pylons.templating = #bfb |
|
174 | 195 | logview.pylons.util = #eee |
|
175 | 196 | |
|
176 | 197 | ######################################################### |
|
177 | 198 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
178 | 199 | ######################################################### |
|
179 | 200 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db |
|
180 | 201 | sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode |
|
181 | 202 | sqlalchemy.db1.echo = false |
|
182 | 203 | sqlalchemy.db1.pool_recycle = 3600 |
|
183 | 204 | sqlalchemy.convert_unicode = true |
|
184 | 205 | |
|
185 | 206 | ################################ |
|
186 | 207 | ### LOGGING CONFIGURATION #### |
|
187 | 208 | ################################ |
|
188 | 209 | [loggers] |
|
189 | 210 | keys = root, routes, rhodecode, sqlalchemy, beaker, templates |
|
190 | 211 | |
|
191 | 212 | [handlers] |
|
192 | 213 | keys = console, console_sql |
|
193 | 214 | |
|
194 | 215 | [formatters] |
|
195 | 216 | keys = generic, color_formatter, color_formatter_sql |
|
196 | 217 | |
|
197 | 218 | ############# |
|
198 | 219 | ## LOGGERS ## |
|
199 | 220 | ############# |
|
200 | 221 | [logger_root] |
|
201 | 222 | level = NOTSET |
|
202 | 223 | handlers = console |
|
203 | 224 | |
|
204 | 225 | [logger_routes] |
|
205 | 226 | level = DEBUG |
|
206 | 227 | handlers = |
|
207 | 228 | qualname = routes.middleware |
|
208 | 229 | # "level = DEBUG" logs the route matched and routing variables. |
|
209 | 230 | propagate = 1 |
|
210 | 231 | |
|
211 | 232 | [logger_beaker] |
|
212 | 233 | level = DEBUG |
|
213 | 234 | handlers = |
|
214 | 235 | qualname = beaker.container |
|
215 | 236 | propagate = 1 |
|
216 | 237 | |
|
217 | 238 | [logger_templates] |
|
218 | 239 | level = INFO |
|
219 | 240 | handlers = |
|
220 | 241 | qualname = pylons.templating |
|
221 | 242 | propagate = 1 |
|
222 | 243 | |
|
223 | 244 | [logger_rhodecode] |
|
224 | 245 | level = DEBUG |
|
225 | 246 | handlers = |
|
226 | 247 | qualname = rhodecode |
|
227 | 248 | propagate = 1 |
|
228 | 249 | |
|
229 | 250 | [logger_sqlalchemy] |
|
230 | 251 | level = INFO |
|
231 | 252 | handlers = console_sql |
|
232 | 253 | qualname = sqlalchemy.engine |
|
233 | 254 | propagate = 0 |
|
234 | 255 | |
|
235 | 256 | ############## |
|
236 | 257 | ## HANDLERS ## |
|
237 | 258 | ############## |
|
238 | 259 | |
|
239 | 260 | [handler_console] |
|
240 | 261 | class = StreamHandler |
|
241 | 262 | args = (sys.stderr,) |
|
242 | 263 | level = INFO |
|
243 | 264 | formatter = generic |
|
244 | 265 | |
|
245 | 266 | [handler_console_sql] |
|
246 | 267 | class = StreamHandler |
|
247 | 268 | args = (sys.stderr,) |
|
248 | 269 | level = WARN |
|
249 | 270 | formatter = generic |
|
250 | 271 | |
|
251 | 272 | ################ |
|
252 | 273 | ## FORMATTERS ## |
|
253 | 274 | ################ |
|
254 | 275 | |
|
255 | 276 | [formatter_generic] |
|
256 | 277 | format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
257 | 278 | datefmt = %Y-%m-%d %H:%M:%S |
|
258 | 279 | |
|
259 | 280 | [formatter_color_formatter] |
|
260 | 281 | class=rhodecode.lib.colored_formatter.ColorFormatter |
|
261 | 282 | format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
262 | 283 | datefmt = %Y-%m-%d %H:%M:%S |
|
263 | 284 | |
|
264 | 285 | [formatter_color_formatter_sql] |
|
265 | 286 | class=rhodecode.lib.colored_formatter.ColorFormatterSql |
|
266 | 287 | format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
267 | 288 | datefmt = %Y-%m-%d %H:%M:%S |
@@ -1,277 +1,298 b'' | |||
|
1 | 1 | ################################################################################ |
|
2 | 2 | ################################################################################ |
|
3 | 3 | # RhodeCode - Pylons environment configuration # |
|
4 | 4 | # # |
|
5 | 5 | # The %(here)s variable will be replaced with the parent directory of this file# |
|
6 | 6 | ################################################################################ |
|
7 | 7 | |
|
8 | 8 | [DEFAULT] |
|
9 | 9 | debug = true |
|
10 | 10 | pdebug = false |
|
11 | 11 | ################################################################################ |
|
12 | 12 | ## Uncomment and replace with the address which should receive ## |
|
13 | 13 | ## any error reports after application crash ## |
|
14 | 14 | ## Additionally those settings will be used by RhodeCode mailing system ## |
|
15 | 15 | ################################################################################ |
|
16 | 16 | #email_to = admin@localhost |
|
17 | 17 | #error_email_from = paste_error@localhost |
|
18 | 18 | #app_email_from = rhodecode-noreply@localhost |
|
19 | 19 | #error_message = |
|
20 | 20 | #email_prefix = [RhodeCode] |
|
21 | 21 | |
|
22 | 22 | #smtp_server = mail.server.com |
|
23 | 23 | #smtp_username = |
|
24 | 24 | #smtp_password = |
|
25 | 25 | #smtp_port = |
|
26 | 26 | #smtp_use_tls = false |
|
27 | 27 | #smtp_use_ssl = true |
|
28 | 28 | # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) |
|
29 | 29 | #smtp_auth = |
|
30 | 30 | |
|
31 | 31 | [server:main] |
|
32 | 32 | ##nr of threads to spawn |
|
33 | 33 | threadpool_workers = 5 |
|
34 | 34 | |
|
35 | 35 | ##max request before thread respawn |
|
36 | 36 | threadpool_max_requests = 10 |
|
37 | 37 | |
|
38 | 38 | ##option to use threads of process |
|
39 | 39 | use_threadpool = true |
|
40 | 40 | |
|
41 | 41 | use = egg:Paste#http |
|
42 | 42 | host = 127.0.0.1 |
|
43 | 43 | port = 5000 |
|
44 | 44 | |
|
45 | 45 | [app:main] |
|
46 | 46 | use = egg:rhodecode |
|
47 | 47 | full_stack = true |
|
48 | 48 | static_files = true |
|
49 | 49 | lang=en |
|
50 | 50 | cache_dir = %(here)s/data |
|
51 | 51 | index_dir = %(here)s/data/index |
|
52 | 52 | app_instance_uuid = ${app_instance_uuid} |
|
53 | 53 | cut_off_limit = 256000 |
|
54 | 54 | force_https = false |
|
55 | 55 | commit_parse_limit = 50 |
|
56 | 56 | use_gravatar = true |
|
57 | 57 | container_auth_enabled = false |
|
58 | 58 | proxypass_auth_enabled = false |
|
59 | 59 | |
|
60 | 60 | ## overwrite schema of clone url |
|
61 | # available vars: | |
|
62 | # scheme - http/https | |
|
63 | # user - current user | |
|
64 | # pass - password | |
|
65 | # netloc - network location | |
|
66 | # path - usually repo_name | |
|
61 | ## available vars: | |
|
62 | ## scheme - http/https | |
|
63 | ## user - current user | |
|
64 | ## pass - password | |
|
65 | ## netloc - network location | |
|
66 | ## path - usually repo_name | |
|
67 | ||
|
67 | 68 | # clone_uri = {scheme}://{user}{pass}{netloc}{path} |
|
68 | 69 | |
|
70 | ## issue tracking mapping for commits messages | |
|
71 | ## uncomment url_pat, issue_server, issue_prefix to enable | |
|
72 | ||
|
73 | ||
|
74 | ## pattern to get the issues from commit messages | |
|
75 | ## default one used here is #1234 | |
|
76 | ||
|
77 | #url_pat = (?:^#|\s#)(\w+) | |
|
78 | ||
|
79 | ## server url to the issue, each {id} will be replaced with id | |
|
80 | ## fetched from the regex | |
|
81 | ||
|
82 | #issue_server = https://myissueserver.com/issue/{id} | |
|
83 | ||
|
84 | ## prefix to add to link to indicate it's an url | |
|
85 | ## #314 will be replaced by <issue_prefix><id> | |
|
86 | ||
|
87 | #issue_prefix = # | |
|
88 | ||
|
89 | ||
|
69 | 90 | #################################### |
|
70 | 91 | ### CELERY CONFIG #### |
|
71 | 92 | #################################### |
|
72 | 93 | use_celery = false |
|
73 | 94 | broker.host = localhost |
|
74 | 95 | broker.vhost = rabbitmqhost |
|
75 | 96 | broker.port = 5672 |
|
76 | 97 | broker.user = rabbitmq |
|
77 | 98 | broker.password = qweqwe |
|
78 | 99 | |
|
79 | 100 | celery.imports = rhodecode.lib.celerylib.tasks |
|
80 | 101 | |
|
81 | 102 | celery.result.backend = amqp |
|
82 | 103 | celery.result.dburi = amqp:// |
|
83 | 104 | celery.result.serialier = json |
|
84 | 105 | |
|
85 | 106 | #celery.send.task.error.emails = true |
|
86 | 107 | #celery.amqp.task.result.expires = 18000 |
|
87 | 108 | |
|
88 | 109 | celeryd.concurrency = 2 |
|
89 | 110 | #celeryd.log.file = celeryd.log |
|
90 | 111 | celeryd.log.level = debug |
|
91 | 112 | celeryd.max.tasks.per.child = 1 |
|
92 | 113 | |
|
93 | 114 | #tasks will never be sent to the queue, but executed locally instead. |
|
94 | 115 | celery.always.eager = false |
|
95 | 116 | |
|
96 | 117 | #################################### |
|
97 | 118 | ### BEAKER CACHE #### |
|
98 | 119 | #################################### |
|
99 | 120 | beaker.cache.data_dir=%(here)s/data/cache/data |
|
100 | 121 | beaker.cache.lock_dir=%(here)s/data/cache/lock |
|
101 | 122 | |
|
102 | 123 | beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long |
|
103 | 124 | |
|
104 | 125 | beaker.cache.super_short_term.type=memory |
|
105 | 126 | beaker.cache.super_short_term.expire=10 |
|
106 | 127 | beaker.cache.super_short_term.key_length = 256 |
|
107 | 128 | |
|
108 | 129 | beaker.cache.short_term.type=memory |
|
109 | 130 | beaker.cache.short_term.expire=60 |
|
110 | 131 | beaker.cache.short_term.key_length = 256 |
|
111 | 132 | |
|
112 | 133 | beaker.cache.long_term.type=memory |
|
113 | 134 | beaker.cache.long_term.expire=36000 |
|
114 | 135 | beaker.cache.long_term.key_length = 256 |
|
115 | 136 | |
|
116 | 137 | beaker.cache.sql_cache_short.type=memory |
|
117 | 138 | beaker.cache.sql_cache_short.expire=10 |
|
118 | 139 | beaker.cache.sql_cache_short.key_length = 256 |
|
119 | 140 | |
|
120 | 141 | beaker.cache.sql_cache_med.type=memory |
|
121 | 142 | beaker.cache.sql_cache_med.expire=360 |
|
122 | 143 | beaker.cache.sql_cache_med.key_length = 256 |
|
123 | 144 | |
|
124 | 145 | beaker.cache.sql_cache_long.type=file |
|
125 | 146 | beaker.cache.sql_cache_long.expire=3600 |
|
126 | 147 | beaker.cache.sql_cache_long.key_length = 256 |
|
127 | 148 | |
|
128 | 149 | #################################### |
|
129 | 150 | ### BEAKER SESSION #### |
|
130 | 151 | #################################### |
|
131 | 152 | ## Type of storage used for the session, current types are |
|
132 | 153 | ## dbm, file, memcached, database, and memory. |
|
133 | 154 | ## The storage uses the Container API |
|
134 | 155 | ## that is also used by the cache system. |
|
135 | 156 | |
|
136 | 157 | ## db session example |
|
137 | 158 | |
|
138 | 159 | #beaker.session.type = ext:database |
|
139 | 160 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode |
|
140 | 161 | #beaker.session.table_name = db_session |
|
141 | 162 | |
|
142 | 163 | ## encrypted cookie session, good for many instances |
|
143 | 164 | #beaker.session.type = cookie |
|
144 | 165 | |
|
145 | 166 | beaker.session.type = file |
|
146 | 167 | beaker.session.key = rhodecode |
|
147 | 168 | beaker.session.encrypt_key = ${app_instance_secret} |
|
148 | 169 | beaker.session.validate_key = ${app_instance_secret} |
|
149 | 170 | beaker.session.timeout = 36000 |
|
150 | 171 | beaker.session.httponly = true |
|
151 | 172 | |
|
152 | 173 | ## uncomment for https secure cookie |
|
153 | 174 | beaker.session.secure = false |
|
154 | 175 | |
|
155 | 176 | ##auto save the session to not to use .save() |
|
156 | 177 | beaker.session.auto = False |
|
157 | 178 | |
|
158 | 179 | ##true exire at browser close |
|
159 | 180 | #beaker.session.cookie_expires = 3600 |
|
160 | 181 | |
|
161 | 182 | |
|
162 | 183 | ################################################################################ |
|
163 | 184 | ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## |
|
164 | 185 | ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## |
|
165 | 186 | ## execute malicious code after an exception is raised. ## |
|
166 | 187 | ################################################################################ |
|
167 | 188 | set debug = false |
|
168 | 189 | |
|
169 | 190 | ################################## |
|
170 | 191 | ### LOGVIEW CONFIG ### |
|
171 | 192 | ################################## |
|
172 | 193 | logview.sqlalchemy = #faa |
|
173 | 194 | logview.pylons.templating = #bfb |
|
174 | 195 | logview.pylons.util = #eee |
|
175 | 196 | |
|
176 | 197 | ######################################################### |
|
177 | 198 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
178 | 199 | ######################################################### |
|
179 | 200 | |
|
180 | 201 | # SQLITE [default] |
|
181 | 202 | sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db |
|
182 | 203 | |
|
183 | 204 | # POSTGRESQL |
|
184 | 205 | # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode |
|
185 | 206 | |
|
186 | 207 | # MySQL |
|
187 | 208 | # sqlalchemy.db1.url = mysql://user:pass@localhost/rhodecode |
|
188 | 209 | |
|
189 | 210 | # see sqlalchemy docs for others |
|
190 | 211 | |
|
191 | 212 | sqlalchemy.db1.echo = false |
|
192 | 213 | sqlalchemy.db1.pool_recycle = 3600 |
|
193 | 214 | sqlalchemy.convert_unicode = true |
|
194 | 215 | |
|
195 | 216 | ################################ |
|
196 | 217 | ### LOGGING CONFIGURATION #### |
|
197 | 218 | ################################ |
|
198 | 219 | [loggers] |
|
199 | 220 | keys = root, routes, rhodecode, sqlalchemy, beaker, templates |
|
200 | 221 | |
|
201 | 222 | [handlers] |
|
202 | 223 | keys = console, console_sql |
|
203 | 224 | |
|
204 | 225 | [formatters] |
|
205 | 226 | keys = generic, color_formatter, color_formatter_sql |
|
206 | 227 | |
|
207 | 228 | ############# |
|
208 | 229 | ## LOGGERS ## |
|
209 | 230 | ############# |
|
210 | 231 | [logger_root] |
|
211 | 232 | level = NOTSET |
|
212 | 233 | handlers = console |
|
213 | 234 | |
|
214 | 235 | [logger_routes] |
|
215 | 236 | level = DEBUG |
|
216 | 237 | handlers = |
|
217 | 238 | qualname = routes.middleware |
|
218 | 239 | # "level = DEBUG" logs the route matched and routing variables. |
|
219 | 240 | propagate = 1 |
|
220 | 241 | |
|
221 | 242 | [logger_beaker] |
|
222 | 243 | level = DEBUG |
|
223 | 244 | handlers = |
|
224 | 245 | qualname = beaker.container |
|
225 | 246 | propagate = 1 |
|
226 | 247 | |
|
227 | 248 | [logger_templates] |
|
228 | 249 | level = INFO |
|
229 | 250 | handlers = |
|
230 | 251 | qualname = pylons.templating |
|
231 | 252 | propagate = 1 |
|
232 | 253 | |
|
233 | 254 | [logger_rhodecode] |
|
234 | 255 | level = DEBUG |
|
235 | 256 | handlers = |
|
236 | 257 | qualname = rhodecode |
|
237 | 258 | propagate = 1 |
|
238 | 259 | |
|
239 | 260 | [logger_sqlalchemy] |
|
240 | 261 | level = INFO |
|
241 | 262 | handlers = console_sql |
|
242 | 263 | qualname = sqlalchemy.engine |
|
243 | 264 | propagate = 0 |
|
244 | 265 | |
|
245 | 266 | ############## |
|
246 | 267 | ## HANDLERS ## |
|
247 | 268 | ############## |
|
248 | 269 | |
|
249 | 270 | [handler_console] |
|
250 | 271 | class = StreamHandler |
|
251 | 272 | args = (sys.stderr,) |
|
252 | 273 | level = INFO |
|
253 | 274 | formatter = color_formatter |
|
254 | 275 | |
|
255 | 276 | [handler_console_sql] |
|
256 | 277 | class = StreamHandler |
|
257 | 278 | args = (sys.stderr,) |
|
258 | 279 | level = WARN |
|
259 | 280 | formatter = color_formatter_sql |
|
260 | 281 | |
|
261 | 282 | ################ |
|
262 | 283 | ## FORMATTERS ## |
|
263 | 284 | ################ |
|
264 | 285 | |
|
265 | 286 | [formatter_generic] |
|
266 | 287 | format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
267 | 288 | datefmt = %Y-%m-%d %H:%M:%S |
|
268 | 289 | |
|
269 | 290 | [formatter_color_formatter] |
|
270 | 291 | class=rhodecode.lib.colored_formatter.ColorFormatter |
|
271 | 292 | format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
272 | 293 | datefmt = %Y-%m-%d %H:%M:%S |
|
273 | 294 | |
|
274 | 295 | [formatter_color_formatter_sql] |
|
275 | 296 | class=rhodecode.lib.colored_formatter.ColorFormatterSql |
|
276 | 297 | format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
277 | 298 | datefmt = %Y-%m-%d %H:%M:%S No newline at end of file |
@@ -1,755 +1,785 b'' | |||
|
1 | 1 | """Helper functions |
|
2 | 2 | |
|
3 | 3 | Consists of functions to typically be used within templates, but also |
|
4 | 4 | available to Controllers. This module is available to both as 'h'. |
|
5 | 5 | """ |
|
6 | 6 | import random |
|
7 | 7 | import hashlib |
|
8 | 8 | import StringIO |
|
9 | 9 | import urllib |
|
10 | 10 | import math |
|
11 | import logging | |
|
11 | 12 | |
|
12 | 13 | from datetime import datetime |
|
13 | 14 | from pygments.formatters.html import HtmlFormatter |
|
14 | 15 | from pygments import highlight as code_highlight |
|
15 | 16 | from pylons import url, request, config |
|
16 | 17 | from pylons.i18n.translation import _, ungettext |
|
17 | 18 | from hashlib import md5 |
|
18 | 19 | |
|
19 | 20 | from webhelpers.html import literal, HTML, escape |
|
20 | 21 | from webhelpers.html.tools import * |
|
21 | 22 | from webhelpers.html.builder import make_tag |
|
22 | 23 | from webhelpers.html.tags import auto_discovery_link, checkbox, css_classes, \ |
|
23 | 24 | end_form, file, form, hidden, image, javascript_link, link_to, \ |
|
24 | 25 | link_to_if, link_to_unless, ol, required_legend, select, stylesheet_link, \ |
|
25 | 26 | submit, text, password, textarea, title, ul, xml_declaration, radio |
|
26 | 27 | from webhelpers.html.tools import auto_link, button_to, highlight, \ |
|
27 | 28 | js_obfuscate, mail_to, strip_links, strip_tags, tag_re |
|
28 | 29 | from webhelpers.number import format_byte_size, format_bit_size |
|
29 | 30 | from webhelpers.pylonslib import Flash as _Flash |
|
30 | 31 | from webhelpers.pylonslib.secure_form import secure_form |
|
31 | 32 | from webhelpers.text import chop_at, collapse, convert_accented_entities, \ |
|
32 | 33 | convert_misc_entities, lchop, plural, rchop, remove_formatting, \ |
|
33 | 34 | replace_whitespace, urlify, truncate, wrap_paragraphs |
|
34 | 35 | from webhelpers.date import time_ago_in_words |
|
35 | 36 | from webhelpers.paginate import Page |
|
36 | 37 | from webhelpers.html.tags import _set_input_attrs, _set_id_attr, \ |
|
37 | 38 | convert_boolean_attrs, NotGiven, _make_safe_id_component |
|
38 | 39 | |
|
39 | 40 | from rhodecode.lib.annotate import annotate_highlight |
|
40 | 41 | from rhodecode.lib.utils import repo_name_slug |
|
41 | 42 | from rhodecode.lib import str2bool, safe_unicode, safe_str, get_changeset_safe |
|
42 | 43 | from rhodecode.lib.markup_renderer import MarkupRenderer |
|
43 | 44 | |
|
45 | log = logging.getLogger(__name__) | |
|
46 | ||
|
44 | 47 | |
|
45 | 48 | def _reset(name, value=None, id=NotGiven, type="reset", **attrs): |
|
46 | 49 | """ |
|
47 | 50 | Reset button |
|
48 | 51 | """ |
|
49 | 52 | _set_input_attrs(attrs, type, name, value) |
|
50 | 53 | _set_id_attr(attrs, id, name) |
|
51 | 54 | convert_boolean_attrs(attrs, ["disabled"]) |
|
52 | 55 | return HTML.input(**attrs) |
|
53 | 56 | |
|
54 | 57 | reset = _reset |
|
55 | 58 | safeid = _make_safe_id_component |
|
56 | 59 | |
|
57 | 60 | |
|
58 | 61 | def FID(raw_id, path): |
|
59 | 62 | """ |
|
60 | 63 | Creates a uniqe ID for filenode based on it's hash of path and revision |
|
61 | 64 | it's safe to use in urls |
|
62 | 65 | |
|
63 | 66 | :param raw_id: |
|
64 | 67 | :param path: |
|
65 | 68 | """ |
|
66 | 69 | |
|
67 | 70 | return 'C-%s-%s' % (short_id(raw_id), md5(path).hexdigest()[:12]) |
|
68 | 71 | |
|
69 | 72 | |
|
70 | 73 | def get_token(): |
|
71 | 74 | """Return the current authentication token, creating one if one doesn't |
|
72 | 75 | already exist. |
|
73 | 76 | """ |
|
74 | 77 | token_key = "_authentication_token" |
|
75 | 78 | from pylons import session |
|
76 | 79 | if not token_key in session: |
|
77 | 80 | try: |
|
78 | 81 | token = hashlib.sha1(str(random.getrandbits(128))).hexdigest() |
|
79 | 82 | except AttributeError: # Python < 2.4 |
|
80 | 83 | token = hashlib.sha1(str(random.randrange(2 ** 128))).hexdigest() |
|
81 | 84 | session[token_key] = token |
|
82 | 85 | if hasattr(session, 'save'): |
|
83 | 86 | session.save() |
|
84 | 87 | return session[token_key] |
|
85 | 88 | |
|
86 | 89 | class _GetError(object): |
|
87 | 90 | """Get error from form_errors, and represent it as span wrapped error |
|
88 | 91 | message |
|
89 | 92 | |
|
90 | 93 | :param field_name: field to fetch errors for |
|
91 | 94 | :param form_errors: form errors dict |
|
92 | 95 | """ |
|
93 | 96 | |
|
94 | 97 | def __call__(self, field_name, form_errors): |
|
95 | 98 | tmpl = """<span class="error_msg">%s</span>""" |
|
96 | 99 | if form_errors and form_errors.has_key(field_name): |
|
97 | 100 | return literal(tmpl % form_errors.get(field_name)) |
|
98 | 101 | |
|
99 | 102 | get_error = _GetError() |
|
100 | 103 | |
|
101 | 104 | class _ToolTip(object): |
|
102 | 105 | |
|
103 | 106 | def __call__(self, tooltip_title, trim_at=50): |
|
104 | 107 | """Special function just to wrap our text into nice formatted |
|
105 | 108 | autowrapped text |
|
106 | 109 | |
|
107 | 110 | :param tooltip_title: |
|
108 | 111 | """ |
|
109 | 112 | return escape(tooltip_title) |
|
110 | 113 | tooltip = _ToolTip() |
|
111 | 114 | |
|
112 | 115 | class _FilesBreadCrumbs(object): |
|
113 | 116 | |
|
114 | 117 | def __call__(self, repo_name, rev, paths): |
|
115 | 118 | if isinstance(paths, str): |
|
116 | 119 | paths = safe_unicode(paths) |
|
117 | 120 | url_l = [link_to(repo_name, url('files_home', |
|
118 | 121 | repo_name=repo_name, |
|
119 | 122 | revision=rev, f_path=''))] |
|
120 | 123 | paths_l = paths.split('/') |
|
121 | 124 | for cnt, p in enumerate(paths_l): |
|
122 | 125 | if p != '': |
|
123 | 126 | url_l.append(link_to(p, |
|
124 | 127 | url('files_home', |
|
125 | 128 | repo_name=repo_name, |
|
126 | 129 | revision=rev, |
|
127 | 130 | f_path='/'.join(paths_l[:cnt + 1]) |
|
128 | 131 | ) |
|
129 | 132 | ) |
|
130 | 133 | ) |
|
131 | 134 | |
|
132 | 135 | return literal('/'.join(url_l)) |
|
133 | 136 | |
|
134 | 137 | files_breadcrumbs = _FilesBreadCrumbs() |
|
135 | 138 | |
|
136 | 139 | class CodeHtmlFormatter(HtmlFormatter): |
|
137 | 140 | """My code Html Formatter for source codes |
|
138 | 141 | """ |
|
139 | 142 | |
|
140 | 143 | def wrap(self, source, outfile): |
|
141 | 144 | return self._wrap_div(self._wrap_pre(self._wrap_code(source))) |
|
142 | 145 | |
|
143 | 146 | def _wrap_code(self, source): |
|
144 | 147 | for cnt, it in enumerate(source): |
|
145 | 148 | i, t = it |
|
146 | 149 | t = '<div id="L%s">%s</div>' % (cnt + 1, t) |
|
147 | 150 | yield i, t |
|
148 | 151 | |
|
149 | 152 | def _wrap_tablelinenos(self, inner): |
|
150 | 153 | dummyoutfile = StringIO.StringIO() |
|
151 | 154 | lncount = 0 |
|
152 | 155 | for t, line in inner: |
|
153 | 156 | if t: |
|
154 | 157 | lncount += 1 |
|
155 | 158 | dummyoutfile.write(line) |
|
156 | 159 | |
|
157 | 160 | fl = self.linenostart |
|
158 | 161 | mw = len(str(lncount + fl - 1)) |
|
159 | 162 | sp = self.linenospecial |
|
160 | 163 | st = self.linenostep |
|
161 | 164 | la = self.lineanchors |
|
162 | 165 | aln = self.anchorlinenos |
|
163 | 166 | nocls = self.noclasses |
|
164 | 167 | if sp: |
|
165 | 168 | lines = [] |
|
166 | 169 | |
|
167 | 170 | for i in range(fl, fl + lncount): |
|
168 | 171 | if i % st == 0: |
|
169 | 172 | if i % sp == 0: |
|
170 | 173 | if aln: |
|
171 | 174 | lines.append('<a href="#%s%d" class="special">%*d</a>' % |
|
172 | 175 | (la, i, mw, i)) |
|
173 | 176 | else: |
|
174 | 177 | lines.append('<span class="special">%*d</span>' % (mw, i)) |
|
175 | 178 | else: |
|
176 | 179 | if aln: |
|
177 | 180 | lines.append('<a href="#%s%d">%*d</a>' % (la, i, mw, i)) |
|
178 | 181 | else: |
|
179 | 182 | lines.append('%*d' % (mw, i)) |
|
180 | 183 | else: |
|
181 | 184 | lines.append('') |
|
182 | 185 | ls = '\n'.join(lines) |
|
183 | 186 | else: |
|
184 | 187 | lines = [] |
|
185 | 188 | for i in range(fl, fl + lncount): |
|
186 | 189 | if i % st == 0: |
|
187 | 190 | if aln: |
|
188 | 191 | lines.append('<a href="#%s%d">%*d</a>' % (la, i, mw, i)) |
|
189 | 192 | else: |
|
190 | 193 | lines.append('%*d' % (mw, i)) |
|
191 | 194 | else: |
|
192 | 195 | lines.append('') |
|
193 | 196 | ls = '\n'.join(lines) |
|
194 | 197 | |
|
195 | 198 | # in case you wonder about the seemingly redundant <div> here: since the |
|
196 | 199 | # content in the other cell also is wrapped in a div, some browsers in |
|
197 | 200 | # some configurations seem to mess up the formatting... |
|
198 | 201 | if nocls: |
|
199 | 202 | yield 0, ('<table class="%stable">' % self.cssclass + |
|
200 | 203 | '<tr><td><div class="linenodiv" ' |
|
201 | 204 | 'style="background-color: #f0f0f0; padding-right: 10px">' |
|
202 | 205 | '<pre style="line-height: 125%">' + |
|
203 | 206 | ls + '</pre></div></td><td id="hlcode" class="code">') |
|
204 | 207 | else: |
|
205 | 208 | yield 0, ('<table class="%stable">' % self.cssclass + |
|
206 | 209 | '<tr><td class="linenos"><div class="linenodiv"><pre>' + |
|
207 | 210 | ls + '</pre></div></td><td id="hlcode" class="code">') |
|
208 | 211 | yield 0, dummyoutfile.getvalue() |
|
209 | 212 | yield 0, '</td></tr></table>' |
|
210 | 213 | |
|
211 | 214 | |
|
212 | 215 | def pygmentize(filenode, **kwargs): |
|
213 | 216 | """pygmentize function using pygments |
|
214 | 217 | |
|
215 | 218 | :param filenode: |
|
216 | 219 | """ |
|
217 | 220 | |
|
218 | 221 | return literal(code_highlight(filenode.content, |
|
219 | 222 | filenode.lexer, CodeHtmlFormatter(**kwargs))) |
|
220 | 223 | |
|
221 | 224 | |
|
222 | 225 | def pygmentize_annotation(repo_name, filenode, **kwargs): |
|
223 | 226 | """ |
|
224 | 227 | pygmentize function for annotation |
|
225 | 228 | |
|
226 | 229 | :param filenode: |
|
227 | 230 | """ |
|
228 | 231 | |
|
229 | 232 | color_dict = {} |
|
230 | 233 | |
|
231 | 234 | def gen_color(n=10000): |
|
232 | 235 | """generator for getting n of evenly distributed colors using |
|
233 | 236 | hsv color and golden ratio. It always return same order of colors |
|
234 | 237 | |
|
235 | 238 | :returns: RGB tuple |
|
236 | 239 | """ |
|
237 | 240 | |
|
238 | 241 | def hsv_to_rgb(h, s, v): |
|
239 | 242 | if s == 0.0: |
|
240 | 243 | return v, v, v |
|
241 | 244 | i = int(h * 6.0) # XXX assume int() truncates! |
|
242 | 245 | f = (h * 6.0) - i |
|
243 | 246 | p = v * (1.0 - s) |
|
244 | 247 | q = v * (1.0 - s * f) |
|
245 | 248 | t = v * (1.0 - s * (1.0 - f)) |
|
246 | 249 | i = i % 6 |
|
247 | 250 | if i == 0: |
|
248 | 251 | return v, t, p |
|
249 | 252 | if i == 1: |
|
250 | 253 | return q, v, p |
|
251 | 254 | if i == 2: |
|
252 | 255 | return p, v, t |
|
253 | 256 | if i == 3: |
|
254 | 257 | return p, q, v |
|
255 | 258 | if i == 4: |
|
256 | 259 | return t, p, v |
|
257 | 260 | if i == 5: |
|
258 | 261 | return v, p, q |
|
259 | 262 | |
|
260 | 263 | golden_ratio = 0.618033988749895 |
|
261 | 264 | h = 0.22717784590367374 |
|
262 | 265 | |
|
263 | 266 | for _ in xrange(n): |
|
264 | 267 | h += golden_ratio |
|
265 | 268 | h %= 1 |
|
266 | 269 | HSV_tuple = [h, 0.95, 0.95] |
|
267 | 270 | RGB_tuple = hsv_to_rgb(*HSV_tuple) |
|
268 | 271 | yield map(lambda x: str(int(x * 256)), RGB_tuple) |
|
269 | 272 | |
|
270 | 273 | cgenerator = gen_color() |
|
271 | 274 | |
|
272 | 275 | def get_color_string(cs): |
|
273 | 276 | if cs in color_dict: |
|
274 | 277 | col = color_dict[cs] |
|
275 | 278 | else: |
|
276 | 279 | col = color_dict[cs] = cgenerator.next() |
|
277 | 280 | return "color: rgb(%s)! important;" % (', '.join(col)) |
|
278 | 281 | |
|
279 | 282 | def url_func(repo_name): |
|
280 | 283 | |
|
281 | 284 | def _url_func(changeset): |
|
282 | 285 | author = changeset.author |
|
283 | 286 | date = changeset.date |
|
284 | 287 | message = tooltip(changeset.message) |
|
285 | 288 | |
|
286 | 289 | tooltip_html = ("<div style='font-size:0.8em'><b>Author:</b>" |
|
287 | 290 | " %s<br/><b>Date:</b> %s</b><br/><b>Message:" |
|
288 | 291 | "</b> %s<br/></div>") |
|
289 | 292 | |
|
290 | 293 | tooltip_html = tooltip_html % (author, date, message) |
|
291 | 294 | lnk_format = '%5s:%s' % ('r%s' % changeset.revision, |
|
292 | 295 | short_id(changeset.raw_id)) |
|
293 | 296 | uri = link_to( |
|
294 | 297 | lnk_format, |
|
295 | 298 | url('changeset_home', repo_name=repo_name, |
|
296 | 299 | revision=changeset.raw_id), |
|
297 | 300 | style=get_color_string(changeset.raw_id), |
|
298 | 301 | class_='tooltip', |
|
299 | 302 | title=tooltip_html |
|
300 | 303 | ) |
|
301 | 304 | |
|
302 | 305 | uri += '\n' |
|
303 | 306 | return uri |
|
304 | 307 | return _url_func |
|
305 | 308 | |
|
306 | 309 | return literal(annotate_highlight(filenode, url_func(repo_name), **kwargs)) |
|
307 | 310 | |
|
308 | 311 | |
|
309 | 312 | def is_following_repo(repo_name, user_id): |
|
310 | 313 | from rhodecode.model.scm import ScmModel |
|
311 | 314 | return ScmModel().is_following_repo(repo_name, user_id) |
|
312 | 315 | |
|
313 | 316 | flash = _Flash() |
|
314 | 317 | |
|
315 | 318 | #============================================================================== |
|
316 | 319 | # SCM FILTERS available via h. |
|
317 | 320 | #============================================================================== |
|
318 | 321 | from vcs.utils import author_name, author_email |
|
319 | 322 | from rhodecode.lib import credentials_filter, age as _age |
|
320 | 323 | from rhodecode.model.db import User |
|
321 | 324 | |
|
322 | 325 | age = lambda x: _age(x) |
|
323 | 326 | capitalize = lambda x: x.capitalize() |
|
324 | 327 | email = author_email |
|
325 | 328 | short_id = lambda x: x[:12] |
|
326 | 329 | hide_credentials = lambda x: ''.join(credentials_filter(x)) |
|
327 | 330 | |
|
328 | 331 | |
|
329 | 332 | def email_or_none(author): |
|
330 | 333 | _email = email(author) |
|
331 | 334 | if _email != '': |
|
332 | 335 | return _email |
|
333 | 336 | |
|
334 | 337 | # See if it contains a username we can get an email from |
|
335 | 338 | user = User.get_by_username(author_name(author), case_insensitive=True, |
|
336 | 339 | cache=True) |
|
337 | 340 | if user is not None: |
|
338 | 341 | return user.email |
|
339 | 342 | |
|
340 | 343 | # No valid email, not a valid user in the system, none! |
|
341 | 344 | return None |
|
342 | 345 | |
|
343 | 346 | |
|
344 | 347 | def person(author): |
|
345 | 348 | # attr to return from fetched user |
|
346 | 349 | person_getter = lambda usr: usr.username |
|
347 | 350 | |
|
348 | 351 | # Valid email in the attribute passed, see if they're in the system |
|
349 | 352 | _email = email(author) |
|
350 | 353 | if _email != '': |
|
351 | 354 | user = User.get_by_email(_email, case_insensitive=True, cache=True) |
|
352 | 355 | if user is not None: |
|
353 | 356 | return person_getter(user) |
|
354 | 357 | return _email |
|
355 | 358 | |
|
356 | 359 | # Maybe it's a username? |
|
357 | 360 | _author = author_name(author) |
|
358 | 361 | user = User.get_by_username(_author, case_insensitive=True, |
|
359 | 362 | cache=True) |
|
360 | 363 | if user is not None: |
|
361 | 364 | return person_getter(user) |
|
362 | 365 | |
|
363 | 366 | # Still nothing? Just pass back the author name then |
|
364 | 367 | return _author |
|
365 | 368 | |
|
366 | 369 | def bool2icon(value): |
|
367 | 370 | """Returns True/False values represented as small html image of true/false |
|
368 | 371 | icons |
|
369 | 372 | |
|
370 | 373 | :param value: bool value |
|
371 | 374 | """ |
|
372 | 375 | |
|
373 | 376 | if value is True: |
|
374 | 377 | return HTML.tag('img', src=url("/images/icons/accept.png"), |
|
375 | 378 | alt=_('True')) |
|
376 | 379 | |
|
377 | 380 | if value is False: |
|
378 | 381 | return HTML.tag('img', src=url("/images/icons/cancel.png"), |
|
379 | 382 | alt=_('False')) |
|
380 | 383 | |
|
381 | 384 | return value |
|
382 | 385 | |
|
383 | 386 | |
|
384 | 387 | def action_parser(user_log, feed=False): |
|
385 | 388 | """This helper will action_map the specified string action into translated |
|
386 | 389 | fancy names with icons and links |
|
387 | 390 | |
|
388 | 391 | :param user_log: user log instance |
|
389 | 392 | :param feed: use output for feeds (no html and fancy icons) |
|
390 | 393 | """ |
|
391 | 394 | |
|
392 | 395 | action = user_log.action |
|
393 | 396 | action_params = ' ' |
|
394 | 397 | |
|
395 | 398 | x = action.split(':') |
|
396 | 399 | |
|
397 | 400 | if len(x) > 1: |
|
398 | 401 | action, action_params = x |
|
399 | 402 | |
|
400 | 403 | def get_cs_links(): |
|
401 | 404 | revs_limit = 3 #display this amount always |
|
402 | 405 | revs_top_limit = 50 #show upto this amount of changesets hidden |
|
403 | 406 | revs = action_params.split(',') |
|
404 | 407 | repo_name = user_log.repository.repo_name |
|
405 | 408 | |
|
406 | 409 | from rhodecode.model.scm import ScmModel |
|
407 | 410 | repo = user_log.repository.scm_instance |
|
408 | 411 | |
|
409 | 412 | message = lambda rev: get_changeset_safe(repo, rev).message |
|
410 | 413 | cs_links = [] |
|
411 | 414 | cs_links.append(" " + ', '.join ([link_to(rev, |
|
412 | 415 | url('changeset_home', |
|
413 | 416 | repo_name=repo_name, |
|
414 | 417 | revision=rev), title=tooltip(message(rev)), |
|
415 | 418 | class_='tooltip') for rev in revs[:revs_limit] ])) |
|
416 | 419 | |
|
417 | 420 | compare_view = (' <div class="compare_view tooltip" title="%s">' |
|
418 | 421 | '<a href="%s">%s</a> ' |
|
419 | 422 | '</div>' % (_('Show all combined changesets %s->%s' \ |
|
420 | 423 | % (revs[0], revs[-1])), |
|
421 | 424 | url('changeset_home', repo_name=repo_name, |
|
422 | 425 | revision='%s...%s' % (revs[0], revs[-1]) |
|
423 | 426 | ), |
|
424 | 427 | _('compare view')) |
|
425 | 428 | ) |
|
426 | 429 | |
|
427 | 430 | if len(revs) > revs_limit: |
|
428 | 431 | uniq_id = revs[0] |
|
429 | 432 | html_tmpl = ('<span> %s ' |
|
430 | 433 | '<a class="show_more" id="_%s" href="#more">%s</a> ' |
|
431 | 434 | '%s</span>') |
|
432 | 435 | if not feed: |
|
433 | 436 | cs_links.append(html_tmpl % (_('and'), uniq_id, _('%s more') \ |
|
434 | 437 | % (len(revs) - revs_limit), |
|
435 | 438 | _('revisions'))) |
|
436 | 439 | |
|
437 | 440 | if not feed: |
|
438 | 441 | html_tmpl = '<span id="%s" style="display:none"> %s </span>' |
|
439 | 442 | else: |
|
440 | 443 | html_tmpl = '<span id="%s"> %s </span>' |
|
441 | 444 | |
|
442 | 445 | cs_links.append(html_tmpl % (uniq_id, ', '.join([link_to(rev, |
|
443 | 446 | url('changeset_home', |
|
444 | 447 | repo_name=repo_name, revision=rev), |
|
445 | 448 | title=message(rev), class_='tooltip') |
|
446 | 449 | for rev in revs[revs_limit:revs_top_limit]]))) |
|
447 | 450 | if len(revs) > 1: |
|
448 | 451 | cs_links.append(compare_view) |
|
449 | 452 | return ''.join(cs_links) |
|
450 | 453 | |
|
451 | 454 | def get_fork_name(): |
|
452 | 455 | repo_name = action_params |
|
453 | 456 | return _('fork name ') + str(link_to(action_params, url('summary_home', |
|
454 | 457 | repo_name=repo_name,))) |
|
455 | 458 | |
|
456 | 459 | action_map = {'user_deleted_repo':(_('[deleted] repository'), None), |
|
457 | 460 | 'user_created_repo':(_('[created] repository'), None), |
|
458 | 461 | 'user_created_fork':(_('[created] repository as fork'), None), |
|
459 | 462 | 'user_forked_repo':(_('[forked] repository'), get_fork_name), |
|
460 | 463 | 'user_updated_repo':(_('[updated] repository'), None), |
|
461 | 464 | 'admin_deleted_repo':(_('[delete] repository'), None), |
|
462 | 465 | 'admin_created_repo':(_('[created] repository'), None), |
|
463 | 466 | 'admin_forked_repo':(_('[forked] repository'), None), |
|
464 | 467 | 'admin_updated_repo':(_('[updated] repository'), None), |
|
465 | 468 | 'push':(_('[pushed] into'), get_cs_links), |
|
466 | 469 | 'push_local':(_('[committed via RhodeCode] into'), get_cs_links), |
|
467 | 470 | 'push_remote':(_('[pulled from remote] into'), get_cs_links), |
|
468 | 471 | 'pull':(_('[pulled] from'), None), |
|
469 | 472 | 'started_following_repo':(_('[started following] repository'), None), |
|
470 | 473 | 'stopped_following_repo':(_('[stopped following] repository'), None), |
|
471 | 474 | } |
|
472 | 475 | |
|
473 | 476 | action_str = action_map.get(action, action) |
|
474 | 477 | if feed: |
|
475 | 478 | action = action_str[0].replace('[', '').replace(']', '') |
|
476 | 479 | else: |
|
477 | 480 | action = action_str[0].replace('[', '<span class="journal_highlight">')\ |
|
478 | 481 | .replace(']', '</span>') |
|
479 | 482 | |
|
480 | 483 | action_params_func = lambda :"" |
|
481 | 484 | |
|
482 | 485 | if callable(action_str[1]): |
|
483 | 486 | action_params_func = action_str[1] |
|
484 | 487 | |
|
485 | 488 | return [literal(action), action_params_func] |
|
486 | 489 | |
|
487 | 490 | def action_parser_icon(user_log): |
|
488 | 491 | action = user_log.action |
|
489 | 492 | action_params = None |
|
490 | 493 | x = action.split(':') |
|
491 | 494 | |
|
492 | 495 | if len(x) > 1: |
|
493 | 496 | action, action_params = x |
|
494 | 497 | |
|
495 | 498 | tmpl = """<img src="%s%s" alt="%s"/>""" |
|
496 | 499 | map = {'user_deleted_repo':'database_delete.png', |
|
497 | 500 | 'user_created_repo':'database_add.png', |
|
498 | 501 | 'user_created_fork':'arrow_divide.png', |
|
499 | 502 | 'user_forked_repo':'arrow_divide.png', |
|
500 | 503 | 'user_updated_repo':'database_edit.png', |
|
501 | 504 | 'admin_deleted_repo':'database_delete.png', |
|
502 | 505 | 'admin_created_repo':'database_add.png', |
|
503 | 506 | 'admin_forked_repo':'arrow_divide.png', |
|
504 | 507 | 'admin_updated_repo':'database_edit.png', |
|
505 | 508 | 'push':'script_add.png', |
|
506 | 509 | 'push_local':'script_edit.png', |
|
507 | 510 | 'push_remote':'connect.png', |
|
508 | 511 | 'pull':'down_16.png', |
|
509 | 512 | 'started_following_repo':'heart_add.png', |
|
510 | 513 | 'stopped_following_repo':'heart_delete.png', |
|
511 | 514 | } |
|
512 | 515 | return literal(tmpl % ((url('/images/icons/')), |
|
513 | 516 | map.get(action, action), action)) |
|
514 | 517 | |
|
515 | 518 | |
|
516 | 519 | #============================================================================== |
|
517 | 520 | # PERMS |
|
518 | 521 | #============================================================================== |
|
519 | 522 | from rhodecode.lib.auth import HasPermissionAny, HasPermissionAll, \ |
|
520 | 523 | HasRepoPermissionAny, HasRepoPermissionAll |
|
521 | 524 | |
|
522 | 525 | #============================================================================== |
|
523 | 526 | # GRAVATAR URL |
|
524 | 527 | #============================================================================== |
|
525 | 528 | |
|
526 | 529 | def gravatar_url(email_address, size=30): |
|
527 | 530 | if (not str2bool(config['app_conf'].get('use_gravatar')) or |
|
528 | 531 | not email_address or email_address == 'anonymous@rhodecode.org'): |
|
529 | 532 | return url("/images/user%s.png" % size) |
|
530 | 533 | |
|
531 | 534 | ssl_enabled = 'https' == request.environ.get('wsgi.url_scheme') |
|
532 | 535 | default = 'identicon' |
|
533 | 536 | baseurl_nossl = "http://www.gravatar.com/avatar/" |
|
534 | 537 | baseurl_ssl = "https://secure.gravatar.com/avatar/" |
|
535 | 538 | baseurl = baseurl_ssl if ssl_enabled else baseurl_nossl |
|
536 | 539 | |
|
537 | 540 | if isinstance(email_address, unicode): |
|
538 | 541 | #hashlib crashes on unicode items |
|
539 | 542 | email_address = safe_str(email_address) |
|
540 | 543 | # construct the url |
|
541 | 544 | gravatar_url = baseurl + hashlib.md5(email_address.lower()).hexdigest() + "?" |
|
542 | 545 | gravatar_url += urllib.urlencode({'d':default, 's':str(size)}) |
|
543 | 546 | |
|
544 | 547 | return gravatar_url |
|
545 | 548 | |
|
546 | 549 | |
|
547 | 550 | #============================================================================== |
|
548 | 551 | # REPO PAGER, PAGER FOR REPOSITORY |
|
549 | 552 | #============================================================================== |
|
550 | 553 | class RepoPage(Page): |
|
551 | 554 | |
|
552 | 555 | def __init__(self, collection, page=1, items_per_page=20, |
|
553 | 556 | item_count=None, url=None, **kwargs): |
|
554 | 557 | |
|
555 | 558 | """Create a "RepoPage" instance. special pager for paging |
|
556 | 559 | repository |
|
557 | 560 | """ |
|
558 | 561 | self._url_generator = url |
|
559 | 562 | |
|
560 | 563 | # Safe the kwargs class-wide so they can be used in the pager() method |
|
561 | 564 | self.kwargs = kwargs |
|
562 | 565 | |
|
563 | 566 | # Save a reference to the collection |
|
564 | 567 | self.original_collection = collection |
|
565 | 568 | |
|
566 | 569 | self.collection = collection |
|
567 | 570 | |
|
568 | 571 | # The self.page is the number of the current page. |
|
569 | 572 | # The first page has the number 1! |
|
570 | 573 | try: |
|
571 | 574 | self.page = int(page) # make it int() if we get it as a string |
|
572 | 575 | except (ValueError, TypeError): |
|
573 | 576 | self.page = 1 |
|
574 | 577 | |
|
575 | 578 | self.items_per_page = items_per_page |
|
576 | 579 | |
|
577 | 580 | # Unless the user tells us how many items the collections has |
|
578 | 581 | # we calculate that ourselves. |
|
579 | 582 | if item_count is not None: |
|
580 | 583 | self.item_count = item_count |
|
581 | 584 | else: |
|
582 | 585 | self.item_count = len(self.collection) |
|
583 | 586 | |
|
584 | 587 | # Compute the number of the first and last available page |
|
585 | 588 | if self.item_count > 0: |
|
586 | 589 | self.first_page = 1 |
|
587 | 590 | self.page_count = int(math.ceil(float(self.item_count) / |
|
588 | 591 | self.items_per_page)) |
|
589 | 592 | self.last_page = self.first_page + self.page_count - 1 |
|
590 | 593 | |
|
591 | 594 | # Make sure that the requested page number is the range of |
|
592 | 595 | # valid pages |
|
593 | 596 | if self.page > self.last_page: |
|
594 | 597 | self.page = self.last_page |
|
595 | 598 | elif self.page < self.first_page: |
|
596 | 599 | self.page = self.first_page |
|
597 | 600 | |
|
598 | 601 | # Note: the number of items on this page can be less than |
|
599 | 602 | # items_per_page if the last page is not full |
|
600 | 603 | self.first_item = max(0, (self.item_count) - (self.page * |
|
601 | 604 | items_per_page)) |
|
602 | 605 | self.last_item = ((self.item_count - 1) - items_per_page * |
|
603 | 606 | (self.page - 1)) |
|
604 | 607 | |
|
605 | 608 | self.items = list(self.collection[self.first_item:self.last_item + 1]) |
|
606 | 609 | |
|
607 | 610 | |
|
608 | 611 | # Links to previous and next page |
|
609 | 612 | if self.page > self.first_page: |
|
610 | 613 | self.previous_page = self.page - 1 |
|
611 | 614 | else: |
|
612 | 615 | self.previous_page = None |
|
613 | 616 | |
|
614 | 617 | if self.page < self.last_page: |
|
615 | 618 | self.next_page = self.page + 1 |
|
616 | 619 | else: |
|
617 | 620 | self.next_page = None |
|
618 | 621 | |
|
619 | 622 | # No items available |
|
620 | 623 | else: |
|
621 | 624 | self.first_page = None |
|
622 | 625 | self.page_count = 0 |
|
623 | 626 | self.last_page = None |
|
624 | 627 | self.first_item = None |
|
625 | 628 | self.last_item = None |
|
626 | 629 | self.previous_page = None |
|
627 | 630 | self.next_page = None |
|
628 | 631 | self.items = [] |
|
629 | 632 | |
|
630 | 633 | # This is a subclass of the 'list' type. Initialise the list now. |
|
631 | 634 | list.__init__(self, reversed(self.items)) |
|
632 | 635 | |
|
633 | 636 | |
|
634 | 637 | def changed_tooltip(nodes): |
|
635 | 638 | """ |
|
636 | 639 | Generates a html string for changed nodes in changeset page. |
|
637 | 640 | It limits the output to 30 entries |
|
638 | 641 | |
|
639 | 642 | :param nodes: LazyNodesGenerator |
|
640 | 643 | """ |
|
641 | 644 | if nodes: |
|
642 | 645 | pref = ': <br/> ' |
|
643 | 646 | suf = '' |
|
644 | 647 | if len(nodes) > 30: |
|
645 | 648 | suf = '<br/>' + _(' and %s more') % (len(nodes) - 30) |
|
646 | 649 | return literal(pref + '<br/> '.join([safe_unicode(x.path) |
|
647 | 650 | for x in nodes[:30]]) + suf) |
|
648 | 651 | else: |
|
649 | 652 | return ': ' + _('No Files') |
|
650 | 653 | |
|
651 | 654 | |
|
652 | 655 | |
|
653 | 656 | def repo_link(groups_and_repos): |
|
654 | 657 | """ |
|
655 | 658 | Makes a breadcrumbs link to repo within a group |
|
656 | 659 | joins » on each group to create a fancy link |
|
657 | 660 | |
|
658 | 661 | ex:: |
|
659 | 662 | group >> subgroup >> repo |
|
660 | 663 | |
|
661 | 664 | :param groups_and_repos: |
|
662 | 665 | """ |
|
663 | 666 | groups, repo_name = groups_and_repos |
|
664 | 667 | |
|
665 | 668 | if not groups: |
|
666 | 669 | return repo_name |
|
667 | 670 | else: |
|
668 | 671 | def make_link(group): |
|
669 | 672 | return link_to(group.name, url('repos_group_home', |
|
670 | 673 | group_name=group.group_name)) |
|
671 | 674 | return literal(' » '.join(map(make_link, groups)) + \ |
|
672 | 675 | " » " + repo_name) |
|
673 | 676 | |
|
674 | 677 | def fancy_file_stats(stats): |
|
675 | 678 | """ |
|
676 | 679 | Displays a fancy two colored bar for number of added/deleted |
|
677 | 680 | lines of code on file |
|
678 | 681 | |
|
679 | 682 | :param stats: two element list of added/deleted lines of code |
|
680 | 683 | """ |
|
681 | 684 | |
|
682 | 685 | a, d, t = stats[0], stats[1], stats[0] + stats[1] |
|
683 | 686 | width = 100 |
|
684 | 687 | unit = float(width) / (t or 1) |
|
685 | 688 | |
|
686 | 689 | # needs > 9% of width to be visible or 0 to be hidden |
|
687 | 690 | a_p = max(9, unit * a) if a > 0 else 0 |
|
688 | 691 | d_p = max(9, unit * d) if d > 0 else 0 |
|
689 | 692 | p_sum = a_p + d_p |
|
690 | 693 | |
|
691 | 694 | if p_sum > width: |
|
692 | 695 | #adjust the percentage to be == 100% since we adjusted to 9 |
|
693 | 696 | if a_p > d_p: |
|
694 | 697 | a_p = a_p - (p_sum - width) |
|
695 | 698 | else: |
|
696 | 699 | d_p = d_p - (p_sum - width) |
|
697 | 700 | |
|
698 | 701 | a_v = a if a > 0 else '' |
|
699 | 702 | d_v = d if d > 0 else '' |
|
700 | 703 | |
|
701 | 704 | |
|
702 | 705 | def cgen(l_type): |
|
703 | 706 | mapping = {'tr':'top-right-rounded-corner', |
|
704 | 707 | 'tl':'top-left-rounded-corner', |
|
705 | 708 | 'br':'bottom-right-rounded-corner', |
|
706 | 709 | 'bl':'bottom-left-rounded-corner'} |
|
707 | 710 | map_getter = lambda x:mapping[x] |
|
708 | 711 | |
|
709 | 712 | if l_type == 'a' and d_v: |
|
710 | 713 | #case when added and deleted are present |
|
711 | 714 | return ' '.join(map(map_getter, ['tl', 'bl'])) |
|
712 | 715 | |
|
713 | 716 | if l_type == 'a' and not d_v: |
|
714 | 717 | return ' '.join(map(map_getter, ['tr', 'br', 'tl', 'bl'])) |
|
715 | 718 | |
|
716 | 719 | if l_type == 'd' and a_v: |
|
717 | 720 | return ' '.join(map(map_getter, ['tr', 'br'])) |
|
718 | 721 | |
|
719 | 722 | if l_type == 'd' and not a_v: |
|
720 | 723 | return ' '.join(map(map_getter, ['tr', 'br', 'tl', 'bl'])) |
|
721 | 724 | |
|
722 | 725 | |
|
723 | 726 | |
|
724 | 727 | d_a = '<div class="added %s" style="width:%s%%">%s</div>' % (cgen('a'), |
|
725 | 728 | a_p, a_v) |
|
726 | 729 | d_d = '<div class="deleted %s" style="width:%s%%">%s</div>' % (cgen('d'), |
|
727 | 730 | d_p, d_v) |
|
728 | 731 | return literal('<div style="width:%spx">%s%s</div>' % (width, d_a, d_d)) |
|
729 | 732 | |
|
730 | 733 | |
|
731 | 734 | def urlify_text(text): |
|
732 | 735 | import re |
|
733 | 736 | |
|
734 | 737 | url_pat = re.compile(r'''(http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]''' |
|
735 | 738 | '''|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+)''') |
|
736 | 739 | |
|
737 | 740 | def url_func(match_obj): |
|
738 | 741 | url_full = match_obj.groups()[0] |
|
739 | 742 | return '<a href="%(url)s">%(url)s</a>' % ({'url':url_full}) |
|
740 | 743 | |
|
741 | 744 | return literal(url_pat.sub(url_func, text)) |
|
742 | 745 | |
|
746 | def urlify_commit(text): | |
|
747 | import re | |
|
748 | import traceback | |
|
749 | ||
|
750 | try: | |
|
751 | conf = config['app_conf'] | |
|
752 | ||
|
753 | URL_PAT = re.compile(r'%s' % conf.get('url_pat')) | |
|
754 | ||
|
755 | if URL_PAT: | |
|
756 | ISSUE_SERVER = conf.get('issue_server') | |
|
757 | ISSUE_PREFIX = conf.get('issue_prefix') | |
|
758 | def url_func(match_obj): | |
|
759 | issue_id = match_obj.groups()[0] | |
|
760 | return ' <a href="%(url)s">%(issue-prefix)s%(id-repr)s</a>' % ( | |
|
761 | {'url':ISSUE_SERVER.replace('{id}',issue_id), | |
|
762 | 'id-repr':issue_id, | |
|
763 | 'issue-prefix':ISSUE_PREFIX, | |
|
764 | 'serv':ISSUE_SERVER, | |
|
765 | } | |
|
766 | ) | |
|
767 | return literal(URL_PAT.sub(url_func, text)) | |
|
768 | except: | |
|
769 | log.error(traceback.format_exc()) | |
|
770 | pass | |
|
771 | ||
|
772 | return text | |
|
743 | 773 | |
|
744 | 774 | def rst(source): |
|
745 | 775 | return literal('<div class="rst-block">%s</div>' % |
|
746 | 776 | MarkupRenderer.rst(source)) |
|
747 | 777 | |
|
748 | 778 | def rst_w_mentions(source): |
|
749 | 779 | """ |
|
750 | 780 | Wrapped rst renderer with @mention highlighting |
|
751 | 781 | |
|
752 | 782 | :param source: |
|
753 | 783 | """ |
|
754 | 784 | return literal('<div class="rst-block">%s</div>' % |
|
755 | 785 | MarkupRenderer.rst_with_mentions(source)) |
@@ -1,4094 +1,4092 b'' | |||
|
1 | 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 | 3 | border: 0; |
|
4 | 4 | outline: 0; |
|
5 | 5 | font-size: 100%; |
|
6 | 6 | vertical-align: baseline; |
|
7 | 7 | background: transparent; |
|
8 | 8 | margin: 0; |
|
9 | 9 | padding: 0; |
|
10 | 10 | } |
|
11 | 11 | |
|
12 | 12 | body { |
|
13 | 13 | line-height: 1; |
|
14 | 14 | height: 100%; |
|
15 | 15 | background: url("../images/background.png") repeat scroll 0 0 #B0B0B0; |
|
16 | 16 | font-family: Lucida Grande, Verdana, Lucida Sans Regular, |
|
17 | 17 | Lucida Sans Unicode, Arial, sans-serif; font-size : 12px; |
|
18 | 18 | color: #000; |
|
19 | 19 | margin: 0; |
|
20 | 20 | padding: 0; |
|
21 | 21 | font-size: 12px; |
|
22 | 22 | } |
|
23 | 23 | |
|
24 | 24 | ol,ul { |
|
25 | 25 | list-style: none; |
|
26 | 26 | } |
|
27 | 27 | |
|
28 | 28 | blockquote,q { |
|
29 | 29 | quotes: none; |
|
30 | 30 | } |
|
31 | 31 | |
|
32 | 32 | blockquote:before,blockquote:after,q:before,q:after { |
|
33 | 33 | content: none; |
|
34 | 34 | } |
|
35 | 35 | |
|
36 | 36 | :focus { |
|
37 | 37 | outline: 0; |
|
38 | 38 | } |
|
39 | 39 | |
|
40 | 40 | del { |
|
41 | 41 | text-decoration: line-through; |
|
42 | 42 | } |
|
43 | 43 | |
|
44 | 44 | table { |
|
45 | 45 | border-collapse: collapse; |
|
46 | 46 | border-spacing: 0; |
|
47 | 47 | } |
|
48 | 48 | |
|
49 | 49 | html { |
|
50 | 50 | height: 100%; |
|
51 | 51 | } |
|
52 | 52 | |
|
53 | 53 | a { |
|
54 | 54 | color: #003367; |
|
55 | 55 | text-decoration: none; |
|
56 | 56 | cursor: pointer; |
|
57 | 57 | } |
|
58 | 58 | |
|
59 | 59 | a:hover { |
|
60 | 60 | color: #316293; |
|
61 | 61 | text-decoration: underline; |
|
62 | 62 | } |
|
63 | 63 | |
|
64 | 64 | h1,h2,h3,h4,h5,h6 { |
|
65 | 65 | color: #292929; |
|
66 | 66 | font-weight: 700; |
|
67 | 67 | } |
|
68 | 68 | |
|
69 | 69 | h1 { |
|
70 | 70 | font-size: 22px; |
|
71 | 71 | } |
|
72 | 72 | |
|
73 | 73 | h2 { |
|
74 | 74 | font-size: 20px; |
|
75 | 75 | } |
|
76 | 76 | |
|
77 | 77 | h3 { |
|
78 | 78 | font-size: 18px; |
|
79 | 79 | } |
|
80 | 80 | |
|
81 | 81 | h4 { |
|
82 | 82 | font-size: 16px; |
|
83 | 83 | } |
|
84 | 84 | |
|
85 | 85 | h5 { |
|
86 | 86 | font-size: 14px; |
|
87 | 87 | } |
|
88 | 88 | |
|
89 | 89 | h6 { |
|
90 | 90 | font-size: 11px; |
|
91 | 91 | } |
|
92 | 92 | |
|
93 | 93 | ul.circle { |
|
94 | 94 | list-style-type: circle; |
|
95 | 95 | } |
|
96 | 96 | |
|
97 | 97 | ul.disc { |
|
98 | 98 | list-style-type: disc; |
|
99 | 99 | } |
|
100 | 100 | |
|
101 | 101 | ul.square { |
|
102 | 102 | list-style-type: square; |
|
103 | 103 | } |
|
104 | 104 | |
|
105 | 105 | ol.lower-roman { |
|
106 | 106 | list-style-type: lower-roman; |
|
107 | 107 | } |
|
108 | 108 | |
|
109 | 109 | ol.upper-roman { |
|
110 | 110 | list-style-type: upper-roman; |
|
111 | 111 | } |
|
112 | 112 | |
|
113 | 113 | ol.lower-alpha { |
|
114 | 114 | list-style-type: lower-alpha; |
|
115 | 115 | } |
|
116 | 116 | |
|
117 | 117 | ol.upper-alpha { |
|
118 | 118 | list-style-type: upper-alpha; |
|
119 | 119 | } |
|
120 | 120 | |
|
121 | 121 | ol.decimal { |
|
122 | 122 | list-style-type: decimal; |
|
123 | 123 | } |
|
124 | 124 | |
|
125 | 125 | div.color { |
|
126 | 126 | clear: both; |
|
127 | 127 | overflow: hidden; |
|
128 | 128 | position: absolute; |
|
129 | 129 | background: #FFF; |
|
130 | 130 | margin: 7px 0 0 60px; |
|
131 | 131 | padding: 1px 1px 1px 0; |
|
132 | 132 | } |
|
133 | 133 | |
|
134 | 134 | div.color a { |
|
135 | 135 | width: 15px; |
|
136 | 136 | height: 15px; |
|
137 | 137 | display: block; |
|
138 | 138 | float: left; |
|
139 | 139 | margin: 0 0 0 1px; |
|
140 | 140 | padding: 0; |
|
141 | 141 | } |
|
142 | 142 | |
|
143 | 143 | div.options { |
|
144 | 144 | clear: both; |
|
145 | 145 | overflow: hidden; |
|
146 | 146 | position: absolute; |
|
147 | 147 | background: #FFF; |
|
148 | 148 | margin: 7px 0 0 162px; |
|
149 | 149 | padding: 0; |
|
150 | 150 | } |
|
151 | 151 | |
|
152 | 152 | div.options a { |
|
153 | 153 | height: 1%; |
|
154 | 154 | display: block; |
|
155 | 155 | text-decoration: none; |
|
156 | 156 | margin: 0; |
|
157 | 157 | padding: 3px 8px; |
|
158 | 158 | } |
|
159 | 159 | |
|
160 | 160 | .top-left-rounded-corner { |
|
161 | 161 | -webkit-border-top-left-radius: 8px; |
|
162 | 162 | -khtml-border-radius-topleft: 8px; |
|
163 | 163 | -moz-border-radius-topleft: 8px; |
|
164 | 164 | border-top-left-radius: 8px; |
|
165 | 165 | } |
|
166 | 166 | |
|
167 | 167 | .top-right-rounded-corner { |
|
168 | 168 | -webkit-border-top-right-radius: 8px; |
|
169 | 169 | -khtml-border-radius-topright: 8px; |
|
170 | 170 | -moz-border-radius-topright: 8px; |
|
171 | 171 | border-top-right-radius: 8px; |
|
172 | 172 | } |
|
173 | 173 | |
|
174 | 174 | .bottom-left-rounded-corner { |
|
175 | 175 | -webkit-border-bottom-left-radius: 8px; |
|
176 | 176 | -khtml-border-radius-bottomleft: 8px; |
|
177 | 177 | -moz-border-radius-bottomleft: 8px; |
|
178 | 178 | border-bottom-left-radius: 8px; |
|
179 | 179 | } |
|
180 | 180 | |
|
181 | 181 | .bottom-right-rounded-corner { |
|
182 | 182 | -webkit-border-bottom-right-radius: 8px; |
|
183 | 183 | -khtml-border-radius-bottomright: 8px; |
|
184 | 184 | -moz-border-radius-bottomright: 8px; |
|
185 | 185 | border-bottom-right-radius: 8px; |
|
186 | 186 | } |
|
187 | 187 | |
|
188 | 188 | #header { |
|
189 | 189 | margin: 0; |
|
190 | 190 | padding: 0 10px; |
|
191 | 191 | } |
|
192 | 192 | |
|
193 | 193 | #header ul#logged-user { |
|
194 | 194 | margin-bottom: 5px !important; |
|
195 | 195 | -webkit-border-radius: 0px 0px 8px 8px; |
|
196 | 196 | -khtml-border-radius: 0px 0px 8px 8px; |
|
197 | 197 | -moz-border-radius: 0px 0px 8px 8px; |
|
198 | 198 | border-radius: 0px 0px 8px 8px; |
|
199 | 199 | height: 37px; |
|
200 | 200 | background-color: #eedc94; |
|
201 | 201 | background-repeat: repeat-x; |
|
202 | 202 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
203 | 203 | to(#eedc94) ); |
|
204 | 204 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
205 | 205 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
206 | 206 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
207 | 207 | color-stop(100%, #00376e) ); |
|
208 | 208 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
209 | 209 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
210 | 210 | background-image: linear-gradient(top, #003b76, #00376e); |
|
211 | 211 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
212 | 212 | endColorstr='#00376e', GradientType=0 ); |
|
213 | 213 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
214 | 214 | } |
|
215 | 215 | |
|
216 | 216 | #header ul#logged-user li { |
|
217 | 217 | list-style: none; |
|
218 | 218 | float: left; |
|
219 | 219 | margin: 8px 0 0; |
|
220 | 220 | padding: 4px 12px; |
|
221 | 221 | border-left: 1px solid #316293; |
|
222 | 222 | } |
|
223 | 223 | |
|
224 | 224 | #header ul#logged-user li.first { |
|
225 | 225 | border-left: none; |
|
226 | 226 | margin: 4px; |
|
227 | 227 | } |
|
228 | 228 | |
|
229 | 229 | #header ul#logged-user li.first div.gravatar { |
|
230 | 230 | margin-top: -2px; |
|
231 | 231 | } |
|
232 | 232 | |
|
233 | 233 | #header ul#logged-user li.first div.account { |
|
234 | 234 | padding-top: 4px; |
|
235 | 235 | float: left; |
|
236 | 236 | } |
|
237 | 237 | |
|
238 | 238 | #header ul#logged-user li.last { |
|
239 | 239 | border-right: none; |
|
240 | 240 | } |
|
241 | 241 | |
|
242 | 242 | #header ul#logged-user li a { |
|
243 | 243 | color: #fff; |
|
244 | 244 | font-weight: 700; |
|
245 | 245 | text-decoration: none; |
|
246 | 246 | } |
|
247 | 247 | |
|
248 | 248 | #header ul#logged-user li a:hover { |
|
249 | 249 | text-decoration: underline; |
|
250 | 250 | } |
|
251 | 251 | |
|
252 | 252 | #header ul#logged-user li.highlight a { |
|
253 | 253 | color: #fff; |
|
254 | 254 | } |
|
255 | 255 | |
|
256 | 256 | #header ul#logged-user li.highlight a:hover { |
|
257 | 257 | color: #FFF; |
|
258 | 258 | } |
|
259 | 259 | |
|
260 | 260 | #header #header-inner { |
|
261 | 261 | min-height: 40px; |
|
262 | 262 | clear: both; |
|
263 | 263 | position: relative; |
|
264 | 264 | background-color: #eedc94; |
|
265 | 265 | background-repeat: repeat-x; |
|
266 | 266 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
267 | 267 | to(#eedc94) ); |
|
268 | 268 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
269 | 269 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
270 | 270 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
271 | 271 | color-stop(100%, #00376e) ); |
|
272 | 272 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
273 | 273 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
274 | 274 | background-image: linear-gradient(top, #003b76, #00376e); |
|
275 | 275 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
276 | 276 | endColorstr='#00376e', GradientType=0 ); |
|
277 | 277 | margin: 0; |
|
278 | 278 | padding: 0; |
|
279 | 279 | display: block; |
|
280 | 280 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
281 | 281 | -webkit-border-radius: 4px 4px 4px 4px; |
|
282 | 282 | -khtml-border-radius: 4px 4px 4px 4px; |
|
283 | 283 | -moz-border-radius: 4px 4px 4px 4px; |
|
284 | 284 | border-radius: 4px 4px 4px 4px; |
|
285 | 285 | } |
|
286 | 286 | #header #header-inner.hover{ |
|
287 | 287 | position: fixed !important; |
|
288 | 288 | width: 100% !important; |
|
289 | 289 | margin-left: -10px !important; |
|
290 | 290 | z-index: 10000; |
|
291 | 291 | border-radius: 0px 0px 4px 4px; |
|
292 | 292 | } |
|
293 | 293 | #header #header-inner #home a { |
|
294 | 294 | height: 40px; |
|
295 | 295 | width: 46px; |
|
296 | 296 | display: block; |
|
297 | 297 | background: url("../images/button_home.png"); |
|
298 | 298 | background-position: 0 0; |
|
299 | 299 | margin: 0; |
|
300 | 300 | padding: 0; |
|
301 | 301 | } |
|
302 | 302 | |
|
303 | 303 | #header #header-inner #home a:hover { |
|
304 | 304 | background-position: 0 -40px; |
|
305 | 305 | } |
|
306 | 306 | |
|
307 | 307 | #header #header-inner #logo { |
|
308 | 308 | float: left; |
|
309 | 309 | position: absolute; |
|
310 | 310 | } |
|
311 | 311 | |
|
312 | 312 | #header #header-inner #logo h1 { |
|
313 | 313 | color: #FFF; |
|
314 | 314 | font-size: 18px; |
|
315 | 315 | margin: 10px 0 0 13px; |
|
316 | 316 | padding: 0; |
|
317 | 317 | } |
|
318 | 318 | |
|
319 | 319 | #header #header-inner #logo a { |
|
320 | 320 | color: #fff; |
|
321 | 321 | text-decoration: none; |
|
322 | 322 | } |
|
323 | 323 | |
|
324 | 324 | #header #header-inner #logo a:hover { |
|
325 | 325 | color: #bfe3ff; |
|
326 | 326 | } |
|
327 | 327 | |
|
328 | 328 | #header #header-inner #quick,#header #header-inner #quick ul { |
|
329 | 329 | position: relative; |
|
330 | 330 | float: right; |
|
331 | 331 | list-style-type: none; |
|
332 | 332 | list-style-position: outside; |
|
333 | 333 | margin: 6px 5px 0 0; |
|
334 | 334 | padding: 0; |
|
335 | 335 | } |
|
336 | 336 | |
|
337 | 337 | #header #header-inner #quick li { |
|
338 | 338 | position: relative; |
|
339 | 339 | float: left; |
|
340 | 340 | margin: 0 5px 0 0; |
|
341 | 341 | padding: 0; |
|
342 | 342 | } |
|
343 | 343 | |
|
344 | 344 | #header #header-inner #quick li a { |
|
345 | 345 | top: 0; |
|
346 | 346 | left: 0; |
|
347 | 347 | height: 1%; |
|
348 | 348 | display: block; |
|
349 | 349 | clear: both; |
|
350 | 350 | overflow: hidden; |
|
351 | 351 | color: #FFF; |
|
352 | 352 | font-weight: 700; |
|
353 | 353 | text-decoration: none; |
|
354 | 354 | background: #369; |
|
355 | 355 | padding: 0; |
|
356 | 356 | -webkit-border-radius: 4px 4px 4px 4px; |
|
357 | 357 | -khtml-border-radius: 4px 4px 4px 4px; |
|
358 | 358 | -moz-border-radius: 4px 4px 4px 4px; |
|
359 | 359 | border-radius: 4px 4px 4px 4px; |
|
360 | 360 | } |
|
361 | 361 | |
|
362 | 362 | #header #header-inner #quick li span.short { |
|
363 | 363 | padding: 9px 6px 8px 6px; |
|
364 | 364 | } |
|
365 | 365 | |
|
366 | 366 | #header #header-inner #quick li span { |
|
367 | 367 | top: 0; |
|
368 | 368 | right: 0; |
|
369 | 369 | height: 1%; |
|
370 | 370 | display: block; |
|
371 | 371 | float: left; |
|
372 | 372 | border-left: 1px solid #3f6f9f; |
|
373 | 373 | margin: 0; |
|
374 | 374 | padding: 10px 12px 8px 10px; |
|
375 | 375 | } |
|
376 | 376 | |
|
377 | 377 | #header #header-inner #quick li span.normal { |
|
378 | 378 | border: none; |
|
379 | 379 | padding: 10px 12px 8px; |
|
380 | 380 | } |
|
381 | 381 | |
|
382 | 382 | #header #header-inner #quick li span.icon { |
|
383 | 383 | top: 0; |
|
384 | 384 | left: 0; |
|
385 | 385 | border-left: none; |
|
386 | 386 | border-right: 1px solid #2e5c89; |
|
387 | 387 | padding: 8px 6px 4px; |
|
388 | 388 | } |
|
389 | 389 | |
|
390 | 390 | #header #header-inner #quick li span.icon_short { |
|
391 | 391 | top: 0; |
|
392 | 392 | left: 0; |
|
393 | 393 | border-left: none; |
|
394 | 394 | border-right: 1px solid #2e5c89; |
|
395 | 395 | padding: 8px 6px 4px; |
|
396 | 396 | } |
|
397 | 397 | |
|
398 | 398 | #header #header-inner #quick li span.icon img,#header #header-inner #quick li span.icon_short img |
|
399 | 399 | { |
|
400 | 400 | margin: 0px -2px 0px 0px; |
|
401 | 401 | } |
|
402 | 402 | |
|
403 | 403 | #header #header-inner #quick li a:hover { |
|
404 | 404 | background: #4e4e4e no-repeat top left; |
|
405 | 405 | } |
|
406 | 406 | |
|
407 | 407 | #header #header-inner #quick li a:hover span { |
|
408 | 408 | border-left: 1px solid #545454; |
|
409 | 409 | } |
|
410 | 410 | |
|
411 | 411 | #header #header-inner #quick li a:hover span.icon,#header #header-inner #quick li a:hover span.icon_short |
|
412 | 412 | { |
|
413 | 413 | border-left: none; |
|
414 | 414 | border-right: 1px solid #464646; |
|
415 | 415 | } |
|
416 | 416 | |
|
417 | 417 | #header #header-inner #quick ul { |
|
418 | 418 | top: 29px; |
|
419 | 419 | right: 0; |
|
420 | 420 | min-width: 200px; |
|
421 | 421 | display: none; |
|
422 | 422 | position: absolute; |
|
423 | 423 | background: #FFF; |
|
424 | 424 | border: 1px solid #666; |
|
425 | 425 | border-top: 1px solid #003367; |
|
426 | 426 | z-index: 100; |
|
427 | 427 | margin: 0; |
|
428 | 428 | padding: 0; |
|
429 | 429 | } |
|
430 | 430 | |
|
431 | 431 | #header #header-inner #quick ul.repo_switcher { |
|
432 | 432 | max-height: 275px; |
|
433 | 433 | overflow-x: hidden; |
|
434 | 434 | overflow-y: auto; |
|
435 | 435 | } |
|
436 | 436 | |
|
437 | 437 | #header #header-inner #quick ul.repo_switcher li.qfilter_rs { |
|
438 | 438 | float: none; |
|
439 | 439 | margin: 0; |
|
440 | 440 | border-bottom: 2px solid #003367; |
|
441 | 441 | } |
|
442 | 442 | |
|
443 | 443 | #header #header-inner #quick .repo_switcher_type { |
|
444 | 444 | position: absolute; |
|
445 | 445 | left: 0; |
|
446 | 446 | top: 9px; |
|
447 | 447 | } |
|
448 | 448 | |
|
449 | 449 | #header #header-inner #quick li ul li { |
|
450 | 450 | border-bottom: 1px solid #ddd; |
|
451 | 451 | } |
|
452 | 452 | |
|
453 | 453 | #header #header-inner #quick li ul li a { |
|
454 | 454 | width: 182px; |
|
455 | 455 | height: auto; |
|
456 | 456 | display: block; |
|
457 | 457 | float: left; |
|
458 | 458 | background: #FFF; |
|
459 | 459 | color: #003367; |
|
460 | 460 | font-weight: 400; |
|
461 | 461 | margin: 0; |
|
462 | 462 | padding: 7px 9px; |
|
463 | 463 | } |
|
464 | 464 | |
|
465 | 465 | #header #header-inner #quick li ul li a:hover { |
|
466 | 466 | color: #000; |
|
467 | 467 | background: #FFF; |
|
468 | 468 | } |
|
469 | 469 | |
|
470 | 470 | #header #header-inner #quick ul ul { |
|
471 | 471 | top: auto; |
|
472 | 472 | } |
|
473 | 473 | |
|
474 | 474 | #header #header-inner #quick li ul ul { |
|
475 | 475 | right: 200px; |
|
476 | 476 | max-height: 275px; |
|
477 | 477 | overflow: auto; |
|
478 | 478 | overflow-x: hidden; |
|
479 | 479 | white-space: normal; |
|
480 | 480 | } |
|
481 | 481 | |
|
482 | 482 | #header #header-inner #quick li ul li a.journal,#header #header-inner #quick li ul li a.journal:hover |
|
483 | 483 | { |
|
484 | 484 | background: url("../images/icons/book.png") no-repeat scroll 4px 9px |
|
485 | 485 | #FFF; |
|
486 | 486 | width: 167px; |
|
487 | 487 | margin: 0; |
|
488 | 488 | padding: 12px 9px 7px 24px; |
|
489 | 489 | } |
|
490 | 490 | |
|
491 | 491 | #header #header-inner #quick li ul li a.private_repo,#header #header-inner #quick li ul li a.private_repo:hover |
|
492 | 492 | { |
|
493 | 493 | background: url("../images/icons/lock.png") no-repeat scroll 4px 9px |
|
494 | 494 | #FFF; |
|
495 | 495 | min-width: 167px; |
|
496 | 496 | margin: 0; |
|
497 | 497 | padding: 12px 9px 7px 24px; |
|
498 | 498 | } |
|
499 | 499 | |
|
500 | 500 | #header #header-inner #quick li ul li a.public_repo,#header #header-inner #quick li ul li a.public_repo:hover |
|
501 | 501 | { |
|
502 | 502 | background: url("../images/icons/lock_open.png") no-repeat scroll 4px |
|
503 | 503 | 9px #FFF; |
|
504 | 504 | min-width: 167px; |
|
505 | 505 | margin: 0; |
|
506 | 506 | padding: 12px 9px 7px 24px; |
|
507 | 507 | } |
|
508 | 508 | |
|
509 | 509 | #header #header-inner #quick li ul li a.hg,#header #header-inner #quick li ul li a.hg:hover |
|
510 | 510 | { |
|
511 | 511 | background: url("../images/icons/hgicon.png") no-repeat scroll 4px 9px |
|
512 | 512 | #FFF; |
|
513 | 513 | min-width: 167px; |
|
514 | 514 | margin: 0 0 0 14px; |
|
515 | 515 | padding: 12px 9px 7px 24px; |
|
516 | 516 | } |
|
517 | 517 | |
|
518 | 518 | #header #header-inner #quick li ul li a.git,#header #header-inner #quick li ul li a.git:hover |
|
519 | 519 | { |
|
520 | 520 | background: url("../images/icons/giticon.png") no-repeat scroll 4px 9px |
|
521 | 521 | #FFF; |
|
522 | 522 | min-width: 167px; |
|
523 | 523 | margin: 0 0 0 14px; |
|
524 | 524 | padding: 12px 9px 7px 24px; |
|
525 | 525 | } |
|
526 | 526 | |
|
527 | 527 | #header #header-inner #quick li ul li a.repos,#header #header-inner #quick li ul li a.repos:hover |
|
528 | 528 | { |
|
529 | 529 | background: url("../images/icons/database_edit.png") no-repeat scroll |
|
530 | 530 | 4px 9px #FFF; |
|
531 | 531 | width: 167px; |
|
532 | 532 | margin: 0; |
|
533 | 533 | padding: 12px 9px 7px 24px; |
|
534 | 534 | } |
|
535 | 535 | |
|
536 | 536 | #header #header-inner #quick li ul li a.repos_groups,#header #header-inner #quick li ul li a.repos_groups:hover |
|
537 | 537 | { |
|
538 | 538 | background: url("../images/icons/database_link.png") no-repeat scroll |
|
539 | 539 | 4px 9px #FFF; |
|
540 | 540 | width: 167px; |
|
541 | 541 | margin: 0; |
|
542 | 542 | padding: 12px 9px 7px 24px; |
|
543 | 543 | } |
|
544 | 544 | |
|
545 | 545 | #header #header-inner #quick li ul li a.users,#header #header-inner #quick li ul li a.users:hover |
|
546 | 546 | { |
|
547 | 547 | background: #FFF url("../images/icons/user_edit.png") no-repeat 4px 9px; |
|
548 | 548 | width: 167px; |
|
549 | 549 | margin: 0; |
|
550 | 550 | padding: 12px 9px 7px 24px; |
|
551 | 551 | } |
|
552 | 552 | |
|
553 | 553 | #header #header-inner #quick li ul li a.groups,#header #header-inner #quick li ul li a.groups:hover |
|
554 | 554 | { |
|
555 | 555 | background: #FFF url("../images/icons/group_edit.png") no-repeat 4px 9px; |
|
556 | 556 | width: 167px; |
|
557 | 557 | margin: 0; |
|
558 | 558 | padding: 12px 9px 7px 24px; |
|
559 | 559 | } |
|
560 | 560 | |
|
561 | 561 | #header #header-inner #quick li ul li a.settings,#header #header-inner #quick li ul li a.settings:hover |
|
562 | 562 | { |
|
563 | 563 | background: #FFF url("../images/icons/cog.png") no-repeat 4px 9px; |
|
564 | 564 | width: 167px; |
|
565 | 565 | margin: 0; |
|
566 | 566 | padding: 12px 9px 7px 24px; |
|
567 | 567 | } |
|
568 | 568 | |
|
569 | 569 | #header #header-inner #quick li ul li a.permissions,#header #header-inner #quick li ul li a.permissions:hover |
|
570 | 570 | { |
|
571 | 571 | background: #FFF url("../images/icons/key.png") no-repeat 4px 9px; |
|
572 | 572 | width: 167px; |
|
573 | 573 | margin: 0; |
|
574 | 574 | padding: 12px 9px 7px 24px; |
|
575 | 575 | } |
|
576 | 576 | |
|
577 | 577 | #header #header-inner #quick li ul li a.ldap,#header #header-inner #quick li ul li a.ldap:hover |
|
578 | 578 | { |
|
579 | 579 | background: #FFF url("../images/icons/server_key.png") no-repeat 4px 9px; |
|
580 | 580 | width: 167px; |
|
581 | 581 | margin: 0; |
|
582 | 582 | padding: 12px 9px 7px 24px; |
|
583 | 583 | } |
|
584 | 584 | |
|
585 | 585 | #header #header-inner #quick li ul li a.fork,#header #header-inner #quick li ul li a.fork:hover |
|
586 | 586 | { |
|
587 | 587 | background: #FFF url("../images/icons/arrow_divide.png") no-repeat 4px |
|
588 | 588 | 9px; |
|
589 | 589 | width: 167px; |
|
590 | 590 | margin: 0; |
|
591 | 591 | padding: 12px 9px 7px 24px; |
|
592 | 592 | } |
|
593 | 593 | |
|
594 | 594 | #header #header-inner #quick li ul li a.search,#header #header-inner #quick li ul li a.search:hover |
|
595 | 595 | { |
|
596 | 596 | background: #FFF url("../images/icons/search_16.png") no-repeat 4px 9px; |
|
597 | 597 | width: 167px; |
|
598 | 598 | margin: 0; |
|
599 | 599 | padding: 12px 9px 7px 24px; |
|
600 | 600 | } |
|
601 | 601 | |
|
602 | 602 | #header #header-inner #quick li ul li a.delete,#header #header-inner #quick li ul li a.delete:hover |
|
603 | 603 | { |
|
604 | 604 | background: #FFF url("../images/icons/delete.png") no-repeat 4px 9px; |
|
605 | 605 | width: 167px; |
|
606 | 606 | margin: 0; |
|
607 | 607 | padding: 12px 9px 7px 24px; |
|
608 | 608 | } |
|
609 | 609 | |
|
610 | 610 | #header #header-inner #quick li ul li a.branches,#header #header-inner #quick li ul li a.branches:hover |
|
611 | 611 | { |
|
612 | 612 | background: #FFF url("../images/icons/arrow_branch.png") no-repeat 4px |
|
613 | 613 | 9px; |
|
614 | 614 | width: 167px; |
|
615 | 615 | margin: 0; |
|
616 | 616 | padding: 12px 9px 7px 24px; |
|
617 | 617 | } |
|
618 | 618 | |
|
619 | 619 | #header #header-inner #quick li ul li a.tags, |
|
620 | 620 | #header #header-inner #quick li ul li a.tags:hover{ |
|
621 | 621 | background: #FFF url("../images/icons/tag_blue.png") no-repeat 4px 9px; |
|
622 | 622 | width: 167px; |
|
623 | 623 | margin: 0; |
|
624 | 624 | padding: 12px 9px 7px 24px; |
|
625 | 625 | } |
|
626 | 626 | |
|
627 | 627 | #header #header-inner #quick li ul li a.bookmarks, |
|
628 | 628 | #header #header-inner #quick li ul li a.bookmarks:hover{ |
|
629 | 629 | background: #FFF url("../images/icons/tag_green.png") no-repeat 4px 9px; |
|
630 | 630 | width: 167px; |
|
631 | 631 | margin: 0; |
|
632 | 632 | padding: 12px 9px 7px 24px; |
|
633 | 633 | } |
|
634 | 634 | |
|
635 | 635 | #header #header-inner #quick li ul li a.admin, |
|
636 | 636 | #header #header-inner #quick li ul li a.admin:hover{ |
|
637 | 637 | background: #FFF url("../images/icons/cog_edit.png") no-repeat 4px 9px; |
|
638 | 638 | width: 167px; |
|
639 | 639 | margin: 0; |
|
640 | 640 | padding: 12px 9px 7px 24px; |
|
641 | 641 | } |
|
642 | 642 | |
|
643 | 643 | .groups_breadcrumbs a { |
|
644 | 644 | color: #fff; |
|
645 | 645 | } |
|
646 | 646 | |
|
647 | 647 | .groups_breadcrumbs a:hover { |
|
648 | 648 | color: #bfe3ff; |
|
649 | 649 | text-decoration: none; |
|
650 | 650 | } |
|
651 | 651 | |
|
652 | 652 | td.quick_repo_menu { |
|
653 | 653 | background: #FFF url("../images/vertical-indicator.png") 8px 50% no-repeat !important; |
|
654 | 654 | cursor: pointer; |
|
655 | 655 | width: 8px; |
|
656 | 656 | border: 1px solid transparent; |
|
657 | 657 | } |
|
658 | 658 | |
|
659 | 659 | td.quick_repo_menu.active { |
|
660 | 660 | background: url("../images/dt-arrow-dn.png") no-repeat scroll 5px 50% #FFFFFF !important; |
|
661 | 661 | border: 1px solid #003367; |
|
662 | 662 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); |
|
663 | 663 | cursor: pointer; |
|
664 | 664 | } |
|
665 | 665 | |
|
666 | 666 | td.quick_repo_menu .menu_items { |
|
667 | 667 | margin-top: 10px; |
|
668 | 668 | margin-left:-6px; |
|
669 | 669 | width: 150px; |
|
670 | 670 | position: absolute; |
|
671 | 671 | background-color: #FFF; |
|
672 | 672 | background: none repeat scroll 0 0 #FFFFFF; |
|
673 | 673 | border-color: #003367 #666666 #666666; |
|
674 | 674 | border-right: 1px solid #666666; |
|
675 | 675 | border-style: solid; |
|
676 | 676 | border-width: 1px; |
|
677 | 677 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); |
|
678 | 678 | border-top-style: none; |
|
679 | 679 | } |
|
680 | 680 | |
|
681 | 681 | td.quick_repo_menu .menu_items li { |
|
682 | 682 | padding: 0 !important; |
|
683 | 683 | } |
|
684 | 684 | |
|
685 | 685 | td.quick_repo_menu .menu_items a { |
|
686 | 686 | display: block; |
|
687 | 687 | padding: 4px 12px 4px 8px; |
|
688 | 688 | } |
|
689 | 689 | |
|
690 | 690 | td.quick_repo_menu .menu_items a:hover { |
|
691 | 691 | background-color: #EEE; |
|
692 | 692 | text-decoration: none; |
|
693 | 693 | } |
|
694 | 694 | |
|
695 | 695 | td.quick_repo_menu .menu_items .icon img { |
|
696 | 696 | margin-bottom: -2px; |
|
697 | 697 | } |
|
698 | 698 | |
|
699 | 699 | td.quick_repo_menu .menu_items.hidden { |
|
700 | 700 | display: none; |
|
701 | 701 | } |
|
702 | 702 | |
|
703 | 703 | .yui-dt-first th { |
|
704 | 704 | text-align: left; |
|
705 | 705 | } |
|
706 | 706 | |
|
707 | 707 | /* |
|
708 | 708 | Copyright (c) 2011, Yahoo! Inc. All rights reserved. |
|
709 | 709 | Code licensed under the BSD License: |
|
710 | 710 | http://developer.yahoo.com/yui/license.html |
|
711 | 711 | version: 2.9.0 |
|
712 | 712 | */ |
|
713 | 713 | .yui-skin-sam .yui-dt-mask { |
|
714 | 714 | position: absolute; |
|
715 | 715 | z-index: 9500; |
|
716 | 716 | } |
|
717 | 717 | .yui-dt-tmp { |
|
718 | 718 | position: absolute; |
|
719 | 719 | left: -9000px; |
|
720 | 720 | } |
|
721 | 721 | .yui-dt-scrollable .yui-dt-bd { overflow: auto } |
|
722 | 722 | .yui-dt-scrollable .yui-dt-hd { |
|
723 | 723 | overflow: hidden; |
|
724 | 724 | position: relative; |
|
725 | 725 | } |
|
726 | 726 | .yui-dt-scrollable .yui-dt-bd thead tr, |
|
727 | 727 | .yui-dt-scrollable .yui-dt-bd thead th { |
|
728 | 728 | position: absolute; |
|
729 | 729 | left: -1500px; |
|
730 | 730 | } |
|
731 | 731 | .yui-dt-scrollable tbody { -moz-outline: 0 } |
|
732 | 732 | .yui-skin-sam thead .yui-dt-sortable { cursor: pointer } |
|
733 | 733 | .yui-skin-sam thead .yui-dt-draggable { cursor: move } |
|
734 | 734 | .yui-dt-coltarget { |
|
735 | 735 | position: absolute; |
|
736 | 736 | z-index: 999; |
|
737 | 737 | } |
|
738 | 738 | .yui-dt-hd { zoom: 1 } |
|
739 | 739 | th.yui-dt-resizeable .yui-dt-resizerliner { position: relative } |
|
740 | 740 | .yui-dt-resizer { |
|
741 | 741 | position: absolute; |
|
742 | 742 | right: 0; |
|
743 | 743 | bottom: 0; |
|
744 | 744 | height: 100%; |
|
745 | 745 | cursor: e-resize; |
|
746 | 746 | cursor: col-resize; |
|
747 | 747 | background-color: #CCC; |
|
748 | 748 | opacity: 0; |
|
749 | 749 | filter: alpha(opacity=0); |
|
750 | 750 | } |
|
751 | 751 | .yui-dt-resizerproxy { |
|
752 | 752 | visibility: hidden; |
|
753 | 753 | position: absolute; |
|
754 | 754 | z-index: 9000; |
|
755 | 755 | background-color: #CCC; |
|
756 | 756 | opacity: 0; |
|
757 | 757 | filter: alpha(opacity=0); |
|
758 | 758 | } |
|
759 | 759 | th.yui-dt-hidden .yui-dt-liner, |
|
760 | 760 | td.yui-dt-hidden .yui-dt-liner, |
|
761 | 761 | th.yui-dt-hidden .yui-dt-resizer { display: none } |
|
762 | 762 | .yui-dt-editor, |
|
763 | 763 | .yui-dt-editor-shim { |
|
764 | 764 | position: absolute; |
|
765 | 765 | z-index: 9000; |
|
766 | 766 | } |
|
767 | 767 | .yui-skin-sam .yui-dt table { |
|
768 | 768 | margin: 0; |
|
769 | 769 | padding: 0; |
|
770 | 770 | font-family: arial; |
|
771 | 771 | font-size: inherit; |
|
772 | 772 | border-collapse: separate; |
|
773 | 773 | *border-collapse: collapse; |
|
774 | 774 | border-spacing: 0; |
|
775 | 775 | border: 1px solid #7f7f7f; |
|
776 | 776 | } |
|
777 | 777 | .yui-skin-sam .yui-dt thead { border-spacing: 0 } |
|
778 | 778 | .yui-skin-sam .yui-dt caption { |
|
779 | 779 | color: #000; |
|
780 | 780 | font-size: 85%; |
|
781 | 781 | font-weight: normal; |
|
782 | 782 | font-style: italic; |
|
783 | 783 | line-height: 1; |
|
784 | 784 | padding: 1em 0; |
|
785 | 785 | text-align: center; |
|
786 | 786 | } |
|
787 | 787 | .yui-skin-sam .yui-dt th { background: #d8d8da url(../images/sprite.png) repeat-x 0 0 } |
|
788 | 788 | .yui-skin-sam .yui-dt th, |
|
789 | 789 | .yui-skin-sam .yui-dt th a { |
|
790 | 790 | font-weight: normal; |
|
791 | 791 | text-decoration: none; |
|
792 | 792 | color: #000; |
|
793 | 793 | vertical-align: bottom; |
|
794 | 794 | } |
|
795 | 795 | .yui-skin-sam .yui-dt th { |
|
796 | 796 | margin: 0; |
|
797 | 797 | padding: 0; |
|
798 | 798 | border: 0; |
|
799 | 799 | border-right: 1px solid #cbcbcb; |
|
800 | 800 | } |
|
801 | 801 | .yui-skin-sam .yui-dt tr.yui-dt-first td { border-top: 1px solid #7f7f7f } |
|
802 | 802 | .yui-skin-sam .yui-dt th .yui-dt-liner { white-space: nowrap } |
|
803 | 803 | .yui-skin-sam .yui-dt-liner { |
|
804 | 804 | margin: 0; |
|
805 | 805 | padding: 0; |
|
806 | 806 | } |
|
807 | 807 | .yui-skin-sam .yui-dt-coltarget { |
|
808 | 808 | width: 5px; |
|
809 | 809 | background-color: red; |
|
810 | 810 | } |
|
811 | 811 | .yui-skin-sam .yui-dt td { |
|
812 | 812 | margin: 0; |
|
813 | 813 | padding: 0; |
|
814 | 814 | border: 0; |
|
815 | 815 | border-right: 1px solid #cbcbcb; |
|
816 | 816 | text-align: left; |
|
817 | 817 | } |
|
818 | 818 | .yui-skin-sam .yui-dt-list td { border-right: 0 } |
|
819 | 819 | .yui-skin-sam .yui-dt-resizer { width: 6px } |
|
820 | 820 | .yui-skin-sam .yui-dt-mask { |
|
821 | 821 | background-color: #000; |
|
822 | 822 | opacity: .25; |
|
823 | 823 | filter: alpha(opacity=25); |
|
824 | 824 | } |
|
825 | 825 | .yui-skin-sam .yui-dt-message { background-color: #FFF } |
|
826 | 826 | .yui-skin-sam .yui-dt-scrollable table { border: 0 } |
|
827 | 827 | .yui-skin-sam .yui-dt-scrollable .yui-dt-hd { |
|
828 | 828 | border-left: 1px solid #7f7f7f; |
|
829 | 829 | border-top: 1px solid #7f7f7f; |
|
830 | 830 | border-right: 1px solid #7f7f7f; |
|
831 | 831 | } |
|
832 | 832 | .yui-skin-sam .yui-dt-scrollable .yui-dt-bd { |
|
833 | 833 | border-left: 1px solid #7f7f7f; |
|
834 | 834 | border-bottom: 1px solid #7f7f7f; |
|
835 | 835 | border-right: 1px solid #7f7f7f; |
|
836 | 836 | background-color: #FFF; |
|
837 | 837 | } |
|
838 | 838 | .yui-skin-sam .yui-dt-scrollable .yui-dt-data tr.yui-dt-last td { border-bottom: 1px solid #7f7f7f } |
|
839 | 839 | .yui-skin-sam th.yui-dt-asc, |
|
840 | 840 | .yui-skin-sam th.yui-dt-desc { background: url(../images/sprite.png) repeat-x 0 -100px } |
|
841 | 841 | .yui-skin-sam th.yui-dt-sortable .yui-dt-label { margin-right: 10px } |
|
842 | 842 | .yui-skin-sam th.yui-dt-asc .yui-dt-liner { background: url(../images/dt-arrow-up.png) no-repeat right } |
|
843 | 843 | .yui-skin-sam th.yui-dt-desc .yui-dt-liner { background: url(../images/dt-arrow-dn.png) no-repeat right } |
|
844 | 844 | tbody .yui-dt-editable { cursor: pointer } |
|
845 | 845 | .yui-dt-editor { |
|
846 | 846 | text-align: left; |
|
847 | 847 | background-color: #f2f2f2; |
|
848 | 848 | border: 1px solid #808080; |
|
849 | 849 | padding: 6px; |
|
850 | 850 | } |
|
851 | 851 | .yui-dt-editor label { |
|
852 | 852 | padding-left: 4px; |
|
853 | 853 | padding-right: 6px; |
|
854 | 854 | } |
|
855 | 855 | .yui-dt-editor .yui-dt-button { |
|
856 | 856 | padding-top: 6px; |
|
857 | 857 | text-align: right; |
|
858 | 858 | } |
|
859 | 859 | .yui-dt-editor .yui-dt-button button { |
|
860 | 860 | background: url(../images/sprite.png) repeat-x 0 0; |
|
861 | 861 | border: 1px solid #999; |
|
862 | 862 | width: 4em; |
|
863 | 863 | height: 1.8em; |
|
864 | 864 | margin-left: 6px; |
|
865 | 865 | } |
|
866 | 866 | .yui-dt-editor .yui-dt-button button.yui-dt-default { |
|
867 | 867 | background: url(../images/sprite.png) repeat-x 0 -1400px; |
|
868 | 868 | background-color: #5584e0; |
|
869 | 869 | border: 1px solid #304369; |
|
870 | 870 | color: #FFF; |
|
871 | 871 | } |
|
872 | 872 | .yui-dt-editor .yui-dt-button button:hover { |
|
873 | 873 | background: url(../images/sprite.png) repeat-x 0 -1300px; |
|
874 | 874 | color: #000; |
|
875 | 875 | } |
|
876 | 876 | .yui-dt-editor .yui-dt-button button:active { |
|
877 | 877 | background: url(../images/sprite.png) repeat-x 0 -1700px; |
|
878 | 878 | color: #000; |
|
879 | 879 | } |
|
880 | 880 | .yui-skin-sam tr.yui-dt-even { background-color: #FFF } |
|
881 | 881 | .yui-skin-sam tr.yui-dt-odd { background-color: #edf5ff } |
|
882 | 882 | .yui-skin-sam tr.yui-dt-even td.yui-dt-asc, |
|
883 | 883 | .yui-skin-sam tr.yui-dt-even td.yui-dt-desc { background-color: #edf5ff } |
|
884 | 884 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-asc, |
|
885 | 885 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-desc { background-color: #dbeaff } |
|
886 | 886 | .yui-skin-sam .yui-dt-list tr.yui-dt-even { background-color: #FFF } |
|
887 | 887 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd { background-color: #FFF } |
|
888 | 888 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-asc, |
|
889 | 889 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-desc { background-color: #edf5ff } |
|
890 | 890 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-asc, |
|
891 | 891 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-desc { background-color: #edf5ff } |
|
892 | 892 | .yui-skin-sam th.yui-dt-highlighted, |
|
893 | 893 | .yui-skin-sam th.yui-dt-highlighted a { background-color: #b2d2ff } |
|
894 | 894 | .yui-skin-sam tr.yui-dt-highlighted, |
|
895 | 895 | .yui-skin-sam tr.yui-dt-highlighted td.yui-dt-asc, |
|
896 | 896 | .yui-skin-sam tr.yui-dt-highlighted td.yui-dt-desc, |
|
897 | 897 | .yui-skin-sam tr.yui-dt-even td.yui-dt-highlighted, |
|
898 | 898 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-highlighted { |
|
899 | 899 | cursor: pointer; |
|
900 | 900 | background-color: #b2d2ff; |
|
901 | 901 | } |
|
902 | 902 | .yui-skin-sam .yui-dt-list th.yui-dt-highlighted, |
|
903 | 903 | .yui-skin-sam .yui-dt-list th.yui-dt-highlighted a { background-color: #b2d2ff } |
|
904 | 904 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted, |
|
905 | 905 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-asc, |
|
906 | 906 | .yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-desc, |
|
907 | 907 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-highlighted, |
|
908 | 908 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-highlighted { |
|
909 | 909 | cursor: pointer; |
|
910 | 910 | background-color: #b2d2ff; |
|
911 | 911 | } |
|
912 | 912 | .yui-skin-sam th.yui-dt-selected, |
|
913 | 913 | .yui-skin-sam th.yui-dt-selected a { background-color: #446cd7 } |
|
914 | 914 | .yui-skin-sam tr.yui-dt-selected td, |
|
915 | 915 | .yui-skin-sam tr.yui-dt-selected td.yui-dt-asc, |
|
916 | 916 | .yui-skin-sam tr.yui-dt-selected td.yui-dt-desc { |
|
917 | 917 | background-color: #426fd9; |
|
918 | 918 | color: #FFF; |
|
919 | 919 | } |
|
920 | 920 | .yui-skin-sam tr.yui-dt-even td.yui-dt-selected, |
|
921 | 921 | .yui-skin-sam tr.yui-dt-odd td.yui-dt-selected { |
|
922 | 922 | background-color: #446cd7; |
|
923 | 923 | color: #FFF; |
|
924 | 924 | } |
|
925 | 925 | .yui-skin-sam .yui-dt-list th.yui-dt-selected, |
|
926 | 926 | .yui-skin-sam .yui-dt-list th.yui-dt-selected a { background-color: #446cd7 } |
|
927 | 927 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td, |
|
928 | 928 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-asc, |
|
929 | 929 | .yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-desc { |
|
930 | 930 | background-color: #426fd9; |
|
931 | 931 | color: #FFF; |
|
932 | 932 | } |
|
933 | 933 | .yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-selected, |
|
934 | 934 | .yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-selected { |
|
935 | 935 | background-color: #446cd7; |
|
936 | 936 | color: #FFF; |
|
937 | 937 | } |
|
938 | 938 | .yui-skin-sam .yui-dt-paginator { |
|
939 | 939 | display: block; |
|
940 | 940 | margin: 6px 0; |
|
941 | 941 | white-space: nowrap; |
|
942 | 942 | } |
|
943 | 943 | .yui-skin-sam .yui-dt-paginator .yui-dt-first, |
|
944 | 944 | .yui-skin-sam .yui-dt-paginator .yui-dt-last, |
|
945 | 945 | .yui-skin-sam .yui-dt-paginator .yui-dt-selected { padding: 2px 6px } |
|
946 | 946 | .yui-skin-sam .yui-dt-paginator a.yui-dt-first, |
|
947 | 947 | .yui-skin-sam .yui-dt-paginator a.yui-dt-last { text-decoration: none } |
|
948 | 948 | .yui-skin-sam .yui-dt-paginator .yui-dt-previous, |
|
949 | 949 | .yui-skin-sam .yui-dt-paginator .yui-dt-next { display: none } |
|
950 | 950 | .yui-skin-sam a.yui-dt-page { |
|
951 | 951 | border: 1px solid #cbcbcb; |
|
952 | 952 | padding: 2px 6px; |
|
953 | 953 | text-decoration: none; |
|
954 | 954 | background-color: #fff; |
|
955 | 955 | } |
|
956 | 956 | .yui-skin-sam .yui-dt-selected { |
|
957 | 957 | border: 1px solid #fff; |
|
958 | 958 | background-color: #fff; |
|
959 | 959 | } |
|
960 | 960 | |
|
961 | 961 | #content #left { |
|
962 | 962 | left: 0; |
|
963 | 963 | width: 280px; |
|
964 | 964 | position: absolute; |
|
965 | 965 | } |
|
966 | 966 | |
|
967 | 967 | #content #right { |
|
968 | 968 | margin: 0 60px 10px 290px; |
|
969 | 969 | } |
|
970 | 970 | |
|
971 | 971 | #content div.box { |
|
972 | 972 | clear: both; |
|
973 | 973 | overflow: hidden; |
|
974 | 974 | background: #fff; |
|
975 | 975 | margin: 0 0 10px; |
|
976 | 976 | padding: 0 0 10px; |
|
977 | 977 | -webkit-border-radius: 4px 4px 4px 4px; |
|
978 | 978 | -khtml-border-radius: 4px 4px 4px 4px; |
|
979 | 979 | -moz-border-radius: 4px 4px 4px 4px; |
|
980 | 980 | border-radius: 4px 4px 4px 4px; |
|
981 | 981 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
982 | 982 | } |
|
983 | 983 | |
|
984 | 984 | #content div.box-left { |
|
985 | 985 | width: 49%; |
|
986 | 986 | clear: none; |
|
987 | 987 | float: left; |
|
988 | 988 | margin: 0 0 10px; |
|
989 | 989 | } |
|
990 | 990 | |
|
991 | 991 | #content div.box-right { |
|
992 | 992 | width: 49%; |
|
993 | 993 | clear: none; |
|
994 | 994 | float: right; |
|
995 | 995 | margin: 0 0 10px; |
|
996 | 996 | } |
|
997 | 997 | |
|
998 | 998 | #content div.box div.title { |
|
999 | 999 | clear: both; |
|
1000 | 1000 | overflow: hidden; |
|
1001 | 1001 | background-color: #eedc94; |
|
1002 | 1002 | background-repeat: repeat-x; |
|
1003 | 1003 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
1004 | 1004 | to(#eedc94) ); |
|
1005 | 1005 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1006 | 1006 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1007 | 1007 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
1008 | 1008 | color-stop(100%, #00376e) ); |
|
1009 | 1009 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
1010 | 1010 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
1011 | 1011 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1012 | 1012 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
1013 | 1013 | endColorstr='#00376e', GradientType=0 ); |
|
1014 | 1014 | margin: 0 0 20px; |
|
1015 | 1015 | padding: 0; |
|
1016 | 1016 | } |
|
1017 | 1017 | |
|
1018 | 1018 | #content div.box div.title h5 { |
|
1019 | 1019 | float: left; |
|
1020 | 1020 | border: none; |
|
1021 | 1021 | color: #fff; |
|
1022 | 1022 | text-transform: uppercase; |
|
1023 | 1023 | margin: 0; |
|
1024 | 1024 | padding: 11px 0 11px 10px; |
|
1025 | 1025 | } |
|
1026 | 1026 | |
|
1027 | 1027 | #content div.box div.title .link-white{ |
|
1028 | 1028 | color: #FFFFFF; |
|
1029 | 1029 | } |
|
1030 | 1030 | |
|
1031 | 1031 | #content div.box div.title ul.links li { |
|
1032 | 1032 | list-style: none; |
|
1033 | 1033 | float: left; |
|
1034 | 1034 | margin: 0; |
|
1035 | 1035 | padding: 0; |
|
1036 | 1036 | } |
|
1037 | 1037 | |
|
1038 | 1038 | #content div.box div.title ul.links li a { |
|
1039 | 1039 | border-left: 1px solid #316293; |
|
1040 | 1040 | color: #FFFFFF; |
|
1041 | 1041 | display: block; |
|
1042 | 1042 | float: left; |
|
1043 | 1043 | font-size: 13px; |
|
1044 | 1044 | font-weight: 700; |
|
1045 | 1045 | height: 1%; |
|
1046 | 1046 | margin: 0; |
|
1047 | 1047 | padding: 11px 22px 12px; |
|
1048 | 1048 | text-decoration: none; |
|
1049 | 1049 | } |
|
1050 | 1050 | |
|
1051 | 1051 | #content div.box h1,#content div.box h2,#content div.box h3,#content div.box h4,#content div.box h5,#content div.box h6 |
|
1052 | 1052 | { |
|
1053 | 1053 | clear: both; |
|
1054 | 1054 | overflow: hidden; |
|
1055 | 1055 | border-bottom: 1px solid #DDD; |
|
1056 | 1056 | margin: 10px 20px; |
|
1057 | 1057 | padding: 0 0 15px; |
|
1058 | 1058 | } |
|
1059 | 1059 | |
|
1060 | 1060 | #content div.box p { |
|
1061 | 1061 | color: #5f5f5f; |
|
1062 | 1062 | font-size: 12px; |
|
1063 | 1063 | line-height: 150%; |
|
1064 | 1064 | margin: 0 24px 10px; |
|
1065 | 1065 | padding: 0; |
|
1066 | 1066 | } |
|
1067 | 1067 | |
|
1068 | 1068 | #content div.box blockquote { |
|
1069 | 1069 | border-left: 4px solid #DDD; |
|
1070 | 1070 | color: #5f5f5f; |
|
1071 | 1071 | font-size: 11px; |
|
1072 | 1072 | line-height: 150%; |
|
1073 | 1073 | margin: 0 34px; |
|
1074 | 1074 | padding: 0 0 0 14px; |
|
1075 | 1075 | } |
|
1076 | 1076 | |
|
1077 | 1077 | #content div.box blockquote p { |
|
1078 | 1078 | margin: 10px 0; |
|
1079 | 1079 | padding: 0; |
|
1080 | 1080 | } |
|
1081 | 1081 | |
|
1082 | 1082 | #content div.box dl { |
|
1083 | 1083 | margin: 10px 0px; |
|
1084 | 1084 | } |
|
1085 | 1085 | |
|
1086 | 1086 | #content div.box dt { |
|
1087 | 1087 | font-size: 12px; |
|
1088 | 1088 | margin: 0; |
|
1089 | 1089 | } |
|
1090 | 1090 | |
|
1091 | 1091 | #content div.box dd { |
|
1092 | 1092 | font-size: 12px; |
|
1093 | 1093 | margin: 0; |
|
1094 | 1094 | padding: 8px 0 8px 15px; |
|
1095 | 1095 | } |
|
1096 | 1096 | |
|
1097 | 1097 | #content div.box li { |
|
1098 | 1098 | font-size: 12px; |
|
1099 | 1099 | padding: 4px 0; |
|
1100 | 1100 | } |
|
1101 | 1101 | |
|
1102 | 1102 | #content div.box ul.disc,#content div.box ul.circle { |
|
1103 | 1103 | margin: 10px 24px 10px 38px; |
|
1104 | 1104 | } |
|
1105 | 1105 | |
|
1106 | 1106 | #content div.box ul.square { |
|
1107 | 1107 | margin: 10px 24px 10px 40px; |
|
1108 | 1108 | } |
|
1109 | 1109 | |
|
1110 | 1110 | #content div.box img.left { |
|
1111 | 1111 | border: none; |
|
1112 | 1112 | float: left; |
|
1113 | 1113 | margin: 10px 10px 10px 0; |
|
1114 | 1114 | } |
|
1115 | 1115 | |
|
1116 | 1116 | #content div.box img.right { |
|
1117 | 1117 | border: none; |
|
1118 | 1118 | float: right; |
|
1119 | 1119 | margin: 10px 0 10px 10px; |
|
1120 | 1120 | } |
|
1121 | 1121 | |
|
1122 | 1122 | #content div.box div.messages { |
|
1123 | 1123 | clear: both; |
|
1124 | 1124 | overflow: hidden; |
|
1125 | 1125 | margin: 0 20px; |
|
1126 | 1126 | padding: 0; |
|
1127 | 1127 | } |
|
1128 | 1128 | |
|
1129 | 1129 | #content div.box div.message { |
|
1130 | 1130 | clear: both; |
|
1131 | 1131 | overflow: hidden; |
|
1132 | 1132 | margin: 0; |
|
1133 | 1133 | padding: 10px 0; |
|
1134 | 1134 | } |
|
1135 | 1135 | |
|
1136 | 1136 | #content div.box div.message a { |
|
1137 | 1137 | font-weight: 400 !important; |
|
1138 | 1138 | } |
|
1139 | 1139 | |
|
1140 | 1140 | #content div.box div.message div.image { |
|
1141 | 1141 | float: left; |
|
1142 | 1142 | margin: 9px 0 0 5px; |
|
1143 | 1143 | padding: 6px; |
|
1144 | 1144 | } |
|
1145 | 1145 | |
|
1146 | 1146 | #content div.box div.message div.image img { |
|
1147 | 1147 | vertical-align: middle; |
|
1148 | 1148 | margin: 0; |
|
1149 | 1149 | } |
|
1150 | 1150 | |
|
1151 | 1151 | #content div.box div.message div.text { |
|
1152 | 1152 | float: left; |
|
1153 | 1153 | margin: 0; |
|
1154 | 1154 | padding: 9px 6px; |
|
1155 | 1155 | } |
|
1156 | 1156 | |
|
1157 | 1157 | #content div.box div.message div.dismiss a { |
|
1158 | 1158 | height: 16px; |
|
1159 | 1159 | width: 16px; |
|
1160 | 1160 | display: block; |
|
1161 | 1161 | background: url("../images/icons/cross.png") no-repeat; |
|
1162 | 1162 | margin: 15px 14px 0 0; |
|
1163 | 1163 | padding: 0; |
|
1164 | 1164 | } |
|
1165 | 1165 | |
|
1166 | 1166 | #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 |
|
1167 | 1167 | { |
|
1168 | 1168 | border: none; |
|
1169 | 1169 | margin: 0; |
|
1170 | 1170 | padding: 0; |
|
1171 | 1171 | } |
|
1172 | 1172 | |
|
1173 | 1173 | #content div.box div.message div.text span { |
|
1174 | 1174 | height: 1%; |
|
1175 | 1175 | display: block; |
|
1176 | 1176 | margin: 0; |
|
1177 | 1177 | padding: 5px 0 0; |
|
1178 | 1178 | } |
|
1179 | 1179 | |
|
1180 | 1180 | #content div.box div.message-error { |
|
1181 | 1181 | height: 1%; |
|
1182 | 1182 | clear: both; |
|
1183 | 1183 | overflow: hidden; |
|
1184 | 1184 | background: #FBE3E4; |
|
1185 | 1185 | border: 1px solid #FBC2C4; |
|
1186 | 1186 | color: #860006; |
|
1187 | 1187 | } |
|
1188 | 1188 | |
|
1189 | 1189 | #content div.box div.message-error h6 { |
|
1190 | 1190 | color: #860006; |
|
1191 | 1191 | } |
|
1192 | 1192 | |
|
1193 | 1193 | #content div.box div.message-warning { |
|
1194 | 1194 | height: 1%; |
|
1195 | 1195 | clear: both; |
|
1196 | 1196 | overflow: hidden; |
|
1197 | 1197 | background: #FFF6BF; |
|
1198 | 1198 | border: 1px solid #FFD324; |
|
1199 | 1199 | color: #5f5200; |
|
1200 | 1200 | } |
|
1201 | 1201 | |
|
1202 | 1202 | #content div.box div.message-warning h6 { |
|
1203 | 1203 | color: #5f5200; |
|
1204 | 1204 | } |
|
1205 | 1205 | |
|
1206 | 1206 | #content div.box div.message-notice { |
|
1207 | 1207 | height: 1%; |
|
1208 | 1208 | clear: both; |
|
1209 | 1209 | overflow: hidden; |
|
1210 | 1210 | background: #8FBDE0; |
|
1211 | 1211 | border: 1px solid #6BACDE; |
|
1212 | 1212 | color: #003863; |
|
1213 | 1213 | } |
|
1214 | 1214 | |
|
1215 | 1215 | #content div.box div.message-notice h6 { |
|
1216 | 1216 | color: #003863; |
|
1217 | 1217 | } |
|
1218 | 1218 | |
|
1219 | 1219 | #content div.box div.message-success { |
|
1220 | 1220 | height: 1%; |
|
1221 | 1221 | clear: both; |
|
1222 | 1222 | overflow: hidden; |
|
1223 | 1223 | background: #E6EFC2; |
|
1224 | 1224 | border: 1px solid #C6D880; |
|
1225 | 1225 | color: #4e6100; |
|
1226 | 1226 | } |
|
1227 | 1227 | |
|
1228 | 1228 | #content div.box div.message-success h6 { |
|
1229 | 1229 | color: #4e6100; |
|
1230 | 1230 | } |
|
1231 | 1231 | |
|
1232 | 1232 | #content div.box div.form div.fields div.field { |
|
1233 | 1233 | height: 1%; |
|
1234 | 1234 | border-bottom: 1px solid #DDD; |
|
1235 | 1235 | clear: both; |
|
1236 | 1236 | margin: 0; |
|
1237 | 1237 | padding: 10px 0; |
|
1238 | 1238 | } |
|
1239 | 1239 | |
|
1240 | 1240 | #content div.box div.form div.fields div.field-first { |
|
1241 | 1241 | padding: 0 0 10px; |
|
1242 | 1242 | } |
|
1243 | 1243 | |
|
1244 | 1244 | #content div.box div.form div.fields div.field-noborder { |
|
1245 | 1245 | border-bottom: 0 !important; |
|
1246 | 1246 | } |
|
1247 | 1247 | |
|
1248 | 1248 | #content div.box div.form div.fields div.field span.error-message { |
|
1249 | 1249 | height: 1%; |
|
1250 | 1250 | display: inline-block; |
|
1251 | 1251 | color: red; |
|
1252 | 1252 | margin: 8px 0 0 4px; |
|
1253 | 1253 | padding: 0; |
|
1254 | 1254 | } |
|
1255 | 1255 | |
|
1256 | 1256 | #content div.box div.form div.fields div.field span.success { |
|
1257 | 1257 | height: 1%; |
|
1258 | 1258 | display: block; |
|
1259 | 1259 | color: #316309; |
|
1260 | 1260 | margin: 8px 0 0; |
|
1261 | 1261 | padding: 0; |
|
1262 | 1262 | } |
|
1263 | 1263 | |
|
1264 | 1264 | #content div.box div.form div.fields div.field div.label { |
|
1265 | 1265 | left: 70px; |
|
1266 | 1266 | width: 155px; |
|
1267 | 1267 | position: absolute; |
|
1268 | 1268 | margin: 0; |
|
1269 | 1269 | padding: 5px 0 0 0px; |
|
1270 | 1270 | } |
|
1271 | 1271 | |
|
1272 | 1272 | #content div.box div.form div.fields div.field div.label-summary { |
|
1273 | 1273 | left: 30px; |
|
1274 | 1274 | width: 155px; |
|
1275 | 1275 | position: absolute; |
|
1276 | 1276 | margin: 0; |
|
1277 | 1277 | padding: 0px 0 0 0px; |
|
1278 | 1278 | } |
|
1279 | 1279 | |
|
1280 | 1280 | #content div.box-left div.form div.fields div.field div.label, |
|
1281 | 1281 | #content div.box-right div.form div.fields div.field div.label, |
|
1282 | 1282 | #content div.box-left div.form div.fields div.field div.label, |
|
1283 | 1283 | #content div.box-left div.form div.fields div.field div.label-summary, |
|
1284 | 1284 | #content div.box-right div.form div.fields div.field div.label-summary, |
|
1285 | 1285 | #content div.box-left div.form div.fields div.field div.label-summary |
|
1286 | 1286 | { |
|
1287 | 1287 | clear: both; |
|
1288 | 1288 | overflow: hidden; |
|
1289 | 1289 | left: 0; |
|
1290 | 1290 | width: auto; |
|
1291 | 1291 | position: relative; |
|
1292 | 1292 | margin: 0; |
|
1293 | 1293 | padding: 0 0 8px; |
|
1294 | 1294 | } |
|
1295 | 1295 | |
|
1296 | 1296 | #content div.box div.form div.fields div.field div.label-select { |
|
1297 | 1297 | padding: 5px 0 0 5px; |
|
1298 | 1298 | } |
|
1299 | 1299 | |
|
1300 | 1300 | #content div.box-left div.form div.fields div.field div.label-select, |
|
1301 | 1301 | #content div.box-right div.form div.fields div.field div.label-select |
|
1302 | 1302 | { |
|
1303 | 1303 | padding: 0 0 8px; |
|
1304 | 1304 | } |
|
1305 | 1305 | |
|
1306 | 1306 | #content div.box-left div.form div.fields div.field div.label-textarea, |
|
1307 | 1307 | #content div.box-right div.form div.fields div.field div.label-textarea |
|
1308 | 1308 | { |
|
1309 | 1309 | padding: 0 0 8px !important; |
|
1310 | 1310 | } |
|
1311 | 1311 | |
|
1312 | 1312 | #content div.box div.form div.fields div.field div.label label,div.label label |
|
1313 | 1313 | { |
|
1314 | 1314 | color: #393939; |
|
1315 | 1315 | font-weight: 700; |
|
1316 | 1316 | } |
|
1317 | 1317 | #content div.box div.form div.fields div.field div.label label,div.label-summary label |
|
1318 | 1318 | { |
|
1319 | 1319 | color: #393939; |
|
1320 | 1320 | font-weight: 700; |
|
1321 | 1321 | } |
|
1322 | 1322 | #content div.box div.form div.fields div.field div.input { |
|
1323 | 1323 | margin: 0 0 0 200px; |
|
1324 | 1324 | } |
|
1325 | 1325 | |
|
1326 | 1326 | #content div.box div.form div.fields div.field div.input.summary { |
|
1327 | 1327 | margin: 0 0 0 110px; |
|
1328 | 1328 | } |
|
1329 | 1329 | #content div.box div.form div.fields div.field div.input.summary-short { |
|
1330 | 1330 | margin: 0 0 0 110px; |
|
1331 | 1331 | } |
|
1332 | 1332 | #content div.box div.form div.fields div.field div.file { |
|
1333 | 1333 | margin: 0 0 0 200px; |
|
1334 | 1334 | } |
|
1335 | 1335 | |
|
1336 | 1336 | #content div.box-left div.form div.fields div.field div.input,#content div.box-right div.form div.fields div.field div.input |
|
1337 | 1337 | { |
|
1338 | 1338 | margin: 0 0 0 0px; |
|
1339 | 1339 | } |
|
1340 | 1340 | |
|
1341 | 1341 | #content div.box div.form div.fields div.field div.input input { |
|
1342 | 1342 | background: #FFF; |
|
1343 | 1343 | border-top: 1px solid #b3b3b3; |
|
1344 | 1344 | border-left: 1px solid #b3b3b3; |
|
1345 | 1345 | border-right: 1px solid #eaeaea; |
|
1346 | 1346 | border-bottom: 1px solid #eaeaea; |
|
1347 | 1347 | color: #000; |
|
1348 | 1348 | font-size: 11px; |
|
1349 | 1349 | margin: 0; |
|
1350 | 1350 | padding: 7px 7px 6px; |
|
1351 | 1351 | } |
|
1352 | 1352 | |
|
1353 | 1353 | #content div.box div.form div.fields div.field div.input input#clone_url, |
|
1354 | 1354 | #content div.box div.form div.fields div.field div.input input#clone_url_id |
|
1355 | 1355 | { |
|
1356 | 1356 | font-size: 16px; |
|
1357 | 1357 | padding: 2px; |
|
1358 | 1358 | } |
|
1359 | 1359 | |
|
1360 | 1360 | #content div.box div.form div.fields div.field div.file input { |
|
1361 | 1361 | background: none repeat scroll 0 0 #FFFFFF; |
|
1362 | 1362 | border-color: #B3B3B3 #EAEAEA #EAEAEA #B3B3B3; |
|
1363 | 1363 | border-style: solid; |
|
1364 | 1364 | border-width: 1px; |
|
1365 | 1365 | color: #000000; |
|
1366 | 1366 | font-size: 11px; |
|
1367 | 1367 | margin: 0; |
|
1368 | 1368 | padding: 7px 7px 6px; |
|
1369 | 1369 | } |
|
1370 | 1370 | |
|
1371 | 1371 | #content div.box div.form div.fields div.field div.input input.small { |
|
1372 | 1372 | width: 30%; |
|
1373 | 1373 | } |
|
1374 | 1374 | |
|
1375 | 1375 | #content div.box div.form div.fields div.field div.input input.medium { |
|
1376 | 1376 | width: 55%; |
|
1377 | 1377 | } |
|
1378 | 1378 | |
|
1379 | 1379 | #content div.box div.form div.fields div.field div.input input.large { |
|
1380 | 1380 | width: 85%; |
|
1381 | 1381 | } |
|
1382 | 1382 | |
|
1383 | 1383 | #content div.box div.form div.fields div.field div.input input.date { |
|
1384 | 1384 | width: 177px; |
|
1385 | 1385 | } |
|
1386 | 1386 | |
|
1387 | 1387 | #content div.box div.form div.fields div.field div.input input.button { |
|
1388 | 1388 | background: #D4D0C8; |
|
1389 | 1389 | border-top: 1px solid #FFF; |
|
1390 | 1390 | border-left: 1px solid #FFF; |
|
1391 | 1391 | border-right: 1px solid #404040; |
|
1392 | 1392 | border-bottom: 1px solid #404040; |
|
1393 | 1393 | color: #000; |
|
1394 | 1394 | margin: 0; |
|
1395 | 1395 | padding: 4px 8px; |
|
1396 | 1396 | } |
|
1397 | 1397 | |
|
1398 | 1398 | #content div.box div.form div.fields div.field div.textarea { |
|
1399 | 1399 | border-top: 1px solid #b3b3b3; |
|
1400 | 1400 | border-left: 1px solid #b3b3b3; |
|
1401 | 1401 | border-right: 1px solid #eaeaea; |
|
1402 | 1402 | border-bottom: 1px solid #eaeaea; |
|
1403 | 1403 | margin: 0 0 0 200px; |
|
1404 | 1404 | padding: 10px; |
|
1405 | 1405 | } |
|
1406 | 1406 | |
|
1407 | 1407 | #content div.box div.form div.fields div.field div.textarea-editor { |
|
1408 | 1408 | border: 1px solid #ddd; |
|
1409 | 1409 | padding: 0; |
|
1410 | 1410 | } |
|
1411 | 1411 | |
|
1412 | 1412 | #content div.box div.form div.fields div.field div.textarea textarea { |
|
1413 | 1413 | width: 100%; |
|
1414 | 1414 | height: 220px; |
|
1415 | 1415 | overflow: hidden; |
|
1416 | 1416 | background: #FFF; |
|
1417 | 1417 | color: #000; |
|
1418 | 1418 | font-size: 11px; |
|
1419 | 1419 | outline: none; |
|
1420 | 1420 | border-width: 0; |
|
1421 | 1421 | margin: 0; |
|
1422 | 1422 | padding: 0; |
|
1423 | 1423 | } |
|
1424 | 1424 | |
|
1425 | 1425 | #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 |
|
1426 | 1426 | { |
|
1427 | 1427 | width: 100%; |
|
1428 | 1428 | height: 100px; |
|
1429 | 1429 | } |
|
1430 | 1430 | |
|
1431 | 1431 | #content div.box div.form div.fields div.field div.textarea table { |
|
1432 | 1432 | width: 100%; |
|
1433 | 1433 | border: none; |
|
1434 | 1434 | margin: 0; |
|
1435 | 1435 | padding: 0; |
|
1436 | 1436 | } |
|
1437 | 1437 | |
|
1438 | 1438 | #content div.box div.form div.fields div.field div.textarea table td { |
|
1439 | 1439 | background: #DDD; |
|
1440 | 1440 | border: none; |
|
1441 | 1441 | padding: 0; |
|
1442 | 1442 | } |
|
1443 | 1443 | |
|
1444 | 1444 | #content div.box div.form div.fields div.field div.textarea table td table |
|
1445 | 1445 | { |
|
1446 | 1446 | width: auto; |
|
1447 | 1447 | border: none; |
|
1448 | 1448 | margin: 0; |
|
1449 | 1449 | padding: 0; |
|
1450 | 1450 | } |
|
1451 | 1451 | |
|
1452 | 1452 | #content div.box div.form div.fields div.field div.textarea table td table td |
|
1453 | 1453 | { |
|
1454 | 1454 | font-size: 11px; |
|
1455 | 1455 | padding: 5px 5px 5px 0; |
|
1456 | 1456 | } |
|
1457 | 1457 | |
|
1458 | 1458 | #content div.box div.form div.fields div.field input[type=text]:focus,#content div.box div.form div.fields div.field input[type=password]:focus,#content div.box div.form div.fields div.field input[type=file]:focus,#content div.box div.form div.fields div.field textarea:focus,#content div.box div.form div.fields div.field select:focus |
|
1459 | 1459 | { |
|
1460 | 1460 | background: #f6f6f6; |
|
1461 | 1461 | border-color: #666; |
|
1462 | 1462 | } |
|
1463 | 1463 | |
|
1464 | 1464 | div.form div.fields div.field div.button { |
|
1465 | 1465 | margin: 0; |
|
1466 | 1466 | padding: 0 0 0 8px; |
|
1467 | 1467 | } |
|
1468 | 1468 | #content div.box table.noborder { |
|
1469 | 1469 | border: 1px solid transparent; |
|
1470 | 1470 | } |
|
1471 | 1471 | |
|
1472 | 1472 | #content div.box table { |
|
1473 | 1473 | width: 100%; |
|
1474 | 1474 | border-collapse: separate; |
|
1475 | 1475 | margin: 0; |
|
1476 | 1476 | padding: 0; |
|
1477 | 1477 | border: 1px solid #eee; |
|
1478 | 1478 | -webkit-border-radius: 4px; |
|
1479 | 1479 | -moz-border-radius: 4px; |
|
1480 | 1480 | border-radius: 4px; |
|
1481 | 1481 | } |
|
1482 | 1482 | |
|
1483 | 1483 | #content div.box table th { |
|
1484 | 1484 | background: #eee; |
|
1485 | 1485 | border-bottom: 1px solid #ddd; |
|
1486 | 1486 | padding: 5px 0px 5px 5px; |
|
1487 | 1487 | } |
|
1488 | 1488 | |
|
1489 | 1489 | #content div.box table th.left { |
|
1490 | 1490 | text-align: left; |
|
1491 | 1491 | } |
|
1492 | 1492 | |
|
1493 | 1493 | #content div.box table th.right { |
|
1494 | 1494 | text-align: right; |
|
1495 | 1495 | } |
|
1496 | 1496 | |
|
1497 | 1497 | #content div.box table th.center { |
|
1498 | 1498 | text-align: center; |
|
1499 | 1499 | } |
|
1500 | 1500 | |
|
1501 | 1501 | #content div.box table th.selected { |
|
1502 | 1502 | vertical-align: middle; |
|
1503 | 1503 | padding: 0; |
|
1504 | 1504 | } |
|
1505 | 1505 | |
|
1506 | 1506 | #content div.box table td { |
|
1507 | 1507 | background: #fff; |
|
1508 | 1508 | border-bottom: 1px solid #cdcdcd; |
|
1509 | 1509 | vertical-align: middle; |
|
1510 | 1510 | padding: 5px; |
|
1511 | 1511 | } |
|
1512 | 1512 | |
|
1513 | 1513 | #content div.box table tr.selected td { |
|
1514 | 1514 | background: #FFC; |
|
1515 | 1515 | } |
|
1516 | 1516 | |
|
1517 | 1517 | #content div.box table td.selected { |
|
1518 | 1518 | width: 3%; |
|
1519 | 1519 | text-align: center; |
|
1520 | 1520 | vertical-align: middle; |
|
1521 | 1521 | padding: 0; |
|
1522 | 1522 | } |
|
1523 | 1523 | |
|
1524 | 1524 | #content div.box table td.action { |
|
1525 | 1525 | width: 45%; |
|
1526 | 1526 | text-align: left; |
|
1527 | 1527 | } |
|
1528 | 1528 | |
|
1529 | 1529 | #content div.box table td.date { |
|
1530 | 1530 | width: 33%; |
|
1531 | 1531 | text-align: center; |
|
1532 | 1532 | } |
|
1533 | 1533 | |
|
1534 | 1534 | #content div.box div.action { |
|
1535 | 1535 | float: right; |
|
1536 | 1536 | background: #FFF; |
|
1537 | 1537 | text-align: right; |
|
1538 | 1538 | margin: 10px 0 0; |
|
1539 | 1539 | padding: 0; |
|
1540 | 1540 | } |
|
1541 | 1541 | |
|
1542 | 1542 | #content div.box div.action select { |
|
1543 | 1543 | font-size: 11px; |
|
1544 | 1544 | margin: 0; |
|
1545 | 1545 | } |
|
1546 | 1546 | |
|
1547 | 1547 | #content div.box div.action .ui-selectmenu { |
|
1548 | 1548 | margin: 0; |
|
1549 | 1549 | padding: 0; |
|
1550 | 1550 | } |
|
1551 | 1551 | |
|
1552 | 1552 | #content div.box div.pagination { |
|
1553 | 1553 | height: 1%; |
|
1554 | 1554 | clear: both; |
|
1555 | 1555 | overflow: hidden; |
|
1556 | 1556 | margin: 10px 0 0; |
|
1557 | 1557 | padding: 0; |
|
1558 | 1558 | } |
|
1559 | 1559 | |
|
1560 | 1560 | #content div.box div.pagination ul.pager { |
|
1561 | 1561 | float: right; |
|
1562 | 1562 | text-align: right; |
|
1563 | 1563 | margin: 0; |
|
1564 | 1564 | padding: 0; |
|
1565 | 1565 | } |
|
1566 | 1566 | |
|
1567 | 1567 | #content div.box div.pagination ul.pager li { |
|
1568 | 1568 | height: 1%; |
|
1569 | 1569 | float: left; |
|
1570 | 1570 | list-style: none; |
|
1571 | 1571 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
1572 | 1572 | border-top: 1px solid #dedede; |
|
1573 | 1573 | border-left: 1px solid #cfcfcf; |
|
1574 | 1574 | border-right: 1px solid #c4c4c4; |
|
1575 | 1575 | border-bottom: 1px solid #c4c4c4; |
|
1576 | 1576 | color: #4A4A4A; |
|
1577 | 1577 | font-weight: 700; |
|
1578 | 1578 | margin: 0 0 0 4px; |
|
1579 | 1579 | padding: 0; |
|
1580 | 1580 | } |
|
1581 | 1581 | |
|
1582 | 1582 | #content div.box div.pagination ul.pager li.separator { |
|
1583 | 1583 | padding: 6px; |
|
1584 | 1584 | } |
|
1585 | 1585 | |
|
1586 | 1586 | #content div.box div.pagination ul.pager li.current { |
|
1587 | 1587 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1588 | 1588 | border-top: 1px solid #ccc; |
|
1589 | 1589 | border-left: 1px solid #bebebe; |
|
1590 | 1590 | border-right: 1px solid #b1b1b1; |
|
1591 | 1591 | border-bottom: 1px solid #afafaf; |
|
1592 | 1592 | color: #515151; |
|
1593 | 1593 | padding: 6px; |
|
1594 | 1594 | } |
|
1595 | 1595 | |
|
1596 | 1596 | #content div.box div.pagination ul.pager li a { |
|
1597 | 1597 | height: 1%; |
|
1598 | 1598 | display: block; |
|
1599 | 1599 | float: left; |
|
1600 | 1600 | color: #515151; |
|
1601 | 1601 | text-decoration: none; |
|
1602 | 1602 | margin: 0; |
|
1603 | 1603 | padding: 6px; |
|
1604 | 1604 | } |
|
1605 | 1605 | |
|
1606 | 1606 | #content div.box div.pagination ul.pager li a:hover,#content div.box div.pagination ul.pager li a:active |
|
1607 | 1607 | { |
|
1608 | 1608 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1609 | 1609 | border-top: 1px solid #ccc; |
|
1610 | 1610 | border-left: 1px solid #bebebe; |
|
1611 | 1611 | border-right: 1px solid #b1b1b1; |
|
1612 | 1612 | border-bottom: 1px solid #afafaf; |
|
1613 | 1613 | margin: -1px; |
|
1614 | 1614 | } |
|
1615 | 1615 | |
|
1616 | 1616 | #content div.box div.pagination-wh { |
|
1617 | 1617 | height: 1%; |
|
1618 | 1618 | clear: both; |
|
1619 | 1619 | overflow: hidden; |
|
1620 | 1620 | text-align: right; |
|
1621 | 1621 | margin: 10px 0 0; |
|
1622 | 1622 | padding: 0; |
|
1623 | 1623 | } |
|
1624 | 1624 | |
|
1625 | 1625 | #content div.box div.pagination-right { |
|
1626 | 1626 | float: right; |
|
1627 | 1627 | } |
|
1628 | 1628 | |
|
1629 | 1629 | #content div.box div.pagination-wh a,#content div.box div.pagination-wh span.pager_dotdot |
|
1630 | 1630 | { |
|
1631 | 1631 | height: 1%; |
|
1632 | 1632 | float: left; |
|
1633 | 1633 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
1634 | 1634 | border-top: 1px solid #dedede; |
|
1635 | 1635 | border-left: 1px solid #cfcfcf; |
|
1636 | 1636 | border-right: 1px solid #c4c4c4; |
|
1637 | 1637 | border-bottom: 1px solid #c4c4c4; |
|
1638 | 1638 | color: #4A4A4A; |
|
1639 | 1639 | font-weight: 700; |
|
1640 | 1640 | margin: 0 0 0 4px; |
|
1641 | 1641 | padding: 6px; |
|
1642 | 1642 | } |
|
1643 | 1643 | |
|
1644 | 1644 | #content div.box div.pagination-wh span.pager_curpage { |
|
1645 | 1645 | height: 1%; |
|
1646 | 1646 | float: left; |
|
1647 | 1647 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1648 | 1648 | border-top: 1px solid #ccc; |
|
1649 | 1649 | border-left: 1px solid #bebebe; |
|
1650 | 1650 | border-right: 1px solid #b1b1b1; |
|
1651 | 1651 | border-bottom: 1px solid #afafaf; |
|
1652 | 1652 | color: #515151; |
|
1653 | 1653 | font-weight: 700; |
|
1654 | 1654 | margin: 0 0 0 4px; |
|
1655 | 1655 | padding: 6px; |
|
1656 | 1656 | } |
|
1657 | 1657 | |
|
1658 | 1658 | #content div.box div.pagination-wh a:hover,#content div.box div.pagination-wh a:active |
|
1659 | 1659 | { |
|
1660 | 1660 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1661 | 1661 | border-top: 1px solid #ccc; |
|
1662 | 1662 | border-left: 1px solid #bebebe; |
|
1663 | 1663 | border-right: 1px solid #b1b1b1; |
|
1664 | 1664 | border-bottom: 1px solid #afafaf; |
|
1665 | 1665 | text-decoration: none; |
|
1666 | 1666 | } |
|
1667 | 1667 | |
|
1668 | 1668 | #content div.box div.traffic div.legend { |
|
1669 | 1669 | clear: both; |
|
1670 | 1670 | overflow: hidden; |
|
1671 | 1671 | border-bottom: 1px solid #ddd; |
|
1672 | 1672 | margin: 0 0 10px; |
|
1673 | 1673 | padding: 0 0 10px; |
|
1674 | 1674 | } |
|
1675 | 1675 | |
|
1676 | 1676 | #content div.box div.traffic div.legend h6 { |
|
1677 | 1677 | float: left; |
|
1678 | 1678 | border: none; |
|
1679 | 1679 | margin: 0; |
|
1680 | 1680 | padding: 0; |
|
1681 | 1681 | } |
|
1682 | 1682 | |
|
1683 | 1683 | #content div.box div.traffic div.legend li { |
|
1684 | 1684 | list-style: none; |
|
1685 | 1685 | float: left; |
|
1686 | 1686 | font-size: 11px; |
|
1687 | 1687 | margin: 0; |
|
1688 | 1688 | padding: 0 8px 0 4px; |
|
1689 | 1689 | } |
|
1690 | 1690 | |
|
1691 | 1691 | #content div.box div.traffic div.legend li.visits { |
|
1692 | 1692 | border-left: 12px solid #edc240; |
|
1693 | 1693 | } |
|
1694 | 1694 | |
|
1695 | 1695 | #content div.box div.traffic div.legend li.pageviews { |
|
1696 | 1696 | border-left: 12px solid #afd8f8; |
|
1697 | 1697 | } |
|
1698 | 1698 | |
|
1699 | 1699 | #content div.box div.traffic table { |
|
1700 | 1700 | width: auto; |
|
1701 | 1701 | } |
|
1702 | 1702 | |
|
1703 | 1703 | #content div.box div.traffic table td { |
|
1704 | 1704 | background: transparent; |
|
1705 | 1705 | border: none; |
|
1706 | 1706 | padding: 2px 3px 3px; |
|
1707 | 1707 | } |
|
1708 | 1708 | |
|
1709 | 1709 | #content div.box div.traffic table td.legendLabel { |
|
1710 | 1710 | padding: 0 3px 2px; |
|
1711 | 1711 | } |
|
1712 | 1712 | |
|
1713 | 1713 | #summary { |
|
1714 | 1714 | |
|
1715 | 1715 | } |
|
1716 | 1716 | |
|
1717 | 1717 | #summary .desc { |
|
1718 | 1718 | white-space: pre; |
|
1719 | 1719 | width: 100%; |
|
1720 | 1720 | } |
|
1721 | 1721 | |
|
1722 | 1722 | #summary .repo_name { |
|
1723 | 1723 | font-size: 1.6em; |
|
1724 | 1724 | font-weight: bold; |
|
1725 | 1725 | vertical-align: baseline; |
|
1726 | 1726 | clear: right |
|
1727 | 1727 | } |
|
1728 | 1728 | |
|
1729 | 1729 | #footer { |
|
1730 | 1730 | clear: both; |
|
1731 | 1731 | overflow: hidden; |
|
1732 | 1732 | text-align: right; |
|
1733 | 1733 | margin: 0; |
|
1734 | 1734 | padding: 0 10px 4px; |
|
1735 | 1735 | margin: -10px 0 0; |
|
1736 | 1736 | } |
|
1737 | 1737 | |
|
1738 | 1738 | #footer div#footer-inner { |
|
1739 | 1739 | background-color: #eedc94; background-repeat : repeat-x; |
|
1740 | 1740 | background-image : -khtml-gradient( linear, left top, left bottom, |
|
1741 | 1741 | from( #fceec1), to( #eedc94)); background-image : -moz-linear-gradient( |
|
1742 | 1742 | top, #003b76, #00376e); background-image : -ms-linear-gradient( top, |
|
1743 | 1743 | #003b76, #00376e); background-image : -webkit-gradient( linear, left |
|
1744 | 1744 | top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); |
|
1745 | 1745 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); |
|
1746 | 1746 | background-image : -o-linear-gradient( top, #003b76, #00376e)); |
|
1747 | 1747 | background-image : linear-gradient( top, #003b76, #00376e); filter : |
|
1748 | 1748 | progid : DXImageTransform.Microsoft.gradient ( startColorstr = |
|
1749 | 1749 | '#003b76', endColorstr = '#00376e', GradientType = 0); |
|
1750 | 1750 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1751 | 1751 | -webkit-border-radius: 4px 4px 4px 4px; |
|
1752 | 1752 | -khtml-border-radius: 4px 4px 4px 4px; |
|
1753 | 1753 | -moz-border-radius: 4px 4px 4px 4px; |
|
1754 | 1754 | border-radius: 4px 4px 4px 4px; |
|
1755 | 1755 | background-repeat: repeat-x; |
|
1756 | 1756 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
1757 | 1757 | to(#eedc94) ); |
|
1758 | 1758 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1759 | 1759 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1760 | 1760 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
1761 | 1761 | color-stop(100%, #00376e) ); |
|
1762 | 1762 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
1763 | 1763 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
1764 | 1764 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1765 | 1765 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
1766 | 1766 | endColorstr='#00376e', GradientType=0 ); |
|
1767 | 1767 | } |
|
1768 | 1768 | |
|
1769 | 1769 | #footer div#footer-inner p { |
|
1770 | 1770 | padding: 15px 25px 15px 0; |
|
1771 | 1771 | color: #FFF; |
|
1772 | 1772 | font-weight: 700; |
|
1773 | 1773 | } |
|
1774 | 1774 | |
|
1775 | 1775 | #footer div#footer-inner .footer-link { |
|
1776 | 1776 | float: left; |
|
1777 | 1777 | padding-left: 10px; |
|
1778 | 1778 | } |
|
1779 | 1779 | |
|
1780 | 1780 | #footer div#footer-inner .footer-link a,#footer div#footer-inner .footer-link-right a |
|
1781 | 1781 | { |
|
1782 | 1782 | color: #FFF; |
|
1783 | 1783 | } |
|
1784 | 1784 | |
|
1785 | 1785 | #login div.title { |
|
1786 | 1786 | width: 420px; |
|
1787 | 1787 | clear: both; |
|
1788 | 1788 | overflow: hidden; |
|
1789 | 1789 | position: relative; |
|
1790 | 1790 | background-color: #eedc94; background-repeat : repeat-x; |
|
1791 | 1791 | background-image : -khtml-gradient( linear, left top, left bottom, |
|
1792 | 1792 | from( #fceec1), to( #eedc94)); background-image : -moz-linear-gradient( |
|
1793 | 1793 | top, #003b76, #00376e); background-image : -ms-linear-gradient( top, |
|
1794 | 1794 | #003b76, #00376e); background-image : -webkit-gradient( linear, left |
|
1795 | 1795 | top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); |
|
1796 | 1796 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); |
|
1797 | 1797 | background-image : -o-linear-gradient( top, #003b76, #00376e)); |
|
1798 | 1798 | background-image : linear-gradient( top, #003b76, #00376e); filter : |
|
1799 | 1799 | progid : DXImageTransform.Microsoft.gradient ( startColorstr = |
|
1800 | 1800 | '#003b76', endColorstr = '#00376e', GradientType = 0); |
|
1801 | 1801 | margin: 0 auto; |
|
1802 | 1802 | padding: 0; |
|
1803 | 1803 | background-repeat: repeat-x; |
|
1804 | 1804 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
1805 | 1805 | to(#eedc94) ); |
|
1806 | 1806 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1807 | 1807 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1808 | 1808 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
1809 | 1809 | color-stop(100%, #00376e) ); |
|
1810 | 1810 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
1811 | 1811 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
1812 | 1812 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1813 | 1813 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
1814 | 1814 | endColorstr='#00376e', GradientType=0 ); |
|
1815 | 1815 | } |
|
1816 | 1816 | |
|
1817 | 1817 | #login div.inner { |
|
1818 | 1818 | width: 380px; |
|
1819 | 1819 | background: #FFF url("../images/login.png") no-repeat top left; |
|
1820 | 1820 | border-top: none; |
|
1821 | 1821 | border-bottom: none; |
|
1822 | 1822 | margin: 0 auto; |
|
1823 | 1823 | padding: 20px; |
|
1824 | 1824 | } |
|
1825 | 1825 | |
|
1826 | 1826 | #login div.form div.fields div.field div.label { |
|
1827 | 1827 | width: 173px; |
|
1828 | 1828 | float: left; |
|
1829 | 1829 | text-align: right; |
|
1830 | 1830 | margin: 2px 10px 0 0; |
|
1831 | 1831 | padding: 5px 0 0 5px; |
|
1832 | 1832 | } |
|
1833 | 1833 | |
|
1834 | 1834 | #login div.form div.fields div.field div.input input { |
|
1835 | 1835 | width: 176px; |
|
1836 | 1836 | background: #FFF; |
|
1837 | 1837 | border-top: 1px solid #b3b3b3; |
|
1838 | 1838 | border-left: 1px solid #b3b3b3; |
|
1839 | 1839 | border-right: 1px solid #eaeaea; |
|
1840 | 1840 | border-bottom: 1px solid #eaeaea; |
|
1841 | 1841 | color: #000; |
|
1842 | 1842 | font-size: 11px; |
|
1843 | 1843 | margin: 0; |
|
1844 | 1844 | padding: 7px 7px 6px; |
|
1845 | 1845 | } |
|
1846 | 1846 | |
|
1847 | 1847 | #login div.form div.fields div.buttons { |
|
1848 | 1848 | clear: both; |
|
1849 | 1849 | overflow: hidden; |
|
1850 | 1850 | border-top: 1px solid #DDD; |
|
1851 | 1851 | text-align: right; |
|
1852 | 1852 | margin: 0; |
|
1853 | 1853 | padding: 10px 0 0; |
|
1854 | 1854 | } |
|
1855 | 1855 | |
|
1856 | 1856 | #login div.form div.links { |
|
1857 | 1857 | clear: both; |
|
1858 | 1858 | overflow: hidden; |
|
1859 | 1859 | margin: 10px 0 0; |
|
1860 | 1860 | padding: 0 0 2px; |
|
1861 | 1861 | } |
|
1862 | 1862 | |
|
1863 | 1863 | #quick_login { |
|
1864 | 1864 | top: 31px; |
|
1865 | 1865 | background-color: rgb(0, 51, 103); |
|
1866 | 1866 | z-index: 999; |
|
1867 | 1867 | height: 150px; |
|
1868 | 1868 | position: absolute; |
|
1869 | 1869 | margin-left: -16px; |
|
1870 | 1870 | width: 281px; |
|
1871 | 1871 | -webkit-border-radius: 0px 0px 4px 4px; |
|
1872 | 1872 | -khtml-border-radius: 0px 0px 4px 4px; |
|
1873 | 1873 | -moz-border-radius: 0px 0px 4px 4px; |
|
1874 | 1874 | border-radius: 0px 0px 4px 4px; |
|
1875 | 1875 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1876 | 1876 | } |
|
1877 | 1877 | |
|
1878 | 1878 | #quick_login .password_forgoten { |
|
1879 | 1879 | padding-right: 10px; |
|
1880 | 1880 | padding-top: 0px; |
|
1881 | 1881 | float: left; |
|
1882 | 1882 | } |
|
1883 | 1883 | |
|
1884 | 1884 | #quick_login .password_forgoten a { |
|
1885 | 1885 | font-size: 10px |
|
1886 | 1886 | } |
|
1887 | 1887 | |
|
1888 | 1888 | #quick_login .register { |
|
1889 | 1889 | padding-right: 10px; |
|
1890 | 1890 | padding-top: 5px; |
|
1891 | 1891 | float: left; |
|
1892 | 1892 | } |
|
1893 | 1893 | |
|
1894 | 1894 | #quick_login .register a { |
|
1895 | 1895 | font-size: 10px |
|
1896 | 1896 | } |
|
1897 | 1897 | |
|
1898 | 1898 | #quick_login div.form div.fields { |
|
1899 | 1899 | padding-top: 2px; |
|
1900 | 1900 | padding-left: 10px; |
|
1901 | 1901 | } |
|
1902 | 1902 | |
|
1903 | 1903 | #quick_login div.form div.fields div.field { |
|
1904 | 1904 | padding: 5px; |
|
1905 | 1905 | } |
|
1906 | 1906 | |
|
1907 | 1907 | #quick_login div.form div.fields div.field div.label label { |
|
1908 | 1908 | color: #fff; |
|
1909 | 1909 | padding-bottom: 3px; |
|
1910 | 1910 | } |
|
1911 | 1911 | |
|
1912 | 1912 | #quick_login div.form div.fields div.field div.input input { |
|
1913 | 1913 | width: 236px; |
|
1914 | 1914 | background: #FFF; |
|
1915 | 1915 | border-top: 1px solid #b3b3b3; |
|
1916 | 1916 | border-left: 1px solid #b3b3b3; |
|
1917 | 1917 | border-right: 1px solid #eaeaea; |
|
1918 | 1918 | border-bottom: 1px solid #eaeaea; |
|
1919 | 1919 | color: #000; |
|
1920 | 1920 | font-size: 11px; |
|
1921 | 1921 | margin: 0; |
|
1922 | 1922 | padding: 5px 7px 4px; |
|
1923 | 1923 | } |
|
1924 | 1924 | |
|
1925 | 1925 | #quick_login div.form div.fields div.buttons { |
|
1926 | 1926 | clear: both; |
|
1927 | 1927 | overflow: hidden; |
|
1928 | 1928 | text-align: right; |
|
1929 | 1929 | margin: 0; |
|
1930 | 1930 | padding: 10px 14px 0px 5px; |
|
1931 | 1931 | } |
|
1932 | 1932 | |
|
1933 | 1933 | #quick_login div.form div.links { |
|
1934 | 1934 | clear: both; |
|
1935 | 1935 | overflow: hidden; |
|
1936 | 1936 | margin: 10px 0 0; |
|
1937 | 1937 | padding: 0 0 2px; |
|
1938 | 1938 | } |
|
1939 | 1939 | |
|
1940 | 1940 | #register div.title { |
|
1941 | 1941 | clear: both; |
|
1942 | 1942 | overflow: hidden; |
|
1943 | 1943 | position: relative; |
|
1944 | 1944 | background-color: #eedc94; |
|
1945 | 1945 | background-repeat: repeat-x; |
|
1946 | 1946 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
1947 | 1947 | to(#eedc94) ); |
|
1948 | 1948 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1949 | 1949 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1950 | 1950 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
1951 | 1951 | color-stop(100%, #00376e) ); |
|
1952 | 1952 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
1953 | 1953 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
1954 | 1954 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1955 | 1955 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
1956 | 1956 | endColorstr='#00376e', GradientType=0 ); |
|
1957 | 1957 | margin: 0 auto; |
|
1958 | 1958 | padding: 0; |
|
1959 | 1959 | } |
|
1960 | 1960 | |
|
1961 | 1961 | #register div.inner { |
|
1962 | 1962 | background: #FFF; |
|
1963 | 1963 | border-top: none; |
|
1964 | 1964 | border-bottom: none; |
|
1965 | 1965 | margin: 0 auto; |
|
1966 | 1966 | padding: 20px; |
|
1967 | 1967 | } |
|
1968 | 1968 | |
|
1969 | 1969 | #register div.form div.fields div.field div.label { |
|
1970 | 1970 | width: 135px; |
|
1971 | 1971 | float: left; |
|
1972 | 1972 | text-align: right; |
|
1973 | 1973 | margin: 2px 10px 0 0; |
|
1974 | 1974 | padding: 5px 0 0 5px; |
|
1975 | 1975 | } |
|
1976 | 1976 | |
|
1977 | 1977 | #register div.form div.fields div.field div.input input { |
|
1978 | 1978 | width: 300px; |
|
1979 | 1979 | background: #FFF; |
|
1980 | 1980 | border-top: 1px solid #b3b3b3; |
|
1981 | 1981 | border-left: 1px solid #b3b3b3; |
|
1982 | 1982 | border-right: 1px solid #eaeaea; |
|
1983 | 1983 | border-bottom: 1px solid #eaeaea; |
|
1984 | 1984 | color: #000; |
|
1985 | 1985 | font-size: 11px; |
|
1986 | 1986 | margin: 0; |
|
1987 | 1987 | padding: 7px 7px 6px; |
|
1988 | 1988 | } |
|
1989 | 1989 | |
|
1990 | 1990 | #register div.form div.fields div.buttons { |
|
1991 | 1991 | clear: both; |
|
1992 | 1992 | overflow: hidden; |
|
1993 | 1993 | border-top: 1px solid #DDD; |
|
1994 | 1994 | text-align: left; |
|
1995 | 1995 | margin: 0; |
|
1996 | 1996 | padding: 10px 0 0 150px; |
|
1997 | 1997 | } |
|
1998 | 1998 | |
|
1999 | 1999 | #register div.form div.activation_msg { |
|
2000 | 2000 | padding-top: 4px; |
|
2001 | 2001 | padding-bottom: 4px; |
|
2002 | 2002 | } |
|
2003 | 2003 | |
|
2004 | 2004 | #journal .journal_day { |
|
2005 | 2005 | font-size: 20px; |
|
2006 | 2006 | padding: 10px 0px; |
|
2007 | 2007 | border-bottom: 2px solid #DDD; |
|
2008 | 2008 | margin-left: 10px; |
|
2009 | 2009 | margin-right: 10px; |
|
2010 | 2010 | } |
|
2011 | 2011 | |
|
2012 | 2012 | #journal .journal_container { |
|
2013 | 2013 | padding: 5px; |
|
2014 | 2014 | clear: both; |
|
2015 | 2015 | margin: 0px 5px 0px 10px; |
|
2016 | 2016 | } |
|
2017 | 2017 | |
|
2018 | 2018 | #journal .journal_action_container { |
|
2019 | 2019 | padding-left: 38px; |
|
2020 | 2020 | } |
|
2021 | 2021 | |
|
2022 | 2022 | #journal .journal_user { |
|
2023 | 2023 | color: #747474; |
|
2024 | 2024 | font-size: 14px; |
|
2025 | 2025 | font-weight: bold; |
|
2026 | 2026 | height: 30px; |
|
2027 | 2027 | } |
|
2028 | 2028 | |
|
2029 | 2029 | #journal .journal_icon { |
|
2030 | 2030 | clear: both; |
|
2031 | 2031 | float: left; |
|
2032 | 2032 | padding-right: 4px; |
|
2033 | 2033 | padding-top: 3px; |
|
2034 | 2034 | } |
|
2035 | 2035 | |
|
2036 | 2036 | #journal .journal_action { |
|
2037 | 2037 | padding-top: 4px; |
|
2038 | 2038 | min-height: 2px; |
|
2039 | 2039 | float: left |
|
2040 | 2040 | } |
|
2041 | 2041 | |
|
2042 | 2042 | #journal .journal_action_params { |
|
2043 | 2043 | clear: left; |
|
2044 | 2044 | padding-left: 22px; |
|
2045 | 2045 | } |
|
2046 | 2046 | |
|
2047 | 2047 | #journal .journal_repo { |
|
2048 | 2048 | float: left; |
|
2049 | 2049 | margin-left: 6px; |
|
2050 | 2050 | padding-top: 3px; |
|
2051 | 2051 | } |
|
2052 | 2052 | |
|
2053 | 2053 | #journal .date { |
|
2054 | 2054 | clear: both; |
|
2055 | 2055 | color: #777777; |
|
2056 | 2056 | font-size: 11px; |
|
2057 | 2057 | padding-left: 22px; |
|
2058 | 2058 | } |
|
2059 | 2059 | |
|
2060 | 2060 | #journal .journal_repo .journal_repo_name { |
|
2061 | 2061 | font-weight: bold; |
|
2062 | 2062 | font-size: 1.1em; |
|
2063 | 2063 | } |
|
2064 | 2064 | |
|
2065 | 2065 | #journal .compare_view { |
|
2066 | 2066 | padding: 5px 0px 5px 0px; |
|
2067 | 2067 | width: 95px; |
|
2068 | 2068 | } |
|
2069 | 2069 | |
|
2070 | 2070 | .journal_highlight { |
|
2071 | 2071 | font-weight: bold; |
|
2072 | 2072 | padding: 0 2px; |
|
2073 | 2073 | vertical-align: bottom; |
|
2074 | 2074 | } |
|
2075 | 2075 | |
|
2076 | 2076 | .trending_language_tbl,.trending_language_tbl td { |
|
2077 | 2077 | border: 0 !important; |
|
2078 | 2078 | margin: 0 !important; |
|
2079 | 2079 | padding: 0 !important; |
|
2080 | 2080 | } |
|
2081 | 2081 | |
|
2082 | 2082 | .trending_language_tbl,.trending_language_tbl tr { |
|
2083 | 2083 | border-spacing: 1px; |
|
2084 | 2084 | } |
|
2085 | 2085 | |
|
2086 | 2086 | .trending_language { |
|
2087 | 2087 | background-color: #003367; |
|
2088 | 2088 | color: #FFF; |
|
2089 | 2089 | display: block; |
|
2090 | 2090 | min-width: 20px; |
|
2091 | 2091 | text-decoration: none; |
|
2092 | 2092 | height: 12px; |
|
2093 | 2093 | margin-bottom: 0px; |
|
2094 | 2094 | margin-left: 5px; |
|
2095 | 2095 | white-space: pre; |
|
2096 | 2096 | padding: 3px; |
|
2097 | 2097 | } |
|
2098 | 2098 | |
|
2099 | 2099 | h3.files_location { |
|
2100 | 2100 | font-size: 1.8em; |
|
2101 | 2101 | font-weight: 700; |
|
2102 | 2102 | border-bottom: none !important; |
|
2103 | 2103 | margin: 10px 0 !important; |
|
2104 | 2104 | } |
|
2105 | 2105 | |
|
2106 | 2106 | #files_data dl dt { |
|
2107 | 2107 | float: left; |
|
2108 | 2108 | width: 60px; |
|
2109 | 2109 | margin: 0 !important; |
|
2110 | 2110 | padding: 5px; |
|
2111 | 2111 | } |
|
2112 | 2112 | |
|
2113 | 2113 | #files_data dl dd { |
|
2114 | 2114 | margin: 0 !important; |
|
2115 | 2115 | padding: 5px !important; |
|
2116 | 2116 | } |
|
2117 | 2117 | |
|
2118 | 2118 | #changeset_content { |
|
2119 | 2119 | border: 1px solid #CCC; |
|
2120 | 2120 | padding: 5px; |
|
2121 | 2121 | } |
|
2122 | 2122 | |
|
2123 | 2123 | #changeset_compare_view_content { |
|
2124 | 2124 | border: 1px solid #CCC; |
|
2125 | 2125 | padding: 5px; |
|
2126 | 2126 | } |
|
2127 | 2127 | |
|
2128 | 2128 | #changeset_content .container { |
|
2129 | 2129 | min-height: 120px; |
|
2130 | 2130 | font-size: 1.2em; |
|
2131 | 2131 | overflow: hidden; |
|
2132 | 2132 | } |
|
2133 | 2133 | |
|
2134 | 2134 | #changeset_compare_view_content .compare_view_commits { |
|
2135 | 2135 | width: auto !important; |
|
2136 | 2136 | } |
|
2137 | 2137 | |
|
2138 | 2138 | #changeset_compare_view_content .compare_view_commits td { |
|
2139 | 2139 | padding: 0px 0px 0px 12px !important; |
|
2140 | 2140 | } |
|
2141 | 2141 | |
|
2142 | 2142 | #changeset_content .container .right { |
|
2143 | 2143 | float: right; |
|
2144 | 2144 | width: 25%; |
|
2145 | 2145 | text-align: right; |
|
2146 | 2146 | } |
|
2147 | 2147 | |
|
2148 | 2148 | #changeset_content .container .left .message { |
|
2149 | font-style: italic; | |
|
2150 | color: #556CB5; | |
|
2151 | 2149 | white-space: pre-wrap; |
|
2152 | 2150 | } |
|
2153 | 2151 | #changeset_content .container .left .message a:hover { |
|
2154 | 2152 | text-decoration: none; |
|
2155 | 2153 | } |
|
2156 | 2154 | .cs_files .cur_cs { |
|
2157 | 2155 | margin: 10px 2px; |
|
2158 | 2156 | font-weight: bold; |
|
2159 | 2157 | } |
|
2160 | 2158 | |
|
2161 | 2159 | .cs_files .node { |
|
2162 | 2160 | float: left; |
|
2163 | 2161 | } |
|
2164 | 2162 | |
|
2165 | 2163 | .cs_files .changes { |
|
2166 | 2164 | float: right; |
|
2167 | 2165 | color:#003367; |
|
2168 | 2166 | |
|
2169 | 2167 | } |
|
2170 | 2168 | |
|
2171 | 2169 | .cs_files .changes .added { |
|
2172 | 2170 | background-color: #BBFFBB; |
|
2173 | 2171 | float: left; |
|
2174 | 2172 | text-align: center; |
|
2175 | 2173 | font-size: 9px; |
|
2176 | 2174 | padding: 2px 0px 2px 0px; |
|
2177 | 2175 | } |
|
2178 | 2176 | |
|
2179 | 2177 | .cs_files .changes .deleted { |
|
2180 | 2178 | background-color: #FF8888; |
|
2181 | 2179 | float: left; |
|
2182 | 2180 | text-align: center; |
|
2183 | 2181 | font-size: 9px; |
|
2184 | 2182 | padding: 2px 0px 2px 0px; |
|
2185 | 2183 | } |
|
2186 | 2184 | |
|
2187 | 2185 | .cs_files .cs_added { |
|
2188 | 2186 | background: url("../images/icons/page_white_add.png") no-repeat scroll |
|
2189 | 2187 | 3px; |
|
2190 | 2188 | height: 16px; |
|
2191 | 2189 | padding-left: 20px; |
|
2192 | 2190 | margin-top: 7px; |
|
2193 | 2191 | text-align: left; |
|
2194 | 2192 | } |
|
2195 | 2193 | |
|
2196 | 2194 | .cs_files .cs_changed { |
|
2197 | 2195 | background: url("../images/icons/page_white_edit.png") no-repeat scroll |
|
2198 | 2196 | 3px; |
|
2199 | 2197 | height: 16px; |
|
2200 | 2198 | padding-left: 20px; |
|
2201 | 2199 | margin-top: 7px; |
|
2202 | 2200 | text-align: left; |
|
2203 | 2201 | } |
|
2204 | 2202 | |
|
2205 | 2203 | .cs_files .cs_removed { |
|
2206 | 2204 | background: url("../images/icons/page_white_delete.png") no-repeat |
|
2207 | 2205 | scroll 3px; |
|
2208 | 2206 | height: 16px; |
|
2209 | 2207 | padding-left: 20px; |
|
2210 | 2208 | margin-top: 7px; |
|
2211 | 2209 | text-align: left; |
|
2212 | 2210 | } |
|
2213 | 2211 | |
|
2214 | 2212 | #graph { |
|
2215 | 2213 | overflow: hidden; |
|
2216 | 2214 | } |
|
2217 | 2215 | |
|
2218 | 2216 | #graph_nodes { |
|
2219 | 2217 | float: left; |
|
2220 | 2218 | margin-right: -6px; |
|
2221 | 2219 | margin-top: 0px; |
|
2222 | 2220 | } |
|
2223 | 2221 | |
|
2224 | 2222 | #graph_content { |
|
2225 | 2223 | width: 800px; |
|
2226 | 2224 | float: left; |
|
2227 | 2225 | } |
|
2228 | 2226 | |
|
2229 | 2227 | #graph_content .container_header { |
|
2230 | 2228 | border: 1px solid #CCC; |
|
2231 | 2229 | padding: 10px; |
|
2232 | 2230 | height: 45px; |
|
2233 | 2231 | -webkit-border-radius: 6px 6px 0px 0px; |
|
2234 | 2232 | -moz-border-radius: 6px 6px 0px 0px; |
|
2235 | 2233 | border-radius: 6px 6px 0px 0px; |
|
2236 | 2234 | } |
|
2237 | 2235 | |
|
2238 | 2236 | #graph_content #rev_range_container { |
|
2239 | 2237 | padding: 10px 0px; |
|
2240 | 2238 | clear: both; |
|
2241 | 2239 | } |
|
2242 | 2240 | |
|
2243 | 2241 | #graph_content .container { |
|
2244 | 2242 | border-bottom: 1px solid #CCC; |
|
2245 | 2243 | border-left: 1px solid #CCC; |
|
2246 | 2244 | border-right: 1px solid #CCC; |
|
2247 | 2245 | min-height: 70px; |
|
2248 | 2246 | overflow: hidden; |
|
2249 | 2247 | font-size: 1.2em; |
|
2250 | 2248 | } |
|
2251 | 2249 | |
|
2252 | 2250 | #graph_content .container .right { |
|
2253 | 2251 | float: right; |
|
2254 | 2252 | width: 28%; |
|
2255 | 2253 | text-align: right; |
|
2256 | 2254 | padding-bottom: 5px; |
|
2257 | 2255 | } |
|
2258 | 2256 | |
|
2259 | 2257 | #graph_content .container .left .date { |
|
2260 | 2258 | font-weight: 700; |
|
2261 | 2259 | padding-bottom: 5px; |
|
2262 | 2260 | } |
|
2263 | 2261 | |
|
2264 | 2262 | #graph_content .container .left .date span { |
|
2265 | 2263 | vertical-align: text-top; |
|
2266 | 2264 | } |
|
2267 | 2265 | |
|
2268 | 2266 | #graph_content .container .left .author { |
|
2269 | 2267 | height: 22px; |
|
2270 | 2268 | } |
|
2271 | 2269 | |
|
2272 | 2270 | #graph_content .container .left .author .user { |
|
2273 | 2271 | color: #444444; |
|
2274 | 2272 | float: left; |
|
2275 | 2273 | font-size: 12px; |
|
2276 | 2274 | margin-left: -4px; |
|
2277 | 2275 | margin-top: 4px; |
|
2278 | 2276 | } |
|
2279 | 2277 | |
|
2280 | 2278 | #graph_content .container .left .message { |
|
2281 | 2279 | font-size: 100%; |
|
2282 | 2280 | padding-top: 3px; |
|
2283 | 2281 | white-space: pre-wrap; |
|
2284 | 2282 | } |
|
2285 | 2283 | |
|
2286 | 2284 | #graph_content .container .left .message a:hover{ |
|
2287 | 2285 | text-decoration: none; |
|
2288 | 2286 | } |
|
2289 | 2287 | |
|
2290 | 2288 | .right div { |
|
2291 | 2289 | clear: both; |
|
2292 | 2290 | } |
|
2293 | 2291 | |
|
2294 | 2292 | .right .changes .changed_total { |
|
2295 | 2293 | border: 0px solid #DDD; |
|
2296 | 2294 | display: block; |
|
2297 | 2295 | float: right; |
|
2298 | 2296 | text-align: center; |
|
2299 | 2297 | min-width: 45px; |
|
2300 | 2298 | cursor: pointer; |
|
2301 | 2299 | background: #FD8; |
|
2302 | 2300 | font-weight: bold; |
|
2303 | 2301 | -webkit-border-radius: 0px 0px 0px 6px; |
|
2304 | 2302 | -moz-border-radius: 0px 0px 0px 6px; |
|
2305 | 2303 | border-radius: 0px 0px 0px 6px; |
|
2306 | 2304 | padding: 2px; |
|
2307 | 2305 | } |
|
2308 | 2306 | |
|
2309 | 2307 | .right .changes .added,.changed,.removed { |
|
2310 | 2308 | border: 1px solid #DDD; |
|
2311 | 2309 | display: block; |
|
2312 | 2310 | float: right; |
|
2313 | 2311 | text-align: center; |
|
2314 | 2312 | min-width: 15px; |
|
2315 | 2313 | cursor: help; |
|
2316 | 2314 | } |
|
2317 | 2315 | |
|
2318 | 2316 | .right .changes .large { |
|
2319 | 2317 | border: 1px solid #DDD; |
|
2320 | 2318 | display: block; |
|
2321 | 2319 | float: right; |
|
2322 | 2320 | text-align: center; |
|
2323 | 2321 | min-width: 45px; |
|
2324 | 2322 | cursor: help; |
|
2325 | 2323 | background: #54A9F7; |
|
2326 | 2324 | } |
|
2327 | 2325 | |
|
2328 | 2326 | .right .changes .added { |
|
2329 | 2327 | background: #BFB; |
|
2330 | 2328 | } |
|
2331 | 2329 | |
|
2332 | 2330 | .right .changes .changed { |
|
2333 | 2331 | background: #FD8; |
|
2334 | 2332 | } |
|
2335 | 2333 | |
|
2336 | 2334 | .right .changes .removed { |
|
2337 | 2335 | background: #F88; |
|
2338 | 2336 | } |
|
2339 | 2337 | |
|
2340 | 2338 | .right .merge { |
|
2341 | 2339 | vertical-align: top; |
|
2342 | 2340 | font-size: 0.75em; |
|
2343 | 2341 | font-weight: 700; |
|
2344 | 2342 | } |
|
2345 | 2343 | |
|
2346 | 2344 | .right .parent { |
|
2347 | 2345 | font-size: 90%; |
|
2348 | 2346 | font-family: monospace; |
|
2349 | 2347 | padding: 2px 2px 2px 2px; |
|
2350 | 2348 | } |
|
2351 | 2349 | .right .logtags{ |
|
2352 | 2350 | padding: 2px 2px 2px 2px; |
|
2353 | 2351 | } |
|
2354 | 2352 | .right .logtags .branchtag,.logtags .branchtag { |
|
2355 | 2353 | padding: 1px 3px 2px; |
|
2356 | 2354 | background-color: #bfbfbf; |
|
2357 | 2355 | font-size: 9.75px; |
|
2358 | 2356 | font-weight: bold; |
|
2359 | 2357 | color: #ffffff; |
|
2360 | 2358 | text-transform: uppercase; |
|
2361 | 2359 | white-space: nowrap; |
|
2362 | 2360 | -webkit-border-radius: 3px; |
|
2363 | 2361 | -moz-border-radius: 3px; |
|
2364 | 2362 | border-radius: 3px; |
|
2365 | 2363 | padding-left:4px; |
|
2366 | 2364 | } |
|
2367 | 2365 | .right .logtags .branchtag a:hover,.logtags .branchtag a{ |
|
2368 | 2366 | color: #ffffff; |
|
2369 | 2367 | } |
|
2370 | 2368 | .right .logtags .branchtag a:hover,.logtags .branchtag a:hover{ |
|
2371 | 2369 | text-decoration: none; |
|
2372 | 2370 | color: #ffffff; |
|
2373 | 2371 | } |
|
2374 | 2372 | .right .logtags .tagtag,.logtags .tagtag { |
|
2375 | 2373 | padding: 1px 3px 2px; |
|
2376 | 2374 | background-color: #62cffc; |
|
2377 | 2375 | font-size: 9.75px; |
|
2378 | 2376 | font-weight: bold; |
|
2379 | 2377 | color: #ffffff; |
|
2380 | 2378 | text-transform: uppercase; |
|
2381 | 2379 | white-space: nowrap; |
|
2382 | 2380 | -webkit-border-radius: 3px; |
|
2383 | 2381 | -moz-border-radius: 3px; |
|
2384 | 2382 | border-radius: 3px; |
|
2385 | 2383 | } |
|
2386 | 2384 | .right .logtags .tagtag a:hover,.logtags .tagtag a{ |
|
2387 | 2385 | color: #ffffff; |
|
2388 | 2386 | } |
|
2389 | 2387 | .right .logtags .tagtag a:hover,.logtags .tagtag a:hover{ |
|
2390 | 2388 | text-decoration: none; |
|
2391 | 2389 | color: #ffffff; |
|
2392 | 2390 | } |
|
2393 | 2391 | .right .logbooks .bookbook,.logbooks .bookbook { |
|
2394 | 2392 | padding: 1px 3px 2px; |
|
2395 | 2393 | background-color: #46A546; |
|
2396 | 2394 | font-size: 9.75px; |
|
2397 | 2395 | font-weight: bold; |
|
2398 | 2396 | color: #ffffff; |
|
2399 | 2397 | text-transform: uppercase; |
|
2400 | 2398 | white-space: nowrap; |
|
2401 | 2399 | -webkit-border-radius: 3px; |
|
2402 | 2400 | -moz-border-radius: 3px; |
|
2403 | 2401 | border-radius: 3px; |
|
2404 | 2402 | } |
|
2405 | 2403 | .right .logbooks .bookbook,.logbooks .bookbook a{ |
|
2406 | 2404 | color: #ffffff; |
|
2407 | 2405 | } |
|
2408 | 2406 | .right .logbooks .bookbook,.logbooks .bookbook a:hover{ |
|
2409 | 2407 | text-decoration: none; |
|
2410 | 2408 | color: #ffffff; |
|
2411 | 2409 | } |
|
2412 | 2410 | div.browserblock { |
|
2413 | 2411 | overflow: hidden; |
|
2414 | 2412 | border: 1px solid #ccc; |
|
2415 | 2413 | background: #f8f8f8; |
|
2416 | 2414 | font-size: 100%; |
|
2417 | 2415 | line-height: 125%; |
|
2418 | 2416 | padding: 0; |
|
2419 | 2417 | -webkit-border-radius: 6px 6px 0px 0px; |
|
2420 | 2418 | -moz-border-radius: 6px 6px 0px 0px; |
|
2421 | 2419 | border-radius: 6px 6px 0px 0px; |
|
2422 | 2420 | } |
|
2423 | 2421 | |
|
2424 | 2422 | div.browserblock .browser-header { |
|
2425 | 2423 | background: #FFF; |
|
2426 | 2424 | padding: 10px 0px 15px 0px; |
|
2427 | 2425 | width: 100%; |
|
2428 | 2426 | } |
|
2429 | 2427 | |
|
2430 | 2428 | div.browserblock .browser-nav { |
|
2431 | 2429 | float: left |
|
2432 | 2430 | } |
|
2433 | 2431 | |
|
2434 | 2432 | div.browserblock .browser-branch { |
|
2435 | 2433 | float: left; |
|
2436 | 2434 | } |
|
2437 | 2435 | |
|
2438 | 2436 | div.browserblock .browser-branch label { |
|
2439 | 2437 | color: #4A4A4A; |
|
2440 | 2438 | vertical-align: text-top; |
|
2441 | 2439 | } |
|
2442 | 2440 | |
|
2443 | 2441 | div.browserblock .browser-header span { |
|
2444 | 2442 | margin-left: 5px; |
|
2445 | 2443 | font-weight: 700; |
|
2446 | 2444 | } |
|
2447 | 2445 | |
|
2448 | 2446 | div.browserblock .browser-search { |
|
2449 | 2447 | clear: both; |
|
2450 | 2448 | padding: 8px 8px 0px 5px; |
|
2451 | 2449 | height: 20px; |
|
2452 | 2450 | } |
|
2453 | 2451 | |
|
2454 | 2452 | div.browserblock #node_filter_box { |
|
2455 | 2453 | |
|
2456 | 2454 | } |
|
2457 | 2455 | |
|
2458 | 2456 | div.browserblock .search_activate { |
|
2459 | 2457 | float: left |
|
2460 | 2458 | } |
|
2461 | 2459 | |
|
2462 | 2460 | div.browserblock .add_node { |
|
2463 | 2461 | float: left; |
|
2464 | 2462 | padding-left: 5px; |
|
2465 | 2463 | } |
|
2466 | 2464 | |
|
2467 | 2465 | div.browserblock .search_activate a:hover,div.browserblock .add_node a:hover |
|
2468 | 2466 | { |
|
2469 | 2467 | text-decoration: none !important; |
|
2470 | 2468 | } |
|
2471 | 2469 | |
|
2472 | 2470 | div.browserblock .browser-body { |
|
2473 | 2471 | background: #EEE; |
|
2474 | 2472 | border-top: 1px solid #CCC; |
|
2475 | 2473 | } |
|
2476 | 2474 | |
|
2477 | 2475 | table.code-browser { |
|
2478 | 2476 | border-collapse: collapse; |
|
2479 | 2477 | width: 100%; |
|
2480 | 2478 | } |
|
2481 | 2479 | |
|
2482 | 2480 | table.code-browser tr { |
|
2483 | 2481 | margin: 3px; |
|
2484 | 2482 | } |
|
2485 | 2483 | |
|
2486 | 2484 | table.code-browser thead th { |
|
2487 | 2485 | background-color: #EEE; |
|
2488 | 2486 | height: 20px; |
|
2489 | 2487 | font-size: 1.1em; |
|
2490 | 2488 | font-weight: 700; |
|
2491 | 2489 | text-align: left; |
|
2492 | 2490 | padding-left: 10px; |
|
2493 | 2491 | } |
|
2494 | 2492 | |
|
2495 | 2493 | table.code-browser tbody td { |
|
2496 | 2494 | padding-left: 10px; |
|
2497 | 2495 | height: 20px; |
|
2498 | 2496 | } |
|
2499 | 2497 | |
|
2500 | 2498 | table.code-browser .browser-file { |
|
2501 | 2499 | background: url("../images/icons/document_16.png") no-repeat scroll 3px; |
|
2502 | 2500 | height: 16px; |
|
2503 | 2501 | padding-left: 20px; |
|
2504 | 2502 | text-align: left; |
|
2505 | 2503 | } |
|
2506 | 2504 | .diffblock .changeset_header { |
|
2507 | 2505 | height: 16px; |
|
2508 | 2506 | } |
|
2509 | 2507 | .diffblock .changeset_file { |
|
2510 | 2508 | background: url("../images/icons/file.png") no-repeat scroll 3px; |
|
2511 | 2509 | text-align: left; |
|
2512 | 2510 | float: left; |
|
2513 | 2511 | padding: 2px 0px 2px 22px; |
|
2514 | 2512 | } |
|
2515 | 2513 | .diffblock .diff-menu-wrapper{ |
|
2516 | 2514 | float: left; |
|
2517 | 2515 | } |
|
2518 | 2516 | |
|
2519 | 2517 | .diffblock .diff-menu{ |
|
2520 | 2518 | position: absolute; |
|
2521 | 2519 | background: none repeat scroll 0 0 #FFFFFF; |
|
2522 | 2520 | border-color: #003367 #666666 #666666; |
|
2523 | 2521 | border-right: 1px solid #666666; |
|
2524 | 2522 | border-style: solid solid solid; |
|
2525 | 2523 | border-width: 1px; |
|
2526 | 2524 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); |
|
2527 | 2525 | margin-top:5px; |
|
2528 | 2526 | margin-left:1px; |
|
2529 | 2527 | |
|
2530 | 2528 | } |
|
2531 | 2529 | |
|
2532 | 2530 | .diffblock .diff-menu ul li { |
|
2533 | 2531 | padding: 0px 0px 0px 0px !important; |
|
2534 | 2532 | } |
|
2535 | 2533 | .diffblock .diff-menu ul li a{ |
|
2536 | 2534 | display: block; |
|
2537 | 2535 | padding: 3px 8px 3px 8px !important; |
|
2538 | 2536 | } |
|
2539 | 2537 | .diffblock .diff-menu ul li a:hover{ |
|
2540 | 2538 | text-decoration: none; |
|
2541 | 2539 | background-color: #EEEEEE; |
|
2542 | 2540 | } |
|
2543 | 2541 | table.code-browser .browser-dir { |
|
2544 | 2542 | background: url("../images/icons/folder_16.png") no-repeat scroll 3px; |
|
2545 | 2543 | height: 16px; |
|
2546 | 2544 | padding-left: 20px; |
|
2547 | 2545 | text-align: left; |
|
2548 | 2546 | } |
|
2549 | 2547 | |
|
2550 | 2548 | .box .search { |
|
2551 | 2549 | clear: both; |
|
2552 | 2550 | overflow: hidden; |
|
2553 | 2551 | margin: 0; |
|
2554 | 2552 | padding: 0 20px 10px; |
|
2555 | 2553 | } |
|
2556 | 2554 | |
|
2557 | 2555 | .box .search div.search_path { |
|
2558 | 2556 | background: none repeat scroll 0 0 #EEE; |
|
2559 | 2557 | border: 1px solid #CCC; |
|
2560 | 2558 | color: blue; |
|
2561 | 2559 | margin-bottom: 10px; |
|
2562 | 2560 | padding: 10px 0; |
|
2563 | 2561 | } |
|
2564 | 2562 | |
|
2565 | 2563 | .box .search div.search_path div.link { |
|
2566 | 2564 | font-weight: 700; |
|
2567 | 2565 | margin-left: 25px; |
|
2568 | 2566 | } |
|
2569 | 2567 | |
|
2570 | 2568 | .box .search div.search_path div.link a { |
|
2571 | 2569 | color: #003367; |
|
2572 | 2570 | cursor: pointer; |
|
2573 | 2571 | text-decoration: none; |
|
2574 | 2572 | } |
|
2575 | 2573 | |
|
2576 | 2574 | #path_unlock { |
|
2577 | 2575 | color: red; |
|
2578 | 2576 | font-size: 1.2em; |
|
2579 | 2577 | padding-left: 4px; |
|
2580 | 2578 | } |
|
2581 | 2579 | |
|
2582 | 2580 | .info_box span { |
|
2583 | 2581 | margin-left: 3px; |
|
2584 | 2582 | margin-right: 3px; |
|
2585 | 2583 | } |
|
2586 | 2584 | |
|
2587 | 2585 | .info_box .rev { |
|
2588 | 2586 | color: #003367; |
|
2589 | 2587 | font-size: 1.6em; |
|
2590 | 2588 | font-weight: bold; |
|
2591 | 2589 | vertical-align: sub; |
|
2592 | 2590 | } |
|
2593 | 2591 | |
|
2594 | 2592 | .info_box input#at_rev,.info_box input#size { |
|
2595 | 2593 | background: #FFF; |
|
2596 | 2594 | border-top: 1px solid #b3b3b3; |
|
2597 | 2595 | border-left: 1px solid #b3b3b3; |
|
2598 | 2596 | border-right: 1px solid #eaeaea; |
|
2599 | 2597 | border-bottom: 1px solid #eaeaea; |
|
2600 | 2598 | color: #000; |
|
2601 | 2599 | font-size: 12px; |
|
2602 | 2600 | margin: 0; |
|
2603 | 2601 | padding: 1px 5px 1px; |
|
2604 | 2602 | } |
|
2605 | 2603 | |
|
2606 | 2604 | .info_box input#view { |
|
2607 | 2605 | text-align: center; |
|
2608 | 2606 | padding: 4px 3px 2px 2px; |
|
2609 | 2607 | } |
|
2610 | 2608 | |
|
2611 | 2609 | .yui-overlay,.yui-panel-container { |
|
2612 | 2610 | visibility: hidden; |
|
2613 | 2611 | position: absolute; |
|
2614 | 2612 | z-index: 2; |
|
2615 | 2613 | } |
|
2616 | 2614 | |
|
2617 | 2615 | .yui-tt { |
|
2618 | 2616 | visibility: hidden; |
|
2619 | 2617 | position: absolute; |
|
2620 | 2618 | color: #666; |
|
2621 | 2619 | background-color: #FFF; |
|
2622 | 2620 | border: 2px solid #003367; |
|
2623 | 2621 | font: 100% sans-serif; |
|
2624 | 2622 | width: auto; |
|
2625 | 2623 | opacity: 1px; |
|
2626 | 2624 | padding: 8px; |
|
2627 | 2625 | white-space: pre-wrap; |
|
2628 | 2626 | -webkit-border-radius: 8px 8px 8px 8px; |
|
2629 | 2627 | -khtml-border-radius: 8px 8px 8px 8px; |
|
2630 | 2628 | -moz-border-radius: 8px 8px 8px 8px; |
|
2631 | 2629 | border-radius: 8px 8px 8px 8px; |
|
2632 | 2630 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
2633 | 2631 | } |
|
2634 | 2632 | |
|
2635 | 2633 | .ac { |
|
2636 | 2634 | vertical-align: top; |
|
2637 | 2635 | } |
|
2638 | 2636 | |
|
2639 | 2637 | .ac .yui-ac { |
|
2640 | 2638 | position: relative; |
|
2641 | 2639 | font-size: 100%; |
|
2642 | 2640 | } |
|
2643 | 2641 | |
|
2644 | 2642 | .ac .perm_ac { |
|
2645 | 2643 | width: 15em; |
|
2646 | 2644 | } |
|
2647 | 2645 | |
|
2648 | 2646 | .ac .yui-ac-input { |
|
2649 | 2647 | width: 100%; |
|
2650 | 2648 | } |
|
2651 | 2649 | |
|
2652 | 2650 | .ac .yui-ac-container { |
|
2653 | 2651 | position: absolute; |
|
2654 | 2652 | top: 1.6em; |
|
2655 | 2653 | width: 100%; |
|
2656 | 2654 | } |
|
2657 | 2655 | |
|
2658 | 2656 | .ac .yui-ac-content { |
|
2659 | 2657 | position: absolute; |
|
2660 | 2658 | width: 100%; |
|
2661 | 2659 | border: 1px solid gray; |
|
2662 | 2660 | background: #fff; |
|
2663 | 2661 | overflow: hidden; |
|
2664 | 2662 | z-index: 9050; |
|
2665 | 2663 | } |
|
2666 | 2664 | |
|
2667 | 2665 | .ac .yui-ac-shadow { |
|
2668 | 2666 | position: absolute; |
|
2669 | 2667 | width: 100%; |
|
2670 | 2668 | background: #000; |
|
2671 | 2669 | -moz-opacity: 0.1px; |
|
2672 | 2670 | opacity: .10; |
|
2673 | 2671 | filter: alpha(opacity = 10); |
|
2674 | 2672 | z-index: 9049; |
|
2675 | 2673 | margin: .3em; |
|
2676 | 2674 | } |
|
2677 | 2675 | |
|
2678 | 2676 | .ac .yui-ac-content ul { |
|
2679 | 2677 | width: 100%; |
|
2680 | 2678 | margin: 0; |
|
2681 | 2679 | padding: 0; |
|
2682 | 2680 | } |
|
2683 | 2681 | |
|
2684 | 2682 | .ac .yui-ac-content li { |
|
2685 | 2683 | cursor: default; |
|
2686 | 2684 | white-space: nowrap; |
|
2687 | 2685 | margin: 0; |
|
2688 | 2686 | padding: 2px 5px; |
|
2689 | 2687 | } |
|
2690 | 2688 | |
|
2691 | 2689 | .ac .yui-ac-content li.yui-ac-prehighlight { |
|
2692 | 2690 | background: #B3D4FF; |
|
2693 | 2691 | } |
|
2694 | 2692 | |
|
2695 | 2693 | .ac .yui-ac-content li.yui-ac-highlight { |
|
2696 | 2694 | background: #556CB5; |
|
2697 | 2695 | color: #FFF; |
|
2698 | 2696 | } |
|
2699 | 2697 | |
|
2700 | 2698 | .follow { |
|
2701 | 2699 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; |
|
2702 | 2700 | height: 16px; |
|
2703 | 2701 | width: 20px; |
|
2704 | 2702 | cursor: pointer; |
|
2705 | 2703 | display: block; |
|
2706 | 2704 | float: right; |
|
2707 | 2705 | margin-top: 2px; |
|
2708 | 2706 | } |
|
2709 | 2707 | |
|
2710 | 2708 | .following { |
|
2711 | 2709 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; |
|
2712 | 2710 | height: 16px; |
|
2713 | 2711 | width: 20px; |
|
2714 | 2712 | cursor: pointer; |
|
2715 | 2713 | display: block; |
|
2716 | 2714 | float: right; |
|
2717 | 2715 | margin-top: 2px; |
|
2718 | 2716 | } |
|
2719 | 2717 | |
|
2720 | 2718 | .currently_following { |
|
2721 | 2719 | padding-left: 10px; |
|
2722 | 2720 | padding-bottom: 5px; |
|
2723 | 2721 | } |
|
2724 | 2722 | |
|
2725 | 2723 | .add_icon { |
|
2726 | 2724 | background: url("../images/icons/add.png") no-repeat scroll 3px; |
|
2727 | 2725 | padding-left: 20px; |
|
2728 | 2726 | padding-top: 0px; |
|
2729 | 2727 | text-align: left; |
|
2730 | 2728 | } |
|
2731 | 2729 | |
|
2732 | 2730 | .edit_icon { |
|
2733 | 2731 | background: url("../images/icons/folder_edit.png") no-repeat scroll 3px; |
|
2734 | 2732 | padding-left: 20px; |
|
2735 | 2733 | padding-top: 0px; |
|
2736 | 2734 | text-align: left; |
|
2737 | 2735 | } |
|
2738 | 2736 | |
|
2739 | 2737 | .delete_icon { |
|
2740 | 2738 | background: url("../images/icons/delete.png") no-repeat scroll 3px; |
|
2741 | 2739 | padding-left: 20px; |
|
2742 | 2740 | padding-top: 0px; |
|
2743 | 2741 | text-align: left; |
|
2744 | 2742 | } |
|
2745 | 2743 | |
|
2746 | 2744 | .refresh_icon { |
|
2747 | 2745 | background: url("../images/icons/arrow_refresh.png") no-repeat scroll |
|
2748 | 2746 | 3px; |
|
2749 | 2747 | padding-left: 20px; |
|
2750 | 2748 | padding-top: 0px; |
|
2751 | 2749 | text-align: left; |
|
2752 | 2750 | } |
|
2753 | 2751 | |
|
2754 | 2752 | .pull_icon { |
|
2755 | 2753 | background: url("../images/icons/connect.png") no-repeat scroll 3px; |
|
2756 | 2754 | padding-left: 20px; |
|
2757 | 2755 | padding-top: 0px; |
|
2758 | 2756 | text-align: left; |
|
2759 | 2757 | } |
|
2760 | 2758 | |
|
2761 | 2759 | .rss_icon { |
|
2762 | 2760 | background: url("../images/icons/rss_16.png") no-repeat scroll 3px; |
|
2763 | 2761 | padding-left: 20px; |
|
2764 | 2762 | padding-top: 4px; |
|
2765 | 2763 | text-align: left; |
|
2766 | 2764 | font-size: 8px |
|
2767 | 2765 | } |
|
2768 | 2766 | |
|
2769 | 2767 | .atom_icon { |
|
2770 | 2768 | background: url("../images/icons/atom.png") no-repeat scroll 3px; |
|
2771 | 2769 | padding-left: 20px; |
|
2772 | 2770 | padding-top: 4px; |
|
2773 | 2771 | text-align: left; |
|
2774 | 2772 | font-size: 8px |
|
2775 | 2773 | } |
|
2776 | 2774 | |
|
2777 | 2775 | .archive_icon { |
|
2778 | 2776 | background: url("../images/icons/compress.png") no-repeat scroll 3px; |
|
2779 | 2777 | padding-left: 20px; |
|
2780 | 2778 | text-align: left; |
|
2781 | 2779 | padding-top: 1px; |
|
2782 | 2780 | } |
|
2783 | 2781 | |
|
2784 | 2782 | .start_following_icon { |
|
2785 | 2783 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; |
|
2786 | 2784 | padding-left: 20px; |
|
2787 | 2785 | text-align: left; |
|
2788 | 2786 | padding-top: 0px; |
|
2789 | 2787 | } |
|
2790 | 2788 | |
|
2791 | 2789 | .stop_following_icon { |
|
2792 | 2790 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; |
|
2793 | 2791 | padding-left: 20px; |
|
2794 | 2792 | text-align: left; |
|
2795 | 2793 | padding-top: 0px; |
|
2796 | 2794 | } |
|
2797 | 2795 | |
|
2798 | 2796 | .action_button { |
|
2799 | 2797 | border: 0; |
|
2800 | 2798 | display: inline; |
|
2801 | 2799 | } |
|
2802 | 2800 | |
|
2803 | 2801 | .action_button:hover { |
|
2804 | 2802 | border: 0; |
|
2805 | 2803 | text-decoration: underline; |
|
2806 | 2804 | cursor: pointer; |
|
2807 | 2805 | } |
|
2808 | 2806 | |
|
2809 | 2807 | #switch_repos { |
|
2810 | 2808 | position: absolute; |
|
2811 | 2809 | height: 25px; |
|
2812 | 2810 | z-index: 1; |
|
2813 | 2811 | } |
|
2814 | 2812 | |
|
2815 | 2813 | #switch_repos select { |
|
2816 | 2814 | min-width: 150px; |
|
2817 | 2815 | max-height: 250px; |
|
2818 | 2816 | z-index: 1; |
|
2819 | 2817 | } |
|
2820 | 2818 | |
|
2821 | 2819 | .breadcrumbs { |
|
2822 | 2820 | border: medium none; |
|
2823 | 2821 | color: #FFF; |
|
2824 | 2822 | float: left; |
|
2825 | 2823 | text-transform: uppercase; |
|
2826 | 2824 | font-weight: 700; |
|
2827 | 2825 | font-size: 14px; |
|
2828 | 2826 | margin: 0; |
|
2829 | 2827 | padding: 11px 0 11px 10px; |
|
2830 | 2828 | } |
|
2831 | 2829 | |
|
2832 | 2830 | .breadcrumbs a { |
|
2833 | 2831 | color: #FFF; |
|
2834 | 2832 | } |
|
2835 | 2833 | |
|
2836 | 2834 | .flash_msg { |
|
2837 | 2835 | |
|
2838 | 2836 | } |
|
2839 | 2837 | |
|
2840 | 2838 | .flash_msg ul { |
|
2841 | 2839 | |
|
2842 | 2840 | } |
|
2843 | 2841 | |
|
2844 | 2842 | .error_msg { |
|
2845 | 2843 | background-color: #c43c35; |
|
2846 | 2844 | background-repeat: repeat-x; |
|
2847 | 2845 | background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), |
|
2848 | 2846 | to(#c43c35) ); |
|
2849 | 2847 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); |
|
2850 | 2848 | background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); |
|
2851 | 2849 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), |
|
2852 | 2850 | color-stop(100%, #c43c35) ); |
|
2853 | 2851 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); |
|
2854 | 2852 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); |
|
2855 | 2853 | background-image: linear-gradient(top, #ee5f5b, #c43c35); |
|
2856 | 2854 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', |
|
2857 | 2855 | endColorstr='#c43c35', GradientType=0 ); |
|
2858 | 2856 | border-color: #c43c35 #c43c35 #882a25; |
|
2859 | 2857 | } |
|
2860 | 2858 | |
|
2861 | 2859 | .warning_msg { |
|
2862 | 2860 | color: #404040 !important; |
|
2863 | 2861 | background-color: #eedc94; |
|
2864 | 2862 | background-repeat: repeat-x; |
|
2865 | 2863 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
2866 | 2864 | to(#eedc94) ); |
|
2867 | 2865 | background-image: -moz-linear-gradient(top, #fceec1, #eedc94); |
|
2868 | 2866 | background-image: -ms-linear-gradient(top, #fceec1, #eedc94); |
|
2869 | 2867 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), |
|
2870 | 2868 | color-stop(100%, #eedc94) ); |
|
2871 | 2869 | background-image: -webkit-linear-gradient(top, #fceec1, #eedc94); |
|
2872 | 2870 | background-image: -o-linear-gradient(top, #fceec1, #eedc94); |
|
2873 | 2871 | background-image: linear-gradient(top, #fceec1, #eedc94); |
|
2874 | 2872 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', |
|
2875 | 2873 | endColorstr='#eedc94', GradientType=0 ); |
|
2876 | 2874 | border-color: #eedc94 #eedc94 #e4c652; |
|
2877 | 2875 | } |
|
2878 | 2876 | |
|
2879 | 2877 | .success_msg { |
|
2880 | 2878 | background-color: #57a957; |
|
2881 | 2879 | background-repeat: repeat-x !important; |
|
2882 | 2880 | background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), |
|
2883 | 2881 | to(#57a957) ); |
|
2884 | 2882 | background-image: -moz-linear-gradient(top, #62c462, #57a957); |
|
2885 | 2883 | background-image: -ms-linear-gradient(top, #62c462, #57a957); |
|
2886 | 2884 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), |
|
2887 | 2885 | color-stop(100%, #57a957) ); |
|
2888 | 2886 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); |
|
2889 | 2887 | background-image: -o-linear-gradient(top, #62c462, #57a957); |
|
2890 | 2888 | background-image: linear-gradient(top, #62c462, #57a957); |
|
2891 | 2889 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', |
|
2892 | 2890 | endColorstr='#57a957', GradientType=0 ); |
|
2893 | 2891 | border-color: #57a957 #57a957 #3d773d; |
|
2894 | 2892 | } |
|
2895 | 2893 | |
|
2896 | 2894 | .notice_msg { |
|
2897 | 2895 | background-color: #339bb9; |
|
2898 | 2896 | background-repeat: repeat-x; |
|
2899 | 2897 | background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), |
|
2900 | 2898 | to(#339bb9) ); |
|
2901 | 2899 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); |
|
2902 | 2900 | background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); |
|
2903 | 2901 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), |
|
2904 | 2902 | color-stop(100%, #339bb9) ); |
|
2905 | 2903 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); |
|
2906 | 2904 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); |
|
2907 | 2905 | background-image: linear-gradient(top, #5bc0de, #339bb9); |
|
2908 | 2906 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', |
|
2909 | 2907 | endColorstr='#339bb9', GradientType=0 ); |
|
2910 | 2908 | border-color: #339bb9 #339bb9 #22697d; |
|
2911 | 2909 | } |
|
2912 | 2910 | |
|
2913 | 2911 | .success_msg,.error_msg,.notice_msg,.warning_msg { |
|
2914 | 2912 | font-size: 12px; |
|
2915 | 2913 | font-weight: 700; |
|
2916 | 2914 | min-height: 14px; |
|
2917 | 2915 | line-height: 14px; |
|
2918 | 2916 | margin-bottom: 10px; |
|
2919 | 2917 | margin-top: 0; |
|
2920 | 2918 | display: block; |
|
2921 | 2919 | overflow: auto; |
|
2922 | 2920 | padding: 6px 10px 6px 10px; |
|
2923 | 2921 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
2924 | 2922 | position: relative; |
|
2925 | 2923 | color: #FFF; |
|
2926 | 2924 | border-width: 1px; |
|
2927 | 2925 | border-style: solid; |
|
2928 | 2926 | -webkit-border-radius: 4px; |
|
2929 | 2927 | -moz-border-radius: 4px; |
|
2930 | 2928 | border-radius: 4px; |
|
2931 | 2929 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
2932 | 2930 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
2933 | 2931 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
2934 | 2932 | } |
|
2935 | 2933 | |
|
2936 | 2934 | #msg_close { |
|
2937 | 2935 | background: transparent url("../icons/cross_grey_small.png") no-repeat |
|
2938 | 2936 | scroll 0 0; |
|
2939 | 2937 | cursor: pointer; |
|
2940 | 2938 | height: 16px; |
|
2941 | 2939 | position: absolute; |
|
2942 | 2940 | right: 5px; |
|
2943 | 2941 | top: 5px; |
|
2944 | 2942 | width: 16px; |
|
2945 | 2943 | } |
|
2946 | 2944 | |
|
2947 | 2945 | div#legend_container table,div#legend_choices table { |
|
2948 | 2946 | width: auto !important; |
|
2949 | 2947 | } |
|
2950 | 2948 | |
|
2951 | 2949 | table#permissions_manage { |
|
2952 | 2950 | width: 0 !important; |
|
2953 | 2951 | } |
|
2954 | 2952 | |
|
2955 | 2953 | table#permissions_manage span.private_repo_msg { |
|
2956 | 2954 | font-size: 0.8em; |
|
2957 | 2955 | opacity: 0.6px; |
|
2958 | 2956 | } |
|
2959 | 2957 | |
|
2960 | 2958 | table#permissions_manage td.private_repo_msg { |
|
2961 | 2959 | font-size: 0.8em; |
|
2962 | 2960 | } |
|
2963 | 2961 | |
|
2964 | 2962 | table#permissions_manage tr#add_perm_input td { |
|
2965 | 2963 | vertical-align: middle; |
|
2966 | 2964 | } |
|
2967 | 2965 | |
|
2968 | 2966 | div.gravatar { |
|
2969 | 2967 | background-color: #FFF; |
|
2970 | 2968 | border: 0px solid #D0D0D0; |
|
2971 | 2969 | float: left; |
|
2972 | 2970 | margin-right: 0.7em; |
|
2973 | 2971 | padding: 2px 2px 2px 2px; |
|
2974 | 2972 | line-height:0; |
|
2975 | 2973 | -webkit-border-radius: 6px; |
|
2976 | 2974 | -khtml-border-radius: 6px; |
|
2977 | 2975 | -moz-border-radius: 6px; |
|
2978 | 2976 | border-radius: 6px; |
|
2979 | 2977 | } |
|
2980 | 2978 | |
|
2981 | 2979 | div.gravatar img { |
|
2982 | 2980 | -webkit-border-radius: 4px; |
|
2983 | 2981 | -khtml-border-radius: 4px; |
|
2984 | 2982 | -moz-border-radius: 4px; |
|
2985 | 2983 | border-radius: 4px; |
|
2986 | 2984 | } |
|
2987 | 2985 | |
|
2988 | 2986 | #header,#content,#footer { |
|
2989 | 2987 | min-width: 978px; |
|
2990 | 2988 | } |
|
2991 | 2989 | |
|
2992 | 2990 | #content { |
|
2993 | 2991 | clear: both; |
|
2994 | 2992 | overflow: hidden; |
|
2995 | 2993 | padding: 14px 10px; |
|
2996 | 2994 | } |
|
2997 | 2995 | |
|
2998 | 2996 | #content div.box div.title div.search { |
|
2999 | 2997 | |
|
3000 | 2998 | border-left: 1px solid #316293; |
|
3001 | 2999 | } |
|
3002 | 3000 | |
|
3003 | 3001 | #content div.box div.title div.search div.input input { |
|
3004 | 3002 | border: 1px solid #316293; |
|
3005 | 3003 | } |
|
3006 | 3004 | |
|
3007 | 3005 | .ui-btn{ |
|
3008 | 3006 | color: #515151; |
|
3009 | 3007 | background-color: #DADADA; |
|
3010 | 3008 | background-repeat: repeat-x; |
|
3011 | 3009 | background-image: -khtml-gradient(linear, left top, left bottom, from(#F4F4F4),to(#DADADA) ); |
|
3012 | 3010 | background-image: -moz-linear-gradient(top, #F4F4F4, #DADADA); |
|
3013 | 3011 | background-image: -ms-linear-gradient(top, #F4F4F4, #DADADA); |
|
3014 | 3012 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F4F4F4),color-stop(100%, #DADADA) ); |
|
3015 | 3013 | background-image: -webkit-linear-gradient(top, #F4F4F4, #DADADA) ); |
|
3016 | 3014 | background-image: -o-linear-gradient(top, #F4F4F4, #DADADA) ); |
|
3017 | 3015 | background-image: linear-gradient(top, #F4F4F4, #DADADA); |
|
3018 | 3016 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F4F4F4', endColorstr='#DADADA', GradientType=0); |
|
3019 | 3017 | |
|
3020 | 3018 | border-top: 1px solid #DDD; |
|
3021 | 3019 | border-left: 1px solid #c6c6c6; |
|
3022 | 3020 | border-right: 1px solid #DDD; |
|
3023 | 3021 | border-bottom: 1px solid #c6c6c6; |
|
3024 | 3022 | color: #515151; |
|
3025 | 3023 | outline: none; |
|
3026 | 3024 | margin: 0px 3px 3px 0px; |
|
3027 | 3025 | -webkit-border-radius: 4px 4px 4px 4px !important; |
|
3028 | 3026 | -khtml-border-radius: 4px 4px 4px 4px !important; |
|
3029 | 3027 | -moz-border-radius: 4px 4px 4px 4px !important; |
|
3030 | 3028 | border-radius: 4px 4px 4px 4px !important; |
|
3031 | 3029 | cursor: pointer !important; |
|
3032 | 3030 | padding: 3px 3px 3px 3px; |
|
3033 | 3031 | background-position: 0 -15px; |
|
3034 | 3032 | |
|
3035 | 3033 | } |
|
3036 | 3034 | .ui-btn.xsmall{ |
|
3037 | 3035 | padding: 1px 2px 1px 1px; |
|
3038 | 3036 | } |
|
3039 | 3037 | .ui-btn.clone{ |
|
3040 | 3038 | padding: 5px 2px 6px 1px; |
|
3041 | 3039 | margin: 0px -4px 3px 0px; |
|
3042 | 3040 | -webkit-border-radius: 4px 0px 0px 4px !important; |
|
3043 | 3041 | -khtml-border-radius: 4px 0px 0px 4px !important; |
|
3044 | 3042 | -moz-border-radius: 4px 0px 0px 4px !important; |
|
3045 | 3043 | border-radius: 4px 0px 0px 4px !important; |
|
3046 | 3044 | width: 100px; |
|
3047 | 3045 | text-align: center; |
|
3048 | 3046 | float: left; |
|
3049 | 3047 | position: absolute; |
|
3050 | 3048 | } |
|
3051 | 3049 | .ui-btn:focus { |
|
3052 | 3050 | outline: none; |
|
3053 | 3051 | } |
|
3054 | 3052 | .ui-btn:hover{ |
|
3055 | 3053 | background-position: 0 0px; |
|
3056 | 3054 | text-decoration: none; |
|
3057 | 3055 | color: #515151; |
|
3058 | 3056 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #FFFFFF !important; |
|
3059 | 3057 | } |
|
3060 | 3058 | |
|
3061 | 3059 | .ui-btn.red{ |
|
3062 | 3060 | color:#fff; |
|
3063 | 3061 | background-color: #c43c35; |
|
3064 | 3062 | background-repeat: repeat-x; |
|
3065 | 3063 | background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35)); |
|
3066 | 3064 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); |
|
3067 | 3065 | background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); |
|
3068 | 3066 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35)); |
|
3069 | 3067 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); |
|
3070 | 3068 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); |
|
3071 | 3069 | background-image: linear-gradient(top, #ee5f5b, #c43c35); |
|
3072 | 3070 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); |
|
3073 | 3071 | border-color: #c43c35 #c43c35 #882a25; |
|
3074 | 3072 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
3075 | 3073 | } |
|
3076 | 3074 | |
|
3077 | 3075 | |
|
3078 | 3076 | .ui-btn.blue{ |
|
3079 | 3077 | background-color: #339bb9; |
|
3080 | 3078 | background-repeat: repeat-x; |
|
3081 | 3079 | background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9)); |
|
3082 | 3080 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); |
|
3083 | 3081 | background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); |
|
3084 | 3082 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9)); |
|
3085 | 3083 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); |
|
3086 | 3084 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); |
|
3087 | 3085 | background-image: linear-gradient(top, #5bc0de, #339bb9); |
|
3088 | 3086 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); |
|
3089 | 3087 | border-color: #339bb9 #339bb9 #22697d; |
|
3090 | 3088 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
3091 | 3089 | } |
|
3092 | 3090 | |
|
3093 | 3091 | .ui-btn.green{ |
|
3094 | 3092 | background-color: #57a957; |
|
3095 | 3093 | background-repeat: repeat-x; |
|
3096 | 3094 | background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957)); |
|
3097 | 3095 | background-image: -moz-linear-gradient(top, #62c462, #57a957); |
|
3098 | 3096 | background-image: -ms-linear-gradient(top, #62c462, #57a957); |
|
3099 | 3097 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957)); |
|
3100 | 3098 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); |
|
3101 | 3099 | background-image: -o-linear-gradient(top, #62c462, #57a957); |
|
3102 | 3100 | background-image: linear-gradient(top, #62c462, #57a957); |
|
3103 | 3101 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); |
|
3104 | 3102 | border-color: #57a957 #57a957 #3d773d; |
|
3105 | 3103 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
3106 | 3104 | } |
|
3107 | 3105 | |
|
3108 | 3106 | ins,div.options a:hover { |
|
3109 | 3107 | text-decoration: none; |
|
3110 | 3108 | } |
|
3111 | 3109 | |
|
3112 | 3110 | img, |
|
3113 | 3111 | #header #header-inner #quick li a:hover span.normal, |
|
3114 | 3112 | #header #header-inner #quick li ul li.last, |
|
3115 | 3113 | #content div.box div.form div.fields div.field div.textarea table td table td a, |
|
3116 | 3114 | #clone_url, |
|
3117 | 3115 | #clone_url_id |
|
3118 | 3116 | { |
|
3119 | 3117 | border: none; |
|
3120 | 3118 | } |
|
3121 | 3119 | |
|
3122 | 3120 | img.icon,.right .merge img { |
|
3123 | 3121 | vertical-align: bottom; |
|
3124 | 3122 | } |
|
3125 | 3123 | |
|
3126 | 3124 | #header ul#logged-user,#content div.box div.title ul.links, |
|
3127 | 3125 | #content div.box div.message div.dismiss, |
|
3128 | 3126 | #content div.box div.traffic div.legend ul |
|
3129 | 3127 | { |
|
3130 | 3128 | float: right; |
|
3131 | 3129 | margin: 0; |
|
3132 | 3130 | padding: 0; |
|
3133 | 3131 | } |
|
3134 | 3132 | |
|
3135 | 3133 | #header #header-inner #home,#header #header-inner #logo, |
|
3136 | 3134 | #content div.box ul.left,#content div.box ol.left, |
|
3137 | 3135 | #content div.box div.pagination-left,div#commit_history, |
|
3138 | 3136 | div#legend_data,div#legend_container,div#legend_choices |
|
3139 | 3137 | { |
|
3140 | 3138 | float: left; |
|
3141 | 3139 | } |
|
3142 | 3140 | |
|
3143 | 3141 | #header #header-inner #quick li:hover ul ul, |
|
3144 | 3142 | #header #header-inner #quick li:hover ul ul ul, |
|
3145 | 3143 | #header #header-inner #quick li:hover ul ul ul ul, |
|
3146 | 3144 | #content #left #menu ul.closed,#content #left #menu li ul.collapsed,.yui-tt-shadow |
|
3147 | 3145 | { |
|
3148 | 3146 | display: none; |
|
3149 | 3147 | } |
|
3150 | 3148 | |
|
3151 | 3149 | #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 |
|
3152 | 3150 | { |
|
3153 | 3151 | display: block; |
|
3154 | 3152 | } |
|
3155 | 3153 | |
|
3156 | 3154 | #content div.graph { |
|
3157 | 3155 | padding: 0 10px 10px; |
|
3158 | 3156 | } |
|
3159 | 3157 | |
|
3160 | 3158 | #content div.box div.title ul.links li a:hover,#content div.box div.title ul.links li.ui-tabs-selected a |
|
3161 | 3159 | { |
|
3162 | 3160 | color: #bfe3ff; |
|
3163 | 3161 | } |
|
3164 | 3162 | |
|
3165 | 3163 | #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 |
|
3166 | 3164 | { |
|
3167 | 3165 | margin: 10px 24px 10px 44px; |
|
3168 | 3166 | } |
|
3169 | 3167 | |
|
3170 | 3168 | #content div.box div.form,#content div.box div.table,#content div.box div.traffic |
|
3171 | 3169 | { |
|
3172 | 3170 | clear: both; |
|
3173 | 3171 | overflow: hidden; |
|
3174 | 3172 | margin: 0; |
|
3175 | 3173 | padding: 0 20px 10px; |
|
3176 | 3174 | } |
|
3177 | 3175 | |
|
3178 | 3176 | #content div.box div.form div.fields,#login div.form,#login div.form div.fields,#register div.form,#register div.form div.fields |
|
3179 | 3177 | { |
|
3180 | 3178 | clear: both; |
|
3181 | 3179 | overflow: hidden; |
|
3182 | 3180 | margin: 0; |
|
3183 | 3181 | padding: 0; |
|
3184 | 3182 | } |
|
3185 | 3183 | |
|
3186 | 3184 | #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 |
|
3187 | 3185 | { |
|
3188 | 3186 | height: 1%; |
|
3189 | 3187 | display: block; |
|
3190 | 3188 | color: #363636; |
|
3191 | 3189 | margin: 0; |
|
3192 | 3190 | padding: 2px 0 0; |
|
3193 | 3191 | } |
|
3194 | 3192 | |
|
3195 | 3193 | #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 |
|
3196 | 3194 | { |
|
3197 | 3195 | background: #FBE3E4; |
|
3198 | 3196 | border-top: 1px solid #e1b2b3; |
|
3199 | 3197 | border-left: 1px solid #e1b2b3; |
|
3200 | 3198 | border-right: 1px solid #FBC2C4; |
|
3201 | 3199 | border-bottom: 1px solid #FBC2C4; |
|
3202 | 3200 | } |
|
3203 | 3201 | |
|
3204 | 3202 | #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 |
|
3205 | 3203 | { |
|
3206 | 3204 | background: #E6EFC2; |
|
3207 | 3205 | border-top: 1px solid #cebb98; |
|
3208 | 3206 | border-left: 1px solid #cebb98; |
|
3209 | 3207 | border-right: 1px solid #c6d880; |
|
3210 | 3208 | border-bottom: 1px solid #c6d880; |
|
3211 | 3209 | } |
|
3212 | 3210 | |
|
3213 | 3211 | #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 |
|
3214 | 3212 | { |
|
3215 | 3213 | margin: 0; |
|
3216 | 3214 | } |
|
3217 | 3215 | |
|
3218 | 3216 | #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 |
|
3219 | 3217 | { |
|
3220 | 3218 | margin: 0 0 0 0px !important; |
|
3221 | 3219 | padding: 0; |
|
3222 | 3220 | } |
|
3223 | 3221 | |
|
3224 | 3222 | #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 |
|
3225 | 3223 | { |
|
3226 | 3224 | margin: 0 0 0 200px; |
|
3227 | 3225 | padding: 0; |
|
3228 | 3226 | } |
|
3229 | 3227 | |
|
3230 | 3228 | #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 |
|
3231 | 3229 | { |
|
3232 | 3230 | color: #000; |
|
3233 | 3231 | text-decoration: none; |
|
3234 | 3232 | } |
|
3235 | 3233 | |
|
3236 | 3234 | #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus,#content div.box div.action a.ui-selectmenu-focus |
|
3237 | 3235 | { |
|
3238 | 3236 | border: 1px solid #666; |
|
3239 | 3237 | } |
|
3240 | 3238 | |
|
3241 | 3239 | #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 |
|
3242 | 3240 | { |
|
3243 | 3241 | clear: both; |
|
3244 | 3242 | overflow: hidden; |
|
3245 | 3243 | margin: 0; |
|
3246 | 3244 | padding: 8px 0 2px; |
|
3247 | 3245 | } |
|
3248 | 3246 | |
|
3249 | 3247 | #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 |
|
3250 | 3248 | { |
|
3251 | 3249 | float: left; |
|
3252 | 3250 | margin: 0; |
|
3253 | 3251 | } |
|
3254 | 3252 | |
|
3255 | 3253 | #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 |
|
3256 | 3254 | { |
|
3257 | 3255 | height: 1%; |
|
3258 | 3256 | display: block; |
|
3259 | 3257 | float: left; |
|
3260 | 3258 | margin: 2px 0 0 4px; |
|
3261 | 3259 | } |
|
3262 | 3260 | |
|
3263 | 3261 | div.form div.fields div.field div.button input,#content div.box div.form div.fields div.buttons input,div.form div.fields div.buttons input,#content div.box div.action div.button input |
|
3264 | 3262 | { |
|
3265 | 3263 | color: #000; |
|
3266 | 3264 | font-size: 11px; |
|
3267 | 3265 | font-weight: 700; |
|
3268 | 3266 | margin: 0; |
|
3269 | 3267 | } |
|
3270 | 3268 | |
|
3271 | 3269 | input.ui-button { |
|
3272 | 3270 | background: #e5e3e3 url("../images/button.png") repeat-x; |
|
3273 | 3271 | border-top: 1px solid #DDD; |
|
3274 | 3272 | border-left: 1px solid #c6c6c6; |
|
3275 | 3273 | border-right: 1px solid #DDD; |
|
3276 | 3274 | border-bottom: 1px solid #c6c6c6; |
|
3277 | 3275 | color: #515151 !important; |
|
3278 | 3276 | outline: none; |
|
3279 | 3277 | margin: 0; |
|
3280 | 3278 | padding: 6px 12px; |
|
3281 | 3279 | -webkit-border-radius: 4px 4px 4px 4px; |
|
3282 | 3280 | -khtml-border-radius: 4px 4px 4px 4px; |
|
3283 | 3281 | -moz-border-radius: 4px 4px 4px 4px; |
|
3284 | 3282 | border-radius: 4px 4px 4px 4px; |
|
3285 | 3283 | box-shadow: 0 1px 0 #ececec; |
|
3286 | 3284 | cursor: pointer; |
|
3287 | 3285 | } |
|
3288 | 3286 | |
|
3289 | 3287 | input.ui-button:hover { |
|
3290 | 3288 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; |
|
3291 | 3289 | border-top: 1px solid #ccc; |
|
3292 | 3290 | border-left: 1px solid #bebebe; |
|
3293 | 3291 | border-right: 1px solid #b1b1b1; |
|
3294 | 3292 | border-bottom: 1px solid #afafaf; |
|
3295 | 3293 | } |
|
3296 | 3294 | |
|
3297 | 3295 | div.form div.fields div.field div.highlight,#content div.box div.form div.fields div.buttons div.highlight |
|
3298 | 3296 | { |
|
3299 | 3297 | display: inline; |
|
3300 | 3298 | } |
|
3301 | 3299 | |
|
3302 | 3300 | #content div.box div.form div.fields div.buttons,div.form div.fields div.buttons |
|
3303 | 3301 | { |
|
3304 | 3302 | margin: 10px 0 0 200px; |
|
3305 | 3303 | padding: 0; |
|
3306 | 3304 | } |
|
3307 | 3305 | |
|
3308 | 3306 | #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 |
|
3309 | 3307 | { |
|
3310 | 3308 | margin: 10px 0 0; |
|
3311 | 3309 | } |
|
3312 | 3310 | |
|
3313 | 3311 | #content div.box table td.user,#content div.box table td.address { |
|
3314 | 3312 | width: 10%; |
|
3315 | 3313 | text-align: center; |
|
3316 | 3314 | } |
|
3317 | 3315 | |
|
3318 | 3316 | #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 |
|
3319 | 3317 | { |
|
3320 | 3318 | text-align: right; |
|
3321 | 3319 | margin: 6px 0 0; |
|
3322 | 3320 | padding: 0; |
|
3323 | 3321 | } |
|
3324 | 3322 | |
|
3325 | 3323 | #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 |
|
3326 | 3324 | { |
|
3327 | 3325 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; |
|
3328 | 3326 | border-top: 1px solid #ccc; |
|
3329 | 3327 | border-left: 1px solid #bebebe; |
|
3330 | 3328 | border-right: 1px solid #b1b1b1; |
|
3331 | 3329 | border-bottom: 1px solid #afafaf; |
|
3332 | 3330 | color: #515151; |
|
3333 | 3331 | margin: 0; |
|
3334 | 3332 | padding: 6px 12px; |
|
3335 | 3333 | } |
|
3336 | 3334 | |
|
3337 | 3335 | #content div.box div.pagination div.results,#content div.box div.pagination-wh div.results |
|
3338 | 3336 | { |
|
3339 | 3337 | text-align: left; |
|
3340 | 3338 | float: left; |
|
3341 | 3339 | margin: 0; |
|
3342 | 3340 | padding: 0; |
|
3343 | 3341 | } |
|
3344 | 3342 | |
|
3345 | 3343 | #content div.box div.pagination div.results span,#content div.box div.pagination-wh div.results span |
|
3346 | 3344 | { |
|
3347 | 3345 | height: 1%; |
|
3348 | 3346 | display: block; |
|
3349 | 3347 | float: left; |
|
3350 | 3348 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
3351 | 3349 | border-top: 1px solid #dedede; |
|
3352 | 3350 | border-left: 1px solid #cfcfcf; |
|
3353 | 3351 | border-right: 1px solid #c4c4c4; |
|
3354 | 3352 | border-bottom: 1px solid #c4c4c4; |
|
3355 | 3353 | color: #4A4A4A; |
|
3356 | 3354 | font-weight: 700; |
|
3357 | 3355 | margin: 0; |
|
3358 | 3356 | padding: 6px 8px; |
|
3359 | 3357 | } |
|
3360 | 3358 | |
|
3361 | 3359 | #content div.box div.pagination ul.pager li.disabled,#content div.box div.pagination-wh a.disabled |
|
3362 | 3360 | { |
|
3363 | 3361 | color: #B4B4B4; |
|
3364 | 3362 | padding: 6px; |
|
3365 | 3363 | } |
|
3366 | 3364 | |
|
3367 | 3365 | #login,#register { |
|
3368 | 3366 | width: 520px; |
|
3369 | 3367 | margin: 10% auto 0; |
|
3370 | 3368 | padding: 0; |
|
3371 | 3369 | } |
|
3372 | 3370 | |
|
3373 | 3371 | #login div.color,#register div.color { |
|
3374 | 3372 | clear: both; |
|
3375 | 3373 | overflow: hidden; |
|
3376 | 3374 | background: #FFF; |
|
3377 | 3375 | margin: 10px auto 0; |
|
3378 | 3376 | padding: 3px 3px 3px 0; |
|
3379 | 3377 | } |
|
3380 | 3378 | |
|
3381 | 3379 | #login div.color a,#register div.color a { |
|
3382 | 3380 | width: 20px; |
|
3383 | 3381 | height: 20px; |
|
3384 | 3382 | display: block; |
|
3385 | 3383 | float: left; |
|
3386 | 3384 | margin: 0 0 0 3px; |
|
3387 | 3385 | padding: 0; |
|
3388 | 3386 | } |
|
3389 | 3387 | |
|
3390 | 3388 | #login div.title h5,#register div.title h5 { |
|
3391 | 3389 | color: #fff; |
|
3392 | 3390 | margin: 10px; |
|
3393 | 3391 | padding: 0; |
|
3394 | 3392 | } |
|
3395 | 3393 | |
|
3396 | 3394 | #login div.form div.fields div.field,#register div.form div.fields div.field |
|
3397 | 3395 | { |
|
3398 | 3396 | clear: both; |
|
3399 | 3397 | overflow: hidden; |
|
3400 | 3398 | margin: 0; |
|
3401 | 3399 | padding: 0 0 10px; |
|
3402 | 3400 | } |
|
3403 | 3401 | |
|
3404 | 3402 | #login div.form div.fields div.field span.error-message,#register div.form div.fields div.field span.error-message |
|
3405 | 3403 | { |
|
3406 | 3404 | height: 1%; |
|
3407 | 3405 | display: block; |
|
3408 | 3406 | color: red; |
|
3409 | 3407 | margin: 8px 0 0; |
|
3410 | 3408 | padding: 0; |
|
3411 | 3409 | max-width: 320px; |
|
3412 | 3410 | } |
|
3413 | 3411 | |
|
3414 | 3412 | #login div.form div.fields div.field div.label label,#register div.form div.fields div.field div.label label |
|
3415 | 3413 | { |
|
3416 | 3414 | color: #000; |
|
3417 | 3415 | font-weight: 700; |
|
3418 | 3416 | } |
|
3419 | 3417 | |
|
3420 | 3418 | #login div.form div.fields div.field div.input,#register div.form div.fields div.field div.input |
|
3421 | 3419 | { |
|
3422 | 3420 | float: left; |
|
3423 | 3421 | margin: 0; |
|
3424 | 3422 | padding: 0; |
|
3425 | 3423 | } |
|
3426 | 3424 | |
|
3427 | 3425 | #login div.form div.fields div.field div.checkbox,#register div.form div.fields div.field div.checkbox |
|
3428 | 3426 | { |
|
3429 | 3427 | margin: 0 0 0 184px; |
|
3430 | 3428 | padding: 0; |
|
3431 | 3429 | } |
|
3432 | 3430 | |
|
3433 | 3431 | #login div.form div.fields div.field div.checkbox label,#register div.form div.fields div.field div.checkbox label |
|
3434 | 3432 | { |
|
3435 | 3433 | color: #565656; |
|
3436 | 3434 | font-weight: 700; |
|
3437 | 3435 | } |
|
3438 | 3436 | |
|
3439 | 3437 | #login div.form div.fields div.buttons input,#register div.form div.fields div.buttons input |
|
3440 | 3438 | { |
|
3441 | 3439 | color: #000; |
|
3442 | 3440 | font-size: 1em; |
|
3443 | 3441 | font-weight: 700; |
|
3444 | 3442 | margin: 0; |
|
3445 | 3443 | } |
|
3446 | 3444 | |
|
3447 | 3445 | #changeset_content .container .wrapper,#graph_content .container .wrapper |
|
3448 | 3446 | { |
|
3449 | 3447 | width: 600px; |
|
3450 | 3448 | } |
|
3451 | 3449 | |
|
3452 | 3450 | #changeset_content .container .left,#graph_content .container .left { |
|
3453 | 3451 | float: left; |
|
3454 | 3452 | width: 70%; |
|
3455 | 3453 | padding-left: 5px; |
|
3456 | 3454 | } |
|
3457 | 3455 | |
|
3458 | 3456 | #changeset_content .container .left .date,.ac .match { |
|
3459 | 3457 | font-weight: 700; |
|
3460 | 3458 | padding-top: 5px; |
|
3461 | 3459 | padding-bottom: 5px; |
|
3462 | 3460 | } |
|
3463 | 3461 | |
|
3464 | 3462 | div#legend_container table td,div#legend_choices table td { |
|
3465 | 3463 | border: none !important; |
|
3466 | 3464 | height: 20px !important; |
|
3467 | 3465 | padding: 0 !important; |
|
3468 | 3466 | } |
|
3469 | 3467 | |
|
3470 | 3468 | .q_filter_box { |
|
3471 | 3469 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
3472 | 3470 | -webkit-border-radius: 4px; |
|
3473 | 3471 | -moz-border-radius: 4px; |
|
3474 | 3472 | border-radius: 4px; |
|
3475 | 3473 | border: 0 none; |
|
3476 | 3474 | color: #AAAAAA; |
|
3477 | 3475 | margin-bottom: -4px; |
|
3478 | 3476 | margin-top: -4px; |
|
3479 | 3477 | padding-left: 3px; |
|
3480 | 3478 | } |
|
3481 | 3479 | |
|
3482 | 3480 | #node_filter { |
|
3483 | 3481 | border: 0px solid #545454; |
|
3484 | 3482 | color: #AAAAAA; |
|
3485 | 3483 | padding-left: 3px; |
|
3486 | 3484 | } |
|
3487 | 3485 | |
|
3488 | 3486 | /*README STYLE*/ |
|
3489 | 3487 | |
|
3490 | 3488 | div.readme { |
|
3491 | 3489 | padding:0px; |
|
3492 | 3490 | } |
|
3493 | 3491 | |
|
3494 | 3492 | div.readme h2 { |
|
3495 | 3493 | font-weight: normal; |
|
3496 | 3494 | } |
|
3497 | 3495 | |
|
3498 | 3496 | div.readme .readme_box { |
|
3499 | 3497 | background-color: #fafafa; |
|
3500 | 3498 | } |
|
3501 | 3499 | |
|
3502 | 3500 | div.readme .readme_box { |
|
3503 | 3501 | clear:both; |
|
3504 | 3502 | overflow:hidden; |
|
3505 | 3503 | margin:0; |
|
3506 | 3504 | padding:0 20px 10px; |
|
3507 | 3505 | } |
|
3508 | 3506 | |
|
3509 | 3507 | 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 { |
|
3510 | 3508 | border-bottom: 0 !important; |
|
3511 | 3509 | margin: 0 !important; |
|
3512 | 3510 | padding: 0 !important; |
|
3513 | 3511 | line-height: 1.5em !important; |
|
3514 | 3512 | } |
|
3515 | 3513 | |
|
3516 | 3514 | |
|
3517 | 3515 | div.readme .readme_box h1:first-child { |
|
3518 | 3516 | padding-top: .25em !important; |
|
3519 | 3517 | } |
|
3520 | 3518 | |
|
3521 | 3519 | div.readme .readme_box h2, div.readme .readme_box h3 { |
|
3522 | 3520 | margin: 1em 0 !important; |
|
3523 | 3521 | } |
|
3524 | 3522 | |
|
3525 | 3523 | div.readme .readme_box h2 { |
|
3526 | 3524 | margin-top: 1.5em !important; |
|
3527 | 3525 | border-top: 4px solid #e0e0e0 !important; |
|
3528 | 3526 | padding-top: .5em !important; |
|
3529 | 3527 | } |
|
3530 | 3528 | |
|
3531 | 3529 | div.readme .readme_box p { |
|
3532 | 3530 | color: black !important; |
|
3533 | 3531 | margin: 1em 0 !important; |
|
3534 | 3532 | line-height: 1.5em !important; |
|
3535 | 3533 | } |
|
3536 | 3534 | |
|
3537 | 3535 | div.readme .readme_box ul { |
|
3538 | 3536 | list-style: disc !important; |
|
3539 | 3537 | margin: 1em 0 1em 2em !important; |
|
3540 | 3538 | } |
|
3541 | 3539 | |
|
3542 | 3540 | div.readme .readme_box ol { |
|
3543 | 3541 | list-style: decimal; |
|
3544 | 3542 | margin: 1em 0 1em 2em !important; |
|
3545 | 3543 | } |
|
3546 | 3544 | |
|
3547 | 3545 | div.readme .readme_box pre, code { |
|
3548 | 3546 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
3549 | 3547 | } |
|
3550 | 3548 | |
|
3551 | 3549 | div.readme .readme_box code { |
|
3552 | 3550 | font-size: 12px !important; |
|
3553 | 3551 | background-color: ghostWhite !important; |
|
3554 | 3552 | color: #444 !important; |
|
3555 | 3553 | padding: 0 .2em !important; |
|
3556 | 3554 | border: 1px solid #dedede !important; |
|
3557 | 3555 | } |
|
3558 | 3556 | |
|
3559 | 3557 | div.readme .readme_box pre code { |
|
3560 | 3558 | padding: 0 !important; |
|
3561 | 3559 | font-size: 12px !important; |
|
3562 | 3560 | background-color: #eee !important; |
|
3563 | 3561 | border: none !important; |
|
3564 | 3562 | } |
|
3565 | 3563 | |
|
3566 | 3564 | div.readme .readme_box pre { |
|
3567 | 3565 | margin: 1em 0; |
|
3568 | 3566 | font-size: 12px; |
|
3569 | 3567 | background-color: #eee; |
|
3570 | 3568 | border: 1px solid #ddd; |
|
3571 | 3569 | padding: 5px; |
|
3572 | 3570 | color: #444; |
|
3573 | 3571 | overflow: auto; |
|
3574 | 3572 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
3575 | 3573 | -webkit-border-radius: 3px; |
|
3576 | 3574 | -moz-border-radius: 3px; |
|
3577 | 3575 | border-radius: 3px; |
|
3578 | 3576 | } |
|
3579 | 3577 | |
|
3580 | 3578 | |
|
3581 | 3579 | /** RST STYLE **/ |
|
3582 | 3580 | |
|
3583 | 3581 | |
|
3584 | 3582 | div.rst-block { |
|
3585 | 3583 | padding:0px; |
|
3586 | 3584 | } |
|
3587 | 3585 | |
|
3588 | 3586 | div.rst-block h2 { |
|
3589 | 3587 | font-weight: normal; |
|
3590 | 3588 | } |
|
3591 | 3589 | |
|
3592 | 3590 | div.rst-block { |
|
3593 | 3591 | background-color: #fafafa; |
|
3594 | 3592 | } |
|
3595 | 3593 | |
|
3596 | 3594 | div.rst-block { |
|
3597 | 3595 | clear:both; |
|
3598 | 3596 | overflow:hidden; |
|
3599 | 3597 | margin:0; |
|
3600 | 3598 | padding:0 20px 10px; |
|
3601 | 3599 | } |
|
3602 | 3600 | |
|
3603 | 3601 | div.rst-block h1, div.rst-block h2, div.rst-block h3, div.rst-block h4, div.rst-block h5, div.rst-block h6 { |
|
3604 | 3602 | border-bottom: 0 !important; |
|
3605 | 3603 | margin: 0 !important; |
|
3606 | 3604 | padding: 0 !important; |
|
3607 | 3605 | line-height: 1.5em !important; |
|
3608 | 3606 | } |
|
3609 | 3607 | |
|
3610 | 3608 | |
|
3611 | 3609 | div.rst-block h1:first-child { |
|
3612 | 3610 | padding-top: .25em !important; |
|
3613 | 3611 | } |
|
3614 | 3612 | |
|
3615 | 3613 | div.rst-block h2, div.rst-block h3 { |
|
3616 | 3614 | margin: 1em 0 !important; |
|
3617 | 3615 | } |
|
3618 | 3616 | |
|
3619 | 3617 | div.rst-block h2 { |
|
3620 | 3618 | margin-top: 1.5em !important; |
|
3621 | 3619 | border-top: 4px solid #e0e0e0 !important; |
|
3622 | 3620 | padding-top: .5em !important; |
|
3623 | 3621 | } |
|
3624 | 3622 | |
|
3625 | 3623 | div.rst-block p { |
|
3626 | 3624 | color: black !important; |
|
3627 | 3625 | margin: 1em 0 !important; |
|
3628 | 3626 | line-height: 1.5em !important; |
|
3629 | 3627 | } |
|
3630 | 3628 | |
|
3631 | 3629 | div.rst-block ul { |
|
3632 | 3630 | list-style: disc !important; |
|
3633 | 3631 | margin: 1em 0 1em 2em !important; |
|
3634 | 3632 | } |
|
3635 | 3633 | |
|
3636 | 3634 | div.rst-block ol { |
|
3637 | 3635 | list-style: decimal; |
|
3638 | 3636 | margin: 1em 0 1em 2em !important; |
|
3639 | 3637 | } |
|
3640 | 3638 | |
|
3641 | 3639 | div.rst-block pre, code { |
|
3642 | 3640 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
3643 | 3641 | } |
|
3644 | 3642 | |
|
3645 | 3643 | div.rst-block code { |
|
3646 | 3644 | font-size: 12px !important; |
|
3647 | 3645 | background-color: ghostWhite !important; |
|
3648 | 3646 | color: #444 !important; |
|
3649 | 3647 | padding: 0 .2em !important; |
|
3650 | 3648 | border: 1px solid #dedede !important; |
|
3651 | 3649 | } |
|
3652 | 3650 | |
|
3653 | 3651 | div.rst-block pre code { |
|
3654 | 3652 | padding: 0 !important; |
|
3655 | 3653 | font-size: 12px !important; |
|
3656 | 3654 | background-color: #eee !important; |
|
3657 | 3655 | border: none !important; |
|
3658 | 3656 | } |
|
3659 | 3657 | |
|
3660 | 3658 | div.rst-block pre { |
|
3661 | 3659 | margin: 1em 0; |
|
3662 | 3660 | font-size: 12px; |
|
3663 | 3661 | background-color: #eee; |
|
3664 | 3662 | border: 1px solid #ddd; |
|
3665 | 3663 | padding: 5px; |
|
3666 | 3664 | color: #444; |
|
3667 | 3665 | overflow: auto; |
|
3668 | 3666 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
3669 | 3667 | -webkit-border-radius: 3px; |
|
3670 | 3668 | -moz-border-radius: 3px; |
|
3671 | 3669 | border-radius: 3px; |
|
3672 | 3670 | } |
|
3673 | 3671 | |
|
3674 | 3672 | |
|
3675 | 3673 | /** comment main **/ |
|
3676 | 3674 | .comments { |
|
3677 | 3675 | padding:10px 20px; |
|
3678 | 3676 | } |
|
3679 | 3677 | |
|
3680 | 3678 | .comments .comment { |
|
3681 | 3679 | border: 1px solid #ddd; |
|
3682 | 3680 | margin-top: 10px; |
|
3683 | 3681 | -webkit-border-radius: 4px; |
|
3684 | 3682 | -moz-border-radius: 4px; |
|
3685 | 3683 | border-radius: 4px; |
|
3686 | 3684 | } |
|
3687 | 3685 | |
|
3688 | 3686 | .comments .comment .meta { |
|
3689 | 3687 | background: #f8f8f8; |
|
3690 | 3688 | padding: 6px; |
|
3691 | 3689 | border-bottom: 1px solid #ddd; |
|
3692 | 3690 | } |
|
3693 | 3691 | |
|
3694 | 3692 | .comments .comment .meta img { |
|
3695 | 3693 | vertical-align: middle; |
|
3696 | 3694 | } |
|
3697 | 3695 | |
|
3698 | 3696 | .comments .comment .meta .user { |
|
3699 | 3697 | font-weight: bold; |
|
3700 | 3698 | } |
|
3701 | 3699 | |
|
3702 | 3700 | .comments .comment .meta .date { |
|
3703 | 3701 | float: right; |
|
3704 | 3702 | } |
|
3705 | 3703 | |
|
3706 | 3704 | .comments .comment .text { |
|
3707 | 3705 | padding: 8px 6px 6px 14px; |
|
3708 | 3706 | background-color: #FAFAFA; |
|
3709 | 3707 | } |
|
3710 | 3708 | |
|
3711 | 3709 | .comments .comments-number{ |
|
3712 | 3710 | padding:0px 0px 10px 0px; |
|
3713 | 3711 | font-weight: bold; |
|
3714 | 3712 | color: #666; |
|
3715 | 3713 | font-size: 16px; |
|
3716 | 3714 | } |
|
3717 | 3715 | |
|
3718 | 3716 | /** comment form **/ |
|
3719 | 3717 | |
|
3720 | 3718 | .comment-form .clearfix{ |
|
3721 | 3719 | background: #EEE; |
|
3722 | 3720 | -webkit-border-radius: 4px; |
|
3723 | 3721 | -moz-border-radius: 4px; |
|
3724 | 3722 | border-radius: 4px; |
|
3725 | 3723 | padding: 10px; |
|
3726 | 3724 | } |
|
3727 | 3725 | |
|
3728 | 3726 | div.comment-form { |
|
3729 | 3727 | margin-top: 20px; |
|
3730 | 3728 | } |
|
3731 | 3729 | |
|
3732 | 3730 | .comment-form strong { |
|
3733 | 3731 | display: block; |
|
3734 | 3732 | margin-bottom: 15px; |
|
3735 | 3733 | } |
|
3736 | 3734 | |
|
3737 | 3735 | .comment-form textarea { |
|
3738 | 3736 | width: 100%; |
|
3739 | 3737 | height: 100px; |
|
3740 | 3738 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
3741 | 3739 | } |
|
3742 | 3740 | |
|
3743 | 3741 | form.comment-form { |
|
3744 | 3742 | margin-top: 10px; |
|
3745 | 3743 | margin-left: 10px; |
|
3746 | 3744 | } |
|
3747 | 3745 | |
|
3748 | 3746 | .comment-form-submit { |
|
3749 | 3747 | margin-top: 5px; |
|
3750 | 3748 | margin-left: 525px; |
|
3751 | 3749 | } |
|
3752 | 3750 | |
|
3753 | 3751 | .file-comments { |
|
3754 | 3752 | display: none; |
|
3755 | 3753 | } |
|
3756 | 3754 | |
|
3757 | 3755 | .comment-form .comment { |
|
3758 | 3756 | margin-left: 10px; |
|
3759 | 3757 | } |
|
3760 | 3758 | |
|
3761 | 3759 | .comment-form .comment-help{ |
|
3762 | 3760 | padding: 0px 0px 5px 0px; |
|
3763 | 3761 | color: #666; |
|
3764 | 3762 | } |
|
3765 | 3763 | |
|
3766 | 3764 | .comment-form .comment-button{ |
|
3767 | 3765 | padding-top:5px; |
|
3768 | 3766 | } |
|
3769 | 3767 | |
|
3770 | 3768 | .add-another-button { |
|
3771 | 3769 | margin-left: 10px; |
|
3772 | 3770 | margin-top: 10px; |
|
3773 | 3771 | margin-bottom: 10px; |
|
3774 | 3772 | } |
|
3775 | 3773 | |
|
3776 | 3774 | .comment .buttons { |
|
3777 | 3775 | position: absolute; |
|
3778 | 3776 | right:40px; |
|
3779 | 3777 | } |
|
3780 | 3778 | |
|
3781 | 3779 | |
|
3782 | 3780 | .show-inline-comments{ |
|
3783 | 3781 | position: relative; |
|
3784 | 3782 | top:1px |
|
3785 | 3783 | } |
|
3786 | 3784 | |
|
3787 | 3785 | /** comment inline form **/ |
|
3788 | 3786 | |
|
3789 | 3787 | .comment-inline-form .clearfix{ |
|
3790 | 3788 | background: #EEE; |
|
3791 | 3789 | -webkit-border-radius: 4px; |
|
3792 | 3790 | -moz-border-radius: 4px; |
|
3793 | 3791 | border-radius: 4px; |
|
3794 | 3792 | padding: 5px; |
|
3795 | 3793 | } |
|
3796 | 3794 | |
|
3797 | 3795 | div.comment-inline-form { |
|
3798 | 3796 | margin-top: 5px; |
|
3799 | 3797 | padding:2px 6px 8px 6px; |
|
3800 | 3798 | } |
|
3801 | 3799 | |
|
3802 | 3800 | .comment-inline-form strong { |
|
3803 | 3801 | display: block; |
|
3804 | 3802 | margin-bottom: 15px; |
|
3805 | 3803 | } |
|
3806 | 3804 | |
|
3807 | 3805 | .comment-inline-form textarea { |
|
3808 | 3806 | width: 100%; |
|
3809 | 3807 | height: 100px; |
|
3810 | 3808 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
3811 | 3809 | } |
|
3812 | 3810 | |
|
3813 | 3811 | form.comment-inline-form { |
|
3814 | 3812 | margin-top: 10px; |
|
3815 | 3813 | margin-left: 10px; |
|
3816 | 3814 | } |
|
3817 | 3815 | |
|
3818 | 3816 | .comment-inline-form-submit { |
|
3819 | 3817 | margin-top: 5px; |
|
3820 | 3818 | margin-left: 525px; |
|
3821 | 3819 | } |
|
3822 | 3820 | |
|
3823 | 3821 | .file-comments { |
|
3824 | 3822 | display: none; |
|
3825 | 3823 | } |
|
3826 | 3824 | |
|
3827 | 3825 | .comment-inline-form .comment { |
|
3828 | 3826 | margin-left: 10px; |
|
3829 | 3827 | } |
|
3830 | 3828 | |
|
3831 | 3829 | .comment-inline-form .comment-help{ |
|
3832 | 3830 | padding: 0px 0px 2px 0px; |
|
3833 | 3831 | color: #666666; |
|
3834 | 3832 | font-size: 10px; |
|
3835 | 3833 | } |
|
3836 | 3834 | |
|
3837 | 3835 | .comment-inline-form .comment-button{ |
|
3838 | 3836 | padding-top:5px; |
|
3839 | 3837 | } |
|
3840 | 3838 | |
|
3841 | 3839 | /** comment inline **/ |
|
3842 | 3840 | .inline-comments { |
|
3843 | 3841 | padding:10px 20px; |
|
3844 | 3842 | } |
|
3845 | 3843 | |
|
3846 | 3844 | .inline-comments div.rst-block { |
|
3847 | 3845 | clear:both; |
|
3848 | 3846 | overflow:hidden; |
|
3849 | 3847 | margin:0; |
|
3850 | 3848 | padding:0 20px 0px; |
|
3851 | 3849 | } |
|
3852 | 3850 | .inline-comments .comment { |
|
3853 | 3851 | border: 1px solid #ddd; |
|
3854 | 3852 | -webkit-border-radius: 4px; |
|
3855 | 3853 | -moz-border-radius: 4px; |
|
3856 | 3854 | border-radius: 4px; |
|
3857 | 3855 | margin: 3px 3px 5px 5px; |
|
3858 | 3856 | background-color: #FAFAFA; |
|
3859 | 3857 | } |
|
3860 | 3858 | .inline-comments .comment-wrapp{ |
|
3861 | 3859 | padding:1px; |
|
3862 | 3860 | } |
|
3863 | 3861 | .inline-comments .comment .meta { |
|
3864 | 3862 | background: #f8f8f8; |
|
3865 | 3863 | padding: 6px; |
|
3866 | 3864 | border-bottom: 1px solid #ddd; |
|
3867 | 3865 | } |
|
3868 | 3866 | |
|
3869 | 3867 | .inline-comments .comment .meta img { |
|
3870 | 3868 | vertical-align: middle; |
|
3871 | 3869 | } |
|
3872 | 3870 | |
|
3873 | 3871 | .inline-comments .comment .meta .user { |
|
3874 | 3872 | font-weight: bold; |
|
3875 | 3873 | } |
|
3876 | 3874 | |
|
3877 | 3875 | .inline-comments .comment .meta .date { |
|
3878 | 3876 | float: right; |
|
3879 | 3877 | } |
|
3880 | 3878 | |
|
3881 | 3879 | .inline-comments .comment .text { |
|
3882 | 3880 | padding: 8px 6px 6px 14px; |
|
3883 | 3881 | background-color: #FAFAFA; |
|
3884 | 3882 | } |
|
3885 | 3883 | |
|
3886 | 3884 | .inline-comments .comments-number{ |
|
3887 | 3885 | padding:0px 0px 10px 0px; |
|
3888 | 3886 | font-weight: bold; |
|
3889 | 3887 | color: #666; |
|
3890 | 3888 | font-size: 16px; |
|
3891 | 3889 | } |
|
3892 | 3890 | .inline-comments-button .add-comment{ |
|
3893 | 3891 | margin:10px 5px !important; |
|
3894 | 3892 | } |
|
3895 | 3893 | .notifications{ |
|
3896 | 3894 | width:22px; |
|
3897 | 3895 | padding:2px; |
|
3898 | 3896 | float:right; |
|
3899 | 3897 | -webkit-border-radius: 4px; |
|
3900 | 3898 | -moz-border-radius: 4px; |
|
3901 | 3899 | border-radius: 4px; |
|
3902 | 3900 | text-align: center; |
|
3903 | 3901 | margin: 0px -10px 0px 5px; |
|
3904 | 3902 | background-color: #DEDEDE; |
|
3905 | 3903 | } |
|
3906 | 3904 | .notifications a{ |
|
3907 | 3905 | color:#888 !important; |
|
3908 | 3906 | display: block; |
|
3909 | 3907 | font-size: 10px |
|
3910 | 3908 | } |
|
3911 | 3909 | .notifications a:hover{ |
|
3912 | 3910 | text-decoration: none !important; |
|
3913 | 3911 | } |
|
3914 | 3912 | .notification-header{ |
|
3915 | 3913 | padding-top:6px; |
|
3916 | 3914 | } |
|
3917 | 3915 | .notification-header .desc{ |
|
3918 | 3916 | font-size: 16px; |
|
3919 | 3917 | height: 24px; |
|
3920 | 3918 | float: left |
|
3921 | 3919 | } |
|
3922 | 3920 | .notification-list .container.unread{ |
|
3923 | 3921 | |
|
3924 | 3922 | } |
|
3925 | 3923 | .notification-header .gravatar{ |
|
3926 | 3924 | |
|
3927 | 3925 | } |
|
3928 | 3926 | .notification-header .desc.unread{ |
|
3929 | 3927 | font-weight: bold; |
|
3930 | 3928 | font-size: 17px; |
|
3931 | 3929 | } |
|
3932 | 3930 | |
|
3933 | 3931 | .notification-header .delete-notifications{ |
|
3934 | 3932 | float: right; |
|
3935 | 3933 | padding-top: 8px; |
|
3936 | 3934 | cursor: pointer; |
|
3937 | 3935 | } |
|
3938 | 3936 | .notification-subject{ |
|
3939 | 3937 | clear:both; |
|
3940 | 3938 | border-bottom: 1px solid #eee; |
|
3941 | 3939 | padding:5px 0px 5px 38px; |
|
3942 | 3940 | } |
|
3943 | 3941 | |
|
3944 | 3942 | |
|
3945 | 3943 | /***************************************************************************** |
|
3946 | 3944 | DIFFS CSS |
|
3947 | 3945 | ******************************************************************************/ |
|
3948 | 3946 | |
|
3949 | 3947 | div.diffblock { |
|
3950 | 3948 | overflow: auto; |
|
3951 | 3949 | padding: 0px; |
|
3952 | 3950 | border: 1px solid #ccc; |
|
3953 | 3951 | background: #f8f8f8; |
|
3954 | 3952 | font-size: 100%; |
|
3955 | 3953 | line-height: 100%; |
|
3956 | 3954 | /* new */ |
|
3957 | 3955 | line-height: 125%; |
|
3958 | 3956 | -webkit-border-radius: 6px 6px 0px 0px; |
|
3959 | 3957 | -moz-border-radius: 6px 6px 0px 0px; |
|
3960 | 3958 | border-radius: 6px 6px 0px 0px; |
|
3961 | 3959 | } |
|
3962 | 3960 | div.diffblock.margined{ |
|
3963 | 3961 | margin: 0px 20px 0px 20px; |
|
3964 | 3962 | } |
|
3965 | 3963 | div.diffblock .code-header{ |
|
3966 | 3964 | border-bottom: 1px solid #CCCCCC; |
|
3967 | 3965 | background: #EEEEEE; |
|
3968 | 3966 | padding:10px 0 10px 0; |
|
3969 | 3967 | height: 14px; |
|
3970 | 3968 | } |
|
3971 | 3969 | div.diffblock .code-header.cv{ |
|
3972 | 3970 | height: 34px; |
|
3973 | 3971 | } |
|
3974 | 3972 | div.diffblock .code-header-title{ |
|
3975 | 3973 | padding: 0px 0px 10px 5px !important; |
|
3976 | 3974 | margin: 0 !important; |
|
3977 | 3975 | } |
|
3978 | 3976 | |
|
3979 | 3977 | div.diffblock .code-header .date{ |
|
3980 | 3978 | float:left; |
|
3981 | 3979 | text-transform: uppercase; |
|
3982 | 3980 | } |
|
3983 | 3981 | div.diffblock .code-header div{ |
|
3984 | 3982 | margin-left:4px; |
|
3985 | 3983 | font-weight: bold; |
|
3986 | 3984 | font-size: 14px; |
|
3987 | 3985 | } |
|
3988 | 3986 | div.diffblock .code-body{ |
|
3989 | 3987 | background: #FFFFFF; |
|
3990 | 3988 | } |
|
3991 | 3989 | div.diffblock pre.raw{ |
|
3992 | 3990 | background: #FFFFFF; |
|
3993 | 3991 | color:#000000; |
|
3994 | 3992 | } |
|
3995 | 3993 | table.code-difftable{ |
|
3996 | 3994 | border-collapse: collapse; |
|
3997 | 3995 | width: 99%; |
|
3998 | 3996 | } |
|
3999 | 3997 | table.code-difftable td { |
|
4000 | 3998 | padding: 0 !important; |
|
4001 | 3999 | background: none !important; |
|
4002 | 4000 | border:0 !important; |
|
4003 | 4001 | vertical-align: none !important; |
|
4004 | 4002 | } |
|
4005 | 4003 | table.code-difftable .context{ |
|
4006 | 4004 | background:none repeat scroll 0 0 #DDE7EF; |
|
4007 | 4005 | } |
|
4008 | 4006 | table.code-difftable .add{ |
|
4009 | 4007 | background:none repeat scroll 0 0 #DDFFDD; |
|
4010 | 4008 | } |
|
4011 | 4009 | table.code-difftable .add ins{ |
|
4012 | 4010 | background:none repeat scroll 0 0 #AAFFAA; |
|
4013 | 4011 | text-decoration:none; |
|
4014 | 4012 | } |
|
4015 | 4013 | table.code-difftable .del{ |
|
4016 | 4014 | background:none repeat scroll 0 0 #FFDDDD; |
|
4017 | 4015 | } |
|
4018 | 4016 | table.code-difftable .del del{ |
|
4019 | 4017 | background:none repeat scroll 0 0 #FFAAAA; |
|
4020 | 4018 | text-decoration:none; |
|
4021 | 4019 | } |
|
4022 | 4020 | |
|
4023 | 4021 | /** LINE NUMBERS **/ |
|
4024 | 4022 | table.code-difftable .lineno{ |
|
4025 | 4023 | |
|
4026 | 4024 | padding-left:2px; |
|
4027 | 4025 | padding-right:2px; |
|
4028 | 4026 | text-align:right; |
|
4029 | 4027 | width:32px; |
|
4030 | 4028 | -moz-user-select:none; |
|
4031 | 4029 | -webkit-user-select: none; |
|
4032 | 4030 | border-right: 1px solid #CCC !important; |
|
4033 | 4031 | border-left: 0px solid #CCC !important; |
|
4034 | 4032 | border-top: 0px solid #CCC !important; |
|
4035 | 4033 | border-bottom: none !important; |
|
4036 | 4034 | vertical-align: middle !important; |
|
4037 | 4035 | |
|
4038 | 4036 | } |
|
4039 | 4037 | table.code-difftable .lineno.new { |
|
4040 | 4038 | } |
|
4041 | 4039 | table.code-difftable .lineno.old { |
|
4042 | 4040 | } |
|
4043 | 4041 | table.code-difftable .lineno a{ |
|
4044 | 4042 | color:#747474 !important; |
|
4045 | 4043 | font:11px "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace !important; |
|
4046 | 4044 | letter-spacing:-1px; |
|
4047 | 4045 | text-align:right; |
|
4048 | 4046 | padding-right: 2px; |
|
4049 | 4047 | cursor: pointer; |
|
4050 | 4048 | display: block; |
|
4051 | 4049 | width: 32px; |
|
4052 | 4050 | } |
|
4053 | 4051 | |
|
4054 | 4052 | table.code-difftable .lineno-inline{ |
|
4055 | 4053 | background:none repeat scroll 0 0 #FFF !important; |
|
4056 | 4054 | padding-left:2px; |
|
4057 | 4055 | padding-right:2px; |
|
4058 | 4056 | text-align:right; |
|
4059 | 4057 | width:30px; |
|
4060 | 4058 | -moz-user-select:none; |
|
4061 | 4059 | -webkit-user-select: none; |
|
4062 | 4060 | } |
|
4063 | 4061 | |
|
4064 | 4062 | /** CODE **/ |
|
4065 | 4063 | table.code-difftable .code { |
|
4066 | 4064 | display: block; |
|
4067 | 4065 | width: 100%; |
|
4068 | 4066 | } |
|
4069 | 4067 | table.code-difftable .code td{ |
|
4070 | 4068 | margin:0; |
|
4071 | 4069 | padding:0; |
|
4072 | 4070 | } |
|
4073 | 4071 | table.code-difftable .code pre{ |
|
4074 | 4072 | margin:0; |
|
4075 | 4073 | padding:0; |
|
4076 | 4074 | height: 17px; |
|
4077 | 4075 | line-height: 17px; |
|
4078 | 4076 | } |
|
4079 | 4077 | |
|
4080 | 4078 | |
|
4081 | 4079 | .diffblock.margined.comm .line .code:hover{ |
|
4082 | 4080 | background-color:#FFFFCC !important; |
|
4083 | 4081 | cursor: pointer !important; |
|
4084 | 4082 | background-image:url("../images/icons/comment_add.png") !important; |
|
4085 | 4083 | background-repeat:no-repeat !important; |
|
4086 | 4084 | background-position: right !important; |
|
4087 | 4085 | background-position: 0% 50% !important; |
|
4088 | 4086 | } |
|
4089 | 4087 | .diffblock.margined.comm .line .code.no-comment:hover{ |
|
4090 | 4088 | background-image: none !important; |
|
4091 | 4089 | cursor: auto !important; |
|
4092 | 4090 | background-color: inherit !important; |
|
4093 | 4091 | |
|
4094 | 4092 | } No newline at end of file |
@@ -1,188 +1,188 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | |
|
3 | 3 | <%inherit file="/base/base.html"/> |
|
4 | 4 | |
|
5 | 5 | <%def name="title()"> |
|
6 | 6 | ${c.repo_name} ${_('Changelog')} - ${c.rhodecode_name} |
|
7 | 7 | </%def> |
|
8 | 8 | |
|
9 | 9 | <%def name="breadcrumbs_links()"> |
|
10 | 10 | ${h.link_to(u'Home',h.url('/'))} |
|
11 | 11 | » |
|
12 | 12 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} |
|
13 | 13 | » |
|
14 | 14 | ${_('Changelog')} - ${_('showing ')} ${c.size if c.size <= c.total_cs else c.total_cs} ${_('out of')} ${c.total_cs} ${_('revisions')} |
|
15 | 15 | </%def> |
|
16 | 16 | |
|
17 | 17 | <%def name="page_nav()"> |
|
18 | 18 | ${self.menu('changelog')} |
|
19 | 19 | </%def> |
|
20 | 20 | |
|
21 | 21 | <%def name="main()"> |
|
22 | 22 | <div class="box"> |
|
23 | 23 | <!-- box / title --> |
|
24 | 24 | <div class="title"> |
|
25 | 25 | ${self.breadcrumbs()} |
|
26 | 26 | </div> |
|
27 | 27 | <div class="table"> |
|
28 | 28 | % if c.pagination: |
|
29 | 29 | <div id="graph"> |
|
30 | 30 | <div id="graph_nodes"> |
|
31 | 31 | <canvas id="graph_canvas"></canvas> |
|
32 | 32 | </div> |
|
33 | 33 | <div id="graph_content"> |
|
34 | 34 | <div class="container_header"> |
|
35 | 35 | ${h.form(h.url.current(),method='get')} |
|
36 | 36 | <div class="info_box" style="float:left"> |
|
37 | 37 | ${h.submit('set',_('Show'),class_="ui-btn")} |
|
38 | 38 | ${h.text('size',size=1,value=c.size)} |
|
39 | 39 | <span class="rev">${_('revisions')}</span> |
|
40 | 40 | </div> |
|
41 | 41 | ${h.end_form()} |
|
42 | 42 | <div style="float:right">${h.select('branch_filter',c.branch_name,c.branch_filters)}</div> |
|
43 | 43 | <div id="rev_range_container" style="display:none"></div> |
|
44 | 44 | </div> |
|
45 | 45 | |
|
46 | 46 | %for cnt,cs in enumerate(c.pagination): |
|
47 | 47 | <div id="chg_${cnt+1}" class="container"> |
|
48 | 48 | <div class="left"> |
|
49 | 49 | <div class="date"> |
|
50 | 50 | ${h.checkbox(cs.short_id,class_="changeset_range")} |
|
51 | <span>${_('commit')} ${cs.revision}: ${h.short_id(cs.raw_id)}@${cs.date}</span> | |
|
51 | <span class="tooltip" title="${cs.date}"><a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">${cs.revision}:${h.short_id(cs.raw_id)}</a></span> | |
|
52 | 52 | </div> |
|
53 | 53 | <div class="author"> |
|
54 | 54 | <div class="gravatar"> |
|
55 | 55 | <img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),16)}"/> |
|
56 | 56 | </div> |
|
57 | 57 | <div title="${cs.author}" class="user">${h.person(cs.author)}</div> |
|
58 | 58 | </div> |
|
59 |
<div class="message">${h. |
|
|
59 | <div class="message">${h.urlify_commit(h.wrap_paragraphs(cs.message))}</div> | |
|
60 | 60 | </div> |
|
61 | 61 | <div class="right"> |
|
62 | 62 | <div id="${cs.raw_id}_changes_info" class="changes"> |
|
63 | 63 | <span id="${cs.raw_id}" class="changed_total tooltip" title="${_('Affected number of files, click to show more details')}">${len(cs.affected_files)}</span> |
|
64 | 64 | </div> |
|
65 | 65 | %if len(cs.parents)>1: |
|
66 | 66 | <div class="merge">${_('merge')}</div> |
|
67 | 67 | %endif |
|
68 | 68 | %if cs.parents: |
|
69 | 69 | %for p_cs in reversed(cs.parents): |
|
70 | 70 | <div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(h.short_id(p_cs.raw_id), |
|
71 | 71 | h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)} |
|
72 | 72 | </div> |
|
73 | 73 | %endfor |
|
74 | 74 | %else: |
|
75 | 75 | <div class="parent">${_('No parents')}</div> |
|
76 | 76 | %endif |
|
77 | 77 | |
|
78 | 78 | <span class="logtags"> |
|
79 | 79 | %if cs.branch: |
|
80 | 80 | <span class="branchtag" title="${'%s %s' % (_('branch'),cs.branch)}"> |
|
81 | 81 | ${h.link_to(cs.branch,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}</span> |
|
82 | 82 | %endif |
|
83 | 83 | %for tag in cs.tags: |
|
84 | 84 | <span class="tagtag" title="${'%s %s' % (_('tag'),tag)}"> |
|
85 | 85 | ${h.link_to(tag,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}</span> |
|
86 | 86 | %endfor |
|
87 | 87 | </span> |
|
88 | 88 | </div> |
|
89 | 89 | </div> |
|
90 | 90 | |
|
91 | 91 | %endfor |
|
92 | 92 | <div class="pagination-wh pagination-left"> |
|
93 | 93 | ${c.pagination.pager('$link_previous ~2~ $link_next')} |
|
94 | 94 | </div> |
|
95 | 95 | </div> |
|
96 | 96 | </div> |
|
97 | 97 | |
|
98 | 98 | <script type="text/javascript" src="${h.url('/js/graph.js')}"></script> |
|
99 | 99 | <script type="text/javascript"> |
|
100 | 100 | YAHOO.util.Event.onDOMReady(function(){ |
|
101 | 101 | |
|
102 | 102 | //Monitor range checkboxes and build a link to changesets |
|
103 | 103 | //ranges |
|
104 | 104 | var checkboxes = YUD.getElementsByClassName('changeset_range'); |
|
105 | 105 | var url_tmpl = "${h.url('changeset_home',repo_name=c.repo_name,revision='__REVRANGE__')}"; |
|
106 | 106 | YUE.on(checkboxes,'click',function(e){ |
|
107 | 107 | var checked_checkboxes = []; |
|
108 | 108 | for (pos in checkboxes){ |
|
109 | 109 | if(checkboxes[pos].checked){ |
|
110 | 110 | checked_checkboxes.push(checkboxes[pos]); |
|
111 | 111 | } |
|
112 | 112 | } |
|
113 | 113 | if(checked_checkboxes.length>1){ |
|
114 | 114 | var rev_end = checked_checkboxes[0].name; |
|
115 | 115 | var rev_start = checked_checkboxes[checked_checkboxes.length-1].name; |
|
116 | 116 | |
|
117 | 117 | var url = url_tmpl.replace('__REVRANGE__', |
|
118 | 118 | rev_start+'...'+rev_end); |
|
119 | 119 | |
|
120 | 120 | var link = "<a href="+url+">${_('Show selected changes __S -> __E')}</a>" |
|
121 | 121 | link = link.replace('__S',rev_start); |
|
122 | 122 | link = link.replace('__E',rev_end); |
|
123 | 123 | YUD.get('rev_range_container').innerHTML = link; |
|
124 | 124 | YUD.setStyle('rev_range_container','display',''); |
|
125 | 125 | } |
|
126 | 126 | else{ |
|
127 | 127 | YUD.setStyle('rev_range_container','display','none'); |
|
128 | 128 | |
|
129 | 129 | } |
|
130 | 130 | }); |
|
131 | 131 | |
|
132 | 132 | // Fetch changeset details |
|
133 | 133 | YUE.on(YUD.getElementsByClassName('changed_total'),'click',function(e){ |
|
134 | 134 | var id = e.currentTarget.id |
|
135 | 135 | var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}" |
|
136 | 136 | var url = url.replace('__CS__',id); |
|
137 | 137 | ypjax(url,id+'_changes_info',function(){tooltip_activate()}); |
|
138 | 138 | }); |
|
139 | 139 | |
|
140 | 140 | // change branch filter |
|
141 | 141 | YUE.on(YUD.get('branch_filter'),'change',function(e){ |
|
142 | 142 | var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value; |
|
143 | 143 | console.log(selected_branch); |
|
144 | 144 | var url_main = "${h.url('changelog_home',repo_name=c.repo_name)}"; |
|
145 | 145 | var url = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}"; |
|
146 | 146 | var url = url.replace('__BRANCH__',selected_branch); |
|
147 | 147 | if(selected_branch != ''){ |
|
148 | 148 | window.location = url; |
|
149 | 149 | }else{ |
|
150 | 150 | window.location = url_main; |
|
151 | 151 | } |
|
152 | 152 | |
|
153 | 153 | }); |
|
154 | 154 | |
|
155 | 155 | function set_canvas(heads) { |
|
156 | 156 | var c = document.getElementById('graph_nodes'); |
|
157 | 157 | var t = document.getElementById('graph_content'); |
|
158 | 158 | canvas = document.getElementById('graph_canvas'); |
|
159 | 159 | var div_h = t.clientHeight; |
|
160 | 160 | c.style.height=div_h+'px'; |
|
161 | 161 | canvas.setAttribute('height',div_h); |
|
162 | 162 | c.style.height=max_w+'px'; |
|
163 | 163 | canvas.setAttribute('width',max_w); |
|
164 | 164 | }; |
|
165 | 165 | var heads = 1; |
|
166 | 166 | var max_heads = 0; |
|
167 | 167 | var jsdata = ${c.jsdata|n}; |
|
168 | 168 | |
|
169 | 169 | for( var i=0;i<jsdata.length;i++){ |
|
170 | 170 | var m = Math.max.apply(Math, jsdata[i][1]); |
|
171 | 171 | if (m>max_heads){ |
|
172 | 172 | max_heads = m; |
|
173 | 173 | } |
|
174 | 174 | } |
|
175 | 175 | var max_w = Math.max(100,max_heads*25); |
|
176 | 176 | set_canvas(max_w); |
|
177 | 177 | |
|
178 | 178 | var r = new BranchRenderer(); |
|
179 | 179 | r.render(jsdata,max_w); |
|
180 | 180 | |
|
181 | 181 | }); |
|
182 | 182 | </script> |
|
183 | 183 | %else: |
|
184 | 184 | ${_('There are no changes yet')} |
|
185 | 185 | %endif |
|
186 | 186 | </div> |
|
187 | 187 | </div> |
|
188 | 188 | </%def> No newline at end of file |
@@ -1,205 +1,205 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | |
|
3 | 3 | <%inherit file="/base/base.html"/> |
|
4 | 4 | |
|
5 | 5 | <%def name="title()"> |
|
6 | 6 | ${c.repo_name} ${_('Changeset')} - r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} - ${c.rhodecode_name} |
|
7 | 7 | </%def> |
|
8 | 8 | |
|
9 | 9 | <%def name="breadcrumbs_links()"> |
|
10 | 10 | ${h.link_to(u'Home',h.url('/'))} |
|
11 | 11 | » |
|
12 | 12 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} |
|
13 | 13 | » |
|
14 | 14 | ${_('Changeset')} - r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} |
|
15 | 15 | </%def> |
|
16 | 16 | |
|
17 | 17 | <%def name="page_nav()"> |
|
18 | 18 | ${self.menu('changelog')} |
|
19 | 19 | </%def> |
|
20 | 20 | |
|
21 | 21 | <%def name="main()"> |
|
22 | 22 | <div class="box"> |
|
23 | 23 | <!-- box / title --> |
|
24 | 24 | <div class="title"> |
|
25 | 25 | ${self.breadcrumbs()} |
|
26 | 26 | </div> |
|
27 | 27 | <div class="table"> |
|
28 | 28 | <div class="diffblock"> |
|
29 | 29 | <div class="code-header"> |
|
30 | 30 | <div class="date">${_('commit')} ${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} ${c.changeset.date}</div> |
|
31 | 31 | <div class="diff-menu-wrapper"> |
|
32 | 32 | <img class="diff-menu-activate" style="cursor: pointer" alt="diff-menu" src="${h.url('/images/icons/script_gear.png')}" /> |
|
33 | 33 | <div class="diff-menu" style="display:none"> |
|
34 | 34 | <ul> |
|
35 | 35 | <li>${h.link_to(_('raw diff'),h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='show'))}</li> |
|
36 | 36 | <li>${h.link_to(_('download diff'),h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='download'))}</li> |
|
37 | 37 | <li>${c.ignorews_url()}</li> |
|
38 | 38 | <li>${c.context_url()}</li> |
|
39 | 39 | </ul> |
|
40 | 40 | </div> |
|
41 | 41 | </div> |
|
42 | 42 | <div class="comments-number" style="float:right;padding-right:5px">${len(c.comments)} comment(s) (${c.inline_cnt} ${_('inline')})</div> |
|
43 | 43 | </div> |
|
44 | 44 | </div> |
|
45 | 45 | <div id="changeset_content"> |
|
46 | 46 | <div class="container"> |
|
47 | 47 | <div class="left"> |
|
48 | 48 | <div class="author"> |
|
49 | 49 | <div class="gravatar"> |
|
50 | 50 | <img alt="gravatar" src="${h.gravatar_url(h.email(c.changeset.author),20)}"/> |
|
51 | 51 | </div> |
|
52 | 52 | <span>${h.person(c.changeset.author)}</span><br/> |
|
53 | 53 | <span><a href="mailto:${h.email_or_none(c.changeset.author)}">${h.email_or_none(c.changeset.author)}</a></span><br/> |
|
54 | 54 | </div> |
|
55 |
<div class="message">${h. |
|
|
55 | <div class="message">${h.urlify_commit(h.wrap_paragraphs(c.changeset.message))}</div> | |
|
56 | 56 | </div> |
|
57 | 57 | <div class="right"> |
|
58 | 58 | <div class="changes"> |
|
59 | 59 | % if len(c.changeset.affected_files) <= c.affected_files_cut_off: |
|
60 | 60 | <span class="removed" title="${_('removed')}">${len(c.changeset.removed)}</span> |
|
61 | 61 | <span class="changed" title="${_('changed')}">${len(c.changeset.changed)}</span> |
|
62 | 62 | <span class="added" title="${_('added')}">${len(c.changeset.added)}</span> |
|
63 | 63 | % else: |
|
64 | 64 | <span class="removed" title="${_('affected %s files') % len(c.changeset.affected_files)}">!</span> |
|
65 | 65 | <span class="changed" title="${_('affected %s files') % len(c.changeset.affected_files)}">!</span> |
|
66 | 66 | <span class="added" title="${_('affected %s files') % len(c.changeset.affected_files)}">!</span> |
|
67 | 67 | % endif |
|
68 | 68 | </div> |
|
69 | 69 | %if len(c.changeset.parents)>1: |
|
70 | 70 | <div class="merge"> |
|
71 | 71 | ${_('merge')}<img alt="merge" src="${h.url('/images/icons/arrow_join.png')}"/> |
|
72 | 72 | </div> |
|
73 | 73 | %endif |
|
74 | 74 | |
|
75 | 75 | %if c.changeset.parents: |
|
76 | 76 | %for p_cs in reversed(c.changeset.parents): |
|
77 | 77 | <div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(h.short_id(p_cs.raw_id), |
|
78 | 78 | h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)} |
|
79 | 79 | </div> |
|
80 | 80 | %endfor |
|
81 | 81 | %else: |
|
82 | 82 | <div class="parent">${_('No parents')}</div> |
|
83 | 83 | %endif |
|
84 | 84 | <span class="logtags"> |
|
85 | 85 | <span class="branchtag" title="${'%s %s' % (_('branch'),c.changeset.branch)}"> |
|
86 | 86 | ${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}</span> |
|
87 | 87 | %for tag in c.changeset.tags: |
|
88 | 88 | <span class="tagtag" title="${'%s %s' % (_('tag'),tag)}"> |
|
89 | 89 | ${h.link_to(tag,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}</span> |
|
90 | 90 | %endfor |
|
91 | 91 | </span> |
|
92 | 92 | </div> |
|
93 | 93 | </div> |
|
94 | 94 | <span style="font-size:1.1em;font-weight: bold"> |
|
95 | 95 | ${_('%s files affected with %s additions and %s deletions.') % (len(c.changeset.affected_files),c.lines_added,c.lines_deleted)} |
|
96 | 96 | </span> |
|
97 | 97 | <div class="cs_files"> |
|
98 | 98 | %for change,filenode,diff,cs1,cs2,stat in c.changes: |
|
99 | 99 | <div class="cs_${change}"> |
|
100 | 100 | <div class="node"> |
|
101 | 101 | %if change != 'removed': |
|
102 | 102 | ${h.link_to(h.safe_unicode(filenode.path),c.anchor_url(filenode.changeset.raw_id,filenode.path))} |
|
103 | 103 | %else: |
|
104 | 104 | ${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID('',filenode.path)))} |
|
105 | 105 | %endif |
|
106 | 106 | </div> |
|
107 | 107 | <div class="changes">${h.fancy_file_stats(stat)}</div> |
|
108 | 108 | </div> |
|
109 | 109 | %endfor |
|
110 | 110 | % if c.cut_off: |
|
111 | 111 | ${_('Changeset was too big and was cut off...')} |
|
112 | 112 | % endif |
|
113 | 113 | </div> |
|
114 | 114 | </div> |
|
115 | 115 | |
|
116 | 116 | </div> |
|
117 | 117 | |
|
118 | 118 | ## diff block |
|
119 | 119 | <%namespace name="diff_block" file="/changeset/diff_block.html"/> |
|
120 | 120 | ${diff_block.diff_block(c.changes)} |
|
121 | 121 | |
|
122 | 122 | ## template for inline comment form |
|
123 | 123 | <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> |
|
124 | 124 | ${comment.comment_inline_form(c.changeset)} |
|
125 | 125 | |
|
126 | 126 | ${comment.comments(c.changeset)} |
|
127 | 127 | |
|
128 | 128 | <script type="text/javascript"> |
|
129 | 129 | var deleteComment = function(comment_id){ |
|
130 | 130 | |
|
131 | 131 | var url = "${url('changeset_comment_delete',repo_name=c.repo_name,comment_id='__COMMENT_ID__')}".replace('__COMMENT_ID__',comment_id); |
|
132 | 132 | var postData = '_method=delete'; |
|
133 | 133 | var success = function(o){ |
|
134 | 134 | var n = YUD.get('comment-'+comment_id); |
|
135 | 135 | n.parentNode.removeChild(n); |
|
136 | 136 | } |
|
137 | 137 | ajaxPOST(url,postData,success); |
|
138 | 138 | } |
|
139 | 139 | |
|
140 | 140 | YUE.onDOMReady(function(){ |
|
141 | 141 | |
|
142 | 142 | YUE.on(YUQ('.diff-menu-activate'),'click',function(e){ |
|
143 | 143 | var act = e.currentTarget.nextElementSibling; |
|
144 | 144 | |
|
145 | 145 | if(YUD.hasClass(act,'active')){ |
|
146 | 146 | YUD.removeClass(act,'active'); |
|
147 | 147 | YUD.setStyle(act,'display','none'); |
|
148 | 148 | }else{ |
|
149 | 149 | YUD.addClass(act,'active'); |
|
150 | 150 | YUD.setStyle(act,'display',''); |
|
151 | 151 | } |
|
152 | 152 | }); |
|
153 | 153 | |
|
154 | 154 | YUE.on(YUQ('.show-inline-comments'),'change',function(e){ |
|
155 | 155 | var show = 'none'; |
|
156 | 156 | var target = e.currentTarget; |
|
157 | 157 | if(target.checked){ |
|
158 | 158 | var show = '' |
|
159 | 159 | } |
|
160 | 160 | var boxid = YUD.getAttribute(target,'id_for'); |
|
161 | 161 | var comments = YUQ('#{0} .inline-comments'.format(boxid)); |
|
162 | 162 | for(c in comments){ |
|
163 | 163 | YUD.setStyle(comments[c],'display',show); |
|
164 | 164 | } |
|
165 | 165 | var btns = YUQ('#{0} .inline-comments-button'.format(boxid)); |
|
166 | 166 | for(c in btns){ |
|
167 | 167 | YUD.setStyle(btns[c],'display',show); |
|
168 | 168 | } |
|
169 | 169 | }) |
|
170 | 170 | |
|
171 | 171 | YUE.on(YUQ('.line'),'click',function(e){ |
|
172 | 172 | var tr = e.currentTarget; |
|
173 | 173 | injectInlineForm(tr); |
|
174 | 174 | }); |
|
175 | 175 | |
|
176 | 176 | // inject comments into they proper positions |
|
177 | 177 | var file_comments = YUQ('.inline-comment-placeholder'); |
|
178 | 178 | |
|
179 | 179 | for (f in file_comments){ |
|
180 | 180 | var box = file_comments[f]; |
|
181 | 181 | var inlines = box.children; |
|
182 | 182 | for(var i=0; i<inlines.length; i++){ |
|
183 | 183 | try{ |
|
184 | 184 | |
|
185 | 185 | var inline = inlines[i]; |
|
186 | 186 | var lineno = YUD.getAttribute(inlines[i],'line'); |
|
187 | 187 | var lineid = "{0}_{1}".format(YUD.getAttribute(inline,'target_id'),lineno); |
|
188 | 188 | var target_line = YUD.get(lineid); |
|
189 | 189 | |
|
190 | 190 | var add = createInlineAddButton(target_line.parentNode,'${_("add another comment")}'); |
|
191 | 191 | YUD.insertAfter(add,target_line.parentNode); |
|
192 | 192 | |
|
193 | 193 | var comment = new YAHOO.util.Element(tableTr('inline-comments',inline.innerHTML)) |
|
194 | 194 | YUD.insertAfter(comment,target_line.parentNode); |
|
195 | 195 | }catch(e){ |
|
196 | 196 | console.log(e); |
|
197 | 197 | } |
|
198 | 198 | } |
|
199 | 199 | } |
|
200 | 200 | }) |
|
201 | 201 | |
|
202 | 202 | </script> |
|
203 | 203 | |
|
204 | 204 | </div> |
|
205 | 205 | </%def> |
@@ -1,89 +1,89 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="/base/base.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${c.repo_name} ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} - ${c.rhodecode_name} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <%def name="breadcrumbs_links()"> |
|
9 | 9 | ${h.link_to(u'Home',h.url('/'))} |
|
10 | 10 | » |
|
11 | 11 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} |
|
12 | 12 | » |
|
13 | 13 | ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} |
|
14 | 14 | </%def> |
|
15 | 15 | |
|
16 | 16 | <%def name="page_nav()"> |
|
17 | 17 | ${self.menu('changelog')} |
|
18 | 18 | </%def> |
|
19 | 19 | |
|
20 | 20 | <%def name="main()"> |
|
21 | 21 | <div class="box"> |
|
22 | 22 | <!-- box / title --> |
|
23 | 23 | <div class="title"> |
|
24 | 24 | ${self.breadcrumbs()} |
|
25 | 25 | </div> |
|
26 | 26 | <div class="table"> |
|
27 | 27 | <div id="body" class="diffblock"> |
|
28 | 28 | <div class="code-header cv"> |
|
29 | 29 | <h3 class="code-header-title">${_('Compare View')}</h3> |
|
30 | 30 | <div> |
|
31 | 31 | ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} |
|
32 | 32 | </div> |
|
33 | 33 | </div> |
|
34 | 34 | </div> |
|
35 | 35 | <div id="changeset_compare_view_content"> |
|
36 | 36 | <div class="container"> |
|
37 | 37 | <table class="compare_view_commits noborder"> |
|
38 | 38 | %for cs in c.cs_ranges: |
|
39 | 39 | <tr> |
|
40 | 40 | <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),14)}"/></div></td> |
|
41 | 41 | <td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</td> |
|
42 | 42 | <td><div class="author">${h.person(cs.author)}</div></td> |
|
43 | 43 | <td><span class="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td> |
|
44 |
<td><div class="message">${h. |
|
|
44 | <td><div class="message">${h.urlify_commit(h.wrap_paragraphs(c.changeset.message))}</div></td> | |
|
45 | 45 | </tr> |
|
46 | 46 | %endfor |
|
47 | 47 | </table> |
|
48 | 48 | </div> |
|
49 | 49 | <div style="font-size:1.1em;font-weight: bold;clear:both;padding-top:10px">${_('Files affected')}</div> |
|
50 | 50 | <div class="cs_files"> |
|
51 | 51 | %for cs in c.cs_ranges: |
|
52 | 52 | <div class="cur_cs">r${cs}</div> |
|
53 | 53 | %for change,filenode,diff,cs1,cs2,st in c.changes[cs.raw_id]: |
|
54 | 54 | <div class="cs_${change}">${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID(cs.raw_id,filenode.path)))}</div> |
|
55 | 55 | %endfor |
|
56 | 56 | %endfor |
|
57 | 57 | </div> |
|
58 | 58 | </div> |
|
59 | 59 | |
|
60 | 60 | </div> |
|
61 | 61 | <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> |
|
62 | 62 | <%namespace name="diff_block" file="/changeset/diff_block.html"/> |
|
63 | 63 | %for cs in c.cs_ranges: |
|
64 | 64 | ##${comment.comment_inline_form(cs)} |
|
65 | 65 | ## diff block |
|
66 | 66 | <h3 style="border:none;padding-top:8px;">${'r%s:%s' % (cs.revision,h.short_id(cs.raw_id))}</h3> |
|
67 | 67 | ${diff_block.diff_block(c.changes[cs.raw_id])} |
|
68 | 68 | ##${comment.comments(cs)} |
|
69 | 69 | |
|
70 | 70 | %endfor |
|
71 | 71 | <script type="text/javascript"> |
|
72 | 72 | |
|
73 | 73 | YUE.onDOMReady(function(){ |
|
74 | 74 | |
|
75 | 75 | YUE.on(YUQ('.diff-menu-activate'),'click',function(e){ |
|
76 | 76 | var act = e.currentTarget.nextElementSibling; |
|
77 | 77 | |
|
78 | 78 | if(YUD.hasClass(act,'active')){ |
|
79 | 79 | YUD.removeClass(act,'active'); |
|
80 | 80 | YUD.setStyle(act,'display','none'); |
|
81 | 81 | }else{ |
|
82 | 82 | YUD.addClass(act,'active'); |
|
83 | 83 | YUD.setStyle(act,'display',''); |
|
84 | 84 | } |
|
85 | 85 | }); |
|
86 | 86 | }) |
|
87 | 87 | </script> |
|
88 | 88 | </div> |
|
89 | 89 | </%def> No newline at end of file |
@@ -1,77 +1,79 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | %if c.repo_changesets: |
|
3 | 3 | <table class="table_disp"> |
|
4 | 4 | <tr> |
|
5 |
|
|
|
5 | <th class="left">${_('revision')}</th> | |
|
6 | <th class="left">${_('commit message')}</th> | |
|
6 | 7 | <th class="left">${_('age')}</th> |
|
7 | 8 | <th class="left">${_('author')}</th> |
|
8 | <th class="left">${_('revision')}</th> | |
|
9 | 9 | <th class="left">${_('branch')}</th> |
|
10 | 10 | <th class="left">${_('tags')}</th> |
|
11 | 11 | </tr> |
|
12 | 12 | %for cnt,cs in enumerate(c.repo_changesets): |
|
13 | 13 | <tr class="parity${cnt%2}"> |
|
14 | 14 | <td> |
|
15 | <div><pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id)}">r${cs.revision}:${h.short_id(cs.raw_id)}</a></pre></div> | |
|
16 | </td> | |
|
17 | <td> | |
|
15 | 18 | ${h.link_to(h.truncate(cs.message,50), |
|
16 | 19 | h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id), |
|
17 | 20 | title=cs.message)} |
|
18 | 21 | </td> |
|
19 | 22 | <td><span class="tooltip" title="${cs.date}"> |
|
20 | 23 | ${h.age(cs.date)}</span> |
|
21 | 24 | </td> |
|
22 | 25 | <td title="${cs.author}">${h.person(cs.author)}</td> |
|
23 | <td><div><pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id)}">r${cs.revision}:${h.short_id(cs.raw_id)}</a></pre></div></td> | |
|
24 | 26 | <td> |
|
25 | 27 | <span class="logtags"> |
|
26 | 28 | <span class="branchtag">${cs.branch}</span> |
|
27 | 29 | </span> |
|
28 | 30 | </td> |
|
29 | 31 | <td> |
|
30 | 32 | <span class="logtags"> |
|
31 | 33 | %for tag in cs.tags: |
|
32 | 34 | <span class="tagtag">${tag}</span> |
|
33 | 35 | %endfor |
|
34 | 36 | </span> |
|
35 | 37 | </td> |
|
36 | 38 | </tr> |
|
37 | 39 | %endfor |
|
38 | 40 | |
|
39 | 41 | </table> |
|
40 | 42 | |
|
41 | 43 | <script type="text/javascript"> |
|
42 | 44 | YUE.onDOMReady(function(){ |
|
43 | 45 | YUE.delegate("shortlog_data","click",function(e, matchedEl, container){ |
|
44 | 46 | ypjax(e.target.href,"shortlog_data",function(){tooltip_activate();}); |
|
45 | 47 | YUE.preventDefault(e); |
|
46 | 48 | },'.pager_link'); |
|
47 | 49 | }); |
|
48 | 50 | </script> |
|
49 | 51 | |
|
50 | 52 | <div class="pagination-wh pagination-left"> |
|
51 | 53 | ${c.repo_changesets.pager('$link_previous ~2~ $link_next')} |
|
52 | 54 | </div> |
|
53 | 55 | %else: |
|
54 | 56 | |
|
55 | 57 | %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): |
|
56 | 58 | <h4>${_('Add or upload files directly via RhodeCode')}</h4> |
|
57 | 59 | <div style="margin: 20px 30px;"> |
|
58 | 60 | <div id="add_node_id" class="add_node"> |
|
59 | 61 | <a class="ui-btn" href="${h.url('files_add_home',repo_name=c.repo_name,revision=0,f_path='')}">${_('add new file')}</a> |
|
60 | 62 | </div> |
|
61 | 63 | </div> |
|
62 | 64 | %endif |
|
63 | 65 | |
|
64 | 66 | |
|
65 | 67 | <h4>${_('Push new repo')}</h4> |
|
66 | 68 | <pre> |
|
67 | 69 | ${c.rhodecode_repo.alias} clone ${c.clone_repo_url} |
|
68 | 70 | ${c.rhodecode_repo.alias} add README # add first file |
|
69 | 71 | ${c.rhodecode_repo.alias} commit -m "Initial" # commit with message |
|
70 | 72 | ${c.rhodecode_repo.alias} push # push changes back |
|
71 | 73 | </pre> |
|
72 | 74 | |
|
73 | 75 | <h4>${_('Existing repository?')}</h4> |
|
74 | 76 | <pre> |
|
75 | 77 | ${c.rhodecode_repo.alias} push ${c.clone_repo_url} |
|
76 | 78 | </pre> |
|
77 | 79 | %endif |
General Comments 0
You need to be logged in to leave comments.
Login now