Show More
@@ -1,92 +1,93 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """ |
|
3 | 3 | rhodecode.model.__init__ |
|
4 | 4 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
|
5 | 5 | |
|
6 | 6 | The application's model objects |
|
7 | 7 | |
|
8 | 8 | :created_on: Nov 25, 2010 |
|
9 | 9 | :author: marcink |
|
10 | 10 | :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> |
|
11 | 11 | :license: GPLv3, see COPYING for more details. |
|
12 | 12 | |
|
13 | 13 | |
|
14 | 14 | :example: |
|
15 | 15 | |
|
16 | 16 | .. code-block:: python |
|
17 | 17 | |
|
18 | 18 | from paste.deploy import appconfig |
|
19 | 19 | from pylons import config |
|
20 | 20 | from sqlalchemy import engine_from_config |
|
21 | 21 | from rhodecode.config.environment import load_environment |
|
22 | 22 | |
|
23 | 23 | conf = appconfig('config:development.ini', relative_to = './../../') |
|
24 | 24 | load_environment(conf.global_conf, conf.local_conf) |
|
25 | 25 | |
|
26 | 26 | engine = engine_from_config(config, 'sqlalchemy.') |
|
27 | 27 | init_model(engine) |
|
28 | 28 | # RUN YOUR CODE HERE |
|
29 | 29 | |
|
30 | 30 | """ |
|
31 | 31 | # This program is free software: you can redistribute it and/or modify |
|
32 | 32 | # it under the terms of the GNU General Public License as published by |
|
33 | 33 | # the Free Software Foundation, either version 3 of the License, or |
|
34 | 34 | # (at your option) any later version. |
|
35 | 35 | # |
|
36 | 36 | # This program is distributed in the hope that it will be useful, |
|
37 | 37 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
38 | 38 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
39 | 39 | # GNU General Public License for more details. |
|
40 | 40 | # |
|
41 | 41 | # You should have received a copy of the GNU General Public License |
|
42 | 42 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
43 | 43 | |
|
44 | 44 | import logging |
|
45 | 45 | |
|
46 | 46 | from rhodecode.model import meta |
|
47 | 47 | |
|
48 | 48 | log = logging.getLogger(__name__) |
|
49 | 49 | |
|
50 | 50 | |
|
51 | 51 | def init_model(engine): |
|
52 | 52 | """ |
|
53 | 53 | Initializes db session, bind the engine with the metadata, |
|
54 | 54 | Call this before using any of the tables or classes in the model, |
|
55 | 55 | preferably once in application start |
|
56 | 56 | |
|
57 | 57 | :param engine: engine to bind to |
|
58 | 58 | """ |
|
59 | 59 | log.info("initializing db for %s", engine) |
|
60 | 60 | meta.Base.metadata.bind = engine |
|
61 | 61 | |
|
62 | 62 | |
|
63 | 63 | class BaseModel(object): |
|
64 | """Base Model for all RhodeCode models, it adds sql alchemy session | |
|
64 | """ | |
|
65 | Base Model for all RhodeCode models, it adds sql alchemy session | |
|
65 | 66 | into instance of model |
|
66 | 67 | |
|
67 | 68 | :param sa: If passed it reuses this session instead of creating a new one |
|
68 | 69 | """ |
|
69 | 70 | |
|
70 | 71 | def __init__(self, sa=None): |
|
71 | 72 | if sa is not None: |
|
72 | 73 | self.sa = sa |
|
73 | 74 | else: |
|
74 | 75 | self.sa = meta.Session |
|
75 | 76 | |
|
76 | 77 | def _get_instance(self, cls, instance): |
|
77 | 78 | """ |
|
78 | 79 | Get's instance of given cls using some simple lookup mechanism |
|
79 | 80 | |
|
80 | 81 | :param cls: class to fetch |
|
81 | 82 | :param instance: int or Instance |
|
82 | 83 | """ |
|
83 | 84 | |
|
84 | 85 | if isinstance(instance, cls): |
|
85 | 86 | return instance |
|
86 | 87 | elif isinstance(instance, int) or str(instance).isdigit(): |
|
87 | 88 | return cls.get(instance) |
|
88 | 89 | else: |
|
89 | 90 | if instance: |
|
90 | 91 | raise Exception('given object must be int or Instance' |
|
91 | 92 | ' of %s got %s' % (type(cls), |
|
92 | 93 | type(instance))) |
@@ -1,372 +1,372 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """ |
|
3 | 3 | rhodecode.model.scm |
|
4 | 4 | ~~~~~~~~~~~~~~~~~~~ |
|
5 | 5 | |
|
6 | 6 | Scm model for RhodeCode |
|
7 | 7 | |
|
8 | 8 | :created_on: Apr 9, 2010 |
|
9 | 9 | :author: marcink |
|
10 | 10 | :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> |
|
11 | 11 | :license: GPLv3, see COPYING for more details. |
|
12 | 12 | """ |
|
13 | 13 | # This program is free software: you can redistribute it and/or modify |
|
14 | 14 | # it under the terms of the GNU General Public License as published by |
|
15 | 15 | # the Free Software Foundation, either version 3 of the License, or |
|
16 | 16 | # (at your option) any later version. |
|
17 | 17 | # |
|
18 | 18 | # This program is distributed in the hope that it will be useful, |
|
19 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 | 21 | # GNU General Public License for more details. |
|
22 | 22 | # |
|
23 | 23 | # You should have received a copy of the GNU General Public License |
|
24 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
25 | 25 | import os |
|
26 | 26 | import time |
|
27 | 27 | import traceback |
|
28 | 28 | import logging |
|
29 | 29 | |
|
30 | 30 | from vcs import get_backend |
|
31 | 31 | from vcs.exceptions import RepositoryError |
|
32 | 32 | from vcs.utils.lazy import LazyProperty |
|
33 | 33 | from vcs.nodes import FileNode |
|
34 | 34 | |
|
35 | 35 | from rhodecode import BACKENDS |
|
36 | 36 | from rhodecode.lib import helpers as h |
|
37 | 37 | from rhodecode.lib import safe_str |
|
38 | 38 | from rhodecode.lib.auth import HasRepoPermissionAny |
|
39 | 39 | from rhodecode.lib.utils import get_repos as get_filesystem_repos, make_ui, \ |
|
40 | 40 | action_logger, EmptyChangeset |
|
41 | 41 | from rhodecode.model import BaseModel |
|
42 | 42 | from rhodecode.model.db import Repository, RhodeCodeUi, CacheInvalidation, \ |
|
43 | 43 | UserFollowing, UserLog, User |
|
44 | 44 | |
|
45 | 45 | log = logging.getLogger(__name__) |
|
46 | 46 | |
|
47 | 47 | |
|
48 | 48 | class UserTemp(object): |
|
49 | 49 | def __init__(self, user_id): |
|
50 | 50 | self.user_id = user_id |
|
51 | 51 | |
|
52 | 52 | def __repr__(self): |
|
53 | 53 | return "<%s('id:%s')>" % (self.__class__.__name__, self.user_id) |
|
54 | 54 | |
|
55 | 55 | |
|
56 | 56 | class RepoTemp(object): |
|
57 | 57 | def __init__(self, repo_id): |
|
58 | 58 | self.repo_id = repo_id |
|
59 | 59 | |
|
60 | 60 | def __repr__(self): |
|
61 | 61 | return "<%s('id:%s')>" % (self.__class__.__name__, self.repo_id) |
|
62 | 62 | |
|
63 | 63 | class CachedRepoList(object): |
|
64 | 64 | |
|
65 | 65 | def __init__(self, db_repo_list, repos_path, order_by=None): |
|
66 | 66 | self.db_repo_list = db_repo_list |
|
67 | 67 | self.repos_path = repos_path |
|
68 | 68 | self.order_by = order_by |
|
69 | 69 | self.reversed = (order_by or '').startswith('-') |
|
70 | 70 | |
|
71 | 71 | def __len__(self): |
|
72 | 72 | return len(self.db_repo_list) |
|
73 | 73 | |
|
74 | 74 | def __repr__(self): |
|
75 | 75 | return '<%s (%s)>' % (self.__class__.__name__, self.__len__()) |
|
76 | 76 | |
|
77 | 77 | def __iter__(self): |
|
78 | 78 | for dbr in self.db_repo_list: |
|
79 | 79 | scmr = dbr.scm_instance_cached |
|
80 | 80 | # check permission at this level |
|
81 | 81 | if not HasRepoPermissionAny('repository.read', 'repository.write', |
|
82 | 82 | 'repository.admin')(dbr.repo_name, |
|
83 | 83 | 'get repo check'): |
|
84 | 84 | continue |
|
85 | 85 | |
|
86 | 86 | if scmr is None: |
|
87 | 87 | log.error('%s this repository is present in database but it ' |
|
88 | 88 | 'cannot be created as an scm instance', |
|
89 | 89 | dbr.repo_name) |
|
90 | 90 | continue |
|
91 | 91 | |
|
92 | 92 | last_change = scmr.last_change |
|
93 | 93 | tip = h.get_changeset_safe(scmr, 'tip') |
|
94 | 94 | |
|
95 | 95 | tmp_d = {} |
|
96 | 96 | tmp_d['name'] = dbr.repo_name |
|
97 | 97 | tmp_d['name_sort'] = tmp_d['name'].lower() |
|
98 | 98 | tmp_d['description'] = dbr.description |
|
99 | 99 | tmp_d['description_sort'] = tmp_d['description'] |
|
100 | 100 | tmp_d['last_change'] = last_change |
|
101 | 101 | tmp_d['last_change_sort'] = time.mktime(last_change.timetuple()) |
|
102 | 102 | tmp_d['tip'] = tip.raw_id |
|
103 | 103 | tmp_d['tip_sort'] = tip.revision |
|
104 | 104 | tmp_d['rev'] = tip.revision |
|
105 | 105 | tmp_d['contact'] = dbr.user.full_contact |
|
106 | 106 | tmp_d['contact_sort'] = tmp_d['contact'] |
|
107 | 107 | tmp_d['owner_sort'] = tmp_d['contact'] |
|
108 | 108 | tmp_d['repo_archives'] = list(scmr._get_archives()) |
|
109 | 109 | tmp_d['last_msg'] = tip.message |
|
110 | 110 | tmp_d['author'] = tip.author |
|
111 | 111 | tmp_d['dbrepo'] = dbr.get_dict() |
|
112 | 112 | tmp_d['dbrepo_fork'] = dbr.fork.get_dict() if dbr.fork else {} |
|
113 | 113 | yield tmp_d |
|
114 | 114 | |
|
115 | 115 | class ScmModel(BaseModel): |
|
116 | 116 | """ |
|
117 | 117 | Generic Scm Model |
|
118 | 118 | """ |
|
119 | 119 | |
|
120 | 120 | @LazyProperty |
|
121 | 121 | def repos_path(self): |
|
122 | 122 | """ |
|
123 | 123 | Get's the repositories root path from database |
|
124 | 124 | """ |
|
125 | 125 | |
|
126 | 126 | q = self.sa.query(RhodeCodeUi).filter(RhodeCodeUi.ui_key == '/').one() |
|
127 | 127 | |
|
128 | 128 | return q.ui_value |
|
129 | 129 | |
|
130 | 130 | def repo_scan(self, repos_path=None): |
|
131 | 131 | """ |
|
132 | 132 | Listing of repositories in given path. This path should not be a |
|
133 | 133 | repository itself. Return a dictionary of repository objects |
|
134 | 134 | |
|
135 | 135 | :param repos_path: path to directory containing repositories |
|
136 | 136 | """ |
|
137 | 137 | |
|
138 | 138 | log.info('scanning for repositories in %s', repos_path) |
|
139 | 139 | |
|
140 | 140 | if repos_path is None: |
|
141 | 141 | repos_path = self.repos_path |
|
142 | 142 | |
|
143 | 143 | baseui = make_ui('db') |
|
144 |
repos |
|
|
144 | repos = {} | |
|
145 | 145 | |
|
146 | 146 | for name, path in get_filesystem_repos(repos_path, recursive=True): |
|
147 | 147 | |
|
148 | 148 | # name need to be decomposed and put back together using the / |
|
149 | 149 | # since this is internal storage separator for rhodecode |
|
150 | 150 | name = Repository.url_sep().join(name.split(os.sep)) |
|
151 | 151 | |
|
152 | 152 | try: |
|
153 |
if name in repos |
|
|
153 | if name in repos: | |
|
154 | 154 | raise RepositoryError('Duplicate repository name %s ' |
|
155 | 155 | 'found in %s' % (name, path)) |
|
156 | 156 | else: |
|
157 | 157 | |
|
158 | 158 | klass = get_backend(path[0]) |
|
159 | 159 | |
|
160 | 160 | if path[0] == 'hg' and path[0] in BACKENDS.keys(): |
|
161 | 161 | |
|
162 | 162 | # for mercurial we need to have an str path |
|
163 |
repos |
|
|
163 | repos[name] = klass(safe_str(path[1]), | |
|
164 | 164 | baseui=baseui) |
|
165 | 165 | |
|
166 | 166 | if path[0] == 'git' and path[0] in BACKENDS.keys(): |
|
167 |
repos |
|
|
167 | repos[name] = klass(path[1]) | |
|
168 | 168 | except OSError: |
|
169 | 169 | continue |
|
170 | 170 | |
|
171 |
return repos |
|
|
171 | return repos | |
|
172 | 172 | |
|
173 | 173 | def get_repos(self, all_repos=None, sort_key=None): |
|
174 | 174 | """ |
|
175 | 175 | Get all repos from db and for each repo create it's |
|
176 | 176 | backend instance and fill that backed with information from database |
|
177 | 177 | |
|
178 | 178 | :param all_repos: list of repository names as strings |
|
179 | 179 | give specific repositories list, good for filtering |
|
180 | 180 | """ |
|
181 | 181 | if all_repos is None: |
|
182 | 182 | all_repos = self.sa.query(Repository)\ |
|
183 | 183 | .filter(Repository.group_id == None)\ |
|
184 | 184 | .order_by(Repository.repo_name).all() |
|
185 | 185 | |
|
186 | 186 | repo_iter = CachedRepoList(all_repos, repos_path=self.repos_path, |
|
187 | 187 | order_by=sort_key) |
|
188 | 188 | |
|
189 | 189 | return repo_iter |
|
190 | 190 | |
|
191 | 191 | def mark_for_invalidation(self, repo_name): |
|
192 | 192 | """Puts cache invalidation task into db for |
|
193 | 193 | further global cache invalidation |
|
194 | 194 | |
|
195 | 195 | :param repo_name: this repo that should invalidation take place |
|
196 | 196 | """ |
|
197 | 197 | CacheInvalidation.set_invalidate(repo_name) |
|
198 | 198 | CacheInvalidation.set_invalidate(repo_name + "_README") |
|
199 | 199 | |
|
200 | 200 | def toggle_following_repo(self, follow_repo_id, user_id): |
|
201 | 201 | |
|
202 | 202 | f = self.sa.query(UserFollowing)\ |
|
203 | 203 | .filter(UserFollowing.follows_repo_id == follow_repo_id)\ |
|
204 | 204 | .filter(UserFollowing.user_id == user_id).scalar() |
|
205 | 205 | |
|
206 | 206 | if f is not None: |
|
207 | 207 | try: |
|
208 | 208 | self.sa.delete(f) |
|
209 | 209 | action_logger(UserTemp(user_id), |
|
210 | 210 | 'stopped_following_repo', |
|
211 | 211 | RepoTemp(follow_repo_id)) |
|
212 | 212 | return |
|
213 | 213 | except: |
|
214 | 214 | log.error(traceback.format_exc()) |
|
215 | 215 | raise |
|
216 | 216 | |
|
217 | 217 | try: |
|
218 | 218 | f = UserFollowing() |
|
219 | 219 | f.user_id = user_id |
|
220 | 220 | f.follows_repo_id = follow_repo_id |
|
221 | 221 | self.sa.add(f) |
|
222 | 222 | |
|
223 | 223 | action_logger(UserTemp(user_id), |
|
224 | 224 | 'started_following_repo', |
|
225 | 225 | RepoTemp(follow_repo_id)) |
|
226 | 226 | except: |
|
227 | 227 | log.error(traceback.format_exc()) |
|
228 | 228 | raise |
|
229 | 229 | |
|
230 | 230 | def toggle_following_user(self, follow_user_id, user_id): |
|
231 | 231 | f = self.sa.query(UserFollowing)\ |
|
232 | 232 | .filter(UserFollowing.follows_user_id == follow_user_id)\ |
|
233 | 233 | .filter(UserFollowing.user_id == user_id).scalar() |
|
234 | 234 | |
|
235 | 235 | if f is not None: |
|
236 | 236 | try: |
|
237 | 237 | self.sa.delete(f) |
|
238 | 238 | return |
|
239 | 239 | except: |
|
240 | 240 | log.error(traceback.format_exc()) |
|
241 | 241 | raise |
|
242 | 242 | |
|
243 | 243 | try: |
|
244 | 244 | f = UserFollowing() |
|
245 | 245 | f.user_id = user_id |
|
246 | 246 | f.follows_user_id = follow_user_id |
|
247 | 247 | self.sa.add(f) |
|
248 | 248 | except: |
|
249 | 249 | log.error(traceback.format_exc()) |
|
250 | 250 | raise |
|
251 | 251 | |
|
252 | 252 | def is_following_repo(self, repo_name, user_id, cache=False): |
|
253 | 253 | r = self.sa.query(Repository)\ |
|
254 | 254 | .filter(Repository.repo_name == repo_name).scalar() |
|
255 | 255 | |
|
256 | 256 | f = self.sa.query(UserFollowing)\ |
|
257 | 257 | .filter(UserFollowing.follows_repository == r)\ |
|
258 | 258 | .filter(UserFollowing.user_id == user_id).scalar() |
|
259 | 259 | |
|
260 | 260 | return f is not None |
|
261 | 261 | |
|
262 | 262 | def is_following_user(self, username, user_id, cache=False): |
|
263 | 263 | u = User.get_by_username(username) |
|
264 | 264 | |
|
265 | 265 | f = self.sa.query(UserFollowing)\ |
|
266 | 266 | .filter(UserFollowing.follows_user == u)\ |
|
267 | 267 | .filter(UserFollowing.user_id == user_id).scalar() |
|
268 | 268 | |
|
269 | 269 | return f is not None |
|
270 | 270 | |
|
271 | 271 | def get_followers(self, repo_id): |
|
272 | 272 | if not isinstance(repo_id, int): |
|
273 | 273 | repo_id = getattr(Repository.get_by_repo_name(repo_id), 'repo_id') |
|
274 | 274 | |
|
275 | 275 | return self.sa.query(UserFollowing)\ |
|
276 | 276 | .filter(UserFollowing.follows_repo_id == repo_id).count() |
|
277 | 277 | |
|
278 | 278 | def get_forks(self, repo_id): |
|
279 | 279 | if not isinstance(repo_id, int): |
|
280 | 280 | repo_id = getattr(Repository.get_by_repo_name(repo_id), 'repo_id') |
|
281 | 281 | |
|
282 | 282 | return self.sa.query(Repository)\ |
|
283 | 283 | .filter(Repository.fork_id == repo_id).count() |
|
284 | 284 | |
|
285 | 285 | def pull_changes(self, repo_name, username): |
|
286 | 286 | dbrepo = Repository.get_by_repo_name(repo_name) |
|
287 | 287 | clone_uri = dbrepo.clone_uri |
|
288 | 288 | if not clone_uri: |
|
289 | 289 | raise Exception("This repository doesn't have a clone uri") |
|
290 | 290 | |
|
291 | 291 | repo = dbrepo.scm_instance |
|
292 | 292 | try: |
|
293 | 293 | extras = {'ip': '', |
|
294 | 294 | 'username': username, |
|
295 | 295 | 'action': 'push_remote', |
|
296 | 296 | 'repository': repo_name} |
|
297 | 297 | |
|
298 | 298 | #inject ui extra param to log this action via push logger |
|
299 | 299 | for k, v in extras.items(): |
|
300 | 300 | repo._repo.ui.setconfig('rhodecode_extras', k, v) |
|
301 | 301 | |
|
302 | 302 | repo.pull(clone_uri) |
|
303 | 303 | self.mark_for_invalidation(repo_name) |
|
304 | 304 | except: |
|
305 | 305 | log.error(traceback.format_exc()) |
|
306 | 306 | raise |
|
307 | 307 | |
|
308 | 308 | def commit_change(self, repo, repo_name, cs, user, author, message, |
|
309 | 309 | content, f_path): |
|
310 | 310 | |
|
311 | 311 | if repo.alias == 'hg': |
|
312 | 312 | from vcs.backends.hg import MercurialInMemoryChangeset as IMC |
|
313 | 313 | elif repo.alias == 'git': |
|
314 | 314 | from vcs.backends.git import GitInMemoryChangeset as IMC |
|
315 | 315 | |
|
316 | 316 | # decoding here will force that we have proper encoded values |
|
317 | 317 | # in any other case this will throw exceptions and deny commit |
|
318 | 318 | content = safe_str(content) |
|
319 | 319 | message = safe_str(message) |
|
320 | 320 | path = safe_str(f_path) |
|
321 | 321 | author = safe_str(author) |
|
322 | 322 | m = IMC(repo) |
|
323 | 323 | m.change(FileNode(path, content)) |
|
324 | 324 | tip = m.commit(message=message, |
|
325 | 325 | author=author, |
|
326 | 326 | parents=[cs], branch=cs.branch) |
|
327 | 327 | |
|
328 | 328 | new_cs = tip.short_id |
|
329 | 329 | action = 'push_local:%s' % new_cs |
|
330 | 330 | |
|
331 | 331 | action_logger(user, action, repo_name) |
|
332 | 332 | |
|
333 | 333 | self.mark_for_invalidation(repo_name) |
|
334 | 334 | |
|
335 | 335 | def create_node(self, repo, repo_name, cs, user, author, message, content, |
|
336 | 336 | f_path): |
|
337 | 337 | if repo.alias == 'hg': |
|
338 | 338 | from vcs.backends.hg import MercurialInMemoryChangeset as IMC |
|
339 | 339 | elif repo.alias == 'git': |
|
340 | 340 | from vcs.backends.git import GitInMemoryChangeset as IMC |
|
341 | 341 | # decoding here will force that we have proper encoded values |
|
342 | 342 | # in any other case this will throw exceptions and deny commit |
|
343 | 343 | |
|
344 | 344 | if isinstance(content, (basestring,)): |
|
345 | 345 | content = safe_str(content) |
|
346 | 346 | elif isinstance(content, file): |
|
347 | 347 | content = content.read() |
|
348 | 348 | |
|
349 | 349 | message = safe_str(message) |
|
350 | 350 | path = safe_str(f_path) |
|
351 | 351 | author = safe_str(author) |
|
352 | 352 | m = IMC(repo) |
|
353 | 353 | |
|
354 | 354 | if isinstance(cs, EmptyChangeset): |
|
355 | 355 | # Emptychangeset means we we're editing empty repository |
|
356 | 356 | parents = None |
|
357 | 357 | else: |
|
358 | 358 | parents = [cs] |
|
359 | 359 | |
|
360 | 360 | m.add(FileNode(path, content=content)) |
|
361 | 361 | tip = m.commit(message=message, |
|
362 | 362 | author=author, |
|
363 | 363 | parents=parents, branch=cs.branch) |
|
364 | 364 | new_cs = tip.short_id |
|
365 | 365 | action = 'push_local:%s' % new_cs |
|
366 | 366 | |
|
367 | 367 | action_logger(user, action, repo_name) |
|
368 | 368 | |
|
369 | 369 | self.mark_for_invalidation(repo_name) |
|
370 | 370 | |
|
371 | 371 | def get_unread_journal(self): |
|
372 | 372 | return self.sa.query(UserLog).count() |
@@ -1,150 +1,150 b'' | |||
|
1 | 1 | div.diffblock { |
|
2 | 2 | overflow: auto; |
|
3 | 3 | padding: 0px; |
|
4 | 4 | border: 1px solid #ccc; |
|
5 | 5 | background: #f8f8f8; |
|
6 | 6 | font-size: 100%; |
|
7 | 7 | line-height: 100%; |
|
8 | 8 | /* new */ |
|
9 | 9 | line-height: 125%; |
|
10 |
|
|
|
10 | -webkit-border-radius: 6px 6px 0px 0px; | |
|
11 | 11 | -moz-border-radius: 6px 6px 0px 0px; |
|
12 | 12 | border-radius: 6px 6px 0px 0px; |
|
13 | 13 | } |
|
14 | 14 | |
|
15 | 15 | div.diffblock.margined{ |
|
16 | 16 | margin: 0px 20px 0px 20px; |
|
17 | 17 | } |
|
18 | 18 | |
|
19 | 19 | div.diffblock .code-header{ |
|
20 | 20 | border-bottom: 1px solid #CCCCCC; |
|
21 | 21 | background: #EEEEEE; |
|
22 | 22 | padding:10px 0 10px 0; |
|
23 | 23 | } |
|
24 | 24 | div.diffblock .code-header div{ |
|
25 | 25 | margin-left:10px; |
|
26 | 26 | font-weight: bold; |
|
27 | 27 | font-size: 14px; |
|
28 | 28 | } |
|
29 | 29 | div.diffblock .code-body{ |
|
30 | 30 | background: #FFFFFF; |
|
31 | 31 | } |
|
32 | 32 | div.diffblock pre.raw{ |
|
33 | 33 | background: #FFFFFF; |
|
34 | 34 | color:#000000; |
|
35 | 35 | } |
|
36 | 36 | |
|
37 | 37 | table.code-difftable{ |
|
38 | 38 | border-collapse: collapse; |
|
39 | 39 | width: 99%; |
|
40 | 40 | } |
|
41 | 41 | |
|
42 | 42 | table.code-difftable td { |
|
43 | 43 | padding: 0 !important; |
|
44 | 44 | background: none !important; |
|
45 | 45 | border:0 !important; |
|
46 | 46 | } |
|
47 | 47 | |
|
48 | 48 | |
|
49 | 49 | .code-difftable .context{ |
|
50 | 50 | background:none repeat scroll 0 0 #DDE7EF; |
|
51 | 51 | } |
|
52 | 52 | .code-difftable .add{ |
|
53 | 53 | background:none repeat scroll 0 0 #DDFFDD; |
|
54 | 54 | } |
|
55 | 55 | .code-difftable .add ins{ |
|
56 | 56 | background:none repeat scroll 0 0 #AAFFAA; |
|
57 | 57 | text-decoration:none; |
|
58 | 58 | } |
|
59 | 59 | |
|
60 | 60 | .code-difftable .del{ |
|
61 | 61 | background:none repeat scroll 0 0 #FFDDDD; |
|
62 | 62 | } |
|
63 | 63 | .code-difftable .del del{ |
|
64 | 64 | background:none repeat scroll 0 0 #FFAAAA; |
|
65 | 65 | text-decoration:none; |
|
66 | 66 | } |
|
67 | 67 | |
|
68 | 68 | .code-difftable .lineno{ |
|
69 | 69 | background:none repeat scroll 0 0 #EEEEEE !important; |
|
70 | 70 | padding-left:2px; |
|
71 | 71 | padding-right:2px; |
|
72 | 72 | text-align:right; |
|
73 | 73 | width:30px; |
|
74 | 74 | -moz-user-select:none; |
|
75 | 75 | -webkit-user-select: none; |
|
76 | 76 | } |
|
77 | 77 | .code-difftable .lineno-inline{ |
|
78 | 78 | background:none repeat scroll 0 0 #FFF !important; |
|
79 | 79 | padding-left:2px; |
|
80 | 80 | padding-right:2px; |
|
81 | 81 | text-align:right; |
|
82 | 82 | width:30px; |
|
83 | 83 | -moz-user-select:none; |
|
84 | 84 | -webkit-user-select: none; |
|
85 | 85 | } |
|
86 | 86 | .code-difftable .new { |
|
87 | 87 | border-right: 1px solid #CCC !important; |
|
88 | 88 | } |
|
89 | 89 | .code-difftable .old { |
|
90 | 90 | border-right: 1px solid #CCC !important; |
|
91 | 91 | } |
|
92 | 92 | |
|
93 | 93 | .code-difftable .lineno-inline.new-inline{ |
|
94 | 94 | |
|
95 | 95 | } |
|
96 | 96 | .code-difftable .lineno-inline.old-inline{ |
|
97 | 97 | border-right: 1px solid #CCC !important; |
|
98 | 98 | } |
|
99 | 99 | |
|
100 | 100 | .code-difftable .lineno pre{ |
|
101 | 101 | color:#747474 !important; |
|
102 | 102 | font:11px "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace !important; |
|
103 | 103 | letter-spacing:-1px; |
|
104 | 104 | text-align:right; |
|
105 | 105 | width:20px; |
|
106 | 106 | } |
|
107 | 107 | .code-difftable .lineno a{ |
|
108 | 108 | font-weight: 700; |
|
109 | 109 | cursor: pointer; |
|
110 | 110 | } |
|
111 | 111 | .code-difftable .code td{ |
|
112 | 112 | margin:0; |
|
113 | 113 | padding: 0; |
|
114 | 114 | } |
|
115 | 115 | .code-difftable .code pre{ |
|
116 | 116 | margin:0; |
|
117 | 117 | padding:0; |
|
118 | 118 | } |
|
119 | 119 | |
|
120 | 120 | .code { |
|
121 | 121 | display: block; |
|
122 | 122 | width: 100%; |
|
123 | 123 | } |
|
124 | 124 | .code-diff { |
|
125 | 125 | padding: 0px; |
|
126 | 126 | margin-top: 5px; |
|
127 | 127 | margin-bottom: 5px; |
|
128 | 128 | border-left: 2px solid #ccc; |
|
129 | 129 | } |
|
130 | 130 | .code-diff pre, .line pre { |
|
131 | 131 | padding: 3px; |
|
132 | 132 | margin: 0; |
|
133 | 133 | } |
|
134 | 134 | .lineno a { |
|
135 | 135 | text-decoration: none; |
|
136 | 136 | } |
|
137 | 137 | |
|
138 | 138 | .line{ |
|
139 | 139 | padding:0; |
|
140 | 140 | margin:0; |
|
141 | 141 | } |
|
142 | 142 | |
|
143 | 143 | .diffblock.margined.comm .line:hover{ |
|
144 | 144 | background-color:#FFFFCC !important; |
|
145 | 145 | cursor: pointer !important; |
|
146 | 146 | background-image:url("../images/icons/comment_add.png") !important; |
|
147 | 147 | background-repeat:no-repeat !important; |
|
148 | 148 | background-position: right !important; |
|
149 | 149 | background-position: 100% 50% !important; |
|
150 | 150 | } No newline at end of file |
@@ -1,3590 +1,3614 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 | .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 | .quick_repo_menu.active { |
|
660 | 660 | background: url("../images/horizontal-indicator.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 | .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 | .quick_repo_menu .menu_items li { |
|
682 | 682 | padding: 0 !important; |
|
683 | 683 | } |
|
684 | 684 | |
|
685 | 685 | .quick_repo_menu .menu_items a { |
|
686 | 686 | display: block; |
|
687 | 687 | padding: 4px 12px 4px 8px; |
|
688 | 688 | } |
|
689 | 689 | |
|
690 | 690 | .quick_repo_menu .menu_items a:hover { |
|
691 | 691 | background-color: #EEE; |
|
692 | 692 | text-decoration: none; |
|
693 | 693 | } |
|
694 | 694 | |
|
695 | 695 | .quick_repo_menu .menu_items .icon img { |
|
696 | 696 | margin-bottom: -2px; |
|
697 | 697 | } |
|
698 | 698 | |
|
699 | 699 | .quick_repo_menu .menu_items.hidden { |
|
700 | 700 | display: none; |
|
701 | 701 | } |
|
702 | 702 | |
|
703 | 703 | #content #left { |
|
704 | 704 | left: 0; |
|
705 | 705 | width: 280px; |
|
706 | 706 | position: absolute; |
|
707 | 707 | } |
|
708 | 708 | |
|
709 | 709 | #content #right { |
|
710 | 710 | margin: 0 60px 10px 290px; |
|
711 | 711 | } |
|
712 | 712 | |
|
713 | 713 | #content div.box { |
|
714 | 714 | clear: both; |
|
715 | 715 | overflow: hidden; |
|
716 | 716 | background: #fff; |
|
717 | 717 | margin: 0 0 10px; |
|
718 | 718 | padding: 0 0 10px; |
|
719 | 719 | -webkit-border-radius: 4px 4px 4px 4px; |
|
720 | 720 | -khtml-border-radius: 4px 4px 4px 4px; |
|
721 | 721 | -moz-border-radius: 4px 4px 4px 4px; |
|
722 | 722 | border-radius: 4px 4px 4px 4px; |
|
723 | 723 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
724 | 724 | } |
|
725 | 725 | |
|
726 | 726 | #content div.box-left { |
|
727 | 727 | width: 49%; |
|
728 | 728 | clear: none; |
|
729 | 729 | float: left; |
|
730 | 730 | margin: 0 0 10px; |
|
731 | 731 | } |
|
732 | 732 | |
|
733 | 733 | #content div.box-right { |
|
734 | 734 | width: 49%; |
|
735 | 735 | clear: none; |
|
736 | 736 | float: right; |
|
737 | 737 | margin: 0 0 10px; |
|
738 | 738 | } |
|
739 | 739 | |
|
740 | 740 | #content div.box div.title { |
|
741 | 741 | clear: both; |
|
742 | 742 | overflow: hidden; |
|
743 | 743 | background-color: #eedc94; |
|
744 | 744 | background-repeat: repeat-x; |
|
745 | 745 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
746 | 746 | to(#eedc94) ); |
|
747 | 747 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
748 | 748 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
749 | 749 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
750 | 750 | color-stop(100%, #00376e) ); |
|
751 | 751 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
752 | 752 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
753 | 753 | background-image: linear-gradient(top, #003b76, #00376e); |
|
754 | 754 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
755 | 755 | endColorstr='#00376e', GradientType=0 ); |
|
756 | 756 | margin: 0 0 20px; |
|
757 | 757 | padding: 0; |
|
758 | 758 | } |
|
759 | 759 | |
|
760 | 760 | #content div.box div.title h5 { |
|
761 | 761 | float: left; |
|
762 | 762 | border: none; |
|
763 | 763 | color: #fff; |
|
764 | 764 | text-transform: uppercase; |
|
765 | 765 | margin: 0; |
|
766 | 766 | padding: 11px 0 11px 10px; |
|
767 | 767 | } |
|
768 | 768 | |
|
769 | 769 | #content div.box div.title .link-white{ |
|
770 | 770 | color: #FFFFFF; |
|
771 | 771 | } |
|
772 | 772 | |
|
773 | 773 | #content div.box div.title ul.links li { |
|
774 | 774 | list-style: none; |
|
775 | 775 | float: left; |
|
776 | 776 | margin: 0; |
|
777 | 777 | padding: 0; |
|
778 | 778 | } |
|
779 | 779 | |
|
780 | 780 | #content div.box div.title ul.links li a { |
|
781 | 781 | border-left: 1px solid #316293; |
|
782 | 782 | color: #FFFFFF; |
|
783 | 783 | display: block; |
|
784 | 784 | float: left; |
|
785 | 785 | font-size: 13px; |
|
786 | 786 | font-weight: 700; |
|
787 | 787 | height: 1%; |
|
788 | 788 | margin: 0; |
|
789 | 789 | padding: 11px 22px 12px; |
|
790 | 790 | text-decoration: none; |
|
791 | 791 | } |
|
792 | 792 | |
|
793 | 793 | #content div.box h1,#content div.box h2,#content div.box h3,#content div.box h4,#content div.box h5,#content div.box h6 |
|
794 | 794 | { |
|
795 | 795 | clear: both; |
|
796 | 796 | overflow: hidden; |
|
797 | 797 | border-bottom: 1px solid #DDD; |
|
798 | 798 | margin: 10px 20px; |
|
799 | 799 | padding: 0 0 15px; |
|
800 | 800 | } |
|
801 | 801 | |
|
802 | 802 | #content div.box p { |
|
803 | 803 | color: #5f5f5f; |
|
804 | 804 | font-size: 12px; |
|
805 | 805 | line-height: 150%; |
|
806 | 806 | margin: 0 24px 10px; |
|
807 | 807 | padding: 0; |
|
808 | 808 | } |
|
809 | 809 | |
|
810 | 810 | #content div.box blockquote { |
|
811 | 811 | border-left: 4px solid #DDD; |
|
812 | 812 | color: #5f5f5f; |
|
813 | 813 | font-size: 11px; |
|
814 | 814 | line-height: 150%; |
|
815 | 815 | margin: 0 34px; |
|
816 | 816 | padding: 0 0 0 14px; |
|
817 | 817 | } |
|
818 | 818 | |
|
819 | 819 | #content div.box blockquote p { |
|
820 | 820 | margin: 10px 0; |
|
821 | 821 | padding: 0; |
|
822 | 822 | } |
|
823 | 823 | |
|
824 | 824 | #content div.box dl { |
|
825 | 825 | margin: 10px 0px; |
|
826 | 826 | } |
|
827 | 827 | |
|
828 | 828 | #content div.box dt { |
|
829 | 829 | font-size: 12px; |
|
830 | 830 | margin: 0; |
|
831 | 831 | } |
|
832 | 832 | |
|
833 | 833 | #content div.box dd { |
|
834 | 834 | font-size: 12px; |
|
835 | 835 | margin: 0; |
|
836 | 836 | padding: 8px 0 8px 15px; |
|
837 | 837 | } |
|
838 | 838 | |
|
839 | 839 | #content div.box li { |
|
840 | 840 | font-size: 12px; |
|
841 | 841 | padding: 4px 0; |
|
842 | 842 | } |
|
843 | 843 | |
|
844 | 844 | #content div.box ul.disc,#content div.box ul.circle { |
|
845 | 845 | margin: 10px 24px 10px 38px; |
|
846 | 846 | } |
|
847 | 847 | |
|
848 | 848 | #content div.box ul.square { |
|
849 | 849 | margin: 10px 24px 10px 40px; |
|
850 | 850 | } |
|
851 | 851 | |
|
852 | 852 | #content div.box img.left { |
|
853 | 853 | border: none; |
|
854 | 854 | float: left; |
|
855 | 855 | margin: 10px 10px 10px 0; |
|
856 | 856 | } |
|
857 | 857 | |
|
858 | 858 | #content div.box img.right { |
|
859 | 859 | border: none; |
|
860 | 860 | float: right; |
|
861 | 861 | margin: 10px 0 10px 10px; |
|
862 | 862 | } |
|
863 | 863 | |
|
864 | 864 | #content div.box div.messages { |
|
865 | 865 | clear: both; |
|
866 | 866 | overflow: hidden; |
|
867 | 867 | margin: 0 20px; |
|
868 | 868 | padding: 0; |
|
869 | 869 | } |
|
870 | 870 | |
|
871 | 871 | #content div.box div.message { |
|
872 | 872 | clear: both; |
|
873 | 873 | overflow: hidden; |
|
874 | 874 | margin: 0; |
|
875 | 875 | padding: 10px 0; |
|
876 | 876 | } |
|
877 | 877 | |
|
878 | 878 | #content div.box div.message a { |
|
879 | 879 | font-weight: 400 !important; |
|
880 | 880 | } |
|
881 | 881 | |
|
882 | 882 | #content div.box div.message div.image { |
|
883 | 883 | float: left; |
|
884 | 884 | margin: 9px 0 0 5px; |
|
885 | 885 | padding: 6px; |
|
886 | 886 | } |
|
887 | 887 | |
|
888 | 888 | #content div.box div.message div.image img { |
|
889 | 889 | vertical-align: middle; |
|
890 | 890 | margin: 0; |
|
891 | 891 | } |
|
892 | 892 | |
|
893 | 893 | #content div.box div.message div.text { |
|
894 | 894 | float: left; |
|
895 | 895 | margin: 0; |
|
896 | 896 | padding: 9px 6px; |
|
897 | 897 | } |
|
898 | 898 | |
|
899 | 899 | #content div.box div.message div.dismiss a { |
|
900 | 900 | height: 16px; |
|
901 | 901 | width: 16px; |
|
902 | 902 | display: block; |
|
903 | 903 | background: url("../images/icons/cross.png") no-repeat; |
|
904 | 904 | margin: 15px 14px 0 0; |
|
905 | 905 | padding: 0; |
|
906 | 906 | } |
|
907 | 907 | |
|
908 | 908 | #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 |
|
909 | 909 | { |
|
910 | 910 | border: none; |
|
911 | 911 | margin: 0; |
|
912 | 912 | padding: 0; |
|
913 | 913 | } |
|
914 | 914 | |
|
915 | 915 | #content div.box div.message div.text span { |
|
916 | 916 | height: 1%; |
|
917 | 917 | display: block; |
|
918 | 918 | margin: 0; |
|
919 | 919 | padding: 5px 0 0; |
|
920 | 920 | } |
|
921 | 921 | |
|
922 | 922 | #content div.box div.message-error { |
|
923 | 923 | height: 1%; |
|
924 | 924 | clear: both; |
|
925 | 925 | overflow: hidden; |
|
926 | 926 | background: #FBE3E4; |
|
927 | 927 | border: 1px solid #FBC2C4; |
|
928 | 928 | color: #860006; |
|
929 | 929 | } |
|
930 | 930 | |
|
931 | 931 | #content div.box div.message-error h6 { |
|
932 | 932 | color: #860006; |
|
933 | 933 | } |
|
934 | 934 | |
|
935 | 935 | #content div.box div.message-warning { |
|
936 | 936 | height: 1%; |
|
937 | 937 | clear: both; |
|
938 | 938 | overflow: hidden; |
|
939 | 939 | background: #FFF6BF; |
|
940 | 940 | border: 1px solid #FFD324; |
|
941 | 941 | color: #5f5200; |
|
942 | 942 | } |
|
943 | 943 | |
|
944 | 944 | #content div.box div.message-warning h6 { |
|
945 | 945 | color: #5f5200; |
|
946 | 946 | } |
|
947 | 947 | |
|
948 | 948 | #content div.box div.message-notice { |
|
949 | 949 | height: 1%; |
|
950 | 950 | clear: both; |
|
951 | 951 | overflow: hidden; |
|
952 | 952 | background: #8FBDE0; |
|
953 | 953 | border: 1px solid #6BACDE; |
|
954 | 954 | color: #003863; |
|
955 | 955 | } |
|
956 | 956 | |
|
957 | 957 | #content div.box div.message-notice h6 { |
|
958 | 958 | color: #003863; |
|
959 | 959 | } |
|
960 | 960 | |
|
961 | 961 | #content div.box div.message-success { |
|
962 | 962 | height: 1%; |
|
963 | 963 | clear: both; |
|
964 | 964 | overflow: hidden; |
|
965 | 965 | background: #E6EFC2; |
|
966 | 966 | border: 1px solid #C6D880; |
|
967 | 967 | color: #4e6100; |
|
968 | 968 | } |
|
969 | 969 | |
|
970 | 970 | #content div.box div.message-success h6 { |
|
971 | 971 | color: #4e6100; |
|
972 | 972 | } |
|
973 | 973 | |
|
974 | 974 | #content div.box div.form div.fields div.field { |
|
975 | 975 | height: 1%; |
|
976 | 976 | border-bottom: 1px solid #DDD; |
|
977 | 977 | clear: both; |
|
978 | 978 | margin: 0; |
|
979 | 979 | padding: 10px 0; |
|
980 | 980 | } |
|
981 | 981 | |
|
982 | 982 | #content div.box div.form div.fields div.field-first { |
|
983 | 983 | padding: 0 0 10px; |
|
984 | 984 | } |
|
985 | 985 | |
|
986 | 986 | #content div.box div.form div.fields div.field-noborder { |
|
987 | 987 | border-bottom: 0 !important; |
|
988 | 988 | } |
|
989 | 989 | |
|
990 | 990 | #content div.box div.form div.fields div.field span.error-message { |
|
991 | 991 | height: 1%; |
|
992 | 992 | display: inline-block; |
|
993 | 993 | color: red; |
|
994 | 994 | margin: 8px 0 0 4px; |
|
995 | 995 | padding: 0; |
|
996 | 996 | } |
|
997 | 997 | |
|
998 | 998 | #content div.box div.form div.fields div.field span.success { |
|
999 | 999 | height: 1%; |
|
1000 | 1000 | display: block; |
|
1001 | 1001 | color: #316309; |
|
1002 | 1002 | margin: 8px 0 0; |
|
1003 | 1003 | padding: 0; |
|
1004 | 1004 | } |
|
1005 | 1005 | |
|
1006 | 1006 | #content div.box div.form div.fields div.field div.label { |
|
1007 | 1007 | left: 70px; |
|
1008 | 1008 | width: 155px; |
|
1009 | 1009 | position: absolute; |
|
1010 | 1010 | margin: 0; |
|
1011 | 1011 | padding: 5px 0 0 0px; |
|
1012 | 1012 | } |
|
1013 | 1013 | |
|
1014 | 1014 | #content div.box div.form div.fields div.field div.label-summary { |
|
1015 | 1015 | left: 30px; |
|
1016 | 1016 | width: 155px; |
|
1017 | 1017 | position: absolute; |
|
1018 | 1018 | margin: 0; |
|
1019 | 1019 | padding: 0px 0 0 0px; |
|
1020 | 1020 | } |
|
1021 | 1021 | |
|
1022 | 1022 | #content div.box-left div.form div.fields div.field div.label, |
|
1023 | 1023 | #content div.box-right div.form div.fields div.field div.label, |
|
1024 | 1024 | #content div.box-left div.form div.fields div.field div.label, |
|
1025 | 1025 | #content div.box-left div.form div.fields div.field div.label-summary, |
|
1026 | 1026 | #content div.box-right div.form div.fields div.field div.label-summary, |
|
1027 | 1027 | #content div.box-left div.form div.fields div.field div.label-summary |
|
1028 | 1028 | { |
|
1029 | 1029 | clear: both; |
|
1030 | 1030 | overflow: hidden; |
|
1031 | 1031 | left: 0; |
|
1032 | 1032 | width: auto; |
|
1033 | 1033 | position: relative; |
|
1034 | 1034 | margin: 0; |
|
1035 | 1035 | padding: 0 0 8px; |
|
1036 | 1036 | } |
|
1037 | 1037 | |
|
1038 | 1038 | #content div.box div.form div.fields div.field div.label-select { |
|
1039 | 1039 | padding: 5px 0 0 5px; |
|
1040 | 1040 | } |
|
1041 | 1041 | |
|
1042 | 1042 | #content div.box-left div.form div.fields div.field div.label-select, |
|
1043 | 1043 | #content div.box-right div.form div.fields div.field div.label-select |
|
1044 | 1044 | { |
|
1045 | 1045 | padding: 0 0 8px; |
|
1046 | 1046 | } |
|
1047 | 1047 | |
|
1048 | 1048 | #content div.box-left div.form div.fields div.field div.label-textarea, |
|
1049 | 1049 | #content div.box-right div.form div.fields div.field div.label-textarea |
|
1050 | 1050 | { |
|
1051 | 1051 | padding: 0 0 8px !important; |
|
1052 | 1052 | } |
|
1053 | 1053 | |
|
1054 | 1054 | #content div.box div.form div.fields div.field div.label label,div.label label |
|
1055 | 1055 | { |
|
1056 | 1056 | color: #393939; |
|
1057 | 1057 | font-weight: 700; |
|
1058 | 1058 | } |
|
1059 | 1059 | #content div.box div.form div.fields div.field div.label label,div.label-summary label |
|
1060 | 1060 | { |
|
1061 | 1061 | color: #393939; |
|
1062 | 1062 | font-weight: 700; |
|
1063 | 1063 | } |
|
1064 | 1064 | #content div.box div.form div.fields div.field div.input { |
|
1065 | 1065 | margin: 0 0 0 200px; |
|
1066 | 1066 | } |
|
1067 | 1067 | |
|
1068 | 1068 | #content div.box div.form div.fields div.field div.input.summary { |
|
1069 | 1069 | margin: 0 0 0 110px; |
|
1070 | 1070 | } |
|
1071 | 1071 | #content div.box div.form div.fields div.field div.input.summary-short { |
|
1072 | 1072 | margin: 0 0 0 110px; |
|
1073 | 1073 | } |
|
1074 | 1074 | #content div.box div.form div.fields div.field div.file { |
|
1075 | 1075 | margin: 0 0 0 200px; |
|
1076 | 1076 | } |
|
1077 | 1077 | |
|
1078 | 1078 | #content div.box-left div.form div.fields div.field div.input,#content div.box-right div.form div.fields div.field div.input |
|
1079 | 1079 | { |
|
1080 | 1080 | margin: 0 0 0 0px; |
|
1081 | 1081 | } |
|
1082 | 1082 | |
|
1083 | 1083 | #content div.box div.form div.fields div.field div.input input { |
|
1084 | 1084 | background: #FFF; |
|
1085 | 1085 | border-top: 1px solid #b3b3b3; |
|
1086 | 1086 | border-left: 1px solid #b3b3b3; |
|
1087 | 1087 | border-right: 1px solid #eaeaea; |
|
1088 | 1088 | border-bottom: 1px solid #eaeaea; |
|
1089 | 1089 | color: #000; |
|
1090 | 1090 | font-size: 11px; |
|
1091 | 1091 | margin: 0; |
|
1092 | 1092 | padding: 7px 7px 6px; |
|
1093 | 1093 | } |
|
1094 | 1094 | |
|
1095 | 1095 | #content div.box div.form div.fields div.field div.input input#clone_url{ |
|
1096 | 1096 | font-size: 16px; |
|
1097 | 1097 | padding: 2px 7px 2px; |
|
1098 | 1098 | } |
|
1099 | 1099 | |
|
1100 | 1100 | #content div.box div.form div.fields div.field div.file input { |
|
1101 | 1101 | background: none repeat scroll 0 0 #FFFFFF; |
|
1102 | 1102 | border-color: #B3B3B3 #EAEAEA #EAEAEA #B3B3B3; |
|
1103 | 1103 | border-style: solid; |
|
1104 | 1104 | border-width: 1px; |
|
1105 | 1105 | color: #000000; |
|
1106 | 1106 | font-size: 11px; |
|
1107 | 1107 | margin: 0; |
|
1108 | 1108 | padding: 7px 7px 6px; |
|
1109 | 1109 | } |
|
1110 | 1110 | |
|
1111 | 1111 | #content div.box div.form div.fields div.field div.input input.small { |
|
1112 | 1112 | width: 30%; |
|
1113 | 1113 | } |
|
1114 | 1114 | |
|
1115 | 1115 | #content div.box div.form div.fields div.field div.input input.medium { |
|
1116 | 1116 | width: 55%; |
|
1117 | 1117 | } |
|
1118 | 1118 | |
|
1119 | 1119 | #content div.box div.form div.fields div.field div.input input.large { |
|
1120 | 1120 | width: 85%; |
|
1121 | 1121 | } |
|
1122 | 1122 | |
|
1123 | 1123 | #content div.box div.form div.fields div.field div.input input.date { |
|
1124 | 1124 | width: 177px; |
|
1125 | 1125 | } |
|
1126 | 1126 | |
|
1127 | 1127 | #content div.box div.form div.fields div.field div.input input.button { |
|
1128 | 1128 | background: #D4D0C8; |
|
1129 | 1129 | border-top: 1px solid #FFF; |
|
1130 | 1130 | border-left: 1px solid #FFF; |
|
1131 | 1131 | border-right: 1px solid #404040; |
|
1132 | 1132 | border-bottom: 1px solid #404040; |
|
1133 | 1133 | color: #000; |
|
1134 | 1134 | margin: 0; |
|
1135 | 1135 | padding: 4px 8px; |
|
1136 | 1136 | } |
|
1137 | 1137 | |
|
1138 | 1138 | #content div.box div.form div.fields div.field div.textarea { |
|
1139 | 1139 | border-top: 1px solid #b3b3b3; |
|
1140 | 1140 | border-left: 1px solid #b3b3b3; |
|
1141 | 1141 | border-right: 1px solid #eaeaea; |
|
1142 | 1142 | border-bottom: 1px solid #eaeaea; |
|
1143 | 1143 | margin: 0 0 0 200px; |
|
1144 | 1144 | padding: 10px; |
|
1145 | 1145 | } |
|
1146 | 1146 | |
|
1147 | 1147 | #content div.box div.form div.fields div.field div.textarea-editor { |
|
1148 | 1148 | border: 1px solid #ddd; |
|
1149 | 1149 | padding: 0; |
|
1150 | 1150 | } |
|
1151 | 1151 | |
|
1152 | 1152 | #content div.box div.form div.fields div.field div.textarea textarea { |
|
1153 | 1153 | width: 100%; |
|
1154 | 1154 | height: 220px; |
|
1155 | 1155 | overflow: hidden; |
|
1156 | 1156 | background: #FFF; |
|
1157 | 1157 | color: #000; |
|
1158 | 1158 | font-size: 11px; |
|
1159 | 1159 | outline: none; |
|
1160 | 1160 | border-width: 0; |
|
1161 | 1161 | margin: 0; |
|
1162 | 1162 | padding: 0; |
|
1163 | 1163 | } |
|
1164 | 1164 | |
|
1165 | 1165 | #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 |
|
1166 | 1166 | { |
|
1167 | 1167 | width: 100%; |
|
1168 | 1168 | height: 100px; |
|
1169 | 1169 | } |
|
1170 | 1170 | |
|
1171 | 1171 | #content div.box div.form div.fields div.field div.textarea table { |
|
1172 | 1172 | width: 100%; |
|
1173 | 1173 | border: none; |
|
1174 | 1174 | margin: 0; |
|
1175 | 1175 | padding: 0; |
|
1176 | 1176 | } |
|
1177 | 1177 | |
|
1178 | 1178 | #content div.box div.form div.fields div.field div.textarea table td { |
|
1179 | 1179 | background: #DDD; |
|
1180 | 1180 | border: none; |
|
1181 | 1181 | padding: 0; |
|
1182 | 1182 | } |
|
1183 | 1183 | |
|
1184 | 1184 | #content div.box div.form div.fields div.field div.textarea table td table |
|
1185 | 1185 | { |
|
1186 | 1186 | width: auto; |
|
1187 | 1187 | border: none; |
|
1188 | 1188 | margin: 0; |
|
1189 | 1189 | padding: 0; |
|
1190 | 1190 | } |
|
1191 | 1191 | |
|
1192 | 1192 | #content div.box div.form div.fields div.field div.textarea table td table td |
|
1193 | 1193 | { |
|
1194 | 1194 | font-size: 11px; |
|
1195 | 1195 | padding: 5px 5px 5px 0; |
|
1196 | 1196 | } |
|
1197 | 1197 | |
|
1198 | 1198 | #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 |
|
1199 | 1199 | { |
|
1200 | 1200 | background: #f6f6f6; |
|
1201 | 1201 | border-color: #666; |
|
1202 | 1202 | } |
|
1203 | 1203 | |
|
1204 | 1204 | div.form div.fields div.field div.button { |
|
1205 | 1205 | margin: 0; |
|
1206 | 1206 | padding: 0 0 0 8px; |
|
1207 | 1207 | } |
|
1208 | 1208 | #content div.box table.noborder { |
|
1209 | 1209 | border: 1px solid transparent; |
|
1210 | 1210 | } |
|
1211 | 1211 | |
|
1212 | 1212 | #content div.box table { |
|
1213 | 1213 | width: 100%; |
|
1214 | 1214 | border-collapse: separate; |
|
1215 | 1215 | margin: 0; |
|
1216 | 1216 | padding: 0; |
|
1217 | 1217 | border: 1px solid #eee; |
|
1218 | 1218 | -webkit-border-radius: 4px; |
|
1219 | 1219 | -moz-border-radius: 4px; |
|
1220 | 1220 | border-radius: 4px; |
|
1221 | 1221 | } |
|
1222 | 1222 | |
|
1223 | 1223 | #content div.box table th { |
|
1224 | 1224 | background: #eee; |
|
1225 | 1225 | border-bottom: 1px solid #ddd; |
|
1226 | 1226 | padding: 5px 0px 5px 5px; |
|
1227 | 1227 | } |
|
1228 | 1228 | |
|
1229 | 1229 | #content div.box table th.left { |
|
1230 | 1230 | text-align: left; |
|
1231 | 1231 | } |
|
1232 | 1232 | |
|
1233 | 1233 | #content div.box table th.right { |
|
1234 | 1234 | text-align: right; |
|
1235 | 1235 | } |
|
1236 | 1236 | |
|
1237 | 1237 | #content div.box table th.center { |
|
1238 | 1238 | text-align: center; |
|
1239 | 1239 | } |
|
1240 | 1240 | |
|
1241 | 1241 | #content div.box table th.selected { |
|
1242 | 1242 | vertical-align: middle; |
|
1243 | 1243 | padding: 0; |
|
1244 | 1244 | } |
|
1245 | 1245 | |
|
1246 | 1246 | #content div.box table td { |
|
1247 | 1247 | background: #fff; |
|
1248 | 1248 | border-bottom: 1px solid #cdcdcd; |
|
1249 | 1249 | vertical-align: middle; |
|
1250 | 1250 | padding: 5px; |
|
1251 | 1251 | } |
|
1252 | 1252 | |
|
1253 | 1253 | #content div.box table tr.selected td { |
|
1254 | 1254 | background: #FFC; |
|
1255 | 1255 | } |
|
1256 | 1256 | |
|
1257 | 1257 | #content div.box table td.selected { |
|
1258 | 1258 | width: 3%; |
|
1259 | 1259 | text-align: center; |
|
1260 | 1260 | vertical-align: middle; |
|
1261 | 1261 | padding: 0; |
|
1262 | 1262 | } |
|
1263 | 1263 | |
|
1264 | 1264 | #content div.box table td.action { |
|
1265 | 1265 | width: 45%; |
|
1266 | 1266 | text-align: left; |
|
1267 | 1267 | } |
|
1268 | 1268 | |
|
1269 | 1269 | #content div.box table td.date { |
|
1270 | 1270 | width: 33%; |
|
1271 | 1271 | text-align: center; |
|
1272 | 1272 | } |
|
1273 | 1273 | |
|
1274 | 1274 | #content div.box div.action { |
|
1275 | 1275 | float: right; |
|
1276 | 1276 | background: #FFF; |
|
1277 | 1277 | text-align: right; |
|
1278 | 1278 | margin: 10px 0 0; |
|
1279 | 1279 | padding: 0; |
|
1280 | 1280 | } |
|
1281 | 1281 | |
|
1282 | 1282 | #content div.box div.action select { |
|
1283 | 1283 | font-size: 11px; |
|
1284 | 1284 | margin: 0; |
|
1285 | 1285 | } |
|
1286 | 1286 | |
|
1287 | 1287 | #content div.box div.action .ui-selectmenu { |
|
1288 | 1288 | margin: 0; |
|
1289 | 1289 | padding: 0; |
|
1290 | 1290 | } |
|
1291 | 1291 | |
|
1292 | 1292 | #content div.box div.pagination { |
|
1293 | 1293 | height: 1%; |
|
1294 | 1294 | clear: both; |
|
1295 | 1295 | overflow: hidden; |
|
1296 | 1296 | margin: 10px 0 0; |
|
1297 | 1297 | padding: 0; |
|
1298 | 1298 | } |
|
1299 | 1299 | |
|
1300 | 1300 | #content div.box div.pagination ul.pager { |
|
1301 | 1301 | float: right; |
|
1302 | 1302 | text-align: right; |
|
1303 | 1303 | margin: 0; |
|
1304 | 1304 | padding: 0; |
|
1305 | 1305 | } |
|
1306 | 1306 | |
|
1307 | 1307 | #content div.box div.pagination ul.pager li { |
|
1308 | 1308 | height: 1%; |
|
1309 | 1309 | float: left; |
|
1310 | 1310 | list-style: none; |
|
1311 | 1311 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
1312 | 1312 | border-top: 1px solid #dedede; |
|
1313 | 1313 | border-left: 1px solid #cfcfcf; |
|
1314 | 1314 | border-right: 1px solid #c4c4c4; |
|
1315 | 1315 | border-bottom: 1px solid #c4c4c4; |
|
1316 | 1316 | color: #4A4A4A; |
|
1317 | 1317 | font-weight: 700; |
|
1318 | 1318 | margin: 0 0 0 4px; |
|
1319 | 1319 | padding: 0; |
|
1320 | 1320 | } |
|
1321 | 1321 | |
|
1322 | 1322 | #content div.box div.pagination ul.pager li.separator { |
|
1323 | 1323 | padding: 6px; |
|
1324 | 1324 | } |
|
1325 | 1325 | |
|
1326 | 1326 | #content div.box div.pagination ul.pager li.current { |
|
1327 | 1327 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1328 | 1328 | border-top: 1px solid #ccc; |
|
1329 | 1329 | border-left: 1px solid #bebebe; |
|
1330 | 1330 | border-right: 1px solid #b1b1b1; |
|
1331 | 1331 | border-bottom: 1px solid #afafaf; |
|
1332 | 1332 | color: #515151; |
|
1333 | 1333 | padding: 6px; |
|
1334 | 1334 | } |
|
1335 | 1335 | |
|
1336 | 1336 | #content div.box div.pagination ul.pager li a { |
|
1337 | 1337 | height: 1%; |
|
1338 | 1338 | display: block; |
|
1339 | 1339 | float: left; |
|
1340 | 1340 | color: #515151; |
|
1341 | 1341 | text-decoration: none; |
|
1342 | 1342 | margin: 0; |
|
1343 | 1343 | padding: 6px; |
|
1344 | 1344 | } |
|
1345 | 1345 | |
|
1346 | 1346 | #content div.box div.pagination ul.pager li a:hover,#content div.box div.pagination ul.pager li a:active |
|
1347 | 1347 | { |
|
1348 | 1348 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1349 | 1349 | border-top: 1px solid #ccc; |
|
1350 | 1350 | border-left: 1px solid #bebebe; |
|
1351 | 1351 | border-right: 1px solid #b1b1b1; |
|
1352 | 1352 | border-bottom: 1px solid #afafaf; |
|
1353 | 1353 | margin: -1px; |
|
1354 | 1354 | } |
|
1355 | 1355 | |
|
1356 | 1356 | #content div.box div.pagination-wh { |
|
1357 | 1357 | height: 1%; |
|
1358 | 1358 | clear: both; |
|
1359 | 1359 | overflow: hidden; |
|
1360 | 1360 | text-align: right; |
|
1361 | 1361 | margin: 10px 0 0; |
|
1362 | 1362 | padding: 0; |
|
1363 | 1363 | } |
|
1364 | 1364 | |
|
1365 | 1365 | #content div.box div.pagination-right { |
|
1366 | 1366 | float: right; |
|
1367 | 1367 | } |
|
1368 | 1368 | |
|
1369 | 1369 | #content div.box div.pagination-wh a,#content div.box div.pagination-wh span.pager_dotdot |
|
1370 | 1370 | { |
|
1371 | 1371 | height: 1%; |
|
1372 | 1372 | float: left; |
|
1373 | 1373 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
1374 | 1374 | border-top: 1px solid #dedede; |
|
1375 | 1375 | border-left: 1px solid #cfcfcf; |
|
1376 | 1376 | border-right: 1px solid #c4c4c4; |
|
1377 | 1377 | border-bottom: 1px solid #c4c4c4; |
|
1378 | 1378 | color: #4A4A4A; |
|
1379 | 1379 | font-weight: 700; |
|
1380 | 1380 | margin: 0 0 0 4px; |
|
1381 | 1381 | padding: 6px; |
|
1382 | 1382 | } |
|
1383 | 1383 | |
|
1384 | 1384 | #content div.box div.pagination-wh span.pager_curpage { |
|
1385 | 1385 | height: 1%; |
|
1386 | 1386 | float: left; |
|
1387 | 1387 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1388 | 1388 | border-top: 1px solid #ccc; |
|
1389 | 1389 | border-left: 1px solid #bebebe; |
|
1390 | 1390 | border-right: 1px solid #b1b1b1; |
|
1391 | 1391 | border-bottom: 1px solid #afafaf; |
|
1392 | 1392 | color: #515151; |
|
1393 | 1393 | font-weight: 700; |
|
1394 | 1394 | margin: 0 0 0 4px; |
|
1395 | 1395 | padding: 6px; |
|
1396 | 1396 | } |
|
1397 | 1397 | |
|
1398 | 1398 | #content div.box div.pagination-wh a:hover,#content div.box div.pagination-wh a:active |
|
1399 | 1399 | { |
|
1400 | 1400 | background: #b4b4b4 url("../images/pager_selected.png") repeat-x; |
|
1401 | 1401 | border-top: 1px solid #ccc; |
|
1402 | 1402 | border-left: 1px solid #bebebe; |
|
1403 | 1403 | border-right: 1px solid #b1b1b1; |
|
1404 | 1404 | border-bottom: 1px solid #afafaf; |
|
1405 | 1405 | text-decoration: none; |
|
1406 | 1406 | } |
|
1407 | 1407 | |
|
1408 | 1408 | #content div.box div.traffic div.legend { |
|
1409 | 1409 | clear: both; |
|
1410 | 1410 | overflow: hidden; |
|
1411 | 1411 | border-bottom: 1px solid #ddd; |
|
1412 | 1412 | margin: 0 0 10px; |
|
1413 | 1413 | padding: 0 0 10px; |
|
1414 | 1414 | } |
|
1415 | 1415 | |
|
1416 | 1416 | #content div.box div.traffic div.legend h6 { |
|
1417 | 1417 | float: left; |
|
1418 | 1418 | border: none; |
|
1419 | 1419 | margin: 0; |
|
1420 | 1420 | padding: 0; |
|
1421 | 1421 | } |
|
1422 | 1422 | |
|
1423 | 1423 | #content div.box div.traffic div.legend li { |
|
1424 | 1424 | list-style: none; |
|
1425 | 1425 | float: left; |
|
1426 | 1426 | font-size: 11px; |
|
1427 | 1427 | margin: 0; |
|
1428 | 1428 | padding: 0 8px 0 4px; |
|
1429 | 1429 | } |
|
1430 | 1430 | |
|
1431 | 1431 | #content div.box div.traffic div.legend li.visits { |
|
1432 | 1432 | border-left: 12px solid #edc240; |
|
1433 | 1433 | } |
|
1434 | 1434 | |
|
1435 | 1435 | #content div.box div.traffic div.legend li.pageviews { |
|
1436 | 1436 | border-left: 12px solid #afd8f8; |
|
1437 | 1437 | } |
|
1438 | 1438 | |
|
1439 | 1439 | #content div.box div.traffic table { |
|
1440 | 1440 | width: auto; |
|
1441 | 1441 | } |
|
1442 | 1442 | |
|
1443 | 1443 | #content div.box div.traffic table td { |
|
1444 | 1444 | background: transparent; |
|
1445 | 1445 | border: none; |
|
1446 | 1446 | padding: 2px 3px 3px; |
|
1447 | 1447 | } |
|
1448 | 1448 | |
|
1449 | 1449 | #content div.box div.traffic table td.legendLabel { |
|
1450 | 1450 | padding: 0 3px 2px; |
|
1451 | 1451 | } |
|
1452 | 1452 | |
|
1453 | 1453 | #summary { |
|
1454 | 1454 | |
|
1455 | 1455 | } |
|
1456 | 1456 | |
|
1457 | 1457 | #summary .desc { |
|
1458 | 1458 | white-space: pre; |
|
1459 | 1459 | width: 100%; |
|
1460 | 1460 | } |
|
1461 | 1461 | |
|
1462 | 1462 | #summary .repo_name { |
|
1463 | 1463 | font-size: 1.6em; |
|
1464 | 1464 | font-weight: bold; |
|
1465 | 1465 | vertical-align: baseline; |
|
1466 | 1466 | clear: right |
|
1467 | 1467 | } |
|
1468 | 1468 | |
|
1469 | 1469 | #footer { |
|
1470 | 1470 | clear: both; |
|
1471 | 1471 | overflow: hidden; |
|
1472 | 1472 | text-align: right; |
|
1473 | 1473 | margin: 0; |
|
1474 | 1474 | padding: 0 10px 4px; |
|
1475 | 1475 | margin: -10px 0 0; |
|
1476 | 1476 | } |
|
1477 | 1477 | |
|
1478 | 1478 | #footer div#footer-inner { |
|
1479 | 1479 | background-color: #eedc94; background-repeat : repeat-x; |
|
1480 | 1480 | background-image : -khtml-gradient( linear, left top, left bottom, |
|
1481 | 1481 | from( #fceec1), to( #eedc94)); background-image : -moz-linear-gradient( |
|
1482 | 1482 | top, #003b76, #00376e); background-image : -ms-linear-gradient( top, |
|
1483 | 1483 | #003b76, #00376e); background-image : -webkit-gradient( linear, left |
|
1484 | 1484 | top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); |
|
1485 | 1485 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); |
|
1486 | 1486 | background-image : -o-linear-gradient( top, #003b76, #00376e)); |
|
1487 | 1487 | background-image : linear-gradient( top, #003b76, #00376e); filter : |
|
1488 | 1488 | progid : DXImageTransform.Microsoft.gradient ( startColorstr = |
|
1489 | 1489 | '#003b76', endColorstr = '#00376e', GradientType = 0); |
|
1490 | 1490 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1491 | 1491 | -webkit-border-radius: 4px 4px 4px 4px; |
|
1492 | 1492 | -khtml-border-radius: 4px 4px 4px 4px; |
|
1493 | 1493 | -moz-border-radius: 4px 4px 4px 4px; |
|
1494 | 1494 | border-radius: 4px 4px 4px 4px; |
|
1495 | 1495 | background-repeat: repeat-x; |
|
1496 | 1496 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
1497 | 1497 | to(#eedc94) ); |
|
1498 | 1498 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1499 | 1499 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1500 | 1500 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
1501 | 1501 | color-stop(100%, #00376e) ); |
|
1502 | 1502 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
1503 | 1503 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
1504 | 1504 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1505 | 1505 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
1506 | 1506 | endColorstr='#00376e', GradientType=0 ); |
|
1507 | 1507 | } |
|
1508 | 1508 | |
|
1509 | 1509 | #footer div#footer-inner p { |
|
1510 | 1510 | padding: 15px 25px 15px 0; |
|
1511 | 1511 | color: #FFF; |
|
1512 | 1512 | font-weight: 700; |
|
1513 | 1513 | } |
|
1514 | 1514 | |
|
1515 | 1515 | #footer div#footer-inner .footer-link { |
|
1516 | 1516 | float: left; |
|
1517 | 1517 | padding-left: 10px; |
|
1518 | 1518 | } |
|
1519 | 1519 | |
|
1520 | 1520 | #footer div#footer-inner .footer-link a,#footer div#footer-inner .footer-link-right a |
|
1521 | 1521 | { |
|
1522 | 1522 | color: #FFF; |
|
1523 | 1523 | } |
|
1524 | 1524 | |
|
1525 | 1525 | #login div.title { |
|
1526 | 1526 | width: 420px; |
|
1527 | 1527 | clear: both; |
|
1528 | 1528 | overflow: hidden; |
|
1529 | 1529 | position: relative; |
|
1530 | 1530 | background-color: #eedc94; background-repeat : repeat-x; |
|
1531 | 1531 | background-image : -khtml-gradient( linear, left top, left bottom, |
|
1532 | 1532 | from( #fceec1), to( #eedc94)); background-image : -moz-linear-gradient( |
|
1533 | 1533 | top, #003b76, #00376e); background-image : -ms-linear-gradient( top, |
|
1534 | 1534 | #003b76, #00376e); background-image : -webkit-gradient( linear, left |
|
1535 | 1535 | top, left bottom, color-stop( 0%, #003b76), color-stop( 100%, #00376e)); |
|
1536 | 1536 | background-image : -webkit-linear-gradient( top, #003b76, #00376e)); |
|
1537 | 1537 | background-image : -o-linear-gradient( top, #003b76, #00376e)); |
|
1538 | 1538 | background-image : linear-gradient( top, #003b76, #00376e); filter : |
|
1539 | 1539 | progid : DXImageTransform.Microsoft.gradient ( startColorstr = |
|
1540 | 1540 | '#003b76', endColorstr = '#00376e', GradientType = 0); |
|
1541 | 1541 | margin: 0 auto; |
|
1542 | 1542 | padding: 0; |
|
1543 | 1543 | background-repeat: repeat-x; |
|
1544 | 1544 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
1545 | 1545 | to(#eedc94) ); |
|
1546 | 1546 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1547 | 1547 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1548 | 1548 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
1549 | 1549 | color-stop(100%, #00376e) ); |
|
1550 | 1550 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
1551 | 1551 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
1552 | 1552 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1553 | 1553 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
1554 | 1554 | endColorstr='#00376e', GradientType=0 ); |
|
1555 | 1555 | } |
|
1556 | 1556 | |
|
1557 | 1557 | #login div.inner { |
|
1558 | 1558 | width: 380px; |
|
1559 | 1559 | background: #FFF url("../images/login.png") no-repeat top left; |
|
1560 | 1560 | border-top: none; |
|
1561 | 1561 | border-bottom: none; |
|
1562 | 1562 | margin: 0 auto; |
|
1563 | 1563 | padding: 20px; |
|
1564 | 1564 | } |
|
1565 | 1565 | |
|
1566 | 1566 | #login div.form div.fields div.field div.label { |
|
1567 | 1567 | width: 173px; |
|
1568 | 1568 | float: left; |
|
1569 | 1569 | text-align: right; |
|
1570 | 1570 | margin: 2px 10px 0 0; |
|
1571 | 1571 | padding: 5px 0 0 5px; |
|
1572 | 1572 | } |
|
1573 | 1573 | |
|
1574 | 1574 | #login div.form div.fields div.field div.input input { |
|
1575 | 1575 | width: 176px; |
|
1576 | 1576 | background: #FFF; |
|
1577 | 1577 | border-top: 1px solid #b3b3b3; |
|
1578 | 1578 | border-left: 1px solid #b3b3b3; |
|
1579 | 1579 | border-right: 1px solid #eaeaea; |
|
1580 | 1580 | border-bottom: 1px solid #eaeaea; |
|
1581 | 1581 | color: #000; |
|
1582 | 1582 | font-size: 11px; |
|
1583 | 1583 | margin: 0; |
|
1584 | 1584 | padding: 7px 7px 6px; |
|
1585 | 1585 | } |
|
1586 | 1586 | |
|
1587 | 1587 | #login div.form div.fields div.buttons { |
|
1588 | 1588 | clear: both; |
|
1589 | 1589 | overflow: hidden; |
|
1590 | 1590 | border-top: 1px solid #DDD; |
|
1591 | 1591 | text-align: right; |
|
1592 | 1592 | margin: 0; |
|
1593 | 1593 | padding: 10px 0 0; |
|
1594 | 1594 | } |
|
1595 | 1595 | |
|
1596 | 1596 | #login div.form div.links { |
|
1597 | 1597 | clear: both; |
|
1598 | 1598 | overflow: hidden; |
|
1599 | 1599 | margin: 10px 0 0; |
|
1600 | 1600 | padding: 0 0 2px; |
|
1601 | 1601 | } |
|
1602 | 1602 | |
|
1603 | 1603 | #quick_login { |
|
1604 | 1604 | top: 31px; |
|
1605 | 1605 | background-color: rgb(0, 51, 103); |
|
1606 | 1606 | z-index: 999; |
|
1607 | 1607 | height: 150px; |
|
1608 | 1608 | position: absolute; |
|
1609 | 1609 | margin-left: -16px; |
|
1610 | 1610 | width: 281px; |
|
1611 | 1611 | -webkit-border-radius: 0px 0px 4px 4px; |
|
1612 | 1612 | -khtml-border-radius: 0px 0px 4px 4px; |
|
1613 | 1613 | -moz-border-radius: 0px 0px 4px 4px; |
|
1614 | 1614 | border-radius: 0px 0px 4px 4px; |
|
1615 | 1615 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
1616 | 1616 | } |
|
1617 | 1617 | |
|
1618 | 1618 | #quick_login .password_forgoten { |
|
1619 | 1619 | padding-right: 10px; |
|
1620 | 1620 | padding-top: 0px; |
|
1621 | 1621 | float: left; |
|
1622 | 1622 | } |
|
1623 | 1623 | |
|
1624 | 1624 | #quick_login .password_forgoten a { |
|
1625 | 1625 | font-size: 10px |
|
1626 | 1626 | } |
|
1627 | 1627 | |
|
1628 | 1628 | #quick_login .register { |
|
1629 | 1629 | padding-right: 10px; |
|
1630 | 1630 | padding-top: 5px; |
|
1631 | 1631 | float: left; |
|
1632 | 1632 | } |
|
1633 | 1633 | |
|
1634 | 1634 | #quick_login .register a { |
|
1635 | 1635 | font-size: 10px |
|
1636 | 1636 | } |
|
1637 | 1637 | |
|
1638 | 1638 | #quick_login div.form div.fields { |
|
1639 | 1639 | padding-top: 2px; |
|
1640 | 1640 | padding-left: 10px; |
|
1641 | 1641 | } |
|
1642 | 1642 | |
|
1643 | 1643 | #quick_login div.form div.fields div.field { |
|
1644 | 1644 | padding: 5px; |
|
1645 | 1645 | } |
|
1646 | 1646 | |
|
1647 | 1647 | #quick_login div.form div.fields div.field div.label label { |
|
1648 | 1648 | color: #fff; |
|
1649 | 1649 | padding-bottom: 3px; |
|
1650 | 1650 | } |
|
1651 | 1651 | |
|
1652 | 1652 | #quick_login div.form div.fields div.field div.input input { |
|
1653 | 1653 | width: 236px; |
|
1654 | 1654 | background: #FFF; |
|
1655 | 1655 | border-top: 1px solid #b3b3b3; |
|
1656 | 1656 | border-left: 1px solid #b3b3b3; |
|
1657 | 1657 | border-right: 1px solid #eaeaea; |
|
1658 | 1658 | border-bottom: 1px solid #eaeaea; |
|
1659 | 1659 | color: #000; |
|
1660 | 1660 | font-size: 11px; |
|
1661 | 1661 | margin: 0; |
|
1662 | 1662 | padding: 5px 7px 4px; |
|
1663 | 1663 | } |
|
1664 | 1664 | |
|
1665 | 1665 | #quick_login div.form div.fields div.buttons { |
|
1666 | 1666 | clear: both; |
|
1667 | 1667 | overflow: hidden; |
|
1668 | 1668 | text-align: right; |
|
1669 | 1669 | margin: 0; |
|
1670 | 1670 | padding: 10px 14px 0px 5px; |
|
1671 | 1671 | } |
|
1672 | 1672 | |
|
1673 | 1673 | #quick_login div.form div.links { |
|
1674 | 1674 | clear: both; |
|
1675 | 1675 | overflow: hidden; |
|
1676 | 1676 | margin: 10px 0 0; |
|
1677 | 1677 | padding: 0 0 2px; |
|
1678 | 1678 | } |
|
1679 | 1679 | |
|
1680 | 1680 | #register div.title { |
|
1681 | 1681 | clear: both; |
|
1682 | 1682 | overflow: hidden; |
|
1683 | 1683 | position: relative; |
|
1684 | 1684 | background-color: #eedc94; |
|
1685 | 1685 | background-repeat: repeat-x; |
|
1686 | 1686 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
1687 | 1687 | to(#eedc94) ); |
|
1688 | 1688 | background-image: -moz-linear-gradient(top, #003b76, #00376e); |
|
1689 | 1689 | background-image: -ms-linear-gradient(top, #003b76, #00376e); |
|
1690 | 1690 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #003b76), |
|
1691 | 1691 | color-stop(100%, #00376e) ); |
|
1692 | 1692 | background-image: -webkit-linear-gradient(top, #003b76, #00376e) ); |
|
1693 | 1693 | background-image: -o-linear-gradient(top, #003b76, #00376e) ); |
|
1694 | 1694 | background-image: linear-gradient(top, #003b76, #00376e); |
|
1695 | 1695 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', |
|
1696 | 1696 | endColorstr='#00376e', GradientType=0 ); |
|
1697 | 1697 | margin: 0 auto; |
|
1698 | 1698 | padding: 0; |
|
1699 | 1699 | } |
|
1700 | 1700 | |
|
1701 | 1701 | #register div.inner { |
|
1702 | 1702 | background: #FFF; |
|
1703 | 1703 | border-top: none; |
|
1704 | 1704 | border-bottom: none; |
|
1705 | 1705 | margin: 0 auto; |
|
1706 | 1706 | padding: 20px; |
|
1707 | 1707 | } |
|
1708 | 1708 | |
|
1709 | 1709 | #register div.form div.fields div.field div.label { |
|
1710 | 1710 | width: 135px; |
|
1711 | 1711 | float: left; |
|
1712 | 1712 | text-align: right; |
|
1713 | 1713 | margin: 2px 10px 0 0; |
|
1714 | 1714 | padding: 5px 0 0 5px; |
|
1715 | 1715 | } |
|
1716 | 1716 | |
|
1717 | 1717 | #register div.form div.fields div.field div.input input { |
|
1718 | 1718 | width: 300px; |
|
1719 | 1719 | background: #FFF; |
|
1720 | 1720 | border-top: 1px solid #b3b3b3; |
|
1721 | 1721 | border-left: 1px solid #b3b3b3; |
|
1722 | 1722 | border-right: 1px solid #eaeaea; |
|
1723 | 1723 | border-bottom: 1px solid #eaeaea; |
|
1724 | 1724 | color: #000; |
|
1725 | 1725 | font-size: 11px; |
|
1726 | 1726 | margin: 0; |
|
1727 | 1727 | padding: 7px 7px 6px; |
|
1728 | 1728 | } |
|
1729 | 1729 | |
|
1730 | 1730 | #register div.form div.fields div.buttons { |
|
1731 | 1731 | clear: both; |
|
1732 | 1732 | overflow: hidden; |
|
1733 | 1733 | border-top: 1px solid #DDD; |
|
1734 | 1734 | text-align: left; |
|
1735 | 1735 | margin: 0; |
|
1736 | 1736 | padding: 10px 0 0 150px; |
|
1737 | 1737 | } |
|
1738 | 1738 | |
|
1739 | 1739 | #register div.form div.activation_msg { |
|
1740 | 1740 | padding-top: 4px; |
|
1741 | 1741 | padding-bottom: 4px; |
|
1742 | 1742 | } |
|
1743 | 1743 | |
|
1744 | 1744 | #journal .journal_day { |
|
1745 | 1745 | font-size: 20px; |
|
1746 | 1746 | padding: 10px 0px; |
|
1747 | 1747 | border-bottom: 2px solid #DDD; |
|
1748 | 1748 | margin-left: 10px; |
|
1749 | 1749 | margin-right: 10px; |
|
1750 | 1750 | } |
|
1751 | 1751 | |
|
1752 | 1752 | #journal .journal_container { |
|
1753 | 1753 | padding: 5px; |
|
1754 | 1754 | clear: both; |
|
1755 | 1755 | margin: 0px 5px 0px 10px; |
|
1756 | 1756 | } |
|
1757 | 1757 | |
|
1758 | 1758 | #journal .journal_action_container { |
|
1759 | 1759 | padding-left: 38px; |
|
1760 | 1760 | } |
|
1761 | 1761 | |
|
1762 | 1762 | #journal .journal_user { |
|
1763 | 1763 | color: #747474; |
|
1764 | 1764 | font-size: 14px; |
|
1765 | 1765 | font-weight: bold; |
|
1766 | 1766 | height: 30px; |
|
1767 | 1767 | } |
|
1768 | 1768 | |
|
1769 | 1769 | #journal .journal_icon { |
|
1770 | 1770 | clear: both; |
|
1771 | 1771 | float: left; |
|
1772 | 1772 | padding-right: 4px; |
|
1773 | 1773 | padding-top: 3px; |
|
1774 | 1774 | } |
|
1775 | 1775 | |
|
1776 | 1776 | #journal .journal_action { |
|
1777 | 1777 | padding-top: 4px; |
|
1778 | 1778 | min-height: 2px; |
|
1779 | 1779 | float: left |
|
1780 | 1780 | } |
|
1781 | 1781 | |
|
1782 | 1782 | #journal .journal_action_params { |
|
1783 | 1783 | clear: left; |
|
1784 | 1784 | padding-left: 22px; |
|
1785 | 1785 | } |
|
1786 | 1786 | |
|
1787 | 1787 | #journal .journal_repo { |
|
1788 | 1788 | float: left; |
|
1789 | 1789 | margin-left: 6px; |
|
1790 | 1790 | padding-top: 3px; |
|
1791 | 1791 | } |
|
1792 | 1792 | |
|
1793 | 1793 | #journal .date { |
|
1794 | 1794 | clear: both; |
|
1795 | 1795 | color: #777777; |
|
1796 | 1796 | font-size: 11px; |
|
1797 | 1797 | padding-left: 22px; |
|
1798 | 1798 | } |
|
1799 | 1799 | |
|
1800 | 1800 | #journal .journal_repo .journal_repo_name { |
|
1801 | 1801 | font-weight: bold; |
|
1802 | 1802 | font-size: 1.1em; |
|
1803 | 1803 | } |
|
1804 | 1804 | |
|
1805 | 1805 | #journal .compare_view { |
|
1806 | 1806 | padding: 5px 0px 5px 0px; |
|
1807 | 1807 | width: 95px; |
|
1808 | 1808 | } |
|
1809 | 1809 | |
|
1810 | 1810 | .journal_highlight { |
|
1811 | 1811 | font-weight: bold; |
|
1812 | 1812 | padding: 0 2px; |
|
1813 | 1813 | vertical-align: bottom; |
|
1814 | 1814 | } |
|
1815 | 1815 | |
|
1816 | 1816 | .trending_language_tbl,.trending_language_tbl td { |
|
1817 | 1817 | border: 0 !important; |
|
1818 | 1818 | margin: 0 !important; |
|
1819 | 1819 | padding: 0 !important; |
|
1820 | 1820 | } |
|
1821 | 1821 | |
|
1822 | 1822 | .trending_language_tbl,.trending_language_tbl tr { |
|
1823 | 1823 | border-spacing: 1px; |
|
1824 | 1824 | } |
|
1825 | 1825 | |
|
1826 | 1826 | .trending_language { |
|
1827 | 1827 | background-color: #003367; |
|
1828 | 1828 | color: #FFF; |
|
1829 | 1829 | display: block; |
|
1830 | 1830 | min-width: 20px; |
|
1831 | 1831 | text-decoration: none; |
|
1832 | 1832 | height: 12px; |
|
1833 | 1833 | margin-bottom: 0px; |
|
1834 | 1834 | margin-left: 5px; |
|
1835 | 1835 | white-space: pre; |
|
1836 | 1836 | padding: 3px; |
|
1837 | 1837 | } |
|
1838 | 1838 | |
|
1839 | 1839 | h3.files_location { |
|
1840 | 1840 | font-size: 1.8em; |
|
1841 | 1841 | font-weight: 700; |
|
1842 | 1842 | border-bottom: none !important; |
|
1843 | 1843 | margin: 10px 0 !important; |
|
1844 | 1844 | } |
|
1845 | 1845 | |
|
1846 | 1846 | #files_data dl dt { |
|
1847 | 1847 | float: left; |
|
1848 | 1848 | width: 60px; |
|
1849 | 1849 | margin: 0 !important; |
|
1850 | 1850 | padding: 5px; |
|
1851 | 1851 | } |
|
1852 | 1852 | |
|
1853 | 1853 | #files_data dl dd { |
|
1854 | 1854 | margin: 0 !important; |
|
1855 | 1855 | padding: 5px !important; |
|
1856 | 1856 | } |
|
1857 | 1857 | |
|
1858 | 1858 | #changeset_content { |
|
1859 | 1859 | border: 1px solid #CCC; |
|
1860 | 1860 | padding: 5px; |
|
1861 | 1861 | } |
|
1862 | 1862 | |
|
1863 | 1863 | #changeset_compare_view_content { |
|
1864 | 1864 | border: 1px solid #CCC; |
|
1865 | 1865 | padding: 5px; |
|
1866 | 1866 | } |
|
1867 | 1867 | |
|
1868 | 1868 | #changeset_content .container { |
|
1869 | 1869 | min-height: 120px; |
|
1870 | 1870 | font-size: 1.2em; |
|
1871 | 1871 | overflow: hidden; |
|
1872 | 1872 | } |
|
1873 | 1873 | |
|
1874 | 1874 | #changeset_compare_view_content .compare_view_commits { |
|
1875 | 1875 | width: auto !important; |
|
1876 | 1876 | } |
|
1877 | 1877 | |
|
1878 | 1878 | #changeset_compare_view_content .compare_view_commits td { |
|
1879 | 1879 | padding: 0px 0px 0px 12px !important; |
|
1880 | 1880 | } |
|
1881 | 1881 | |
|
1882 | 1882 | #changeset_content .container .right { |
|
1883 | 1883 | float: right; |
|
1884 | 1884 | width: 25%; |
|
1885 | 1885 | text-align: right; |
|
1886 | 1886 | } |
|
1887 | 1887 | |
|
1888 | 1888 | #changeset_content .container .left .message { |
|
1889 | 1889 | font-style: italic; |
|
1890 | 1890 | color: #556CB5; |
|
1891 | 1891 | white-space: pre-wrap; |
|
1892 | 1892 | } |
|
1893 | 1893 | |
|
1894 | 1894 | .cs_files .cur_cs { |
|
1895 | 1895 | margin: 10px 2px; |
|
1896 | 1896 | font-weight: bold; |
|
1897 | 1897 | } |
|
1898 | 1898 | |
|
1899 | 1899 | .cs_files .node { |
|
1900 | 1900 | float: left; |
|
1901 | 1901 | } |
|
1902 | 1902 | |
|
1903 | 1903 | .cs_files .changes { |
|
1904 | 1904 | float: right; |
|
1905 | 1905 | color:#003367; |
|
1906 | 1906 | |
|
1907 | 1907 | } |
|
1908 | 1908 | |
|
1909 | 1909 | .cs_files .changes .added { |
|
1910 | 1910 | background-color: #BBFFBB; |
|
1911 | 1911 | float: left; |
|
1912 | 1912 | text-align: center; |
|
1913 | 1913 | font-size: 9px; |
|
1914 | 1914 | padding: 2px 0px 2px 0px; |
|
1915 | 1915 | } |
|
1916 | 1916 | |
|
1917 | 1917 | .cs_files .changes .deleted { |
|
1918 | 1918 | background-color: #FF8888; |
|
1919 | 1919 | float: left; |
|
1920 | 1920 | text-align: center; |
|
1921 | 1921 | font-size: 9px; |
|
1922 | 1922 | padding: 2px 0px 2px 0px; |
|
1923 | 1923 | } |
|
1924 | 1924 | |
|
1925 | 1925 | .cs_files .cs_added { |
|
1926 | 1926 | background: url("../images/icons/page_white_add.png") no-repeat scroll |
|
1927 | 1927 | 3px; |
|
1928 | 1928 | height: 16px; |
|
1929 | 1929 | padding-left: 20px; |
|
1930 | 1930 | margin-top: 7px; |
|
1931 | 1931 | text-align: left; |
|
1932 | 1932 | } |
|
1933 | 1933 | |
|
1934 | 1934 | .cs_files .cs_changed { |
|
1935 | 1935 | background: url("../images/icons/page_white_edit.png") no-repeat scroll |
|
1936 | 1936 | 3px; |
|
1937 | 1937 | height: 16px; |
|
1938 | 1938 | padding-left: 20px; |
|
1939 | 1939 | margin-top: 7px; |
|
1940 | 1940 | text-align: left; |
|
1941 | 1941 | } |
|
1942 | 1942 | |
|
1943 | 1943 | .cs_files .cs_removed { |
|
1944 | 1944 | background: url("../images/icons/page_white_delete.png") no-repeat |
|
1945 | 1945 | scroll 3px; |
|
1946 | 1946 | height: 16px; |
|
1947 | 1947 | padding-left: 20px; |
|
1948 | 1948 | margin-top: 7px; |
|
1949 | 1949 | text-align: left; |
|
1950 | 1950 | } |
|
1951 | 1951 | |
|
1952 | 1952 | #graph { |
|
1953 | 1953 | overflow: hidden; |
|
1954 | 1954 | } |
|
1955 | 1955 | |
|
1956 | 1956 | #graph_nodes { |
|
1957 | 1957 | float: left; |
|
1958 | 1958 | margin-right: -6px; |
|
1959 | 1959 | margin-top: 0px; |
|
1960 | 1960 | } |
|
1961 | 1961 | |
|
1962 | 1962 | #graph_content { |
|
1963 | 1963 | width: 800px; |
|
1964 | 1964 | float: left; |
|
1965 | 1965 | } |
|
1966 | 1966 | |
|
1967 | 1967 | #graph_content .container_header { |
|
1968 | 1968 | border: 1px solid #CCC; |
|
1969 | 1969 | padding: 10px; |
|
1970 | 1970 | height: 45px; |
|
1971 | 1971 | -webkit-border-radius: 6px 6px 0px 0px; |
|
1972 | 1972 | -moz-border-radius: 6px 6px 0px 0px; |
|
1973 | 1973 | border-radius: 6px 6px 0px 0px; |
|
1974 | 1974 | } |
|
1975 | 1975 | |
|
1976 | 1976 | #graph_content #rev_range_container { |
|
1977 | 1977 | padding: 10px 0px; |
|
1978 | 1978 | clear: both; |
|
1979 | 1979 | } |
|
1980 | 1980 | |
|
1981 | 1981 | #graph_content .container { |
|
1982 | 1982 | border-bottom: 1px solid #CCC; |
|
1983 | 1983 | border-left: 1px solid #CCC; |
|
1984 | 1984 | border-right: 1px solid #CCC; |
|
1985 | 1985 | min-height: 70px; |
|
1986 | 1986 | overflow: hidden; |
|
1987 | 1987 | font-size: 1.2em; |
|
1988 | 1988 | } |
|
1989 | 1989 | |
|
1990 | 1990 | #graph_content .container .right { |
|
1991 | 1991 | float: right; |
|
1992 | 1992 | width: 28%; |
|
1993 | 1993 | text-align: right; |
|
1994 | 1994 | padding-bottom: 5px; |
|
1995 | 1995 | } |
|
1996 | 1996 | |
|
1997 | 1997 | #graph_content .container .left .date { |
|
1998 | 1998 | font-weight: 700; |
|
1999 | 1999 | padding-bottom: 5px; |
|
2000 | 2000 | } |
|
2001 | 2001 | |
|
2002 | 2002 | #graph_content .container .left .date span { |
|
2003 | 2003 | vertical-align: text-top; |
|
2004 | 2004 | } |
|
2005 | 2005 | |
|
2006 | 2006 | #graph_content .container .left .author { |
|
2007 | 2007 | height: 22px; |
|
2008 | 2008 | } |
|
2009 | 2009 | |
|
2010 | 2010 | #graph_content .container .left .author .user { |
|
2011 | 2011 | color: #444444; |
|
2012 | 2012 | float: left; |
|
2013 | 2013 | font-size: 12px; |
|
2014 | 2014 | margin-left: -4px; |
|
2015 | 2015 | margin-top: 4px; |
|
2016 | 2016 | } |
|
2017 | 2017 | |
|
2018 | 2018 | #graph_content .container .left .message { |
|
2019 | 2019 | font-size: 100%; |
|
2020 | 2020 | padding-top: 3px; |
|
2021 | 2021 | white-space: pre-wrap; |
|
2022 | 2022 | } |
|
2023 | 2023 | |
|
2024 | 2024 | #graph_content .container .left .message a:hover{ |
|
2025 | 2025 | text-decoration: none; |
|
2026 | 2026 | } |
|
2027 | 2027 | |
|
2028 | 2028 | .right div { |
|
2029 | 2029 | clear: both; |
|
2030 | 2030 | } |
|
2031 | 2031 | |
|
2032 | 2032 | .right .changes .changed_total { |
|
2033 | 2033 | border: 0px solid #DDD; |
|
2034 | 2034 | display: block; |
|
2035 | 2035 | float: right; |
|
2036 | 2036 | text-align: center; |
|
2037 | 2037 | min-width: 45px; |
|
2038 | 2038 | cursor: pointer; |
|
2039 | 2039 | background: #FD8; |
|
2040 | 2040 | font-weight: bold; |
|
2041 | 2041 | -webkit-border-radius: 0px 0px 0px 6px; |
|
2042 | 2042 | -moz-border-radius: 0px 0px 0px 6px; |
|
2043 | 2043 | border-radius: 0px 0px 0px 6px; |
|
2044 | 2044 | padding: 2px; |
|
2045 | 2045 | } |
|
2046 | 2046 | |
|
2047 | 2047 | .right .changes .added,.changed,.removed { |
|
2048 | 2048 | border: 1px solid #DDD; |
|
2049 | 2049 | display: block; |
|
2050 | 2050 | float: right; |
|
2051 | 2051 | text-align: center; |
|
2052 | 2052 | min-width: 15px; |
|
2053 | 2053 | cursor: help; |
|
2054 | 2054 | } |
|
2055 | 2055 | |
|
2056 | 2056 | .right .changes .large { |
|
2057 | 2057 | border: 1px solid #DDD; |
|
2058 | 2058 | display: block; |
|
2059 | 2059 | float: right; |
|
2060 | 2060 | text-align: center; |
|
2061 | 2061 | min-width: 45px; |
|
2062 | 2062 | cursor: help; |
|
2063 | 2063 | background: #54A9F7; |
|
2064 | 2064 | } |
|
2065 | 2065 | |
|
2066 | 2066 | .right .changes .added { |
|
2067 | 2067 | background: #BFB; |
|
2068 | 2068 | } |
|
2069 | 2069 | |
|
2070 | 2070 | .right .changes .changed { |
|
2071 | 2071 | background: #FD8; |
|
2072 | 2072 | } |
|
2073 | 2073 | |
|
2074 | 2074 | .right .changes .removed { |
|
2075 | 2075 | background: #F88; |
|
2076 | 2076 | } |
|
2077 | 2077 | |
|
2078 | 2078 | .right .merge { |
|
2079 | 2079 | vertical-align: top; |
|
2080 | 2080 | font-size: 0.75em; |
|
2081 | 2081 | font-weight: 700; |
|
2082 | 2082 | } |
|
2083 | 2083 | |
|
2084 | 2084 | .right .parent { |
|
2085 | 2085 | font-size: 90%; |
|
2086 | 2086 | font-family: monospace; |
|
2087 | 2087 | padding: 2px 2px 2px 2px; |
|
2088 | 2088 | } |
|
2089 | 2089 | .right .logtags{ |
|
2090 | 2090 | padding: 2px 2px 2px 2px; |
|
2091 | 2091 | } |
|
2092 | 2092 | .right .logtags .branchtag,.logtags .branchtag { |
|
2093 | 2093 | padding: 1px 3px 2px; |
|
2094 | 2094 | background-color: #bfbfbf; |
|
2095 | 2095 | font-size: 9.75px; |
|
2096 | 2096 | font-weight: bold; |
|
2097 | 2097 | color: #ffffff; |
|
2098 | 2098 | text-transform: uppercase; |
|
2099 | 2099 | white-space: nowrap; |
|
2100 | 2100 | -webkit-border-radius: 3px; |
|
2101 | 2101 | -moz-border-radius: 3px; |
|
2102 | 2102 | border-radius: 3px; |
|
2103 | 2103 | padding-left:4px; |
|
2104 | 2104 | } |
|
2105 | 2105 | .right .logtags .branchtag a:hover,.logtags .branchtag a{ |
|
2106 | 2106 | color: #ffffff; |
|
2107 | 2107 | } |
|
2108 | 2108 | .right .logtags .branchtag a:hover,.logtags .branchtag a:hover{ |
|
2109 | 2109 | text-decoration: none; |
|
2110 | 2110 | color: #ffffff; |
|
2111 | 2111 | } |
|
2112 | 2112 | .right .logtags .tagtag,.logtags .tagtag { |
|
2113 | 2113 | padding: 1px 3px 2px; |
|
2114 | 2114 | background-color: #62cffc; |
|
2115 | 2115 | font-size: 9.75px; |
|
2116 | 2116 | font-weight: bold; |
|
2117 | 2117 | color: #ffffff; |
|
2118 | 2118 | text-transform: uppercase; |
|
2119 | 2119 | white-space: nowrap; |
|
2120 | 2120 | -webkit-border-radius: 3px; |
|
2121 | 2121 | -moz-border-radius: 3px; |
|
2122 | 2122 | border-radius: 3px; |
|
2123 | 2123 | } |
|
2124 | 2124 | .right .logtags .tagtag a:hover,.logtags .tagtag a{ |
|
2125 | 2125 | color: #ffffff; |
|
2126 | 2126 | } |
|
2127 | 2127 | .right .logtags .tagtag a:hover,.logtags .tagtag a:hover{ |
|
2128 | 2128 | text-decoration: none; |
|
2129 | 2129 | color: #ffffff; |
|
2130 | 2130 | } |
|
2131 | 2131 | .right .logbooks .bookbook,.logbooks .bookbook { |
|
2132 | 2132 | padding: 1px 3px 2px; |
|
2133 | 2133 | background-color: #46A546; |
|
2134 | 2134 | font-size: 9.75px; |
|
2135 | 2135 | font-weight: bold; |
|
2136 | 2136 | color: #ffffff; |
|
2137 | 2137 | text-transform: uppercase; |
|
2138 | 2138 | white-space: nowrap; |
|
2139 | 2139 | -webkit-border-radius: 3px; |
|
2140 | 2140 | -moz-border-radius: 3px; |
|
2141 | 2141 | border-radius: 3px; |
|
2142 | 2142 | } |
|
2143 | 2143 | .right .logbooks .bookbook,.logbooks .bookbook a{ |
|
2144 | 2144 | color: #ffffff; |
|
2145 | 2145 | } |
|
2146 | 2146 | .right .logbooks .bookbook,.logbooks .bookbook a:hover{ |
|
2147 | 2147 | text-decoration: none; |
|
2148 | 2148 | color: #ffffff; |
|
2149 | 2149 | } |
|
2150 | 2150 | div.browserblock { |
|
2151 | 2151 | overflow: hidden; |
|
2152 | 2152 | border: 1px solid #ccc; |
|
2153 | 2153 | background: #f8f8f8; |
|
2154 | 2154 | font-size: 100%; |
|
2155 | 2155 | line-height: 125%; |
|
2156 | 2156 | padding: 0; |
|
2157 | -webkit-border-radius: 6px 6px 0px 0px; | |
|
2158 | -moz-border-radius: 6px 6px 0px 0px; | |
|
2159 | border-radius: 6px 6px 0px 0px; | |
|
2157 | 2160 | } |
|
2158 | 2161 | |
|
2159 | 2162 | div.browserblock .browser-header { |
|
2160 | 2163 | background: #FFF; |
|
2161 | 2164 | padding: 10px 0px 15px 0px; |
|
2162 | 2165 | width: 100%; |
|
2163 | 2166 | } |
|
2164 | 2167 | |
|
2165 | 2168 | div.browserblock .browser-nav { |
|
2166 | 2169 | float: left |
|
2167 | 2170 | } |
|
2168 | 2171 | |
|
2169 | 2172 | div.browserblock .browser-branch { |
|
2170 | 2173 | float: left; |
|
2171 | 2174 | } |
|
2172 | 2175 | |
|
2173 | 2176 | div.browserblock .browser-branch label { |
|
2174 | 2177 | color: #4A4A4A; |
|
2175 | 2178 | vertical-align: text-top; |
|
2176 | 2179 | } |
|
2177 | 2180 | |
|
2178 | 2181 | div.browserblock .browser-header span { |
|
2179 | 2182 | margin-left: 5px; |
|
2180 | 2183 | font-weight: 700; |
|
2181 | 2184 | } |
|
2182 | 2185 | |
|
2183 | 2186 | div.browserblock .browser-search { |
|
2184 | 2187 | clear: both; |
|
2185 | 2188 | padding: 8px 8px 0px 5px; |
|
2186 | 2189 | height: 20px; |
|
2187 | 2190 | } |
|
2188 | 2191 | |
|
2189 | 2192 | div.browserblock #node_filter_box { |
|
2190 | 2193 | |
|
2191 | 2194 | } |
|
2192 | 2195 | |
|
2193 | 2196 | div.browserblock .search_activate { |
|
2194 | 2197 | float: left |
|
2195 | 2198 | } |
|
2196 | 2199 | |
|
2197 | 2200 | div.browserblock .add_node { |
|
2198 | 2201 | float: left; |
|
2199 | 2202 | padding-left: 5px; |
|
2200 | 2203 | } |
|
2201 | 2204 | |
|
2202 | 2205 | div.browserblock .search_activate a:hover,div.browserblock .add_node a:hover |
|
2203 | 2206 | { |
|
2204 | 2207 | text-decoration: none !important; |
|
2205 | 2208 | } |
|
2206 | 2209 | |
|
2207 | 2210 | div.browserblock .browser-body { |
|
2208 | 2211 | background: #EEE; |
|
2209 | 2212 | border-top: 1px solid #CCC; |
|
2210 | 2213 | } |
|
2211 | 2214 | |
|
2212 | 2215 | table.code-browser { |
|
2213 | 2216 | border-collapse: collapse; |
|
2214 | 2217 | width: 100%; |
|
2215 | 2218 | } |
|
2216 | 2219 | |
|
2217 | 2220 | table.code-browser tr { |
|
2218 | 2221 | margin: 3px; |
|
2219 | 2222 | } |
|
2220 | 2223 | |
|
2221 | 2224 | table.code-browser thead th { |
|
2222 | 2225 | background-color: #EEE; |
|
2223 | 2226 | height: 20px; |
|
2224 | 2227 | font-size: 1.1em; |
|
2225 | 2228 | font-weight: 700; |
|
2226 | 2229 | text-align: left; |
|
2227 | 2230 | padding-left: 10px; |
|
2228 | 2231 | } |
|
2229 | 2232 | |
|
2230 | 2233 | table.code-browser tbody td { |
|
2231 | 2234 | padding-left: 10px; |
|
2232 | 2235 | height: 20px; |
|
2233 | 2236 | } |
|
2234 | 2237 | |
|
2235 | 2238 | table.code-browser .browser-file { |
|
2236 | 2239 | background: url("../images/icons/document_16.png") no-repeat scroll 3px; |
|
2237 | 2240 | height: 16px; |
|
2238 | 2241 | padding-left: 20px; |
|
2239 | 2242 | text-align: left; |
|
2240 | 2243 | } |
|
2241 | 2244 | |
|
2242 | 2245 | .diffblock .changeset_file { |
|
2243 | 2246 | background: url("../images/icons/file.png") no-repeat scroll 3px; |
|
2244 | 2247 | height: 16px; |
|
2245 | 2248 | padding-left: 22px; |
|
2246 | 2249 | text-align: left; |
|
2247 | 2250 | font-size: 14px; |
|
2248 | 2251 | } |
|
2249 | 2252 | |
|
2250 | 2253 | .diffblock .changeset_header { |
|
2251 | 2254 | margin-left: 6px !important; |
|
2252 | 2255 | } |
|
2253 | 2256 | |
|
2254 | 2257 | table.code-browser .browser-dir { |
|
2255 | 2258 | background: url("../images/icons/folder_16.png") no-repeat scroll 3px; |
|
2256 | 2259 | height: 16px; |
|
2257 | 2260 | padding-left: 20px; |
|
2258 | 2261 | text-align: left; |
|
2259 | 2262 | } |
|
2260 | 2263 | |
|
2261 | 2264 | .box .search { |
|
2262 | 2265 | clear: both; |
|
2263 | 2266 | overflow: hidden; |
|
2264 | 2267 | margin: 0; |
|
2265 | 2268 | padding: 0 20px 10px; |
|
2266 | 2269 | } |
|
2267 | 2270 | |
|
2268 | 2271 | .box .search div.search_path { |
|
2269 | 2272 | background: none repeat scroll 0 0 #EEE; |
|
2270 | 2273 | border: 1px solid #CCC; |
|
2271 | 2274 | color: blue; |
|
2272 | 2275 | margin-bottom: 10px; |
|
2273 | 2276 | padding: 10px 0; |
|
2274 | 2277 | } |
|
2275 | 2278 | |
|
2276 | 2279 | .box .search div.search_path div.link { |
|
2277 | 2280 | font-weight: 700; |
|
2278 | 2281 | margin-left: 25px; |
|
2279 | 2282 | } |
|
2280 | 2283 | |
|
2281 | 2284 | .box .search div.search_path div.link a { |
|
2282 | 2285 | color: #003367; |
|
2283 | 2286 | cursor: pointer; |
|
2284 | 2287 | text-decoration: none; |
|
2285 | 2288 | } |
|
2286 | 2289 | |
|
2287 | 2290 | #path_unlock { |
|
2288 | 2291 | color: red; |
|
2289 | 2292 | font-size: 1.2em; |
|
2290 | 2293 | padding-left: 4px; |
|
2291 | 2294 | } |
|
2292 | 2295 | |
|
2293 | 2296 | .info_box span { |
|
2294 | 2297 | margin-left: 3px; |
|
2295 | 2298 | margin-right: 3px; |
|
2296 | 2299 | } |
|
2297 | 2300 | |
|
2298 | 2301 | .info_box .rev { |
|
2299 | 2302 | color: #003367; |
|
2300 | 2303 | font-size: 1.6em; |
|
2301 | 2304 | font-weight: bold; |
|
2302 | 2305 | vertical-align: sub; |
|
2303 | 2306 | } |
|
2304 | 2307 | |
|
2305 | 2308 | .info_box input#at_rev,.info_box input#size { |
|
2306 | 2309 | background: #FFF; |
|
2307 | 2310 | border-top: 1px solid #b3b3b3; |
|
2308 | 2311 | border-left: 1px solid #b3b3b3; |
|
2309 | 2312 | border-right: 1px solid #eaeaea; |
|
2310 | 2313 | border-bottom: 1px solid #eaeaea; |
|
2311 | 2314 | color: #000; |
|
2312 | 2315 | font-size: 12px; |
|
2313 | 2316 | margin: 0; |
|
2314 | 2317 | padding: 1px 5px 1px; |
|
2315 | 2318 | } |
|
2316 | 2319 | |
|
2317 | 2320 | .info_box input#view { |
|
2318 | 2321 | text-align: center; |
|
2319 | 2322 | padding: 4px 3px 2px 2px; |
|
2320 | 2323 | } |
|
2321 | 2324 | |
|
2322 | 2325 | .yui-overlay,.yui-panel-container { |
|
2323 | 2326 | visibility: hidden; |
|
2324 | 2327 | position: absolute; |
|
2325 | 2328 | z-index: 2; |
|
2326 | 2329 | } |
|
2327 | 2330 | |
|
2328 | 2331 | .yui-tt { |
|
2329 | 2332 | visibility: hidden; |
|
2330 | 2333 | position: absolute; |
|
2331 | 2334 | color: #666; |
|
2332 | 2335 | background-color: #FFF; |
|
2333 | 2336 | border: 2px solid #003367; |
|
2334 | 2337 | font: 100% sans-serif; |
|
2335 | 2338 | width: auto; |
|
2336 | 2339 | opacity: 1px; |
|
2337 | 2340 | padding: 8px; |
|
2338 | 2341 | white-space: pre-wrap; |
|
2339 | 2342 | -webkit-border-radius: 8px 8px 8px 8px; |
|
2340 | 2343 | -khtml-border-radius: 8px 8px 8px 8px; |
|
2341 | 2344 | -moz-border-radius: 8px 8px 8px 8px; |
|
2342 | 2345 | border-radius: 8px 8px 8px 8px; |
|
2343 | 2346 | box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6); |
|
2344 | 2347 | } |
|
2345 | 2348 | |
|
2346 | 2349 | .ac { |
|
2347 | 2350 | vertical-align: top; |
|
2348 | 2351 | } |
|
2349 | 2352 | |
|
2350 | 2353 | .ac .yui-ac { |
|
2351 | 2354 | position: relative; |
|
2352 | 2355 | font-size: 100%; |
|
2353 | 2356 | } |
|
2354 | 2357 | |
|
2355 | 2358 | .ac .perm_ac { |
|
2356 | 2359 | width: 15em; |
|
2357 | 2360 | } |
|
2358 | 2361 | |
|
2359 | 2362 | .ac .yui-ac-input { |
|
2360 | 2363 | width: 100%; |
|
2361 | 2364 | } |
|
2362 | 2365 | |
|
2363 | 2366 | .ac .yui-ac-container { |
|
2364 | 2367 | position: absolute; |
|
2365 | 2368 | top: 1.6em; |
|
2366 | 2369 | width: 100%; |
|
2367 | 2370 | } |
|
2368 | 2371 | |
|
2369 | 2372 | .ac .yui-ac-content { |
|
2370 | 2373 | position: absolute; |
|
2371 | 2374 | width: 100%; |
|
2372 | 2375 | border: 1px solid gray; |
|
2373 | 2376 | background: #fff; |
|
2374 | 2377 | overflow: hidden; |
|
2375 | 2378 | z-index: 9050; |
|
2376 | 2379 | } |
|
2377 | 2380 | |
|
2378 | 2381 | .ac .yui-ac-shadow { |
|
2379 | 2382 | position: absolute; |
|
2380 | 2383 | width: 100%; |
|
2381 | 2384 | background: #000; |
|
2382 | 2385 | -moz-opacity: 0.1px; |
|
2383 | 2386 | opacity: .10; |
|
2384 | 2387 | filter: alpha(opacity = 10); |
|
2385 | 2388 | z-index: 9049; |
|
2386 | 2389 | margin: .3em; |
|
2387 | 2390 | } |
|
2388 | 2391 | |
|
2389 | 2392 | .ac .yui-ac-content ul { |
|
2390 | 2393 | width: 100%; |
|
2391 | 2394 | margin: 0; |
|
2392 | 2395 | padding: 0; |
|
2393 | 2396 | } |
|
2394 | 2397 | |
|
2395 | 2398 | .ac .yui-ac-content li { |
|
2396 | 2399 | cursor: default; |
|
2397 | 2400 | white-space: nowrap; |
|
2398 | 2401 | margin: 0; |
|
2399 | 2402 | padding: 2px 5px; |
|
2400 | 2403 | } |
|
2401 | 2404 | |
|
2402 | 2405 | .ac .yui-ac-content li.yui-ac-prehighlight { |
|
2403 | 2406 | background: #B3D4FF; |
|
2404 | 2407 | } |
|
2405 | 2408 | |
|
2406 | 2409 | .ac .yui-ac-content li.yui-ac-highlight { |
|
2407 | 2410 | background: #556CB5; |
|
2408 | 2411 | color: #FFF; |
|
2409 | 2412 | } |
|
2410 | 2413 | |
|
2411 | 2414 | .follow { |
|
2412 | 2415 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; |
|
2413 | 2416 | height: 16px; |
|
2414 | 2417 | width: 20px; |
|
2415 | 2418 | cursor: pointer; |
|
2416 | 2419 | display: block; |
|
2417 | 2420 | float: right; |
|
2418 | 2421 | margin-top: 2px; |
|
2419 | 2422 | } |
|
2420 | 2423 | |
|
2421 | 2424 | .following { |
|
2422 | 2425 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; |
|
2423 | 2426 | height: 16px; |
|
2424 | 2427 | width: 20px; |
|
2425 | 2428 | cursor: pointer; |
|
2426 | 2429 | display: block; |
|
2427 | 2430 | float: right; |
|
2428 | 2431 | margin-top: 2px; |
|
2429 | 2432 | } |
|
2430 | 2433 | |
|
2431 | 2434 | .currently_following { |
|
2432 | 2435 | padding-left: 10px; |
|
2433 | 2436 | padding-bottom: 5px; |
|
2434 | 2437 | } |
|
2435 | 2438 | |
|
2436 | 2439 | .add_icon { |
|
2437 | 2440 | background: url("../images/icons/add.png") no-repeat scroll 3px; |
|
2438 | 2441 | padding-left: 20px; |
|
2439 | 2442 | padding-top: 0px; |
|
2440 | 2443 | text-align: left; |
|
2441 | 2444 | } |
|
2442 | 2445 | |
|
2443 | 2446 | .edit_icon { |
|
2444 | 2447 | background: url("../images/icons/folder_edit.png") no-repeat scroll 3px; |
|
2445 | 2448 | padding-left: 20px; |
|
2446 | 2449 | padding-top: 0px; |
|
2447 | 2450 | text-align: left; |
|
2448 | 2451 | } |
|
2449 | 2452 | |
|
2450 | 2453 | .delete_icon { |
|
2451 | 2454 | background: url("../images/icons/delete.png") no-repeat scroll 3px; |
|
2452 | 2455 | padding-left: 20px; |
|
2453 | 2456 | padding-top: 0px; |
|
2454 | 2457 | text-align: left; |
|
2455 | 2458 | } |
|
2456 | 2459 | |
|
2457 | 2460 | .refresh_icon { |
|
2458 | 2461 | background: url("../images/icons/arrow_refresh.png") no-repeat scroll |
|
2459 | 2462 | 3px; |
|
2460 | 2463 | padding-left: 20px; |
|
2461 | 2464 | padding-top: 0px; |
|
2462 | 2465 | text-align: left; |
|
2463 | 2466 | } |
|
2464 | 2467 | |
|
2465 | 2468 | .pull_icon { |
|
2466 | 2469 | background: url("../images/icons/connect.png") no-repeat scroll 3px; |
|
2467 | 2470 | padding-left: 20px; |
|
2468 | 2471 | padding-top: 0px; |
|
2469 | 2472 | text-align: left; |
|
2470 | 2473 | } |
|
2471 | 2474 | |
|
2472 | 2475 | .rss_icon { |
|
2473 | 2476 | background: url("../images/icons/rss_16.png") no-repeat scroll 3px; |
|
2474 | 2477 | padding-left: 20px; |
|
2475 | 2478 | padding-top: 4px; |
|
2476 | 2479 | text-align: left; |
|
2477 | 2480 | font-size: 8px |
|
2478 | 2481 | } |
|
2479 | 2482 | |
|
2480 | 2483 | .atom_icon { |
|
2481 | 2484 | background: url("../images/icons/atom.png") no-repeat scroll 3px; |
|
2482 | 2485 | padding-left: 20px; |
|
2483 | 2486 | padding-top: 4px; |
|
2484 | 2487 | text-align: left; |
|
2485 | 2488 | font-size: 8px |
|
2486 | 2489 | } |
|
2487 | 2490 | |
|
2488 | 2491 | .archive_icon { |
|
2489 | 2492 | background: url("../images/icons/compress.png") no-repeat scroll 3px; |
|
2490 | 2493 | padding-left: 20px; |
|
2491 | 2494 | text-align: left; |
|
2492 | 2495 | padding-top: 1px; |
|
2493 | 2496 | } |
|
2494 | 2497 | |
|
2495 | 2498 | .start_following_icon { |
|
2496 | 2499 | background: url("../images/icons/heart_add.png") no-repeat scroll 3px; |
|
2497 | 2500 | padding-left: 20px; |
|
2498 | 2501 | text-align: left; |
|
2499 | 2502 | padding-top: 0px; |
|
2500 | 2503 | } |
|
2501 | 2504 | |
|
2502 | 2505 | .stop_following_icon { |
|
2503 | 2506 | background: url("../images/icons/heart_delete.png") no-repeat scroll 3px; |
|
2504 | 2507 | padding-left: 20px; |
|
2505 | 2508 | text-align: left; |
|
2506 | 2509 | padding-top: 0px; |
|
2507 | 2510 | } |
|
2508 | 2511 | |
|
2509 | 2512 | .action_button { |
|
2510 | 2513 | border: 0; |
|
2511 | 2514 | display: inline; |
|
2512 | 2515 | } |
|
2513 | 2516 | |
|
2514 | 2517 | .action_button:hover { |
|
2515 | 2518 | border: 0; |
|
2516 | 2519 | text-decoration: underline; |
|
2517 | 2520 | cursor: pointer; |
|
2518 | 2521 | } |
|
2519 | 2522 | |
|
2520 | 2523 | #switch_repos { |
|
2521 | 2524 | position: absolute; |
|
2522 | 2525 | height: 25px; |
|
2523 | 2526 | z-index: 1; |
|
2524 | 2527 | } |
|
2525 | 2528 | |
|
2526 | 2529 | #switch_repos select { |
|
2527 | 2530 | min-width: 150px; |
|
2528 | 2531 | max-height: 250px; |
|
2529 | 2532 | z-index: 1; |
|
2530 | 2533 | } |
|
2531 | 2534 | |
|
2532 | 2535 | .breadcrumbs { |
|
2533 | 2536 | border: medium none; |
|
2534 | 2537 | color: #FFF; |
|
2535 | 2538 | float: left; |
|
2536 | 2539 | text-transform: uppercase; |
|
2537 | 2540 | font-weight: 700; |
|
2538 | 2541 | font-size: 14px; |
|
2539 | 2542 | margin: 0; |
|
2540 | 2543 | padding: 11px 0 11px 10px; |
|
2541 | 2544 | } |
|
2542 | 2545 | |
|
2543 | 2546 | .breadcrumbs a { |
|
2544 | 2547 | color: #FFF; |
|
2545 | 2548 | } |
|
2546 | 2549 | |
|
2547 | 2550 | .flash_msg { |
|
2548 | 2551 | |
|
2549 | 2552 | } |
|
2550 | 2553 | |
|
2551 | 2554 | .flash_msg ul { |
|
2552 | 2555 | |
|
2553 | 2556 | } |
|
2554 | 2557 | |
|
2555 | 2558 | .error_msg { |
|
2556 | 2559 | background-color: #c43c35; |
|
2557 | 2560 | background-repeat: repeat-x; |
|
2558 | 2561 | background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), |
|
2559 | 2562 | to(#c43c35) ); |
|
2560 | 2563 | background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); |
|
2561 | 2564 | background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); |
|
2562 | 2565 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), |
|
2563 | 2566 | color-stop(100%, #c43c35) ); |
|
2564 | 2567 | background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); |
|
2565 | 2568 | background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); |
|
2566 | 2569 | background-image: linear-gradient(top, #ee5f5b, #c43c35); |
|
2567 | 2570 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', |
|
2568 | 2571 | endColorstr='#c43c35', GradientType=0 ); |
|
2569 | 2572 | border-color: #c43c35 #c43c35 #882a25; |
|
2570 | 2573 | } |
|
2571 | 2574 | |
|
2572 | 2575 | .warning_msg { |
|
2573 | 2576 | color: #404040 !important; |
|
2574 | 2577 | background-color: #eedc94; |
|
2575 | 2578 | background-repeat: repeat-x; |
|
2576 | 2579 | background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), |
|
2577 | 2580 | to(#eedc94) ); |
|
2578 | 2581 | background-image: -moz-linear-gradient(top, #fceec1, #eedc94); |
|
2579 | 2582 | background-image: -ms-linear-gradient(top, #fceec1, #eedc94); |
|
2580 | 2583 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), |
|
2581 | 2584 | color-stop(100%, #eedc94) ); |
|
2582 | 2585 | background-image: -webkit-linear-gradient(top, #fceec1, #eedc94); |
|
2583 | 2586 | background-image: -o-linear-gradient(top, #fceec1, #eedc94); |
|
2584 | 2587 | background-image: linear-gradient(top, #fceec1, #eedc94); |
|
2585 | 2588 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', |
|
2586 | 2589 | endColorstr='#eedc94', GradientType=0 ); |
|
2587 | 2590 | border-color: #eedc94 #eedc94 #e4c652; |
|
2588 | 2591 | } |
|
2589 | 2592 | |
|
2590 | 2593 | .success_msg { |
|
2591 | 2594 | background-color: #57a957; |
|
2592 | 2595 | background-repeat: repeat-x !important; |
|
2593 | 2596 | background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), |
|
2594 | 2597 | to(#57a957) ); |
|
2595 | 2598 | background-image: -moz-linear-gradient(top, #62c462, #57a957); |
|
2596 | 2599 | background-image: -ms-linear-gradient(top, #62c462, #57a957); |
|
2597 | 2600 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), |
|
2598 | 2601 | color-stop(100%, #57a957) ); |
|
2599 | 2602 | background-image: -webkit-linear-gradient(top, #62c462, #57a957); |
|
2600 | 2603 | background-image: -o-linear-gradient(top, #62c462, #57a957); |
|
2601 | 2604 | background-image: linear-gradient(top, #62c462, #57a957); |
|
2602 | 2605 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', |
|
2603 | 2606 | endColorstr='#57a957', GradientType=0 ); |
|
2604 | 2607 | border-color: #57a957 #57a957 #3d773d; |
|
2605 | 2608 | } |
|
2606 | 2609 | |
|
2607 | 2610 | .notice_msg { |
|
2608 | 2611 | background-color: #339bb9; |
|
2609 | 2612 | background-repeat: repeat-x; |
|
2610 | 2613 | background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), |
|
2611 | 2614 | to(#339bb9) ); |
|
2612 | 2615 | background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); |
|
2613 | 2616 | background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); |
|
2614 | 2617 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), |
|
2615 | 2618 | color-stop(100%, #339bb9) ); |
|
2616 | 2619 | background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); |
|
2617 | 2620 | background-image: -o-linear-gradient(top, #5bc0de, #339bb9); |
|
2618 | 2621 | background-image: linear-gradient(top, #5bc0de, #339bb9); |
|
2619 | 2622 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', |
|
2620 | 2623 | endColorstr='#339bb9', GradientType=0 ); |
|
2621 | 2624 | border-color: #339bb9 #339bb9 #22697d; |
|
2622 | 2625 | } |
|
2623 | 2626 | |
|
2624 | 2627 | .success_msg,.error_msg,.notice_msg,.warning_msg { |
|
2625 | 2628 | font-size: 12px; |
|
2626 | 2629 | font-weight: 700; |
|
2627 | 2630 | min-height: 14px; |
|
2628 | 2631 | line-height: 14px; |
|
2629 | 2632 | margin-bottom: 10px; |
|
2630 | 2633 | margin-top: 0; |
|
2631 | 2634 | display: block; |
|
2632 | 2635 | overflow: auto; |
|
2633 | 2636 | padding: 6px 10px 6px 10px; |
|
2634 | 2637 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
2635 | 2638 | position: relative; |
|
2636 | 2639 | color: #FFF; |
|
2637 | 2640 | border-width: 1px; |
|
2638 | 2641 | border-style: solid; |
|
2639 | 2642 | -webkit-border-radius: 4px; |
|
2640 | 2643 | -moz-border-radius: 4px; |
|
2641 | 2644 | border-radius: 4px; |
|
2642 | 2645 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
2643 | 2646 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
2644 | 2647 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); |
|
2645 | 2648 | } |
|
2646 | 2649 | |
|
2647 | 2650 | #msg_close { |
|
2648 | 2651 | background: transparent url("../icons/cross_grey_small.png") no-repeat |
|
2649 | 2652 | scroll 0 0; |
|
2650 | 2653 | cursor: pointer; |
|
2651 | 2654 | height: 16px; |
|
2652 | 2655 | position: absolute; |
|
2653 | 2656 | right: 5px; |
|
2654 | 2657 | top: 5px; |
|
2655 | 2658 | width: 16px; |
|
2656 | 2659 | } |
|
2657 | 2660 | |
|
2658 | 2661 | div#legend_container table,div#legend_choices table { |
|
2659 | 2662 | width: auto !important; |
|
2660 | 2663 | } |
|
2661 | 2664 | |
|
2662 | 2665 | table#permissions_manage { |
|
2663 | 2666 | width: 0 !important; |
|
2664 | 2667 | } |
|
2665 | 2668 | |
|
2666 | 2669 | table#permissions_manage span.private_repo_msg { |
|
2667 | 2670 | font-size: 0.8em; |
|
2668 | 2671 | opacity: 0.6px; |
|
2669 | 2672 | } |
|
2670 | 2673 | |
|
2671 | 2674 | table#permissions_manage td.private_repo_msg { |
|
2672 | 2675 | font-size: 0.8em; |
|
2673 | 2676 | } |
|
2674 | 2677 | |
|
2675 | 2678 | table#permissions_manage tr#add_perm_input td { |
|
2676 | 2679 | vertical-align: middle; |
|
2677 | 2680 | } |
|
2678 | 2681 | |
|
2679 | 2682 | div.gravatar { |
|
2680 | 2683 | background-color: #FFF; |
|
2681 | 2684 | border: 0px solid #D0D0D0; |
|
2682 | 2685 | float: left; |
|
2683 | 2686 | margin-right: 0.7em; |
|
2684 | 2687 | padding: 2px 2px 2px 2px; |
|
2685 | 2688 | line-height:0; |
|
2686 | 2689 | -webkit-border-radius: 6px; |
|
2687 | 2690 | -khtml-border-radius: 6px; |
|
2688 | 2691 | -moz-border-radius: 6px; |
|
2689 | 2692 | border-radius: 6px; |
|
2690 | 2693 | } |
|
2691 | 2694 | |
|
2692 | 2695 | div.gravatar img { |
|
2693 | 2696 | -webkit-border-radius: 4px; |
|
2694 | 2697 | -khtml-border-radius: 4px; |
|
2695 | 2698 | -moz-border-radius: 4px; |
|
2696 | 2699 | border-radius: 4px; |
|
2697 | 2700 | } |
|
2698 | 2701 | |
|
2699 | 2702 | #header,#content,#footer { |
|
2700 | 2703 | min-width: 978px; |
|
2701 | 2704 | } |
|
2702 | 2705 | |
|
2703 | 2706 | #content { |
|
2704 | 2707 | clear: both; |
|
2705 | 2708 | overflow: hidden; |
|
2706 | 2709 | padding: 14px 10px; |
|
2707 | 2710 | } |
|
2708 | 2711 | |
|
2709 | 2712 | #content div.box div.title div.search { |
|
2710 | 2713 | |
|
2711 | 2714 | border-left: 1px solid #316293; |
|
2712 | 2715 | } |
|
2713 | 2716 | |
|
2714 | 2717 | #content div.box div.title div.search div.input input { |
|
2715 | 2718 | border: 1px solid #316293; |
|
2716 | 2719 | } |
|
2717 | 2720 | |
|
2718 |
.ui-button-small |
|
|
2721 | input.ui-button-small, | |
|
2722 | .ui-button-small { | |
|
2723 | background-color: #eedc94; | |
|
2724 | background-repeat: repeat-x; | |
|
2725 | background-image: -khtml-gradient(linear, left top, left bottom, from(#F4F4F4),to(#ECECEC) ); | |
|
2726 | background-image: -moz-linear-gradient(top, #F4F4F4, #ECECEC); | |
|
2727 | background-image: -ms-linear-gradient(top, #F4F4F4, #ECECEC); | |
|
2728 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F4F4F4),color-stop(100%, #F4F4F4) ); | |
|
2729 | background-image: -webkit-linear-gradient(top, #F4F4F4, #ECECEC) ); | |
|
2730 | background-image: -o-linear-gradient(top, #F4F4F4, #ECECEC) ); | |
|
2731 | background-image: linear-gradient(top, #F4F4F4, #ECECEC); | |
|
2719 | 2732 | |
|
2720 | } | |
|
2721 | ||
|
2722 | input.ui-button-small,.ui-button-small { | |
|
2723 | background: #e5e3e3 url("../images/button.png") repeat-x !important; | |
|
2724 | 2733 | border-top: 1px solid #DDD !important; |
|
2725 | 2734 | border-left: 1px solid #c6c6c6 !important; |
|
2726 | 2735 | border-right: 1px solid #DDD !important; |
|
2727 | 2736 | border-bottom: 1px solid #c6c6c6 !important; |
|
2728 | 2737 | color: #515151 !important; |
|
2729 | 2738 | outline: none !important; |
|
2730 | 2739 | margin: 0 !important; |
|
2731 | 2740 | -webkit-border-radius: 4px 4px 4px 4px !important; |
|
2732 | 2741 | -khtml-border-radius: 4px 4px 4px 4px !important; |
|
2733 | 2742 | -moz-border-radius: 4px 4px 4px 4px !important; |
|
2734 | 2743 | border-radius: 4px 4px 4px 4px !important; |
|
2735 | 2744 | box-shadow: 0 1px 0 #ececec !important; |
|
2736 | 2745 | cursor: pointer !important; |
|
2737 | 2746 | padding: 3px 3px 3px 3px; |
|
2738 | 2747 | } |
|
2739 | 2748 | |
|
2740 |
input.ui-button-small.xsmall, |
|
|
2749 | input.ui-button-small.xsmall, | |
|
2750 | .ui-button-small.xsmall{ | |
|
2741 | 2751 | padding: 1px 2px 1px 1px; |
|
2742 | 2752 | } |
|
2743 | 2753 | |
|
2744 |
input.ui-button-small:hover, |
|
|
2745 | background: #b4b4b4 url("../images/button_selected.png") repeat-x | |
|
2746 | !important; | |
|
2754 | input.ui-button-small:hover, | |
|
2755 | .ui-button-small:hover, | |
|
2756 | .ui-button-small.xsmall:hover | |
|
2757 | { | |
|
2758 | background: #b4b4b4 url("../images/button_selected.png") repeat-x !important; | |
|
2747 | 2759 | border-top: 1px solid #ccc !important; |
|
2748 | 2760 | border-left: 1px solid #bebebe !important; |
|
2749 | 2761 | border-right: 1px solid #b1b1b1 !important; |
|
2750 | 2762 | border-bottom: 1px solid #afafaf !important; |
|
2751 | 2763 | text-decoration: none; |
|
2752 | 2764 | } |
|
2753 | 2765 | |
|
2754 | 2766 | input.ui-button-small-blue,.ui-button-small-blue { |
|
2755 | 2767 | background: #4e85bb url("../images/button_highlight.png") repeat-x; |
|
2756 | 2768 | border-top: 1px solid #5c91a4; |
|
2757 | 2769 | border-left: 1px solid #2a6f89; |
|
2758 | 2770 | border-right: 1px solid #2b7089; |
|
2759 | 2771 | border-bottom: 1px solid #1a6480; |
|
2760 | 2772 | color: #fff; |
|
2761 | 2773 | -webkit-border-radius: 4px 4px 4px 4px; |
|
2762 | 2774 | -khtml-border-radius: 4px 4px 4px 4px; |
|
2763 | 2775 | -moz-border-radius: 4px 4px 4px 4px; |
|
2764 | 2776 | border-radius: 4px 4px 4px 4px; |
|
2765 | 2777 | box-shadow: 0 1px 0 #ececec; |
|
2766 | 2778 | cursor: pointer; |
|
2767 | 2779 | padding: 0px 2px 1px 2px; |
|
2768 | 2780 | } |
|
2769 | 2781 | |
|
2770 | 2782 | input.ui-button-small-blue:hover { |
|
2771 | 2783 | |
|
2772 | 2784 | } |
|
2773 | 2785 | |
|
2774 | 2786 | ins,div.options a:hover { |
|
2775 | 2787 | text-decoration: none; |
|
2776 | 2788 | } |
|
2777 | 2789 | |
|
2778 | img,#header #header-inner #quick li a:hover span.normal,#header #header-inner #quick li ul li.last,#content div.box div.form div.fields div.field div.textarea table td table td a,#clone_url | |
|
2779 | { | |
|
2790 | img, | |
|
2791 | #header #header-inner #quick li a:hover span.normal, | |
|
2792 | #header #header-inner #quick li ul li.last, | |
|
2793 | #content div.box div.form div.fields div.field div.textarea table td table td a, | |
|
2794 | #clone_url | |
|
2795 | { | |
|
2780 | 2796 | border: none; |
|
2781 | 2797 | } |
|
2782 | 2798 | |
|
2783 | 2799 | img.icon,.right .merge img { |
|
2784 | 2800 | vertical-align: bottom; |
|
2785 | 2801 | } |
|
2786 | 2802 | |
|
2787 | #header ul#logged-user,#content div.box div.title ul.links,#content div.box div.message div.dismiss,#content div.box div.traffic div.legend ul | |
|
2803 | #header ul#logged-user,#content div.box div.title ul.links, | |
|
2804 | #content div.box div.message div.dismiss, | |
|
2805 | #content div.box div.traffic div.legend ul | |
|
2788 | 2806 | { |
|
2789 | 2807 | float: right; |
|
2790 | 2808 | margin: 0; |
|
2791 | 2809 | padding: 0; |
|
2792 | 2810 | } |
|
2793 | 2811 | |
|
2794 | #header #header-inner #home,#header #header-inner #logo,#content div.box ul.left,#content div.box ol.left,#content div.box div.pagination-left,div#commit_history,div#legend_data,div#legend_container,div#legend_choices | |
|
2812 | #header #header-inner #home,#header #header-inner #logo, | |
|
2813 | #content div.box ul.left,#content div.box ol.left, | |
|
2814 | #content div.box div.pagination-left,div#commit_history, | |
|
2815 | div#legend_data,div#legend_container,div#legend_choices | |
|
2795 | 2816 | { |
|
2796 | 2817 | float: left; |
|
2797 | 2818 | } |
|
2798 | 2819 | |
|
2799 | #header #header-inner #quick li:hover ul ul,#header #header-inner #quick li:hover ul ul ul,#header #header-inner #quick li:hover ul ul ul ul,#content #left #menu ul.closed,#content #left #menu li ul.collapsed,.yui-tt-shadow | |
|
2820 | #header #header-inner #quick li:hover ul ul, | |
|
2821 | #header #header-inner #quick li:hover ul ul ul, | |
|
2822 | #header #header-inner #quick li:hover ul ul ul ul, | |
|
2823 | #content #left #menu ul.closed,#content #left #menu li ul.collapsed,.yui-tt-shadow | |
|
2800 | 2824 | { |
|
2801 | 2825 | display: none; |
|
2802 | 2826 | } |
|
2803 | 2827 | |
|
2804 | 2828 | #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 |
|
2805 | 2829 | { |
|
2806 | 2830 | display: block; |
|
2807 | 2831 | } |
|
2808 | 2832 | |
|
2809 | 2833 | #content div.graph { |
|
2810 | 2834 | padding: 0 10px 10px; |
|
2811 | 2835 | } |
|
2812 | 2836 | |
|
2813 | 2837 | #content div.box div.title ul.links li a:hover,#content div.box div.title ul.links li.ui-tabs-selected a |
|
2814 | 2838 | { |
|
2815 | 2839 | color: #bfe3ff; |
|
2816 | 2840 | } |
|
2817 | 2841 | |
|
2818 | 2842 | #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 |
|
2819 | 2843 | { |
|
2820 | 2844 | margin: 10px 24px 10px 44px; |
|
2821 | 2845 | } |
|
2822 | 2846 | |
|
2823 | 2847 | #content div.box div.form,#content div.box div.table,#content div.box div.traffic |
|
2824 | 2848 | { |
|
2825 | 2849 | clear: both; |
|
2826 | 2850 | overflow: hidden; |
|
2827 | 2851 | margin: 0; |
|
2828 | 2852 | padding: 0 20px 10px; |
|
2829 | 2853 | } |
|
2830 | 2854 | |
|
2831 | 2855 | #content div.box div.form div.fields,#login div.form,#login div.form div.fields,#register div.form,#register div.form div.fields |
|
2832 | 2856 | { |
|
2833 | 2857 | clear: both; |
|
2834 | 2858 | overflow: hidden; |
|
2835 | 2859 | margin: 0; |
|
2836 | 2860 | padding: 0; |
|
2837 | 2861 | } |
|
2838 | 2862 | |
|
2839 | 2863 | #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 |
|
2840 | 2864 | { |
|
2841 | 2865 | height: 1%; |
|
2842 | 2866 | display: block; |
|
2843 | 2867 | color: #363636; |
|
2844 | 2868 | margin: 0; |
|
2845 | 2869 | padding: 2px 0 0; |
|
2846 | 2870 | } |
|
2847 | 2871 | |
|
2848 | 2872 | #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 |
|
2849 | 2873 | { |
|
2850 | 2874 | background: #FBE3E4; |
|
2851 | 2875 | border-top: 1px solid #e1b2b3; |
|
2852 | 2876 | border-left: 1px solid #e1b2b3; |
|
2853 | 2877 | border-right: 1px solid #FBC2C4; |
|
2854 | 2878 | border-bottom: 1px solid #FBC2C4; |
|
2855 | 2879 | } |
|
2856 | 2880 | |
|
2857 | 2881 | #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 |
|
2858 | 2882 | { |
|
2859 | 2883 | background: #E6EFC2; |
|
2860 | 2884 | border-top: 1px solid #cebb98; |
|
2861 | 2885 | border-left: 1px solid #cebb98; |
|
2862 | 2886 | border-right: 1px solid #c6d880; |
|
2863 | 2887 | border-bottom: 1px solid #c6d880; |
|
2864 | 2888 | } |
|
2865 | 2889 | |
|
2866 | 2890 | #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 |
|
2867 | 2891 | { |
|
2868 | 2892 | margin: 0; |
|
2869 | 2893 | } |
|
2870 | 2894 | |
|
2871 | 2895 | #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 |
|
2872 | 2896 | { |
|
2873 | 2897 | margin: 0 0 0 0px !important; |
|
2874 | 2898 | padding: 0; |
|
2875 | 2899 | } |
|
2876 | 2900 | |
|
2877 | 2901 | #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 |
|
2878 | 2902 | { |
|
2879 | 2903 | margin: 0 0 0 200px; |
|
2880 | 2904 | padding: 0; |
|
2881 | 2905 | } |
|
2882 | 2906 | |
|
2883 | 2907 | #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 |
|
2884 | 2908 | { |
|
2885 | 2909 | color: #000; |
|
2886 | 2910 | text-decoration: none; |
|
2887 | 2911 | } |
|
2888 | 2912 | |
|
2889 | 2913 | #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus,#content div.box div.action a.ui-selectmenu-focus |
|
2890 | 2914 | { |
|
2891 | 2915 | border: 1px solid #666; |
|
2892 | 2916 | } |
|
2893 | 2917 | |
|
2894 | 2918 | #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 |
|
2895 | 2919 | { |
|
2896 | 2920 | clear: both; |
|
2897 | 2921 | overflow: hidden; |
|
2898 | 2922 | margin: 0; |
|
2899 | 2923 | padding: 8px 0 2px; |
|
2900 | 2924 | } |
|
2901 | 2925 | |
|
2902 | 2926 | #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 |
|
2903 | 2927 | { |
|
2904 | 2928 | float: left; |
|
2905 | 2929 | margin: 0; |
|
2906 | 2930 | } |
|
2907 | 2931 | |
|
2908 | 2932 | #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 |
|
2909 | 2933 | { |
|
2910 | 2934 | height: 1%; |
|
2911 | 2935 | display: block; |
|
2912 | 2936 | float: left; |
|
2913 | 2937 | margin: 2px 0 0 4px; |
|
2914 | 2938 | } |
|
2915 | 2939 | |
|
2916 | 2940 | 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 |
|
2917 | 2941 | { |
|
2918 | 2942 | color: #000; |
|
2919 | 2943 | font-size: 11px; |
|
2920 | 2944 | font-weight: 700; |
|
2921 | 2945 | margin: 0; |
|
2922 | 2946 | } |
|
2923 | 2947 | |
|
2924 | 2948 | input.ui-button { |
|
2925 | 2949 | background: #e5e3e3 url("../images/button.png") repeat-x; |
|
2926 | 2950 | border-top: 1px solid #DDD; |
|
2927 | 2951 | border-left: 1px solid #c6c6c6; |
|
2928 | 2952 | border-right: 1px solid #DDD; |
|
2929 | 2953 | border-bottom: 1px solid #c6c6c6; |
|
2930 | 2954 | color: #515151 !important; |
|
2931 | 2955 | outline: none; |
|
2932 | 2956 | margin: 0; |
|
2933 | 2957 | padding: 6px 12px; |
|
2934 | 2958 | -webkit-border-radius: 4px 4px 4px 4px; |
|
2935 | 2959 | -khtml-border-radius: 4px 4px 4px 4px; |
|
2936 | 2960 | -moz-border-radius: 4px 4px 4px 4px; |
|
2937 | 2961 | border-radius: 4px 4px 4px 4px; |
|
2938 | 2962 | box-shadow: 0 1px 0 #ececec; |
|
2939 | 2963 | cursor: pointer; |
|
2940 | 2964 | } |
|
2941 | 2965 | |
|
2942 | 2966 | input.ui-button:hover { |
|
2943 | 2967 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; |
|
2944 | 2968 | border-top: 1px solid #ccc; |
|
2945 | 2969 | border-left: 1px solid #bebebe; |
|
2946 | 2970 | border-right: 1px solid #b1b1b1; |
|
2947 | 2971 | border-bottom: 1px solid #afafaf; |
|
2948 | 2972 | } |
|
2949 | 2973 | |
|
2950 | 2974 | div.form div.fields div.field div.highlight,#content div.box div.form div.fields div.buttons div.highlight |
|
2951 | 2975 | { |
|
2952 | 2976 | display: inline; |
|
2953 | 2977 | } |
|
2954 | 2978 | |
|
2955 | 2979 | #content div.box div.form div.fields div.buttons,div.form div.fields div.buttons |
|
2956 | 2980 | { |
|
2957 | 2981 | margin: 10px 0 0 200px; |
|
2958 | 2982 | padding: 0; |
|
2959 | 2983 | } |
|
2960 | 2984 | |
|
2961 | 2985 | #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 |
|
2962 | 2986 | { |
|
2963 | 2987 | margin: 10px 0 0; |
|
2964 | 2988 | } |
|
2965 | 2989 | |
|
2966 | 2990 | #content div.box table td.user,#content div.box table td.address { |
|
2967 | 2991 | width: 10%; |
|
2968 | 2992 | text-align: center; |
|
2969 | 2993 | } |
|
2970 | 2994 | |
|
2971 | 2995 | #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 |
|
2972 | 2996 | { |
|
2973 | 2997 | text-align: right; |
|
2974 | 2998 | margin: 6px 0 0; |
|
2975 | 2999 | padding: 0; |
|
2976 | 3000 | } |
|
2977 | 3001 | |
|
2978 | 3002 | #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 |
|
2979 | 3003 | { |
|
2980 | 3004 | background: #b4b4b4 url("../images/button_selected.png") repeat-x; |
|
2981 | 3005 | border-top: 1px solid #ccc; |
|
2982 | 3006 | border-left: 1px solid #bebebe; |
|
2983 | 3007 | border-right: 1px solid #b1b1b1; |
|
2984 | 3008 | border-bottom: 1px solid #afafaf; |
|
2985 | 3009 | color: #515151; |
|
2986 | 3010 | margin: 0; |
|
2987 | 3011 | padding: 6px 12px; |
|
2988 | 3012 | } |
|
2989 | 3013 | |
|
2990 | 3014 | #content div.box div.pagination div.results,#content div.box div.pagination-wh div.results |
|
2991 | 3015 | { |
|
2992 | 3016 | text-align: left; |
|
2993 | 3017 | float: left; |
|
2994 | 3018 | margin: 0; |
|
2995 | 3019 | padding: 0; |
|
2996 | 3020 | } |
|
2997 | 3021 | |
|
2998 | 3022 | #content div.box div.pagination div.results span,#content div.box div.pagination-wh div.results span |
|
2999 | 3023 | { |
|
3000 | 3024 | height: 1%; |
|
3001 | 3025 | display: block; |
|
3002 | 3026 | float: left; |
|
3003 | 3027 | background: #ebebeb url("../images/pager.png") repeat-x; |
|
3004 | 3028 | border-top: 1px solid #dedede; |
|
3005 | 3029 | border-left: 1px solid #cfcfcf; |
|
3006 | 3030 | border-right: 1px solid #c4c4c4; |
|
3007 | 3031 | border-bottom: 1px solid #c4c4c4; |
|
3008 | 3032 | color: #4A4A4A; |
|
3009 | 3033 | font-weight: 700; |
|
3010 | 3034 | margin: 0; |
|
3011 | 3035 | padding: 6px 8px; |
|
3012 | 3036 | } |
|
3013 | 3037 | |
|
3014 | 3038 | #content div.box div.pagination ul.pager li.disabled,#content div.box div.pagination-wh a.disabled |
|
3015 | 3039 | { |
|
3016 | 3040 | color: #B4B4B4; |
|
3017 | 3041 | padding: 6px; |
|
3018 | 3042 | } |
|
3019 | 3043 | |
|
3020 | 3044 | #login,#register { |
|
3021 | 3045 | width: 520px; |
|
3022 | 3046 | margin: 10% auto 0; |
|
3023 | 3047 | padding: 0; |
|
3024 | 3048 | } |
|
3025 | 3049 | |
|
3026 | 3050 | #login div.color,#register div.color { |
|
3027 | 3051 | clear: both; |
|
3028 | 3052 | overflow: hidden; |
|
3029 | 3053 | background: #FFF; |
|
3030 | 3054 | margin: 10px auto 0; |
|
3031 | 3055 | padding: 3px 3px 3px 0; |
|
3032 | 3056 | } |
|
3033 | 3057 | |
|
3034 | 3058 | #login div.color a,#register div.color a { |
|
3035 | 3059 | width: 20px; |
|
3036 | 3060 | height: 20px; |
|
3037 | 3061 | display: block; |
|
3038 | 3062 | float: left; |
|
3039 | 3063 | margin: 0 0 0 3px; |
|
3040 | 3064 | padding: 0; |
|
3041 | 3065 | } |
|
3042 | 3066 | |
|
3043 | 3067 | #login div.title h5,#register div.title h5 { |
|
3044 | 3068 | color: #fff; |
|
3045 | 3069 | margin: 10px; |
|
3046 | 3070 | padding: 0; |
|
3047 | 3071 | } |
|
3048 | 3072 | |
|
3049 | 3073 | #login div.form div.fields div.field,#register div.form div.fields div.field |
|
3050 | 3074 | { |
|
3051 | 3075 | clear: both; |
|
3052 | 3076 | overflow: hidden; |
|
3053 | 3077 | margin: 0; |
|
3054 | 3078 | padding: 0 0 10px; |
|
3055 | 3079 | } |
|
3056 | 3080 | |
|
3057 | 3081 | #login div.form div.fields div.field span.error-message,#register div.form div.fields div.field span.error-message |
|
3058 | 3082 | { |
|
3059 | 3083 | height: 1%; |
|
3060 | 3084 | display: block; |
|
3061 | 3085 | color: red; |
|
3062 | 3086 | margin: 8px 0 0; |
|
3063 | 3087 | padding: 0; |
|
3064 | 3088 | max-width: 320px; |
|
3065 | 3089 | } |
|
3066 | 3090 | |
|
3067 | 3091 | #login div.form div.fields div.field div.label label,#register div.form div.fields div.field div.label label |
|
3068 | 3092 | { |
|
3069 | 3093 | color: #000; |
|
3070 | 3094 | font-weight: 700; |
|
3071 | 3095 | } |
|
3072 | 3096 | |
|
3073 | 3097 | #login div.form div.fields div.field div.input,#register div.form div.fields div.field div.input |
|
3074 | 3098 | { |
|
3075 | 3099 | float: left; |
|
3076 | 3100 | margin: 0; |
|
3077 | 3101 | padding: 0; |
|
3078 | 3102 | } |
|
3079 | 3103 | |
|
3080 | 3104 | #login div.form div.fields div.field div.checkbox,#register div.form div.fields div.field div.checkbox |
|
3081 | 3105 | { |
|
3082 | 3106 | margin: 0 0 0 184px; |
|
3083 | 3107 | padding: 0; |
|
3084 | 3108 | } |
|
3085 | 3109 | |
|
3086 | 3110 | #login div.form div.fields div.field div.checkbox label,#register div.form div.fields div.field div.checkbox label |
|
3087 | 3111 | { |
|
3088 | 3112 | color: #565656; |
|
3089 | 3113 | font-weight: 700; |
|
3090 | 3114 | } |
|
3091 | 3115 | |
|
3092 | 3116 | #login div.form div.fields div.buttons input,#register div.form div.fields div.buttons input |
|
3093 | 3117 | { |
|
3094 | 3118 | color: #000; |
|
3095 | 3119 | font-size: 1em; |
|
3096 | 3120 | font-weight: 700; |
|
3097 | 3121 | margin: 0; |
|
3098 | 3122 | } |
|
3099 | 3123 | |
|
3100 | 3124 | #changeset_content .container .wrapper,#graph_content .container .wrapper |
|
3101 | 3125 | { |
|
3102 | 3126 | width: 600px; |
|
3103 | 3127 | } |
|
3104 | 3128 | |
|
3105 | 3129 | #changeset_content .container .left,#graph_content .container .left { |
|
3106 | 3130 | float: left; |
|
3107 | 3131 | width: 70%; |
|
3108 | 3132 | padding-left: 5px; |
|
3109 | 3133 | } |
|
3110 | 3134 | |
|
3111 | 3135 | #changeset_content .container .left .date,.ac .match { |
|
3112 | 3136 | font-weight: 700; |
|
3113 | 3137 | padding-top: 5px; |
|
3114 | 3138 | padding-bottom: 5px; |
|
3115 | 3139 | } |
|
3116 | 3140 | |
|
3117 | 3141 | div#legend_container table td,div#legend_choices table td { |
|
3118 | 3142 | border: none !important; |
|
3119 | 3143 | height: 20px !important; |
|
3120 | 3144 | padding: 0 !important; |
|
3121 | 3145 | } |
|
3122 | 3146 | |
|
3123 | 3147 | .q_filter_box { |
|
3124 | 3148 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
3125 | 3149 | -webkit-border-radius: 4px; |
|
3126 | 3150 | -moz-border-radius: 4px; |
|
3127 | 3151 | border-radius: 4px; |
|
3128 | 3152 | border: 0 none; |
|
3129 | 3153 | color: #AAAAAA; |
|
3130 | 3154 | margin-bottom: -4px; |
|
3131 | 3155 | margin-top: -4px; |
|
3132 | 3156 | padding-left: 3px; |
|
3133 | 3157 | } |
|
3134 | 3158 | |
|
3135 | 3159 | #node_filter { |
|
3136 | 3160 | border: 0px solid #545454; |
|
3137 | 3161 | color: #AAAAAA; |
|
3138 | 3162 | padding-left: 3px; |
|
3139 | 3163 | } |
|
3140 | 3164 | |
|
3141 | 3165 | /*README STYLE*/ |
|
3142 | 3166 | |
|
3143 | 3167 | div.readme { |
|
3144 | 3168 | padding:0px; |
|
3145 | 3169 | } |
|
3146 | 3170 | |
|
3147 | 3171 | div.readme h2 { |
|
3148 | 3172 | font-weight: normal; |
|
3149 | 3173 | } |
|
3150 | 3174 | |
|
3151 | 3175 | div.readme .readme_box { |
|
3152 | 3176 | background-color: #fafafa; |
|
3153 | 3177 | } |
|
3154 | 3178 | |
|
3155 | 3179 | div.readme .readme_box { |
|
3156 | 3180 | clear:both; |
|
3157 | 3181 | overflow:hidden; |
|
3158 | 3182 | margin:0; |
|
3159 | 3183 | padding:0 20px 10px; |
|
3160 | 3184 | } |
|
3161 | 3185 | |
|
3162 | 3186 | 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 { |
|
3163 | 3187 | border-bottom: 0 !important; |
|
3164 | 3188 | margin: 0 !important; |
|
3165 | 3189 | padding: 0 !important; |
|
3166 | 3190 | line-height: 1.5em !important; |
|
3167 | 3191 | } |
|
3168 | 3192 | |
|
3169 | 3193 | |
|
3170 | 3194 | div.readme .readme_box h1:first-child { |
|
3171 | 3195 | padding-top: .25em !important; |
|
3172 | 3196 | } |
|
3173 | 3197 | |
|
3174 | 3198 | div.readme .readme_box h2, div.readme .readme_box h3 { |
|
3175 | 3199 | margin: 1em 0 !important; |
|
3176 | 3200 | } |
|
3177 | 3201 | |
|
3178 | 3202 | div.readme .readme_box h2 { |
|
3179 | 3203 | margin-top: 1.5em !important; |
|
3180 | 3204 | border-top: 4px solid #e0e0e0 !important; |
|
3181 | 3205 | padding-top: .5em !important; |
|
3182 | 3206 | } |
|
3183 | 3207 | |
|
3184 | 3208 | div.readme .readme_box p { |
|
3185 | 3209 | color: black !important; |
|
3186 | 3210 | margin: 1em 0 !important; |
|
3187 | 3211 | line-height: 1.5em !important; |
|
3188 | 3212 | } |
|
3189 | 3213 | |
|
3190 | 3214 | div.readme .readme_box ul { |
|
3191 | 3215 | list-style: disc !important; |
|
3192 | 3216 | margin: 1em 0 1em 2em !important; |
|
3193 | 3217 | } |
|
3194 | 3218 | |
|
3195 | 3219 | div.readme .readme_box ol { |
|
3196 | 3220 | list-style: decimal; |
|
3197 | 3221 | margin: 1em 0 1em 2em !important; |
|
3198 | 3222 | } |
|
3199 | 3223 | |
|
3200 | 3224 | div.readme .readme_box pre, code { |
|
3201 | 3225 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
3202 | 3226 | } |
|
3203 | 3227 | |
|
3204 | 3228 | div.readme .readme_box code { |
|
3205 | 3229 | font-size: 12px !important; |
|
3206 | 3230 | background-color: ghostWhite !important; |
|
3207 | 3231 | color: #444 !important; |
|
3208 | 3232 | padding: 0 .2em !important; |
|
3209 | 3233 | border: 1px solid #dedede !important; |
|
3210 | 3234 | } |
|
3211 | 3235 | |
|
3212 | 3236 | div.readme .readme_box pre code { |
|
3213 | 3237 | padding: 0 !important; |
|
3214 | 3238 | font-size: 12px !important; |
|
3215 | 3239 | background-color: #eee !important; |
|
3216 | 3240 | border: none !important; |
|
3217 | 3241 | } |
|
3218 | 3242 | |
|
3219 | 3243 | div.readme .readme_box pre { |
|
3220 | 3244 | margin: 1em 0; |
|
3221 | 3245 | font-size: 12px; |
|
3222 | 3246 | background-color: #eee; |
|
3223 | 3247 | border: 1px solid #ddd; |
|
3224 | 3248 | padding: 5px; |
|
3225 | 3249 | color: #444; |
|
3226 | 3250 | overflow: auto; |
|
3227 | 3251 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
3228 | 3252 | -webkit-border-radius: 3px; |
|
3229 | 3253 | -moz-border-radius: 3px; |
|
3230 | 3254 | border-radius: 3px; |
|
3231 | 3255 | } |
|
3232 | 3256 | |
|
3233 | 3257 | |
|
3234 | 3258 | /** RST STYLE **/ |
|
3235 | 3259 | |
|
3236 | 3260 | |
|
3237 | 3261 | div.rst-block { |
|
3238 | 3262 | padding:0px; |
|
3239 | 3263 | } |
|
3240 | 3264 | |
|
3241 | 3265 | div.rst-block h2 { |
|
3242 | 3266 | font-weight: normal; |
|
3243 | 3267 | } |
|
3244 | 3268 | |
|
3245 | 3269 | div.rst-block { |
|
3246 | 3270 | background-color: #fafafa; |
|
3247 | 3271 | } |
|
3248 | 3272 | |
|
3249 | 3273 | div.rst-block { |
|
3250 | 3274 | clear:both; |
|
3251 | 3275 | overflow:hidden; |
|
3252 | 3276 | margin:0; |
|
3253 | 3277 | padding:0 20px 10px; |
|
3254 | 3278 | } |
|
3255 | 3279 | |
|
3256 | 3280 | div.rst-block h1, div.rst-block h2, div.rst-block h3, div.rst-block h4, div.rst-block h5, div.rst-block h6 { |
|
3257 | 3281 | border-bottom: 0 !important; |
|
3258 | 3282 | margin: 0 !important; |
|
3259 | 3283 | padding: 0 !important; |
|
3260 | 3284 | line-height: 1.5em !important; |
|
3261 | 3285 | } |
|
3262 | 3286 | |
|
3263 | 3287 | |
|
3264 | 3288 | div.rst-block h1:first-child { |
|
3265 | 3289 | padding-top: .25em !important; |
|
3266 | 3290 | } |
|
3267 | 3291 | |
|
3268 | 3292 | div.rst-block h2, div.rst-block h3 { |
|
3269 | 3293 | margin: 1em 0 !important; |
|
3270 | 3294 | } |
|
3271 | 3295 | |
|
3272 | 3296 | div.rst-block h2 { |
|
3273 | 3297 | margin-top: 1.5em !important; |
|
3274 | 3298 | border-top: 4px solid #e0e0e0 !important; |
|
3275 | 3299 | padding-top: .5em !important; |
|
3276 | 3300 | } |
|
3277 | 3301 | |
|
3278 | 3302 | div.rst-block p { |
|
3279 | 3303 | color: black !important; |
|
3280 | 3304 | margin: 1em 0 !important; |
|
3281 | 3305 | line-height: 1.5em !important; |
|
3282 | 3306 | } |
|
3283 | 3307 | |
|
3284 | 3308 | div.rst-block ul { |
|
3285 | 3309 | list-style: disc !important; |
|
3286 | 3310 | margin: 1em 0 1em 2em !important; |
|
3287 | 3311 | } |
|
3288 | 3312 | |
|
3289 | 3313 | div.rst-block ol { |
|
3290 | 3314 | list-style: decimal; |
|
3291 | 3315 | margin: 1em 0 1em 2em !important; |
|
3292 | 3316 | } |
|
3293 | 3317 | |
|
3294 | 3318 | div.rst-block pre, code { |
|
3295 | 3319 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
3296 | 3320 | } |
|
3297 | 3321 | |
|
3298 | 3322 | div.rst-block code { |
|
3299 | 3323 | font-size: 12px !important; |
|
3300 | 3324 | background-color: ghostWhite !important; |
|
3301 | 3325 | color: #444 !important; |
|
3302 | 3326 | padding: 0 .2em !important; |
|
3303 | 3327 | border: 1px solid #dedede !important; |
|
3304 | 3328 | } |
|
3305 | 3329 | |
|
3306 | 3330 | div.rst-block pre code { |
|
3307 | 3331 | padding: 0 !important; |
|
3308 | 3332 | font-size: 12px !important; |
|
3309 | 3333 | background-color: #eee !important; |
|
3310 | 3334 | border: none !important; |
|
3311 | 3335 | } |
|
3312 | 3336 | |
|
3313 | 3337 | div.rst-block pre { |
|
3314 | 3338 | margin: 1em 0; |
|
3315 | 3339 | font-size: 12px; |
|
3316 | 3340 | background-color: #eee; |
|
3317 | 3341 | border: 1px solid #ddd; |
|
3318 | 3342 | padding: 5px; |
|
3319 | 3343 | color: #444; |
|
3320 | 3344 | overflow: auto; |
|
3321 | 3345 | -webkit-box-shadow: rgba(0,0,0,0.07) 0 1px 2px inset; |
|
3322 | 3346 | -webkit-border-radius: 3px; |
|
3323 | 3347 | -moz-border-radius: 3px; |
|
3324 | 3348 | border-radius: 3px; |
|
3325 | 3349 | } |
|
3326 | 3350 | |
|
3327 | 3351 | |
|
3328 | 3352 | /** comment main **/ |
|
3329 | 3353 | .comments { |
|
3330 | 3354 | padding:10px 20px; |
|
3331 | 3355 | } |
|
3332 | 3356 | |
|
3333 | 3357 | .comments .comment { |
|
3334 | 3358 | border: 1px solid #ddd; |
|
3335 | 3359 | margin-top: 10px; |
|
3336 | 3360 | -webkit-border-radius: 4px; |
|
3337 | 3361 | -moz-border-radius: 4px; |
|
3338 | 3362 | border-radius: 4px; |
|
3339 | 3363 | } |
|
3340 | 3364 | |
|
3341 | 3365 | .comments .comment .meta { |
|
3342 | 3366 | background: #f8f8f8; |
|
3343 | 3367 | padding: 6px; |
|
3344 | 3368 | border-bottom: 1px solid #ddd; |
|
3345 | 3369 | } |
|
3346 | 3370 | |
|
3347 | 3371 | .comments .comment .meta img { |
|
3348 | 3372 | vertical-align: middle; |
|
3349 | 3373 | } |
|
3350 | 3374 | |
|
3351 | 3375 | .comments .comment .meta .user { |
|
3352 | 3376 | font-weight: bold; |
|
3353 | 3377 | } |
|
3354 | 3378 | |
|
3355 | 3379 | .comments .comment .meta .date { |
|
3356 | 3380 | float: right; |
|
3357 | 3381 | } |
|
3358 | 3382 | |
|
3359 | 3383 | .comments .comment .text { |
|
3360 | 3384 | padding: 8px 6px 6px 14px; |
|
3361 | 3385 | background-color: #FAFAFA; |
|
3362 | 3386 | } |
|
3363 | 3387 | |
|
3364 | 3388 | .comments .comments-number{ |
|
3365 | 3389 | padding:0px 0px 10px 0px; |
|
3366 | 3390 | font-weight: bold; |
|
3367 | 3391 | color: #666; |
|
3368 | 3392 | font-size: 16px; |
|
3369 | 3393 | } |
|
3370 | 3394 | |
|
3371 | 3395 | /** comment form **/ |
|
3372 | 3396 | |
|
3373 | 3397 | .comment-form .clearfix{ |
|
3374 | 3398 | background: #EEE; |
|
3375 | 3399 | -webkit-border-radius: 4px; |
|
3376 | 3400 | -moz-border-radius: 4px; |
|
3377 | 3401 | border-radius: 4px; |
|
3378 | 3402 | padding: 10px; |
|
3379 | 3403 | } |
|
3380 | 3404 | |
|
3381 | 3405 | div.comment-form { |
|
3382 | 3406 | margin-top: 20px; |
|
3383 | 3407 | } |
|
3384 | 3408 | |
|
3385 | 3409 | .comment-form strong { |
|
3386 | 3410 | display: block; |
|
3387 | 3411 | margin-bottom: 15px; |
|
3388 | 3412 | } |
|
3389 | 3413 | |
|
3390 | 3414 | .comment-form textarea { |
|
3391 | 3415 | width: 100%; |
|
3392 | 3416 | height: 100px; |
|
3393 | 3417 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
3394 | 3418 | } |
|
3395 | 3419 | |
|
3396 | 3420 | form.comment-form { |
|
3397 | 3421 | margin-top: 10px; |
|
3398 | 3422 | margin-left: 10px; |
|
3399 | 3423 | } |
|
3400 | 3424 | |
|
3401 | 3425 | .comment-form-submit { |
|
3402 | 3426 | margin-top: 5px; |
|
3403 | 3427 | margin-left: 525px; |
|
3404 | 3428 | } |
|
3405 | 3429 | |
|
3406 | 3430 | .file-comments { |
|
3407 | 3431 | display: none; |
|
3408 | 3432 | } |
|
3409 | 3433 | |
|
3410 | 3434 | .comment-form .comment { |
|
3411 | 3435 | margin-left: 10px; |
|
3412 | 3436 | } |
|
3413 | 3437 | |
|
3414 | 3438 | .comment-form .comment-help{ |
|
3415 | 3439 | padding: 0px 0px 5px 0px; |
|
3416 | 3440 | color: #666; |
|
3417 | 3441 | } |
|
3418 | 3442 | |
|
3419 | 3443 | .comment-form .comment-button{ |
|
3420 | 3444 | padding-top:5px; |
|
3421 | 3445 | } |
|
3422 | 3446 | |
|
3423 | 3447 | .add-another-button { |
|
3424 | 3448 | margin-left: 10px; |
|
3425 | 3449 | margin-top: 10px; |
|
3426 | 3450 | margin-bottom: 10px; |
|
3427 | 3451 | } |
|
3428 | 3452 | |
|
3429 | 3453 | .comment .buttons { |
|
3430 | 3454 | position: absolute; |
|
3431 | 3455 | right:40px; |
|
3432 | 3456 | } |
|
3433 | 3457 | |
|
3434 | 3458 | |
|
3435 | 3459 | .show-inline-comments{ |
|
3436 | 3460 | position: relative; |
|
3437 | 3461 | top:1px |
|
3438 | 3462 | } |
|
3439 | 3463 | |
|
3440 | 3464 | /** comment inline form **/ |
|
3441 | 3465 | |
|
3442 | 3466 | .comment-inline-form .clearfix{ |
|
3443 | 3467 | background: #EEE; |
|
3444 | 3468 | -webkit-border-radius: 4px; |
|
3445 | 3469 | -moz-border-radius: 4px; |
|
3446 | 3470 | border-radius: 4px; |
|
3447 | 3471 | padding: 5px; |
|
3448 | 3472 | } |
|
3449 | 3473 | |
|
3450 | 3474 | div.comment-inline-form { |
|
3451 | 3475 | margin-top: 5px; |
|
3452 | 3476 | padding:2px 6px 8px 6px; |
|
3453 | 3477 | } |
|
3454 | 3478 | |
|
3455 | 3479 | .comment-inline-form strong { |
|
3456 | 3480 | display: block; |
|
3457 | 3481 | margin-bottom: 15px; |
|
3458 | 3482 | } |
|
3459 | 3483 | |
|
3460 | 3484 | .comment-inline-form textarea { |
|
3461 | 3485 | width: 100%; |
|
3462 | 3486 | height: 100px; |
|
3463 | 3487 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
3464 | 3488 | } |
|
3465 | 3489 | |
|
3466 | 3490 | form.comment-inline-form { |
|
3467 | 3491 | margin-top: 10px; |
|
3468 | 3492 | margin-left: 10px; |
|
3469 | 3493 | } |
|
3470 | 3494 | |
|
3471 | 3495 | .comment-inline-form-submit { |
|
3472 | 3496 | margin-top: 5px; |
|
3473 | 3497 | margin-left: 525px; |
|
3474 | 3498 | } |
|
3475 | 3499 | |
|
3476 | 3500 | .file-comments { |
|
3477 | 3501 | display: none; |
|
3478 | 3502 | } |
|
3479 | 3503 | |
|
3480 | 3504 | .comment-inline-form .comment { |
|
3481 | 3505 | margin-left: 10px; |
|
3482 | 3506 | } |
|
3483 | 3507 | |
|
3484 | 3508 | .comment-inline-form .comment-help{ |
|
3485 | 3509 | padding: 0px 0px 2px 0px; |
|
3486 | 3510 | color: #666666; |
|
3487 | 3511 | font-size: 10px; |
|
3488 | 3512 | } |
|
3489 | 3513 | |
|
3490 | 3514 | .comment-inline-form .comment-button{ |
|
3491 | 3515 | padding-top:5px; |
|
3492 | 3516 | } |
|
3493 | 3517 | |
|
3494 | 3518 | /** comment inline **/ |
|
3495 | 3519 | .inline-comments { |
|
3496 | 3520 | padding:10px 20px; |
|
3497 | 3521 | } |
|
3498 | 3522 | |
|
3499 | 3523 | .inline-comments div.rst-block { |
|
3500 | 3524 | clear:both; |
|
3501 | 3525 | overflow:hidden; |
|
3502 | 3526 | margin:0; |
|
3503 | 3527 | padding:0 20px 0px; |
|
3504 | 3528 | } |
|
3505 | 3529 | .inline-comments .comment { |
|
3506 | 3530 | border: 1px solid #ddd; |
|
3507 | 3531 | -webkit-border-radius: 4px; |
|
3508 | 3532 | -moz-border-radius: 4px; |
|
3509 | 3533 | border-radius: 4px; |
|
3510 | 3534 | margin: 3px 3px 5px 5px; |
|
3511 | 3535 | } |
|
3512 | 3536 | |
|
3513 | 3537 | .inline-comments .comment .meta { |
|
3514 | 3538 | background: #f8f8f8; |
|
3515 | 3539 | padding: 6px; |
|
3516 | 3540 | border-bottom: 1px solid #ddd; |
|
3517 | 3541 | } |
|
3518 | 3542 | |
|
3519 | 3543 | .inline-comments .comment .meta img { |
|
3520 | 3544 | vertical-align: middle; |
|
3521 | 3545 | } |
|
3522 | 3546 | |
|
3523 | 3547 | .inline-comments .comment .meta .user { |
|
3524 | 3548 | font-weight: bold; |
|
3525 | 3549 | } |
|
3526 | 3550 | |
|
3527 | 3551 | .inline-comments .comment .meta .date { |
|
3528 | 3552 | float: right; |
|
3529 | 3553 | } |
|
3530 | 3554 | |
|
3531 | 3555 | .inline-comments .comment .text { |
|
3532 | 3556 | padding: 8px 6px 6px 14px; |
|
3533 | 3557 | background-color: #FAFAFA; |
|
3534 | 3558 | } |
|
3535 | 3559 | |
|
3536 | 3560 | .inline-comments .comments-number{ |
|
3537 | 3561 | padding:0px 0px 10px 0px; |
|
3538 | 3562 | font-weight: bold; |
|
3539 | 3563 | color: #666; |
|
3540 | 3564 | font-size: 16px; |
|
3541 | 3565 | } |
|
3542 | 3566 | .inline-comments-button .add-comment{ |
|
3543 | 3567 | margin:10px 5px !important; |
|
3544 | 3568 | } |
|
3545 | 3569 | .notifications{ |
|
3546 | 3570 | width:22px; |
|
3547 | 3571 | padding:2px; |
|
3548 | 3572 | float:right; |
|
3549 | 3573 | -webkit-border-radius: 4px; |
|
3550 | 3574 | -moz-border-radius: 4px; |
|
3551 | 3575 | border-radius: 4px; |
|
3552 | 3576 | text-align: center; |
|
3553 | 3577 | margin: 0px -10px 0px 5px; |
|
3554 | 3578 | background-color: #DEDEDE; |
|
3555 | 3579 | } |
|
3556 | 3580 | .notifications a{ |
|
3557 | 3581 | color:#888 !important; |
|
3558 | 3582 | display: block; |
|
3559 | 3583 | font-size: 10px |
|
3560 | 3584 | } |
|
3561 | 3585 | .notifications a:hover{ |
|
3562 | 3586 | text-decoration: none !important; |
|
3563 | 3587 | } |
|
3564 | 3588 | .notification-header{ |
|
3565 | 3589 | |
|
3566 | 3590 | } |
|
3567 | 3591 | .notification-header .desc{ |
|
3568 | 3592 | font-size: 16px; |
|
3569 | 3593 | height: 24px; |
|
3570 | 3594 | padding-top: 6px; |
|
3571 | 3595 | float: left |
|
3572 | 3596 | } |
|
3573 | 3597 | .notification-list .container.unread{ |
|
3574 | 3598 | |
|
3575 | 3599 | } |
|
3576 | 3600 | .notification-header .desc.unread{ |
|
3577 | 3601 | font-weight: bold; |
|
3578 | 3602 | font-size: 17px; |
|
3579 | 3603 | } |
|
3580 | 3604 | |
|
3581 | 3605 | .notification-header .delete-notifications{ |
|
3582 | 3606 | float: right; |
|
3583 | 3607 | padding-top: 8px; |
|
3584 | 3608 | cursor: pointer; |
|
3585 | 3609 | } |
|
3586 | 3610 | .notification-subject{ |
|
3587 | 3611 | clear:both; |
|
3588 | 3612 | border-bottom: 1px solid #eee; |
|
3589 | 3613 | padding:5px 0px 5px 38px; |
|
3590 | 3614 | } No newline at end of file |
@@ -1,676 +1,670 b'' | |||
|
1 | 1 | <%inherit file="/base/base.html"/> |
|
2 | 2 | |
|
3 | 3 | <%def name="title()"> |
|
4 | 4 | ${c.repo_name} ${_('Summary')} - ${c.rhodecode_name} |
|
5 | 5 | </%def> |
|
6 | 6 | |
|
7 | 7 | <%def name="breadcrumbs_links()"> |
|
8 | 8 | ${h.link_to(u'Home',h.url('/'))} |
|
9 | 9 | » |
|
10 | 10 | ${h.link_to(c.dbrepo.just_name,h.url('summary_home',repo_name=c.repo_name))} |
|
11 | 11 | » |
|
12 | 12 | ${_('summary')} |
|
13 | 13 | </%def> |
|
14 | 14 | |
|
15 | 15 | <%def name="page_nav()"> |
|
16 | 16 | ${self.menu('summary')} |
|
17 | 17 | </%def> |
|
18 | 18 | |
|
19 | 19 | <%def name="main()"> |
|
20 | 20 | <% |
|
21 | 21 | summary = lambda n:{False:'summary-short'}.get(n) |
|
22 | 22 | %> |
|
23 | 23 | %if c.show_stats: |
|
24 | 24 | <div class="box box-left"> |
|
25 | 25 | %else: |
|
26 | 26 | <div class="box"> |
|
27 | 27 | %endif |
|
28 | 28 | <!-- box / title --> |
|
29 | 29 | <div class="title"> |
|
30 | 30 | ${self.breadcrumbs()} |
|
31 | 31 | </div> |
|
32 | 32 | <!-- end box / title --> |
|
33 | 33 | <div class="form"> |
|
34 | 34 | <div id="summary" class="fields"> |
|
35 | 35 | |
|
36 | 36 | <div class="field"> |
|
37 | 37 | <div class="label-summary"> |
|
38 | 38 | <label>${_('Name')}:</label> |
|
39 | 39 | </div> |
|
40 | 40 | <div class="input ${summary(c.show_stats)}"> |
|
41 | 41 | <div style="float:right;padding:5px 0px 0px 5px"> |
|
42 | 42 | %if c.rhodecode_user.username != 'default': |
|
43 | 43 | ${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='rss_icon')} |
|
44 | 44 | ${h.link_to(_('ATOM'),h.url('atom_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='atom_icon')} |
|
45 | 45 | %else: |
|
46 | 46 | ${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=c.dbrepo.repo_name),class_='rss_icon')} |
|
47 | 47 | ${h.link_to(_('ATOM'),h.url('atom_feed_home',repo_name=c.dbrepo.repo_name),class_='atom_icon')} |
|
48 | 48 | %endif |
|
49 | 49 | </div> |
|
50 | 50 | %if c.rhodecode_user.username != 'default': |
|
51 | 51 | %if c.following: |
|
52 | 52 | <span id="follow_toggle" class="following" title="${_('Stop following this repository')}" |
|
53 | 53 | onclick="javascript:toggleFollowingRepo(this,${c.dbrepo.repo_id},'${str(h.get_token())}')"> |
|
54 | 54 | </span> |
|
55 | 55 | %else: |
|
56 | 56 | <span id="follow_toggle" class="follow" title="${_('Start following this repository')}" |
|
57 | 57 | onclick="javascript:toggleFollowingRepo(this,${c.dbrepo.repo_id},'${str(h.get_token())}')"> |
|
58 | 58 | </span> |
|
59 | 59 | %endif |
|
60 | 60 | %endif: |
|
61 | 61 | ##REPO TYPE |
|
62 | 62 | %if c.dbrepo.repo_type =='hg': |
|
63 | 63 | <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> |
|
64 | 64 | %endif |
|
65 | 65 | %if c.dbrepo.repo_type =='git': |
|
66 | 66 | <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/> |
|
67 | 67 | %endif |
|
68 | 68 | |
|
69 | 69 | ##PUBLIC/PRIVATE |
|
70 | 70 | %if c.dbrepo.private: |
|
71 | 71 | <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url('/images/icons/lock.png')}"/> |
|
72 | 72 | %else: |
|
73 | 73 | <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url('/images/icons/lock_open.png')}"/> |
|
74 | 74 | %endif |
|
75 | 75 | |
|
76 | 76 | ##REPO NAME |
|
77 | 77 | <span class="repo_name">${h.repo_link(c.dbrepo.groups_and_repo)}</span> |
|
78 | 78 | |
|
79 | 79 | ##FORK |
|
80 | 80 | %if c.dbrepo.fork: |
|
81 | 81 | <div style="margin-top:5px;clear:both""> |
|
82 | 82 | <a href="${h.url('summary_home',repo_name=c.dbrepo.fork.repo_name)}"><img class="icon" alt="${_('public')}" title="${_('Fork of')} ${c.dbrepo.fork.repo_name}" src="${h.url('/images/icons/arrow_divide.png')}"/> |
|
83 | 83 | ${_('Fork of')} ${c.dbrepo.fork.repo_name} |
|
84 | 84 | </a> |
|
85 | 85 | </div> |
|
86 | 86 | %endif |
|
87 | 87 | ##REMOTE |
|
88 | 88 | %if c.dbrepo.clone_uri: |
|
89 | 89 | <div style="margin-top:5px;clear:both"> |
|
90 | 90 | <a href="${h.url(str(h.hide_credentials(c.dbrepo.clone_uri)))}"><img class="icon" alt="${_('remote clone')}" title="${_('Clone from')} ${h.hide_credentials(c.dbrepo.clone_uri)}" src="${h.url('/images/icons/connect.png')}"/> |
|
91 | 91 | ${_('Clone from')} ${h.hide_credentials(c.dbrepo.clone_uri)} |
|
92 | 92 | </a> |
|
93 | 93 | </div> |
|
94 | 94 | %endif |
|
95 | 95 | </div> |
|
96 | 96 | </div> |
|
97 | 97 | |
|
98 | 98 | <div class="field"> |
|
99 | 99 | <div class="label-summary"> |
|
100 | 100 | <label>${_('Description')}:</label> |
|
101 | 101 | </div> |
|
102 | 102 | <div class="input ${summary(c.show_stats)} desc">${h.urlify_text(c.dbrepo.description)}</div> |
|
103 | 103 | </div> |
|
104 | 104 | |
|
105 | 105 | <div class="field"> |
|
106 | 106 | <div class="label-summary"> |
|
107 | 107 | <label>${_('Contact')}:</label> |
|
108 | 108 | </div> |
|
109 | 109 | <div class="input ${summary(c.show_stats)}"> |
|
110 | 110 | <div class="gravatar"> |
|
111 | 111 | <img alt="gravatar" src="${h.gravatar_url(c.dbrepo.user.email)}"/> |
|
112 | 112 | </div> |
|
113 | 113 | ${_('Username')}: ${c.dbrepo.user.username}<br/> |
|
114 | 114 | ${_('Name')}: ${c.dbrepo.user.name} ${c.dbrepo.user.lastname}<br/> |
|
115 | 115 | ${_('Email')}: <a href="mailto:${c.dbrepo.user.email}">${c.dbrepo.user.email}</a> |
|
116 | 116 | </div> |
|
117 | 117 | </div> |
|
118 | 118 | |
|
119 | 119 | <div class="field"> |
|
120 | 120 | <div class="label-summary"> |
|
121 | 121 | <label>${_('Clone url')}:</label> |
|
122 | 122 | </div> |
|
123 | 123 | <div class="input ${summary(c.show_stats)}"> |
|
124 | 124 | <input type="text" id="clone_url" readonly="readonly" value="${c.clone_repo_url}" size="70"/> |
|
125 | 125 | </div> |
|
126 | 126 | </div> |
|
127 | 127 | |
|
128 | 128 | <div class="field"> |
|
129 | 129 | <div class="label-summary"> |
|
130 | 130 | <label>${_('Trending files')}:</label> |
|
131 | 131 | </div> |
|
132 | 132 | <div class="input ${summary(c.show_stats)}"> |
|
133 | 133 | %if c.show_stats: |
|
134 | 134 | <div id="lang_stats"></div> |
|
135 | 135 | %else: |
|
136 | 136 | ${_('Statistics are disabled for this repository')} |
|
137 | 137 | %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): |
|
138 | 138 | ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")} |
|
139 | 139 | %endif |
|
140 | 140 | %endif |
|
141 | 141 | </div> |
|
142 | 142 | </div> |
|
143 | 143 | |
|
144 | 144 | <div class="field"> |
|
145 | 145 | <div class="label-summary"> |
|
146 | 146 | <label>${_('Download')}:</label> |
|
147 | 147 | </div> |
|
148 | 148 | <div class="input ${summary(c.show_stats)}"> |
|
149 | 149 | %if len(c.rhodecode_repo.revisions) == 0: |
|
150 | 150 | ${_('There are no downloads yet')} |
|
151 | 151 | %elif c.enable_downloads is False: |
|
152 | 152 | ${_('Downloads are disabled for this repository')} |
|
153 | 153 | %if h.HasPermissionAll('hg.admin')('enable downloads on from summary'): |
|
154 | 154 | ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")} |
|
155 | 155 | %endif |
|
156 | 156 | %else: |
|
157 | 157 | ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)} |
|
158 | %for cnt,archive in enumerate(c.rhodecode_repo._get_archives()): | |
|
159 | %if cnt >=1: | |
|
160 | | | |
|
161 | %endif | |
|
162 | <span class="tooltip" title="${_('Download %s as %s') %('tip',archive['type'])}" | |
|
163 | id="${archive['type']+'_link'}">${h.link_to(archive['type'], | |
|
164 | h.url('files_archive_home',repo_name=c.dbrepo.repo_name, | |
|
165 | fname='tip'+archive['extension']),class_="archive_icon")}</span> | |
|
166 | %endfor | |
|
158 | <span id="${'zip_link'}">${h.link_to('Download as zip',h.url('files_archive_home',repo_name=c.dbrepo.repo_name,fname='tip.zip'),class_="archive_icon ui-button-small")}</span> | |
|
167 | 159 | <span style="vertical-align: bottom"> |
|
168 | 160 | <input id="archive_subrepos" type="checkbox" name="subrepos"/> <span class="tooltip" title="${_('Check this to download archive with subrepos')}" >${_('with subrepos')}</span> |
|
169 | 161 | </span> |
|
170 | 162 | %endif |
|
171 | 163 | </div> |
|
172 | 164 | </div> |
|
173 | 165 | </div> |
|
174 | 166 | </div> |
|
175 | 167 | </div> |
|
176 | 168 | |
|
177 | 169 | %if c.show_stats: |
|
178 | 170 | <div class="box box-right" style="min-height:455px"> |
|
179 | 171 | <!-- box / title --> |
|
180 | 172 | <div class="title"> |
|
181 | 173 | <h5>${_('Commit activity by day / author')}</h5> |
|
182 | 174 | </div> |
|
183 | 175 | |
|
184 | 176 | <div class="graph"> |
|
185 | 177 | <div style="padding:0 10px 10px 15px;font-size: 1.2em;"> |
|
186 | 178 | %if c.no_data: |
|
187 | 179 | ${c.no_data_msg} |
|
188 | 180 | %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): |
|
189 | 181 | ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")} |
|
190 | 182 | %endif |
|
191 | 183 | %else: |
|
192 | 184 | ${_('Loaded in')} ${c.stats_percentage} % |
|
193 | 185 | %endif |
|
194 | 186 | </div> |
|
195 | 187 | <div id="commit_history" style="width:450px;height:300px;float:left"></div> |
|
196 | 188 | <div style="clear: both;height: 10px"></div> |
|
197 | 189 | <div id="overview" style="width:450px;height:100px;float:left"></div> |
|
198 | 190 | |
|
199 | 191 | <div id="legend_data" style="clear:both;margin-top:10px;"> |
|
200 | 192 | <div id="legend_container"></div> |
|
201 | 193 | <div id="legend_choices"> |
|
202 | 194 | <table id="legend_choices_tables" class="noborder" style="font-size:smaller;color:#545454"></table> |
|
203 | 195 | </div> |
|
204 | 196 | </div> |
|
205 | 197 | </div> |
|
206 | 198 | </div> |
|
207 | 199 | %endif |
|
208 | 200 | |
|
209 | 201 | <div class="box"> |
|
210 | 202 | <div class="title"> |
|
211 | 203 | <div class="breadcrumbs"> |
|
212 | 204 | %if c.repo_changesets: |
|
213 | 205 | ${h.link_to(_('Shortlog'),h.url('shortlog_home',repo_name=c.repo_name))} |
|
214 | 206 | %else: |
|
215 | 207 | ${_('Quick start')} |
|
216 | 208 | %endif |
|
217 | 209 | </div> |
|
218 | 210 | </div> |
|
219 | 211 | <div class="table"> |
|
220 | 212 | <div id="shortlog_data"> |
|
221 | 213 | <%include file='../shortlog/shortlog_data.html'/> |
|
222 | 214 | </div> |
|
223 | 215 | </div> |
|
224 | 216 | </div> |
|
225 | 217 | |
|
226 | 218 | %if c.readme_data: |
|
227 | 219 | <div class="box" style="background-color: #FAFAFA"> |
|
228 | 220 | <div class="title"> |
|
229 | 221 | <div class="breadcrumbs"><a href="${h.url('files_home',repo_name=c.repo_name,revision='tip',f_path=c.readme_file)}">${c.readme_file}</a></div> |
|
230 | 222 | </div> |
|
231 | 223 | <div class="readme"> |
|
232 | 224 | <div class="readme_box"> |
|
233 | 225 | ${c.readme_data|n} |
|
234 | 226 | </div> |
|
235 | 227 | </div> |
|
236 | 228 | </div> |
|
237 | 229 | %endif |
|
238 | 230 | |
|
239 | 231 | <script type="text/javascript"> |
|
240 | 232 | var clone_url = 'clone_url'; |
|
241 | 233 | YUE.on(clone_url,'click',function(e){ |
|
242 | 234 | if(YUD.hasClass(clone_url,'selected')){ |
|
243 | 235 | return |
|
244 | 236 | } |
|
245 | 237 | else{ |
|
246 | 238 | YUD.addClass(clone_url,'selected'); |
|
247 | 239 | YUD.get(clone_url).select(); |
|
248 | 240 | } |
|
249 | 241 | }) |
|
250 | 242 | |
|
251 | 243 | var tmpl_links = {}; |
|
252 | 244 | %for cnt,archive in enumerate(c.rhodecode_repo._get_archives()): |
|
253 | tmpl_links['${archive['type']}'] = '${h.link_to(archive['type'], | |
|
254 | h.url('files_archive_home',repo_name=c.dbrepo.repo_name, | |
|
255 | fname='__CS__'+archive['extension'],subrepos='__SUB__'),class_="archive_icon")}'; | |
|
245 | tmpl_links["${archive['type']}"] = '${h.link_to('__NAME__', h.url('files_archive_home',repo_name=c.dbrepo.repo_name, fname='__CS__'+archive['extension'],subrepos='__SUB__'),class_='archive_icon ui-button-small')}'; | |
|
256 | 246 | %endfor |
|
257 | 247 | |
|
258 | 248 | YUE.on(['download_options','archive_subrepos'],'change',function(e){ |
|
259 | 249 | var sm = YUD.get('download_options'); |
|
260 | 250 | var new_cs = sm.options[sm.selectedIndex]; |
|
261 | 251 | |
|
262 | 252 | for(k in tmpl_links){ |
|
263 | 253 | var s = YUD.get(k+'_link'); |
|
264 | title_tmpl = "${_('Download %s as %s') % ('__CS_NAME__','__CS_EXT__')}"; | |
|
265 | s.title = title_tmpl.replace('__CS_NAME__',new_cs.text); | |
|
266 |
|
|
|
267 |
|
|
|
268 | var subrepos = YUD.get('archive_subrepos').checked | |
|
269 |
url = |
|
|
270 | s.innerHTML = url | |
|
254 | if(s){ | |
|
255 | var title_tmpl = "${_('Download %s as %s') % ('__CS_NAME__','__CS_EXT__')}"; | |
|
256 | title_tmpl= title_tmpl.replace('__CS_NAME__',new_cs.text); | |
|
257 | title_tmpl = title_tmpl.replace('__CS_EXT__',k); | |
|
258 | ||
|
259 | var url = tmpl_links[k].replace('__CS__',new_cs.value); | |
|
260 | var subrepos = YUD.get('archive_subrepos').checked; | |
|
261 | url = url.replace('__SUB__',subrepos); | |
|
262 | url = url.replace('__NAME__',title_tmpl); | |
|
263 | s.innerHTML = url | |
|
264 | } | |
|
271 | 265 | } |
|
272 | 266 | }); |
|
273 | 267 | </script> |
|
274 | 268 | %if c.show_stats: |
|
275 | 269 | <script type="text/javascript"> |
|
276 | 270 | var data = ${c.trending_languages|n}; |
|
277 | 271 | var total = 0; |
|
278 | 272 | var no_data = true; |
|
279 | 273 | for (k in data){ |
|
280 | 274 | total += data[k].count; |
|
281 | 275 | no_data = false; |
|
282 | 276 | } |
|
283 | 277 | var tbl = document.createElement('table'); |
|
284 | 278 | tbl.setAttribute('class','trending_language_tbl'); |
|
285 | 279 | var cnt = 0; |
|
286 | 280 | for (k in data){ |
|
287 | 281 | cnt += 1; |
|
288 | 282 | var hide = cnt>2; |
|
289 | 283 | var tr = document.createElement('tr'); |
|
290 | 284 | if (hide){ |
|
291 | 285 | tr.setAttribute('style','display:none'); |
|
292 | 286 | tr.setAttribute('class','stats_hidden'); |
|
293 | 287 | } |
|
294 | 288 | var percentage = Math.round((data[k].count/total*100),2); |
|
295 | 289 | var value = data[k].count; |
|
296 | 290 | var td1 = document.createElement('td'); |
|
297 | 291 | td1.width = 150; |
|
298 | 292 | var trending_language_label = document.createElement('div'); |
|
299 | 293 | trending_language_label.innerHTML = data[k].desc+" ("+k+")"; |
|
300 | 294 | td1.appendChild(trending_language_label); |
|
301 | 295 | |
|
302 | 296 | var td2 = document.createElement('td'); |
|
303 | 297 | td2.setAttribute('style','padding-right:14px !important'); |
|
304 | 298 | var trending_language = document.createElement('div'); |
|
305 | 299 | var nr_files = value+" ${_('files')}"; |
|
306 | 300 | |
|
307 | 301 | trending_language.title = k+" "+nr_files; |
|
308 | 302 | |
|
309 | 303 | if (percentage>22){ |
|
310 | 304 | trending_language.innerHTML = "<b style='font-size:0.8em'>"+percentage+"% "+nr_files+ "</b>"; |
|
311 | 305 | } |
|
312 | 306 | else{ |
|
313 | 307 | trending_language.innerHTML = "<b style='font-size:0.8em'>"+percentage+"%</b>"; |
|
314 | 308 | } |
|
315 | 309 | |
|
316 | 310 | trending_language.setAttribute("class", 'trending_language top-right-rounded-corner bottom-right-rounded-corner'); |
|
317 | 311 | trending_language.style.width=percentage+"%"; |
|
318 | 312 | td2.appendChild(trending_language); |
|
319 | 313 | |
|
320 | 314 | tr.appendChild(td1); |
|
321 | 315 | tr.appendChild(td2); |
|
322 | 316 | tbl.appendChild(tr); |
|
323 | 317 | if(cnt == 3){ |
|
324 | 318 | var show_more = document.createElement('tr'); |
|
325 | 319 | var td = document.createElement('td'); |
|
326 | 320 | lnk = document.createElement('a'); |
|
327 | 321 | |
|
328 | 322 | lnk.href='#'; |
|
329 | 323 | lnk.innerHTML = "${_('show more')}"; |
|
330 | 324 | lnk.id='code_stats_show_more'; |
|
331 | 325 | td.appendChild(lnk); |
|
332 | 326 | |
|
333 | 327 | show_more.appendChild(td); |
|
334 | 328 | show_more.appendChild(document.createElement('td')); |
|
335 | 329 | tbl.appendChild(show_more); |
|
336 | 330 | } |
|
337 | 331 | |
|
338 | 332 | } |
|
339 | 333 | |
|
340 | 334 | YUD.get('lang_stats').appendChild(tbl); |
|
341 | 335 | YUE.on('code_stats_show_more','click',function(){ |
|
342 | 336 | l = YUD.getElementsByClassName('stats_hidden') |
|
343 | 337 | for (e in l){ |
|
344 | 338 | YUD.setStyle(l[e],'display',''); |
|
345 | 339 | }; |
|
346 | 340 | YUD.setStyle(YUD.get('code_stats_show_more'), |
|
347 | 341 | 'display','none'); |
|
348 | 342 | }); |
|
349 | 343 | </script> |
|
350 | 344 | <script type="text/javascript"> |
|
351 | 345 | /** |
|
352 | 346 | * Plots summary graph |
|
353 | 347 | * |
|
354 | 348 | * @class SummaryPlot |
|
355 | 349 | * @param {from} initial from for detailed graph |
|
356 | 350 | * @param {to} initial to for detailed graph |
|
357 | 351 | * @param {dataset} |
|
358 | 352 | * @param {overview_dataset} |
|
359 | 353 | */ |
|
360 | 354 | function SummaryPlot(from,to,dataset,overview_dataset) { |
|
361 | 355 | var initial_ranges = { |
|
362 | 356 | "xaxis":{ |
|
363 | 357 | "from":from, |
|
364 | 358 | "to":to, |
|
365 | 359 | }, |
|
366 | 360 | }; |
|
367 | 361 | var dataset = dataset; |
|
368 | 362 | var overview_dataset = [overview_dataset]; |
|
369 | 363 | var choiceContainer = YUD.get("legend_choices"); |
|
370 | 364 | var choiceContainerTable = YUD.get("legend_choices_tables"); |
|
371 | 365 | var plotContainer = YUD.get('commit_history'); |
|
372 | 366 | var overviewContainer = YUD.get('overview'); |
|
373 | 367 | |
|
374 | 368 | var plot_options = { |
|
375 | 369 | bars: {show:true,align:'center',lineWidth:4}, |
|
376 | 370 | legend: {show:true, container:"legend_container"}, |
|
377 | 371 | points: {show:true,radius:0,fill:false}, |
|
378 | 372 | yaxis: {tickDecimals:0,}, |
|
379 | 373 | xaxis: { |
|
380 | 374 | mode: "time", |
|
381 | 375 | timeformat: "%d/%m", |
|
382 | 376 | min:from, |
|
383 | 377 | max:to, |
|
384 | 378 | }, |
|
385 | 379 | grid: { |
|
386 | 380 | hoverable: true, |
|
387 | 381 | clickable: true, |
|
388 | 382 | autoHighlight:true, |
|
389 | 383 | color: "#999" |
|
390 | 384 | }, |
|
391 | 385 | //selection: {mode: "x"} |
|
392 | 386 | }; |
|
393 | 387 | var overview_options = { |
|
394 | 388 | legend:{show:false}, |
|
395 | 389 | bars: {show:true,barWidth: 2,}, |
|
396 | 390 | shadowSize: 0, |
|
397 | 391 | xaxis: {mode: "time", timeformat: "%d/%m/%y",}, |
|
398 | 392 | yaxis: {ticks: 3, min: 0,tickDecimals:0,}, |
|
399 | 393 | grid: {color: "#999",}, |
|
400 | 394 | selection: {mode: "x"} |
|
401 | 395 | }; |
|
402 | 396 | |
|
403 | 397 | /** |
|
404 | 398 | *get dummy data needed in few places |
|
405 | 399 | */ |
|
406 | 400 | function getDummyData(label){ |
|
407 | 401 | return {"label":label, |
|
408 | 402 | "data":[{"time":0, |
|
409 | 403 | "commits":0, |
|
410 | 404 | "added":0, |
|
411 | 405 | "changed":0, |
|
412 | 406 | "removed":0, |
|
413 | 407 | }], |
|
414 | 408 | "schema":["commits"], |
|
415 | 409 | "color":'#ffffff', |
|
416 | 410 | } |
|
417 | 411 | } |
|
418 | 412 | |
|
419 | 413 | /** |
|
420 | 414 | * generate checkboxes accordindly to data |
|
421 | 415 | * @param keys |
|
422 | 416 | * @returns |
|
423 | 417 | */ |
|
424 | 418 | function generateCheckboxes(data) { |
|
425 | 419 | //append checkboxes |
|
426 | 420 | var i = 0; |
|
427 | 421 | choiceContainerTable.innerHTML = ''; |
|
428 | 422 | for(var pos in data) { |
|
429 | 423 | |
|
430 | 424 | data[pos].color = i; |
|
431 | 425 | i++; |
|
432 | 426 | if(data[pos].label != ''){ |
|
433 | 427 | choiceContainerTable.innerHTML += '<tr><td>'+ |
|
434 | 428 | '<input type="checkbox" name="' + data[pos].label +'" checked="checked" />' |
|
435 | 429 | +data[pos].label+ |
|
436 | 430 | '</td></tr>'; |
|
437 | 431 | } |
|
438 | 432 | } |
|
439 | 433 | } |
|
440 | 434 | |
|
441 | 435 | /** |
|
442 | 436 | * ToolTip show |
|
443 | 437 | */ |
|
444 | 438 | function showTooltip(x, y, contents) { |
|
445 | 439 | var div=document.getElementById('tooltip'); |
|
446 | 440 | if(!div) { |
|
447 | 441 | div = document.createElement('div'); |
|
448 | 442 | div.id="tooltip"; |
|
449 | 443 | div.style.position="absolute"; |
|
450 | 444 | div.style.border='1px solid #fdd'; |
|
451 | 445 | div.style.padding='2px'; |
|
452 | 446 | div.style.backgroundColor='#fee'; |
|
453 | 447 | document.body.appendChild(div); |
|
454 | 448 | } |
|
455 | 449 | YUD.setStyle(div, 'opacity', 0); |
|
456 | 450 | div.innerHTML = contents; |
|
457 | 451 | div.style.top=(y + 5) + "px"; |
|
458 | 452 | div.style.left=(x + 5) + "px"; |
|
459 | 453 | |
|
460 | 454 | var anim = new YAHOO.util.Anim(div, {opacity: {to: 0.8}}, 0.2); |
|
461 | 455 | anim.animate(); |
|
462 | 456 | } |
|
463 | 457 | |
|
464 | 458 | /** |
|
465 | 459 | * This function will detect if selected period has some changesets |
|
466 | 460 | for this user if it does this data is then pushed for displaying |
|
467 | 461 | Additionally it will only display users that are selected by the checkbox |
|
468 | 462 | */ |
|
469 | 463 | function getDataAccordingToRanges(ranges) { |
|
470 | 464 | |
|
471 | 465 | var data = []; |
|
472 | 466 | var new_dataset = {}; |
|
473 | 467 | var keys = []; |
|
474 | 468 | var max_commits = 0; |
|
475 | 469 | for(var key in dataset){ |
|
476 | 470 | |
|
477 | 471 | for(var ds in dataset[key].data){ |
|
478 | 472 | commit_data = dataset[key].data[ds]; |
|
479 | 473 | if (commit_data.time >= ranges.xaxis.from && commit_data.time <= ranges.xaxis.to){ |
|
480 | 474 | |
|
481 | 475 | if(new_dataset[key] === undefined){ |
|
482 | 476 | new_dataset[key] = {data:[],schema:["commits"],label:key}; |
|
483 | 477 | } |
|
484 | 478 | new_dataset[key].data.push(commit_data); |
|
485 | 479 | } |
|
486 | 480 | } |
|
487 | 481 | if (new_dataset[key] !== undefined){ |
|
488 | 482 | data.push(new_dataset[key]); |
|
489 | 483 | } |
|
490 | 484 | } |
|
491 | 485 | |
|
492 | 486 | if (data.length > 0){ |
|
493 | 487 | return data; |
|
494 | 488 | } |
|
495 | 489 | else{ |
|
496 | 490 | //just return dummy data for graph to plot itself |
|
497 | 491 | return [getDummyData('')]; |
|
498 | 492 | } |
|
499 | 493 | } |
|
500 | 494 | |
|
501 | 495 | /** |
|
502 | 496 | * redraw using new checkbox data |
|
503 | 497 | */ |
|
504 | 498 | function plotchoiced(e,args){ |
|
505 | 499 | var cur_data = args[0]; |
|
506 | 500 | var cur_ranges = args[1]; |
|
507 | 501 | |
|
508 | 502 | var new_data = []; |
|
509 | 503 | var inputs = choiceContainer.getElementsByTagName("input"); |
|
510 | 504 | |
|
511 | 505 | //show only checked labels |
|
512 | 506 | for(var i=0; i<inputs.length; i++) { |
|
513 | 507 | var checkbox_key = inputs[i].name; |
|
514 | 508 | |
|
515 | 509 | if(inputs[i].checked){ |
|
516 | 510 | for(var d in cur_data){ |
|
517 | 511 | if(cur_data[d].label == checkbox_key){ |
|
518 | 512 | new_data.push(cur_data[d]); |
|
519 | 513 | } |
|
520 | 514 | } |
|
521 | 515 | } |
|
522 | 516 | else{ |
|
523 | 517 | //push dummy data to not hide the label |
|
524 | 518 | new_data.push(getDummyData(checkbox_key)); |
|
525 | 519 | } |
|
526 | 520 | } |
|
527 | 521 | |
|
528 | 522 | var new_options = YAHOO.lang.merge(plot_options, { |
|
529 | 523 | xaxis: { |
|
530 | 524 | min: cur_ranges.xaxis.from, |
|
531 | 525 | max: cur_ranges.xaxis.to, |
|
532 | 526 | mode:"time", |
|
533 | 527 | timeformat: "%d/%m", |
|
534 | 528 | }, |
|
535 | 529 | }); |
|
536 | 530 | if (!new_data){ |
|
537 | 531 | new_data = [[0,1]]; |
|
538 | 532 | } |
|
539 | 533 | // do the zooming |
|
540 | 534 | plot = YAHOO.widget.Flot(plotContainer, new_data, new_options); |
|
541 | 535 | |
|
542 | 536 | plot.subscribe("plotselected", plotselected); |
|
543 | 537 | |
|
544 | 538 | //resubscribe plothover |
|
545 | 539 | plot.subscribe("plothover", plothover); |
|
546 | 540 | |
|
547 | 541 | // don't fire event on the overview to prevent eternal loop |
|
548 | 542 | overview.setSelection(cur_ranges, true); |
|
549 | 543 | |
|
550 | 544 | } |
|
551 | 545 | |
|
552 | 546 | /** |
|
553 | 547 | * plot only selected items from overview |
|
554 | 548 | * @param ranges |
|
555 | 549 | * @returns |
|
556 | 550 | */ |
|
557 | 551 | function plotselected(ranges,cur_data) { |
|
558 | 552 | //updates the data for new plot |
|
559 | 553 | var data = getDataAccordingToRanges(ranges); |
|
560 | 554 | generateCheckboxes(data); |
|
561 | 555 | |
|
562 | 556 | var new_options = YAHOO.lang.merge(plot_options, { |
|
563 | 557 | xaxis: { |
|
564 | 558 | min: ranges.xaxis.from, |
|
565 | 559 | max: ranges.xaxis.to, |
|
566 | 560 | mode:"time", |
|
567 | 561 | timeformat: "%d/%m", |
|
568 | 562 | }, |
|
569 | 563 | }); |
|
570 | 564 | // do the zooming |
|
571 | 565 | plot = YAHOO.widget.Flot(plotContainer, data, new_options); |
|
572 | 566 | |
|
573 | 567 | plot.subscribe("plotselected", plotselected); |
|
574 | 568 | |
|
575 | 569 | //resubscribe plothover |
|
576 | 570 | plot.subscribe("plothover", plothover); |
|
577 | 571 | |
|
578 | 572 | // don't fire event on the overview to prevent eternal loop |
|
579 | 573 | overview.setSelection(ranges, true); |
|
580 | 574 | |
|
581 | 575 | //resubscribe choiced |
|
582 | 576 | YUE.on(choiceContainer.getElementsByTagName("input"), "click", plotchoiced, [data, ranges]); |
|
583 | 577 | } |
|
584 | 578 | |
|
585 | 579 | var previousPoint = null; |
|
586 | 580 | |
|
587 | 581 | function plothover(o) { |
|
588 | 582 | var pos = o.pos; |
|
589 | 583 | var item = o.item; |
|
590 | 584 | |
|
591 | 585 | //YUD.get("x").innerHTML = pos.x.toFixed(2); |
|
592 | 586 | //YUD.get("y").innerHTML = pos.y.toFixed(2); |
|
593 | 587 | if (item) { |
|
594 | 588 | if (previousPoint != item.datapoint) { |
|
595 | 589 | previousPoint = item.datapoint; |
|
596 | 590 | |
|
597 | 591 | var tooltip = YUD.get("tooltip"); |
|
598 | 592 | if(tooltip) { |
|
599 | 593 | tooltip.parentNode.removeChild(tooltip); |
|
600 | 594 | } |
|
601 | 595 | var x = item.datapoint.x.toFixed(2); |
|
602 | 596 | var y = item.datapoint.y.toFixed(2); |
|
603 | 597 | |
|
604 | 598 | if (!item.series.label){ |
|
605 | 599 | item.series.label = 'commits'; |
|
606 | 600 | } |
|
607 | 601 | var d = new Date(x*1000); |
|
608 | 602 | var fd = d.toDateString() |
|
609 | 603 | var nr_commits = parseInt(y); |
|
610 | 604 | |
|
611 | 605 | var cur_data = dataset[item.series.label].data[item.dataIndex]; |
|
612 | 606 | var added = cur_data.added; |
|
613 | 607 | var changed = cur_data.changed; |
|
614 | 608 | var removed = cur_data.removed; |
|
615 | 609 | |
|
616 | 610 | var nr_commits_suffix = " ${_('commits')} "; |
|
617 | 611 | var added_suffix = " ${_('files added')} "; |
|
618 | 612 | var changed_suffix = " ${_('files changed')} "; |
|
619 | 613 | var removed_suffix = " ${_('files removed')} "; |
|
620 | 614 | |
|
621 | 615 | |
|
622 | 616 | if(nr_commits == 1){nr_commits_suffix = " ${_('commit')} ";} |
|
623 | 617 | if(added==1){added_suffix=" ${_('file added')} ";} |
|
624 | 618 | if(changed==1){changed_suffix=" ${_('file changed')} ";} |
|
625 | 619 | if(removed==1){removed_suffix=" ${_('file removed')} ";} |
|
626 | 620 | |
|
627 | 621 | showTooltip(item.pageX, item.pageY, item.series.label + " on " + fd |
|
628 | 622 | +'<br/>'+ |
|
629 | 623 | nr_commits + nr_commits_suffix+'<br/>'+ |
|
630 | 624 | added + added_suffix +'<br/>'+ |
|
631 | 625 | changed + changed_suffix + '<br/>'+ |
|
632 | 626 | removed + removed_suffix + '<br/>'); |
|
633 | 627 | } |
|
634 | 628 | } |
|
635 | 629 | else { |
|
636 | 630 | var tooltip = YUD.get("tooltip"); |
|
637 | 631 | |
|
638 | 632 | if(tooltip) { |
|
639 | 633 | tooltip.parentNode.removeChild(tooltip); |
|
640 | 634 | } |
|
641 | 635 | previousPoint = null; |
|
642 | 636 | } |
|
643 | 637 | } |
|
644 | 638 | |
|
645 | 639 | /** |
|
646 | 640 | * MAIN EXECUTION |
|
647 | 641 | */ |
|
648 | 642 | |
|
649 | 643 | var data = getDataAccordingToRanges(initial_ranges); |
|
650 | 644 | generateCheckboxes(data); |
|
651 | 645 | |
|
652 | 646 | //main plot |
|
653 | 647 | var plot = YAHOO.widget.Flot(plotContainer,data,plot_options); |
|
654 | 648 | |
|
655 | 649 | //overview |
|
656 | 650 | var overview = YAHOO.widget.Flot(overviewContainer, |
|
657 | 651 | overview_dataset, overview_options); |
|
658 | 652 | |
|
659 | 653 | //show initial selection on overview |
|
660 | 654 | overview.setSelection(initial_ranges); |
|
661 | 655 | |
|
662 | 656 | plot.subscribe("plotselected", plotselected); |
|
663 | 657 | plot.subscribe("plothover", plothover) |
|
664 | 658 | |
|
665 | 659 | overview.subscribe("plotselected", function (ranges) { |
|
666 | 660 | plot.setSelection(ranges); |
|
667 | 661 | }); |
|
668 | 662 | |
|
669 | 663 | // user choices on overview |
|
670 | 664 | YUE.on(choiceContainer.getElementsByTagName("input"), "click", plotchoiced, [data, initial_ranges]); |
|
671 | 665 | } |
|
672 | 666 | SummaryPlot(${c.ts_min},${c.ts_max},${c.commit_data|n},${c.overview_data|n}); |
|
673 | 667 | </script> |
|
674 | 668 | %endif |
|
675 | 669 | |
|
676 | 670 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now