From 7ebecb51c5c4b368f35a055dad60969e9c38767a Mon Sep 17 00:00:00 2001 From: wolfgang Date: Fri, 1 Jun 2007 22:36:03 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1075 d1b88da0-ebda-0310-925b-ed51d893ca5b --- UI/WebServerResources/HTMLElement.js | 8 ++++---- UI/WebServerResources/MailerUI.css | 6 +++--- UI/WebServerResources/SchedulerUI.css | 20 +++++++++++++++----- UI/WebServerResources/UIxComponentEditor.js | 2 +- UI/WebServerResources/generic.css | 10 +++++++++- 5 files changed, 32 insertions(+), 14 deletions(-) diff --git a/UI/WebServerResources/HTMLElement.js b/UI/WebServerResources/HTMLElement.js index ef2bd894..46f4c54e 100644 --- a/UI/WebServerResources/HTMLElement.js +++ b/UI/WebServerResources/HTMLElement.js @@ -151,10 +151,10 @@ Element.addMethods({ - (menuLeft + popup.offsetWidth)); if (leftDiff < 0) menuLeft -= popup.offsetWidth; - - popup.style.top = menuTop + "px;"; - popup.style.left = menuLeft + "px;"; - popup.style.visibility = "visible;"; + + popup.setStyle( { top: menuTop + "px", + left: menuLeft + "px", + visibility: "visible" } ); document.currentPopupMenu = popup; Event.observe(document.body, "click", onBodyClickMenuHandler); diff --git a/UI/WebServerResources/MailerUI.css b/UI/WebServerResources/MailerUI.css index 7cef75b4..05530852 100644 --- a/UI/WebServerResources/MailerUI.css +++ b/UI/WebServerResources/MailerUI.css @@ -455,12 +455,12 @@ DIV[datatype~="additional"] > A.node > SPAN.nodeName /* drag-n-drop */ IMG.dragMessage -{ - position: absolute; +{ position: absolute; visibility: hidden; border: 0px; -moz-opacity: 0.7; -} + opacity: 0.7; + filter: alpha(opacity=70); } TABLE#addr_table { diff --git a/UI/WebServerResources/SchedulerUI.css b/UI/WebServerResources/SchedulerUI.css index f127a277..a9a29731 100644 --- a/UI/WebServerResources/SchedulerUI.css +++ b/UI/WebServerResources/SchedulerUI.css @@ -798,7 +798,9 @@ DIV.appointments > DIV.appointment padding: 1px; } DIV[class~="appointment"]._selected > DIV.appointmentInside -{ -moz-opacity: 0.7; } +{ -moz-opacity: 0.7; + opacity: 0.7; + filter: alpha(opacity=70); } DIV.appointment > DIV.appointmentInside { position: absolute; @@ -817,28 +819,36 @@ DIV.shadow1 right: 0px; top: 2px; bottom: 3px; - -moz-opacity: 0.1; } + -moz-opacity: 0.1; + opacity: 0.1; + filter: alpha(opacity=10); } DIV.shadow2 { left: 1px; right: 1px; top: 1px; bottom: 2px; - -moz-opacity: 0.1; } + -moz-opacity: 0.1; + opacity: 0.1; + filter: alpha(opacity=10); } DIV.shadow3 { left: 2px; right: 2px; top: 0px; bottom: 3px; - -moz-opacity: 0.1; } + -moz-opacity: 0.1; + opacity: 0.1; + filter: alpha(opacity=10); } DIV.shadow4 { left: 3px; right: 3px; top: 3px; bottom: 4px; - -moz-opacity: 0.4; } + moz-opacity: 0.4; + opacity: 0.4; + filter: alpha(opacity=40); } DIV.gradient, DIV.text { position: absolute; diff --git a/UI/WebServerResources/UIxComponentEditor.js b/UI/WebServerResources/UIxComponentEditor.js index a490e25a..32347213 100644 --- a/UI/WebServerResources/UIxComponentEditor.js +++ b/UI/WebServerResources/UIxComponentEditor.js @@ -156,4 +156,4 @@ function onComponentEditorLoad(event) { menuItems[i].addEventListener("mouseup", onMenuSetClassification, false); } -window.addEventListener("load", onComponentEditorLoad, false); +addEvent(window, 'load', onComponentEditorLoad); diff --git a/UI/WebServerResources/generic.css b/UI/WebServerResources/generic.css index 6c1ff919..fc63f218 100644 --- a/UI/WebServerResources/generic.css +++ b/UI/WebServerResources/generic.css @@ -253,7 +253,9 @@ SPAN.toolbarButton, SPAN.disabledToolbarButton color: -moz-DialogText; } SPAN.disabledToolbarButton -{ -moz-opacity: 0.4; } +{ -moz-opacity: 0.4; + opacity: 0.4; + filter: alpha(opacity=40); } SPAN.toolbarButton:hover { color: -moz-buttonhovertext; @@ -352,6 +354,8 @@ DIV#logConsole display: none; z-index: 1000; -moz-opacity: 0.7; + opacity: 0.7; + filter: alpha(opacity=70); border-top: 2px solid #fff; border-left: 2px solid #fff; border-right: 2px solid #999; @@ -483,6 +487,8 @@ DIV.javascriptPopupBackground { position: absolute; background-color: #999; -moz-opacity: 0.6; + opacity: 0.6; + filter: alpha(opacity=60); z-index: 2; top: 0px; left: 0px; @@ -504,6 +510,8 @@ DIV.javascriptMessagePseudoWindow padding: 1em; margin: 0px auto; -moz-opacity: 1.0; + opacity: 1.0; + filter: alpha(opacity=100); color: #000; background-color: #dedede; } -- 2.39.5