From eccfda3b8b4761038e55bd6744b659fb9053d129 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Sat, 9 Aug 2008 05:31:36 +0000 Subject: [PATCH] Monotone-Parent: 02427444a1cb327f2dac36a32e45c884ece5f85d Monotone-Revision: 0f1a6cd04afde26d6c706fce6b58bc25810d6499 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-08-09T05:31:36 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/SchedulerUI.css | 34 +++++++++++++---------- UI/WebServerResources/SchedulerUI.js | 6 ---- UI/WebServerResources/event-gradient.png | Bin 1312 -> 1372 bytes UI/WebServerResources/iefixes.css | 16 ++++------- 4 files changed, 25 insertions(+), 31 deletions(-) diff --git a/UI/WebServerResources/SchedulerUI.css b/UI/WebServerResources/SchedulerUI.css index ba932a86d..6fba66a0f 100644 --- a/UI/WebServerResources/SchedulerUI.css +++ b/UI/WebServerResources/SchedulerUI.css @@ -321,7 +321,10 @@ SPAN.monthsHeader SPAN SPAN.daysHeader A, SPAN.weeksHeader A, SPAN.monthsHeader A -{ padding: 0px .5em; } +{ border: 1px solid transparent; + color: #000; + line-height: 1.5em; + padding: 0px .5em; } A.leftNavigationArrow, A.rightNavigationArrow @@ -657,7 +660,8 @@ DIV.daysViewFor1Days DIV.day DIV.monthView DIV.headerDay, DIV.monthView DIV.day, DIV.daysViewFor7Days DIV.day -{ width: 14.2857%; } +{ width: 14.2857%; + width: 14.1%; } DIV.monthView DIV.day0, DIV.daysViewFor7Days DIV.day0 @@ -832,22 +836,22 @@ DIV.events > DIV.event z-index: 1; position: absolute; left: 0px; - right: 1px; - margin-top: 1px; + right: 2px; + margin-top: 0px; padding: 1px; } -DIV[class~="event"]._selected > DIV.eventInside -{ -moz-opacity: 0.7; - opacity: 0.7; } - DIV.event > DIV.eventInside { position: absolute; overflow: hidden; - top: 1px; - bottom: 5px; - left: 2px; + top: 2px; + bottom: 3px; + left: 1px; right: 2px; } +DIV.event._selected > DIV.eventInside +{ -moz-opacity: 0.7; + opacity: 0.7; } + DIV.shadow { position: absolute; background-color: #000; } @@ -886,9 +890,9 @@ DIV.shadow4 DIV.gradient, DIV.text { position: absolute; - top: 2px; - left: 2px; - right: 2px; + top: 1px; + left: 1px; + right: 1px; bottom: 2px; height: 100%; overflow: hidden; } @@ -904,7 +908,7 @@ DIV.monthView DIV.event white-space: nowrap; margin-top: 1px; margin-left: 1px; - margin-right: 3px; + margin-right: 1px; padding: 1px; height: 2em; } diff --git a/UI/WebServerResources/SchedulerUI.js b/UI/WebServerResources/SchedulerUI.js index a7227102c..fa8c26271 100644 --- a/UI/WebServerResources/SchedulerUI.js +++ b/UI/WebServerResources/SchedulerUI.js @@ -897,12 +897,6 @@ function newBaseEventDIV(eventRep, event, eventText) { if (eventRep.userState && userStates[eventRep.userState]) eventDiv.addClassName(userStates[eventRep.userState]); - for (var i = 1; i < 5; i++) { - var shadowDiv = $(document.createElement("div")); - eventDiv.appendChild(shadowDiv); - shadowDiv.addClassName("shadow"); - shadowDiv.addClassName("shadow" + i); - } var innerDiv = $(document.createElement("div")); eventDiv.appendChild(innerDiv); innerDiv.addClassName("eventInside"); diff --git a/UI/WebServerResources/event-gradient.png b/UI/WebServerResources/event-gradient.png index 86d169c5f1c433e391d5aa708ba8f29cf26c08ee..e1dec303d49c5b53466bed24a2371977c2dbeac2 100644 GIT binary patch delta 1311 zcmV+)1>pLi3fu~i7zq#t0002``K_IiAv%8vc5p#w0000$0000$0P6GjU;qFFrAb6V zRCwC$UD0yfFbM3;^#8vkpP0mbNZgxBp}_7U$v*8%W-b;2%*ia^&(E<2L>+Bihu(iE z)IM*$r{@WFeJcm`&r@!50(gSQDaJXB4XiAzXKz-26u3R#0r38=aX?g2cDVh&nc^Xx1Us>;SbRx?UZCs(t&waFW2PBQpA|T!kL0zPXmY ztUl3z>(_4<@DElCyn1~_0T4ZMRC0gVWUu-v#Zqym2cVUAscX6IcQ-C59H<%pw9lS&$IOf%OR=)O7x^a?T*@+ z{bFV1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/WebServerResources/iefixes.css b/UI/WebServerResources/iefixes.css index 218f2478e..08509098c 100644 --- a/UI/WebServerResources/iefixes.css +++ b/UI/WebServerResources/iefixes.css @@ -45,7 +45,6 @@ A.button { color: #000; padding: 1px 4px; } - A.button IMG { margin: 1px; } @@ -70,17 +69,14 @@ TD.mailer_fieldname DIV#daysView > DIV.hours > DIV.hour { /* height: 43px = 4em = too much */ } -DIV[class~="event"]._selected > DIV.eventInside +DIV.event > DIV.eventInside +{ top: 3px; + bottom: 1px; + filter: alpha(opacity=100); } + +DIV.event._selected DIV.eventInside { filter: alpha(opacity=70); } -DIV.shadow1, -DIV.shadow2, -DIV.shadow3, -{ filter: alpha(opacity=10); } - -DIV.shadow4 -{ filter: alpha(opacity=40); } - DIV#daysView DIV.event.starts0 { top: 0em; } DIV#daysView DIV.event.starts1 { top: 1em; } DIV#daysView DIV.event.starts2 { top: 2em; }