src/hbcore/resources/themes/style/hbdefault/rules/widgets/hbmenuitem/hbmenuitem.css
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 00:38:12 +0300
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
permissions -rw-r--r--
Revision: 201037 Kit: 201039

HbMenuItem
{
	layout: menuitem;
	min-width: expr((var(hb-param-screen-short-edge)-9un)/2);
	max-width: expr(var(hb-param-screen-short-edge)-9un);
}

HbMenu[menuType="1"] HbMenuItem
{
	min-width: expr(var(hb-param-screen-short-edge)-9un);
}



HbMenuItem[!separator_exists]::text
{
	left: -var(hb-param-margin-gene-middle-horizontal);
	right: var(hb-param-margin-gene-middle-horizontal);
	top: -var(hb-param-margin-gene-top);
	bottom: var(hb-param-margin-gene-bottom);
	font-variant: primary;
	text-height: var(hb-param-text-height-primary);	
	text-line-count-min:1;
	text-line-count-max:1;
	text-wrap-mode:no-wrap;
}

HbMenu[menuType="2"] HbMenuItem[!separator_exists]::text
{
        text-height: var(hb-param-text-height-secondary);
}

HbMenuItem[separator_exists]::text
{	
	fixed-height: 0.75un;
}

HbMenuItem::check-indicator
{
	left: -var(hb-param-margin-gene-left);
	fixed-width: var(hb-param-graphic-size-secondary);
	fixed-height: var(hb-param-graphic-size-secondary);
}

HbMenuItem::submenu-indicator
{
	right: var(hb-param-margin-gene-right);
	fixed-width: var(hb-param-graphic-size-secondary);
	fixed-height: var(hb-param-graphic-size-secondary);
}

HbMenuItem::separator
{	
	fixed-height: 0.75un;
}