/**
 * EGroupware: CSS with less preprocessor
 *
 * PREFERENCES
 *
 * Please do NOT change app.css directly, instead change app.less and compile it!
 *
 * @link http://www.egroupware.org
 * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
 * @author Stefan Reinhardt <stefan.reinhardt@pixelegg.de>
 * @package preferences
 * @version $Id$
 */


@import (reference) "../../../pixelegg/less/def_buttons.less";
@import (reference) "../../../pixelegg/less/def_design_pattern_color_font_shadow.less";
@import (less) "../default/app.css";

/* #############################################################################
// iframe
// Rahmen + padding**/

/*############################################
#            #                               #
#            #                               #
#            #                               #
#            #                               #
#            #                               #
#            #                               #
#            #                               #
#            #       iframge                 #
#            #                               #
#            #                               #
#            #                               #
#            #                               #
#            #                               #
#            #                               #
##############################################*/


/*app.css Stylite*/

table.prefTable {
	width: 100%;
}
table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn {
	background-image:url(../../../pixelegg/images/dialog_info.png);
}
.prefHelp {
	position: absolute;
    display: none;
    width: 250px;
    max-height: 99%;
    height: ~"calc(97% - 150px)";
    padding: 5px;
    top: 100px;
	z-index: 1;
	border: 2px solid dimgrey;
    border-radius: 5px;
}
.prefHelpColumn {border-left:1px solid #e6e6e6 !important;}
tr.prefRow:hover .prefHelp {
	display: block;
	z-index: 10;	/* FF: displays it under next prefName without */
}
.prefValue {
	margin-right: 5px;
}
.prefValue textarea, textarea.prefValue {
	width: 99%;
	height: 5em;
}
.prefType, .prefApp {
	font-size: 150%;
	display: inline-block;
	padding-bottom: 5px;
}

.prefType, .prefApp {
	/*margin: 0.3em;*/
	-webkit-appearance:button;
	/*padding:10px;*/
}

/*Preferences APP / left */
.prefApp {
	background-image: url(../pixelegg/images/setup.png);
	background-repeat: no-repeat;
	background-position: 90% 50%;
	background-size: 16px 16px;
	margin-right: 1em;
}
/*Preferences APP Settings / right*/
.prefType {
	background-image: url(../pixelegg/images/setup.png);
	background-repeat: no-repeat;
	background-position: 90% 50%;
	background-size: 16px 16px;
}

/*###############################*/
 /*ADMIN DIALOG*/
#preferences-settings {
	.et2_tabs,table.egwGridView_grid tbody {border-bottom: none !important;}
	margin: -8px;
	// Header
	div.dialogHeader {
		height: 50px;
		// left
		select#preferences-settings_appname {
			min-width: 47%;
			margin: 5px;
			-webkit-appearance:button;
			padding:5px;
		}
		// right
		select#preferences-settings_type {
			margin: 5px;
			min-width: 48%;
			-webkit-appearance:button;
			padding:5px;
		}
	}
}