From 1aa5401c4be693e7fca9d243ffcfd37423da864d Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Tue, 14 Oct 2014 10:26:53 +0200 Subject: [PATCH] Uodated admin menu to use new jquery ui design --- src/css/jquery-ui-structure.css | 5 +++++ src/js/common.js | 1 - src/templates/admin/admin_menu.html | 35 +++++++++++++++++++++++++++++ src/templates/include_menu.html | 30 ++++++++++++------------- src/templates/index.html | 6 ++--- src/themes/default/main.css | 24 ++++++++++++++++++++ 6 files changed, 82 insertions(+), 19 deletions(-) diff --git a/src/css/jquery-ui-structure.css b/src/css/jquery-ui-structure.css index 7abf278..80c6fa6 100644 --- a/src/css/jquery-ui-structure.css +++ b/src/css/jquery-ui-structure.css @@ -831,3 +831,8 @@ button.ui-button::-moz-focus-inner { body .ui-tooltip { border-width: 2px; } + +/* Custom CSS added by AL */ +.ui-button img { + margin:0px; +} diff --git a/src/js/common.js b/src/js/common.js index 262e6b1..d150170 100644 --- a/src/js/common.js +++ b/src/js/common.js @@ -478,7 +478,6 @@ function CreateMenuFunction ( szbuttonobjid, szmenuobjid, bHide ) select: function(event, ui){ var szHref = $(ui.item).find('a').attr('href'); if (szHref != null && szHref.length > 0) { - alert ( szHref ); var szTarget = $(ui.item).find('a').attr('target'); if (szTarget == "_top") { window.location.href = szHref; diff --git a/src/templates/admin/admin_menu.html b/src/templates/admin/admin_menu.html index 43564a4..07a89e9 100644 --- a/src/templates/admin/admin_menu.html +++ b/src/templates/admin/admin_menu.html @@ -1,3 +1,37 @@ +
+ + + + + + + + + + + + + + + + + + + @@ -28,3 +62,4 @@
+ diff --git a/src/templates/include_menu.html b/src/templates/include_menu.html index 95cc984..c48e649 100644 --- a/src/templates/include_menu.html +++ b/src/templates/include_menu.html @@ -1,28 +1,28 @@ - - - - - - + + + + + + - + - + - - + + - + - diff --git a/src/themes/default/main.css b/src/themes/default/main.css index b5d0eac..20c5c6f 100644 --- a/src/themes/default/main.css +++ b/src/themes/default/main.css @@ -559,6 +559,7 @@ select, input, button, textarea .SearchFormTextbox { height: 20px; + width:100%; margin: 2px; background-color: #E8E7E2; color:#000000; @@ -580,3 +581,26 @@ select, input, button, textarea color: #BB0000 } + +/* Corner radius */ +.title, +.with_border, +.with_border_alternate, +.mainheader, +.imageborder, +.topmenu1, +.topmenu2, +.topmenu2end, +.topmenu3, +.cellmenu1, +.cellmenu1_naked, +.cellmenu2, +.cellmenu2_naked, +.SearchFormControl, +.SearchFormTextbox, +.table_with_border, +.table_with_border_second, +.table_with_border_light, +select, input, button, textarea { + border-radius: 2px; +}