Bug 533096 - Consolidate theming to make more css common, Part 2. r+a=philipp

--HG--
rename : calendar/base/themes/winstripe/calendar-daypicker.css => calendar/base/themes/common/calendar-daypicker.css
rename : calendar/base/themes/winstripe/calendar-management.css => calendar/base/themes/common/calendar-management.css
rename : calendar/base/themes/winstripe/calendar-task-view.css => calendar/base/themes/common/calendar-task-view.css
rename : calendar/base/themes/winstripe/calendar-unifinder.css => calendar/base/themes/common/calendar-unifinder.css
rename : calendar/base/themes/winstripe/calendar-views.css => calendar/base/themes/common/calendar-views.css
rename : calendar/base/themes/winstripe/dialogs/calendar-alarm-dialog.css => calendar/base/themes/common/dialogs/calendar-alarm-dialog.css
rename : calendar/base/themes/winstripe/dialogs/calendar-event-dialog.css => calendar/base/themes/common/dialogs/calendar-event-dialog.css
rename : calendar/base/themes/winstripe/today-pane.css => calendar/base/themes/common/today-pane.css
rename : calendar/base/themes/winstripe/widgets/calendar-widgets.css => calendar/base/themes/common/widgets/calendar-widgets.css
This commit is contained in:
Richard Marti 2012-02-06 21:55:55 +01:00
Родитель b9f5c77797
Коммит 758144d106
39 изменённых файлов: 2398 добавлений и 7107 удалений

Просмотреть файл

@ -163,7 +163,8 @@
// the height of the text blocks contained in the grid items needs
// to have the same height as the items of the attendee-list.
var height = template.boxObject.height - 1;
stylesheet.insertRule(".freebusy-grid { min-height: " + height + "px; }", 0);
stylesheet.insertRule(".freebusy-grid { min-height: " + height + "px; }",
stylesheet.cssRules.length);
break;
}
}

Просмотреть файл

@ -1037,15 +1037,18 @@ function updateTitle() {
function updateStyle() {
const kDialogStylesheet = "chrome://calendar/skin/calendar-event-dialog.css";
for each (var stylesheet in document.styleSheets) {
for each (let stylesheet in document.styleSheets) {
if (stylesheet.href == kDialogStylesheet) {
if (isSunbird()) {
stylesheet.insertRule(".lightning-only { display: none; }", 0);
if (cal.isSunbird()) {
stylesheet.insertRule(".lightning-only { display: none; }",
stylesheet.cssRules.length);
}
if (isEvent(window.calendarItem)) {
stylesheet.insertRule(".todo-only { display: none; }", 0);
} else if (isToDo(window.calendarItem)) {
stylesheet.insertRule(".event-only { display: none; }", 0);
if (cal.isEvent(window.calendarItem)) {
stylesheet.insertRule(".todo-only { display: none; }",
stylesheet.cssRules.length);
} else if (cal.isToDo(window.calendarItem)) {
stylesheet.insertRule(".event-only { display: none; }",
stylesheet.cssRules.length);
}
return;
}

Просмотреть файл

@ -104,6 +104,8 @@ calendar.jar:
% style chrome://calendar/content/calendar-event-dialog.xul chrome://global/skin/toolbar.css
% style chrome://global/content/customizeToolbar.xul chrome://calendar/skin/calendar-task-view.css
% style chrome://global/content/customizeToolbar.xul chrome://calendar/skin/calendar-event-dialog.css
% style chrome://calendar/content/calendar-event-dialog.xul chrome://calendar/skin/common/dialogs/calendar-event-dialog.css
% style chrome://calendar/content/calendar-event-dialog-attendees.xul chrome://calendar/skin/common/dialogs/calendar-event-dialog.css
skin/calendar/abcard.png (themes/common/images/abcard.png)
skin/calendar/alarm-flashing.png (themes/common/images/alarm-flashing.png)
skin/calendar/alarm-icons.png (themes/common/images/alarm-icons.png)
@ -133,6 +135,15 @@ calendar.jar:
skin/calendar/widgets/nav-today-hov.svg (themes/common/widgets/images/nav-today-hov.svg)
skin/calendar/widgets/view-navigation.svg (themes/common/widgets/images/view-navigation.svg)
skin/calendar/widgets/view-navigation-hov.svg (themes/common/widgets/images/view-navigation-hov.svg)
skin/calendar/common/calendar-daypicker.css (themes/common/calendar-daypicker.css)
skin/calendar/common/calendar-management.css (themes/common/calendar-management.css)
skin/calendar/common/calendar-task-view.css (themes/common/calendar-task-view.css)
skin/calendar/common/calendar-unifinder.css (themes/common/calendar-unifinder.css)
skin/calendar/common/calendar-views.css (themes/common/calendar-views.css)
skin/calendar/common/today-pane.css (themes/common/today-pane.css)
skin/calendar/common/dialogs/calendar-alarm-dialog.css (themes/common/dialogs/calendar-alarm-dialog.css)
skin/calendar/common/dialogs/calendar-event-dialog.css (themes/common/dialogs/calendar-event-dialog.css)
skin/calendar/common/widgets/calendar-widgets.css (themes/common/widgets/calendar-widgets.css)
skin/calendar/cal-icon32.png (themes/@THEME@/images/cal-icon32.png)
skin/calendar/calendar-alarm-dialog.css (themes/@THEME@/dialogs/calendar-alarm-dialog.css)
skin/calendar/calendar-daypicker.css (themes/@THEME@/calendar-daypicker.css)
@ -166,6 +177,7 @@ calendar.jar:
# The following files are added for aero support on windows.
#ifdef XP_WIN
% style chrome://calendar/content/calendar-event-dialog.xul chrome://calendar-windows/skin/calendar-event-dialog.css os=WINNT
% style chrome://calendar/content/calendar-event-dialog-attendees.xul chrome://calendar-windows/skin/calendar-event-dialog.css os=WINNT
% style chrome://calendar/content/calendar-occurrence-prompt.xul chrome://calendar-windows/skin/calendar.css os=WINNT osversion>=6
% skin calendar-windows classic/1.0 chrome/calendar/skin/calendar/win-classic/ os=WINNT osversion<6
% skin calendar-windows classic/1.0 chrome/calendar/skin/calendar/win-aero/ os=WINNT osversion>=6

Просмотреть файл

@ -0,0 +1,44 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
daypicker {
-moz-binding: url(chrome://calendar/content/calendar-daypicker.xml#daypicker);
list-style-image: url("chrome://calendar/skin/daypicker-background.png");
-moz-image-region: rect(0px 31px 30px 0px);
background-color: -moz-Field;
text-align: center;
}
daypicker[mode="monthly-days"] {
width: 21px;
height: 15px;
}
daypicker:hover {
-moz-image-region: rect(0px 62px 30px 31px);
cursor: pointer;
}
daypicker:hover:active,
daypicker[open="true"] {
-moz-image-region: rect(0px 93px 30px 62px);
cursor: pointer;
}
daypicker[disabled="true"],
daypicker[disabled="true"][checked="true"],
daypicker[disabled="true"]:hover,
daypicker[disabled="true"]:hover:active,
daypicker[disabled="true"][open="true"] {
-moz-image-region: rect(0px 31px 30px 0px);
color: GrayText;
cursor: default;
background-color: -moz-Dialog;
}
daypicker[checked="true"] {
-moz-image-region: rect(0px 124px 30px 93px);
background-color: Highlight;
color: HighlightText;
}

Просмотреть файл

@ -0,0 +1,49 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
calendar-list-tree > tree > treechildren::-moz-tree-image(checkbox-treecol) {
list-style-image: url(chrome://calendar/skin/checkbox-images.png);
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol, color-default) {
background-color: #a8c2e1;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol) {
margin: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(calendarname-treecol) {
-moz-margin-start: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readonly) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readfailed) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
calendar-list-tree > tree {
border: none;
padding: 0;
margin: 4px 0;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-appearance: none;
}
calendar-list-tree > tree > treecols > treecol[hideheader="true"],
calendar-list-tree > tree > treecols > treecol[hideheader="true"] {
font-size: 0px;
border: none;
padding: 0;
max-height: 0px;
height: 0px;
}

Просмотреть файл

@ -0,0 +1,144 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#calendar-header-name-column,
#calendar-task-details-attachment-row > hbox {
-moz-padding-start: 0.1em;
}
#calendar-task-details-grid {
padding-top: 1px;
-moz-padding-start: 0;
-moz-padding-end: 0;
padding-bottom: 0.2em;
}
#other-actions-box {
padding-bottom: 0.3em;
}
#calendar-task-details {
min-height: 6ex;
}
#task-addition-box {
border-left: 1px solid ThreeDShadow;
border-right: 0px;
border-bottom: 1px solid ThreeDShadow;
}
#calendar-task-details-description {
-moz-appearance: textfield;
border: 1px solid;
margin: 0;
font-family: serif;
font-size: 16px;
}
.task-details-name {
text-align: right;
background-color: transparent;
border: none;
}
#calendar-task-details-grid > rows > .item-date-row > .headline {
font-weight: normal;
}
#calendar-task-details-attachment-row {
margin-top: 3px;
}
#calendar-task-details-attachment-rows {
max-height: 60px;
}
.task-details-value {
text-align: left;
background-color: transparent;
border: none;
}
#calendar-task-tree {
min-height: 98px;
border-left: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDHighlight;
border-right: 1px solid ThreeDHighlight;
}
#calendar-task-tree-detail {
border: 1px solid ThreeDShadow;
margin: 3px;
}
#view-task-edit-field {
margin: 5px;
}
.task-edit-field[readonly="true"] {
color: GrayText;
}
#calendar-task-details-title {
font-weight: bold;
}
#unifinder-task-edit-field {
margin: 3px;
}
#unifinder-todo-tree > .calendar-task-tree {
margin-bottom: 3px;
}
/* ::::: task actions toolbar ::::: */
#task-actions-toolbox {
border: none;
}
#task-actions-toolbar {
-moz-appearance: none;
-moz-box-pack: end;
border: none;
}
#task-actions-toolbar toolbarpaletteitem toolbarseparator,
#task-actions-toolbar toolbarseparator {
height: 26px;
}
#task-actions-toolbar toolbarspacer {
height: 20px;
}
window[toolboxId="task-actions-toolbox"] #wrapper-spring {
display: none;
}
window[toolboxId="task-actions-toolbox"] #smallicons,
window[toolboxId="task-actions-toolbox"] button[icon="add"] {
display: none;
}
window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
display: none;
}
#task-actions-toolbox[doCustomization] {
background: grey;
}
#task-actions-toolbox[doCustomization] #task-actions-toolbar {
min-width: 100px;
min-height: 24px;
}
#calendar-add-task-button {
-moz-margin-start: 5px;
}
#calendar-add-task-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}

Просмотреть файл

@ -0,0 +1,46 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* only format Unifinder lists */
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(highpriority) {
font-weight: bold;
}
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(lowpriority) {
font-style: italic;
color: GrayText !important;
background-color: -moz-field;
}
/* workaround to avoid Window Flick */
#unifinder-search-results-tree {
-moz-appearance: none;
background-color: -moz-Field;
color: -moz-FieldText;
min-height: 92px;
border: 0;
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
border-bottom: 1px solid;
border-top: 1px solid;
margin: 0;
}
/* added for new id ..... search box ..... */
#unifinder-searchBox {
height: 30px;
}
.unifinder-closebutton {
list-style-image: url("chrome://global/skin/icons/close.png");
-moz-image-region: rect(0 16px 16px 0);
}
.unifinder-closebutton:hover {
-moz-image-region: rect(0 32px 16px 16px);
}
.unifinder-closebutton:hover:active {
-moz-image-region: rect(0 48px 16px 32px);
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,115 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Bindings */
calendar-alarm-widget {
-moz-binding: url(chrome://calendar/content/widgets/calendar-alarm-widget.xml#calendar-alarm-widget);
}
/* Alarm dialog styles */
#alarm-richlist {
margin: 10px;
}
#alarm-actionbar {
min-width: 1px;
margin: 0 5px;
}
/* Alarm widget specific styles */
calendar-alarm-widget {
border-bottom: 1px dotted #C0C0C0;
padding: 6px 7px;
}
calendar-alarm-widget[selected="true"] {
background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png);
background-color: #a2bdd8;
padding: 0 5px;
}
calendar-alarm-widget[selected="true"] .alarm-title-label {
font-weight: bold;
}
calendar-alarm-widget[selected="true"] .alarm-action-buttons {
display: -moz-box;
}
calendar-alarm-widget[selected="true"] > hbox {
margin: 5px;
}
calendar-alarm-widget[selected="true"] .alarm-relative-date-label,
.additional-information-box,
.alarm-action-buttons {
display: none;
}
calendar-alarm-widget[selected="true"] .additional-information-box,
calendar-alarm-widget[selected="true"] .action-buttons-box {
display: -moz-box;
}
.alarm-details-label {
text-decoration: underline;
}
calendar-alarm-widget[selected="true"] .alarm-calendar-image {
list-style-image: url(chrome://calendar/skin/cal-icon32.png);
}
.resizer-box {
min-height: 15px;
}
.snooze-popup-ok-button {
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
.snooze-popup-ok-button:hover {
-moz-image-region: rect(14px, 14px, 28px, 0px);
}
.snooze-popup-ok-button:active {
-moz-image-region: rect(28px, 14px, 42px, 0px);
}
.snooze-popup-ok-button[disabled="true"] {
-moz-image-region: rect(42px, 14px, 56px, 0px);
}
.snooze-popup-cancel-button {
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
.snooze-popup-cancel-button:hover {
-moz-image-region: rect(14px, 28px, 28px, 14px);
}
.snooze-popup-cancel-button:active {
-moz-image-region: rect(28px, 28px, 42px, 14px);
}
.snooze-popup-button {
list-style-image: url(chrome://calendar/skin/ok-cancel.png);
min-width: 0;
-moz-appearance: toolbarbutton;
}
.snooze-popup-button > .button-box > .button-icon {
margin: 0;
}
.snooze-popup-button > .button-box {
border: 0;
padding: 0;
-moz-box-pack: center;
-moz-box-align: center;
}
.snooze-popup-button:focus > .button-box {
border: 1px dotted ThreeDDarkShadow;
padding: 0;
}

Просмотреть файл

@ -0,0 +1,482 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#calendar-event-dialog,
#calendar-task-dialog {
padding: 0px;
}
#yearly-period-of-label,
label.label {
text-align: right;
}
#item-calendar,
#item-categories,
#item-repeat,
#item-alarm,
.datepicker-text-class {
min-width: 12em;
}
/*--------------------------------------------------------------------
* Event dialog keep duration button
*-------------------------------------------------------------------*/
#keepduration-button {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-image-region: rect(0px 147px 24px 140px);
padding-top: 3px;
padding-bottom: 3px;
-moz-margin-start: -3px;
margin-bottom: -15px;
position: relative;
-moz-user-focus: normal;
}
#keepduration-button[keep="true"] {
-moz-image-region: rect(0px 139px 24px 132px);
}
#keepduration-button[disabled="true"] {
-moz-image-region: rect(0px 163px 24px 156px);
}
#keepduration-button[keep="true"][disabled="true"] {
-moz-image-region: rect(0px 155px 24px 148px);
}
#keepduration-button > label {
display: none;
}
.keepduration-link-image {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-margin-start: -1px;
}
#link-image-top {
-moz-image-region: rect(7px 174px 14px 164px);
margin-top: 0.6em;
}
#link-image-top[keep="true"]{
-moz-image-region: rect(0px 174px 7px 164px);
}
#link-image-bottom {
-moz-image-region: rect(0px 184px 7px 174px);
margin-bottom: 0.6em;
}
/*--------------------------------------------------------------------
* Event dialog statusbar images
*-------------------------------------------------------------------*/
.cal-statusbar-1 {
-moz-box-orient: vertical;
min-width: 0px;
list-style-image: url("chrome://calendar/skin/calendar-event-dialog.png");
}
/*--------------------------------------------------------------------
* privacy "public" image
*-------------------------------------------------------------------*/
#button-privacy-public {
-moz-image-region: rect(0px 28px 16px 0px);
}
/*--------------------------------------------------------------------
* privacy "private" image
*-------------------------------------------------------------------*/
#button-privacy-private {
-moz-image-region: rect(0px 56px 16px 28px);
}
/*--------------------------------------------------------------------
* privacy "confidential" image
*-------------------------------------------------------------------*/
#button-privacy-confidential {
-moz-image-region: rect(0px 84px 16px 56px);
}
/*--------------------------------------------------------------------
* importance "low" image
*-------------------------------------------------------------------*/
#button-importance-low {
-moz-image-region: rect(0px 100px 16px 84px);
}
/*--------------------------------------------------------------------
* importance "medium" image
*-------------------------------------------------------------------*/
#button-importance-medium {
-moz-image-region: rect(0px 116px 16px 100px);
}
/*--------------------------------------------------------------------
* importance "high" image
*-------------------------------------------------------------------*/
#button-importance-high {
-moz-image-region: rect(0px 132px 16px 116px);
}
/*--------------------------------------------------------------------
* Recurrence dialog preview border
*-------------------------------------------------------------------*/
#preview-border {
border: none;
padding: 0px;
}
/*--------------------------------------------------------------------
* freebusy
*-------------------------------------------------------------------*/
#freebusy-container {
overflow: hidden;
min-width: 100px;
}
#freebusy-grid {
min-width: 1px;
}
#calendar-summary-dialog {
min-width: 35em;
}
listbox[disabled="true"] {
color: -moz-FieldText;
}
daypicker-weekday {
margin-top: 2px;
}
daypicker-monthday {
margin-top: 2px;
}
.headline {
font-weight: bold;
}
.headline[align=end],
.headline[align=right]{
text-align: right;
}
.default-spacer {
width: 1em;
height: 1em;
}
.default-indent {
-moz-margin-start: 1.5em;
}
/*--------------------------------------------------------------------
* Attendees Dialog
*-------------------------------------------------------------------*/
.listbox-noborder {
margin: 0px 0px;
border-style: none;
}
.selection-bar {
background-color: #008080;
opacity: 0.2;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.freebusy-container {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
.freebusy-content {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
/* -moz-margin-end 1px is needed to take border-right from the grid elements into account */
.freebusy-timebar-title {
-moz-margin-end: 1px;
}
.freebusy-timebar-hour {
-moz-margin-end: 1px;
margin-bottom: 5px;
}
.freebusy-timebar-hour[scheduled="true"] {
/* the 'sechuled'-attribute is used in the timebar to indicate
which hours are affected of the currently schedued event.
since we added the selection-bar this is no longer necessary
but we keep the possibity to decorate those hours if it should
become beneficial.
text-decoration: underline;
*/
}
.freebusy-grid {
border-right: 1px solid #BDBEC0;
background-color: #E09EBD;
color: #E09EBD;
min-height: 16px;
}
.freebusy-grid[state="busy"] {
background-color: #153E7E;
color: #153E7E;
}
.freebusy-grid[state="busy_tentative"] {
background-color: #1589FF;
color: #1589FF;
}
.freebusy-grid[state="busy_unavailable"] {
background-color: #4E387E;
color: #4E387E;
}
.freebusy-grid[state="free"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
#dialog-box {
padding-top: 8px;
padding-bottom: 10px;
-moz-padding-start: 8px;
-moz-padding-end: 10px;
}
#addressingWidget {
-moz-user-focus: none;
}
#typecol-addressingWidget {
min-width: 9em;
border-right: 1px solid #CACAFF;
}
/* This applies to rows of the attendee-list and the freebusy-grid */
.addressingWidgetItem,
.dummy-row {
border: none !important;
background-color: inherit !important;
color: inherit !important;
/* we set the minimal height to the height of the
largest icon [the person-icon in this case] to
ensure that the rows of the freebusy-grid and
the attendee-list always have the same height,
regardless of the font size. */
min-height: 16px;
}
.addressingWidgetCell {
border-bottom: 1px solid #CACAFF;
padding: 0px;
}
.addressingWidgetCell:first-child {
border-top: none;
}
.dummy-row-cell:first-child {
border-top: none;
border-bottom: 1px solid #CACAFF;
}
.person-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/abcard.png);
}
.status-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.status-icon[status="ACCEPTED"] {
-moz-image-region: rect(0px 12px 14px 0px);
}
.status-icon[status="ACCEPTED"][disabled="true"] {
-moz-image-region: rect(14px 12px 28px 0px);
}
.status-icon[status="DECLINED"] {
-moz-image-region: rect(0px 24px 14px 12px);
}
.status-icon[status="DECLINED"][disabled="true"] {
-moz-image-region: rect(14px 24px 28px 12px);
}
.status-icon[status="NEEDS-ACTION"] {
-moz-image-region: rect(0px 36px 14px 24px);
}
.status-icon[status="NEEDS-ACTION"][disabled="true"] {
-moz-image-region: rect(14px 36px 28px 24px);
}
.status-icon[status="TENTATIVE"] {
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[status="TENTATIVE"][disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.role-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="OPT-PARTICIPANT"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="OPT-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="CHAIR"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="CHAIR"][disabled="true"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="NON-PARTICIPANT"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.role-icon[role="NON-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.zoom-in-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 97px 14px 84px);
}
.zoom-in-icon[disabled="true"] {
-moz-image-region: rect(14px 97px 28px 84px);
}
.zoom-out-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 110px 14px 97px);
}
.zoom-out-icon[disabled="true"] {
-moz-image-region: rect(14px 110px 28px 97px);
}
.left-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 124px 14px 110px);
}
.left-icon[disabled="true"] {
-moz-image-region: rect(14px 124px 28px 110px);
}
.right-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 138px 14px 124px);
}
.right-icon[disabled="true"] {
-moz-image-region: rect(14px 138px 28px 124px);
}
.legend {
width: 3em;
height: 1em;
border-top: 1px solid #A1A1A1;
border-right: 1px solid #C3C3C3;
border-bottom: 1px solid #DDDDDD;
border-left: 1px solid #C3C3C3;
}
.legend[status="FREE"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
.legend[status="BUSY"] {
background-color: #153E7E;
color: #153E7E;
}
.legend[status="BUSY_TENTATIVE"] {
background-color: #1589FF;
color: #1589FF;
}
.legend[status="BUSY_UNAVAILABLE"] {
background-color: #4E387E;
color: #4E387E;
}
.legend[status="UNKNOWN"] {
background-color: #E09EBD;
color: #E09EBD;
}
#content-frame {
border-left: 1px solid ThreeDDarkShadow;
border-right: 1px solid ThreeDLightShadow;
min-width: 10px;
min-height: 10px;
height: 400px;
}
.attendees-list-listbox > listboxbody {
overflow-y: hidden !important;
}
.selection-bar-left {
width: 3px;
cursor: w-resize;
}
.selection-bar-right {
width: 3px;
cursor: e-resize;
}
.selection-bar-spacer {
cursor: -moz-grab;
}
.checkbox-no-label > .checkbox-label-box {
display: none;
}

Просмотреть файл

@ -0,0 +1,247 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
.today-subpane {
border-color: ThreeDShadow;
border-style: solid;
border-width: 1px 0;
margin-bottom: 3px;
padding: 0px;
}
#buttonspacer {
width: 5px;
}
#today-pane-panel {
background-color: -moz-Dialog;
}
#today-pane-panel:-moz-lwtheme {
background-color: transparent;
}
#today-pane-panel > * {
color: -moz-DialogText;
}
#today-pane-panel:-moz-lwtheme > sidebarheader {
color: inherit;
}
#agenda-panel:-moz-lwtheme > vbox,
#today-pane-splitter:-moz-lwtheme,
#todo-tab-panel:-moz-lwtheme {
background-color: -moz-Dialog;
}
#today-pane-panel:-moz-lwtheme > vbox {
text-shadow: none;
background-color: -moz-Dialog;
}
#mini-day-image {
background-image: -moz-linear-gradient(transparent, transparent 48%,
rgba(0, 0, 0, .02) 52%, rgba(0, 0, 0, .1));
}
#mini-day-box,
#today-minimonth-box {
background-color: -moz-field;
}
#weekdayNameContainer {
font-family: Trebuchet MS, Lucida Grande, Arial, Helvetica;
padding-top: 4px;
font-weight: bold;
font-size: 18px;
}
.monthlabel {
-moz-margin-end: 0px;
}
.dateValue {
font-family: Arial, Helvetica, Trebuchet MS, Lucida Grande, sans-serif;
margin-top: 0px;
padding-top: 0px;
font-size: 36px;
font-weight: bold;
}
.miniday-nav-buttons {
margin-top: 2px;
min-width: 19px;
-moz-user-focus: normal;
}
#today-button {
list-style-image: url("chrome://calendar/skin/widgets/nav-today.svg");
}
.miniday-nav-buttons[disabled] {
opacity: .3;
}
.miniday-nav-buttons > .toolbarbutton-icon {
margin: 1px;
}
#miniday-dropdown-button {
margin: 2px;
-moz-user-focus: normal;
}
#miniday-dropdown-button > .toolbarbutton-icon,
#miniday-dropdown-button > .toolbarbutton-text,
.miniday-nav-buttons > .toolbarbutton-text {
display: none;
}
#miniday-dropdown-button > .toolbarbutton-menu-dropmarker {
-moz-padding-start: 0;
}
.today-closebutton {
-moz-image-region: rect(0 16px 16px 0);
}
.today-closebutton:hover {
-moz-image-region: rect(0 32px 16px 16px);
}
.today-closebutton:hover:active {
-moz-image-region: rect(0 48px 16px 32px);
}
#agenda-toolbar {
border: none;
padding: 1px;
}
#todaypane-new-event-button {
-moz-user-focus: normal;
}
#todaypane-new-event-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}
#todaypane-new-event-button {
list-style-image: url("chrome://calendar/skin/toolbar-small.png");
}
#agenda-listbox {
-moz-user-focus: normal;
margin: 3px;
}
agenda-checkbox-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item");
-moz-user-focus: normal;
}
agenda-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
agenda-allday-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-allday-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
.agenda-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
.agenda-allday-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 4px;
padding-bottom: 4px;
}
.agenda-container-box[selected="true"],
.agenda-allday-container-box[selected="true"],
.agenda-checkbox[selected="true"],
.agenda-container-box[selected="true"][current="true"],
.agenda-allday-container-box[selected="true"][current="true"],
.agenda-checkbox[selected="true"][current="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #FDF5A0;
color: #000000;
}
.agenda-container-box[current="true"],
.agenda-alldaycontainer-box[current="true"],
.agenda-checkbox[current="true"],
.agenda-container-box[selected="true"][current="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][current="true"][disabled="true"],
.agenda-checkbox[selected="true"][current="true"][disabled="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #DFEAF4;
}
.agenda-container-box[selected="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][disabled="true"],
.agenda-checkbox[selected="true"][disabled="true"] {
background-image: none;
color: -moz-dialogText;
background-color: -moz-dialog;
}
.agenda-event-title {
margin-top: 0px;
}
.agenda-event-start {
margin-bottom: 0px;
}
.agenda-new-date {
width: 15px;
height: 15px;
border: 1px solid grey;
cursor: pointer;
}
.agenda-calendar-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-image-region: rect(0px 10px 10px 0px);
margin-top: 3px;
-moz-margin-start: 4px;
width: 10px;
height: 10px;
}
.agenda-multiDayEvent-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-margin-start: 3px;
width: 10px;
height: 10px;
display: none;
}
.agenda-multiDayEvent-image[type="start"] {
-moz-image-region: rect(0px 20px 10px 10px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="continue"] {
-moz-image-region: rect(0px 30px 10px 20px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="end"] {
-moz-image-region: rect(0px 40px 10px 30px);
display: -moz-box;
}

Просмотреть файл

@ -0,0 +1,59 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
treenode-checkbox {
-moz-box-align: center;
padding-top: 4px;
-moz-padding-start: 4px;
-moz-padding-end: 4px;
font-weight: bold;
}
.checkbox-label-box {
-moz-margin-start: 4px;
}
.checkbox-icon {
-moz-margin-end: 2px;
}
.checkbox-label {
margin: 0 !important;
}
treenode-checkbox > .checkbox-label-center-box > .checkbox-label-box > .checkbox-label {
font-weight: bold;
border-bottom: 1px solid -moz-Dialog;
}
.view-navigation-button {
list-style-image: url(chrome://calendar/skin/widgets/view-navigation.svg);
-moz-user-focus: normal;
}
.view-navigation-button[disabled="true"] {
opacity: .3;
}
.view-navigation-button:-moz-locale-dir(ltr)[type="prev"],
.view-navigation-button:-moz-locale-dir(rtl)[type="next"] {
-moz-transform: scaleX(-1);
}
.view-navigation-button > .toolbarbutton-icon {
margin: 0px !important;
}
.view-navigation-button > .toolbarbutton-text {
display: none;
}
.selected-text {
font-weight: bold;
}
.selected-text:not([selected="true"]),
.unselected-text[selected="true"] {
visibility: hidden;
}

Просмотреть файл

@ -1,82 +1,12 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-daypicker.css);
daypicker {
-moz-binding: url(chrome://calendar/content/calendar-daypicker.xml#daypicker);
list-style-image: url("chrome://calendar/skin/daypicker-background.png");
-moz-image-region: rect(0px 31px 30px 0px);
border-top: 1px solid ThreeDShadow;
border-left: 1px solid ThreeDShadow;
background-color: -moz-Field;
text-align: center;
}
daypicker[mode="monthly-days"] {
width: 21px;
height: 15px;
}
daypicker:hover {
-moz-image-region: rect(0px 62px 30px 31px);
cursor: pointer;
}
daypicker:hover:active,
daypicker[open="true"] {
-moz-image-region: rect(0px 93px 30px 62px);
cursor: pointer;
}
daypicker[disabled="true"],
daypicker[disabled="true"][checked="true"],
daypicker[disabled="true"]:hover,
daypicker[disabled="true"]:hover:active,
daypicker[disabled="true"][open="true"] {
-moz-image-region: rect(0px 31px 30px 0px);
color: GrayText;
cursor: default;
background-color: -moz-Dialog;
}
daypicker[checked="true"] {
-moz-image-region: rect(0px 124px 30px 93px);
background-color: Highlight;
color: HighlightText;
}
daypicker [bottom="true"] {

Просмотреть файл

@ -1,41 +1,10 @@
/* ***** 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 Calendar Management code.
*
* The Initial Developer of the Original Code is
* Philipp Kewisch <mozilla@kewis.ch>
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* 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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-management.css);
calendar-list-tree > tree > treechildren::-moz-tree-image(checkbox-treecol) {
list-style-image: url(chrome://calendar/skin/checkbox-images.png);
-moz-image-region: rect(0 13px 13px 0);
}
@ -47,48 +16,6 @@ calendar-list-tree > tree > treechildren::-moz-tree-image(checkbox-treecol, disa
-moz-image-region: rect(0 39px 13px 26px);
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol, color-default) {
background-color: #a8c2e1;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol) {
margin: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(calendarname-treecol) {
-moz-margin-start: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readonly) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readfailed) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
calendar-list-tree > tree > treechildren::-moz-tree-cell-text(disabled) {
color: GrayText;
}
calendar-list-tree > tree {
border: none;
padding: 0;
margin: 4px 0;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-appearance: none;
}
calendar-list-tree > tree > treecols > treecol[hideheader="true"],
calendar-list-tree > tree > treecols > treecol[hideheader="true"] {
font-size: 0px;
border: none;
padding: 0;
max-height: 0px;
height: 0px;
}

Просмотреть файл

@ -1,40 +1,8 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Philipp Kewisch <mozilla@kewis.ch>
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-task-view.css);
#calendar-task-view-splitter {
-moz-appearance: none;
@ -48,150 +16,37 @@
z-index: 10;
}
#calendar-header-name-column,
#calendar-task-details-attachment-row > hbox {
-moz-padding-start: 0.1em;
}
#calendar-task-details-grid {
padding-top: 1px;
-moz-padding-start: 0;
-moz-padding-end: 0;
padding-bottom: 0.2em;
}
#other-actions-box {
-moz-margin-end: -1px;
padding-bottom: 0.3em;
}
#calendar-task-details {
min-height: 6ex;
}
#task-addition-box {
border-left: 1px solid ThreeDShadow;
border-right: 0px;
border-bottom: 1px solid ThreeDShadow;
}
#calendar-task-details-description {
-moz-appearance: textfield;
border: 1px solid;
margin: 0;
font-family: serif;
font-size: 16px;
}
.task-details-name {
text-align: right;
color: windowtext;
opacity: 0.5; /* lower contrast */
background-color: transparent;
border: none;
}
#calendar-task-details-grid > rows > .item-date-row > .headline {
font-weight: normal;
color: windowtext;
opacity: 0.5; /* lower contrast */
}
#calendar-task-details-attachment-row {
margin-top: 3px;
}
#calendar-task-details-attachment-rows {
max-height: 60px;
}
.task-details-value {
text-align: left;
background-color: transparent;
border: none;
color: WindowText;
}
#calendar-task-tree {
min-height: 98px;
border-left: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDHighlight;
border-right: 1px solid ThreeDHighlight;
}
#calendar-task-tree-detail {
border: 1px solid ThreeDShadow;
margin: 3px;
}
#view-task-edit-field {
margin: 5px;
}
.task-edit-field[readonly="true"] {
color: GrayText;
}
#task-text-filter-field {
margin: 5px;
}
#calendar-task-details-title {
font-weight: bold;
}
#unifinder-task-edit-field {
margin: 3px;
}
#unifinder-todo-tree > .calendar-task-tree {
margin-bottom: 3px;
}
/* ::::: task actions toolbar ::::: */
#task-actions-toolbox {
-moz-appearance: none;
border: none;
}
#task-actions-toolbar {
-moz-appearance: none;
-moz-box-pack: end;
min-height: 0;
padding: 0;
border: none;
}
#task-actions-toolbar toolbarpaletteitem toolbarseparator,
#task-actions-toolbar toolbarseparator {
height: 26px;
}
#task-actions-toolbar toolbarspacer {
height: 20px;
}
window[toolboxId="task-actions-toolbox"] #wrapper-spring {
display: none;
}
window[toolboxId="task-actions-toolbox"] #smallicons,
window[toolboxId="task-actions-toolbox"] button[icon="add"] {
display: none;
}
window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
display: none;
}
#task-actions-toolbox[doCustomization] {
background: grey;
}
#task-actions-toolbox[doCustomization] #task-actions-toolbar {
min-width: 100px;
min-height: 24px;
}
#task-actions-category {
@ -217,13 +72,8 @@ window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
#calendar-add-task-button {
list-style-image: url(chrome://calendar/skin/toolbar-small.png);
-moz-image-region: rect(0px 256px 16px 240px);
-moz-margin-start: 5px;
}
#calendar-add-task-button[disabled="true"] {
-moz-image-region: rect(32px 256px 48px 240px);
}
#calendar-add-task-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}

Просмотреть файл

@ -1,76 +1,8 @@
/* ***** 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>
* Karl Guertin <grayrest@grayrest.com>
* Colin Phillips <colinp@oeone.com>
* ArentJan Banck <ajbanck@planet.nl>
* Eric Belhaire <belhaire@ief.u-psud.fr>
* Mark Swaffer <swaff@fudo.org>
* Christopher Cook <tangent@intraplanar.net>
* Kevin Gerich <webmail@kmgerich.com>
* Matthew Willis <mattwillis@gmail.com>
* Michael Buettner <michael.buettner@sun.com>
* Philipp Kewisch <mozilla@kewis.ch>
* Simon Paquet <bugzilla@babylonsounds.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 **** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* only format Unifinder lists */
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(highpriority) {
font-weight: bold;
}
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(lowpriority) {
font-style: italic;
color: GrayText !important;
background-color: -moz-field;
}
/* workaround to avoid Window Flick */
#unifinder-search-results-tree {
-moz-appearance: none;
background-color: -moz-Field;
color: -moz-FieldText;
min-height: 92px;
border: 0;
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
border-bottom: 1px solid;
border-top: 1px solid;
margin: 0;
}
@import url(chrome://calendar/skin/common/calendar-unifinder.css);
/* restyle splitter-border to match Thunderbird's layout */
#calendar-view-splitter {
@ -85,29 +17,18 @@
z-index: 10;
}
/* added for new id ..... search box ..... */
#unifinder-searchBox {
height: 30px;
background-color: transparent;
}
#bottom-events-box {
border-left: 1px solid ThreeDShadow;
}
/* added for new id ..... search box ..... */
#unifinder-searchBox {
background-color: transparent;
}
.unifinder-closebutton {
list-style-image: url("chrome://global/skin/icons/close.png");
-moz-image-region: rect(0 16px 16px 0);
-moz-appearance: none;
border: none;
padding: 2px;
background: transparent;
}
.unifinder-closebutton:hover {
-moz-image-region: rect(0 32px 16px 16px);
}
.unifinder-closebutton:hover:active {
-moz-image-region: rect(0 48px 16px 32px);
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,153 +1,17 @@
/* ***** 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 Mozilla Calendar code.
*
* The Initial Developer of the Original Code is
* Philipp Kewisch <mozilla@kewis.ch>
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* 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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Bindings */
calendar-alarm-widget {
-moz-binding: url(chrome://calendar/content/widgets/calendar-alarm-widget.xml#calendar-alarm-widget);
}
@import url(chrome://calendar/skin/common/dialogs/calendar-alarm-dialog.css);
menupopup[type="snooze-menupopup"] > arrowscrollbox {
-moz-binding: url(chrome://calendar/content/widgets/calendar-alarm-widget.xml#calendar-snooze-popup);
}
/* Alarm dialog styles */
#alarm-richlist {
margin: 10px;
}
#alarm-actionbar {
min-width: 1px;
margin: 0 5px;
}
/* Alarm widget specific styles */
calendar-alarm-widget {
border-bottom: 1px dotted #C0C0C0;
padding: 6px 7px;
}
calendar-alarm-widget[selected="true"] {
background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png);
background-color: #a2bdd8;
padding: 0 5px;
}
calendar-alarm-widget[selected="true"] .alarm-title-label {
font-weight: bold;
}
calendar-alarm-widget[selected="true"] .alarm-action-buttons {
display: -moz-box;
}
calendar-alarm-widget[selected="true"] > hbox {
margin: 5px;
}
calendar-alarm-widget[selected="true"] .alarm-relative-date-label,
.additional-information-box,
.alarm-action-buttons {
display: none;
}
calendar-alarm-widget[selected="true"] .additional-information-box,
calendar-alarm-widget[selected="true"] .action-buttons-box {
display: -moz-box;
}
.alarm-details-label {
text-decoration: underline;
}
calendar-alarm-widget[selected="true"] .alarm-calendar-image {
list-style-image: url(chrome://calendar/skin/cal-icon32.png);
}
.resizer-box {
min-height: 15px;
}
.snooze-popup-ok-button {
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
.snooze-popup-ok-button:hover {
-moz-image-region: rect(14px, 14px, 28px, 0px);
background-color: -moz-menuhover;
}
.snooze-popup-ok-button:active {
-moz-image-region: rect(28px, 14px, 42px, 0px);
}
.snooze-popup-ok-button[disabled="true"] {
-moz-image-region: rect(42px, 14px, 56px, 0px);
}
.snooze-popup-cancel-button {
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
.snooze-popup-cancel-button:hover {
-moz-image-region: rect(14px, 28px, 28px, 14px);
background-color: -moz-menuhover;
}
.snooze-popup-cancel-button:active {
-moz-image-region: rect(28px, 28px, 42px, 14px);
}
.snooze-popup-button {
list-style-image: url(chrome://calendar/skin/ok-cancel.png);
min-width: 0;
-moz-appearance: toolbarbutton;
}
.snooze-popup-button > .button-box > .button-icon {
margin: 0;
}
.snooze-popup-button > .button-box {
border: 0;
padding: 0;
-moz-box-pack: center;
-moz-box-align: center;
}
.snooze-popup-button:focus > .button-box {
border: 1px dotted ThreeDDarkShadow;
padding: 0;
}

Просмотреть файл

@ -1,45 +1,13 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Markus Adrario <Mozilla@Adrario.de>
* Gianfranco Balza <bv1578@gmail.com>
* Richard Marti <mozilla@paenglab.ch>
*
* 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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#calendar-event-dialog,
#calendar-task-dialog {
padding: 0px;
/*--------------------------------------------------------------------
* Event dialog keep duration button
*-------------------------------------------------------------------*/
#keepduration-button {
min-width: 21px;
}
#event-toolbar {
@ -59,71 +27,6 @@
color: ButtonText;
}
#yearly-period-of-label,
label.label {
text-align: right;
}
#item-calendar,
#item-categories,
#item-repeat,
#item-alarm,
.datepicker-text-class {
min-width: 12em;
}
/*--------------------------------------------------------------------
* Event dialog keep duration button
*-------------------------------------------------------------------*/
#keepduration-button {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-image-region: rect(0px 147px 24px 140px);
padding-top: 3px;
padding-bottom: 3px;
-moz-margin-start: -3px;
margin-bottom: -15px;
position: relative;
-moz-user-focus: normal;
min-width: 21px;
}
#keepduration-button[keep="true"] {
-moz-image-region: rect(0px 139px 24px 132px);
}
#keepduration-button[disabled="true"] {
-moz-image-region: rect(0px 163px 24px 156px);
}
#keepduration-button[keep="true"][disabled="true"] {
-moz-image-region: rect(0px 155px 24px 148px);
}
#keepduration-button > label {
display: none;
}
.keepduration-link-image {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-margin-start: -1px;
}
#link-image-top {
-moz-image-region: rect(7px 174px 14px 164px);
margin-top: 0.6em;
}
#link-image-top[keep="true"]{
-moz-image-region: rect(0px 174px 7px 164px);
}
#link-image-bottom {
-moz-image-region: rect(0px 184px 7px 174px);
margin-bottom: 0.6em;
}
#timezone-endtime {
-moz-margin-start: 16px;
}
@ -300,417 +203,6 @@ toolbar[iconsize="small"] #button-question:hover {
-moz-image-region: rect(16px 384px 32px 368px);
}
/*--------------------------------------------------------------------
* Event dialog statusbar images
*-------------------------------------------------------------------*/
.cal-statusbar-1 {
-moz-box-orient: vertical;
min-width: 0px;
list-style-image: url("chrome://calendar/skin/calendar-event-dialog.png");
}
/*--------------------------------------------------------------------
* privacy "public" image
*-------------------------------------------------------------------*/
#button-privacy-public {
-moz-image-region: rect(0px 28px 16px 0px);
}
/*--------------------------------------------------------------------
* privacy "private" image
*-------------------------------------------------------------------*/
#button-privacy-private {
-moz-image-region: rect(0px 56px 16px 28px);
}
/*--------------------------------------------------------------------
* privacy "confidential" image
*-------------------------------------------------------------------*/
#button-privacy-confidential {
-moz-image-region: rect(0px 84px 16px 56px);
}
/*--------------------------------------------------------------------
* importance "low" image
*-------------------------------------------------------------------*/
#button-importance-low {
-moz-image-region: rect(0px 100px 16px 84px);
}
/*--------------------------------------------------------------------
* importance "medium" image
*-------------------------------------------------------------------*/
#button-importance-medium {
-moz-image-region: rect(0px 116px 16px 100px);
}
/*--------------------------------------------------------------------
* importance "high" image
*-------------------------------------------------------------------*/
#button-importance-high {
-moz-image-region: rect(0px 132px 16px 116px);
}
/*--------------------------------------------------------------------
* Recurrence dialog preview border
*-------------------------------------------------------------------*/
#preview-border {
border: none;
padding: 0px;
}
/*--------------------------------------------------------------------
* freebusy
*-------------------------------------------------------------------*/
#freebusy-container {
overflow: hidden;
min-width: 100px;
}
#freebusy-grid {
min-width: 1px;
}
#calendar-summary-dialog {
min-width: 35em;
}
listbox[disabled="true"] {
color: -moz-FieldText;
}
daypicker-weekday {
margin-top: 2px;
}
daypicker-monthday {
margin-top: 2px;
}
.headline {
font-weight: bold;
}
.headline[align=end],
.headline[align=right]{
text-align: right;
}
.default-spacer {
width: 1em;
height: 1em;
}
.default-indent {
-moz-margin-start: 1.5em;
}
/*--------------------------------------------------------------------
* Attendees Dialog
*-------------------------------------------------------------------*/
.listbox-noborder {
margin: 0px 0px;
border-style: none;
}
.selection-bar {
background-color: #008080;
opacity: 0.2;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.freebusy-container {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
.freebusy-content {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
/* -moz-margin-end 1px is needed to take border-right from the grid elements into account */
.freebusy-timebar-title {
-moz-margin-end: 1px;
}
.freebusy-timebar-hour {
-moz-margin-end: 1px;
margin-bottom: 5px;
}
.freebusy-timebar-hour[scheduled="true"] {
/* the 'sechuled'-attribute is used in the timebar to indicate
which hours are affected of the currently schedued event.
since we added the selection-bar this is no longer necessary
but we keep the possibity to decorate those hours if it should
become beneficial.
text-decoration: underline;
*/
}
.freebusy-grid {
border-right: 1px solid #BDBEC0;
background-color: #E09EBD;
color: #E09EBD;
min-height: 16px;
}
.freebusy-grid[state="busy"] {
background-color: #153E7E;
color: #153E7E;
}
.freebusy-grid[state="busy_tentative"] {
background-color: #1589FF;
color: #1589FF;
}
.freebusy-grid[state="busy_unavailable"] {
background-color: #4E387E;
color: #4E387E;
}
.freebusy-grid[state="free"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
#dialog-box {
padding-top: 8px;
padding-bottom: 10px;
-moz-padding-start: 8px;
-moz-padding-end: 10px;
}
#addressingWidget {
-moz-user-focus: none;
}
#typecol-addressingWidget {
min-width: 9em;
border-right: 1px solid #CACAFF;
}
/* This applies to rows of the attendee-list and the freebusy-grid */
.addressingWidgetItem,
.dummy-row {
border: none !important;
background-color: inherit !important;
color: inherit !important;
/* we set the minimal height to the height of the
largest icon [the person-icon in this case] to
ensure that the rows of the freebusy-grid and
the attendee-list always have the same height,
regardless of the font size. */
min-height: 16px;
}
.addressingWidgetCell {
border-bottom: 1px solid #CACAFF;
padding: 0px;
}
.addressingWidgetCell:first-child {
border-top: none;
}
.dummy-row-cell:first-child {
border-top: none;
border-bottom: 1px solid #CACAFF;
}
.person-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/abcard.png);
}
.status-icon > .menu-iconic-left {
visibility: inherit;
}
.status-icon {
margin: 0 3px;
list-style-image: url("chrome://calendar/skin/calendar-event-dialog-attendees.png");
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.status-icon[status="ACCEPTED"] {
-moz-image-region: rect(0px 12px 14px 0px);
}
.status-icon[status="ACCEPTED"][disabled="true"] {
-moz-image-region: rect(14px 12px 28px 0px);
}
.status-icon[status="DECLINED"] {
-moz-image-region: rect(0px 24px 14px 12px);
}
.status-icon[status="DECLINED"][disabled="true"] {
-moz-image-region: rect(14px 24px 28px 12px);
}
.status-icon[status="NEEDS-ACTION"] {
-moz-image-region: rect(0px 36px 14px 24px);
}
.status-icon[status="NEEDS-ACTION"][disabled="true"] {
-moz-image-region: rect(14px 36px 28px 24px);
}
.status-icon[status="TENTATIVE"] {
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[status="TENTATIVE"][disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.role-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="OPT-PARTICIPANT"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="OPT-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="CHAIR"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="CHAIR"][disabled="true"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="NON-PARTICIPANT"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.role-icon[role="NON-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.zoom-in-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 97px 14px 84px);
}
.zoom-in-icon[disabled="true"] {
-moz-image-region: rect(14px 97px 28px 84px);
}
.zoom-out-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 110px 14px 97px);
}
.zoom-out-icon[disabled="true"] {
-moz-image-region: rect(14px 110px 28px 97px);
}
.left-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 124px 14px 110px);
}
.left-icon[disabled="true"] {
-moz-image-region: rect(14px 124px 28px 110px);
}
.right-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 138px 14px 124px);
}
.right-icon[disabled="true"] {
-moz-image-region: rect(14px 138px 28px 124px);
}
.legend {
width: 3em;
height: 1em;
border-top: 1px solid #A1A1A1;
border-right: 1px solid #C3C3C3;
border-bottom: 1px solid #DDDDDD;
border-left: 1px solid #C3C3C3;
}
.legend[status="FREE"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
.legend[status="BUSY"] {
background-color: #153E7E;
color: #153E7E;
}
.legend[status="BUSY_TENTATIVE"] {
background-color: #1589FF;
color: #1589FF;
}
.legend[status="BUSY_UNAVAILABLE"] {
background-color: #4E387E;
color: #4E387E;
}
.legend[status="UNKNOWN"] {
background-color: #E09EBD;
color: #E09EBD;
}
#content-frame {
border-left: 1px solid ThreeDDarkShadow;
border-right: 1px solid ThreeDLightShadow;
min-width: 10px;
min-height: 10px;
height: 400px;
}
.attendees-list-listbox > listboxbody {
overflow-y: hidden !important;
}
.selection-bar-left {
width: 3px;
cursor: w-resize;
}
.selection-bar-right {
width: 3px;
cursor: e-resize;
}
.selection-bar-spacer {
cursor: -moz-grab;
}
.checkbox-no-label > .checkbox-label-box {
display: none;
}

Просмотреть файл

@ -1,91 +1,17 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Berend Cornelius <berend.cornelius@sun.com>
* Lars Wohlfahrt <thetux.moz@googlemail.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
.today-subpane {
border-color: ThreeDShadow;
border-style: solid;
border-width: 1px 0;
margin-bottom: 3px;
padding: 0px;
}
#buttonspacer {
width: 5px;
}
@import url(chrome://calendar/skin/common/today-pane.css);
#today-pane-panel {
background-color: -moz-Dialog;
border-bottom: 1px solid ThreeDShadow;
}
#today-pane-panel:-moz-lwtheme {
background-color: transparent;
}
#today-pane-panel > * {
color: -moz-DialogText;
}
#today-pane-panel:-moz-lwtheme > sidebarheader {
color: inherit;
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 19px);
}
#agenda-panel:-moz-lwtheme > vbox,
#today-pane-splitter:-moz-lwtheme,
#todo-tab-panel:-moz-lwtheme {
background-color: -moz-Dialog;
}
#today-pane-panel:-moz-lwtheme > vbox {
text-shadow: none;
background-color: -moz-Dialog;
}
#mini-day-image {
background-image: -moz-linear-gradient(transparent, transparent 48%,
rgba(0, 0, 0, .02) 52%, rgba(0, 0, 0, .1));
}
#mini-day-box,
#today-minimonth-box {
background-color: -moz-field;
}
#today-pane-splitter {
-moz-appearance: none;
border-bottom: 1px solid ThreeDShadow;
@ -98,30 +24,8 @@
z-index: 10;
}
#weekdayNameContainer {
font-family: Trebuchet MS, Lucida Grande, Arial, Helvetica;
padding-top: 4px;
font-weight: bold;
font-size: 18px;
}
.monthlabel {
-moz-margin-end: 0px;
}
.dateValue {
font-family: Arial, Helvetica, Trebuchet MS, Lucida Grande, sans-serif;
margin-top: 0px;
padding-top: 0px;
font-size: 36px;
font-weight: bold;
}
.miniday-nav-buttons {
margin-top: 2px;
max-width: 19px;
min-width: 19px;
-moz-user-focus: normal;
}
#next-day-button > .toolbarbutton-icon {
@ -133,7 +37,6 @@
}
#today-button {
list-style-image: url("chrome://calendar/skin/widgets/nav-today.svg");
max-width: none;
}
@ -141,65 +44,22 @@
list-style-image: url("chrome://calendar/skin/widgets/nav-today-hov.svg");
}
.miniday-nav-buttons[disabled] {
opacity: .3;
}
.miniday-nav-buttons > .toolbarbutton-icon {
margin: 1px;
}
#miniday-dropdown-button {
margin: 2px;
max-width: 18px;
-moz-user-focus: normal;
}
#miniday-dropdown-button > .toolbarbutton-icon,
#miniday-dropdown-button > .toolbarbutton-text,
.miniday-nav-buttons > .toolbarbutton-text {
display: none;
}
#miniday-dropdown-button > .toolbarbutton-menu-dropmarker {
-moz-padding-start: 0;
}
.today-closebutton {
list-style-image: url("chrome://global/skin/icons/close.png");
-moz-image-region: rect(0 16px 16px 0);
-moz-appearance: none;
border: none !important;
padding: 2px;
}
.today-closebutton:hover {
-moz-image-region: rect(0 32px 16px 16px);
}
.today-closebutton:hover:active {
-moz-image-region: rect(0 48px 16px 32px);
}
.today-closebutton > .toolbarbutton-icon {
-moz-margin-end: 0px; /* override toolkit's default value */
}
#agenda-toolbar {
border: none;
padding: 1px;
}
#todaypane-new-event-button {
-moz-user-focus: normal;
}
#todaypane-new-event-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}
#todaypane-new-event-button {
list-style-image: url("chrome://calendar/skin/toolbar-small.png");
-moz-image-region: rect(0px 16px 16px 0px);
}
#todaypane-new-event-button[disabled="true"],
@ -210,117 +70,3 @@
#todaypane-new-event-button:hover {
-moz-image-region: rect(16px 16px 32px 0px);
}
#agenda-listbox {
-moz-user-focus: normal;
margin: 3px;
}
agenda-checkbox-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item");
-moz-user-focus: normal;
}
agenda-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
agenda-allday-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-allday-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
.agenda-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
.agenda-allday-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 4px;
padding-bottom: 4px;
}
.agenda-container-box[selected="true"],
.agenda-allday-container-box[selected="true"],
.agenda-checkbox[selected="true"],
.agenda-container-box[selected="true"][current="true"],
.agenda-allday-container-box[selected="true"][current="true"],
.agenda-checkbox[selected="true"][current="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #FDF5A0;
color: #000000;
}
.agenda-container-box[current="true"],
.agenda-alldaycontainer-box[current="true"],
.agenda-checkbox[current="true"],
.agenda-container-box[selected="true"][current="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][current="true"][disabled="true"],
.agenda-checkbox[selected="true"][current="true"][disabled="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #DFEAF4;
}
.agenda-container-box[selected="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][disabled="true"],
.agenda-checkbox[selected="true"][disabled="true"] {
background-image: none;
color: -moz-dialogText;
background-color: -moz-dialog;
}
.agenda-event-title {
margin-top: 0px;
}
.agenda-event-start {
margin-bottom: 0px;
}
.agenda-new-date {
width: 15px;
height: 15px;
border: 1px solid grey;
cursor: pointer;
}
.agenda-calendar-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-image-region: rect(0px 10px 10px 0px);
margin-top: 3px;
-moz-margin-start: 4px;
width: 10px;
height: 10px;
}
.agenda-multiDayEvent-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-margin-start: 3px;
width: 10px;
height: 10px;
display: none;
}
.agenda-multiDayEvent-image[type="start"] {
-moz-image-region: rect(0px 20px 10px 10px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="continue"] {
-moz-image-region: rect(0px 30px 10px 20px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="end"] {
-moz-image-region: rect(0px 40px 10px 30px);
display: -moz-box;
}

Просмотреть файл

@ -1,64 +1,8 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2008
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
treenode-checkbox {
-moz-box-align: center;
padding-top: 4px;
-moz-padding-start: 4px;
-moz-padding-end: 4px;
font-weight: bold;
}
.checkbox-label-box {
-moz-margin-start: 4px;
}
.checkbox-icon {
-moz-margin-end: 2px;
}
.checkbox-label {
margin: 0 !important;
}
treenode-checkbox > .checkbox-label-center-box > .checkbox-label-box > .checkbox-label {
font-weight: bold;
border-bottom: 1px solid -moz-Dialog;
}
@import url(chrome://calendar/skin/common/widgets/calendar-widgets.css);
treenode-checkbox[checked="true"] > .checkbox-check {
background-image: url(chrome://global/skin/tree/twisty-open.png);
@ -81,32 +25,10 @@ calendar-list-tree .tree-scrollable-columns {
-moz-padding-start: 18px;
}
.view-navigation-button {
list-style-image: url(chrome://calendar/skin/widgets/view-navigation.svg);
-moz-user-focus: normal;
}
.view-navigation-button:hover {
list-style-image: url(chrome://calendar/skin/widgets/view-navigation-hov.svg);
}
.view-navigation-button[disabled="true"] {
opacity: .3;
}
.view-navigation-button:-moz-locale-dir(ltr)[type="prev"],
.view-navigation-button:-moz-locale-dir(rtl)[type="next"] {
-moz-transform: scaleX(-1);
}
.view-navigation-button > .toolbarbutton-icon {
margin: 0px !important;
}
.view-navigation-button > .toolbarbutton-text {
display: none;
}
.toolbarbutton-icon-begin {
-moz-margin-end: 5px;
}
@ -114,12 +36,3 @@ calendar-list-tree .tree-scrollable-columns {
.toolbarbutton-icon-end {
-moz-margin-start: 5px;
}
.selected-text {
font-weight: bold;
}
.selected-text:not([selected="true"]),
.unselected-text[selected="true"] {
visibility: hidden;
}

Просмотреть файл

@ -1,82 +1,12 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-daypicker.css);
daypicker {
-moz-binding: url(chrome://calendar/content/calendar-daypicker.xml#daypicker);
list-style-image: url("chrome://calendar/skin/daypicker-background.png");
-moz-image-region: rect(0px 31px 30px 0px);
border-top: 1px solid #808080;
border-left: 1px solid #808080;
background-color: -moz-Field;
text-align: center;
}
daypicker[mode="monthly-days"] {
width: 21px;
height: 15px;
}
daypicker:hover {
-moz-image-region: rect(0px 62px 30px 31px);
cursor: pointer;
}
daypicker:hover:active,
daypicker[open="true"] {
-moz-image-region: rect(0px 93px 30px 62px);
cursor: pointer;
}
daypicker[disabled="true"],
daypicker[disabled="true"][checked="true"],
daypicker[disabled="true"]:hover,
daypicker[disabled="true"]:hover:active,
daypicker[disabled="true"][open="true"] {
-moz-image-region: rect(0px 31px 30px 0px);
color: GrayText;
cursor: default;
background-color: -moz-Dialog;
}
daypicker[checked="true"] {
-moz-image-region: rect(0px 124px 30px 93px);
background-color: Highlight;
color: HighlightText;
}
daypicker [bottom="true"] {

Просмотреть файл

@ -1,41 +1,10 @@
/* ***** 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 Calendar Management code.
*
* The Initial Developer of the Original Code is
* Philipp Kewisch <mozilla@kewis.ch>
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* 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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-management.css);
calendar-list-tree > tree > treechildren::-moz-tree-image(checkbox-treecol) {
list-style-image: url(chrome://calendar/skin/checkbox-images.png);
-moz-image-region: rect(0 16px 16px 0);
}
@ -47,52 +16,10 @@ calendar-list-tree > tree > treechildren::-moz-tree-image(checkbox-treecol, disa
-moz-image-region: rect(0 48px 16px 32px);
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol, color-default) {
background-color: #a8c2e1;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(checkbox-treecol) {
padding: 0;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol) {
margin: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(calendarname-treecol) {
-moz-margin-start: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readonly) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readfailed) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
calendar-list-tree > tree {
border: none;
padding: 0;
margin: 4px 0;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-appearance: none;
}
calendar-list-tree > tree > treecols > treecol[hideheader="true"],
calendar-list-tree > tree > treecols > treecol[hideheader="true"] {
font-size: 0px;
border: none;
padding: 0;
max-height: 0px;
height: 0px;
}
calendar-list-tree treechildren::-moz-tree-row(selected) {
background: url(chrome://calendar/skin/sidebar-item.png) 0 0 repeat-x #90A0C0;
}

Просмотреть файл

@ -1,187 +1,40 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Philipp Kewisch <mozilla@kewis.ch>
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-task-view.css);
#calendar-task-details-container {
overflow: hidden;
}
#calendar-header-name-column,
#calendar-task-details-attachment-row > hbox {
-moz-padding-start: 0.1em;
}
#calendar-task-details-grid {
padding-top: 1px;
-moz-padding-start: 0;
-moz-padding-end: 0;
padding-bottom: 0.2em;
}
#other-actions-box {
-moz-margin-end: 3px;
padding-bottom: 0.3em;
}
#calendar-task-details {
min-height: 6ex;
}
#task-addition-box {
border-left: 1px solid ThreeDShadow;
border-right: 0px;
border-bottom: 1px solid ThreeDShadow;
background: -moz-linear-gradient(top, #eaeaea, #d1d1d1);
}
#calendar-task-details-description {
-moz-appearance: textfield;
border: 1px solid;
margin: 0;
font-family: serif;
font-size: 16px;
}
.task-details-name {
text-align: right;
color: #888a85; /* lower contrast */
background-color: transparent;
border: none;
}
#calendar-task-details-grid > rows > .item-date-row > .headline {
font-weight: normal;
color: #888a85; /* lower contrast */
}
#calendar-task-details-attachment-row {
margin-top: 3px;
}
#calendar-task-details-attachment-rows {
max-height: 60px;
}
.task-details-value {
text-align: left;
background-color: transparent;
border: none;
color: black;
}
#calendar-task-tree {
min-height: 98px;
border-left: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDHighlight;
border-right: 1px solid ThreeDHighlight;
}
#calendar-task-tree-detail {
border: 1px solid ThreeDShadow;
margin: 3px;
}
#view-task-edit-field {
margin: 5px;
}
.task-edit-field[readonly="true"] {
color: GrayText;
}
#task-text-filter-field {
margin: 4px 5px;
}
#calendar-task-details-title {
font-weight: bold;
}
#unifinder-task-edit-field {
margin: 3px;
}
#unifinder-todo-tree > .calendar-task-tree {
margin-bottom: 3px;
}
/* ::::: task actions toolbar ::::: */
#task-actions-toolbox {
border: none;
}
#task-actions-toolbar {
-moz-appearance: none;
-moz-box-pack: end;
min-width: 50px !important;
min-height: 14px !important;
border: none;
}
#task-actions-toolbar toolbarpaletteitem toolbarseparator,
#task-actions-toolbar toolbarseparator {
height: 26px;
}
#task-actions-toolbar toolbarspacer {
height: 20px;
}
window[toolboxId="task-actions-toolbox"] #wrapper-spring {
display: none;
}
window[toolboxId="task-actions-toolbox"] #smallicons,
window[toolboxId="task-actions-toolbox"] button[icon="add"] {
display: none;
}
window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
display: none;
}
#task-actions-toolbox[doCustomization] {
background: grey;
}
#task-actions-toolbox[doCustomization] #task-actions-toolbar {
min-width: 100px;
min-height: 24px;
}
#task-actions-category {
@ -206,13 +59,8 @@ window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
#calendar-add-task-button {
list-style-image: url(chrome://calendar/skin/toolbar-small.png);
-moz-image-region: rect(0px 384px 24px 360px);
-moz-margin-start: 5px;
}
#calendar-add-task-button[disabled="true"] {
-moz-image-region: rect(48px 384px 72px 360px);
}
#calendar-add-task-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}

Просмотреть файл

@ -1,95 +1,13 @@
/* ***** 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>
* Karl Guertin <grayrest@grayrest.com>
* Colin Phillips <colinp@oeone.com>
* ArentJan Banck <ajbanck@planet.nl>
* Eric Belhaire <belhaire@ief.u-psud.fr>
* Mark Swaffer <swaff@fudo.org>
* Christopher Cook <tangent@intraplanar.net>
* Kevin Gerich <webmail@kmgerich.com>
* Matthew Willis <mattwillis@gmail.com>
* Michael Buettner <michael.buettner@sun.com>
* Philipp Kewisch <mozilla@kewis.ch>
* Simon Paquet <bugzilla@babylonsounds.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 **** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* only format Unifinder lists */
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(highpriority) {
font-weight: bold;
}
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(lowpriority) {
font-style: italic;
color: GrayText !important;
background-color: -moz-field;
}
/* workaround to avoid Window Flick */
#unifinder-search-results-tree {
-moz-appearance: none;
background-color: -moz-Field;
color: -moz-FieldText;
min-height: 92px;
border: 0;
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
border-bottom: 1px solid;
border-top: 1px solid;
margin: 0;
}
@import url(chrome://calendar/skin/common/calendar-unifinder.css);
/* added for new id ..... search box ..... */
#unifinder-searchBox {
background: -moz-linear-gradient(top, #eaeaea, #d1d1d1);
border-bottom: 1px solid #bebebe;
height: 30px;
}
.unifinder-closebutton {
list-style-image: url("chrome://global/skin/icons/close.png");
-moz-image-region: rect(0, 16px, 16px, 0);
}
.unifinder-closebutton:hover {
-moz-image-region: rect(0, 32px, 16px, 16px);
}
.unifinder-closebutton:hover:active {
-moz-image-region: rect(0, 48px, 16px, 32px);
}
.unifinder-closebutton > .toolbarbutton-text {

Просмотреть файл

@ -1,722 +1,22 @@
/* ***** 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 Calendar view code.
*
* The Initial Developer of the Original Code is
* Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Vladimir Vukicevic <vladimir@pobox.com>
* Joey Minta <jminta@gmail.com>
* Michiel van Leeuwen <mvl@exedo.nl>
* Philipp Kewisch <mozilla@kewis.ch>
* Markus Adrario <MarkusAdrario@web.de>
* Simon Paquet <bugzilla@babylonsounds.com>
* Berend Cornelius <berend.cornelius@sun.com>
* Christian Jansen <christian.jansen@sun.com>
* Gianfranco Balza <bv1578@gmail.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Core */
calendar-category-box:not([categories]) {
display: none;
}
.calendar-category-box-gradient {
width: 7px;
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.38), transparent) !important;
border-left: 1px solid rgba(255, 255, 255, 0.38);
}
.calendar-item-image {
list-style-image: url(chrome://calendar/skin/day-box-item-image.png);
padding-top: 2px;
padding-bottom: 2px;
-moz-margin-end: 4px;
display: none;
}
.calendar-item-image[itemType="todo"] {
-moz-image-region: rect(0px 11px 11px 0px);
display: -moz-box;
}
.calendar-item-image[itemType="todo"][progress="completed"] {
-moz-image-region: rect(0px 22px 11px 11px);
}
/* Multiday view */
/* Margin that allows event creation by click and drag when the time slot is
full of events. On the right side in normal view ... */
.multiday-column-box-stack > .multiday-column-top-box[orient="horizontal"] {
-moz-margin-end: 5px;
}
/* ... and on bottom in rotate view. */
.multiday-column-box-stack > .multiday-column-top-box[orient="vertical"] {
margin-bottom: 5px;
}
/* .. and on the right side in the header container in normal view */
calendar-header-container:not([rotated]) {
padding-right: 6px;
padding-left: 1px;
}
/* ... and on the bottom in rotated view. */
calendar-header-container[rotated] {
padding-top: 1px;
padding-bottom: 5px;
}
@import url(chrome://calendar/skin/common/calendar-views.css);
calendar-event-column {
-moz-user-focus: normal;
background-color: #FFFFFF;
}
calendar-event-column[orient="horizontal"] {
border-top: 1px solid #D2D2D2;
}
calendar-event-column[orient="vertical"] {
border-left: 1px solid #D2D2D2;
}
calendar-event-column[orient="horizontal"][relation="today"] {
border-top: 1px solid #67ACD8;
border-bottom: 1px solid #67ACD8;
margin-bottom: -1px;
position: relative;
}
calendar-event-column[orient="vertical"][relation="today"] {
border-left: 1px solid #67ACD8;
border-right: 1px solid #67ACD8;
-moz-margin-end: -1px;
position: relative;
}
calendar-header-container {
background-color: #FFFFFF;
border-left: 1px solid #D2D2D2;
}
calendar-header-container[rotated] {
max-width: 150px;
}
calendar-header-container[weekend="true"],
.calendar-event-column-linebox[weekend="true"] {
background-color: #F7FFE3;
}
.calendar-event-column-linebox[off-time="true"] {
background-color: #F3F3F3;
}
.calendar-event-column-linebox[off-time="true"][weekend="true"] {
background-color: #EAF7CA;
}
calendar-header-container[relation="today"],
.calendar-event-column-linebox[relation="today"],
calendar-day-label[orient][relation="today"] {
background-color: #E1F0FD;
}
calendar-header-container[relation="today"] {
border-left: 1px solid #7FB9EE;
border-right: 1px solid #7FB9EE;
-moz-margin-end: -1px;
position: relative;
}
calendar-header-container[relation="today"][rotated="true"] {
border-top: 1px solid #7FB9EE;
border-bottom: 1px solid #7FB9EE !important;
border-right: 1px solid #D2D2D2;
margin-top: -1px;
position: relative;
}
calendar-header-container[selected="true"],
.calendar-event-column-linebox[selected="true"] {
background-color: #FFFCD8;
}
calendar-header-container[weekend="true"][relation="today"],
.calendar-event-column-linebox[weekend="true"][relation="today"] {
background-color: #E1F0FD;
}
.calendar-event-column-linebox[off-time="true"][relation="today"] {
background-color: #D7E8F8;
}
.multiday-view-header-day-box[orient="vertical"] .calendar-event-column-header {
border-bottom: 1px solid #D2D2D2;
min-width: 100px;
}
calendar-header-container[weekend="true"][selected="true"],
.calendar-event-column-linebox[weekend="true"][selected="true"] {
background-color: #FFFCD8;
}
.calendar-event-column-linebox[off-time="true"][selected="true"] {
background-color: #F2EDB2;
}
.calendar-event-column-linebox[orient="horizontal"] {
border-right: 1px solid #D2D2D2;
}
.calendar-event-column-linebox[orient="vertical"] {
border-bottom: 1px solid #D2D2D2;
}
.calendar-event-column-linebox[orient="horizontal"][relation="today"]:last-child {
border-right: 1px solid #67ACD8;
}
.calendar-event-column-linebox[orient="vertical"][relation="today"]:last-child {
border-bottom: 1px solid #67ACD8;
}
/* Make sure we extend the bold line separating scrollable and non-scrollable
areas over the timebar. */
.multiday-view-header-time-spacer[orient="horizontal"] {
border-bottom: 2px solid #D2D2D2;
border-right: 2px solid #D2D2D2;
-moz-border-right-colors: #FFFFFF #D2D2D2;
}
.multiday-view-header-time-spacer[orient="vertical"] {
border-right: 2px solid #D2D2D2;
-moz-border-right-colors: #D2D2D2 #D2D2D2;
}
.multiday-view-label-box[orient="horizontal"] > .multiday-view-label-time-spacer {
border-right: 2px solid #D2D2D2;
-moz-border-right-colors: #FFFFFF #D2D2D2;
}
.multiday-view-header-day-box[orient="horizontal"] {
border-right: 1px solid #D2D2D2;
border-bottom: 2px solid #D2D2D2;
overflow-x: hidden;
overflow-y: auto;
max-height: 120px;
}
.multiday-view-header-day-box[orient="horizontal"][todaylastinview="true"] {
border-right: 1px solid #67ACD8;
}
/* Make sure the box for day-labels appears to end before the scrollbar. */
.multiday-view-label-day-box[orient="horizontal"] {
border-top: 1px solid #D2D2D2;
border-right: 1px solid #D2D2D2;
}
.multiday-view-label-day-box[orient="vertical"] {
border-top: 1px solid #D2D2D2;
}
.multiday-view-header-day-box[orient="vertical"] {
border-top: 1px solid #D2D2D2;
border-right: 2px solid #D2D2D2;
}
/* Make sure to have a border between the edge of the views and the scrollbar. */
.multiday-view-day-box {
border-right: 1px solid #D2D2D2;
border-bottom: 1px solid #D2D2D2;
}
.fgdragbox {
-moz-box-orient: inherit;
display: none;
}
.fgdragbox[dragging="true"] {
display: -moz-box;
background-image: -moz-linear-gradient(top, #fe4b22, #feb822);
border: 5px #ffffff;
opacity: 0.5;
}
.fgdragcontainer {
-moz-box-orient: inherit;
display: none;
}
.fgdragcontainer[dragging="true"] {
display: -moz-box;
/* This is a workaround for a stack bug and display: hidden in underlying
* elements -- the display: hidden bits get misrendered as being on top.
* Setting an opacity here forces a view to be created for this element, too.
*/
opacity: 0.9999;
}
.fgdragbox-label {
font-weight: bold;
text-align: center;
overflow: hidden;
}
.calendar-event-box-container {
padding: 0;
overflow: hidden;
margin: 1px;
}
.calendar-event-box-container[categories] {
-moz-margin-end: 0px;
}
.calendar-event-details {
-moz-padding-start: 2px;
overflow: hidden;
}
.calendar-event-details-core {
width: 0px;
margin: 0px;
overflow: hidden;
}
.calendar-event-name-textbox {
background: transparent !important;
color: inherit;
}
calendar-event-box {
border: 1px solid transparent;
}
calendar-month-day-box-item[selected="true"] .calendar-color-box,
calendar-event-box[selected="true"] .calendar-color-box,
calendar-editable-item[selected="true"] .calendar-color-box {
color: #000000 !important;
background-color: #FDF5A0 !important;
-moz-box-shadow: 1px 2px 5px rgba(30, 20, 0, 0.6);
}
/* RTL styles for the main box and children */
.multiday-view-main-box {
direction: ltr;
}
.multiday-view-label-day-box:-moz-locale-dir(rtl) {
direction: rtl;
}
/* headers horizontal, times vertical */
.multiday-view-label-box[orient="horizontal"] {
height: 10px;
}
.multiday-view-header-box[orient="horizontal"] {
min-height: 30px;
}
.multiday-view-label-box[orient="horizontal"] > .multiday-view-label-time-spacer,
.multiday-view-header-box[orient="horizontal"] > .multiday-view-header-time-spacer,
calendar-time-bar[orient="vertical"] {
width: 10ex; /* space for "11:00 AM" */
}
/* headers vertical, times horizonal */
.view-label-box[orient="vertical"] {
width: 30px;
}
.view-header-box[orient="vertical"] {
width: 40px;
}
.multiday-view-label-box[orient="vertical"] > .multiday-view-label-time-spacer,
.multiday-view-header-box[orient="vertical"] > .multiday-view-header-time-spacer {
height: 40px;
}
calendar-time-bar[orient="horizontal"] {
height: 40px;
}
/** Start time bar **/
.calendar-time-bar-label {
font-size: 1em;
margin: 2px 2px;
}
.calendar-time-bar-box-odd,
.calendar-time-bar-box-even {
color: #6A6969;
background-color: #FFFFFF;
text-align: right;
overflow: hidden;
}
.calendar-time-bar-box-odd[off-time="true"] ,
.calendar-time-bar-box-even[off-time="true"] {
background-color: #F0F0F0;
border-right: 2px solid #D2D2D2;
-moz-border-right-colors: #FFFFFF #D2D2D2;
}
.calendar-time-bar-box-odd[orient="horizontal"],
.calendar-time-bar-box-even[orient="horizontal"] {
border-right: 1px solid #D2D2D2;
border-top: 1px solid #D2D2D2;
-moz-border-right-colors: none;
}
.calendar-time-bar-box-odd[orient="vertical"],
.calendar-time-bar-box-even[orient="vertical"] {
border-bottom: 1px transparent !important;
border-right: 2px solid #D2D2D2;
-moz-border-right-colors: #FFFFFF #D2D2D2;
}
/** End time bar **/
calendar-multiday-view {
background-color: #FFFFFF;
padding: 0px;
}
calendar-multiday-view[hidden="true"] {
display: none;
}
calendar-day-label {
color: #000000;
background-color: white;
background-image: -moz-linear-gradient(top, #fafafa, #eeeeee);
border-left: 1px solid #D2D2D2;
border-bottom: 1px solid #D2D2D2;
}
calendar-day-label[selected="true"] {
background-color: #FFFABC !important;
}
calendar-day-label[orient="vertical"] {
background-image: none;
min-width: 100px;
}
calendar-day-label[orient="vertical"][relation="today"],
calendar-day-label[orient="vertical"][relation="today1day"] {
background-color: #D2E3F3 !important;
}
calendar-day-label[relation="today"],
calendar-day-label[relation="today1day"] {
border: 1px solid #67ACD8;
-moz-margin-end: -1px;
margin-top: -1px;
position: relative;
}
.calendar-day-label-name {
text-align: center;
}
.calendar-day-label-name[relation="today"],
.calendar-day-label-name[relation="today1day"] {
font-weight: bold;
}
/* Month View */
calendar-month-view,
calendar-multiweek-view {
padding: 0px 2px 2px;
}
.calendar-month-view-grid-column {
min-width: 1px;
width: 1px;
}
.calendar-month-view-grid-row {
min-height: 1px;
height: 1px;
border-right: 1px solid #D2D2D2;
}
calendar-month-day-box {
border:none !important;
border-left: 1px solid #D2D2D2 !important;
border-bottom: 1px solid #D2D2D2 !important;
}
.calendar-month-day-box-items-box {
overflow-y: auto;
overflow-x: hidden;
}
.calendar-month-day-box-current-month {
background-color: #FFFFFF;
}
.calendar-month-day-box-current-month .calendar-month-day-box-date-label {
background-color: #F7F7F7;
}
.calendar-month-day-box-day-off {
background-color: #F7FFE3;
}
.calendar-month-day-box-day-off .calendar-month-day-box-date-label {
background-color: #EAF7CA;
}
.calendar-month-day-box-other-month {
background-color: #F3F3F3;
}
.calendar-month-day-box-other-month .calendar-month-day-box-date-label {
background-color: #E8E8E8;
}
.calendar-month-day-box-other-month.calendar-month-day-box-day-off {
background-color: #E8E8E8;
}
.calendar-month-day-box-other-month.calendar-month-day-box-day-off .calendar-month-day-box-date-label {
background-color: #DDDDDD;
}
.calendar-month-day-box-current-month[relation="today"],
.calendar-month-day-box-day-off[relation="today"],
.calendar-month-day-box-other-month[relation="today"] {
background-color: #E1F0FD;
border: 1px solid #7FB9EE !important;
-moz-margin-end: -1px !important;
margin-top: -1px !important;
position: relative;
}
.calendar-month-day-box-date-label[relation="today"] {
background-color: #D2E3F3;
font-weight: bold;
}
.calendar-month-day-box-current-month[selected="true"],
.calendar-month-day-box-day-off[selected="true"],
.calendar-month-day-box-other-month[selected="true"] {
background-color: #FFFCD8;
}
.calendar-month-day-box-date-label[selected="true"] {
background-color: #F2EDB2;
}
.calendar-month-day-box-date-label[relation="today"][selected="true"] {
background-color: #D2E3F3;
}
.calendar-month-day-box-date-label {
color: #616163;
font-size: 0.9em;
text-align: right;
margin: 0px;
padding-top: 1px;
-moz-padding-end: 2px;
padding-bottom: 1px;
}
calendar-month-day-box-item {
margin: 1px;
padding: 1px 1px;
}
.calendar-color-box {
/* This rule should be adopted if the alarm image size is changed */
min-height: 13px;
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.01) 50%, rgba(0, 0, 0, 0.05));
border: 1px solid transparent;
border-radius: 2px;
}
calendar-month-day-box calendar-month-day-box-item[allday="true"] .calendar-color-box {
border-color: rgba(0, 0, 0, 0.5);
-moz-box-shadow: inset -1px -1px 0 rgba(255, 255, 255, 0.7), inset 1px 1px 0 rgba(255, 255, 255, 0.7);
}
.calendar-month-day-box-item-label {
padding: 0px;
margin: 0px;
}
.calendar-month-day-box-item-label[time="true"] {
-moz-margin-end: 4px;
}
.labeldaybox-container {
border-right: 1px solid #D2D2D2;
border-top: 1px solid #D2D2D2;
}
.dropshadow {
height: 1.2em;
margin: 1px;
padding: 0px 1px;
background-color: #FFA47D;
-moz-box-shadow: 1px 1px 3px rgba(68, 35, 0, 0.7) inset;
}
calendar-event-gripbar {
-moz-box-align: center;
-moz-box-pack: center;
min-height: 4px;
min-width: 4px;
overflow: hidden;
}
calendar-event-gripbar[parentorient="vertical"][whichside="start"] {
cursor: n-resize;
}
calendar-event-gripbar[parentorient="vertical"][whichside="end"] {
cursor: s-resize;
}
calendar-event-gripbar[parentorient="horizontal"][whichside="start"] {
cursor: w-resize;
}
calendar-event-gripbar[parentorient="horizontal"][whichside="end"] {
cursor: e-resize;
}
calendar-event-box[orient="vertical"] .calendar-event-box-grippy-top {
list-style-image: url("chrome://calendar/skin/event-grippy-top.png");
visibility: hidden;
}
calendar-event-box[orient="vertical"] .calendar-event-box-grippy-bottom {
list-style-image: url("chrome://calendar/skin/event-grippy-bottom.png");
visibility: hidden;
}
calendar-event-box[orient="horizontal"]:hover .calendar-event-box-grippy-top,
calendar-event-box[orient="horizontal"]:hover .calendar-event-box-grippy-bottom {
visibility: visible;
}
calendar-event-box[orient="vertical"]:hover .calendar-event-box-grippy-top,
calendar-event-box[orient="vertical"]:hover .calendar-event-box-grippy-bottom {
visibility: visible;
}
calendar-event-box[orient="horizontal"] .calendar-event-box-grippy-top {
list-style-image: url("chrome://calendar/skin/event-grippy-left.png");
visibility: hidden;
}
calendar-event-box[orient="horizontal"] .calendar-event-box-grippy-bottom {
list-style-image: url("chrome://calendar/skin/event-grippy-right.png");
visibility: hidden;
}
calendar-event-box[readonly="true"]:hover .calendar-event-box-grippy-top,
calendar-event-box[readonly="true"]:hover .calendar-event-box-grippy-bottom {
visibility: hidden;
cursor: auto;
}
/* tooltips */
vbox.tooltipBox {
max-width: 40em;
}
column.tooltipValueColumn {
max-width: 35em; /* tooltipBox max-width minus space for label */
}
label.tooltipHeaderLabel {
font-weight: bold;
text-align: right;
margin-top: 0;
margin-bottom: 0;
-moz-margin-start: 0;
-moz-margin-end: 1em; /* 1em space before value */
}
description.tooltipHeaderDescription {
font-weight: normal;
text-align: left;
margin: 0pt;
}
separator.tooltipBodySeparator {
height: 1ex; /* 1ex space above body text, below last header. */
}
description.tooltipBody {
font-weight: normal;
white-space: pre-wrap;
margin: 0pt;
}
#calendar-view-context-menu[type="event"] .todo-only,
#calendar-view-context-menu[type="todo"] .event-only,
#calendar-view-context-menu[type="mixed"] .event-only,
#calendar-view-context-menu[type="mixed"] .todo-only,
#calendar-item-context-menu[type="event"] .todo-only,
#calendar-item-context-menu[type="todo"] .event-only,
#calendar-item-context-menu[type="mixed"] .event-only,
#calendar-item-context-menu[type="mixed"] .todo-only {
display: none;
}
.attendance-menu[itemType="single"] > menupopup > *[scope="all-occurrences"] {
display: none;
}
.calendar-context-heading-label {
font-weight: bold;
}
calendar-event-box,
calendar-editable-item,
calendar-month-day-box-item {
opacity: 0.99;
/* Do not change next line, since it would break item selection */
-moz-user-focus: normal;
}
calendar-event-box[invitation-status="NEEDS-ACTION"],
calendar-editable-item[invitation-status="NEEDS-ACTION"],
calendar-month-day-box-item[invitation-status="NEEDS-ACTION"] {
border: 2px dotted black;
opacity: 0.5;
}
@ -756,13 +56,12 @@ agenda-richlist-item[status="CANCELLED"] .agenda-container-box {
#view-deck {
background-color: white;
border: solid ThreeDShadow;
border-width: 0 0 0 1px;
}
.tabs-left,
.tabs-right {
border-bottom: 2px solid #D2D2D2;
#view-tabs .tabs-left,
#view-tabs .tabs-right {
width: 0;
}
#view-tabs {
@ -779,22 +78,15 @@ agenda-richlist-item[status="CANCELLED"] .agenda-container-box {
}
tab[calview] {
-moz-appearance: none;
background-color: #CCCCCC;
color: #2E4E73;
border: 1px solid #BDBDBD;
border-bottom: 1px solid #D2D2D2;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
margin-top: 0px;
-moz-user-focus: normal;
}
tab[calview][selected="true"],
tab[calview][selected="true"]:hover {
background-color: #FFFFFF;
margin-bottom: 0px;
border-bottom: none;
padding-bottom: 1px;
}
@ -803,38 +95,24 @@ tab[calview]:hover {
}
tab[calview] > .tab-middle {
text-align: center;
font-size: 14px;
}
.view-header {
font-weight: normal;
font-size: 14px;
color: ButtonText;
padding-top: 5px;
margin-top: 3px;
}
.view-header[type="end"] {
text-align: right;
-moz-margin-end: 6px;
}
#calendarWeek {
margin-top: 3px;
margin-bottom: 1px;
}
.navigation-inner-box {
-moz-padding-start: 6px;
-moz-padding-end: 6px;
border-bottom: 1px solid #D2D2D2;
padding-bottom: 1px;
}
.navigation-bottombox {
min-height: 4px;
max-height: 4px;
background-color: white;
}
@ -849,24 +127,10 @@ tab[calview] > .tab-middle {
}
.today-navigation-button {
-moz-user-focus: normal;
-moz-appearance: toolbarbutton;
margin-top: 2px;
-moz-margin-start: 2px;
-moz-margin-end: 2px;
margin-bottom: 0px;
color: ButtonText;
font-size: 14px;
}
.view-navigation-button > .toolbarbutton-text {
display: none;
}
.view-navigation-button > .toolbarbutton-icon {
margin: 1px;
}
.today-navigation-button > .toolbarbutton-icon {
display: none;
}

Просмотреть файл

@ -1,152 +1,9 @@
/* ***** 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 Mozilla Calendar code.
*
* The Initial Developer of the Original Code is
* Philipp Kewisch <mozilla@kewis.ch>
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* 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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Bindings */
calendar-alarm-widget {
-moz-binding: url(chrome://calendar/content/widgets/calendar-alarm-widget.xml#calendar-alarm-widget);
}
@import url(chrome://calendar/skin/common/dialogs/calendar-alarm-dialog.css);
menupopup[type="snooze-menupopup"] {
-moz-binding: url(chrome://calendar/content/widgets/calendar-alarm-widget.xml#calendar-snooze-popup);
}
/* Alarm dialog styles */
#alarm-richlist {
margin: 10px;
}
#alarm-actionbar {
min-width: 1px;
margin: 0 5px;
}
/* Alarm widget specific styles */
calendar-alarm-widget {
border-bottom: 1px dotted #C0C0C0;
min-height: 25px;
padding: 6px 7px;
}
calendar-alarm-widget[selected="true"] {
background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png);
background-color: #a2bdd8;
padding: 0 5px;
}
calendar-alarm-widget[selected="true"] .alarm-title-label {
font-weight: bold;
}
calendar-alarm-widget[selected="true"] .alarm-action-buttons {
display: -moz-box;
}
calendar-alarm-widget[selected="true"] > hbox {
margin: 5px;
}
calendar-alarm-widget[selected="true"] .alarm-relative-date-label,
.additional-information-box,
.alarm-action-buttons {
display: none;
}
calendar-alarm-widget[selected="true"] .additional-information-box,
calendar-alarm-widget[selected="true"] .action-buttons-box {
display: -moz-box;
}
.alarm-details-label {
text-decoration: underline;
}
calendar-alarm-widget[selected="true"] .alarm-calendar-image {
list-style-image: url(chrome://calendar/skin/cal-icon32.png);
}
.resizer-box {
min-height: 15px;
}
.snooze-popup-ok-button {
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
.snooze-popup-ok-button:hover {
-moz-image-region: rect(14px, 14px, 28px, 0px);
}
.snooze-popup-ok-button:active {
-moz-image-region: rect(28px, 14px, 42px, 0px);
}
.snooze-popup-ok-button[disabled="true"] {
-moz-image-region: rect(42px, 14px, 56px, 0px);
}
.snooze-popup-cancel-button {
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
.snooze-popup-cancel-button:hover {
-moz-image-region: rect(14px, 28px, 28px, 14px);
}
.snooze-popup-cancel-button:active {
-moz-image-region: rect(28px, 28px, 42px, 14px);
}
.snooze-popup-button {
list-style-image: url(chrome://calendar/skin/ok-cancel.png);
min-width: 0;
-moz-appearance: toolbarbutton;
}
.snooze-popup-button > .button-box > .button-icon {
margin: 0;
}
.snooze-popup-button > .button-box {
border: 0;
padding: 0;
-moz-box-pack: center;
-moz-box-align: center;
}
.snooze-popup-button:focus > .button-box {
border: 1px dotted ThreeDDarkShadow;
padding: 0;
}

Просмотреть файл

@ -1,108 +1,13 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Markus Adrario <Mozilla@Adrario.de>
* Gianfranco Balza <bv1578@gmail.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 ***** */
#calendar-event-dialog,
#calendar-task-dialog {
padding: 0px;
}
#yearly-period-of-label,
label.label {
text-align: right;
}
#item-calendar,
#item-categories,
#item-repeat,
#item-alarm,
.datepicker-text-class {
min-width: 12em;
}
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/*--------------------------------------------------------------------
* Event dialog keep duration button
*-------------------------------------------------------------------*/
#keepduration-button {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-image-region: rect(0px 147px 24px 140px);
padding: 3px;
-moz-padding-start: 6px;
-moz-padding-end: 6px;
-moz-margin-start: -3px;
margin-bottom: -15px;
position: relative;
-moz-user-focus: normal;
}
#keepduration-button[keep="true"] {
-moz-image-region: rect(0px 139px 24px 132px);
}
#keepduration-button[disabled="true"] {
-moz-image-region: rect(0px 163px 24px 156px);
}
#keepduration-button[keep="true"][disabled="true"] {
-moz-image-region: rect(0px 155px 24px 148px);
}
#keepduration-button > label {
display: none;
}
.keepduration-link-image {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-margin-start: -1px;
}
#link-image-top {
-moz-image-region: rect(7px 174px 14px 164px);
margin-top: 0.6em;
}
#link-image-top[keep="true"]{
-moz-image-region: rect(0px 174px 7px 164px);
}
#link-image-bottom {
-moz-image-region: rect(0px 184px 7px 174px);
margin-bottom: 0.6em;
padding: 3px 6px;
}
#timezone-endtime {
@ -280,414 +185,3 @@ toolbar[iconsize="small"] #button-question[disabled="true"]:hover {
toolbar[iconsize="small"] #button-question:hover {
-moz-image-region: rect(24px 576px 48px 552px);
}
/*--------------------------------------------------------------------
* Event dialog statusbar images
*-------------------------------------------------------------------*/
.cal-statusbar-1 {
-moz-box-orient: vertical;
min-width: 0px;
list-style-image: url("chrome://calendar/skin/calendar-event-dialog.png");
}
/*--------------------------------------------------------------------
* privacy "public" image
*-------------------------------------------------------------------*/
#button-privacy-public {
-moz-image-region: rect(0px 28px 16px 0px);
}
/*--------------------------------------------------------------------
* privacy "private" image
*-------------------------------------------------------------------*/
#button-privacy-private {
-moz-image-region: rect(0px 56px 16px 28px);
}
/*--------------------------------------------------------------------
* privacy "confidential" image
*-------------------------------------------------------------------*/
#button-privacy-confidential {
-moz-image-region: rect(0px 84px 16px 56px);
}
/*--------------------------------------------------------------------
* importance "low" image
*-------------------------------------------------------------------*/
#button-importance-low {
-moz-image-region: rect(0px 100px 16px 84px);
}
/*--------------------------------------------------------------------
* importance "medium" image
*-------------------------------------------------------------------*/
#button-importance-medium {
-moz-image-region: rect(0px 116px 16px 100px);
}
/*--------------------------------------------------------------------
* importance "high" image
*-------------------------------------------------------------------*/
#button-importance-high {
-moz-image-region: rect(0px 132px 16px 116px);
}
/*--------------------------------------------------------------------
* Recurrence dialog preview border
*-------------------------------------------------------------------*/
#preview-border {
border: none;
padding: 0px;
}
/*--------------------------------------------------------------------
* freebusy
*-------------------------------------------------------------------*/
#freebusy-container {
overflow: hidden;
min-width: 100px;
}
#freebusy-grid {
min-width: 1px;
}
#calendar-summary-dialog {
min-width: 35em;
}
listbox[disabled="true"] {
color: -moz-FieldText;
}
daypicker-weekday {
margin-top: 2px;
}
daypicker-monthday {
margin-top: 2px;
}
.headline {
font-weight: bold;
}
.headline[align=end],
.headline[align=right]{
text-align: right;
}
.default-spacer {
width: 1em;
height: 1em;
}
.default-indent {
-moz-margin-start: 1.5em;
}
/*--------------------------------------------------------------------
* Attendees Dialog
*-------------------------------------------------------------------*/
.listbox-noborder {
margin: 0px 0px;
border-style: none;
}
.selection-bar {
background-color: #008080;
opacity: 0.2;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.freebusy-container {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
.freebusy-content {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
/* -moz-margin-end 1px is needed to take border-right from the grid elements into account */
.freebusy-timebar-title {
-moz-margin-end: 1px;
}
.freebusy-timebar-hour {
-moz-margin-end: 1px;
margin-bottom: 5px;
}
.freebusy-timebar-hour[scheduled="true"] {
/* the 'sechuled'-attribute is used in the timebar to indicate
which hours are affected of the currently schedued event.
since we added the selection-bar this is no longer necessary
but we keep the possibity to decorate those hours if it should
become beneficial.
text-decoration: underline;
*/
}
.freebusy-grid {
border-right: 1px solid #BDBEC0;
background-color: #E09EBD;
color: #E09EBD;
min-height: 16px;
}
.freebusy-grid[state="busy"] {
background-color: #153E7E;
color: #153E7E;
}
.freebusy-grid[state="busy_tentative"] {
background-color: #1589FF;
color: #1589FF;
}
.freebusy-grid[state="busy_unavailable"] {
background-color: #4E387E;
color: #4E387E;
}
.freebusy-grid[state="free"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
#dialog-box {
padding-top: 8px;
padding-bottom: 10px;
-moz-padding-start: 8px;
-moz-padding-end: 10px;
}
#addressingWidget {
-moz-user-focus: none;
}
#typecol-addressingWidget {
min-width: 9em;
border-right: 1px solid #CACAFF;
}
/* This applies to rows of the attendee-list and the freebusy-grid */
.addressingWidgetItem,
.dummy-row {
border: none !important;
background-color: inherit !important;
color: inherit !important;
/* we set the minimal height to the height of the
largest icon [the person-icon in this case] to
ensure that the rows of the freebusy-grid and
the attendee-list always have the same height,
regardless of the font size. */
min-height: 16px;
}
.addressingWidgetCell {
border-bottom: 1px solid #CACAFF;
padding: 0px;
}
.addressingWidgetCell:first-child {
border-top: none;
}
.dummy-row-cell:first-child {
border-top: none;
border-bottom: 1px solid #CACAFF;
}
.person-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/abcard.png);
}
.status-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.status-icon[status="ACCEPTED"] {
-moz-image-region: rect(0px 12px 14px 0px);
}
.status-icon[status="ACCEPTED"][disabled="true"] {
-moz-image-region: rect(14px 12px 28px 0px);
}
.status-icon[status="DECLINED"] {
-moz-image-region: rect(0px 24px 14px 12px);
}
.status-icon[status="DECLINED"][disabled="true"] {
-moz-image-region: rect(14px 24px 28px 12px);
}
.status-icon[status="NEEDS-ACTION"] {
-moz-image-region: rect(0px 36px 14px 24px);
}
.status-icon[status="NEEDS-ACTION"][disabled="true"] {
-moz-image-region: rect(14px 36px 28px 24px);
}
.status-icon[status="TENTATIVE"] {
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[status="TENTATIVE"][disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.role-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="OPT-PARTICIPANT"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="OPT-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="CHAIR"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="CHAIR"][disabled="true"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="NON-PARTICIPANT"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.role-icon[role="NON-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.zoom-in-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 97px 14px 84px);
}
.zoom-in-icon[disabled="true"] {
-moz-image-region: rect(14px 97px 28px 84px);
}
.zoom-out-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 110px 14px 97px);
}
.zoom-out-icon[disabled="true"] {
-moz-image-region: rect(14px 110px 28px 97px);
}
.left-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 124px 14px 110px);
}
.left-icon[disabled="true"] {
-moz-image-region: rect(14px 124px 28px 110px);
}
.right-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 138px 14px 124px);
}
.right-icon[disabled="true"] {
-moz-image-region: rect(14px 138px 28px 124px);
}
.legend {
width: 3em;
height: 1em;
border-top: 1px solid #A1A1A1;
border-right: 1px solid #C3C3C3;
border-bottom: 1px solid #DDDDDD;
border-left: 1px solid #C3C3C3;
}
.legend[status="FREE"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
.legend[status="BUSY"] {
background-color: #153E7E;
color: #153E7E;
}
.legend[status="BUSY_TENTATIVE"] {
background-color: #1589FF;
color: #1589FF;
}
.legend[status="BUSY_UNAVAILABLE"] {
background-color: #4E387E;
color: #4E387E;
}
.legend[status="UNKNOWN"] {
background-color: #E09EBD;
color: #E09EBD;
}
#content-frame {
border-left: 1px solid ThreeDDarkShadow;
border-right: 1px solid ThreeDLightShadow;
min-width: 10px;
min-height: 10px;
height: 400px;
}
.attendees-list-listbox > listboxbody {
overflow-y: hidden !important;
}
.selection-bar-left {
width: 3px;
cursor: w-resize;
}
.selection-bar-right {
width: 3px;
cursor: e-resize;
}
.selection-bar-spacer {
cursor: -moz-grab;
}
.checkbox-no-label > .checkbox-label-box {
display: none;
}

Просмотреть файл

@ -1,117 +1,17 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Berend Cornelius <berend.cornelius@sun.com>
* Simon Paquet <bugzilla@babylonsounds.com>
* Lars Wohlfahrt <thetux.moz@googlemail.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
.today-subpane {
border-color: ThreeDShadow;
border-style: solid;
border-width: 1px 0;
margin-bottom: 3px;
padding: 0px;
}
#buttonspacer {
width: 5px;
}
#today-pane-panel {
background-color: -moz-Dialog;
}
#today-pane-panel:-moz-lwtheme {
background-color: transparent;
}
#today-pane-panel > * {
color: -moz-DialogText;
}
@import url(chrome://calendar/skin/common/today-pane.css);
#today-pane-panel:-moz-lwtheme > sidebarheader {
color: inherit;
text-shadow: none;
background-color: rgba(255, 255, 255, 0.3);
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 19px);
}
#agenda-panel:-moz-lwtheme > vbox,
#today-pane-splitter:-moz-lwtheme,
#todo-tab-panel:-moz-lwtheme {
background-color: -moz-Dialog;
}
#today-pane-panel:-moz-lwtheme > vbox {
text-shadow: none;
background-color: -moz-Dialog;
}
#mini-day-image {
background-image: -moz-linear-gradient(transparent, transparent 48%,
rgba(0, 0, 0, .02) 52%, rgba(0, 0, 0, .1));
}
#mini-day-box,
#today-minimonth-box {
background-color: -moz-field;
}
#weekdayNameContainer {
font-family: Trebuchet MS, Lucida Grande, Arial, Helvetica;
padding-top: 4px;
font-weight: bold;
font-size: 18px;
}
.monthlabel {
-moz-margin-end: 0px;
}
.dateValue {
font-family: Arial, Helvetica, Trebuchet MS, Lucida Grande, sans-serif;
margin-top: 0px;
padding-top: 0px;
font-size: 36px;
font-weight: bold;
}
.miniday-nav-buttons {
margin-top: 2px;
list-style-image: url("chrome://calendar/skin/widgets/nav-arrow.svg");
min-width: 19px;
-moz-user-focus: normal;
}
#previous-day-button:-moz-locale-dir(ltr),
@ -119,44 +19,8 @@
-moz-transform: scaleX(-1);
}
#today-button {
list-style-image: url("chrome://calendar/skin/widgets/nav-today.svg");
}
.miniday-nav-buttons[disabled] {
opacity: .3;
}
.miniday-nav-buttons > .toolbarbutton-icon {
margin: 1px;
}
#miniday-dropdown-button {
margin: 2px;
-moz-user-focus: normal;
}
#miniday-dropdown-button > .toolbarbutton-icon,
#miniday-dropdown-button > .toolbarbutton-text,
.miniday-nav-buttons > .toolbarbutton-text {
display: none;
}
#miniday-dropdown-button > .toolbarbutton-menu-dropmarker {
-moz-padding-start: 0;
}
.today-closebutton {
list-style-image: url("chrome://global/skin/icons/close-sidebar.png") !important;
-moz-image-region: rect(0, 16px, 16px, 0);
}
.today-closebutton:hover {
-moz-image-region: rect(0, 32px, 16px, 16px);
}
.today-closebutton:hover:active {
-moz-image-region: rect(0, 48px, 16px, 32px);
}
.today-closebutton > .toolbarbutton-text {
@ -164,22 +28,11 @@
}
#agenda-toolbar {
border: none;
padding: 1px;
background-color: -moz-dialog;
color: -moz-dialogtext;
}
#todaypane-new-event-button {
-moz-user-focus: normal;
}
#todaypane-new-event-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}
#todaypane-new-event-button {
list-style-image: url("chrome://calendar/skin/toolbar-small.png");
-moz-image-region: rect(0px 24px 24px 0px);
}
#todaypane-new-event-button:active {
@ -190,116 +43,5 @@
}
#agenda-listbox {
-moz-user-focus: normal;
border: none;
margin: 3px;
}
agenda-checkbox-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item");
-moz-user-focus: normal;
}
agenda-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
agenda-allday-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-allday-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
.agenda-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
.agenda-allday-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 4px;
padding-bottom: 4px;
}
.agenda-container-box[selected="true"],
.agenda-allday-container-box[selected="true"],
.agenda-checkbox[selected="true"],
.agenda-container-box[selected="true"][current="true"],
.agenda-allday-container-box[selected="true"][current="true"],
.agenda-checkbox[selected="true"][current="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #FDF5A0;
color: #000000;
}
.agenda-container-box[current="true"],
.agenda-alldaycontainer-box[current="true"],
.agenda-checkbox[current="true"],
.agenda-container-box[selected="true"][current="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][current="true"][disabled="true"],
.agenda-checkbox[selected="true"][current="true"][disabled="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #DFEAF4;
}
.agenda-container-box[selected="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][disabled="true"],
.agenda-checkbox[selected="true"][disabled="true"] {
background-image: none;
color: -moz-dialogText;
background-color: -moz-dialog;
}
.agenda-event-title {
margin-top: 0px;
}
.agenda-event-start {
margin-bottom: 0px;
}
.agenda-new-date {
width: 15px;
height: 15px;
border: 1px solid grey;
cursor: pointer;
}
.agenda-calendar-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-image-region: rect(0px 10px 10px 0px);
margin-top: 3px;
-moz-margin-start: 4px;
width: 10px;
height: 10px;
}
.agenda-multiDayEvent-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-margin-start: 3px;
width: 10px;
height: 10px;
display: none;
}
.agenda-multiDayEvent-image[type="start"] {
-moz-image-region: rect(0px 20px 10px 10px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="continue"] {
-moz-image-region: rect(0px 30px 10px 20px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="end"] {
-moz-image-region: rect(0px 40px 10px 30px);
display: -moz-box;
}

Просмотреть файл

@ -1,64 +1,8 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2008
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
treenode-checkbox {
-moz-box-align: center;
padding-top: 4px;
-moz-padding-start: 4px;
-moz-padding-end: 4px;
font-weight: bold;
}
.checkbox-label-box {
-moz-margin-start: 4px;
}
.checkbox-icon {
-moz-margin-end: 2px;
}
.checkbox-label {
margin: 0 !important;
}
treenode-checkbox > .checkbox-label-center-box > .checkbox-label-box > .checkbox-label {
font-weight: bold;
border-bottom: 1px solid -moz-Dialog;
}
@import url(chrome://calendar/skin/common/widgets/calendar-widgets.css);
treenode-checkbox[checked="true"] > .checkbox-check {
-moz-appearance: treetwistyopen;
@ -75,34 +19,3 @@ treenode-checkbox > .checkbox-check {
calendar-list-tree .tree-scrollable-columns {
-moz-padding-start: 18px;
}
.view-navigation-button {
list-style-image: url(chrome://calendar/skin/widgets/view-navigation.svg);
-moz-user-focus: normal;
}
.view-navigation-button[disabled="true"] {
opacity: .3;
}
.view-navigation-button:-moz-locale-dir(ltr)[type="prev"],
.view-navigation-button:-moz-locale-dir(rtl)[type="next"] {
-moz-transform: scaleX(-1);
}
.view-navigation-button > .toolbarbutton-icon {
margin: 0px !important;
}
.view-navigation-button > .toolbarbutton-text {
display: none;
}
.selected-text {
font-weight: bold;
}
.selected-text:not([selected="true"]),
.unselected-text[selected="true"] {
visibility: hidden;
}

Просмотреть файл

@ -1,82 +1,12 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-daypicker.css);
daypicker {
-moz-binding: url(chrome://calendar/content/calendar-daypicker.xml#daypicker);
list-style-image: url("chrome://calendar/skin/daypicker-background.png");
-moz-image-region: rect(0px 31px 30px 0px);
border-top: 1px solid ThreeDShadow;
border-left: 1px solid ThreeDShadow;
background-color: -moz-Field;
text-align: center;
}
daypicker[mode="monthly-days"] {
width: 21px;
height: 15px;
}
daypicker:hover {
-moz-image-region: rect(0px 62px 30px 31px);
cursor: pointer;
}
daypicker:hover:active,
daypicker[open="true"] {
-moz-image-region: rect(0px 93px 30px 62px);
cursor: pointer;
}
daypicker[disabled="true"],
daypicker[disabled="true"][checked="true"],
daypicker[disabled="true"]:hover,
daypicker[disabled="true"]:hover:active,
daypicker[disabled="true"][open="true"] {
-moz-image-region: rect(0px 31px 30px 0px);
color: GrayText;
cursor: default;
background-color: -moz-Dialog;
}
daypicker[checked="true"] {
-moz-image-region: rect(0px 124px 30px 93px);
background-color: Highlight;
color: HighlightText;
}
daypicker [bottom="true"] {

Просмотреть файл

@ -1,41 +1,10 @@
/* ***** 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 Calendar Management code.
*
* The Initial Developer of the Original Code is
* Philipp Kewisch <mozilla@kewis.ch>
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* 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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-management.css);
calendar-list-tree > tree > treechildren::-moz-tree-image(checkbox-treecol) {
list-style-image: url(chrome://calendar/skin/checkbox-images.png);
-moz-image-region: rect(0 13px 13px 0);
}
@ -47,48 +16,6 @@ calendar-list-tree > tree > treechildren::-moz-tree-image(checkbox-treecol, disa
-moz-image-region: rect(0 39px 13px 26px);
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol, color-default) {
background-color: #a8c2e1;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(color-treecol) {
margin: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-cell(calendarname-treecol) {
-moz-margin-start: 1px;
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readonly) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readfailed) {
list-style-image: url(chrome://calendar/skin/calendar-status.png);
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
calendar-list-tree > tree > treechildren::-moz-tree-cell-text(disabled) {
color: GrayText;
}
calendar-list-tree > tree {
border: none;
padding: 0;
margin: 4px 0;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-appearance: none;
}
calendar-list-tree > tree > treecols > treecol[hideheader="true"],
calendar-list-tree > tree > treecols > treecol[hideheader="true"] {
font-size: 0px;
border: none;
padding: 0;
max-height: 0px;
height: 0px;
}

Просмотреть файл

@ -1,41 +1,8 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Philipp Kewisch <mozilla@kewis.ch>
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url(chrome://calendar/skin/common/calendar-task-view.css);
@import url(chrome://calendar-windows/skin/calendar.css);
#calendar-task-view-splitter {
@ -51,90 +18,24 @@
overflow: hidden;
}
#calendar-header-name-column,
#calendar-task-details-attachment-row > hbox {
-moz-padding-start: 0.1em;
}
#calendar-task-details-grid {
padding-top: 1px;
-moz-padding-start: 0;
-moz-padding-end: 0;
padding-bottom: 0.2em;
}
#other-actions-box {
-moz-margin-end: -2px;
padding-bottom: 0.3em;
}
#calendar-task-details {
min-height: 6ex;
}
#task-addition-box {
border-left: 1px solid ThreeDShadow;
border-right: 0px;
border-bottom: 1px solid ThreeDShadow;
}
#calendar-task-details-description {
-moz-appearance: textfield;
border: 1px solid;
margin: 0;
font-family: serif;
font-size: 16px;
}
.task-details-name {
text-align: right;
color: windowtext;
opacity: 0.5; /* lower contrast */
background-color: transparent;
border: none;
}
#calendar-task-details-grid > rows > .item-date-row > .headline {
font-weight: normal;
color: windowtext;
opacity: 0.5; /* lower contrast */
}
#calendar-task-details-attachment-row {
margin-top: 3px;
}
#calendar-task-details-attachment-rows {
max-height: 60px;
}
.task-details-value {
text-align: left;
background-color: transparent;
border: none;
color: WindowText;
}
#calendar-task-tree {
min-height: 98px;
border-left: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDHighlight;
border-right: 1px solid ThreeDHighlight;
}
#calendar-task-tree-detail {
border: 1px solid ThreeDShadow;
margin: 3px;
}
#view-task-edit-field {
margin: 5px;
}
.task-edit-field[readonly="true"] {
color: GrayText;
}
#task-text-filter-field {
margin: 5px;
}
@ -143,62 +44,15 @@
margin-bottom: -1px;
}
#calendar-task-details-title {
font-weight: bold;
}
#unifinder-task-edit-field {
margin: 3px;
}
#unifinder-todo-tree > .calendar-task-tree {
margin-bottom: 3px;
}
/* ::::: task actions toolbar ::::: */
#task-actions-toolbox {
-moz-appearance: none;
border: none;
}
#task-actions-toolbar {
-moz-appearance: none;
-moz-box-pack: end;
min-height: 0;
padding: 0;
border: none;
}
#task-actions-toolbar toolbarpaletteitem toolbarseparator,
#task-actions-toolbar toolbarseparator {
height: 26px;
}
#task-actions-toolbar toolbarspacer {
height: 20px;
}
window[toolboxId="task-actions-toolbox"] #wrapper-spring {
display: none;
}
window[toolboxId="task-actions-toolbox"] #smallicons,
window[toolboxId="task-actions-toolbox"] button[icon="add"] {
display: none;
}
window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
display: none;
}
#task-actions-toolbox[doCustomization] {
background: grey;
}
#task-actions-toolbox[doCustomization] #task-actions-toolbar {
min-width: 100px;
min-height: 24px;
}
#task-actions-toolbox .toolbarbutton-icon {
@ -230,13 +84,8 @@ window[toolboxId="task-actions-toolbox"] #modelist menuitem:first-child {
#calendar-add-task-button {
list-style-image: url(chrome://calendar/skin/toolbar-small.png);
-moz-image-region: rect(0px 256px 16px 240px);
-moz-margin-start: 5px;
}
#calendar-add-task-button[disabled="true"] {
-moz-image-region: rect(32px 256px 48px 240px);
}
#calendar-add-task-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}

Просмотреть файл

@ -1,86 +1,11 @@
/* ***** 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>
* Karl Guertin <grayrest@grayrest.com>
* Colin Phillips <colinp@oeone.com>
* ArentJan Banck <ajbanck@planet.nl>
* Eric Belhaire <belhaire@ief.u-psud.fr>
* Mark Swaffer <swaff@fudo.org>
* Christopher Cook <tangent@intraplanar.net>
* Kevin Gerich <webmail@kmgerich.com>
* Matthew Willis <mattwillis@gmail.com>
* Michael Buettner <michael.buettner@sun.com>
* Philipp Kewisch <mozilla@kewis.ch>
* Simon Paquet <bugzilla@babylonsounds.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 **** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* only format Unifinder lists */
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(highpriority) {
font-weight: bold;
}
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(lowpriority) {
font-style: italic;
color: GrayText !important;
background-color: -moz-field;
}
/* workaround to avoid Window Flick */
#unifinder-search-results-tree {
-moz-appearance: none;
background-color: -moz-Field;
color: -moz-FieldText;
min-height: 92px;
border: 0;
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
border-bottom: 1px solid;
border-top: 1px solid;
margin: 0;
}
/* restyle splitter-border to match Thunderbird's layout */
#calendar-view-splitter {
border: none;
min-height: 5px;
}
@import url(chrome://calendar/skin/common/calendar-unifinder.css);
/* added for new id ..... search box ..... */
#unifinder-searchBox {
height: 30px;
background-color: transparent;
}
@ -89,18 +14,8 @@
}
.unifinder-closebutton {
list-style-image: url("chrome://global/skin/icons/close.png");
-moz-image-region: rect(0 16px 16px 0);
-moz-appearance: none;
border: none;
padding: 2px;
background: transparent;
}
.unifinder-closebutton:hover {
-moz-image-region: rect(0 32px 16px 16px);
}
.unifinder-closebutton:hover:active {
-moz-image-region: rect(0 48px 16px 32px);
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,153 +1,17 @@
/* ***** 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 Mozilla Calendar code.
*
* The Initial Developer of the Original Code is
* Philipp Kewisch <mozilla@kewis.ch>
* Portions created by the Initial Developer are Copyright (C) 2007
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* 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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Bindings */
calendar-alarm-widget {
-moz-binding: url(chrome://calendar/content/widgets/calendar-alarm-widget.xml#calendar-alarm-widget);
}
@import url(chrome://calendar/skin/common/dialogs/calendar-alarm-dialog.css);
menupopup[type="snooze-menupopup"] > arrowscrollbox {
-moz-binding: url(chrome://calendar/content/widgets/calendar-alarm-widget.xml#calendar-snooze-popup);
}
/* Alarm dialog styles */
#alarm-richlist {
margin: 10px;
}
#alarm-actionbar {
min-width: 1px;
margin: 0 5px;
}
/* Alarm widget specific styles */
calendar-alarm-widget {
border-bottom: 1px dotted #C0C0C0;
padding: 6px 7px;
}
calendar-alarm-widget[selected="true"] {
background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png);
background-color: #a2bdd8;
padding: 0 5px;
}
calendar-alarm-widget[selected="true"] .alarm-title-label {
font-weight: bold;
}
calendar-alarm-widget[selected="true"] .alarm-action-buttons {
display: -moz-box;
}
calendar-alarm-widget[selected="true"] > hbox {
margin: 5px;
}
calendar-alarm-widget[selected="true"] .alarm-relative-date-label,
.additional-information-box,
.alarm-action-buttons {
display: none;
}
calendar-alarm-widget[selected="true"] .additional-information-box,
calendar-alarm-widget[selected="true"] .action-buttons-box {
display: -moz-box;
}
.alarm-details-label {
text-decoration: underline;
}
calendar-alarm-widget[selected="true"] .alarm-calendar-image {
list-style-image: url(chrome://calendar/skin/cal-icon32.png);
}
.resizer-box {
min-height: 15px;
}
.snooze-popup-ok-button {
-moz-image-region: rect(0px, 14px, 14px, 0px);
}
.snooze-popup-ok-button:hover {
-moz-image-region: rect(14px, 14px, 28px, 0px);
background-color: -moz-menuhover;
}
.snooze-popup-ok-button:active {
-moz-image-region: rect(28px, 14px, 42px, 0px);
}
.snooze-popup-ok-button[disabled="true"] {
-moz-image-region: rect(42px, 14px, 56px, 0px);
}
.snooze-popup-cancel-button {
-moz-image-region: rect(0px, 28px, 14px, 14px);
}
.snooze-popup-cancel-button:hover {
-moz-image-region: rect(14px, 28px, 28px, 14px);
background-color: -moz-menuhover;
}
.snooze-popup-cancel-button:active {
-moz-image-region: rect(28px, 28px, 42px, 14px);
}
.snooze-popup-button {
list-style-image: url(chrome://calendar/skin/ok-cancel.png);
min-width: 0;
-moz-appearance: toolbarbutton;
}
.snooze-popup-button > .button-box > .button-icon {
margin: 0;
}
.snooze-popup-button > .button-box {
border: 0;
padding: 0;
-moz-box-pack: center;
-moz-box-align: center;
}
.snooze-popup-button:focus > .button-box {
border: 1px dotted ThreeDDarkShadow;
padding: 0;
}

Просмотреть файл

@ -1,521 +1,15 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Sun Microsystems.
* Portions created by the Initial Developer are Copyright (C) 2006
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Michael Buettner <michael.buettner@sun.com>
* Markus Adrario <Mozilla@Adrario.de>
* Gianfranco Balza <bv1578@gmail.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 ***** */
#calendar-event-dialog,
#calendar-task-dialog {
padding: 0px;
}
#yearly-period-of-label,
label.label {
text-align: right;
}
#item-calendar,
#item-categories,
#item-repeat,
#item-alarm,
.datepicker-text-class {
min-width: 12em;
}
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/*--------------------------------------------------------------------
* Event dialog keep duration button
*-------------------------------------------------------------------*/
#keepduration-button {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-image-region: rect(0px 147px 24px 140px);
padding-top: 3px;
padding-bottom: 3px;
-moz-margin-start: -3px;
margin-bottom: -15px;
position: relative;
-moz-user-focus: normal;
min-width: 21px;
}
#keepduration-button[keep="true"] {
-moz-image-region: rect(0px 139px 24px 132px);
}
#keepduration-button[disabled="true"] {
-moz-image-region: rect(0px 163px 24px 156px);
}
#keepduration-button[keep="true"][disabled="true"] {
-moz-image-region: rect(0px 155px 24px 148px);
}
#keepduration-button > label {
display: none;
}
.keepduration-link-image {
list-style-image: url(chrome://calendar/skin/calendar-event-dialog.png);
-moz-margin-start: -1px;
}
#link-image-top {
-moz-image-region: rect(7px 174px 14px 164px);
margin-top: 0.6em;
}
#link-image-top[keep="true"]{
-moz-image-region: rect(0px 174px 7px 164px);
}
#link-image-bottom {
-moz-image-region: rect(0px 184px 7px 174px);
margin-bottom: 0.6em;
min-width: 21px;
}
#timezone-endtime {
-moz-margin-start: 16px;
}
/*--------------------------------------------------------------------
* Event dialog statusbar images
*-------------------------------------------------------------------*/
.cal-statusbar-1 {
-moz-box-orient: vertical;
min-width: 0px;
list-style-image: url("chrome://calendar/skin/calendar-event-dialog.png");
}
/*--------------------------------------------------------------------
* privacy "public" image
*-------------------------------------------------------------------*/
#button-privacy-public {
-moz-image-region: rect(0px 28px 16px 0px);
}
/*--------------------------------------------------------------------
* privacy "private" image
*-------------------------------------------------------------------*/
#button-privacy-private {
-moz-image-region: rect(0px 56px 16px 28px);
}
/*--------------------------------------------------------------------
* privacy "confidential" image
*-------------------------------------------------------------------*/
#button-privacy-confidential {
-moz-image-region: rect(0px 84px 16px 56px);
}
/*--------------------------------------------------------------------
* importance "low" image
*-------------------------------------------------------------------*/
#button-importance-low {
-moz-image-region: rect(0px 100px 16px 84px);
}
/*--------------------------------------------------------------------
* importance "medium" image
*-------------------------------------------------------------------*/
#button-importance-medium {
-moz-image-region: rect(0px 116px 16px 100px);
}
/*--------------------------------------------------------------------
* importance "high" image
*-------------------------------------------------------------------*/
#button-importance-high {
-moz-image-region: rect(0px 132px 16px 116px);
}
/*--------------------------------------------------------------------
* Recurrence dialog preview border
*-------------------------------------------------------------------*/
#preview-border {
border: none;
padding: 0px;
}
/*--------------------------------------------------------------------
* freebusy
*-------------------------------------------------------------------*/
#freebusy-container {
overflow: hidden;
min-width: 100px;
}
#freebusy-grid {
min-width: 1px;
}
#calendar-summary-dialog {
min-width: 35em;
}
listbox[disabled="true"] {
color: -moz-FieldText;
}
daypicker-weekday {
margin-top: 2px;
}
daypicker-monthday {
margin-top: 2px;
}
.headline {
font-weight: bold;
}
.headline[align=end],
.headline[align=right]{
text-align: right;
}
.default-spacer {
width: 1em;
height: 1em;
}
.default-indent {
-moz-margin-start: 1.5em;
}
/*--------------------------------------------------------------------
* Attendees Dialog
*-------------------------------------------------------------------*/
.listbox-noborder {
margin: 0px 0px;
border-style: none;
}
.selection-bar {
background-color: #008080;
opacity: 0.2;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.freebusy-container {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
.freebusy-content {
overflow: hidden;
clip: rect(0px 0px 0px 0px);
}
/* -moz-margin-end 1px is needed to take border-right from the grid elements into account */
.freebusy-timebar-title {
-moz-margin-end: 1px;
}
.freebusy-timebar-hour {
-moz-margin-end: 1px;
margin-bottom: 5px;
}
.freebusy-timebar-hour[scheduled="true"] {
/* the 'sechuled'-attribute is used in the timebar to indicate
which hours are affected of the currently schedued event.
since we added the selection-bar this is no longer necessary
but we keep the possibity to decorate those hours if it should
become beneficial.
text-decoration: underline;
*/
}
.freebusy-grid {
border-right: 1px solid #BDBEC0;
background-color: #E09EBD;
color: #E09EBD;
min-height: 16px;
}
.freebusy-grid[state="busy"] {
background-color: #153E7E;
color: #153E7E;
}
.freebusy-grid[state="busy_tentative"] {
background-color: #1589FF;
color: #1589FF;
}
.freebusy-grid[state="busy_unavailable"] {
background-color: #4E387E;
color: #4E387E;
}
.freebusy-grid[state="free"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
#dialog-box {
padding-top: 8px;
padding-bottom: 10px;
-moz-padding-start: 8px;
-moz-padding-end: 10px;
}
#addressingWidget {
-moz-user-focus: none;
}
#typecol-addressingWidget {
min-width: 9em;
border-right: 1px solid #CACAFF;
}
/* This applies to rows of the attendee-list and the freebusy-grid */
.addressingWidgetItem,
.dummy-row {
border: none !important;
background-color: inherit !important;
color: inherit !important;
/* we set the minimal height to the height of the
largest icon [the person-icon in this case] to
ensure that the rows of the freebusy-grid and
the attendee-list always have the same height,
regardless of the font size. */
min-height: 16px;
}
.addressingWidgetCell {
border-bottom: 1px solid #CACAFF;
padding: 0px;
}
.addressingWidgetCell:first-child {
border-top: none;
}
.dummy-row-cell:first-child {
border-top: none;
border-bottom: 1px solid #CACAFF;
}
.person-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/abcard.png);
}
.status-icon {
margin: 0 3px;
list-style-image: url("chrome://calendar/skin/calendar-event-dialog-attendees.png");
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.status-icon[status="ACCEPTED"] {
-moz-image-region: rect(0px 12px 14px 0px);
}
.status-icon[status="ACCEPTED"][disabled="true"] {
-moz-image-region: rect(14px 12px 28px 0px);
}
.status-icon[status="DECLINED"] {
-moz-image-region: rect(0px 24px 14px 12px);
}
.status-icon[status="DECLINED"][disabled="true"] {
-moz-image-region: rect(14px 24px 28px 12px);
}
.status-icon[status="NEEDS-ACTION"] {
-moz-image-region: rect(0px 36px 14px 24px);
}
.status-icon[status="NEEDS-ACTION"][disabled="true"] {
-moz-image-region: rect(14px 36px 28px 24px);
}
.status-icon[status="TENTATIVE"] {
-moz-image-region: rect(0px 48px 14px 36px);
}
.status-icon[status="TENTATIVE"][disabled="true"] {
-moz-image-region: rect(14px 48px 28px 36px);
}
.role-icon {
margin: 0 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="REQ-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 159px 16px 138px);
}
.role-icon[role="OPT-PARTICIPANT"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="OPT-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 180px 16px 159px);
}
.role-icon[role="CHAIR"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="CHAIR"][disabled="true"] {
-moz-image-region: rect(0px 201px 16px 180px);
}
.role-icon[role="NON-PARTICIPANT"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.role-icon[role="NON-PARTICIPANT"][disabled="true"] {
-moz-image-region: rect(0px 222px 16px 201px);
}
.zoom-in-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 97px 14px 84px);
}
.zoom-in-icon[disabled="true"] {
-moz-image-region: rect(14px 97px 28px 84px);
}
.zoom-out-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 110px 14px 97px);
}
.zoom-out-icon[disabled="true"] {
-moz-image-region: rect(14px 110px 28px 97px);
}
.left-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 124px 14px 110px);
}
.left-icon[disabled="true"] {
-moz-image-region: rect(14px 124px 28px 110px);
}
.right-icon {
margin: 3px 3px;
list-style-image: url(chrome://calendar/skin/calendar-event-dialog-attendees.png);
-moz-image-region: rect(0px 138px 14px 124px);
}
.right-icon[disabled="true"] {
-moz-image-region: rect(14px 138px 28px 124px);
}
.legend {
width: 3em;
height: 1em;
border-top: 1px solid #A1A1A1;
border-right: 1px solid #C3C3C3;
border-bottom: 1px solid #DDDDDD;
border-left: 1px solid #C3C3C3;
}
.legend[status="FREE"] {
background-color: #EBEBE4;
color: #EBEBE4;
}
.legend[status="BUSY"] {
background-color: #153E7E;
color: #153E7E;
}
.legend[status="BUSY_TENTATIVE"] {
background-color: #1589FF;
color: #1589FF;
}
.legend[status="BUSY_UNAVAILABLE"] {
background-color: #4E387E;
color: #4E387E;
}
.legend[status="UNKNOWN"] {
background-color: #E09EBD;
color: #E09EBD;
}
#content-frame {
border-left: 1px solid ThreeDDarkShadow;
border-right: 1px solid ThreeDLightShadow;
min-width: 10px;
min-height: 10px;
height: 400px;
}
.attendees-list-listbox > listboxbody {
overflow-y: hidden !important;
}
.selection-bar-left {
width: 3px;
cursor: w-resize;
}
.selection-bar-right {
width: 3px;
cursor: e-resize;
}
.selection-bar-spacer {
cursor: -moz-grab;
}
.checkbox-no-label > .checkbox-label-box {
display: none;
}

Просмотреть файл

@ -1,115 +1,19 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Berend Cornelius <berend.cornelius@sun.com>
* Lars Wohlfahrt <thetux.moz@googlemail.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
.today-subpane {
border-color: ThreeDShadow;
border-style: solid;
border-width: 1px 0;
margin-bottom: 3px;
padding: 0px;
}
#buttonspacer {
width: 5px;
}
@import url(chrome://calendar/skin/common/today-pane.css);
#today-pane-panel {
background-color: -moz-Dialog;
border-left: 1px solid ThreeDShadow;
}
#today-pane-panel:-moz-lwtheme {
background-color: transparent;
}
#today-pane-panel > * {
color: -moz-DialogText;
}
#today-pane-panel:-moz-lwtheme > sidebarheader {
color: inherit;
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 19px);
}
#agenda-panel:-moz-lwtheme > vbox,
#today-pane-splitter:-moz-lwtheme,
#todo-tab-panel:-moz-lwtheme {
background-color: -moz-Dialog;
}
#today-pane-panel:-moz-lwtheme > vbox {
text-shadow: none;
background-color: -moz-Dialog;
}
#mini-day-image {
background-image: -moz-linear-gradient(transparent, transparent 48%,
rgba(0, 0, 0, .02) 52%, rgba(0, 0, 0, .1));
}
#mini-day-box,
#today-minimonth-box {
background-color: -moz-field;
}
#weekdayNameContainer {
font-family: Trebuchet MS, Lucida Grande, Arial, Helvetica;
padding-top: 4px;
font-weight: bold;
font-size: 18px;
}
.monthlabel {
-moz-margin-end: 0px;
}
.dateValue {
font-family: Arial, Helvetica, Trebuchet MS, Lucida Grande, sans-serif;
margin-top: 0px;
padding-top: 0px;
font-size: 36px;
font-weight: bold;
}
.miniday-nav-buttons {
margin-top: 2px;
list-style-image: url("chrome://calendar/skin/widgets/nav-arrow.svg");
min-width: 19px;
-moz-user-focus: normal;
}
#previous-day-button:-moz-locale-dir(ltr),
@ -117,69 +21,22 @@
-moz-transform: scaleX(-1);
}
#today-button {
list-style-image: url("chrome://calendar/skin/widgets/nav-today.svg");
}
.miniday-nav-buttons[disabled] {
opacity: .3;
}
.miniday-nav-buttons > .toolbarbutton-icon {
margin: 1px;
}
#miniday-dropdown-button {
margin: 2px;
max-width: 18px;
-moz-user-focus: normal;
}
#miniday-dropdown-button > .toolbarbutton-icon,
#miniday-dropdown-button > .toolbarbutton-text,
.miniday-nav-buttons > .toolbarbutton-text {
display: none;
}
#miniday-dropdown-button > .toolbarbutton-menu-dropmarker {
-moz-padding-start: 0;
}
.today-closebutton {
list-style-image: url("chrome://global/skin/icons/close.png");
-moz-image-region: rect(0 16px 16px 0);
-moz-appearance: none;
border: none !important;
padding: 2px;
}
.today-closebutton:hover {
-moz-image-region: rect(0 32px 16px 16px);
}
.today-closebutton:hover:active {
-moz-image-region: rect(0 48px 16px 32px);
}
.today-closebutton > .toolbarbutton-icon {
-moz-margin-end: 0px; /* override toolkit's default value */
}
#agenda-toolbar {
border: none;
padding: 1px;
}
#todaypane-new-event-button {
-moz-user-focus: normal;
}
#todaypane-new-event-button > .toolbarbutton-text {
-moz-padding-start: 5px;
}
#todaypane-new-event-button {
list-style-image: url("chrome://calendar/skin/toolbar-small.png");
-moz-image-region: rect(0px 16px 16px 0px);
}
#todaypane-new-event-button[disabled="true"],
@ -190,117 +47,3 @@
#todaypane-new-event-button:hover {
-moz-image-region: rect(16px 16px 32px 0px);
}
#agenda-listbox {
-moz-user-focus: normal;
margin: 3px;
}
agenda-checkbox-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item");
-moz-user-focus: normal;
}
agenda-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
agenda-allday-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-allday-richlist-item");
-moz-user-focus: normal;
overflow: hidden;
}
.agenda-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
.agenda-allday-container-box {
border-bottom: 1px dotted #C0C0C0;
-moz-margin-start: 4px;
-moz-margin-end: 4px;
padding-top: 4px;
padding-bottom: 4px;
}
.agenda-container-box[selected="true"],
.agenda-allday-container-box[selected="true"],
.agenda-checkbox[selected="true"],
.agenda-container-box[selected="true"][current="true"],
.agenda-allday-container-box[selected="true"][current="true"],
.agenda-checkbox[selected="true"][current="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #FDF5A0;
color: #000000;
}
.agenda-container-box[current="true"],
.agenda-alldaycontainer-box[current="true"],
.agenda-checkbox[current="true"],
.agenda-container-box[selected="true"][current="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][current="true"][disabled="true"],
.agenda-checkbox[selected="true"][current="true"][disabled="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: #DFEAF4;
}
.agenda-container-box[selected="true"][disabled="true"],
.agenda-allday-container-box[selected="true"][disabled="true"],
.agenda-checkbox[selected="true"][disabled="true"] {
background-image: none;
color: -moz-dialogText;
background-color: -moz-dialog;
}
.agenda-event-title {
margin-top: 0px;
}
.agenda-event-start {
margin-bottom: 0px;
}
.agenda-new-date {
width: 15px;
height: 15px;
border: 1px solid grey;
cursor: pointer;
}
.agenda-calendar-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-image-region: rect(0px 10px 10px 0px);
margin-top: 3px;
-moz-margin-start: 4px;
width: 10px;
height: 10px;
}
.agenda-multiDayEvent-image {
list-style-image: url("chrome://calendar/skin/calendar-overlay.png");
-moz-margin-start: 3px;
width: 10px;
height: 10px;
display: none;
}
.agenda-multiDayEvent-image[type="start"] {
-moz-image-region: rect(0px 20px 10px 10px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="continue"] {
-moz-image-region: rect(0px 30px 10px 20px);
display: -moz-box;
}
.agenda-multiDayEvent-image[type="end"] {
-moz-image-region: rect(0px 40px 10px 30px);
display: -moz-box;
}

Просмотреть файл

@ -1,64 +1,8 @@
/* ***** 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 Sun Microsystems code.
*
* The Initial Developer of the Original Code is Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2008
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Berend Cornelius <berend.cornelius@sun.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 ***** */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
treenode-checkbox {
-moz-box-align: center;
padding-top: 4px;
-moz-padding-start: 4px;
-moz-padding-end: 4px;
font-weight: bold;
}
.checkbox-label-box {
-moz-margin-start: 4px;
}
.checkbox-icon {
-moz-margin-end: 2px;
}
.checkbox-label {
margin: 0 !important;
}
treenode-checkbox > .checkbox-label-center-box > .checkbox-label-box > .checkbox-label {
font-weight: bold;
border-bottom: 1px solid -moz-Dialog;
}
@import url(chrome://calendar/skin/common/widgets/calendar-widgets.css);
treenode-checkbox[checked="true"] > .checkbox-check {
background-image: url(chrome://global/skin/tree/twisty-open.png);
@ -81,28 +25,6 @@ calendar-list-tree .tree-scrollable-columns {
-moz-padding-start: 18px;
}
.view-navigation-button {
list-style-image: url(chrome://calendar/skin/widgets/view-navigation.svg);
-moz-user-focus: normal;
}
.view-navigation-button[disabled="true"] {
opacity: .3;
}
.view-navigation-button:-moz-locale-dir(ltr)[type="prev"],
.view-navigation-button:-moz-locale-dir(rtl)[type="next"] {
-moz-transform: scaleX(-1);
}
.view-navigation-button > .toolbarbutton-icon {
margin: 0px !important;
}
.view-navigation-button > .toolbarbutton-text {
display: none;
}
.toolbarbutton-icon-begin {
-moz-margin-end: 5px;
}
@ -110,12 +32,3 @@ calendar-list-tree .tree-scrollable-columns {
.toolbarbutton-icon-end {
-moz-margin-start: 5px;
}
.selected-text {
font-weight: bold;
}
.selected-text:not([selected="true"]),
.unselected-text[selected="true"] {
visibility: hidden;
}