зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
128cfd9404
Коммит
254b560cfd
|
@ -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)
|
||||
|
Загрузка…
Ссылка в новой задаче