You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2005/11/29 21:13:21 UTC
svn commit: r349804 [8/11] - in
/myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule: ./
model/ renderer/ resource/css/ resource/javascript/ util/
Modified: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/evolution.css
URL: http://svn.apache.org/viewcvs/myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/evolution.css?rev=349804&r1=349803&r2=349804&view=diff
==============================================================================
--- myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/evolution.css (original)
+++ myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/evolution.css Tue Nov 29 12:12:53 2005
@@ -1,297 +1,297 @@
-/* This is the evolution theme for the schedule and planner components */
-
-/* PART I: Detailed Day Renderer */
-
-div.schedule-detailed {
- border-style: solid;
- border-width: 1px;
- border-color: rgb(255,255,255);
- position: relative;
- width: 100%;
- left: 0px;
- right: 0px;
-}
-
-div.schedule-detailed table.background {
- background-color: rgb(172,172,172);
-}
-
-div.schedule-detailed td.gutter {
- background-color: rgb(246,246,246);
- color: rgb(0,0,0);
- text-align: right;
- vertical-align: top;
-}
-
-div.schedule-detailed table.background td.header, div.schedule-detailed table.foreground td.header {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: center;
- vertical-align: middle;
-}
-
-div.schedule-detailed table.background td.header {
- background-color: rgb(246,246,246);
-}
-
-div.schedule-detailed td.header span.date, div.schedule-detailed td.header span.holiday {
- text-align: center;
-}
-
-div.schedule-detailed td.header span.date {
-}
-
-div.schedule-detailed td.header span.holiday {
-}
-
-div.schedule-detailed td.gutter span.hours {
- font-size: 26px;
-}
-
-div.schedule-detailed td.gutter span.minutes {
- font-size: 13px;
-}
-
-div.schedule-detailed table.background td.even,
-div.schedule-detailed table.background td.uneven,
-div.schedule-detailed table.background td.free {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- text-align: center;
-}
-
-div.schedule-detailed table.background td.uneven {
- background-color: rgb(255,255,255);
- color: rgb(255,255,255);
-}
-
-div.schedule-detailed table.background td.even {
- background-color: rgb(255,255,255);
- color: rgb(255,255,255);
-}
-
-div.schedule-detailed table.background td.free {
- background-color: rgb(217,217,217);
- color: rgb(217,217,217);
-}
-
-div.schedule-detailed .entry, div.schedule-detailed div.entry-selected {
- background-color: rgb(190,206,221);
- text-align: center;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
- vertical-align: middle;
- border-color: rgb(172,172,172);
- text-decoration: none;
-}
-
-div.schedule-detailed a.entry:hover,
-div.schedule-detailed div.entry-selected {
- border-color: rgb(100,132,164);
-}
-
-div.schedule-detailed div.entry-selected div.text {
- border-left: solid rgb(100,132,164) 5.0px;
-}
-
-div.schedule-detailed .entry span.subtitle,
-div.schedule-detailed .entry-selected span.subtitle {
- font-style: italic;
- font-size: 9px;
-}
-
-div.schedule-detailed .entry span.title,
-div.schedule-detailed .entry-selected span.title {
- font-size: 11px;
-}
-
-
-
-/* PART II: Compact Renderer */
-div.schedule-compact {
- position: relative;
- width: 100%;
- left: 0px;
- background-color: rgb(172,172,172);
-}
-
-div.schedule-compact table.day {
- background-color: rgb(255,255,255);
-}
-
-div.schedule-compact table.day td.header {
- background-color: rgb(255,255,255);
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: left;
- vertical-align: middle;
- border-bottom-color: rgb(172,172,172);
- border-bottom-style: solid;
- border-bottom-width: 1px;
-}
-
-div.schedule-compact td.content div {
-}
-
-div.schedule-compact td.content td {
- background-color: rgb(255,255,255);
- color: rgb(0,0,0);
- text-align: left;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
- padding: 1px;
- border-color: rgb(255,255,255);
- border-width: 1.0px;
- border-style: solid;
-}
-
-div.schedule-compact a {
- text-decoration: none;
- color: rgb(0,0,0);
- text-align: left;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
-}
-
-div.schedule-compact td.content td.selected {
- background-color: rgb(190,206,221);
- border-color: rgb(190,206,221);
-}
-
-div.schedule-compact td.inactive-day td.content {
- background-color: rgb(238,235,231);
- visibility: visible;
-}
-
-div.schedule-compact td.inactive-day td.header {
- background-color: rgb(238,235,231);
- visibility: visible;
-}
-
-
-
-/* Part III: Planner renderer */
-div.planner {
- border-style: solid;
- border-width: 1px;
- border-color: rgb(255,255,255);
- position: relative;
- width: 100%;
- left: 0px;
-}
-
-div.planner table.background {
- background-color: rgb(172,172,172);
-}
-
-div.planner div.background td.gutter, div.planner div.foreground td.gutter {
- color: rgb(0,0,0);
- text-align: right;
-}
-
-div.planner div.background td.gutter {
- background-color: rgb(246,246,246);
-}
-
-
-div.planner div.background td.header, div.planner div.foreground td.header, div.planner div.background td.hours {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: center;
- vertical-align: middle;
- border-style: none;
- border-width: 0px;
-}
-
-div.planner div.background td.hours {
- border-color: rgb(246,246,246);
- background-color: rgb(246,246,246);
-}
-
-div.planner div.foreground td.hours {
- text-align: center;
- vertical-align: middle;
-}
-
-div.planner div.background td.header {
- background-color: rgb(246,246,246);
-}
-
-div.planner div.background div.header span.date {
- text-align: left;
- font-weight: bold;
- vertical-align: top;
-}
-
-div.planner div.background div.header span.holiday {
- text-align: left;
- vertical-align: top;
-}
-
-div.planner div.background div.header span.hours {
- text-align: left;
- vertical-align: middle;
-}
-
-div.planner td.gutter span.title {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- vertical-align: middle;
- padding: 1px;
- font-size: 10px;
- font-weight: bold;
-}
-
-div.planner td.even, div.planner td.uneven, div.planner td.free {
- border-color : rgb(255,255,255);
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- text-align: center;
-}
-
-div.planner td.uneven {
- background-color: rgb(255,255,255);
- color: rgb(255,255,255);
-}
-
-div.planner td.even {
- background-color: rgb(255,255,255);
- color: rgb(255,255,255);
-}
-
-div.planner td.free {
- background-color: rgb(217,217,217);
- color: rgb(217,217,217);
-}
-
-div.planner table.foreground td.row {
- border-color: rgb(255,255,255);
-}
-
-div.planner div.row div.entry {
- background-color: rgb(190,206,221);
- vertical-align: middle;
- text-decoration: none;
-}
-
-
-
-/* PART IV: Tooltips */
-div.domTT {
- border: 1px solid #333366;
- background-color: #333366;
-}
-div.domTT .caption {
- font-family: Verdana, Helvetica;
- font-size: 10px;
- font-weight: bold;
- color: #FFFFFF;
-}
-div.domTT .contents {
- font-size: 10px;
- font-family: Verdana, Helvetica;
- padding: 2px;
- background-color: #F1F1FF;
-}
+/* This is the evolution theme for the schedule and planner components */
+
+/* PART I: Detailed Day Renderer */
+
+div.schedule-detailed {
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgb(255,255,255);
+ position: relative;
+ width: 100%;
+ left: 0px;
+ right: 0px;
+}
+
+div.schedule-detailed table.background {
+ background-color: rgb(172,172,172);
+}
+
+div.schedule-detailed td.gutter {
+ background-color: rgb(246,246,246);
+ color: rgb(0,0,0);
+ text-align: right;
+ vertical-align: top;
+}
+
+div.schedule-detailed table.background td.header, div.schedule-detailed table.foreground td.header {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: center;
+ vertical-align: middle;
+}
+
+div.schedule-detailed table.background td.header {
+ background-color: rgb(246,246,246);
+}
+
+div.schedule-detailed td.header span.date, div.schedule-detailed td.header span.holiday {
+ text-align: center;
+}
+
+div.schedule-detailed td.header span.date {
+}
+
+div.schedule-detailed td.header span.holiday {
+}
+
+div.schedule-detailed td.gutter span.hours {
+ font-size: 26px;
+}
+
+div.schedule-detailed td.gutter span.minutes {
+ font-size: 13px;
+}
+
+div.schedule-detailed table.background td.even,
+div.schedule-detailed table.background td.uneven,
+div.schedule-detailed table.background td.free {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ text-align: center;
+}
+
+div.schedule-detailed table.background td.uneven {
+ background-color: rgb(255,255,255);
+ color: rgb(255,255,255);
+}
+
+div.schedule-detailed table.background td.even {
+ background-color: rgb(255,255,255);
+ color: rgb(255,255,255);
+}
+
+div.schedule-detailed table.background td.free {
+ background-color: rgb(217,217,217);
+ color: rgb(217,217,217);
+}
+
+div.schedule-detailed .entry, div.schedule-detailed div.entry-selected {
+ background-color: rgb(190,206,221);
+ text-align: center;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+ vertical-align: middle;
+ border-color: rgb(172,172,172);
+ text-decoration: none;
+}
+
+div.schedule-detailed a.entry:hover,
+div.schedule-detailed div.entry-selected {
+ border-color: rgb(100,132,164);
+}
+
+div.schedule-detailed div.entry-selected div.text {
+ border-left: solid rgb(100,132,164) 5.0px;
+}
+
+div.schedule-detailed .entry span.subtitle,
+div.schedule-detailed .entry-selected span.subtitle {
+ font-style: italic;
+ font-size: 9px;
+}
+
+div.schedule-detailed .entry span.title,
+div.schedule-detailed .entry-selected span.title {
+ font-size: 11px;
+}
+
+
+
+/* PART II: Compact Renderer */
+div.schedule-compact {
+ position: relative;
+ width: 100%;
+ left: 0px;
+ background-color: rgb(172,172,172);
+}
+
+div.schedule-compact table.day {
+ background-color: rgb(255,255,255);
+}
+
+div.schedule-compact table.day td.header {
+ background-color: rgb(255,255,255);
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: left;
+ vertical-align: middle;
+ border-bottom-color: rgb(172,172,172);
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+}
+
+div.schedule-compact td.content div {
+}
+
+div.schedule-compact td.content td {
+ background-color: rgb(255,255,255);
+ color: rgb(0,0,0);
+ text-align: left;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+ padding: 1px;
+ border-color: rgb(255,255,255);
+ border-width: 1.0px;
+ border-style: solid;
+}
+
+div.schedule-compact a {
+ text-decoration: none;
+ color: rgb(0,0,0);
+ text-align: left;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+}
+
+div.schedule-compact td.content td.selected {
+ background-color: rgb(190,206,221);
+ border-color: rgb(190,206,221);
+}
+
+div.schedule-compact td.inactive-day td.content {
+ background-color: rgb(238,235,231);
+ visibility: visible;
+}
+
+div.schedule-compact td.inactive-day td.header {
+ background-color: rgb(238,235,231);
+ visibility: visible;
+}
+
+
+
+/* Part III: Planner renderer */
+div.planner {
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgb(255,255,255);
+ position: relative;
+ width: 100%;
+ left: 0px;
+}
+
+div.planner table.background {
+ background-color: rgb(172,172,172);
+}
+
+div.planner div.background td.gutter, div.planner div.foreground td.gutter {
+ color: rgb(0,0,0);
+ text-align: right;
+}
+
+div.planner div.background td.gutter {
+ background-color: rgb(246,246,246);
+}
+
+
+div.planner div.background td.header, div.planner div.foreground td.header, div.planner div.background td.hours {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: center;
+ vertical-align: middle;
+ border-style: none;
+ border-width: 0px;
+}
+
+div.planner div.background td.hours {
+ border-color: rgb(246,246,246);
+ background-color: rgb(246,246,246);
+}
+
+div.planner div.foreground td.hours {
+ text-align: center;
+ vertical-align: middle;
+}
+
+div.planner div.background td.header {
+ background-color: rgb(246,246,246);
+}
+
+div.planner div.background div.header span.date {
+ text-align: left;
+ font-weight: bold;
+ vertical-align: top;
+}
+
+div.planner div.background div.header span.holiday {
+ text-align: left;
+ vertical-align: top;
+}
+
+div.planner div.background div.header span.hours {
+ text-align: left;
+ vertical-align: middle;
+}
+
+div.planner td.gutter span.title {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ vertical-align: middle;
+ padding: 1px;
+ font-size: 10px;
+ font-weight: bold;
+}
+
+div.planner td.even, div.planner td.uneven, div.planner td.free {
+ border-color : rgb(255,255,255);
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ text-align: center;
+}
+
+div.planner td.uneven {
+ background-color: rgb(255,255,255);
+ color: rgb(255,255,255);
+}
+
+div.planner td.even {
+ background-color: rgb(255,255,255);
+ color: rgb(255,255,255);
+}
+
+div.planner td.free {
+ background-color: rgb(217,217,217);
+ color: rgb(217,217,217);
+}
+
+div.planner table.foreground td.row {
+ border-color: rgb(255,255,255);
+}
+
+div.planner div.row div.entry {
+ background-color: rgb(190,206,221);
+ vertical-align: middle;
+ text-decoration: none;
+}
+
+
+
+/* PART IV: Tooltips */
+div.domTT {
+ border: 1px solid #333366;
+ background-color: #333366;
+}
+div.domTT .caption {
+ font-family: Verdana, Helvetica;
+ font-size: 10px;
+ font-weight: bold;
+ color: #FFFFFF;
+}
+div.domTT .contents {
+ font-size: 10px;
+ font-family: Verdana, Helvetica;
+ padding: 2px;
+ background-color: #F1F1FF;
+}
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/evolution.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/evolution.css
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/outlookxp.css
URL: http://svn.apache.org/viewcvs/myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/outlookxp.css?rev=349804&r1=349803&r2=349804&view=diff
==============================================================================
--- myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/outlookxp.css (original)
+++ myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/outlookxp.css Tue Nov 29 12:12:53 2005
@@ -1,295 +1,295 @@
-/* This is the outlookxp theme for the schedule and planner components */
-
-/* PART I: Detailed Day Renderer */
-
-div.schedule-detailed {
- border-style: solid;
- border-width: 1px;
- border-color: rgb(128,128,128);
- position: relative;
- width: 100%;
- left: 0px;
- right: 0px;
-}
-
-div.schedule-detailed table.background {
- background-color: rgb(128,128,128);
-}
-
-div.schedule-detailed td.gutter {
- background-color: rgb(219,216,209);
- color: rgb(0,0,0);
- text-align: right;
- vertical-align: top;
-}
-
-div.schedule-detailed table.background td.header, div.schedule-detailed table.foreground td.header {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: center;
- vertical-align: middle;
-}
-
-div.schedule-detailed table.background td.header {
- background-color: rgb(219,216,209);
-}
-
-div.schedule-detailed td.header span.date, div.schedule-detailed td.header span.holiday {
- text-align: center;
-}
-
-div.schedule-detailed td.header span.date {
-}
-
-div.schedule-detailed td.header span.holiday {
-}
-
-div.schedule-detailed td.gutter span.hours {
- font-size: 26px;
-}
-
-div.schedule-detailed td.gutter span.minutes {
- font-size: 13px;
-}
-
-div.schedule-detailed table.background td.even,
-div.schedule-detailed table.background td.uneven,
-div.schedule-detailed table.background td.free {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- text-align: center;
-}
-
-div.schedule-detailed table.background td.uneven {
- background-color: rgb(255,255,143);
- color: rgb(255,255,143);
-}
-
-div.schedule-detailed table.background td.even {
- background-color: rgb(255,255,143);
- color: rgb(255,255,143);
-}
-
-div.schedule-detailed table.background td.free {
- background-color: rgb(239,240,112);
- color: rgb(239,240,112);
-}
-
-div.schedule-detailed .entry, div.schedule-detailed div.entry-selected {
- background-color: rgb(255,255,255);
- text-align: center;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
- vertical-align: middle;
- border-color: rgb(0,0,0);
- text-decoration: none;
-}
-
-div.schedule-detailed a.entry:hover,
-div.schedule-detailed div.entry-selected {
- border-color: rgb(1,2,217);
-}
-
-div.schedule-detailed div.entry-selected div.text {
- border-left: solid rgb(1,2,217) 5.0px;
-}
-
-div.schedule-detailed .entry span.subtitle,
-div.schedule-detailed .entry-selected span.subtitle {
- font-style: italic;
- font-size: 9px;
-}
-
-div.schedule-detailed .entry span.title,
-div.schedule-detailed .entry-selected span.title {
- font-size: 11px;
-}
-
-
-
-/* PART II: Compact Renderer */
-div.schedule-compact {
- position: relative;
- width: 100%;
- left: 0px;
- background-color: rgb(128,128,128);
-}
-
-div.schedule-compact table.day {
- background-color: rgb(255,255,255);
-}
-
-div.schedule-compact table.day td.header {
- background-color: rgb(219,216,209);
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: left;
- vertical-align: middle;
-}
-
-div.schedule-compact td.content div {
-}
-
-div.schedule-compact td.content td {
- background-color: rgb(255,255,255);
- color: rgb(0,0,0);
- text-align: left;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
- padding: 1px;
- border-color: rgb(255,255,255);
- border-width: 1.0px;
- border-style: solid;
-}
-
-div.schedule-compact a {
- text-decoration: none;
- color: rgb(0,0,0);
- text-align: left;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
-}
-
-div.schedule-compact td.content td.selected {
- background-color: rgb(1,2,217);
- border-color: rgb(1,2,217);
- color: rgb(255,255,255);
-}
-
-div.schedule-compact td.inactive-day td.content {
- background-color: rgb(219,216,209);
- visibility: visible;
-}
-
-div.schedule-compact td.inactive-day td.header {
- background-color: rgb(219,216,209);
- visibility: visible;
-}
-
-
-
-/* Part III: Planner renderer */
-div.planner {
- border-style: solid;
- border-width: 1px;
- border-color: rgb(128,128,128);
- position: relative;
- width: 100%;
- left: 0px;
-}
-
-div.planner table.background {
- border-color: rgb(128,128,128);
-}
-
-div.planner div.background td.gutter, div.planner div.foreground td.gutter {
- color: rgb(0,0,0);
- text-align: right;
-}
-
-div.planner div.background td.gutter {
- background-color: rgb(219,216,209);
-}
-
-
-div.planner div.background td.header, div.planner div.foreground td.header, div.planner div.background td.hours {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: center;
- vertical-align: middle;
- border-style: none;
- border-width: 0px;
-}
-
-div.planner div.background td.hours {
- border-color: rgb(255,255,255);
- background-color: rgb(219,216,209);
-}
-
-div.planner div.foreground td.hours {
- text-align: center;
- vertical-align: middle;
-}
-
-div.planner div.background td.header {
- background-color: rgb(219,216,209);
-}
-
-div.planner div.background div.header span.date {
- text-align: left;
- font-weight: bold;
- vertical-align: top;
-}
-
-div.planner div.background div.header span.holiday {
- text-align: left;
- vertical-align: top;
-}
-
-div.planner div.background div.header span.hours {
- text-align: left;
- vertical-align: middle;
-}
-
-div.planner td.gutter span.title {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- vertical-align: middle;
- padding: 1px;
- font-size: 10px;
- font-weight: bold;
-}
-
-div.planner td.even, div.planner td.uneven, div.planner td.free {
- border-color : rgb(255,255,255);
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- text-align: center;
-}
-
-div.planner td.uneven {
- background-color: rgb(255,255,143);
- color: rgb(255,255,143);
-}
-
-div.planner td.even {
- background-color: rgb(255,255,143);
- color: rgb(255,255,143);
-}
-
-div.planner td.free {
- background-color: rgb(239,240,112);
- color: rgb(239,240,112);
-}
-
-div.planner table.foreground td.row {
- border-color: rgb(255,255,255);
-}
-
-div.planner div.row div.entry {
- background-color: rgb(1,2,255);
- vertical-align: middle;
- text-decoration: none;
-}
-
-
-
-/* PART IV: Tooltips */
-div.domTT {
- border: 1px solid #333366;
- background-color: #333366;
-}
-div.domTT .caption {
- font-family: Verdana, Helvetica;
- font-size: 10px;
- font-weight: bold;
- color: #FFFFFF;
-}
-div.domTT .contents {
- font-size: 10px;
- font-family: Verdana, Helvetica;
- padding: 2px;
- background-color: #F1F1FF;
-}
+/* This is the outlookxp theme for the schedule and planner components */
+
+/* PART I: Detailed Day Renderer */
+
+div.schedule-detailed {
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgb(128,128,128);
+ position: relative;
+ width: 100%;
+ left: 0px;
+ right: 0px;
+}
+
+div.schedule-detailed table.background {
+ background-color: rgb(128,128,128);
+}
+
+div.schedule-detailed td.gutter {
+ background-color: rgb(219,216,209);
+ color: rgb(0,0,0);
+ text-align: right;
+ vertical-align: top;
+}
+
+div.schedule-detailed table.background td.header, div.schedule-detailed table.foreground td.header {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: center;
+ vertical-align: middle;
+}
+
+div.schedule-detailed table.background td.header {
+ background-color: rgb(219,216,209);
+}
+
+div.schedule-detailed td.header span.date, div.schedule-detailed td.header span.holiday {
+ text-align: center;
+}
+
+div.schedule-detailed td.header span.date {
+}
+
+div.schedule-detailed td.header span.holiday {
+}
+
+div.schedule-detailed td.gutter span.hours {
+ font-size: 26px;
+}
+
+div.schedule-detailed td.gutter span.minutes {
+ font-size: 13px;
+}
+
+div.schedule-detailed table.background td.even,
+div.schedule-detailed table.background td.uneven,
+div.schedule-detailed table.background td.free {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ text-align: center;
+}
+
+div.schedule-detailed table.background td.uneven {
+ background-color: rgb(255,255,143);
+ color: rgb(255,255,143);
+}
+
+div.schedule-detailed table.background td.even {
+ background-color: rgb(255,255,143);
+ color: rgb(255,255,143);
+}
+
+div.schedule-detailed table.background td.free {
+ background-color: rgb(239,240,112);
+ color: rgb(239,240,112);
+}
+
+div.schedule-detailed .entry, div.schedule-detailed div.entry-selected {
+ background-color: rgb(255,255,255);
+ text-align: center;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+ vertical-align: middle;
+ border-color: rgb(0,0,0);
+ text-decoration: none;
+}
+
+div.schedule-detailed a.entry:hover,
+div.schedule-detailed div.entry-selected {
+ border-color: rgb(1,2,217);
+}
+
+div.schedule-detailed div.entry-selected div.text {
+ border-left: solid rgb(1,2,217) 5.0px;
+}
+
+div.schedule-detailed .entry span.subtitle,
+div.schedule-detailed .entry-selected span.subtitle {
+ font-style: italic;
+ font-size: 9px;
+}
+
+div.schedule-detailed .entry span.title,
+div.schedule-detailed .entry-selected span.title {
+ font-size: 11px;
+}
+
+
+
+/* PART II: Compact Renderer */
+div.schedule-compact {
+ position: relative;
+ width: 100%;
+ left: 0px;
+ background-color: rgb(128,128,128);
+}
+
+div.schedule-compact table.day {
+ background-color: rgb(255,255,255);
+}
+
+div.schedule-compact table.day td.header {
+ background-color: rgb(219,216,209);
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: left;
+ vertical-align: middle;
+}
+
+div.schedule-compact td.content div {
+}
+
+div.schedule-compact td.content td {
+ background-color: rgb(255,255,255);
+ color: rgb(0,0,0);
+ text-align: left;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+ padding: 1px;
+ border-color: rgb(255,255,255);
+ border-width: 1.0px;
+ border-style: solid;
+}
+
+div.schedule-compact a {
+ text-decoration: none;
+ color: rgb(0,0,0);
+ text-align: left;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+}
+
+div.schedule-compact td.content td.selected {
+ background-color: rgb(1,2,217);
+ border-color: rgb(1,2,217);
+ color: rgb(255,255,255);
+}
+
+div.schedule-compact td.inactive-day td.content {
+ background-color: rgb(219,216,209);
+ visibility: visible;
+}
+
+div.schedule-compact td.inactive-day td.header {
+ background-color: rgb(219,216,209);
+ visibility: visible;
+}
+
+
+
+/* Part III: Planner renderer */
+div.planner {
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgb(128,128,128);
+ position: relative;
+ width: 100%;
+ left: 0px;
+}
+
+div.planner table.background {
+ border-color: rgb(128,128,128);
+}
+
+div.planner div.background td.gutter, div.planner div.foreground td.gutter {
+ color: rgb(0,0,0);
+ text-align: right;
+}
+
+div.planner div.background td.gutter {
+ background-color: rgb(219,216,209);
+}
+
+
+div.planner div.background td.header, div.planner div.foreground td.header, div.planner div.background td.hours {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: center;
+ vertical-align: middle;
+ border-style: none;
+ border-width: 0px;
+}
+
+div.planner div.background td.hours {
+ border-color: rgb(255,255,255);
+ background-color: rgb(219,216,209);
+}
+
+div.planner div.foreground td.hours {
+ text-align: center;
+ vertical-align: middle;
+}
+
+div.planner div.background td.header {
+ background-color: rgb(219,216,209);
+}
+
+div.planner div.background div.header span.date {
+ text-align: left;
+ font-weight: bold;
+ vertical-align: top;
+}
+
+div.planner div.background div.header span.holiday {
+ text-align: left;
+ vertical-align: top;
+}
+
+div.planner div.background div.header span.hours {
+ text-align: left;
+ vertical-align: middle;
+}
+
+div.planner td.gutter span.title {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ vertical-align: middle;
+ padding: 1px;
+ font-size: 10px;
+ font-weight: bold;
+}
+
+div.planner td.even, div.planner td.uneven, div.planner td.free {
+ border-color : rgb(255,255,255);
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ text-align: center;
+}
+
+div.planner td.uneven {
+ background-color: rgb(255,255,143);
+ color: rgb(255,255,143);
+}
+
+div.planner td.even {
+ background-color: rgb(255,255,143);
+ color: rgb(255,255,143);
+}
+
+div.planner td.free {
+ background-color: rgb(239,240,112);
+ color: rgb(239,240,112);
+}
+
+div.planner table.foreground td.row {
+ border-color: rgb(255,255,255);
+}
+
+div.planner div.row div.entry {
+ background-color: rgb(1,2,255);
+ vertical-align: middle;
+ text-decoration: none;
+}
+
+
+
+/* PART IV: Tooltips */
+div.domTT {
+ border: 1px solid #333366;
+ background-color: #333366;
+}
+div.domTT .caption {
+ font-family: Verdana, Helvetica;
+ font-size: 10px;
+ font-weight: bold;
+ color: #FFFFFF;
+}
+div.domTT .contents {
+ font-size: 10px;
+ font-family: Verdana, Helvetica;
+ padding: 2px;
+ background-color: #F1F1FF;
+}
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/outlookxp.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/outlookxp.css
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/schedule.css
URL: http://svn.apache.org/viewcvs/myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/schedule.css?rev=349804&r1=349803&r2=349804&view=diff
==============================================================================
--- myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/schedule.css (original)
+++ myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/schedule.css Tue Nov 29 12:12:53 2005
@@ -1,294 +1,294 @@
-/* This is the default theme for the schedule and planner components */
-
-/* PART I: Detailed Day Renderer */
-
-div.schedule-detailed {
- border-style: solid;
- border-width: 1px;
- border-color: rgb(163,177,140);
- position: relative;
- width: 100%;
- left: 0px;
- right: 0px;
-}
-
-div.schedule-detailed table.background {
- background-color: rgb(255,255,255);
-}
-
-div.schedule-detailed td.gutter {
- background-color: rgb(205,214,198);
- color: rgb(0,0,0);
- text-align: right;
- vertical-align: top;
-}
-
-div.schedule-detailed table.background td.header, div.schedule-detailed table.foreground td.header {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: center;
- vertical-align: middle;
-}
-
-div.schedule-detailed table.background td.header {
- background-color: rgb(205,214,198);
-}
-
-div.schedule-detailed td.header span.date, div.schedule-detailed td.header span.holiday {
- text-align: center;
-}
-
-div.schedule-detailed td.header span.date {
-}
-
-div.schedule-detailed td.header span.holiday {
-}
-
-div.schedule-detailed td.gutter span.hours {
- font-size: 26px;
-}
-
-div.schedule-detailed td.gutter span.minutes {
- font-size: 13px;
-}
-
-div.schedule-detailed table.background td.even,
-div.schedule-detailed table.background td.uneven,
-div.schedule-detailed table.background td.free {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- text-align: center;
-}
-
-div.schedule-detailed table.background td.uneven {
- background-color: rgb(240,244,233);
- color: rgb(240,244,233);
-}
-
-div.schedule-detailed table.background td.even {
- background-color: rgb(235,239,228);
- color: rgb(235,239,228);
-}
-
-div.schedule-detailed table.background td.free {
- background-color: rgb(215,219,208);
- color: rgb(215,219,208);
-}
-
-div.schedule-detailed .entry, div.schedule-detailed div.entry-selected {
- background-color: rgb(255,255,255);
- text-align: center;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
- vertical-align: middle;
- border-color: rgb(0,0,0);
- text-decoration: none;
-}
-
-div.schedule-detailed a.entry:hover,
-div.schedule-detailed div.entry-selected {
- border-color: rgb(153,204,51);
-}
-
-div.schedule-detailed div.entry-selected div.text {
- border-left: solid rgb(153,204,51) 5.0px;
-}
-
-div.schedule-detailed .entry span.subtitle,
-div.schedule-detailed .entry-selected span.subtitle {
- font-style: italic;
- font-size: 9px;
-}
-
-div.schedule-detailed .entry span.title,
-div.schedule-detailed .entry-selected span.title {
- font-size: 11px;
-}
-
-
-
-/* PART II: Compact Renderer */
-div.schedule-compact {
- position: relative;
- width: 100%;
- left: 0px;
- background-color: rgb(163,177,140);
-}
-
-div.schedule-compact table.day {
- background-color: rgb(255,255,255);
-}
-
-div.schedule-compact table.day td.header {
- background-color: rgb(205,214,198);
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: left;
- vertical-align: middle;
-}
-
-div.schedule-compact td.content div {
-}
-
-div.schedule-compact td.content td {
- background-color: rgb(255,255,255);
- color: rgb(0,0,0);
- text-align: left;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
- padding: 1px;
- border-color: rgb(255,255,255);
- border-width: 1.0px;
- border-style: solid;
-}
-
-div.schedule-compact a {
- text-decoration: none;
- color: rgb(0,0,0);
- text-align: left;
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 11px;
-}
-
-div.schedule-compact td.content td.selected {
- background-color: rgb(153,204,51);
- border-color: rgb(153,204,51);
-}
-
-div.schedule-compact td.inactive-day td.content {
- background-color: rgb(205,214,198);
- visibility: visible;
-}
-
-div.schedule-compact td.inactive-day td.header {
- background-color: rgb(205,214,198);
- visibility: visible;
-}
-
-
-
-/* Part III: Planner renderer */
-div.planner {
- border-style: solid;
- border-width: 1px;
- border-color: rgb(163,177,140);
- position: relative;
- width: 100%;
- left: 0px;
-}
-
-div.planner table.background {
- background-color: rgb(255,255,255);
-}
-
-div.planner div.background td.gutter, div.planner div.foreground td.gutter {
- color: rgb(0,0,0);
- text-align: right;
-}
-
-div.planner div.background td.gutter {
- background-color: rgb(205,214,198);
-}
-
-
-div.planner div.background td.header, div.planner div.foreground td.header, div.planner div.background td.hours {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- color: rgb(0,0,0);
- text-align: center;
- vertical-align: middle;
- border-style: none;
- border-width: 0px;
-}
-
-div.planner div.background td.hours {
- border-color: rgb(255,255,255);
- background-color: rgb(205,214,198);
-}
-
-div.planner div.foreground td.hours {
- text-align: center;
- vertical-align: middle;
-}
-
-div.planner div.background td.header {
- background-color: rgb(205,214,198);
-}
-
-div.planner div.background div.header span.date {
- text-align: left;
- font-weight: bold;
- vertical-align: top;
-}
-
-div.planner div.background div.header span.holiday {
- text-align: left;
- vertical-align: top;
-}
-
-div.planner div.background div.header span.hours {
- text-align: left;
- vertical-align: middle;
-}
-
-div.planner td.gutter span.title {
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- vertical-align: middle;
- padding: 1px;
- font-size: 10px;
- font-weight: bold;
-}
-
-div.planner td.even, div.planner td.uneven, div.planner td.free {
- border-color : rgb(255,255,255);
- font-family: Verdana, Arial, Helvetica, Sans-Serif;
- font-size: 10px;
- text-align: center;
-}
-
-div.planner td.uneven {
- background-color: rgb(240,244,233);
- color: rgb(240,244,233);
-}
-
-div.planner td.even {
- background-color: rgb(235,239,228);
- color: rgb(235,239,228);
-}
-
-div.planner td.free {
- background-color: rgb(215,219,208);
- color: rgb(215,219,208);
-}
-
-div.planner table.foreground td.row {
- border-color: rgb(255,255,255);
-}
-
-div.planner div.row div.entry {
- background-color: rgb(0,0,255);
- vertical-align: middle;
- text-decoration: none;
-}
-
-
-
-/* PART IV: Tooltips */
-div.domTT {
- border: 1px solid #333366;
- background-color: #333366;
-}
-div.domTT .caption {
- font-family: Verdana, Helvetica;
- font-size: 10px;
- font-weight: bold;
- color: #FFFFFF;
-}
-div.domTT .contents {
- font-size: 10px;
- font-family: Verdana, Helvetica;
- padding: 2px;
- background-color: #F1F1FF;
-}
+/* This is the default theme for the schedule and planner components */
+
+/* PART I: Detailed Day Renderer */
+
+div.schedule-detailed {
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgb(163,177,140);
+ position: relative;
+ width: 100%;
+ left: 0px;
+ right: 0px;
+}
+
+div.schedule-detailed table.background {
+ background-color: rgb(255,255,255);
+}
+
+div.schedule-detailed td.gutter {
+ background-color: rgb(205,214,198);
+ color: rgb(0,0,0);
+ text-align: right;
+ vertical-align: top;
+}
+
+div.schedule-detailed table.background td.header, div.schedule-detailed table.foreground td.header {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: center;
+ vertical-align: middle;
+}
+
+div.schedule-detailed table.background td.header {
+ background-color: rgb(205,214,198);
+}
+
+div.schedule-detailed td.header span.date, div.schedule-detailed td.header span.holiday {
+ text-align: center;
+}
+
+div.schedule-detailed td.header span.date {
+}
+
+div.schedule-detailed td.header span.holiday {
+}
+
+div.schedule-detailed td.gutter span.hours {
+ font-size: 26px;
+}
+
+div.schedule-detailed td.gutter span.minutes {
+ font-size: 13px;
+}
+
+div.schedule-detailed table.background td.even,
+div.schedule-detailed table.background td.uneven,
+div.schedule-detailed table.background td.free {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ text-align: center;
+}
+
+div.schedule-detailed table.background td.uneven {
+ background-color: rgb(240,244,233);
+ color: rgb(240,244,233);
+}
+
+div.schedule-detailed table.background td.even {
+ background-color: rgb(235,239,228);
+ color: rgb(235,239,228);
+}
+
+div.schedule-detailed table.background td.free {
+ background-color: rgb(215,219,208);
+ color: rgb(215,219,208);
+}
+
+div.schedule-detailed .entry, div.schedule-detailed div.entry-selected {
+ background-color: rgb(255,255,255);
+ text-align: center;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+ vertical-align: middle;
+ border-color: rgb(0,0,0);
+ text-decoration: none;
+}
+
+div.schedule-detailed a.entry:hover,
+div.schedule-detailed div.entry-selected {
+ border-color: rgb(153,204,51);
+}
+
+div.schedule-detailed div.entry-selected div.text {
+ border-left: solid rgb(153,204,51) 5.0px;
+}
+
+div.schedule-detailed .entry span.subtitle,
+div.schedule-detailed .entry-selected span.subtitle {
+ font-style: italic;
+ font-size: 9px;
+}
+
+div.schedule-detailed .entry span.title,
+div.schedule-detailed .entry-selected span.title {
+ font-size: 11px;
+}
+
+
+
+/* PART II: Compact Renderer */
+div.schedule-compact {
+ position: relative;
+ width: 100%;
+ left: 0px;
+ background-color: rgb(163,177,140);
+}
+
+div.schedule-compact table.day {
+ background-color: rgb(255,255,255);
+}
+
+div.schedule-compact table.day td.header {
+ background-color: rgb(205,214,198);
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: left;
+ vertical-align: middle;
+}
+
+div.schedule-compact td.content div {
+}
+
+div.schedule-compact td.content td {
+ background-color: rgb(255,255,255);
+ color: rgb(0,0,0);
+ text-align: left;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+ padding: 1px;
+ border-color: rgb(255,255,255);
+ border-width: 1.0px;
+ border-style: solid;
+}
+
+div.schedule-compact a {
+ text-decoration: none;
+ color: rgb(0,0,0);
+ text-align: left;
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11px;
+}
+
+div.schedule-compact td.content td.selected {
+ background-color: rgb(153,204,51);
+ border-color: rgb(153,204,51);
+}
+
+div.schedule-compact td.inactive-day td.content {
+ background-color: rgb(205,214,198);
+ visibility: visible;
+}
+
+div.schedule-compact td.inactive-day td.header {
+ background-color: rgb(205,214,198);
+ visibility: visible;
+}
+
+
+
+/* Part III: Planner renderer */
+div.planner {
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgb(163,177,140);
+ position: relative;
+ width: 100%;
+ left: 0px;
+}
+
+div.planner table.background {
+ background-color: rgb(255,255,255);
+}
+
+div.planner div.background td.gutter, div.planner div.foreground td.gutter {
+ color: rgb(0,0,0);
+ text-align: right;
+}
+
+div.planner div.background td.gutter {
+ background-color: rgb(205,214,198);
+}
+
+
+div.planner div.background td.header, div.planner div.foreground td.header, div.planner div.background td.hours {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ color: rgb(0,0,0);
+ text-align: center;
+ vertical-align: middle;
+ border-style: none;
+ border-width: 0px;
+}
+
+div.planner div.background td.hours {
+ border-color: rgb(255,255,255);
+ background-color: rgb(205,214,198);
+}
+
+div.planner div.foreground td.hours {
+ text-align: center;
+ vertical-align: middle;
+}
+
+div.planner div.background td.header {
+ background-color: rgb(205,214,198);
+}
+
+div.planner div.background div.header span.date {
+ text-align: left;
+ font-weight: bold;
+ vertical-align: top;
+}
+
+div.planner div.background div.header span.holiday {
+ text-align: left;
+ vertical-align: top;
+}
+
+div.planner div.background div.header span.hours {
+ text-align: left;
+ vertical-align: middle;
+}
+
+div.planner td.gutter span.title {
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ vertical-align: middle;
+ padding: 1px;
+ font-size: 10px;
+ font-weight: bold;
+}
+
+div.planner td.even, div.planner td.uneven, div.planner td.free {
+ border-color : rgb(255,255,255);
+ font-family: Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 10px;
+ text-align: center;
+}
+
+div.planner td.uneven {
+ background-color: rgb(240,244,233);
+ color: rgb(240,244,233);
+}
+
+div.planner td.even {
+ background-color: rgb(235,239,228);
+ color: rgb(235,239,228);
+}
+
+div.planner td.free {
+ background-color: rgb(215,219,208);
+ color: rgb(215,219,208);
+}
+
+div.planner table.foreground td.row {
+ border-color: rgb(255,255,255);
+}
+
+div.planner div.row div.entry {
+ background-color: rgb(0,0,255);
+ vertical-align: middle;
+ text-decoration: none;
+}
+
+
+
+/* PART IV: Tooltips */
+div.domTT {
+ border: 1px solid #333366;
+ background-color: #333366;
+}
+div.domTT .caption {
+ font-family: Verdana, Helvetica;
+ font-size: 10px;
+ font-weight: bold;
+ color: #FFFFFF;
+}
+div.domTT .contents {
+ font-size: 10px;
+ font-family: Verdana, Helvetica;
+ padding: 2px;
+ background-color: #F1F1FF;
+}
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/schedule.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/css/schedule.css
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/javascript/alphaAPI.js
URL: http://svn.apache.org/viewcvs/myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/javascript/alphaAPI.js?rev=349804&r1=349803&r2=349804&view=diff
==============================================================================
--- myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/javascript/alphaAPI.js (original)
+++ myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/javascript/alphaAPI.js Tue Nov 29 12:12:53 2005
@@ -1,294 +1,294 @@
-/** $Id: alphaAPI.js 1940 2005-07-16 23:23:54Z dallen $ */
-// {{{ license
-
-/*
- * Copyright 2002-2005 Dan Allen, Mojavelinux.com (dan.allen@mojavelinux.com)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-// }}}
-// {{{ intro
-
-/**
- * Title: alphaAPI
- * Original Author: chrisken
- * Original Url: http://www.cs.utexas.edu/users/chrisken/alphaapi.html
- *
- * Modified by Dan Allen <da...@mojavelinux.com>
- * Note: When the stopAlpha is reached and it is equal to 0, the element's
- * style is set to display: none to fix a bug in domTT
- */
-
-// }}}
-function alphaAPI(element, fadeInDelay, fadeOutDelay, startAlpha, stopAlpha, offsetTime, deltaAlpha)
-{
- // {{{ properties
-
- this.element = typeof(element) == 'object' ? element : document.getElementById(element);
- this.fadeInDelay = fadeInDelay || 40;
- this.fadeOutDelay = fadeOutDelay || this.fadeInDelay;
- this.startAlpha = startAlpha;
- this.stopAlpha = stopAlpha;
- // make sure a filter exists so an error is not thrown
- if (typeof(this.element.filters) == 'object')
- {
- if (typeof(this.element.filters.alpha) == 'undefined')
- {
- this.element.style.filter += 'alpha(opacity=100)';
- }
- }
-
- this.offsetTime = (offsetTime || 0) * 1000;
- this.deltaAlpha = deltaAlpha || 10;
- this.timer = null;
- this.paused = false;
- this.started = false;
- this.cycle = false;
- this.command = function() {};
- return this;
-
- // }}}
-}
-
-// use prototype methods to save memory
-// {{{ repeat()
-
-alphaAPI.prototype.repeat = function(repeat)
-{
- this.cycle = repeat ? true : false;
-}
-
-// }}}
-// {{{ setAlphaBy()
-
-alphaAPI.prototype.setAlphaBy = function(deltaAlpha)
-{
- this.setAlpha(this.getAlpha() + deltaAlpha);
-}
-
-// }}}
-// {{{ toggle()
-
-alphaAPI.prototype.toggle = function()
-{
- if (!this.started)
- {
- this.start();
- }
- else if (this.paused)
- {
- this.unpause();
- }
- else
- {
- this.pause();
- }
-}
-
-// }}}
-// {{{ timeout()
-
-alphaAPI.prototype.timeout = function(command, delay)
-{
- this.command = command;
- this.timer = setTimeout(command, delay);
-}
-
-// }}}
-// {{{ setAlpha()
-
-alphaAPI.prototype.setAlpha = function(opacity)
-{
- if (typeof(this.element.filters) == 'object')
- {
- this.element.filters.alpha.opacity = opacity;
- }
- else if (this.element.style.setProperty)
- {
- this.element.style.setProperty('opacity', opacity / 100, '');
- // handle the case of mozilla < 1.7
- this.element.style.setProperty('-moz-opacity', opacity / 100, '');
- // handle the case of old kthml
- this.element.style.setProperty('-khtml-opacity', opacity / 100, '');
- }
-}
-
-// }}}
-// {{{ getAlpha()
-
-alphaAPI.prototype.getAlpha = function()
-{
- if (typeof(this.element.filters) == 'object')
- {
- return this.element.filters.alpha.opacity;
- }
- else if (this.element.style.getPropertyValue)
- {
- var opacityValue = this.element.style.getPropertyValue('opacity');
- // handle the case of mozilla < 1.7
- if (opacityValue == '')
- {
- opacityValue = this.element.style.getPropertyValue('-moz-opacity');
- }
-
- // handle the case of old khtml
- if (opacityValue == '')
- {
- opacityValue = this.element.style.getPropertyValue('-khtml-opacity');
- }
-
- return opacityValue * 100;
- }
-
- return 100;
-}
-
-// }}}
-// {{{ start()
-
-alphaAPI.prototype.start = function()
-{
- this.started = true;
- this.setAlpha(this.startAlpha);
- // determine direction
- if (this.startAlpha > this.stopAlpha)
- {
- var instance = this;
- this.timeout(function() { instance.fadeOut(); }, this.offsetTime);
- }
- else
- {
- var instance = this;
- this.timeout(function() { instance.fadeIn(); }, this.offsetTime);
- }
-}
-
-// }}}
-// {{{ stop()
-
-alphaAPI.prototype.stop = function()
-{
- this.started = false;
- this.setAlpha(this.stopAlpha);
- if (this.stopAlpha == 0)
- {
- this.element.style.display = 'none';
- }
-
- this.stopTimer();
- this.command = function() {};
-}
-
-// }}}
-// {{{ reset()
-
-alphaAPI.prototype.reset = function()
-{
- this.started = false;
- this.setAlpha(this.startAlpha);
- this.stopTimer();
- this.command = function() {};
-}
-
-// }}}
-// {{{ pause()
-
-alphaAPI.prototype.pause = function()
-{
- this.paused = true;
- this.stopTimer();
-}
-
-// }}}
-// {{{ unpause()
-
-alphaAPI.prototype.unpause = function()
-{
- this.paused = false;
- if (!this.started)
- {
- this.start();
- }
- else
- {
- this.command();
- }
-}
-
-// }}}
-// {{{ stopTimer()
-
-alphaAPI.prototype.stopTimer = function()
-{
- clearTimeout(this.timer);
- this.timer = null;
-}
-
-// }}}
-// {{{ fadeOut()
-
-alphaAPI.prototype.fadeOut = function()
-{
- this.stopTimer();
- if (this.getAlpha() > this.stopAlpha)
- {
- this.setAlphaBy(-1 * this.deltaAlpha);
- var instance = this;
- this.timeout(function() { instance.fadeOut(); }, this.fadeOutDelay);
- }
- else
- {
- if (this.cycle)
- {
- var instance = this;
- this.timeout(function() { instance.fadeIn(); }, this.fadeInDelay);
- }
- else
- {
- if (this.stopAlpha == 0)
- {
- this.element.style.display = 'none';
- }
- this.started = false;
- }
- }
-}
-
-// }}}
-// {{{ fadeIn()
-
-alphaAPI.prototype.fadeIn = function()
-{
- this.stopTimer();
- if (this.getAlpha() < this.startAlpha)
- {
- this.setAlphaBy(this.deltaAlpha);
- var instance = this;
- this.timeout(function() { instance.fadeIn(); }, this.fadeInDelay);
- }
- else
- {
- if (this.cycle)
- {
- var instance = this;
- this.timeout(function() { instance.fadeOut(); }, this.fadeOutDelay);
- }
- else
- {
- this.started = false;
- }
- }
-}
-
-// }}}
+/** $Id$ */
+// {{{ license
+
+/*
+ * Copyright 2002-2005 Dan Allen, Mojavelinux.com (dan.allen@mojavelinux.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+// }}}
+// {{{ intro
+
+/**
+ * Title: alphaAPI
+ * Original Author: chrisken
+ * Original Url: http://www.cs.utexas.edu/users/chrisken/alphaapi.html
+ *
+ * Modified by Dan Allen <da...@mojavelinux.com>
+ * Note: When the stopAlpha is reached and it is equal to 0, the element's
+ * style is set to display: none to fix a bug in domTT
+ */
+
+// }}}
+function alphaAPI(element, fadeInDelay, fadeOutDelay, startAlpha, stopAlpha, offsetTime, deltaAlpha)
+{
+ // {{{ properties
+
+ this.element = typeof(element) == 'object' ? element : document.getElementById(element);
+ this.fadeInDelay = fadeInDelay || 40;
+ this.fadeOutDelay = fadeOutDelay || this.fadeInDelay;
+ this.startAlpha = startAlpha;
+ this.stopAlpha = stopAlpha;
+ // make sure a filter exists so an error is not thrown
+ if (typeof(this.element.filters) == 'object')
+ {
+ if (typeof(this.element.filters.alpha) == 'undefined')
+ {
+ this.element.style.filter += 'alpha(opacity=100)';
+ }
+ }
+
+ this.offsetTime = (offsetTime || 0) * 1000;
+ this.deltaAlpha = deltaAlpha || 10;
+ this.timer = null;
+ this.paused = false;
+ this.started = false;
+ this.cycle = false;
+ this.command = function() {};
+ return this;
+
+ // }}}
+}
+
+// use prototype methods to save memory
+// {{{ repeat()
+
+alphaAPI.prototype.repeat = function(repeat)
+{
+ this.cycle = repeat ? true : false;
+}
+
+// }}}
+// {{{ setAlphaBy()
+
+alphaAPI.prototype.setAlphaBy = function(deltaAlpha)
+{
+ this.setAlpha(this.getAlpha() + deltaAlpha);
+}
+
+// }}}
+// {{{ toggle()
+
+alphaAPI.prototype.toggle = function()
+{
+ if (!this.started)
+ {
+ this.start();
+ }
+ else if (this.paused)
+ {
+ this.unpause();
+ }
+ else
+ {
+ this.pause();
+ }
+}
+
+// }}}
+// {{{ timeout()
+
+alphaAPI.prototype.timeout = function(command, delay)
+{
+ this.command = command;
+ this.timer = setTimeout(command, delay);
+}
+
+// }}}
+// {{{ setAlpha()
+
+alphaAPI.prototype.setAlpha = function(opacity)
+{
+ if (typeof(this.element.filters) == 'object')
+ {
+ this.element.filters.alpha.opacity = opacity;
+ }
+ else if (this.element.style.setProperty)
+ {
+ this.element.style.setProperty('opacity', opacity / 100, '');
+ // handle the case of mozilla < 1.7
+ this.element.style.setProperty('-moz-opacity', opacity / 100, '');
+ // handle the case of old kthml
+ this.element.style.setProperty('-khtml-opacity', opacity / 100, '');
+ }
+}
+
+// }}}
+// {{{ getAlpha()
+
+alphaAPI.prototype.getAlpha = function()
+{
+ if (typeof(this.element.filters) == 'object')
+ {
+ return this.element.filters.alpha.opacity;
+ }
+ else if (this.element.style.getPropertyValue)
+ {
+ var opacityValue = this.element.style.getPropertyValue('opacity');
+ // handle the case of mozilla < 1.7
+ if (opacityValue == '')
+ {
+ opacityValue = this.element.style.getPropertyValue('-moz-opacity');
+ }
+
+ // handle the case of old khtml
+ if (opacityValue == '')
+ {
+ opacityValue = this.element.style.getPropertyValue('-khtml-opacity');
+ }
+
+ return opacityValue * 100;
+ }
+
+ return 100;
+}
+
+// }}}
+// {{{ start()
+
+alphaAPI.prototype.start = function()
+{
+ this.started = true;
+ this.setAlpha(this.startAlpha);
+ // determine direction
+ if (this.startAlpha > this.stopAlpha)
+ {
+ var instance = this;
+ this.timeout(function() { instance.fadeOut(); }, this.offsetTime);
+ }
+ else
+ {
+ var instance = this;
+ this.timeout(function() { instance.fadeIn(); }, this.offsetTime);
+ }
+}
+
+// }}}
+// {{{ stop()
+
+alphaAPI.prototype.stop = function()
+{
+ this.started = false;
+ this.setAlpha(this.stopAlpha);
+ if (this.stopAlpha == 0)
+ {
+ this.element.style.display = 'none';
+ }
+
+ this.stopTimer();
+ this.command = function() {};
+}
+
+// }}}
+// {{{ reset()
+
+alphaAPI.prototype.reset = function()
+{
+ this.started = false;
+ this.setAlpha(this.startAlpha);
+ this.stopTimer();
+ this.command = function() {};
+}
+
+// }}}
+// {{{ pause()
+
+alphaAPI.prototype.pause = function()
+{
+ this.paused = true;
+ this.stopTimer();
+}
+
+// }}}
+// {{{ unpause()
+
+alphaAPI.prototype.unpause = function()
+{
+ this.paused = false;
+ if (!this.started)
+ {
+ this.start();
+ }
+ else
+ {
+ this.command();
+ }
+}
+
+// }}}
+// {{{ stopTimer()
+
+alphaAPI.prototype.stopTimer = function()
+{
+ clearTimeout(this.timer);
+ this.timer = null;
+}
+
+// }}}
+// {{{ fadeOut()
+
+alphaAPI.prototype.fadeOut = function()
+{
+ this.stopTimer();
+ if (this.getAlpha() > this.stopAlpha)
+ {
+ this.setAlphaBy(-1 * this.deltaAlpha);
+ var instance = this;
+ this.timeout(function() { instance.fadeOut(); }, this.fadeOutDelay);
+ }
+ else
+ {
+ if (this.cycle)
+ {
+ var instance = this;
+ this.timeout(function() { instance.fadeIn(); }, this.fadeInDelay);
+ }
+ else
+ {
+ if (this.stopAlpha == 0)
+ {
+ this.element.style.display = 'none';
+ }
+ this.started = false;
+ }
+ }
+}
+
+// }}}
+// {{{ fadeIn()
+
+alphaAPI.prototype.fadeIn = function()
+{
+ this.stopTimer();
+ if (this.getAlpha() < this.startAlpha)
+ {
+ this.setAlphaBy(this.deltaAlpha);
+ var instance = this;
+ this.timeout(function() { instance.fadeIn(); }, this.fadeInDelay);
+ }
+ else
+ {
+ if (this.cycle)
+ {
+ var instance = this;
+ this.timeout(function() { instance.fadeOut(); }, this.fadeOutDelay);
+ }
+ else
+ {
+ this.started = false;
+ }
+ }
+}
+
+// }}}
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/javascript/alphaAPI.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/sandbox/trunk/src/java/org/apache/myfaces/custom/schedule/resource/javascript/alphaAPI.js
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL