/**
 * Package Details Page Styles
 *
 * @package   PEAR2Web
 * @copyright 2010 PEAR Group
 * @license   http://www.opensource.org/licenses/bsd-license.php BSD License
 * @author    Michael Gauthier <mike@silverorange.com>
 */
/* {{{ Layout */

.view-package h3,
.view-release h3 {
	margin: 20px 0 5px 0;
}

.view-package .left,
.view-release .left {
	width: 528px;
	float: left;
	margin-right: 20px;
}

.view-package .right,
.view-release .right {
	width: 352px;
	float: left;
}

.view-package .signin {
	margin-top: 0;
	display: none;
}

/* }}} */
/* {{{ Package description */

.package-description {
	margin-top: 0;
}

.package-description p {
	margin: 0 0 0.5em;
}

.package-description code {
	background-color: #EEEEEE;
    border: 1px solid #DDDDDD;
    border-radius: 3px 3px 3px 3px;
    color: #444444;
    font-size: 12px;
    line-height: 1.5em;
    margin: 1em 0;
    overflow: auto;
    padding: 1px;
}

.package-description ol,
.package-description ul {
	margin: 0 0 0.5em 0;
}

.package-description ol li {
	margin-left: 2em;
	list-style-type: decimal;
}

.package-description ul li {
	margin-left: 2em;
	list-style-type: disc;
}

.package-description .code code {
	font-family: "Consolas", "Monaco", "DejaVu Sans Mono", "Lucida Console", monospace;
}

.package-description h3 {
	margin: 1em 0 0;
}

.package-description .package-categories li {
	font-size: 11px;
	list-style-type: none;
    margin: 0;
}

.package-description .package-categories li a {
	display: block;
	background: #d0e2c6;
	float: left;
	padding: 2px 8px 2px 8px;
	margin: 0 4px 2px 0;
	color: #323232;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
.package-description .package-categories li a:hover {
	background: #649f43; /* IE fallback */
	background: rgba(100, 159, 67, 0.9);
	text-decoration: none;
	color: #fff;
}

.package-description .package-categories ul::after {
	clear: left;
	display: block;
	content: '.';
	height: 1px;
	visibility: hidden;
}

/* }}} */
/* {{{ Package details */

table.package-details {
	margin: 1em;
}

table.package-details tbody {
	font-size: 12px;
}

table.package-details td {
	padding-bottom: 0.25em;
}

table.package-details th {
	font-weight: bold;
	text-align: right;
	padding-right: 0.5em;
	padding-bottom: 0.25em;
	vertical-align: top;
}

table.package-details li {
	list-style-type: none;
	margin: 0;
}

.package-unmaintained {
	color: #af351a;
}

.package-devel,
.package-alpha {
	color: #af351a;
}

.package-beta {
	color: #da2;
}

.package-stable {
}

.maintainers li {
	list-style-type: disc;
	margin-left: 2em;
}

.package-maintainer-details {
    white-space: nowrap;
}

.package-details .package-bugs-new {
	margin: 0.5em 0;
}

/* }}} */
/* {{{ Package dependencies */

#content .package-dependencies ul li {
	margin: 0 0 0 2em;
	list-style-type: disc;
}

/* }}} */
/* {{{ Package documentation */

.package-documentation h3 {
	margin-top: 0;
}

#content .package-documentation ol li {
	margin: 0 0 0 2em;
}

li.package-documentation-api {
	font-weight: bold;
}

/* }}} */
/* {{{ Browse files */

.package-files {
	margin: 15px 0 5px 1.8em;
}

.package-files h3 {
	font-size: 13px;
	display: inline;
	margin: 0 0.5em 0 0;
}

/* }}} */
/* {{{ Package releases */

.package-releases h3 {
	/* TODO: remove this when the documentation section goes live */
	margin-top: 0;
}

.package-releases table {
	margin: 0;
	width: 100%;
}

.package-releases td.package-releases-release {
	padding-left: 2em;
}

.package-releases td.package-releases-date {
	text-align: right;
	padding-right: 2em;
}

/* }}} */
/* {{{ Package installation */

.package-install {
	margin: 0;
}

.package-install-instructions {
	text-indent: -16px;
	font-family: "Consolas", "Monaco", "DejaVu Sans Mono", "Lucida Console", monospace;
	color: #eee;
	background: #333;
	border-color: #111;
	padding: 10px;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
}

.package-install-instructions div {
	margin-left: 16px;
}

.package-install-instructions div.package-install-instructions-section {
	margin-left: 0;
	margin-bottom: 10px;
}

.package-install .package-install-prompt {
	font-weight: bold;
}

.package-install .package-install-package {
	font-weight: bold;
	white-space: nowrap;
}

/* }}} */
/* {{{ Package comments */

.comments .comment {
	margin: 0 0 1.5em 0;
}

.comments .comment-title {
	font-size: 12px;
}

.comments .comment-content {
	margin-top: 0.5em;
	font-size: 12px;
}

.comments .comment-content p {
	margin:  0 0 0.5em 0;
}

.comments .form-field {
	margin-bottom: 0.5em;
}

.comments textarea {
	width: 97%;
}

/* }}} */
/* {{{ Package rating widget */

.package-rating {
	margin: 0 0 1em;
}

.package-rating h3 {
	margin: 0 0 5px 0;
}

.package-rating-bar {
	position: relative;
	font-size: 11px;
	font-weight: bold;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.0975) 1px 2px 3px inset;
	-moz-box-shadow: rgba(0, 0, 0, 0.0975) 1px 2px 3px inset;
}

.package-rating-fill {
	padding: 2px 0;
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
	-webkit-border-top-left-radius: 2px;
	-webkit-border-bottom-left-radius: 2px;
	-moz-border-radius-topleft: 2px;
	-moz-border-radius-bottomleft: 2px;
}

.package-rating .package-rating-description {
	padding: 2px 0px;
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
}

.package-rating .package-rating-description span {
	padding: 0 4px;
}

.package-rating-good .package-rating-bar {
	border: 1px solid #507f35;
}

.package-rating-bad .package-rating-bar {
	border: 1px solid #992e17;
}

.package-rating-good .package-rating-fill {
	background: #649f43;
}

.package-rating-bad .package-rating-fill {
	background: #af351a;
}

.package-rating-good .package-rating-description {
	color: #fff;
	text-align: left;
}

.package-rating-bad .package-rating-description {
	color: #992e17;
	text-align: right;
}

.package-rating-controls {
	float: right;
	padding: 0 0;
}

/* }}} */
