├── .gitignore
├── README.md
├── build
├── chrome.manifest
├── chrome
├── content
│ ├── emptyOverlay.xul
│ ├── eventDialogOverlay.xul
│ ├── lightning-hooks.js
│ ├── messengerOverlay.xul
│ ├── prefsOverlay.xul
│ ├── sidebar
│ │ ├── common.js
│ │ ├── events.js
│ │ ├── events.xul
│ │ ├── hooks.js
│ │ ├── navigatorOverlay.xul
│ │ ├── overlay.xul
│ │ ├── tasks.js
│ │ └── tasks.xul
│ ├── smOverlay.xul
│ ├── sunbird
│ │ ├── applicationUtil.js
│ │ ├── calendar-doctype.inc
│ │ ├── calendar-gotodate-dialog.xul
│ │ ├── calendar-menubar.inc
│ │ ├── calendar-offline.js
│ │ ├── calendar-scripts.inc
│ │ ├── calendar-sets-extra.inc
│ │ ├── calendar-sets.inc
│ │ ├── calendar-unifinder-old.xul
│ │ ├── calendar-unifinder.xul
│ │ ├── calendar.js
│ │ ├── calendar.xul
│ │ ├── lightning-hooks.js
│ │ ├── lightning-hooks.xul
│ │ ├── smOverlay.xul
│ │ ├── sunbird-scripts.inc
│ │ ├── sunbird-toolbar.inc
│ │ ├── tbOverlay.js
│ │ ├── tbOverlay.xul
│ │ ├── tbOverlayMac.xul
│ │ ├── tbOverlayNonMac.xul
│ │ └── tbOverlayWindows.xul
│ ├── tasksOverlay.js
│ ├── tasksOverlay.xul
│ ├── tbOverlay.xul
│ ├── tbOverlayAddressBook.xul
│ └── tbOverlayMac.xul
├── icons
│ └── default
│ │ ├── calendar-window.ico
│ │ ├── calendar-window.png
│ │ ├── calendar-window16.png
│ │ └── calendar-window48.png
├── locale
│ ├── ca
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── cs
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── da
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── de
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── en-GB
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── en-US
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── es-AR
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── es-ES
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── et
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── eu
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── fi
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── fr
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── fy-NL
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── ga-IE
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── gd
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── hr
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── hu
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── is
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── it
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── ja
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── ko
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── lt
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── nb-NO
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── nl
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── nn-NO
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── pl
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── pt-PT
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── ru
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── sk
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ ├── zh-CN
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
│ └── zh-TW
│ │ ├── aboutDialog.dtd
│ │ ├── lightbird.dtd
│ │ ├── menuOverlay.dtd
│ │ ├── sunbird.dtd
│ │ └── tbLightbird.dtd
└── skin
│ ├── _messengerToolbar.scss
│ ├── _messengerToolbarMono.scss
│ ├── _sunbird_calendar.scss
│ ├── _sunbird_tbOverlay.scss
│ ├── _sunbird_toolbar.scss
│ ├── _tasksOverlay.scss
│ ├── _tbToolbar.scss
│ ├── _tbToolbarMono.scss
│ ├── _util.scss
│ ├── mac
│ ├── cal-icon16.png
│ ├── calendar-toolbar.svg
│ ├── eventDialogOverlay.scss
│ ├── smToolbar.scss
│ ├── sunbird
│ │ ├── calendar.scss
│ │ ├── tbOverlay.scss
│ │ ├── toolbar-large.png
│ │ ├── toolbar-small.png
│ │ └── toolbar.scss
│ ├── taskbar.png
│ ├── tasksOverlay.scss
│ └── tbToolbar.scss
│ ├── modern
│ ├── calendar-16.gif
│ ├── eventDialogOverlay.css
│ ├── smToolbar.css
│ ├── sunbird
│ │ ├── btn1.png
│ │ ├── button.css
│ │ ├── calendar.css
│ │ ├── calendar_topbar.gif
│ │ ├── tbOverlay.css
│ │ └── toolbar.css
│ ├── taskbar-cal-act.gif
│ ├── taskbar-cal.gif
│ ├── taskbar-calalarm-act.gif
│ ├── taskbar-calalarm.gif
│ └── tasksOverlay.scss
│ ├── unix
│ ├── cal-icon16.png
│ ├── calendar-event-dialog-toolbar-small.png
│ ├── calendar-event-dialog-toolbar.png
│ ├── calendar-toolbar.svg
│ ├── eventDialogOverlay.scss
│ ├── smToolbar.scss
│ ├── sunbird
│ │ ├── calendar.scss
│ │ ├── tbOverlay.scss
│ │ ├── toolbar-large.png
│ │ ├── toolbar-small.png
│ │ └── toolbar.scss
│ ├── taskbar.png
│ ├── tasksOverlay.scss
│ └── tbToolbar.scss
│ ├── win-aero
│ ├── cal-icon16.png
│ ├── calendar-event-dialog-toolbar-small.png
│ ├── calendar-event-dialog-toolbar.png
│ ├── calendar-toolbar.svg
│ ├── eventDialogOverlay.scss
│ ├── smToolbar.scss
│ ├── sunbird
│ │ ├── calendar.scss
│ │ ├── tbOverlay.scss
│ │ ├── toolbar-large.png
│ │ ├── toolbar-small.png
│ │ └── toolbar.scss
│ ├── taskbar.png
│ ├── tasksOverlay.scss
│ └── tbToolbar.scss
│ └── win
│ ├── cal-icon16-alarm.png
│ ├── cal-icon16.png
│ ├── cal-icon24-alarm.png
│ ├── cal-icon24.png
│ ├── calendar-event-dialog-toolbar-small.png
│ ├── calendar-event-dialog-toolbar.png
│ ├── eventDialogOverlay.scss
│ ├── smToolbar.scss
│ ├── sunbird
│ ├── calendar.scss
│ ├── tbOverlay.scss
│ ├── toolbar-large.png
│ ├── toolbar-small.png
│ └── toolbar.scss
│ ├── taskbar.png
│ ├── tasksOverlay.scss
│ └── tbToolbar.scss
├── clean
├── components
├── alarm-service.js
└── cmd-line-handler.js
├── config.txt
├── icon.png
├── icon64.png
└── install.rdf
/.gitignore:
--------------------------------------------------------------------------------
1 | temp
2 | start
3 | *.xpi
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Lightbird is a SeaMonkey extension that aims to provide a conventional interface for Lightning calendar.
2 | It is based on Sunbird code, and requires Lightning to work. Since it's just a frontend, it doesn't contain any binary components.
3 |
4 | AMO listing: https://addons.mozilla.org/en-US/seamonkey/addon/lightbird/
5 |
6 | MozillaZine thread: http://forums.mozillazine.org/viewtopic.php?f=48&t=2774051
7 |
--------------------------------------------------------------------------------
/build:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | rm -rf temp
4 | mkdir temp
5 | cp chrome.manifest temp
6 | cp install.rdf temp
7 | cp icon.png temp
8 | cp icon64.png temp
9 | cp chrome temp -r
10 | cp components temp -r
11 |
12 | cd temp
13 |
14 | cd chrome/skin
15 | for scss in */*.scss */*/*.scss; do
16 | sassc $scss ${scss%%.scss}.css -I . || exit 1
17 | done
18 | find -name "*.scss" -delete
19 | cd ../..
20 |
21 | #Substitute variables
22 | while read LINE; do
23 | if [[ $LINE != [A-Z]* ]]; then
24 | continue
25 | fi
26 | LINE1=`echo $LINE | grep -oE "^[^=]+"`
27 | LINE2=`echo $LINE | grep -oE "[^=]+$"`
28 | sed "s|\$$LINE1|$LINE2|g" -i install.rdf chrome.manifest
29 | eval "$LINE1=\"$LINE2\""
30 | done < "../config.txt"
31 |
32 | cd chrome/content/sunbird
33 | for F in calendar-doctype calendar-sets calendar-sets-extra calendar-scripts sunbird-scripts calendar-menubar sunbird-toolbar; do
34 | tail -n +5 "$F.inc" > "$F.inc.temp"
35 | sed "/#include $F.inc/r $F.inc.temp" -i calendar.xul
36 | sed "s/#include $F.inc//g" -i calendar.xul
37 | rm "$F.inc"
38 | rm "$F.inc.temp"
39 | done
40 | sed -E "s/^#.*//g" -i *
41 | cd ../../..
42 |
43 | zip ../lightbird-$VERSION-sm+tb.xpi * -rq
44 |
--------------------------------------------------------------------------------
/chrome/content/emptyOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/chrome/content/eventDialogOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
20 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
38 |
39 |
--------------------------------------------------------------------------------
/chrome/content/lightning-hooks.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | function ensureCalendarVisible(aCalendar) {
6 | lightbirdObject.toCalendar();
7 | }
8 |
--------------------------------------------------------------------------------
/chrome/content/messengerOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
39 |
40 |
41 |
42 |
52 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/chrome/content/prefsOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
11 |
12 |
13 |
16 |
17 |
18 |
19 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/chrome/content/sidebar/common.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | Components.utils.import("resource://calendar/modules/calUtils.jsm");
6 | Components.utils.import("resource://gre/modules/Services.jsm");
7 | Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
8 |
9 | var calendarSidebarController = {
10 | commands: {
11 | "calendar_cut": true,
12 | "calendar_copy": true,
13 | "calendar_paste": true,
14 | },
15 | updateCommands: function () {
16 | for (var command in this.commands) {
17 | goUpdateCommand(command);
18 | }
19 | },
20 |
21 | supportsCommand: function (aCommand) {
22 | if (aCommand in this.commands) {
23 | return true;
24 | }
25 | return false;
26 | },
27 | onEvent: function (aEvent) {
28 | },
29 | isCommandEnabled: function (aCommand) {
30 | switch (aCommand) {
31 | // Thunderbird Commands
32 | case "calendar_cut":
33 | return calendarController.selected_items_writable;
34 | case "calendar_copy":
35 | return calendarController.item_selected;
36 | case "calendar_paste":
37 | return canPaste();
38 | default:
39 | return true;
40 | }
41 | },
42 | doCommand: function (aCommand) {
43 | switch (aCommand) {
44 | case "calendar_cut":
45 | cutToClipboard();
46 | break;
47 | case "calendar_copy":
48 | copyToClipboard();
49 | break;
50 | case "calendar_paste":
51 | pasteFromClipboard();
52 | break;
53 | }
54 | }
55 | };
56 |
57 | function injectCalendarCommandController2() {
58 | // On Sunbird, we also need to set up our hacky command controller.
59 | while (top.controllers.getControllerCount() > 0)
60 | top.controllers.removeControllerAt(0);
61 |
62 | top.controllers.insertControllerAt(0, calendarSidebarController);
63 |
64 | // This needs to be done for all applications
65 | top.controllers.insertControllerAt(0, calendarController);
66 | document.commandDispatcher.updateCommands("calendar_commands");
67 | }
68 |
69 | function startup() {
70 | loadCalendarManager();
71 | prepare();
72 | injectCalendarCommandController2();
73 | calendarUpdateNewItemsCommand();
74 | }
75 | function shutdown() {
76 | unloadCalendarManager();
77 | finish();
78 | removeCalendarCommandController();
79 | }
80 |
81 | function updateClipboardCommands() {
82 | let commands = ["calendar_cut",
83 | "calendar_copy",
84 | "calendar_paste"];
85 | for (let command of commands) {
86 | goUpdateCommand(command);
87 | }
88 | }
89 |
90 | window.addEventListener("load", startup, false);
91 | window.addEventListener("unload", shutdown, false);
92 |
--------------------------------------------------------------------------------
/chrome/content/sidebar/hooks.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | var currentViewObj = {
6 | selectedDay: null,
7 | getSelectedItems: function() {
8 | let tree = unifinderTreeView.treeElement;
9 | if (!tree.view.selection || tree.view.selection.getRangeCount() == 0) {
10 | return;
11 | }
12 |
13 | let selectedItems = [];
14 | gCalendarEventTreeClicked = true;
15 |
16 | // Get the selected events from the tree
17 | let start = {};
18 | let end = {};
19 | let numRanges = tree.view.selection.getRangeCount();
20 |
21 | for (let t = 0; t < numRanges; t++) {
22 | tree.view.selection.getRangeAt(t, start, end);
23 |
24 | for (let v = start.value; v <= end.value; v++) {
25 | try {
26 | selectedItems.push(unifinderTreeView.getItemAt(v));
27 | } catch (e) {
28 | WARN("Error getting Event from row: " + e + "\n");
29 | }
30 | }
31 | }
32 |
33 | return selectedItems;
34 | },
35 | setSelectedItems: function() {}
36 | };
37 |
38 | function currentView() {
39 | currentViewObj.selectedDay = now();
40 | return currentViewObj;
41 | }
42 |
43 | function ensureCalendarVisible(aCalendar) {
44 | }
45 |
46 | function loadCalendarManager() {
47 | let compositeCalendar = getCompositeCalendar();
48 |
49 | // Initialize our composite observer
50 | compositeCalendar.addObserver(compositeObserver);
51 |
52 | // Create the home calendar if no calendar exists.
53 | let calendars = cal.getCalendarManager().getCalendars({});
54 | if (!calendars.length) {
55 | initHomeCalendar();
56 | }
57 | }
58 |
59 | function changeContextMenuForTask (aEvent) {
60 | handleTaskContextMenuStateChange(aEvent);
61 |
62 | let idnode = document.popupNode.id;
63 | let items = getSelectedTasks(aEvent);
64 | document.getElementById("task-context-menu-new").hidden = false;
65 | document.getElementById("task-context-menu-modify").hidden = false;
66 | document.getElementById("task-context-menu-new-todaypane").hidden = true;
67 | document.getElementById("task-context-menu-modify-todaypane").hidden = true;
68 | document.getElementById("task-context-menu-filter-todaypane").hidden = false;
69 | document.getElementById("task-context-menu-separator-filter").hidden = false;
70 |
71 | let tasksSelected = (items.length > 0);
72 | applyAttributeToMenuChildren(aEvent.target, "disabled", (!tasksSelected));
73 | if (calendarController.isCommandEnabled("calendar_new_todo_command") &&
74 | calendarController.isCommandEnabled("calendar_new_todo_todaypane_command")) {
75 | document.getElementById("calendar_new_todo_command").removeAttribute("disabled");
76 | document.getElementById("calendar_new_todo_todaypane_command").removeAttribute("disabled");
77 | } else {
78 | document.getElementById("calendar_new_todo_command").setAttribute("disabled", "true");
79 | document.getElementById("calendar_new_todo_todaypane_command").setAttribute("disabled", "true");
80 | }
81 |
82 | // make sure the paste menu item is enabled
83 | goUpdateCommand("calendar_paste");
84 | goUpdateCommand("calendar_cut");
85 |
86 | // make sure the filter menu is enabled
87 | document.getElementById("task-context-menu-filter-todaypane").removeAttribute("disabled");
88 | applyAttributeToMenuChildren(document.getElementById("task-context-menu-filter-todaypane-popup"),
89 | "disabled", false);
90 |
91 | changeMenuForTask(aEvent);
92 |
93 | let menu = document.getElementById("task-context-menu-attendance-menu");
94 | setupAttendanceMenu(menu, items);
95 | }
96 |
--------------------------------------------------------------------------------
/chrome/content/sidebar/navigatorOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
10 |
11 |
12 |
20 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/content/sidebar/overlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
10 |
13 |
16 |
17 |
20 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/chrome/content/sidebar/tasks.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | function prepare() {
6 | document.getElementById("tabmail").currentTabInfo = {
7 | mode: {
8 | type: "calendarTask"
9 | }
10 | };
11 | updateCalendarToDoUnifinder();
12 | }
13 |
14 | function finish() {
15 | }
16 |
--------------------------------------------------------------------------------
/chrome/content/smOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
10 |
11 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/applicationUtil.js:
--------------------------------------------------------------------------------
1 | /* -*- Mode: javascript; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | * This Source Code Form is subject to the terms of the Mozilla Public
3 | * License, v. 2.0. If a copy of the MPL was not distributed with this
4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 |
6 | Components.utils.import("resource://gre/modules/Services.jsm");
7 |
8 | const nsIWindowMediator = Components.interfaces.nsIWindowMediator;
9 |
10 | function goToggleToolbar(id, elementID)
11 | {
12 | var toolbar = document.getElementById(id);
13 | var element = document.getElementById(elementID);
14 | if (toolbar) {
15 | var isHidden = toolbar.hidden;
16 | toolbar.hidden = !isHidden;
17 | document.persist(id, 'hidden');
18 | if (element) {
19 | element.setAttribute("checked", isHidden ? "true" : "false");
20 | document.persist(elementID, 'checked');
21 | }
22 | }
23 | }
24 |
25 | /**
26 | * We recreate the View > Toolbars menu each time it is opened to include any
27 | * user-created toolbars.
28 | */
29 | function sbOnViewToolbarsPopupShowing(aEvent)
30 | {
31 | var popup = aEvent.target;
32 | var i;
33 |
34 | // Empty the menu
35 | for (i = popup.childNodes.length-1; i >= 0; i--) {
36 | var deadItem = popup.childNodes[i];
37 | if (deadItem.hasAttribute("toolbarindex")) {
38 | deadItem.removeEventListener("command", sbOnViewToolbarCommand, false);
39 | popup.removeChild(deadItem);
40 | }
41 | }
42 |
43 | var firstMenuItem = popup.firstChild;
44 |
45 | var toolbox = document.getElementById("calendar-toolbox");
46 | for (i = 0; i < toolbox.childNodes.length; i++) {
47 | var toolbar = toolbox.childNodes[i];
48 | var toolbarName = toolbar.getAttribute("toolbarname");
49 | var type = toolbar.getAttribute("type");
50 | if (toolbarName && type != "menubar") {
51 | var menuItem = document.createElement("menuitem");
52 | menuItem.setAttribute("toolbarindex", i);
53 | menuItem.setAttribute("type", "checkbox");
54 | menuItem.setAttribute("label", toolbarName);
55 | menuItem.setAttribute("accesskey", toolbar.getAttribute("accesskey"));
56 | menuItem.setAttribute("checked", toolbar.getAttribute("hidden") != "true");
57 | popup.insertBefore(menuItem, firstMenuItem);
58 |
59 | menuItem.addEventListener("command", sbOnViewToolbarCommand, false);
60 | }
61 | }
62 | }
63 |
64 | /**
65 | * Toggles the visibility of the associated toolbar when fired.
66 | */
67 | function sbOnViewToolbarCommand(aEvent)
68 | {
69 | var toolbox = document.getElementById("calendar-toolbox");
70 | var index = aEvent.originalTarget.getAttribute("toolbarindex");
71 | var toolbar = toolbox.childNodes[index];
72 |
73 | toolbar.hidden = (aEvent.originalTarget.getAttribute("checked") != "true");
74 | document.persist(toolbar.id, "hidden");
75 | }
76 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/calendar-doctype.inc:
--------------------------------------------------------------------------------
1 | # This Source Code Form is subject to the terms of the Mozilla Public
2 | # License, v. 2.0. If a copy of the MPL was not distributed with this
3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 |
5 |
6 | %lightningDTD;
9 | %tbLightbirdDTD;
10 | %dtd1;
11 | %dtd2;
12 | %dtd3;
13 | %sunbirdDTD;
14 | %calendarMenuOverlayDTD;
15 | %sunbirdMenuOverlayDTD;
16 | %brandDTD;
17 | %calendar-event-dialogDTD;
18 | %downloadsDTD;
19 | %navigatorDTD;
20 | ]>
21 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/calendar-gotodate-dialog.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
16 |
31 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/calendar-offline.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | Components.utils.import("resource://gre/modules/Services.jsm");
6 |
7 | if (!calendarOfflineManager) {
8 | Components.utils.reportError("calendar-management.js not included!");
9 | }
10 |
11 | // In addition to what the base calendar offline manager does, we need to make
12 | // the offline commands work in sunbird. Extend the offline manager here.
13 | var baseUpdateOfflineUI = calendarOfflineManager.updateOfflineUI;
14 | calendarOfflineManager.updateOfflineUI = function sunbird_updateOfflineUI(aIsOffline) {
15 | if (document.getElementById("offline-status"))
16 | setElementValue("offline-status", aIsOffline && "true", "offline");
17 |
18 | if (document.getElementById("offline-status-tb"))
19 | setElementValue("offline-status-tb", aIsOffline && "true", "offline");
20 |
21 | baseUpdateOfflineUI(aIsOffline);
22 | };
23 |
24 | calendarOfflineManager.toggleOfflineStatus = function sunbird_toggleOfflineStatus() {
25 | var ioService = Services.io;
26 | if (ioService.offline) {
27 | // Going online
28 | ioService.offline = false;
29 | try {
30 | // Alternatively we could check for @mozilla.org/network/network-link-service;1 here
31 | // instead of using a try-catch block, but the dependency on that service is rather an
32 | // implementation detail of the IO service.
33 | ioService.manageOfflineStatus = getPrefSafe("offline.autoDetect", true);
34 | } catch (exc) {
35 | }
36 | } else {
37 | // Going offline
38 | ioService.manageOfflineStatus = false;
39 | ioService.offline = true;
40 | }
41 | };
42 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/calendar-scripts.inc:
--------------------------------------------------------------------------------
1 | # This Source Code Form is subject to the terms of the Mozilla Public
2 | # License, v. 2.0. If a copy of the MPL was not distributed with this
3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/calendar-sets-extra.inc:
--------------------------------------------------------------------------------
1 | # This Source Code Form is subject to the terms of the Mozilla Public
2 | # License, v. 2.0. If a copy of the MPL was not distributed with this
3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/lightning-hooks.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | var gCurrentMode = 'calendar';
6 | var agendaListbox = {
7 | today: {
8 | start: ""
9 | }
10 | };
11 |
12 | function isSunbird() {
13 | return true;
14 | }
15 |
16 | function ltnSwitchCalendarView(aType, aShow) {
17 | sbSwitchToView(aType);
18 | }
19 |
20 | function switchCalendarView(aType, aShow) {
21 | sbSwitchToView(aType);
22 | }
23 |
24 | /*
25 | calendarController.isCalendarInForeground = function lightbird_isCalendarInForeground() {
26 | return true;
27 | }
28 |
29 | calendarController.isInMode = function lightbird_isInMode(mode) {
30 | return mode == "calendar";
31 | }
32 | */
33 | function injectCalendarCommandController() {
34 | // On Sunbird, we also need to set up our hacky command controller.
35 | top.controllers.insertControllerAt(0, calendarController2);
36 |
37 | // This needs to be done for all applications
38 | top.controllers.insertControllerAt(0, calendarController);
39 | document.commandDispatcher.updateCommands("calendar_commands");
40 | }
41 |
42 | function minimonthPick(aNewDate) {
43 | let cdt = cal.jsDateToDateTime(aNewDate, currentView().timezone);
44 | cdt.isDate = true;
45 | currentView().goToDay(cdt);
46 |
47 | // update date filter for task tree
48 | let tree = document.getElementById("unifinder-todo-tree");
49 | tree.updateFilter();
50 | }
51 |
52 | function changeContextMenuForTask (aEvent) {
53 | handleTaskContextMenuStateChange(aEvent);
54 |
55 | let idnode = document.popupNode.id;
56 | let items = getSelectedTasks(aEvent);
57 | document.getElementById("task-context-menu-new").hidden = false;
58 | document.getElementById("task-context-menu-modify").hidden = false;
59 | document.getElementById("task-context-menu-new-todaypane").hidden = true;
60 | document.getElementById("task-context-menu-modify-todaypane").hidden = true;
61 | document.getElementById("task-context-menu-filter-todaypane").hidden = false;
62 | document.getElementById("task-context-menu-separator-filter").hidden = false;
63 |
64 | let tasksSelected = (items.length > 0);
65 | applyAttributeToMenuChildren(aEvent.target, "disabled", (!tasksSelected));
66 | if (calendarController.isCommandEnabled("calendar_new_todo_command") &&
67 | calendarController.isCommandEnabled("calendar_new_todo_todaypane_command")) {
68 | document.getElementById("calendar_new_todo_command").removeAttribute("disabled");
69 | document.getElementById("calendar_new_todo_todaypane_command").removeAttribute("disabled");
70 | } else {
71 | document.getElementById("calendar_new_todo_command").setAttribute("disabled", "true");
72 | document.getElementById("calendar_new_todo_todaypane_command").setAttribute("disabled", "true");
73 | }
74 |
75 | // make sure the paste menu item is enabled
76 | goUpdateCommand("cmd_paste");
77 | goUpdateCommand("cmd_cut");
78 |
79 | // make sure the filter menu is enabled
80 | document.getElementById("task-context-menu-filter-todaypane").removeAttribute("disabled");
81 | applyAttributeToMenuChildren(document.getElementById("task-context-menu-filter-todaypane-popup"),
82 | "disabled", false);
83 |
84 | changeMenuForTask(aEvent);
85 |
86 | let menu = document.getElementById("task-context-menu-attendance-menu");
87 | setupAttendanceMenu(menu, items);
88 | }
89 |
90 | function prepareCalendarToDoUnifinder() {
91 | document.getElementById("todo-label").removeAttribute("collapsed");
92 |
93 | // add listener to update the date filters
94 | getViewDeck().addEventListener("dayselect", updateCalendarToDoUnifinder, false);
95 |
96 | updateCalendarToDoUnifinder();
97 | }
98 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/lightning-hooks.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/smOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
11 |
13 |
15 |
17 |
19 |
20 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/sunbird-scripts.inc:
--------------------------------------------------------------------------------
1 | # This Source Code Form is subject to the terms of the Mozilla Public
2 | # License, v. 2.0. If a copy of the MPL was not distributed with this
3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/tbOverlay.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | function openOptionsDialog(aPaneID, aTabID, aOtherArgs)
6 | {
7 | let win = Services.wm.getMostRecentWindow("Mail:Preferences");
8 | if (win) {
9 | // the dialog is already open
10 | win.focus();
11 | if (aPaneID) {
12 | let prefWindow = win.document.getElementById("MailPreferences");
13 | win.selectPaneAndTab(prefWindow, aPaneID, aTabID);
14 | }
15 | } else {
16 | // the dialog must be created
17 | let instantApply = Services.prefs
18 | .getBoolPref("browser.preferences.instantApply");
19 | let features = "chrome,titlebar,toolbar,centerscreen" +
20 | (instantApply ? ",dialog=no" : ",modal");
21 |
22 | openDialog("chrome://messenger/content/preferences/preferences.xul",
23 | "Preferences", features, aPaneID, aTabID, aOtherArgs);
24 | }
25 | }
26 |
27 | function CalendarToolboxCustomizeInit(aToolboxChanged) {
28 |
29 | }
30 |
31 | function CalendarCustomizeToolbar() {
32 | // Disable the toolbar context menu items
33 | var menubar = document.getElementById("main-menubar");
34 | for (var i = 0; i < menubar.childNodes.length; ++i) {
35 | menubar.childNodes[i].setAttribute("disabled", true);
36 | }
37 |
38 | var cmd = document.getElementById("cmd_CustomizeToolbars");
39 | cmd.setAttribute("disabled", "true");
40 |
41 | window.openDialog("chrome://global/content/customizeToolbar.xul", "CustomizeToolbar",
42 | "chrome,all,dependent", document.getElementById("calendar-toolbox"));
43 | }
44 |
45 | function CalendarToolboxCustomizeDone(aToolboxChanged) {
46 | // Re-enable parts of the UI we disabled during the dialog
47 | var menubar = document.getElementById("main-menubar");
48 | for (var i = 0; i < menubar.childNodes.length; ++i) {
49 | menubar.childNodes[i].setAttribute("disabled", false);
50 | }
51 | var cmd = document.getElementById("cmd_CustomizeToolbars");
52 | cmd.removeAttribute("disabled");
53 |
54 | // XXX Shouldn't have to do this, but I do
55 | window.focus();
56 | }
57 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/tbOverlayMac.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
12 |
13 |
14 |
15 |
18 |
21 |
22 |
23 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/tbOverlayNonMac.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | %composeDTD;
9 | %messengerDTD;
10 | ]>
11 |
12 |
14 |
15 |
16 |
17 |
18 |
28 |
29 |
30 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/chrome/content/sunbird/tbOverlayWindows.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
11 |
12 |
13 |
14 |
15 |
22 |
23 |
--------------------------------------------------------------------------------
/chrome/content/tasksOverlay.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | Components.utils.import("resource://gre/modules/Services.jsm");
6 |
7 | var lightbirdObject = {
8 | biffElement: null,
9 |
10 | toCalendar: function() {
11 | toOpenWindowByType("calendarMainWindow", "chrome://lightbird/content/sunbird/calendar.xul");
12 | },
13 |
14 | onLoad: function () {
15 | let elem = document.getElementById("mini-cal");
16 |
17 | if (!elem)
18 | elem = document.getElementById("calendar-button");
19 |
20 | if (!elem)
21 | return
22 |
23 | lightbirdObject.biffElement = elem;
24 |
25 | let num = Components.classes["@lightbird/alarm-service;1"]
26 | .getService().wrappedJSObject.getAlarmsCount();
27 |
28 | lightbirdObject.setState(num);
29 |
30 | Services.obs.addObserver(lightbirdObject.obs, "lightbird:alarm-state-changed", false);
31 | addEventListener("unload", lightbirdObject.onUnload, false);
32 | },
33 |
34 | onUnload: function () {
35 | Services.obs.removeObserver(lightbirdObject.obs, "lightbird:alarm-state-changed", false);
36 | },
37 |
38 | obs: {
39 | observe: function (aSubject, aTopic, aData) {
40 | lightbirdObject.setState(aData);
41 | }
42 | },
43 |
44 | setState: function (aNum) {
45 | if (aNum > 0)
46 | lightbirdObject.biffElement.setAttribute("BiffState", "Alarm");
47 | else
48 | lightbirdObject.biffElement.removeAttribute("BiffState");
49 | }
50 | };
51 |
52 | addEventListener("load", lightbirdObject.onLoad, false);
53 |
--------------------------------------------------------------------------------
/chrome/content/tasksOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
15 |
16 |
18 |
19 |
20 |
24 |
25 |
26 |
27 |
29 |
30 |
31 |
41 |
42 |
43 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/chrome/content/tbOverlay.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | %dtd1;
10 | %dtd2;
11 | %dtd3;
12 | ]>
13 |
14 |
15 |
16 |
18 |
19 |
21 |
22 |
23 |
27 |
28 |
29 |
38 |
39 |
48 |
49 |
50 |
55 |
56 |
57 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/chrome/content/tbOverlayAddressBook.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
11 |
12 |
14 |
15 |
16 |
20 |
21 |
22 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/chrome/content/tbOverlayMac.xul:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
11 |
12 |
14 |
15 |
16 |
20 |
21 |
22 |
27 |
28 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/chrome/icons/default/calendar-window.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/icons/default/calendar-window.ico
--------------------------------------------------------------------------------
/chrome/icons/default/calendar-window.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/icons/default/calendar-window.png
--------------------------------------------------------------------------------
/chrome/icons/default/calendar-window16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/icons/default/calendar-window16.png
--------------------------------------------------------------------------------
/chrome/icons/default/calendar-window48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/icons/default/calendar-window48.png
--------------------------------------------------------------------------------
/chrome/locale/ca/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
24 |
25 | Traducció
26 |
29 |
30 | - Tirs Abril
31 | - Ernest Adrogué
32 | - Jaume Bargalló
33 | - Hèctor Batalla
34 | - Marc Belzunces
35 | - Xavi Caballé
36 | - Pau Cabot
37 | - Antoni Camon
38 | - Jordi Capel
39 | - Jordi Coll
40 | - Jesús Corrius
41 | - Gerard Farràs i Ballabriga
42 | - Josep Ma Ferrer
43 | - Vicent Fornés
44 | - Oriol Gonzalez
45 | - Toni Hermoso
46 | - Xavi Ivars
47 | - Jordi Jover
48 | - Quico Llach
49 | - Albert Lombarte
50 | - Jordi Mallach
51 | - Jordi Mas
52 | - Fingal Nogera
53 | - Joaquim Perez Noguer
54 | - Miquel Piulats
55 | - Daniel Portella
56 | - Josep Puigdemont
57 | - Joan Sala Soler
58 | - Jordi Serratosa
59 | - Xevi Serrats
60 | - Marc Tubella
61 | - Ricard Vaque
62 | - Fernando Verdú
63 |
">
64 |
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/chrome/locale/ca/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/ca/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/cs/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
18 |
19 |
20 |
24 | Překlad- Pavel Franc
- Pavel Kurc
- Lukáš Petrovický
">
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/cs/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/cs/sunbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/chrome/locale/cs/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/da/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/chrome/locale/da/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/da/sunbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/chrome/locale/da/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/de/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Übersetzer-
27 | Thorsten Bergeler
- Robert Brand
- Thorsten Fritz
- Robert Kaiser
">
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/chrome/locale/de/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/de/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/en-GB/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/en-GB/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/en-GB/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/en-US/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/en-US/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/en-US/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/es-AR/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Traductores- Marcelo Poli
- Pamela Gulijczuk
- Pablo Lillia
- Guillermo Movia
- Mariano Cuenze
- Sergio Miranda
">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/es-AR/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/es-AR/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/es-ES/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/chrome/locale/es-ES/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/es-ES/sunbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/chrome/locale/es-ES/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/et/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Tõlge">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/et/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/et/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/eu/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/eu/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/eu/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/fi/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Suomennus">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/fi/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/fi/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/fr/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Traduction- L'équipe FrenchMozilla
- Philippe Dessante
- Flore Allemandou
- Frédéric Chateaux
- François Constantineau
- Cédric Corazza
- Sébastien Desvignes
- Hugues Fournier
- Benoît Leseul
- Alexandre Lissy
- Remerciements
- Vincent Béron
- Asbin
- Julien Balas
- Paul Lacourse
- Yves Lambert
- Snap
- Sylvain Parois
">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/fr/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/fr/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/fy-NL/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
18 |
19 |
20 |
24 | Oersetters- Wim Benes
- Hindrik Sijens
- Mei stipe fan Provinsje Fryslân
">
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/chrome/locale/fy-NL/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/fy-NL/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/ga-IE/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/chrome/locale/ga-IE/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/ga-IE/sunbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/chrome/locale/ga-IE/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/gd/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Eadar-theangadairean- Michael 'Akerbeltz' Bauer
">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/gd/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/gd/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/hr/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/hr/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/hr/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/hu/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/hu/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/hu/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/is/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
23 | Þýðandi- Kristján Bjarni Guðmundsson
">
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/chrome/locale/is/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/is/sunbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/chrome/locale/is/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/it/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/chrome/locale/it/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/it/sunbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/chrome/locale/it/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/ja/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Translators
26 | - mike
27 | - Atsushi Sakai
28 | - Masahiko Imanaka
29 | - and, Mozilla Japan Localize Center
30 |
">
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/chrome/locale/ja/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/ja/sunbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/chrome/locale/ja/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/ko/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | 한국어 번역- 박찬규, Chankyu Park(sushizang@empal.com)
- 김정균, Joungkyun Kim(oops@mozilla.or.kr)
">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/ko/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/ko/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/lt/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
17 |
18 |
19 |
20 |
21 |
22 |
26 | Lokalizuotojai- Gintautas Grigas
- Tatjana Jevsikova
- Rimas Kudelis
Programa lokalizuota Matematikos ir informatikos institute.
">
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/chrome/locale/lt/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/lt/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/nb-NO/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Oversettelse- Tor Einar Andersen
- Håvar I. Henriksen
- Håvard Mork
">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/nb-NO/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/nb-NO/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/nl/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Translators">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/nl/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/nl/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/nn-NO/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
22 | Norsk omsetjing- Eirik Birkeland
- Bjørn I. Svindseth
">
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/chrome/locale/nn-NO/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/nn-NO/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/pl/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
18 |
19 | Polska lokalizacja- Maciej Chojnacki
- Hubert Gajewski
- Stanisław Małolepszy
- Katarzyna Stawarz
- Marek Stępień
Podziękowania od lokalizatorów dla:
- Kacper Korwin-Mikke
- Bartosz Piec
">
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/chrome/locale/pl/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/pl/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/pt-PT/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Tradutores- Carlos Simão
- André Pinto
- João Miguel Neves
">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/pt-PT/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/pt-PT/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/ru/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
25 | Переводчики- Алексей Губанов
- Александр Словесник
- Валентина Ванеева
- Вадим Виниченко
- Сергей Дегтярев
- Виталий Пирятинский
- Даниил Смирнов
">
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/chrome/locale/ru/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/ru/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/sk/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
22 | Preklad do slovenčiny- Branislav Rozbora
- Vlado Valaštiak (wladow)
Korektúry
">
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/chrome/locale/sk/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/sk/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/zh-CN/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
14 |
15 |
16 |
17 |
18 |
19 |
23 | 翻译人员">
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/chrome/locale/zh-CN/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/zh-CN/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/locale/zh-TW/aboutDialog.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 | 翻譯與在地化:
Mozilla Taiwan Community (MozTW)- Bob Po-chiang Chao 趙柏強
- Alan "coolcd" Cheng
- Wei-Lun Sun 孫偉倫
- Wu, Ru-kang 吳汝剛
- Peter Pin-Guang Chen 陳品光
">
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/chrome/locale/zh-TW/lightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/chrome/locale/zh-TW/tbLightbird.dtd:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/chrome/skin/_messengerToolbar.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | #extractEventButton,
6 | #extractTaskButton,
7 | #hdrExtractEventButton,
8 | #hdrExtractTaskButton {
9 | list-style-image: url("chrome://lightbird/skin/sunbird/toolbar-large.png");
10 |
11 | toolbar[iconsize="small"] & {
12 | list-style-image: url("chrome://lightbird/skin/sunbird/toolbar-small.png");
13 | }
14 | }
15 |
16 | @import "util";
17 |
18 | @include toolbar_button(extractEventButton, 1);
19 | @include toolbar_button(extractTaskButton, 16);
20 | @include toolbar_button(hdrExtractEventButton, 1);
21 | @include toolbar_button(hdrExtractTaskButton, 16);
22 |
--------------------------------------------------------------------------------
/chrome/skin/_messengerToolbarMono.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | #extractEventButton,
6 | #hdrExtractEventButton {
7 | list-style-image: url(chrome://lightbird/skin/calendar-toolbar.svg#newevent);
8 |
9 | toolbar[brighttext] & {
10 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#newevent-inverted");
11 | }
12 | }
13 |
14 | #extractTaskButton,
15 | #hdrExtractTaskButton {
16 | list-style-image: url(chrome://lightbird/skin/calendar-toolbar.svg#newtask);
17 |
18 | toolbar[brighttext] & {
19 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#newtask-inverted");
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/chrome/skin/_sunbird_calendar.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | /*--------------------------------------------------------------------
6 | * MAIN view deck - contains nav buttons and views
7 | *-------------------------------------------------------------------*/
8 | #view-deck {
9 | background: #FFFFFF;
10 | padding: 0px;
11 | }
12 |
13 | #view-tabbox {
14 | display: none;
15 | }
16 |
17 | /*--------------------------------------------------------------------
18 | * print preview
19 | *-------------------------------------------------------------------*/
20 | toolbar[printpreview="true"] {
21 | -moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
22 | }
23 |
--------------------------------------------------------------------------------
/chrome/skin/_sunbird_tbOverlay.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | #navigator-throbber {
6 | width: 16px + $_thr;
7 | min-width: 16px + $_thr;
8 | min-height: 16px;
9 | margin: 0 3px + $_thr;
10 | -moz-appearance: none;
11 | border: none;
12 | background: none;
13 |
14 | &[busy="true"] {
15 | list-style-image: url("chrome://global/skin/icons/loading_16.png");
16 | }
17 | }
18 |
19 | #throbber-box {
20 | &, #wrapper-throbber-box > & {
21 | list-style-image: url("chrome://global/skin/icons/notloading_16.png");
22 | }
23 | }
24 |
25 | #offline-status-tb {
26 | padding: 0 2px;
27 | list-style-image: url("chrome://messenger/skin/icons/online.png");
28 |
29 | &[offline="true"] {
30 | list-style-image: url("chrome://messenger/skin/icons/offline.png");
31 | }
32 | }
33 |
34 | .toolbarbutton-1 {
35 | -moz-box-orient: vertical;
36 | }
37 |
38 | toolbox[labelalign="end"] {
39 | .toolbarbutton-1,
40 | .toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-button {
41 | -moz-box-orient: horizontal;
42 | }
43 |
44 | > toolbar[mode="full"] {
45 | .toolbarbutton-1 .toolbarbutton-text {
46 | -moz-padding-start: 2px;
47 | }
48 |
49 | deck .toolbarbutton-text {
50 | text-align: start;
51 | }
52 | }
53 | }
54 |
55 | .toolbarbutton-1[type="menu"] {
56 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-vertical");
57 |
58 | toolbox[labelalign="end"] & {
59 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu");
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/chrome/skin/_sunbird_toolbar.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | .cal-toolbarbutton-1 {
6 | list-style-image: url("chrome://lightbird/skin/sunbird/toolbar-large.png");
7 |
8 | .toolbarbutton-icon {
9 | width: $_l_icon;
10 | height: $_l_icon;
11 | }
12 |
13 | toolbar[iconsize="small"] & {
14 | list-style-image: url("chrome://lightbird/skin/sunbird/toolbar-small.png");
15 |
16 | .toolbarbutton-icon {
17 | width: $_s_icon;
18 | height: $_s_icon;
19 | }
20 | }
21 | }
22 |
23 | /* Thunderbird hides small icons checkbox, but it's still needed here */
24 | #CustomizeToolbarWindow[toolboxId="calendar-toolbox"] #smallicons {
25 | display: -moz-box;
26 | }
27 |
28 | @import "util";
29 |
30 | @include toolbar_button(calendar-new-event-button, 1);
31 | @include toolbar_button(calendar-edit-button, 2);
32 | @include toolbar_button(calendar-delete-button, 3);
33 | @include toolbar_button(calendar-day-view-tbutton, 4, $toggle:true);
34 | @include toolbar_button(calendar-week-view-tbutton, 5, $toggle:true);
35 | @include toolbar_button(calendar-multiweek-view-tbutton, 6, $toggle:true);
36 | @include toolbar_button(calendar-month-view-tbutton, 7, $toggle:true);
37 | @include toolbar_button(calendar-cut-button, 8);
38 | @include toolbar_button(calendar-copy-button, 9);
39 | @include toolbar_button(calendar-paste-button, 10);
40 | @include toolbar_button(calendar-import-button, 11);
41 | @include toolbar_button(calendar-export-button, 12);
42 | @include toolbar_button(calendar-subscribe-button, 13);
43 | @include toolbar_button(calendar-publish-button, 14);
44 | @include toolbar_button(calendar-print-button, 15);
45 | @include toolbar_button(calendar-new-task-button, 16);
46 | @include toolbar_button(calendar-go-to-today-button, 17);
47 | @include toolbar_button(calendar-choose-date-button, 18);
48 | @include toolbar_button(calendar-remote-reload-button, 20);
49 | @include toolbar_button(calendar-unifinder-button, 22);
50 |
--------------------------------------------------------------------------------
/chrome/skin/_tasksOverlay.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | $_icon_x: 21px;
6 | $_icon_y: 13px;
7 |
8 | #mini-cal {
9 | list-style-image: url("chrome://lightbird/skin/taskbar.png");
10 | -moz-image-region: rect(0 $_icon_x $_icon_y 0);
11 |
12 | &:hover {
13 | -moz-image-region: rect($_icon_y $_icon_x $_icon_y*2 0);
14 |
15 | &:active {
16 | -moz-image-region: rect($_icon_y*2 $_icon_x $_icon_y*3 0);
17 | }
18 | }
19 |
20 | &[BiffState="Alarm"] {
21 | -moz-image-region: rect(0 $_icon_x*2 $_icon_y $_icon_x);
22 |
23 | &:hover {
24 | -moz-image-region: rect($_icon_y $_icon_x*2 $_icon_y*2 $_icon_x);
25 |
26 | &:active {
27 | -moz-image-region: rect($_icon_y*2 $_icon_x*2 $_icon_y*3 $_icon_x);
28 | }
29 | }
30 | }
31 | }
32 |
33 | #tasksMenuCalendar {
34 | list-style-image: url("chrome://lightbird/skin/cal-icon16.png");
35 | }
36 |
--------------------------------------------------------------------------------
/chrome/skin/_tbToolbar.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | #calendar-button {
6 | list-style-image: url("chrome://lightbird/skin/cal-icon24.png");
7 |
8 | &[BiffState="Alarm"] {
9 | list-style-image: url("chrome://lightbird/skin/cal-icon24-alarm.png");
10 | }
11 |
12 | toolbar[iconsize="small"] & {
13 | list-style-image: url("chrome://lightbird/skin/cal-icon16.png");
14 |
15 | &[BiffState="Alarm"] {
16 | list-style-image: url("chrome://lightbird/skin/cal-icon16-alarm.png");
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/chrome/skin/_tbToolbarMono.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | #calendar-button {
6 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#calendar-tab");
7 |
8 | &[BiffState="Alarm"] {
9 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#priority");
10 | }
11 |
12 | toolbar[brighttext] & {
13 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#calendar-tab-inverted");
14 |
15 | &[BiffState="Alarm"] {
16 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#priority-inverted");
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/chrome/skin/_util.scss:
--------------------------------------------------------------------------------
1 | @mixin toolbar_button($name, $num, $toggle:false, $important:false) {
2 | $_s: if($_pinstripe, active, unquote("hover:active"));
3 | $_imp: if($important, " !important", "");
4 |
5 | ##{$name} {
6 | -moz-image-region: rect($_l_icon*0 $_l_icon*$num $_l_icon*1 $_l_icon*($num - 1)) #{$_imp};
7 |
8 | &:#{$_s} {
9 | -moz-image-region: rect($_l_icon*1 $_l_icon*$num $_l_icon*2 $_l_icon*($num - 1)) #{$_imp};
10 | }
11 |
12 | @if $toggle==true {
13 | &:hover:active,
14 | &[checked="true"] {
15 | -moz-image-region: rect($_l_icon*3 $_l_icon*$num $_l_icon*4 $_l_icon*($num - 1)) #{$_imp};
16 | }
17 | }
18 |
19 | &[disabled="true"] {
20 | &, &:#{$_s} {
21 | -moz-image-region: rect($_l_icon*2 $_l_icon*$num $_l_icon*3 $_l_icon*($num - 1)) #{$_imp};
22 | }
23 | }
24 |
25 | toolbar[iconsize="small"] & {
26 | -moz-image-region: rect($_s_icon*0 $_s_icon*$num $_s_icon*1 $_s_icon*($num - 1)) #{$_imp};
27 |
28 | &:#{$_s} {
29 | -moz-image-region: rect($_s_icon*1 $_s_icon*$num $_s_icon*2 $_s_icon*($num - 1)) #{$_imp};
30 | }
31 |
32 | @if $toggle==true {
33 | &:hover:active,
34 | &[checked="true"] {
35 | -moz-image-region: rect($_s_icon*3 $_s_icon*$num $_s_icon*4 $_s_icon*($num - 1)) #{$_imp};
36 | }
37 | }
38 |
39 | &[disabled="true"] {
40 | &, &:#{$_s} {
41 | -moz-image-region: rect($_s_icon*2 $_s_icon*$num $_s_icon*3 $_s_icon*($num - 1)) #{$_imp};
42 | }
43 | }
44 | }
45 | }
46 | }
47 |
48 | @mixin toolbar_button_mono($name, $num, $important:false) {
49 | $_imp: if($important, " !important", "");
50 |
51 | #{$name} {
52 | -moz-image-region: rect($_s_icon*0 $_s_icon*$num $_s_icon*1 $_s_icon*($num - 1)) #{$_imp};
53 |
54 | &:not([disabled]):active {
55 | -moz-image-region: rect($_s_icon*1 $_s_icon*$num $_s_icon*2 $_s_icon*($num - 1)) #{$_imp};
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/chrome/skin/mac/cal-icon16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/mac/cal-icon16.png
--------------------------------------------------------------------------------
/chrome/skin/mac/eventDialogOverlay.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 | * You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
--------------------------------------------------------------------------------
/chrome/skin/mac/smToolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 32px;
2 | $_s_icon: 24px;
3 | $_pinstripe: true;
4 | @import "_messengerToolbar";
5 |
6 | #extractEventButton > .toolbarbutton-icon,
7 | #extractTaskButton > .toolbarbutton-icon,
8 | #extractEventButton > .box-inherit > .toolbarbutton-icon,
9 | #extractTaskButton > .box-inherit > .toolbarbutton-icon {
10 | width: $_l_icon;
11 | height: $_l_icon;
12 | }
13 |
14 | toolbar[iconsize="small"] #extractEventButton > .box-inherit > .toolbarbutton-icon,
15 | toolbar[iconsize="small"] #extractTaskButton > .box-inherit > .toolbarbutton-icon {
16 | width: $_s_icon;
17 | height: $_s_icon;
18 | }
19 |
20 | #extractEventButton[disabled="true"] > .box-inherit > .toolbarbutton-icon,
21 | #extractTaskButton[disabled="true"] > .box-inherit > .toolbarbutton-icon {
22 | opacity: 1;
23 | }
24 |
--------------------------------------------------------------------------------
/chrome/skin/mac/sunbird/calendar.scss:
--------------------------------------------------------------------------------
1 | @import "sunbird_calendar";
2 |
3 | toolbarbutton.chevron {
4 | list-style-image: url("chrome://global/skin/icons/chevron.png") !important;
5 |
6 | & > .toolbarbutton-menu-dropmarker {
7 | display: none;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/chrome/skin/mac/sunbird/tbOverlay.scss:
--------------------------------------------------------------------------------
1 | $_thr: 1px;
2 | @import "sunbird_tbOverlay";
3 |
--------------------------------------------------------------------------------
/chrome/skin/mac/sunbird/toolbar-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/mac/sunbird/toolbar-large.png
--------------------------------------------------------------------------------
/chrome/skin/mac/sunbird/toolbar-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/mac/sunbird/toolbar-small.png
--------------------------------------------------------------------------------
/chrome/skin/mac/sunbird/toolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 32px;
2 | $_s_icon: 24px;
3 | $_pinstripe: true;
4 | @import "sunbird_toolbar";
5 |
--------------------------------------------------------------------------------
/chrome/skin/mac/taskbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/mac/taskbar.png
--------------------------------------------------------------------------------
/chrome/skin/mac/tasksOverlay.scss:
--------------------------------------------------------------------------------
1 | @import "_tasksOverlay";
2 |
--------------------------------------------------------------------------------
/chrome/skin/mac/tbToolbar.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | #extractEventButton,
6 | #hdrExtractEventButton {
7 | list-style-image: url(chrome://lightbird/skin/calendar-toolbar.svg#newevent);
8 |
9 | @media (-moz-mac-yosemite-theme) {
10 | list-style-image: url(chrome://lightbird/skin/calendar-toolbar.svg#newevent-flat);
11 | }
12 |
13 | toolbar[brighttext] & {
14 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#newevent-inverted");
15 | }
16 | }
17 |
18 | #extractTaskButton,
19 | #hdrExtractTaskButton {
20 | list-style-image: url(chrome://lightbird/skin/calendar-toolbar.svg#newtask);
21 |
22 | @media (-moz-mac-yosemite-theme) {
23 | list-style-image: url(chrome://lightbird/skin/calendar-toolbar.svg#newtask-flat);
24 | }
25 |
26 | toolbar[brighttext] & {
27 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#newtask-inverted");
28 | }
29 | }
30 |
31 | #calendar-button {
32 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#calendar-tab");
33 |
34 | &[BiffState="Alarm"] {
35 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#priority");
36 | }
37 |
38 | @media (-moz-mac-yosemite-theme) {
39 | list-style-image: url(chrome://lightbird/skin/calendar-toolbar.svg#calendar-tab-flat);
40 |
41 |
42 | &[BiffState="Alarm"] {
43 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#priority-flat");
44 | }
45 | }
46 |
47 | toolbar[brighttext] & {
48 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#calendar-tab-inverted");
49 |
50 | &[BiffState="Alarm"] {
51 | list-style-image: url("chrome://lightbird/skin/calendar-toolbar.svg#priority-inverted");
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/chrome/skin/modern/calendar-16.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/modern/calendar-16.gif
--------------------------------------------------------------------------------
/chrome/skin/modern/eventDialogOverlay.css:
--------------------------------------------------------------------------------
1 | /*
2 | # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
3 | # This Source Code Form is subject to the terms of the Mozilla Public
4 | # License, v. 2.0. If a copy of the MPL was not distributed with this
5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 | */
7 |
8 | .cal-event-toolbarbutton .toolbarbutton-icon {
9 | height: 33px !important;
10 | width: 49px !important;
11 | }
12 |
13 | #button-delete.cal-event-toolbarbutton .toolbarbutton-icon {
14 | height: 34px !important;
15 | width: 45px !important;
16 | }
17 |
18 | .toolbar-primary-icon {
19 | background-image: url("chrome://lightbird/skin/sunbird/calendar_topbar.gif");
20 | }
21 |
22 | #button-save {
23 | list-style-image: url("chrome://editor/skin/icons/btn1.gif") !important;
24 | }
25 |
26 | #button-attendees,
27 | #button-url {
28 | list-style-image: url("chrome://messenger/skin/icons/btn1.gif") !important;
29 | }
30 |
31 | #button-privacy {
32 | list-style-image: url("chrome://messenger/skin/smime/icons/smbtn1.gif") !important;
33 | }
34 |
35 | #button-delete.cal-event-toolbarbutton {
36 | list-style-image: url("chrome://lightbird/skin/sunbird/btn1.png") !important;
37 | }
38 |
39 | #button-save {
40 | -moz-image-region: rect(238px 49px 271px 0);
41 | }
42 |
43 | #button-save:hover {
44 | -moz-image-region: rect(238px 99px 271px 50px);
45 | }
46 |
47 | #button-save:hover:active {
48 | -moz-image-region: rect(238px 149px 271px 100px);
49 | }
50 |
51 | #button-save[disabled="true"] {
52 | -moz-image-region: rect(238px 199px 271px 150px) !important;
53 | }
54 |
55 | #button-attendees {
56 | -moz-image-region: rect(306px 49px 339px 0);
57 | }
58 |
59 | #button-attendees:hover {
60 | -moz-image-region: rect(306px 99px 339px 50px);
61 | }
62 |
63 | #button-attendees:hover:active {
64 | -moz-image-region: rect(306px 149px 339px 100px);
65 | }
66 |
67 | #button-attendees[disabled="true"] {
68 | -moz-image-region: rect(306px 199px 339px 150px) !important;
69 | }
70 |
71 | #button-privacy {
72 | -moz-image-region: rect(0px 49px 33px 0px);
73 | }
74 |
75 | #button-privacy:hover {
76 | -moz-image-region: rect(0px 99px 33px 50px);
77 | }
78 |
79 | #button-privacy:hover:active {
80 | -moz-image-region: rect(0px 149px 33px 100px);
81 | }
82 |
83 | #button-privacy[disabled="true"] {
84 | -moz-image-region: rect(0px 199px 33px 150px) !important;
85 | }
86 |
87 | #button-url {
88 | -moz-image-region: rect(340px 49px 373px 0);
89 | }
90 |
91 | #button-url:hover {
92 | -moz-image-region: rect(340px 99px 373px 50px);
93 | }
94 |
95 | #button-url:hover:active {
96 | -moz-image-region: rect(340px 149px 373px 100px);
97 | }
98 |
99 | #button-url[disabled="true"] {
100 | -moz-image-region: rect(340px 199px 373px 150px) !important;
101 | }
102 |
103 | #button-delete.cal-event-toolbarbutton {
104 | -moz-image-region: rect(272px 45px 306px 0px) !important;
105 | }
106 |
107 | #button-delete.cal-event-toolbarbutton:hover {
108 | -moz-image-region: rect(272px 90px 306px 45px) !important;
109 | }
110 |
111 | #button-delete.cal-event-toolbarbutton:hover:active {
112 | -moz-image-region: rect(272px 135px 306px 90px) !important;
113 | }
114 |
115 | #button-delete.cal-event-toolbarbutton[disabled="true"] {
116 | -moz-image-region: rect(272px 180px 306px 135px) !important;
117 | }
118 |
--------------------------------------------------------------------------------
/chrome/skin/modern/smToolbar.css:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | /*--------------------------------------------------------------------
6 | * Primary toolbar buttons
7 | *-------------------------------------------------------------------*/
8 |
9 | #extractEventButton,
10 | #extractTaskButton {
11 | list-style-image: url("chrome://lightbird/skin/sunbird/btn1.png");
12 | background-color: transparent !important;
13 | }
14 |
15 |
16 | /*--------------------------------------------------------------------
17 | * extract event button
18 | *-------------------------------------------------------------------*/
19 |
20 | #extractEventButton {
21 | -moz-image-region: rect(204px 45px 238px 0px);
22 | }
23 |
24 | #extractEventButton:hover {
25 | -moz-image-region: rect(204px 90px 238px 45px);
26 | }
27 |
28 | #extractEventButton:hover:active {
29 | -moz-image-region: rect(204px 135px 238px 90px);
30 | }
31 |
32 | #extractEventButton[disabled="true"] {
33 | -moz-image-region: rect(204px 180px 238px 135px) !important;
34 | }
35 |
36 | /*--------------------------------------------------------------------
37 | * extract task button
38 | *-------------------------------------------------------------------*/
39 |
40 | #extractTaskButton {
41 | -moz-image-region: rect(306px 45px 340px 0px);
42 | }
43 |
44 | #extractTaskButton:hover {
45 | -moz-image-region: rect(306px 90px 340px 45px);
46 | }
47 |
48 | #extractTaskButton:hover:active {
49 | -moz-image-region: rect(306px 135px 340px 90px);
50 | }
51 |
52 | #extractTaskButton[disabled="true"] {
53 | -moz-image-region: rect(306px 180px 340px 135px) !important;
54 | }
55 |
56 |
57 | #extractEventButton > .toolbarbutton-icon,
58 | #extractTaskButton > .toolbarbutton-icon,
59 | #extractEventButton .toolbarbutton-icon,
60 | #extractTaskButton .toolbarbutton-icon,
61 | toolbar[iconsize="small"] #extractEventButton .toolbarbutton-icon,
62 | toolbar[iconsize="small"] #extractTaskButton .toolbarbutton-icon {
63 | width: 45px;
64 | height: 34px;
65 | }
66 |
67 | #extractEventButton[disabled="true"] .toolbarbutton-icon,
68 | #extractTaskButton[disabled="true"] .toolbarbutton-icon {
69 | opacity: 1;
70 | }
--------------------------------------------------------------------------------
/chrome/skin/modern/sunbird/btn1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/modern/sunbird/btn1.png
--------------------------------------------------------------------------------
/chrome/skin/modern/sunbird/button.css:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 |
6 | /* ==== button.css ==========================================================
7 | == Styles for special buttons in the Communicator suite.
8 | ========================================================================== */
9 |
10 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 |
12 | /* ::::: large toolbar buttons ::::: */
13 |
14 | .cal-toolbarbutton-1 {
15 | color: #323642;
16 | font-size: 83.3333%;
17 | }
18 |
19 | toolbar[mode="text"] .cal-toolbarbutton-1,
20 | toolbar[labelalign="end"] .cal-toolbarbutton-1 {
21 | color: inherit;
22 | font-size: 100%;
23 | padding: 0px 2px !important;
24 | }
25 |
26 | toolbar[iconsize="small"] .cal-toolbarbutton-1 {
27 | border: 1px solid transparent !important;
28 | }
29 |
30 | .cal-toolbarbutton-1,
31 | .cal-toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-stack
32 | > .toolbarbutton-menubutton-button,
33 | .cal-toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-button
34 | {
35 | -moz-box-orient: vertical;
36 | -moz-box-pack: center;
37 | border: none !important;
38 | padding: 0px !important;
39 | }
40 |
41 | .cal-toolbarbutton-1 .toolbarbutton-text {
42 | min-width: 33px;
43 | }
44 |
45 | .cal-toolbarbutton-1:hover:active {
46 | color: #FFFFFF;
47 | }
48 |
49 | .cal-toolbarbutton-1[disabled="true"]:hover:active {
50 | color: #9399AB;
51 | }
52 |
53 | .cal-toolbarbutton-1 > .toolbarbutton-icon,
54 | .cal-toolbarbutton-1[type="menu-button"] > .toolbarbutton-menubutton-stack
55 | > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
56 | .cal-toolbarbutton-1[type="menu-button"]
57 | > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
58 | margin-bottom: 2px;
59 | }
60 |
61 | .cal-toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
62 | display: none;
63 | }
64 |
65 | toolbar[mode="text"] .cal-toolbarbutton-1 {
66 | min-width: 46px;
67 | }
68 |
69 | toolbar[mode="text"] .cal-toolbarbutton-1,
70 | toolbar[mode="text"] .cal-toolbarbutton-1[type="menu-button"]
71 | > .toolbarbutton-menubutton-button,
72 | toolbar[labelalign="end"] .cal-toolbarbutton-1,
73 | toolbar[labelalign="end"] .cal-toolbarbutton-1[type="menu-button"]
74 | > .toolbarbutton-menubutton-button {
75 | -moz-box-orient: horizontal;
76 | }
77 |
78 | toolbar[mode="icons"] .toolbarbutton-text,
79 | toolbar[mode="text"] .toolbarbutton-icon {
80 | display: none;
81 | }
82 |
83 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker {
84 | margin-top: 20px;
85 | margin-bottom: 0px;
86 | -moz-margin-start: 40px;
87 | -moz-margin-end: 0px;
88 | }
89 |
90 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
91 | toolbar[labelalign="end"]:not([mode="icons"])
92 | .toolbarbutton-menubutton-dropmarker {
93 | margin: 0px 2px !important;
94 | }
95 |
96 | toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker {
97 | margin-top: 0px;
98 | margin-bottom: 2px;
99 | -moz-margin-start: 14px;
100 | -moz-margin-end: 0px;
101 | }
102 |
103 | toolbar[iconsize=small][mode="icons"] .toolbarbutton-menubutton-dropmarker {
104 | margin-top: 8px;
105 | margin-bottom: 0px;
106 | -moz-margin-start: 14px;
107 | -moz-margin-end: 0px;
108 | }
109 |
110 | /* ::::: standard toolbar buttons ::::: */
111 |
112 | .button-toolbar {
113 | -moz-user-focus: ignore !important;
114 | margin: 0px;
115 | }
116 |
--------------------------------------------------------------------------------
/chrome/skin/modern/sunbird/calendar_topbar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/modern/sunbird/calendar_topbar.gif
--------------------------------------------------------------------------------
/chrome/skin/modern/sunbird/tbOverlay.css:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
--------------------------------------------------------------------------------
/chrome/skin/modern/taskbar-cal-act.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/modern/taskbar-cal-act.gif
--------------------------------------------------------------------------------
/chrome/skin/modern/taskbar-cal.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/modern/taskbar-cal.gif
--------------------------------------------------------------------------------
/chrome/skin/modern/taskbar-calalarm-act.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/modern/taskbar-calalarm-act.gif
--------------------------------------------------------------------------------
/chrome/skin/modern/taskbar-calalarm.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/modern/taskbar-calalarm.gif
--------------------------------------------------------------------------------
/chrome/skin/modern/tasksOverlay.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | #mini-cal {
6 | list-style-image: url("chrome://lightbird/skin/taskbar-cal.gif");
7 |
8 | &:hover:active {
9 | list-style-image: url("chrome://lightbird/skin/taskbar-cal-act.gif");
10 | }
11 |
12 | &[BiffState="Alarm"] {
13 | list-style-image: url("chrome://lightbird/skin/taskbar-calalarm.gif");
14 |
15 | &:hover:active {
16 | list-style-image: url("chrome://lightbird/skin/taskbar-calalarm-act.gif");
17 | }
18 | }
19 | }
20 |
21 | #tasksMenuCalendar {
22 | list-style-image: url("chrome://lightbird/skin/calendar-16.gif");
23 | }
24 |
--------------------------------------------------------------------------------
/chrome/skin/unix/cal-icon16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/unix/cal-icon16.png
--------------------------------------------------------------------------------
/chrome/skin/unix/calendar-event-dialog-toolbar-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/unix/calendar-event-dialog-toolbar-small.png
--------------------------------------------------------------------------------
/chrome/skin/unix/calendar-event-dialog-toolbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/unix/calendar-event-dialog-toolbar.png
--------------------------------------------------------------------------------
/chrome/skin/unix/eventDialogOverlay.scss:
--------------------------------------------------------------------------------
1 | @import "win/eventDialogOverlay";
2 |
--------------------------------------------------------------------------------
/chrome/skin/unix/smToolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 24px;
2 | $_s_icon: 16px;
3 | $_pinstripe: false;
4 | @import "_messengerToolbar";
5 |
6 | #extractEventButton > .toolbarbutton-icon,
7 | #extractTaskButton > .toolbarbutton-icon,
8 | #extractEventButton > .box-inherit > .toolbarbutton-icon,
9 | #extractTaskButton > .box-inherit > .toolbarbutton-icon {
10 | width: $_l_icon;
11 | height: $_l_icon;
12 | }
13 |
14 | toolbar[iconsize="small"] #extractEventButton > .box-inherit > .toolbarbutton-icon,
15 | toolbar[iconsize="small"] #extractTaskButton > .box-inherit > .toolbarbutton-icon {
16 | width: $_s_icon;
17 | height: $_s_icon;
18 | }
19 |
20 | #extractEventButton[disabled="true"] > .box-inherit > .toolbarbutton-icon,
21 | #extractTaskButton[disabled="true"] > .box-inherit > .toolbarbutton-icon {
22 | opacity: 1;
23 | }
24 |
--------------------------------------------------------------------------------
/chrome/skin/unix/sunbird/calendar.scss:
--------------------------------------------------------------------------------
1 | @import "win/sunbird/calendar";
2 |
--------------------------------------------------------------------------------
/chrome/skin/unix/sunbird/tbOverlay.scss:
--------------------------------------------------------------------------------
1 | $_thr: 0px;
2 | @import "sunbird_tbOverlay";
3 |
--------------------------------------------------------------------------------
/chrome/skin/unix/sunbird/toolbar-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/unix/sunbird/toolbar-large.png
--------------------------------------------------------------------------------
/chrome/skin/unix/sunbird/toolbar-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/unix/sunbird/toolbar-small.png
--------------------------------------------------------------------------------
/chrome/skin/unix/sunbird/toolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 24px;
2 | $_s_icon: 16px;
3 | $_pinstripe: false;
4 | @import "sunbird_toolbar";
5 |
--------------------------------------------------------------------------------
/chrome/skin/unix/taskbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/unix/taskbar.png
--------------------------------------------------------------------------------
/chrome/skin/unix/tasksOverlay.scss:
--------------------------------------------------------------------------------
1 | @import "_tasksOverlay";
2 |
--------------------------------------------------------------------------------
/chrome/skin/unix/tbToolbar.scss:
--------------------------------------------------------------------------------
1 | @import "_messengerToolbarMono";
2 | @import "_tbToolbarMono";
3 |
--------------------------------------------------------------------------------
/chrome/skin/win-aero/cal-icon16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win-aero/cal-icon16.png
--------------------------------------------------------------------------------
/chrome/skin/win-aero/calendar-event-dialog-toolbar-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win-aero/calendar-event-dialog-toolbar-small.png
--------------------------------------------------------------------------------
/chrome/skin/win-aero/calendar-event-dialog-toolbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win-aero/calendar-event-dialog-toolbar.png
--------------------------------------------------------------------------------
/chrome/skin/win-aero/eventDialogOverlay.scss:
--------------------------------------------------------------------------------
1 | @import "win/eventDialogOverlay";
2 |
--------------------------------------------------------------------------------
/chrome/skin/win-aero/smToolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 24px;
2 | $_s_icon: 16px;
3 | $_pinstripe: false;
4 | @import "_messengerToolbar";
5 |
6 | #extractEventButton > .toolbarbutton-icon,
7 | #extractTaskButton > .toolbarbutton-icon,
8 | #extractEventButton > .box-inherit > .toolbarbutton-icon,
9 | #extractTaskButton > .box-inherit > .toolbarbutton-icon {
10 | width: $_l_icon;
11 | height: $_l_icon;
12 | }
13 |
14 | toolbar[iconsize="small"] #extractEventButton > .box-inherit > .toolbarbutton-icon,
15 | toolbar[iconsize="small"] #extractTaskButton > .box-inherit > .toolbarbutton-icon {
16 | width: $_s_icon;
17 | height: $_s_icon;
18 | }
19 |
20 | #extractEventButton[disabled="true"] > .box-inherit > .toolbarbutton-icon,
21 | #extractTaskButton[disabled="true"] > .box-inherit > .toolbarbutton-icon {
22 | opacity: 1;
23 | }
24 |
--------------------------------------------------------------------------------
/chrome/skin/win-aero/sunbird/calendar.scss:
--------------------------------------------------------------------------------
1 | @import "win/sunbird/calendar";
2 |
3 | /*--------------------------------------------------------------------
4 | * reverting custom splitter style
5 | *-------------------------------------------------------------------*/
6 | #calsidebar_splitter {
7 | border-width: 0 2px !important;
8 | border-style: solid !important;
9 | -moz-border-left-colors: ThreeDShadow ThreeDHighlight !important;
10 | -moz-border-right-colors: ThreeDDarkShadow ThreeDFace !important;
11 | min-width: 6px !important;
12 | width: 8px !important;
13 | background-color: ThreeDFace !important;
14 | margin-top: 0 !important;
15 | -moz-margin-end: 0 !important;
16 | position: static !important;
17 | z-index: auto !important;
18 | transition: none !important;
19 | /*
20 | &:-moz-locale-dir(rtl) {
21 | border-width: 0 2px;
22 | -moz-border-right-colors: ThreeDDarkShadow ThreeDFace;
23 | }
24 |
25 | &[state="collapsed"]:hover {
26 | &:-moz-locale-dir(rtl) {
27 | border-width: 0 2px;
28 | -moz-border-right-colors: ThreeDDarkShadow ThreeDFace;
29 | }
30 |
31 | &:-moz-locale-dir(ltr) {
32 | border-width: 0 2px;
33 | -moz-border-right-colors: ThreeDDarkShadow ThreeDFace;
34 | }
35 | }
36 | */
37 | }
38 |
--------------------------------------------------------------------------------
/chrome/skin/win-aero/sunbird/tbOverlay.scss:
--------------------------------------------------------------------------------
1 | $_thr: 0px;
2 | @import "sunbird_tbOverlay";
3 |
--------------------------------------------------------------------------------
/chrome/skin/win-aero/sunbird/toolbar-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win-aero/sunbird/toolbar-large.png
--------------------------------------------------------------------------------
/chrome/skin/win-aero/sunbird/toolbar-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win-aero/sunbird/toolbar-small.png
--------------------------------------------------------------------------------
/chrome/skin/win-aero/sunbird/toolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 24px;
2 | $_s_icon: 16px;
3 | $_pinstripe: false;
4 | @import "sunbird_toolbar";
5 |
--------------------------------------------------------------------------------
/chrome/skin/win-aero/taskbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win-aero/taskbar.png
--------------------------------------------------------------------------------
/chrome/skin/win-aero/tasksOverlay.scss:
--------------------------------------------------------------------------------
1 | @import "_tasksOverlay";
2 |
--------------------------------------------------------------------------------
/chrome/skin/win-aero/tbToolbar.scss:
--------------------------------------------------------------------------------
1 | @import "_messengerToolbarMono";
2 | @import "_tbToolbarMono";
3 |
--------------------------------------------------------------------------------
/chrome/skin/win/cal-icon16-alarm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/cal-icon16-alarm.png
--------------------------------------------------------------------------------
/chrome/skin/win/cal-icon16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/cal-icon16.png
--------------------------------------------------------------------------------
/chrome/skin/win/cal-icon24-alarm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/cal-icon24-alarm.png
--------------------------------------------------------------------------------
/chrome/skin/win/cal-icon24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/cal-icon24.png
--------------------------------------------------------------------------------
/chrome/skin/win/calendar-event-dialog-toolbar-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/calendar-event-dialog-toolbar-small.png
--------------------------------------------------------------------------------
/chrome/skin/win/calendar-event-dialog-toolbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/calendar-event-dialog-toolbar.png
--------------------------------------------------------------------------------
/chrome/skin/win/eventDialogOverlay.scss:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 | * You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | $_l_icon: 24px;
6 | $_s_icon: 16px;
7 | $_pinstripe: false;
8 | @import "util";
9 |
10 | .cal-event-toolbarbutton,
11 | #button-delete.cal-event-toolbarbutton {
12 | list-style-image: url("chrome://lightbird/skin/calendar-event-dialog-toolbar.png") !important;
13 |
14 | .toolbarbutton-icon {
15 | width: $_l_icon !important;
16 | height: $_l_icon !important;
17 | }
18 |
19 | toolbar[iconsize="small"] & {
20 | list-style-image: url("chrome://lightbird/skin/calendar-event-dialog-toolbar-small.png") !important;
21 |
22 | .toolbarbutton-icon {
23 | width: $_s_icon !important;
24 | height: $_s_icon !important;
25 | }
26 | }
27 | }
28 |
29 | @include toolbar_button(button-attendees, 2);
30 | @include toolbar_button(button-url, 4);
31 | @include toolbar_button(button-privacy, 5);
32 | @include toolbar_button(button-save, 6);
33 | @include toolbar_button("button-delete.cal-event-toolbarbutton", 17, $important:true);
34 | @include toolbar_button(button-priority, 25);
35 | @include toolbar_button(button-status, 26);
36 | @include toolbar_button(button-freebusy, 27);
37 | @include toolbar_button(button-timezones, 28);
38 |
--------------------------------------------------------------------------------
/chrome/skin/win/smToolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 24px;
2 | $_s_icon: 16px;
3 | $_pinstripe: false;
4 | @import "_messengerToolbar";
5 |
6 | #extractEventButton > .toolbarbutton-icon,
7 | #extractTaskButton > .toolbarbutton-icon,
8 | #extractEventButton > .box-inherit > .toolbarbutton-icon,
9 | #extractTaskButton > .box-inherit > .toolbarbutton-icon {
10 | width: $_l_icon;
11 | height: $_l_icon;
12 | }
13 |
14 | toolbar[iconsize="small"] #extractEventButton > .box-inherit > .toolbarbutton-icon,
15 | toolbar[iconsize="small"] #extractTaskButton > .box-inherit > .toolbarbutton-icon {
16 | width: $_s_icon;
17 | height: $_s_icon;
18 | }
19 |
20 | #extractEventButton[disabled="true"] > .box-inherit > .toolbarbutton-icon,
21 | #extractTaskButton[disabled="true"] > .box-inherit > .toolbarbutton-icon {
22 | opacity: 1;
23 | }
24 |
--------------------------------------------------------------------------------
/chrome/skin/win/sunbird/calendar.scss:
--------------------------------------------------------------------------------
1 | @import "sunbird_calendar";
2 |
3 | /*--------------------------------------------------------------------
4 | * menubar
5 | *-------------------------------------------------------------------*/
6 | #menubar-items {
7 | -moz-box-orient: vertical; /* for flex hack */
8 |
9 | > menubar {
10 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/chrome/skin/win/sunbird/tbOverlay.scss:
--------------------------------------------------------------------------------
1 | $_thr: 0px;
2 | @import "sunbird_tbOverlay";
3 |
--------------------------------------------------------------------------------
/chrome/skin/win/sunbird/toolbar-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/sunbird/toolbar-large.png
--------------------------------------------------------------------------------
/chrome/skin/win/sunbird/toolbar-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/sunbird/toolbar-small.png
--------------------------------------------------------------------------------
/chrome/skin/win/sunbird/toolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 24px;
2 | $_s_icon: 16px;
3 | $_pinstripe: false;
4 | @import "sunbird_toolbar";
5 |
--------------------------------------------------------------------------------
/chrome/skin/win/taskbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/chrome/skin/win/taskbar.png
--------------------------------------------------------------------------------
/chrome/skin/win/tasksOverlay.scss:
--------------------------------------------------------------------------------
1 | @import "_tasksOverlay";
2 |
--------------------------------------------------------------------------------
/chrome/skin/win/tbToolbar.scss:
--------------------------------------------------------------------------------
1 | $_l_icon: 24px;
2 | $_s_icon: 16px;
3 | $_pinstripe: false;
4 | @import "_messengerToolbar";
5 | @import "_tbToolbar";
6 |
--------------------------------------------------------------------------------
/clean:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | rm *.xpi
4 | rm -rf temp
--------------------------------------------------------------------------------
/components/alarm-service.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | const Cc = Components.classes;
6 | const Ci = Components.interfaces;
7 | const Cu = Components.utils;
8 |
9 | Cu.import("resource://gre/modules/Services.jsm");
10 | Cu.import("resource://gre/modules/XPCOMUtils.jsm");
11 |
12 | const ALARM_TOPIC = "lightbird:alarm-state-changed";
13 |
14 | var gAlarms = [];
15 |
16 | function LightbirdAlarmService() {
17 | this.wrappedJSObject = this;
18 | }
19 |
20 | LightbirdAlarmService.prototype = {
21 | classID: Components.ID("{31ac7753-5616-43c2-a770-bd8379374360}"),
22 | QueryInterface: XPCOMUtils.generateQI([Ci.nsISupports, Ci.nsIObserver])
23 | };
24 |
25 | LightbirdAlarmService.prototype.observe = function(aSubject, aTopic, aData) {
26 | Services.obs.addObserver(gCalStartupObserver, "calendar-startup-done", false);
27 | };
28 |
29 | LightbirdAlarmService.prototype.calendarWindowFocused = function() {
30 | // Opening or even focusing calendar should always reset the biff state
31 | gAlarms = [];
32 |
33 | notify();
34 | };
35 |
36 | LightbirdAlarmService.prototype.getAlarmsCount = function() {
37 | return gAlarms.length;
38 | }
39 |
40 | var gCalStartupObserver = {
41 | observe: function(aSubject, aTopic, aData) {
42 | let alarmService = Cc['@mozilla.org/calendar/alarm-service;1'].getService(Ci.calIAlarmService);
43 | alarmService.startup();
44 | alarmService.addObserver(gAlarmObserver);
45 | }
46 | };
47 |
48 | var gAlarmObserver = {
49 | onAlarm: function (aItem, aAlarm) {
50 | if (aAlarm.action != "DISPLAY")
51 | // This monitor only looks for DISPLAY alarms.
52 | return;
53 |
54 | gAlarms.push([aItem, aAlarm]);
55 |
56 | notify();
57 | },
58 |
59 | onRemoveAlarmsByItem: function (aItem) {
60 | gAlarms = gAlarms.filter(itemAlarm => {
61 | let [thisItem, alarm] = itemAlarm;
62 | return (aItem.hashId != thisItem.hashId);
63 | });
64 |
65 | notify();
66 | },
67 |
68 | onRemoveAlarmsByCalendar: function (aCalendar) {
69 | gAlarms = gAlarms.filter(itemAlarm => {
70 | let [thisItem, alarm] = itemAlarm;
71 | return (aCalendar.id != thisItem.calendar.id);
72 | });
73 |
74 | notify();
75 | },
76 |
77 | onAlarmsLoaded: function (aCalendar) {
78 | }
79 | };
80 |
81 | function notify() {
82 | Services.obs.notifyObservers(null, ALARM_TOPIC, gAlarms.length);
83 | }
84 |
85 | var NSGetFactory = XPCOMUtils.generateNSGetFactory([ LightbirdAlarmService ]);
86 |
--------------------------------------------------------------------------------
/components/cmd-line-handler.js:
--------------------------------------------------------------------------------
1 | /* This Source Code Form is subject to the terms of the Mozilla Public
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 |
5 | const Ci = Components.interfaces;
6 | const Cu = Components.utils;
7 |
8 | Cu.import("resource://gre/modules/Services.jsm");
9 | Cu.import("resource://gre/modules/XPCOMUtils.jsm");
10 |
11 | function CalendarCmdLineHandler() {}
12 |
13 | CalendarCmdLineHandler.prototype = {
14 | classID: Components.ID("{4af82fb4-8942-4644-874d-f768a149b4f3}"),
15 | QueryInterface: XPCOMUtils.generateQI([ Ci.nsICommandLineHandler ]),
16 |
17 | handle: function (aCmdLine) {
18 | if (aCmdLine.handleFlag("calendar", false)) {
19 | let topWindow = Services.wm.getMostRecentWindow("calendarMainWindow");
20 | if (topWindow)
21 | topWindow.focus();
22 | else
23 | Services.ww.openWindow(null, "chrome://lightbird/content/sunbird/calendar.xul",
24 | "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar,dialog=no", aCmdLine);
25 | aCmdLine.preventDefault = true;
26 | }
27 | },
28 |
29 | helpInfo: " -calendar Open Calendar.\n"
30 | };
31 |
32 | var NSGetFactory = XPCOMUtils.generateNSGetFactory([ CalendarCmdLineHandler ]);
33 |
--------------------------------------------------------------------------------
/config.txt:
--------------------------------------------------------------------------------
1 | EXT_ID={df846912-2659-4705-acb0-8bc0c0520e1a}
2 | EXT_NAME=Lightbird
3 | EXT_DESC=Standalone calendar UI for Lightning
4 |
5 | VERSION=0.7.1
6 |
7 | SM_ID={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
8 | SM_MIN_VERSION=2.14
9 | SM_MAX_VERSION=2.54
10 |
11 | TB_ID={3550f703-e582-4d05-9a08-453d09bdfdc6}
12 | TB_MIN_VERSION=17.0
13 | TB_MAX_VERSION=57.0
14 |
--------------------------------------------------------------------------------
/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/icon.png
--------------------------------------------------------------------------------
/icon64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alice-mkh/lightbird/9037ccb163ce647d574877ab0324891e152428a7/icon64.png
--------------------------------------------------------------------------------
/install.rdf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | $EXT_ID
6 | $VERSION
7 | 2
8 | false
9 | true
10 | $EXT_NAME
11 | $EXT_DESC
12 | Exalm
13 |
14 |
15 | $SM_ID
16 | $SM_MIN_VERSION
17 | $SM_MAX_VERSION
18 |
19 |
20 |
21 |
22 | $TB_ID
23 | $TB_MIN_VERSION
24 | $TB_MAX_VERSION
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------