/*
  This file is part of Moodle - http://moodle.org/
  Moodle is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  Moodle is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
*/

/**
 * zebra theme admin css file
 *
 * @package    theme_zebra
 * @copyright  2011 Danny Wahl
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.path-admin h2.main {
	margin: 0 0 4px 0;
}

#page-admin-report-security-index .statuswarning {
	background-color: [[setting:warningfontcolor]];
}

#page-admin-report-security-index .statusserious {
	background-color: [[setting:seriousfontcolor]];
}

#page-admin-report-security-index .statuscritical {
	background-color: [[setting:criticalfontcolor]];
}

#page-admin-report-backups-index .backup-error,
#page-admin-report-backups-index .backup-unfinished {
	color: [[setting:criticalfontcolor]];
}

#page-admin-report-backups-index .backup-skipped,
#page-admin-report-backups-index .backup-ok {
	color: [[setting:okfontcolor]];
}

#page-admin-qbehaviours .disabled,
#page-admin-qtypes .disabled {
	color: [[setting:bodybgcolor]];
}

#adminsettings fieldset,
#adminsettings fieldset.error {
	margin: 4px 0;
	padding: 4px;
}

#adminsettings .form-item {
	margin: 4px 0;
}

#adminsettings .form-item .form-label {
	width: auto;
	float: none;
	text-align: left;
	margin-bottom: 4px;
}

#adminsettings .form-item .form-setting {
	margin: 0;
}

#adminsettings .form-item .form-setting .defaultsnext {
	margin: 0 4px 0 0;
}

#adminsettings .form-item .form-setting .locked-checkbox,
.dir-rtl #adminsettings .form-item .form-setting .locked-checkbox {
	margin: 0 4px;
}

#adminsettings .form-item .form-description {
	margin: 4px 0 0 0;
}

#adminsettings .form-item .pathok,
#adminsettings .form-item .patherror {
	margin-left: 4px;
}

#adminsettings .form-item .pathok {
	color: green;
}

#adminsettings .form-item .patherror {
	color: red;
}

.form-buttons {
	margin: 4px 0 0 0;
}
#adminsettings #admin-emoticons table {
	border: 1px solid transparent;
}

#adminthemeselector .selectedtheme td.c0,
#adminthemeselector .selectedtheme td.c1 {
	border-color: [[setting:linkcolor]];
}

#page-admin-index .adminwarning.maturityinfo.maturity50 {
	background-color: [[setting:warningfontcolor]];
}

#page-admin-index #plugins-check .missingfromdisk .displayname {
	background-color: [[setting:criticalfontcolor]];
}

#page-admin-index #plugins-check .standard .source {
	color: [[setting:fontcolor]];
}

#page-admin-index #plugins-check .extension .source {
	background-color: [[setting:warningfontcolor]];
}

#page-admin-index #plugins-check .status-downgrade .status {
	background-color: [[setting:criticalfontcolor]];
}

#page-admin-index #plugins-check .status-missing .status {
	background-color: [[setting:criticalfontcolor]];
}

#page-admin-index #plugins-check .status-new .status {
	background-color: [[setting:warningfontcolor]];
}

#page-admin-index #plugins-check .status-nodb .status {
	color: [[setting:fontcolor]];
}

#page-admin-index #plugins-check .status-delete .status {
	background-color: [[setting:seriousfontcolor]];
}

#page-admin-index #plugins-check .status-upgrade .status {
	background-color: [[setting:seriousfontcolor]];
}

#page-admin-index #plugins-check .status-uptodate .status {
	color: [[setting:fontcolor]];
}

#page-admin-index #plugins-check .requires-ok {
	color: [[setting:fontcolor]];
}

#page-admin-index #plugins-check .requires-failed {
	background-color: [[setting:criticalfontcolor]];
}

#page-admin-plugins #plugins-control-panel {
	margin: 0 -2px;
}

#page-admin-plugins #plugins-control-panel .missingfromdisk .displayname {
	background-color: [[setting:criticalfontcolor]];
}

#page-admin-plugins #plugins-control-panel .availability {
	width: 71px;
}

#page-admin-plugins #plugins-control-panel .disabled .availability {
	background-color: transparent;
}

#page-admin-plugins #plugins-control-panel .extension .source {
	background-color: [[setting:warningfontcolor]];
}

#page-admin-plugins #plugins-control-panel .requiredby {
	color: [[setting:fontcolor]];
}

#page-admin-mnet-peers .mform .certdetails {
	background-color: [[setting:contentbgcolor]];
	color: [[setting:fontcolor]];
}

#page-admin-mnet-peers .mform .deletedhostinfo {
	background-color: [[setting:contentbgcolor]];
	border: 2px solid [[setting:criticalfontcolor]];
	padding: 4px;
	margin-bottom: 5px;
}

#page-admin-setting-themesettings #admin-devicedetectregex table {
	border: 1px solid [[setting:bodybgcolor]];
}

@media screen and (min-width:[[setting:threecolmin]]) {
	#adminsettings .form-item .form-label {
		width: 220px;
		float: left;
		text-align: right;
	}

	#adminsettings .form-item .form-setting {
		margin: 0 0 0 224px;
		padding: 0 0 0 4px;
		border-left: 1px solid [[setting:bodybgcolor]];
	}

	#adminsettings .form-item .form-description {
		margin: 0 0 0 224px;
		padding: 4px 0 0 4px;
		border-left: 1px solid [[setting:bodybgcolor]];
	}

	.form-buttons {
		margin: 4px 0 0 229px;
	}
}