ItEr24S08CUAsignacionGrupoRecursosAPlanificacionItEr23S10: Visual fixes on planner page submenu
This commit is contained in:
parent
13d705e1fb
commit
307fc4de17
2 changed files with 20 additions and 2 deletions
|
|
@ -151,6 +151,7 @@ public class CustomMenuController extends Div implements IMenuItemsRegister {
|
|||
Hbox insertionPoint = getRegisteredItemsInsertionPoint();
|
||||
Button button = new Button();
|
||||
button.setLabel(_(name));
|
||||
button.setSclass(true ? "sub_menu" : "sub_menu");
|
||||
button.addEventListener(Events.ON_CLICK, eventListener);
|
||||
insertionPoint.appendChild(button);
|
||||
insertionPoint.appendChild(separator());
|
||||
|
|
@ -158,8 +159,7 @@ public class CustomMenuController extends Div implements IMenuItemsRegister {
|
|||
|
||||
private Component separator() {
|
||||
Div div = new Div();
|
||||
div.setStyle("width: 14px; background: /" + getContextPath()
|
||||
+ "common/img/sub_separacion.gif");
|
||||
div.setSclass("vertical_separator");
|
||||
return div;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -50,6 +50,24 @@ table {
|
|||
background-image: none !important;
|
||||
}
|
||||
|
||||
.sub_menu .z-button-cm {
|
||||
background-color: transparent !important;
|
||||
border: 0px;
|
||||
color: #EDF2F7;
|
||||
}
|
||||
|
||||
.sub_menu .z-button-cm:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
.vertical_separator {
|
||||
width: 14px;
|
||||
height: 20px;
|
||||
margin-top:4px;
|
||||
background-image: url("../img/sub_separacion.gif");
|
||||
}
|
||||
|
||||
|
||||
.footer {
|
||||
clear: both;
|
||||
margin: 20px;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue