From b1535f7c9252e1bfd28fa261051a40544e9aeab2 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Fri, 4 Dec 2009 13:08:04 +0100 Subject: [PATCH] ItEr37S16RFMaquetacionDesenhoAplicacionItEr36S18: Revamped user information area and help link --- .../main/webapp/common/css/navalpro_v01.css | 34 ++++++++++++++++++- .../main/webapp/common/layout/_customMenu.zul | 4 +++ .../main/webapp/common/layout/template.zul | 29 ++++++++-------- 3 files changed, 52 insertions(+), 15 deletions(-) diff --git a/navalplanner-webapp/src/main/webapp/common/css/navalpro_v01.css b/navalplanner-webapp/src/main/webapp/common/css/navalpro_v01.css index 8c6bd3369..7404da7a3 100644 --- a/navalplanner-webapp/src/main/webapp/common/css/navalpro_v01.css +++ b/navalplanner-webapp/src/main/webapp/common/css/navalpro_v01.css @@ -106,16 +106,23 @@ a.sub_menu:hover { text-decoration: none; text-align: right; padding-right: 15px; + color: #3195D7; + font-weight: bold; } .cerrar_sesion { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; - text-decoration: underline; + text-decoration: none; text-align: right; padding-right: 15px; color: #009900; display: block; + font-weight: bold; +} + +.cerrar_sesion:hover { + text-decoration: underline; } .ruta { @@ -123,6 +130,7 @@ a.sub_menu:hover { font-size: 11px; color: #3B89B7; text-decoration: none; + vertical-align: middle; } .ruta span { @@ -151,3 +159,27 @@ a.sub_menu:hover { .mainmenu { margin-top:10px; } + +.help-link { + width: 180px; +} + +.help-link a { + font-family: Verdana,Arial,Helvetica,sans-serif,Tahoma; + font-size:11px; + color: #0068B1; + font-weight: bold; + text-decoration: none; +} + +.help-link a span { + position: relative; + top:-6px; +} + +.user-area { + position: absolute; + top:14px; + right:0; + z-index:2; +} \ No newline at end of file diff --git a/navalplanner-webapp/src/main/webapp/common/layout/_customMenu.zul b/navalplanner-webapp/src/main/webapp/common/layout/_customMenu.zul index cd3a6c35a..7f69879c7 100644 --- a/navalplanner-webapp/src/main/webapp/common/layout/_customMenu.zul +++ b/navalplanner-webapp/src/main/webapp/common/layout/_customMenu.zul @@ -44,6 +44,10 @@ + + ${i18n:_('Help')} + + diff --git a/navalplanner-webapp/src/main/webapp/common/layout/template.zul b/navalplanner-webapp/src/main/webapp/common/layout/template.zul index e1f602777..ad46fe3fd 100644 --- a/navalplanner-webapp/src/main/webapp/common/layout/template.zul +++ b/navalplanner-webapp/src/main/webapp/common/layout/template.zul @@ -31,28 +31,29 @@ - + + - - - - - ${i18n:_('user')}: ${desktop.execution.userPrincipal.name} - ${i18n:_('SIGN OUT')} - - - - - + - + + + + + + ${i18n:_('user')}: ${desktop.execution.userPrincipal.name} + [${i18n:_('Sign out')}] + + + + @@ -79,4 +80,4 @@
- + \ No newline at end of file