/**
 *
 * Mobile FW - Applications colors
 *
 * Please do NOT change *.css directly, instead change *.less and compile it!
 *
 * @link http://www.egroupware.org
 * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
 * @author Hadi Nategh <hn@stylite.de>
 * @package Mobile Framework
 * @version $Id: app.less 55033 2016-02-16 18:49:17Z hnategh $
 */

@import (reference) "./def_gradient.less";

// Color code for applications
@addressbook-color: #003366;
@admin-color: #333333;
@bookmarks-color: #CC6633;
@calendar-color: #CC0033;
@filemanager-color: #ff9933;
@infolog-color: #660033;
@mail-color:#006699;
@projectmanager-color: #669999;
@resources-color: #003333;
@timesheet-color:#330066;
@tracker-color: #009966;
@wiki-color: #797979;
@ranking-color: #404040;
@default-color: #797979;
@kanban-color: #4663c8;
// Addressbook
div[id^="addressbook-"],form[id^="addressbook-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @addressbook-color;}
}
#addressbook_sidebox_header {border-left:6px solid @addressbook-color !important;}
// Admin
div[id^="admin-"],form[id^="admin-"] {
	.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @admin-color;}
}
#admin_sidebox_header {border-left:6px solid @admin-color !important;}
// Bookmarks
div[id^="bookmarks-"],form[id^="bookmarks-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @bookmarks-color;}
}
#bookmarks_sidebox_header {border-left:6px solid @bookmarks-color !important;}
// Calendar
div[id^="calendar-"],form[id^="calendar-"]{
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @calendar-color;}
}
#calendar_sidebox_header {border-left:6px solid @calendar-color !important;}
// Filemanager
div[id^="filemanager-"],form[id^="filemanager-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @filemanager-color;}
}
#filemanager_sidebox_header {border-left:6px solid @filemanager-color !important;}
// Infolog
div[id^="infolog-"],form[id^="infolog-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @infolog-color;}
}
#infolog_sidebox_header {border-left:6px solid @infolog-color !important;}
// Mail
div[id^="mail-"],form[id^="mail-"] {
	.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @mail-color;}
}
#mail_sidebox_header {border-left:6px solid @mail-color !important;}
// Projectmanager
div[id^="projectmanager-"],form[id^="projectmanager-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @projectmanager-color;}
}
#projectmanager_sidebox_header {border-left:6px solid @projectmanager-color !important;}
// Resources
div[id^="resources-"],form[id^="resources-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @resources-color;}
}
#resources_sidebox_header {border-left:6px solid @resources-color !important;}
// Timesheet
div[id^="timesheet-"],form[id^="timesheet-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @timesheet-color;}
}
#timesheet_sidebox_header {border-left:6px solid @timesheet-color !important;}
// Tracker
div[id^="tracker-"],form[id^="tracker-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @tracker-color;}
}
#tracker_sidebox_header {border-left:6px solid @tracker-color !important;}

// Wiki
div[id^="wiki-"],form[id^="wiki-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @wiki-color;}
}
#wiki_sidebox_header {border-left:6px solid @wiki-color !important;}

// Ranking
div[id^="ranking-"],form[id^="ranking-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @ranking-color;}
}
#ranking_sidebox_header {border-left:6px solid @ranking-color !important;}

//Kanban
div[id^="kanban-"],form[id^="kanban-"] {
	.nm_favorites_div .et2_dropdown button:nth-child(2),.plus_button,.search.nm-mob-header,.dialogHeadbar {background-color: @kanban-color;}
}
#kanban_sidebox_header {border-left:6px solid @kanban-color !important;}

// remove gray filter from et2_appicon
img.et2_appicon,
.et2_appicon img,
table.egwGridView_grid img.et2_appicon
{
	.img_filter_none;
}
