forked from extern/egroupware
Set icons for the toolbar priority action in compose dialog
This commit is contained in:
parent
e1b9b43f6c
commit
e590809211
@ -175,6 +175,7 @@ class mail_compose
|
||||
'prty' => array(
|
||||
'caption' => 'Priority',
|
||||
'group' => ++$group,
|
||||
'icon' => 'priority',
|
||||
'children' => array(),
|
||||
'toolbarDefault' => true,
|
||||
'hint' => 'Select the message priority tag'
|
||||
@ -191,7 +192,19 @@ class mail_compose
|
||||
{
|
||||
$actions['prty']['children'][$key] = array(
|
||||
'caption' => $priority,
|
||||
'icon' => 'prio_high'
|
||||
);
|
||||
switch ($priority)
|
||||
{
|
||||
case 'high':
|
||||
$actions['prty']['children'][$key]['icon'] = 'prio_high';
|
||||
break;
|
||||
case 'normal':
|
||||
$actions['prty']['children'][$key]['icon'] = 'prio_normal';
|
||||
break;
|
||||
case 'low':
|
||||
$actions['prty']['children'][$key]['icon'] = 'prio_low';
|
||||
}
|
||||
}
|
||||
return $actions;
|
||||
}
|
||||
|
@ -1584,10 +1584,13 @@ div.ui-toolbar-menulist {
|
||||
background-color: #e6e6e6 !important;
|
||||
}
|
||||
.et2_toolbar_actionlist .et2_toolbar-dropdown .et2_dropdown button img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: 3px;
|
||||
}
|
||||
.et2_toolbar_actionlist .et2_toolbar-dropdown .et2_button_icon {
|
||||
height: 12px;
|
||||
}
|
||||
div#displayToolbar-menulist .et2_dropdown {
|
||||
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
-moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
|
@ -793,14 +793,18 @@ div.ui-toolbar-menulist{
|
||||
&:hover{}
|
||||
|
||||
img {
|
||||
.dimension_width_height_sm;
|
||||
.dimension_width_height_s;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.et2_button_icon
|
||||
{
|
||||
.dimension_height_xs;
|
||||
}
|
||||
|
||||
ul> li{ }
|
||||
|
||||
ul{ }
|
||||
|
Loading…
Reference in New Issue
Block a user