/**
 * Contao Repository :: Backend styles for client modules
 * @copyright  Peter Koch 2008-2010
 * @author     Peter Koch, IBK Software AG
 * @license    See accompaning file LICENSE.txt
 */

/* General */
.mod_repository .nowrap { white-space:nowrap; }
.mod_repository .middle, .mod_repository .middle * { vertical-align:middle; }
.mod_repository table.nested { width:100%; margin:0; border:0; }
.mod_repository table td.nopadding { vertical-align:top; padding:0 !important;}
.color_green { color:#77ac45; }
.color_red { color:#c33; }
.color_blue { color:#4b85ba; }
.color_darkorange { color:#f90; }

/* Extension list */
.extension_container { margin:12px; }
.mod_repository table
{
	width:100%;
	margin:6px 0;
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
}
.mod_repository table th, .mod_repository table td
{
	padding:3px 6px;
	background-color:#f9f9f9;
	text-align:left;
	line-height:1;
}
.mod_repository table th { background-color:#fbf7f1; }
.mod_repository table tr.title th
{
	padding:6px;
	background-color:#f0f0f0;
	border-bottom:1px solid #ddd;
}
.mod_repository table tr.title span.leftblock
{
	padding-top:2px;
	display:block;
	float:left;
}
.mod_repository table tr.title span.leftblock a { color:#77ac45 !important; }
.mod_repository table tr.title span.rightblock { display:block; float:right; }
.mod_repository table tr.description td { padding-top:8px; padding-bottom:10px; line-height:1.3; }
.mod_repository table tr.info th, .mod_repository table tr.info td { border-top:1px solid #fff; font-size:10px; font-size:.625rem; }
.mod_repository table .listcol1, .mod_repository table .listcol3, .mod_repository table .viewcol1, .mod_repository table .viewcol3 { width:21%; }
.mod_repository table .listcol2, .mod_repository table .viewcol2 { width:29%; }
.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;
	padding-top:3px;
	padding-left:12px;
}
.mod_repository_view .description img { padding:2px; border:1px solid #ccc; }
.mod_repository_view .description td { line-height:1.3; }
.mod_repository_view .description ul { margin:0 0 1em 2.1em; padding:0; }
.mod_repository_view .description li { list-style-type:disc; }
.mod_repository_view .releasenotes { line-height:1.3 !important; }
.mod_repository_view .releasenotes li { margin-left:2em; list-style-type:disc; }

.mod_repository_view tr.spacer td
{
	background-color:#fff;
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	line-height:4px;
}

/* Buttons */
.buttonwrapper, .buttonwrapper * { vertical-align:middle; }
.buttonwrapper a { margin-left:15px; }
.buttonwrapper img { position:relative; top:-1px; left:-1px; }
.mod_repository_submit form { display:inline; }

/* Status colors */
.mod_repository table.extension td.status-0, .mod_repository table.extension td.status-1, .mod_repository table.extension td.status-2 { background-color:#ffe0e0; }
.mod_repository table.extension td.status-3, .mod_repository table.extension td.status-4, .mod_repository table.extension td.status-5, .mod_repository table.extension td.type-private { background-color:#ffffe0; }
.mod_repository table.extension td.status-6, .mod_repository table.extension td.status-7, .mod_repository table.extension td.status-8, .mod_repository table.extension td.type-commercial { background-color:#d0e8ff; }
.mod_repository table.extension td.status-9, .mod_repository table.extension td.type-free { background-color:#e0ffe0; }

/* Rating */
.mod_repository div.ratebarframe
{
	width:60px;
	float:left;
	background-color:#ffe0e0;
	border:1px solid #999;
	font-size:1px;
	line-height:1px;
}
.mod_repository div.ratebarframe.empty
{
	background-color:#eee;
}
.mod_repository div.ratebar
{
	width:10%;
	height:12px;
	background-color:#c0ffc0;
	font-size:1px;
}
.mod_repository div.ratebartext { margin-left:65px; }

/* Installer */
.mod_repository .installlog { margin-bottom:24px; }
.mod_repository .col_status, .mod_repository .installlog { line-height:1.2; }
.mod_repository .subtitle { margin-top:6px; font-weight:bold; }
.mod_repository .question { margin-top:3px; }
.mod_repository .fulltextsearch { width:180px; }
.mod_repository #sql_table { border:0; }
.mod_repository #sql_table td { background:#fff; }
.mod_repository #sql_table td.tl_col_0 { padding-top:18px; font-weight:bold; }
.mod_repository #sql_table td.tl_col_1 { width:18px; vertical-align:top; }
.mod_repository #sql_table td.tl_col_1, .mod_repository #sql_table td.tl_col_2 { padding-bottom:3px; }
.mod_repository #sql_table pre { white-space:pre-wrap; }
.mod_repository #sql_table pre label { font-family:Courier,monospace; font-size:12px; font-size:.75rem; }
