/**
 * Modern theme
 *
 * Copyright (C) 2012, Sam Clarke (samclarke.com)
 *
 * SCEditor is licensed under the MIT license:
 *	http://www.opensource.org/licenses/mit-license.php
 *
 * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
 * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
 */

@import "default.less";

.sceditor-container { border: 1px solid #999; }

.sceditor-container textarea {
	font-family: Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace;
	background: #2e3436;
	color: #fff;
	margin: 0;
	padding: 5px;
}

div.sceditor-toolbar {
	background: #ccc;
	background: -moz-linear-gradient(top, #cccccc 0%, #b2b2b2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cccccc), color-stop(100%,#b2b2b2));
	background: -webkit-linear-gradient(top, #cccccc 0%,#b2b2b2 100%);
	background: -o-linear-gradient(top, #cccccc 0%,#b2b2b2 100%);
	background: -ms-linear-gradient(top, #cccccc 0%,#b2b2b2 100%);
	background: linear-gradient(to bottom, #cccccc 0%,#b2b2b2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#b2b2b2',GradientType=0 );
}
.ie9 div.sceditor-toolbar {
	filter: none;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiMmIyYjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}

	div.sceditor-group {
		display: inline;
		background: transparent;
		margin: 0;
		padding: 0;
		border: 0;
	}
		.sceditor-button {
			padding: 4px;
			margin: 2px 1px 2px 3px;
			height: 16px;
			.rounded(12px);
		}
		.sceditor-button:hover,
		.sceditor-button.active,
		.sceditor-button.active:hover {
			.box-shadow(none);
		}
		.sceditor-button:hover {
			background: #fff;
			background: rgba(255,255,255,0.75);
			margin: 1px 0 1px 2px;
			border: 1px solid #eee;
		}
		.sceditor-button.disabled:hover {
			margin: 2px 1px 2px 3px;
			border: 0;
		}
		.sceditor-button.active {
			background: #b1b1b1;
			background: rgba(0,0,0,0.1);
			margin: 1px 0 1px 2px;
			border: 1px solid #999;
		}
		.sceditor-button.active:hover {
			background: #fff;
			background: rgba(255,255,255,0.25);
		}
		.sceditor-button:active, .sceditor-button.active:active {
			margin: 1px 0 1px 2px;
			border: 1px solid #999;
			.box-shadow(inset 0 0 4px rgba(0,0,0,0.5));
		}
			.sceditor-button div { margin: 0; }