gecko-dev/calendar/resources/skin/classic/eventDialog.css

222 lines
5.3 KiB
CSS

/* ***** 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-align : center;
-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,
#repeat-numberoftimes-textbox
{
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;
}
#due-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.gif");
}
.event-date-button-class:hover:active
{
list-style-image : url("chrome://calendar/skin/ca-event-dialog/calendar_down.gif");
}
/*--------------------------------------------------------------------
* Start and End time button
*-------------------------------------------------------------------*/
.event-time-button-class
{
margin-left : 3px;
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_up.gif");
}
.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");
}
.event-time-button-class:hover
{
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_hover.gif");
}
.event-time-button-class:hover:active
{
list-style-image : url("chrome://calendar/skin/ca-event-dialog/clock_down.gif");
}
.warning-text-class
{
color : red;
}