/*
 * Replace PROVIDER_ID and "ConnectTemplate" word with actual values.
 *
 * Below CSS classes refer not existing images from /icons subfolder. Place such graphics there and 
 * correct styles' positioning and scaling (or remove it) for them.
 */

/*
 * Icon for dedicated UI action "ConnectTemplate"
 */
.uiIconEcmsConnectTemplate {
	height: 14px !important;
	width: 14px !important;
}
.uiIconEcmsConnectTemplate:before {
	content: url("icons/logo-gray-16x16.png");
}

/*
 * Icon of a provider in connect dialog (where all available connectors visible)
 */
.uiIconEcmsConnectDialog-PROVIDER_ID:before {
	content: url("icons/logo-gray-24x24.png");
}

/*
 * File icon in file view.
 */
.uiIcon16x16CloudFile-PROVIDER_ID {
	top: 3px;
}
.uiIcon16x16CloudFile-PROVIDER_ID:before {
	content: url("icons/logo-gray-14x14.png");
}

/*
 * Drive icon in side-bar tree.
 */
.uiIcon16x16CloudDrive-PROVIDER_ID:before {
	left: -15px;
  top: 0px;
	width: 16px;
  height: 16px;
  position: absolute !important;
	-webkit-transform: scale(0.36);
	-moz-transform: scale(0.36);
	-o-transform: scale(0.36);
	-ms-transform: scale(0.36);
	transform: scale(0.36);
	content: url("icons/logo-gray-16x16.png");
}

/*
 * Drive icon in Admin/List view.
 */
.uiIcon24x24CloudDrive-PROVIDER_ID:before {
	left: 2px;
  top: -21px;
  width: 20px;
  height: 20px;
  position: relative !important;
  display: inline-block;
 	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-o-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	content: url("icons/logo-gray-16x16.png");
}

/*
 * Drive icon in Icon view.
 */
.uiIcon64x64CloudDrive-PROVIDER_ID:before {
	left: -50px;
  top: 3px;
	width: 40px;
  height: 40px;
  position: absolute !important;
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-o-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	content: url("icons/logo-gray-32x32.png");
}

@media (min-width: 481px) and (max-width: 1024px) {
	.uiIcon16x16CloudDrive-PROVIDER_ID:before {
		left: -17px;
		top: 2px;
		-webkit-transform: scale(0.45);
		-moz-transform: scale(0.45);
		-o-transform: scale(0.45);
		-ms-transform: scale(0.45);
		transform: scale(0.45);
	}
	
	.uiIcon24x24CloudDrive-PROVIDER_ID:before {
		left: 7px;
	  top: -30px;
	  -webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-o-transform: scale(0.9);
		-ms-transform: scale(0.9);
		transform: scale(0.9);
	}
	
	.uiIcon64x64CloudDrive-PROVIDER_ID:before {
		left: -57px;
    top: -5px;
		-webkit-transform: scale(0.9);
		-moz-transform: scale(0.9);
		-o-transform: scale(0.9);
		-ms-transform: scale(0.9);
		transform: scale(0.9);
	}
}

/*************************** NodeType Icons for PROVIDER_ID documents ***********************/

/*
 * Below an example of how file mimetypes can be mapped to CSS classes of eXo ECMS.
 * There are three sizes for an imagined type: application/x-exo.PROVIDER_ID.doc. 
 * The ECMS will generate such class names and we provide a style for each of them to add specific icons to the 
 * files in side-bar tree, Admin/List and Icon views. Place images in the /icons folder for actual
 * graphics.
 */

.uiIcon16x16applicationx-exoPROVIDER_IDdoc {
	background: url('icons/PROVIDER_ID-doc-16x16.png') center center no-repeat !important;
}

.uiIcon24x24applicationx-exoPROVIDER_IDdoc {
	background: url('icons/PROVIDER_ID-doc-24x24.png') center center no-repeat !important;
}

.uiIcon64x64applicationx-exoPROVIDER_IDdoc {
	background: url('icons/PROVIDER_ID-doc-64x64.png') center center no-repeat !important;
}
