зеркало из https://github.com/mozilla/pjs.git
Importing changes from OEone calendar, adding in UI for adding contacts to events.
This commit is contained in:
Родитель
f3d2f945d0
Коммит
77dd2d6d53
|
@ -466,10 +466,13 @@ CalendarEventDataSource.prototype.getEventsWithAlarms = function()
|
|||
CalendarEventDataSource.prototype.getAllFutureEvents = function()
|
||||
{
|
||||
var Today = new Date();
|
||||
|
||||
var Infinity = new Date( 9999, 31, 12 );
|
||||
|
||||
var eventList = this.gICalLib.getFirstEventsForRange( Today, Infinity );
|
||||
//do this to allow all day events to show up all day long
|
||||
var Start = new Date( Today.getFullYear(), Today.getDay(), Today.getMonth(), 0, 0, 0 );
|
||||
|
||||
var Infinity = new Date( Today.getFullYear()+100, 31, 11 );
|
||||
|
||||
var eventList = this.gICalLib.getFirstEventsForRange( Start, Infinity );
|
||||
|
||||
var eventArray = new Array();
|
||||
|
||||
|
@ -514,22 +517,6 @@ CalendarEventDataSource.prototype.makeNewEvent = function( date )
|
|||
/* TO DO STUFF */
|
||||
CalendarEventDataSource.prototype.getAllToDos = function()
|
||||
{
|
||||
if( document.getElementById( "only-completed-checkbox" ) )
|
||||
var Checked = document.getElementById( "only-completed-checkbox" ).checked;
|
||||
else
|
||||
var Checked = false;
|
||||
|
||||
if( Checked )
|
||||
{
|
||||
var now = new Date();
|
||||
|
||||
this.gICalLib.filter.completed.setTime( now );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.gICalLib.resetFilter()
|
||||
}
|
||||
|
||||
var eventList = this.gICalLib.getAllTodos( );
|
||||
|
||||
var eventArray = new Array();
|
||||
|
@ -710,7 +697,6 @@ CalendarAlarmObserver.prototype.fireAlarm = function( calendarEvent )
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
if( gCalendarWindow.calendarPreferences.getPref( "alarmsplaysound" ) )
|
||||
{
|
||||
playSound();
|
||||
|
|
|
@ -129,6 +129,7 @@ function loadCalendarEventDialog()
|
|||
|
||||
var titleString = titleDataItem.getAttribute( "value" );
|
||||
document.getElementById("calendar-new-eventwindow").setAttribute("title", titleString);
|
||||
|
||||
// fill in fields from the event
|
||||
var startDate = new Date( gEvent.start.getTime() );
|
||||
var endDate = new Date( gEvent.end.getTime() );
|
||||
|
@ -384,6 +385,22 @@ function onOKCommand()
|
|||
gEvent.addAttachment( Attachment );
|
||||
}
|
||||
|
||||
// Attach any specified contacts to the event
|
||||
if( gEventCardArray )
|
||||
{
|
||||
// Remove any existing contacts
|
||||
gEvent.removeContacts();
|
||||
|
||||
// Add specified contacts
|
||||
for( var cardId in gEventCardArray )
|
||||
{
|
||||
if( gEventCardArray[ cardId ] )
|
||||
{
|
||||
gEvent.addContact( gEventCardArray[ cardId ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//if the end time is later than the start time... alert the user using text from the dtd.
|
||||
// call caller's on OK function
|
||||
gOnOkFunction( gEvent );
|
||||
|
|
|
@ -48,11 +48,15 @@
|
|||
<?xml-stylesheet href="chrome://calendar/skin/calendarEventDialog.css" ?>
|
||||
<?xml-stylesheet href="chrome://calendar/skin/dialogOverlay.css" type="text/css"?>
|
||||
|
||||
<!-- CSS for selecting contacts to invite to event -->
|
||||
<?xml-stylesheet href="chrome://calendar/skin/contactsSelectAddressesDialog.css" ?>
|
||||
|
||||
<!-- DTD File with all strings specific to the calendar -->
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
|
||||
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
|
||||
<!ENTITY % dtd3 SYSTEM "chrome://calendar/locale/contactsSelectAddressesDialog.dtd" > %dtd3;
|
||||
]>
|
||||
|
||||
|
||||
|
@ -62,20 +66,31 @@
|
|||
onload="loadCalendarEventDialog()"
|
||||
persist="screenX screenY"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
xmlns:nc="http://home.netscape.com/NC-rdf#">
|
||||
|
||||
|
||||
<!-- Javascript DTD To Variable -->
|
||||
<script type="application/x-javascript">
|
||||
var neStartTimeErrorAlertMessage = "&newevent.starttimeerror.alertmessage;";
|
||||
var neRecurErrorAlertMessage = "&newevent.recurendtimeerror.alertmessage;";
|
||||
var DTD_noEmailMessage = "&ab-selectAddressesDialogNoEmailMessage.label;";
|
||||
var DTD_toPrefix = "&ab-selectAddressesDialogPrefixTo.label;";
|
||||
</script>
|
||||
|
||||
|
||||
<!-- Select addresses commands -->
|
||||
<commandset id="selectAddressesCommands">
|
||||
<command id="addToInviteList" oncommand="addSelectedAddressesIntoInviteBucket( '', '' );" disabled="true" />
|
||||
<command id="removeFromInviteList" oncommand="removeSelectedFromInviteBucket();" disabled="true" />
|
||||
</commandset>
|
||||
|
||||
|
||||
<!-- Javascript includes -->
|
||||
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarEventDialog.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/contactsSelectAddressesDialog.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarEventDialogAttachFile.js"/>
|
||||
|
||||
<!-- Data used in JS from dtd -->
|
||||
|
@ -108,7 +123,7 @@
|
|||
<tabs>
|
||||
<tab label="&newevent.newevent.tab.label;"/>
|
||||
<tab label="&newevent.recurrence.tab.label;"/>
|
||||
<tab label="$newevent.contacts.tab.label;" collapsed="true"/>
|
||||
<tab label="&newevent.contacts.tab.label;" collapsed="true"/>
|
||||
<tab label="&newevent.files.tab.label;" collapsed="true"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
|
@ -256,7 +271,7 @@
|
|||
<vbox>
|
||||
<hbox id="repeat-box" align="center">
|
||||
<checkbox id="repeat-checkbox" class="proper-align" label="&newevent.repeat.label;" checked="false" oncommand="commandRepeat()"/>
|
||||
<textbox id="repeat-length-field" disable-controller="repeat" value="1" oninput="repeatLengthKeyDown( this )"/>
|
||||
<textbox id="repeat-length-field" class="cursor-pointer" disable-controller="repeat" value="1" oninput="repeatLengthKeyDown( this )"/>
|
||||
|
||||
<menulist crop="none" oncommand="repeatUnitCommand( this )" labelnumber="labelplural" id="repeat-length-units" disable-controller="repeat">
|
||||
<menupopup>
|
||||
|
@ -340,16 +355,85 @@
|
|||
</vbox>
|
||||
<!-- /Repeat -->
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
|
||||
<!-- Contacts panel -->
|
||||
<tabpanel orient="vertical" collapsed="true">
|
||||
<!-- Invite -->
|
||||
<vbox>
|
||||
<vbox collapsed="true">
|
||||
<hbox id="invite-box" align="center">
|
||||
<checkbox id="invite-checkbox" label="&newevent.invite.label;" checked="false" oncommand="commandInvite()"/>
|
||||
<textbox id="invite-email-field" size="39" disabled="true"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
|
||||
<vbox flex="1">
|
||||
<hbox id="topBox" align="center">
|
||||
<label value="&ab-selectAddressesDialogLookIn.label;" />
|
||||
|
||||
<!-- Address book chooser -->
|
||||
<menulist id="addressBookList" oncommand="onChooseAddressBookEventDialog( this );">
|
||||
<menupopup id="addressBookList-menupopup" ref="moz-abdirectory://" datasources="rdf:addressdirectory">
|
||||
<template>
|
||||
<rule nc:IsMailList="false">
|
||||
<menuitem uri="..."
|
||||
label="rdf:http://home.netscape.com/NC-rdf#DirName"
|
||||
value="rdf:http://home.netscape.com/NC-rdf#DirUri"/>
|
||||
</rule>
|
||||
</template>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
|
||||
<hbox flex="1">
|
||||
|
||||
<!-- Existing addresses -->
|
||||
<vbox id="resultsBox" flex="4">
|
||||
<label value=" " />
|
||||
<tree id="abResultsTree" flex="1" persist="height" hidecolumnpicker="true" seltype="multiple" onclick="this.contactsTree.onClick( event );" ondblclick="this.contactsTree.onDblClick( event );">
|
||||
|
||||
<treecols id="recipientTreeCols">
|
||||
<treecol id="GeneratedName" sort-field="GeneratedName" class="sortDirectionIndicator" list-view-sort-field="true"
|
||||
persist="ordinal width" flex="1" label="&ab-selectAddressesDialogNameColumn.label;" primary="true"/>
|
||||
|
||||
<splitter class="tree-splitter"/>
|
||||
|
||||
<treecol id="PrimaryEmail" sort-field="PrimaryEmail" class="sortDirectionIndicator" list-view-sort-field="true"
|
||||
persist="ordinal width" flex="1" label="&ab-selectAddressesDialogEmailColumn.label;"/>
|
||||
</treecols>
|
||||
|
||||
<treechildren />
|
||||
|
||||
</tree>
|
||||
</vbox>
|
||||
|
||||
<!-- Add and remove buttons -->
|
||||
<vbox id="addToBucketButtonBox">
|
||||
<spacer flex="1" />
|
||||
<button id="toButton" label="&ab-selectAddressesDialogInvite.label;" command="addToInviteList" />
|
||||
<spacer />
|
||||
<button id="remove" label="&ab-selectAddressesDialogUninvite.label;" class="dialog" command="removeFromInviteList" />
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
|
||||
<!-- Recipient list -->
|
||||
<vbox id="bucketBox" flex="1">
|
||||
<label value="&ab-selectAddressesDialogInviteList.label;"/>
|
||||
|
||||
<tree id="addressBucket" flex="1" seltype="multiple" hidecolumnpicker="true" onclick="selectEventRecipient( this );">
|
||||
<treecols>
|
||||
<treecol id="addressCol" flex="1" hideheader="true"/>
|
||||
</treecols>
|
||||
|
||||
<treechildren id="bucketBody" flex="1"/>
|
||||
</tree>
|
||||
</vbox>
|
||||
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
</tabpanel>
|
||||
|
||||
<tabpanel>
|
||||
<listbox id="attachmentBucket" flex="1" rows="8"
|
||||
onkeypress="if (event.keyCode == 8 || event.keyCode == 46) RemoveSelectedAttachment();"
|
||||
|
|
|
@ -129,6 +129,7 @@ function loadCalendarEventDialog()
|
|||
|
||||
var titleString = titleDataItem.getAttribute( "value" );
|
||||
document.getElementById("calendar-new-eventwindow").setAttribute("title", titleString);
|
||||
|
||||
// fill in fields from the event
|
||||
var startDate = new Date( gEvent.start.getTime() );
|
||||
var endDate = new Date( gEvent.end.getTime() );
|
||||
|
@ -384,6 +385,22 @@ function onOKCommand()
|
|||
gEvent.addAttachment( Attachment );
|
||||
}
|
||||
|
||||
// Attach any specified contacts to the event
|
||||
if( gEventCardArray )
|
||||
{
|
||||
// Remove any existing contacts
|
||||
gEvent.removeContacts();
|
||||
|
||||
// Add specified contacts
|
||||
for( var cardId in gEventCardArray )
|
||||
{
|
||||
if( gEventCardArray[ cardId ] )
|
||||
{
|
||||
gEvent.addContact( gEventCardArray[ cardId ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//if the end time is later than the start time... alert the user using text from the dtd.
|
||||
// call caller's on OK function
|
||||
gOnOkFunction( gEvent );
|
||||
|
|
|
@ -48,11 +48,15 @@
|
|||
<?xml-stylesheet href="chrome://calendar/skin/calendarEventDialog.css" ?>
|
||||
<?xml-stylesheet href="chrome://calendar/skin/dialogOverlay.css" type="text/css"?>
|
||||
|
||||
<!-- CSS for selecting contacts to invite to event -->
|
||||
<?xml-stylesheet href="chrome://calendar/skin/contactsSelectAddressesDialog.css" ?>
|
||||
|
||||
<!-- DTD File with all strings specific to the calendar -->
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
|
||||
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
|
||||
<!ENTITY % dtd3 SYSTEM "chrome://calendar/locale/contactsSelectAddressesDialog.dtd" > %dtd3;
|
||||
]>
|
||||
|
||||
|
||||
|
@ -62,20 +66,31 @@
|
|||
onload="loadCalendarEventDialog()"
|
||||
persist="screenX screenY"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
>
|
||||
xmlns:nc="http://home.netscape.com/NC-rdf#">
|
||||
|
||||
|
||||
<!-- Javascript DTD To Variable -->
|
||||
<script type="application/x-javascript">
|
||||
var neStartTimeErrorAlertMessage = "&newevent.starttimeerror.alertmessage;";
|
||||
var neRecurErrorAlertMessage = "&newevent.recurendtimeerror.alertmessage;";
|
||||
var DTD_noEmailMessage = "&ab-selectAddressesDialogNoEmailMessage.label;";
|
||||
var DTD_toPrefix = "&ab-selectAddressesDialogPrefixTo.label;";
|
||||
</script>
|
||||
|
||||
|
||||
<!-- Select addresses commands -->
|
||||
<commandset id="selectAddressesCommands">
|
||||
<command id="addToInviteList" oncommand="addSelectedAddressesIntoInviteBucket( '', '' );" disabled="true" />
|
||||
<command id="removeFromInviteList" oncommand="removeSelectedFromInviteBucket();" disabled="true" />
|
||||
</commandset>
|
||||
|
||||
|
||||
<!-- Javascript includes -->
|
||||
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarEventDialog.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/contactsSelectAddressesDialog.js"/>
|
||||
<script type="application/x-javascript" src="chrome://calendar/content/calendarEventDialogAttachFile.js"/>
|
||||
|
||||
<!-- Data used in JS from dtd -->
|
||||
|
@ -108,7 +123,7 @@
|
|||
<tabs>
|
||||
<tab label="&newevent.newevent.tab.label;"/>
|
||||
<tab label="&newevent.recurrence.tab.label;"/>
|
||||
<tab label="$newevent.contacts.tab.label;" collapsed="true"/>
|
||||
<tab label="&newevent.contacts.tab.label;" collapsed="true"/>
|
||||
<tab label="&newevent.files.tab.label;" collapsed="true"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
|
@ -256,7 +271,7 @@
|
|||
<vbox>
|
||||
<hbox id="repeat-box" align="center">
|
||||
<checkbox id="repeat-checkbox" class="proper-align" label="&newevent.repeat.label;" checked="false" oncommand="commandRepeat()"/>
|
||||
<textbox id="repeat-length-field" disable-controller="repeat" value="1" oninput="repeatLengthKeyDown( this )"/>
|
||||
<textbox id="repeat-length-field" class="cursor-pointer" disable-controller="repeat" value="1" oninput="repeatLengthKeyDown( this )"/>
|
||||
|
||||
<menulist crop="none" oncommand="repeatUnitCommand( this )" labelnumber="labelplural" id="repeat-length-units" disable-controller="repeat">
|
||||
<menupopup>
|
||||
|
@ -340,16 +355,85 @@
|
|||
</vbox>
|
||||
<!-- /Repeat -->
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
|
||||
<!-- Contacts panel -->
|
||||
<tabpanel orient="vertical" collapsed="true">
|
||||
<!-- Invite -->
|
||||
<vbox>
|
||||
<vbox collapsed="true">
|
||||
<hbox id="invite-box" align="center">
|
||||
<checkbox id="invite-checkbox" label="&newevent.invite.label;" checked="false" oncommand="commandInvite()"/>
|
||||
<textbox id="invite-email-field" size="39" disabled="true"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
|
||||
<vbox flex="1">
|
||||
<hbox id="topBox" align="center">
|
||||
<label value="&ab-selectAddressesDialogLookIn.label;" />
|
||||
|
||||
<!-- Address book chooser -->
|
||||
<menulist id="addressBookList" oncommand="onChooseAddressBookEventDialog( this );">
|
||||
<menupopup id="addressBookList-menupopup" ref="moz-abdirectory://" datasources="rdf:addressdirectory">
|
||||
<template>
|
||||
<rule nc:IsMailList="false">
|
||||
<menuitem uri="..."
|
||||
label="rdf:http://home.netscape.com/NC-rdf#DirName"
|
||||
value="rdf:http://home.netscape.com/NC-rdf#DirUri"/>
|
||||
</rule>
|
||||
</template>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
|
||||
<hbox flex="1">
|
||||
|
||||
<!-- Existing addresses -->
|
||||
<vbox id="resultsBox" flex="4">
|
||||
<label value=" " />
|
||||
<tree id="abResultsTree" flex="1" persist="height" hidecolumnpicker="true" seltype="multiple" onclick="this.contactsTree.onClick( event );" ondblclick="this.contactsTree.onDblClick( event );">
|
||||
|
||||
<treecols id="recipientTreeCols">
|
||||
<treecol id="GeneratedName" sort-field="GeneratedName" class="sortDirectionIndicator" list-view-sort-field="true"
|
||||
persist="ordinal width" flex="1" label="&ab-selectAddressesDialogNameColumn.label;" primary="true"/>
|
||||
|
||||
<splitter class="tree-splitter"/>
|
||||
|
||||
<treecol id="PrimaryEmail" sort-field="PrimaryEmail" class="sortDirectionIndicator" list-view-sort-field="true"
|
||||
persist="ordinal width" flex="1" label="&ab-selectAddressesDialogEmailColumn.label;"/>
|
||||
</treecols>
|
||||
|
||||
<treechildren />
|
||||
|
||||
</tree>
|
||||
</vbox>
|
||||
|
||||
<!-- Add and remove buttons -->
|
||||
<vbox id="addToBucketButtonBox">
|
||||
<spacer flex="1" />
|
||||
<button id="toButton" label="&ab-selectAddressesDialogInvite.label;" command="addToInviteList" />
|
||||
<spacer />
|
||||
<button id="remove" label="&ab-selectAddressesDialogUninvite.label;" class="dialog" command="removeFromInviteList" />
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
|
||||
<!-- Recipient list -->
|
||||
<vbox id="bucketBox" flex="1">
|
||||
<label value="&ab-selectAddressesDialogInviteList.label;"/>
|
||||
|
||||
<tree id="addressBucket" flex="1" seltype="multiple" hidecolumnpicker="true" onclick="selectEventRecipient( this );">
|
||||
<treecols>
|
||||
<treecol id="addressCol" flex="1" hideheader="true"/>
|
||||
</treecols>
|
||||
|
||||
<treechildren id="bucketBody" flex="1"/>
|
||||
</tree>
|
||||
</vbox>
|
||||
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
</tabpanel>
|
||||
|
||||
<tabpanel>
|
||||
<listbox id="attachmentBucket" flex="1" rows="8"
|
||||
onkeypress="if (event.keyCode == 8 || event.keyCode == 46) RemoveSelectedAttachment();"
|
||||
|
|
|
@ -368,7 +368,8 @@ function doSearch( )
|
|||
}
|
||||
else if ( searchText == " " )
|
||||
{
|
||||
searchTextItem.value = '';
|
||||
searchText = "";
|
||||
document.getElementById( "unifinder-search-field" ).value = '';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -116,6 +116,19 @@ function finishCalendarToDoUnifinder( )
|
|||
|
||||
function toDoUnifinderRefesh()
|
||||
{
|
||||
var Checked = document.getElementById( "only-completed-checkbox" ).checked;
|
||||
|
||||
if( Checked === true )
|
||||
{
|
||||
var now = new Date();
|
||||
|
||||
gICalLib.filter.completed.setTime( now );
|
||||
}
|
||||
else
|
||||
{
|
||||
gICalLib.resetFilter()
|
||||
}
|
||||
|
||||
var eventTable = gEventSource.getAllToDos();
|
||||
|
||||
refreshToDoTree( eventTable );
|
||||
|
|
|
@ -25,6 +25,7 @@ calendar.jar:
|
|||
content/calendar/calendarWeekView.js (content/calendarWeekView.js)
|
||||
content/calendar/calendarWeekView.xul (content/calendarWeekView.xul)
|
||||
content/calendar/calendarWindow.js (content/calendarWindow.js)
|
||||
content/calendar/contactsSelectAddressesDialog.js (content/contactsSelectAddressesDialog.js)
|
||||
content/calendar/contents.rdf (content/contents.rdf)
|
||||
content/calendar/dateUtils.js (content/dateUtils.js)
|
||||
content/calendar/sound.wav (content/sound.wav)
|
||||
|
@ -42,6 +43,7 @@ calendar.jar:
|
|||
locale/en-US/calendar/calendarMenuOverlay.dtd (locale/en-US/calendarMenuOverlay.dtd)
|
||||
locale/en-US/calendar/calendarOverlay.dtd (locale/en-US/calendarOverlay.dtd)
|
||||
locale/en-US/calendar/calendarPrefs.dtd (locale/en-US/calendarPrefs.dtd)
|
||||
locale/en-US/calendar/contactsSelectAddressesDialog.dtd (locale/en-US/contactsSelectAddressesDialog.dtd)
|
||||
locale/en-US/calendar/contents.rdf (locale/en-US/contents.rdf)
|
||||
locale/en-US/calendar/dateFormat.properties (locale/en-US/dateFormat.properties)
|
||||
locale/en-US/calendar/global.dtd (locale/en-US/global.dtd)
|
||||
|
@ -55,6 +57,7 @@ calendar.jar:
|
|||
skin/modern/calendar/calendarEventDialog.css (skin/modern/calendarEventDialog.css)
|
||||
skin/modern/calendar/calendarOverlay.css (skin/modern/calendarOverlay.css)
|
||||
skin/modern/calendar/calendar_topbar.gif (skin/modern/calendar_topbar.gif)
|
||||
skin/modern/calendar/contactsSelectAddressesDialog.css (skin/modern/contactsSelectAddressesDialog.gif)
|
||||
skin/modern/calendar/contents.rdf (skin/modern/contents.rdf)
|
||||
skin/modern/calendar/day_left_gradient.png (skin/modern/day_left_gradient.png)
|
||||
skin/modern/calendar/dialogOverlay.css (skin/modern/dialogOverlay.css)
|
||||
|
@ -93,6 +96,7 @@ calendar.jar:
|
|||
skin/classic/calendar/calendarEventAlertDialog.css (skin/classic/calendarEventAlertDialog.css)
|
||||
skin/classic/calendar/calendarEventDialog.css (skin/classic/calendarEventDialog.css)
|
||||
skin/classic/calendar/calendar_topbar.gif (skin/classic/calendar_topbar.gif)
|
||||
skin/classic/calendar/contactsSelectAddressesDialog.css (skin/classic/contactsSelectAddressesDialog.gif)
|
||||
skin/classic/calendar/contents.rdf (skin/classic/contents.rdf)
|
||||
skin/classic/calendar/day_left_gradient.png (skin/classic/day_left_gradient.png)
|
||||
skin/classic/calendar/dialogOverlay.css (skin/classic/dialogOverlay.css)
|
||||
|
|
|
@ -113,6 +113,8 @@
|
|||
|
||||
<!ENTITY event.tip.new "Create a new event." >
|
||||
<!ENTITY event.tip.edit "Edit an existing event." >
|
||||
<!ENTITY todo.tip.new "Create a new task." >
|
||||
<!ENTITY todo.tip.edit "Edit an existing task." >
|
||||
<!ENTITY event.tip.alert "Alarm!" >
|
||||
|
||||
|
||||
|
@ -126,6 +128,7 @@
|
|||
<!ENTITY calendar.tools.delete.tooltip "Delete Event" >
|
||||
<!ENTITY calendar.tools.modify.tooltip "Modify Event" >
|
||||
|
||||
<!ENTITY calendar.newtask.button.tooltip "Create A New Task" >
|
||||
<!ENTITY calendar.newevent.button.tooltip "Create a new Calendar event" >
|
||||
<!ENTITY calendar.delete.button.tooltip "Delete selected event" >
|
||||
<!ENTITY calendar.edit.button.tooltip "Edit selected event" >
|
||||
|
@ -155,6 +158,7 @@
|
|||
<!ENTITY calendar.nextmonth.button.tooltip "Next Month" >
|
||||
<!ENTITY calendar.prevmonth.button.tooltip "Previous Month" >
|
||||
|
||||
<!ENTITY calendar.newtask.button.label "New Task" >
|
||||
<!ENTITY calendar.newevent.button.label "New Event" >
|
||||
<!ENTITY calendar.delete.button.label "Delete" >
|
||||
<!ENTITY calendar.edit.button.label "Edit" >
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
* edit event button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#calendar-edit-event-button
|
||||
#calendar-edit-event-button
|
||||
{
|
||||
-moz-image-region: rect(126px 32px 147px 0px);
|
||||
}
|
||||
|
@ -430,7 +430,7 @@
|
|||
|
||||
/*Day boxes that aren't in this month*/
|
||||
.month-day-box-class[empty="true"]{
|
||||
background-color: #E7EEEC;
|
||||
background-color : #E7EEEC;
|
||||
}
|
||||
|
||||
/*today's day box*/
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#start-event-time-box,
|
||||
#start-date-box
|
||||
{
|
||||
-moz-box-align : center;
|
||||
-moz-box-pack : start;
|
||||
}
|
||||
|
||||
|
@ -103,7 +104,6 @@
|
|||
min-width : 52px;
|
||||
}
|
||||
|
||||
|
||||
#radio-spacer
|
||||
{
|
||||
min-width : 38px;
|
||||
|
@ -186,86 +186,31 @@
|
|||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Start time button
|
||||
* Start and End date button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#start-time-button
|
||||
.event-time-button-class
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#start-time-button[disabled="true"],
|
||||
#start-time-button[disabled="true"]:hover,
|
||||
#start-time-button[disabled="true"]:hover:active
|
||||
.event-time-button-class[disabled="true"],
|
||||
.event-time-button-class[disabled="true"]:hover,
|
||||
.event-time-button-class[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#start-time-button:hover
|
||||
.event-time-button-class:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
}
|
||||
#start-time-button:hover:active
|
||||
.event-time-button-class:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* End time button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#end-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#end-time-button[disabled="true"],
|
||||
#end-time-button[disabled="true"]:hover,
|
||||
#end-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#end-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
}
|
||||
#end-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Repeat end date button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.date-picker-image
|
||||
{
|
||||
height : 24px;
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
.date-picker-image[disabled="true"],
|
||||
.date-picker-image[disabled="true"]:hover,
|
||||
.date-picker-image[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
.date-picker-image:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.gif");
|
||||
}
|
||||
.date-picker-image:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
.warning-text-class
|
||||
{
|
||||
color : red;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#start-event-time-box,
|
||||
#start-date-box
|
||||
{
|
||||
-moz-box-align : center;
|
||||
-moz-box-pack : start;
|
||||
}
|
||||
|
||||
|
@ -103,7 +104,6 @@
|
|||
min-width : 52px;
|
||||
}
|
||||
|
||||
|
||||
#radio-spacer
|
||||
{
|
||||
min-width : 38px;
|
||||
|
@ -186,86 +186,31 @@
|
|||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Start time button
|
||||
* Start and End date button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#start-time-button
|
||||
.event-time-button-class
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#start-time-button[disabled="true"],
|
||||
#start-time-button[disabled="true"]:hover,
|
||||
#start-time-button[disabled="true"]:hover:active
|
||||
.event-time-button-class[disabled="true"],
|
||||
.event-time-button-class[disabled="true"]:hover,
|
||||
.event-time-button-class[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#start-time-button:hover
|
||||
.event-time-button-class:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
}
|
||||
#start-time-button:hover:active
|
||||
.event-time-button-class:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* End time button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#end-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#end-time-button[disabled="true"],
|
||||
#end-time-button[disabled="true"]:hover,
|
||||
#end-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#end-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
|
||||
}
|
||||
#end-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Repeat end date button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.date-picker-image
|
||||
{
|
||||
height : 24px;
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
.date-picker-image[disabled="true"],
|
||||
.date-picker-image[disabled="true"]:hover,
|
||||
.date-picker-image[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
.date-picker-image:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.gif");
|
||||
}
|
||||
.date-picker-image:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
|
||||
}
|
||||
|
||||
|
||||
.warning-text-class
|
||||
{
|
||||
color : red;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,11 +42,6 @@
|
|||
* C A L E N D A R
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#calendar-top-box
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
*-------------------------------------------------------------------*/
|
||||
|
@ -57,7 +52,6 @@
|
|||
background-image: url("chrome://calendar/skin/calendar_topbar.gif");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
*-------------------------------------------------------------------*/
|
||||
|
@ -71,6 +65,12 @@
|
|||
}
|
||||
|
||||
|
||||
.toolbarseparator-primary
|
||||
{
|
||||
margin : 0px;
|
||||
border : 0px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Primary toolbar buttons
|
||||
*-------------------------------------------------------------------*/
|
||||
|
@ -453,12 +453,12 @@
|
|||
.month-day-number-class
|
||||
{
|
||||
|
||||
margin-top: 3px;
|
||||
margin-left: 4px;
|
||||
margin-bottom: -1px;
|
||||
margin-top : 3px;
|
||||
margin-left : 4px;
|
||||
margin-bottom : -1px;
|
||||
font-size: 1.1em;
|
||||
font-family: Arial, Helvetica;
|
||||
color: #1d7ab5;
|
||||
font-family : Arial, Helvetica;
|
||||
color : #1d7ab5;
|
||||
}
|
||||
|
||||
|
||||
|
@ -466,63 +466,37 @@
|
|||
* Events in month view are in a box
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.month-day-event-text-class
|
||||
{
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.month-day-event-box-class
|
||||
{
|
||||
border: 1px solid #1D7AB5;
|
||||
margin-bottom: 1px;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
background-color: #F9F4FF;
|
||||
text-align: center;
|
||||
border : 1px solid #1D7AB5;
|
||||
margin-bottom : 1px;
|
||||
margin-left : 2px;
|
||||
margin-right : 2px;
|
||||
background-color : #F9F4FF;
|
||||
text-align : center;
|
||||
font-size: 0.9em;
|
||||
font-family: Arial, Helvetica;
|
||||
cursor : pointer;
|
||||
font-family : Arial, Helvetica;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.month-day-event-box-class:hover
|
||||
{
|
||||
background-color : #F9F4FF;
|
||||
border : 1px solid #003366;
|
||||
|
||||
}
|
||||
|
||||
.month-day-event-box-class[eventselected="true"]
|
||||
{
|
||||
background-color: #D5E3F2;
|
||||
border-color: #003366;
|
||||
background-color : #D5E3F2;
|
||||
border-color : #003366;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Text item for events in month view
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.month-day-event-text-class
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Box that contains a view of the day's overall busyness
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.month-day-busy-ind-class
|
||||
{
|
||||
min-width : 30px;
|
||||
max-width : 30px;
|
||||
max-height : 10px;
|
||||
min-height : 10px;
|
||||
}
|
||||
|
||||
.month-day-busy-ind-class[busy="true"]
|
||||
{
|
||||
background-color : #6699CC;
|
||||
}
|
||||
|
||||
.month-allday-busy-ind-class
|
||||
{
|
||||
}
|
||||
|
||||
.all-day-event-class,
|
||||
.month-allday-busy-ind-class[busy="true"]
|
||||
{
|
||||
|
@ -710,10 +684,6 @@
|
|||
* Box around the tree content
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#day-view-content-box[allday="true"]
|
||||
{
|
||||
}
|
||||
|
||||
.day-view-event-class
|
||||
{
|
||||
margin-bottom : 1px;
|
||||
|
@ -795,7 +765,6 @@
|
|||
* W E E K V I E W
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#week-view-box
|
||||
{
|
||||
background-color: #FAFCFB;
|
||||
|
@ -888,7 +857,7 @@
|
|||
}
|
||||
#weekview-header-spacer-left
|
||||
{
|
||||
-moz-box-align : start;
|
||||
-moz-box-align : start;
|
||||
background-color : #FAFCFB;
|
||||
border-bottom : 1px solid #1D7AB5;
|
||||
}
|
||||
|
@ -961,10 +930,6 @@
|
|||
}
|
||||
|
||||
|
||||
#week-view-content-box[allday="true"]
|
||||
{
|
||||
}
|
||||
|
||||
#week-view-content-holder{
|
||||
margin-right: 3px;
|
||||
background-color: #ffffff;
|
||||
|
@ -1015,7 +980,6 @@
|
|||
-moz-box-align : center;
|
||||
}
|
||||
|
||||
|
||||
.week-view-hour-box-class
|
||||
{
|
||||
border-bottom : 1px solid #2085c4;
|
||||
|
@ -1089,16 +1053,11 @@
|
|||
width : 8px;
|
||||
}
|
||||
|
||||
.calendar-unifinder-event-text
|
||||
{
|
||||
}
|
||||
|
||||
.calendar-unifinder-event-indent
|
||||
{
|
||||
padding-left : 30px;
|
||||
}
|
||||
|
||||
|
||||
#unifinder-search-results-tree listitem[selected="true"] > listcell,
|
||||
#unifinder-categories-tree listitem[selected="true"] > listcell
|
||||
{
|
||||
|
@ -1114,7 +1073,7 @@
|
|||
{
|
||||
background-color : white;
|
||||
color : black;
|
||||
border : none;
|
||||
border : none;
|
||||
}
|
||||
|
||||
.unifinder-tree-class > listitem[selected="true"] > listcell
|
||||
|
|
|
@ -1,270 +0,0 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (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.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is OEone Calendar Code, released October 31st, 2001.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* OEone Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Garth Smedley <garths@oeone.com>
|
||||
* Mike Potter <mikep@oeone.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
|
||||
|
||||
#repeat-box,
|
||||
#repeat-end-box,
|
||||
#alarm-box,
|
||||
#end-event-time-box,
|
||||
#start-event-time-box,
|
||||
#start-date-box
|
||||
{
|
||||
-moz-box-pack : start;
|
||||
}
|
||||
|
||||
#dialog-box
|
||||
{
|
||||
min-width : 453px;
|
||||
/*min-height : 460px;*/
|
||||
}
|
||||
|
||||
#category-field
|
||||
{
|
||||
margin-left : 4px;
|
||||
margin-right : 4px;
|
||||
}
|
||||
|
||||
.proper-align
|
||||
{
|
||||
min-width : 120px;
|
||||
}
|
||||
|
||||
.field-label-box-class
|
||||
{
|
||||
text-align : right;
|
||||
margin-right : 3px;
|
||||
}
|
||||
|
||||
/* line up all the check boxes on the left with the other boxes */
|
||||
|
||||
#repeat-checkbox,
|
||||
#repeat-checkbox > .internal-box > .checkmark-box,
|
||||
#alarm-checkbox,
|
||||
#alarm-checkbox > .internal-box > .checkmark-box,
|
||||
#private-checkbox,
|
||||
#private-checkbox > .internal-box > .checkmark-box,
|
||||
#all-day-event-checkbox,
|
||||
#all-day-event-checkbox > .internal-box > .checkmark-box,
|
||||
#alarm-email-checkbox,
|
||||
#alarm-email-checkbox > .internal-box > .checkmark-box,
|
||||
#invite-checkbox,
|
||||
#invite-checkbox > .internal-box > .checkmark-box
|
||||
{
|
||||
margin-left : 1px;
|
||||
}
|
||||
|
||||
#all-day-event-checkbox
|
||||
{
|
||||
margin-left : 2px;
|
||||
}
|
||||
|
||||
#repeat-length-units
|
||||
{
|
||||
min-width : 98px;
|
||||
}
|
||||
|
||||
#alarm-spacer
|
||||
{
|
||||
min-width : 52px;
|
||||
}
|
||||
|
||||
|
||||
#radio-spacer
|
||||
{
|
||||
min-width : 38px;
|
||||
}
|
||||
|
||||
#until-spacer
|
||||
{
|
||||
min-width : 8px;
|
||||
}
|
||||
|
||||
#invite-spacer
|
||||
{
|
||||
min-width : 54px;
|
||||
}
|
||||
|
||||
#repeat-length-field
|
||||
{
|
||||
max-width : 3em;
|
||||
}
|
||||
|
||||
#alarm-length-field
|
||||
{
|
||||
max-width : 3em;
|
||||
}
|
||||
|
||||
#invite-email-field
|
||||
{
|
||||
max-width : 50em;
|
||||
}
|
||||
|
||||
#alarm-email-field
|
||||
{
|
||||
max-width : 50em;
|
||||
}
|
||||
|
||||
.date-text-class
|
||||
{
|
||||
-moz-user-focus : ignore !important;
|
||||
|
||||
max-width : 10em;
|
||||
}
|
||||
|
||||
#start-time-text
|
||||
{
|
||||
max-width : 10em;
|
||||
}
|
||||
|
||||
#end-time-text
|
||||
{
|
||||
max-width : 10em;
|
||||
}
|
||||
|
||||
#repeat-end-date-text
|
||||
{
|
||||
max-width : 10em;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Start and End date button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.event-date-button-class
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
.event-date-button-class[disabled="true"],
|
||||
.event-date-button-class[disabled="true"]:hover,
|
||||
.event-date-button-class[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
.event-date-button-class:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.png");
|
||||
}
|
||||
.event-date-button-class:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Start time button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#start-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#start-time-button[disabled="true"],
|
||||
#start-time-button[disabled="true"]:hover,
|
||||
#start-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#start-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
}
|
||||
#start-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* End time button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#end-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#end-time-button[disabled="true"],
|
||||
#end-time-button[disabled="true"]:hover,
|
||||
#end-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#end-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
}
|
||||
#end-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Repeat end date button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.date-picker-image
|
||||
{
|
||||
height : 24px;
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
.date-picker-image[disabled="true"],
|
||||
.date-picker-image[disabled="true"]:hover,
|
||||
.date-picker-image[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
.date-picker-image:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.png");
|
||||
}
|
||||
.date-picker-image:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
}
|
||||
|
||||
|
||||
.warning-text-class
|
||||
{
|
||||
color : red;
|
||||
}
|
|
@ -44,6 +44,7 @@
|
|||
#start-event-time-box,
|
||||
#start-date-box
|
||||
{
|
||||
-moz-box-align : center;
|
||||
-moz-box-pack : start;
|
||||
}
|
||||
|
||||
|
@ -103,7 +104,6 @@
|
|||
min-width : 52px;
|
||||
}
|
||||
|
||||
|
||||
#radio-spacer
|
||||
{
|
||||
min-width : 38px;
|
||||
|
@ -142,7 +142,6 @@
|
|||
.date-text-class
|
||||
{
|
||||
-moz-user-focus : ignore !important;
|
||||
|
||||
max-width : 10em;
|
||||
}
|
||||
|
||||
|
@ -186,84 +185,30 @@
|
|||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Start time button
|
||||
* Start and End time button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#start-time-button
|
||||
.event-time-button-class
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#start-time-button[disabled="true"],
|
||||
#start-time-button[disabled="true"]:hover,
|
||||
#start-time-button[disabled="true"]:hover:active
|
||||
.event-time-button-class[disabled="true"],
|
||||
.event-time-button-class[disabled="true"]:hover,
|
||||
.event-time-button-class[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#start-time-button:hover
|
||||
.event-time-button-class:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
}
|
||||
#start-time-button:hover:active
|
||||
.event-time-button-class:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* End time button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#end-time-button
|
||||
{
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
|
||||
}
|
||||
#end-time-button[disabled="true"],
|
||||
#end-time-button[disabled="true"]:hover,
|
||||
#end-time-button[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_disabled.gif");
|
||||
}
|
||||
#end-time-button:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.png");
|
||||
}
|
||||
#end-time-button:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.png");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Repeat end date button
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
.date-picker-image
|
||||
{
|
||||
height : 24px;
|
||||
margin-left : 3px;
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_up.gif");
|
||||
}
|
||||
.date-picker-image[disabled="true"],
|
||||
.date-picker-image[disabled="true"]:hover,
|
||||
.date-picker-image[disabled="true"]:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_disabled.gif");
|
||||
}
|
||||
.date-picker-image:hover
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_hover.png");
|
||||
}
|
||||
.date-picker-image:hover:active
|
||||
{
|
||||
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.png");
|
||||
}
|
||||
|
||||
|
||||
.warning-text-class
|
||||
{
|
||||
color : red;
|
||||
|
|
Загрузка…
Ссылка в новой задаче