Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Added the Extension Repository formatting enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Jan 23, 2013
1 parent 73f9b64 commit a75deb9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/modules/rep_base/RepositorySettings.php
Expand Up @@ -124,7 +124,7 @@
define('REPOSITORY_DOWNLOADS', 'system/modules/rep_server/RepositoryDownload.php?token=');

// HTML tags allowed in long texts
define('REPOSITORY_TEXTTAGS', '<h3><h4><h5><h6><p><br><ol><ul><li><em><strong>');
define('REPOSITORY_TEXTTAGS', '<h3><h4><h5><h6><p><pre><blockquote><br><ol><ul><li><em><strong>');

// # of searchtags allowed
define('REPOSITORY_SEARCHTAGS', 5);
Expand Down
2 changes: 1 addition & 1 deletion system/modules/rep_client/themes/default/backend.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions system/modules/rep_client/themes/default/backend_src.css
Expand Up @@ -55,9 +55,37 @@
.mod_repository .col_functions { text-align:right; }

/* Details view */
.mod_repository_view li
{
margin-top:3px;
margin-bottom:3px;
}
.mod_repository_view tr.description td { background-color:#fff; line-height:inherit; }
.mod_repository_view td.releasenotes { line-height:inherit !important; }
.mod_repository_view tr.description h2 { margin-top:0; }
.mod_repository_view tr.description h3,.mod_repository_view tr.description h4,.mod_repository_view tr.description h5,.mod_repository_view tr.description h6
{
margin-top:1.5em;
}
.mod_repository_view tr.description pre
{
max-width:670px;
overflow:auto;
margin:0 3px 13px;
padding:6px;
background-color:#f6f6f6;
border-radius:3px;
font-family:Courier,monospace;
line-height:1.25;
}
.mod_repository_view tr.description blockquote
{
margin:0 0 12px;
padding:6px;
background-color:#ffc;
border:1px solid #f90;
border-radius:3px;
}
.mod_repository_view tr.description .image_container
{
float:right;
Expand Down

0 comments on commit a75deb9

Please sign in to comment.