/**
 * EGroupware: CSS with less preprocessor
 *
 * FILEMANAGER
 *
 * 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 filemanager
 */

@import (reference) "../../../pixelegg/less/definitions.less";
@import (reference) "../../../pixelegg/less/def_mobile.less";
@import (less) "../default/app.css";

/*/*****************************************************************
// sidebar

*/// defind in layout_raster.less /*


/*//******************************************************************
// iframe*/

// images .... uploaded files
table.egwGridView_grid img {
    .img_filter_none;
}

// iframe

/*// #####################################################*/
/*Dialog filemanager*/

#filemanager-select {
	.dialogHeader {
		.et2_button_icon {
			margin: 4px 4px 0 4px;
			.bordered (@gray_0, @gray_0, @gray_0, @gray_0);
			.rounded (3px);
			background-color: @gray_0;
			height: auto;
			width: 24px;
		}
	}
	#filemanager-select_apps {
		.background_color_15_gray;
		.et2_button_icon{
			height: auto;
			width: 24px;
			padding: 10px;
		}
	}
	table#filemanager-select_dir{
		.border_normal;
		tr:nth-child(even) {background: @color_even;}
		tr:nth-child(odd) {background: @color_odd;}
	}
}

/*// #####################################################*/
/*Dialog filemanager edit POPUP WINDOW*/

div#filemanager-file_tabs {
	span.ui-icon-search {
		.Complete_Button_Icon_normal;
		position: relative;
		top: 3px;
		margin-left: 3px;
		background-position: 3px;
	}
	/*eacl*/
	#filemanager-file_filemanager-file-eacl {
		/*Owner*/
		td.filemanager-file_filemanager-file-eaclowner {
			span {display: flex; margin-right: 1px;}
			span.ui-icon-search {
				position: relative;
				top: 15px;
				margin-left: -3px;
				margin-right: 3px;
			}
		}
	}
	/*Abonements*/
	td.eaclAccount {width: 200px;}
}

/*// #####################################################*/
/*Dialog filemanager upload POPUP WINDOW*/

div#stylite-filemanager-upload {
	margin: 0.5em;
	.et2_file{
		.dimension_height_m;
		input {
			color: @gray_0;
			width: 250px;
			background-color: @egw_color_2_a;
			&:hover {.Complete_Button_add_only_plus_hover;}
			&:active {background-color: @color_positive_action_active !important;}
		}
		div.progress {width: 0px;}
	}
	// th
	.th {background: none;}
	// Schliessen / Close
	.dialogFooterToolbar {
		button {
			.Complete_Button_text_icon_before;

			&:hover {background-color: @color_cancel_action_hover !important; color: @gray_100; .box_shadow_standard_light_hover;}
			&:active {background-color: @color_cancel_action_active !important; color: @gray_100; .box_shadow_standard_light_inset;}
		}
	}
}
#filemanager-index_new_wrapper {
	.ui-icon-triangle-1-s {
		background-image: url(../../../pixelegg/images/add.svg);
		background-size: 12px;
		background-repeat: no-repeat;
		background-position: center;
	}
}