src/hbcore/resources/themes/style/hbdefault/rules/widgets/hbmenu/hbmenu.css
author hgs
Mon, 18 Oct 2010 18:23:13 +0300
changeset 34 ed14f46c0e55
parent 5 627c4a0fd0e7
permissions -rw-r--r--
201041

HbMenu
{	
	layout:default;
	submenu-right-offset: 2.25un;
	submenu-bottom-margin: var(hb-param-margin-gene-screen); 
	number-of-columns: 1;
}

HbMenu::content
{
    min-width: expr((var(hb-param-screen-short-edge)*3)/5);
    max-width: expr(var(hb-param-screen-short-edge)-9un);
    max-height: expr(var(hb-param-text-height-primary)*6+var(hb-param-margin-gene-top)*6+var(hb-param-margin-gene-bottom)*6);
	size-policy-vertical: expanding;
	size-policy-horizontal: expanding;
}

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

HbMenu[menuType="2"]::content
{
    min-width: expr((var(hb-param-screen-short-edge)-9un)/2);    
    max-height: expr(var(hb-param-text-height-secondary)*6+var(hb-param-margin-gene-top)*6+var(hb-param-margin-gene-bottom)*6);
}