src/hbcore/resources/themes/style/hbdefault/rules/widgets/hbmenuitem/hbmenuitem.css
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:32:10 +0300
changeset 28 b7da29130b0e
parent 5 627c4a0fd0e7
child 30 80e4d18b72f5
permissions -rw-r--r--
Revision: 201035 Kit: 201037

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;
}

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;
}