Infrastructure for skins for both chrome://calendar/ (shared) and

chrome://lightning/ (specialized).  Currently makes a lightning-afflicted
Thunderbird pretty unhappy, because calendar.css overrides a lot of
Tbird UI CSS rules, but Pav's all over that. r=vlad, NPTOB.
This commit is contained in:
shaver%mozilla.org 2005-04-09 23:39:13 +00:00
Родитель 128cfd9404
Коммит 254b560cfd
7 изменённых файлов: 29 добавлений и 2 удалений

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

@ -49,4 +49,16 @@ XPI_INSTALL_EXTRAS = $(srcdir)/chrome.manifest
XPI_PKGNAME = lightning
DIRS = ../../db/sqlite3/src ../../storage ../libical ../base ../providers
# Select a theme from which to pull our skin goodness
# OS X: pinstripe
# Others: winstripe
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
THEME=pinstripe
else
THEME=winstripe
endif
DEFINES += -DTHEME=$(THEME)
include $(topsrcdir)/config/rules.mk

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

@ -1,5 +1,9 @@
content lightning jar:chrome/lightning.jar!/content/lightning/
content calendar jar:chrome/calendar.jar!/content/calendar/
locale lightning en-US jar:chrome/en-US.jar!/locale/en-US/lightning/
locale calendar en-US jar:chrome/calendar-en-US.jar!/locale/en-US/calendar/
overlay chrome://messenger/content/messenger.xul chrome://lightning/content/messenger-overlay-sidebar.xul
skin lightning classic/1.0 jar:chrome/classic.jar!/skin/classic/lightning/
# shared pieces for chrome://calendar/
content calendar jar:chrome/calendar.jar!/content/calendar/
locale calendar en-US jar:chrome/calendar-en-US.jar!/locale/en-US/calendar/
skin calendar classic/1.0 jar:chrome/classic.jar!/skin/classic/calendar/

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

@ -0,0 +1 @@
// XBL and other rules required for use of Lightning widgets go here.

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

@ -3,6 +3,7 @@
<!-- DOCTYPE overlay SYSTEM "chrome://lightning/locale/lightning.dtd" -->
<?xml-stylesheet href="chrome://lightning/skin/lightning.css" type="text/css"?>
<?xml-stylesheet href="chrome://calendar/skin/calendar.css" type="text/css"?>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

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

@ -6,6 +6,7 @@ lightning.jar:
content/lightning/weekView.xul (content/weekView.xul)
content/lightning/weekView.js (content/weekView.js)
content/lightning/calendarView.js (content/calendarView.js)
content/lightning/lightning-widgets.css (content/lightning-widgets.css)
en-US.jar:
locale/en-US/lightning/lightning.dtd (locale/lightning.dtd)
@ -18,3 +19,7 @@ calendar.jar:
calendar-en-US.jar:
locale/en-US/calendar/global.dtd (/calendar/resources/locale/en-US/global.dtd)
locale/en-US/calendar/calendar.dtd (/calendar/resources/locale/en-US/calendar.dtd)
classic.jar:
#expand skin/classic/calendar/calendar.css (/calendar/sunbird/themes/__THEME__/sunbird/calendar.css)
#expand skin/classic/lightning/lightning.css (themes/__THEME__/lightning.css)

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

@ -0,0 +1,2 @@
// Skin-domain style rules for lightning UI (pinstripe version)

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

@ -0,0 +1,2 @@
// Skin-domain style rules for lightning UI (winstripe version)