Theme development: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
(revert - vandalism)
Line 99: Line 99:
* 2003-11-19 [http://bugzilla.mozilla.org/show_bug.cgi?id=226274 Bug 226274] - dropmarker hover/click states
* 2003-11-19 [http://bugzilla.mozilla.org/show_bug.cgi?id=226274 Bug 226274] - dropmarker hover/click states
* 2004-05-10 [http://bugzilla.mozilla.org/show_bug.cgi?id=243387 Bug 243387] - about:plugins broken by cruft removal ([http://bugzilla.mozilla.org/show_bug.cgi?id=243091 Bug 243091])
* 2004-05-10 [http://bugzilla.mozilla.org/show_bug.cgi?id=243387 Bug 243387] - about:plugins broken by cruft removal ([http://bugzilla.mozilla.org/show_bug.cgi?id=243091 Bug 243091])
-----
== WiKi Links Exchange ==
What is the difference between prescription, non-prescription and other
pharmacy items?
Many medications may be supplied by a pharmacist only after a prescription
("script") has been supplied by a medical practitioner or dentist. In this case
you will need to mail your script to Online Pharmacy at the address indicated
on the ordering page.
Non prescription and other pharmacy items are grouped into "medicine" - meaning
medication not requiring a script, and "other" - meaning assorted remaining
pharmacy items. You are able to directly order the quantity that you require.
[http://effexor.b0ne.com/viagra/mg/ viagra mg pills]
[http://effexor.b0ne.com/viagra/picture/ viagra formula picture]
[http://effexor.b0ne.com/super/viagra/ generic super viagra]
[http://effexor.b0ne.com/cialis/viagra/ cialis levitra pharmacy viagra]
[http://effexor.b0ne.com/cheapest/viagra/ cheapest viagra prices]
[http://effexor.b0ne.com/levitra/viagra/ buy levitra viagra]
[http://hydrocodone.slyip.net/hydrocodone/order/ hydrocodone order online]
[http://hydrocodone.slyip.net/hydrocodone/online/ buy hydrocodone online]
[http://hydrocodone.slyip.net/hydrocodone/cheap/ cheap hydrocodone online]
[http://phentermine.gotgeeks.com/phentermine/hydrochloride/ phentermine
hydrochloride cheap]
[http://phentermine.gotgeeks.com/california/phentermine/ buy phentermine from
california]
[http://phentermine.gotgeeks.com/phentermine/purchase/ purchase phentermine on
line]
[http://phentermine.gotgeeks.com/phentermine/sales/ phentermine online sales]
[http://phentermine.gotgeeks.com/generic/phentermine/ cheap phentermine generic
us]
[http://prednisone.3d-game.com/xanax/overnight/ xanax overnight without
prescription ]
[http://prednisone.3d-game.com/xanax/ativan/ ativan and xanax ]
[http://prednisone.3d-game.com/abuse/xanax/ xanax and alcohol]
[http://vioxx.3d-game.com/ambien/ generic ambien]
[http://vioxx.3d-game.com/ambien/www/ online ambien]
[http://vioxx.3d-game.com/ambien/ ambien 10mg]
[http://vioxx.3d-game.com/zolpidem/ zolpidem tartrate]
[http://vioxx.3d-game.com/zolpidem/online/ zolpidem online]
[http://cephalexin.dynalias.net/alprazolam/ alprazolam online]
[http://cephalexin.dynalias.net/alprazolam/g/ generic alprazolam]
[http://cephalexin.dynalias.net/here/xanax/ cheap xanax online]
[http://cephalexin.dynalias.net/xanax/about/ generic xanax]
[http://cephalexin.dynalias.net/xanax/online/ order xanax online]
[http://ultram.is-a-geek.com/phentermine/about/ phentermine prescription]
[http://ultram.is-a-geek.com/phentermine/order/ buy phentermine hydrochloride ]
[http://ultram.is-a-geek.com/phentermine/info/ cheap phentermine online]
[http://ultram.is-a-geek.com/phentermine/ online phentermine]
[http://cephalexin.kicks-ass.net/Chlorthalidone/ order Chlorthalidone ]
[http://cephalexin.kicks-ass.net/Cialis/ order Cialis ]
[http://cephalexin.kicks-ass.net/Cibalith-S/ order Cibalith-S ]
[http://cephalexin.kicks-ass.net/Ciclopirox/ order Ciclopirox ]
[http://soma.homelinux.com/xanax/5mg/ purchase xanax]
[http://soma.homelinux.com/xanax/order/ discount xanax]
[http://soma.homelinux.com/alprazolam/5mg/ cheap alprazolam]
[http://crestor.dynalias.net/ambien/info/ ambien price]
[http://crestor.dynalias.net/ambien/pills/ ambien sleeping pills]
[http://crestor.dynalias.net/zolpidem/order/ buy zolpidem]
[http://ultram.serveftp.com/phentermine/ phentermine prescription]
[http://ultram.serveftp.com/phentermine/order/ buy phentermine hydrochloride]
[http://ultram.serveftp.com/phentermine/cheap/ cheap phentermine online]
[http://ultram.serveftp.com/web/phentermine/ online phentermine]
[http://ritalin.myvnc.com/CALCIGARD/ order CALCIGARD ]
[http://ritalin.myvnc.com/Calcitriol/ order Calcitriol ]
[http://ritalin.myvnc.com/CANDESAR/ order CANDESAR ]
[http://mobic.sytes.net/ Phentermine side effects]
[http://mobic.sytes.net/phentermine/ buy phentermine]
[http://mobic.sytes.net/order/phentermine/ buy phentermine online]
[http://naproxen.zapto.org/viagra/ get viagra online]
[http://lisinopril.no-ip.info/cialis/ buy cialis]





Revision as of 11:54, 25 April 2005

Introduction

This page is for those interested in designing and developing themes for XUL-based applications. If you need help finding, downloading, or installing themes, try the Themes FAQ at the Mozillazine Forums.

As this page is a work-in-progress, the best place to go for current theme development info is the MozillaZine Themes Forum.

Disclaimer: Themes and the applications they're made for, such as Firefox, are constantly changing, therefore this information can quickly become outdated.


What you need

Just about anyone can work with themes. The great thing about them is that they can be as simple or as complicated as you want, depending on how involved you get into it. But to start creating or customizing your themes, you'll first need a few basic things.

Tools

At the very least, you'll need a few basic tools.

  • Text editor
  • Image editor
  • File compression utility that handles .ZIP files

Some other optional tools:

  • The DOM Inspector. While not actually required to develop themes, any self-respecting theme author wouldn't be caught dead without this invaluable tool. Use it to find out what CSS files and images are used to style interface elements; find node names, IDs, and classes needed to target elements in CSS; browse XUL files and style sheets; and more.
  • Chromedit. This extension allows simple userChrome.css tweaks without the need for an external text editor.

Knowledge


Theme Structure

Theme changes since Firefox 1.0 was released. Changes from Firefox 0.9.x to 1.0. See also Jesse Ruderman's Unofficial Firefox changelogs.

As of Firefox 0.9 and Thunderbird 0.8, the structure of theme packages will be slightly modified to be compatible with the new Theme Manager and associated infrastructure. The new format is outlined in Ben Goodger's document Packaging Firefox/Thunderbird Themes. The major changes are the addition of a manifest file (install.rdf), an icon, and a new preview image to fit in the preview window of the themes manager. Please review the document for full details.


Setup

Extracting the Chrome

See http://www.eightlines.com/neil/mozskin/gssetup.html

This technique allows you to work directly with the CSS and images without having to compress it into a JAR file and reload the theme every time you make a change.

This Themes Forum thread explains how to set up Firefox with Show Old Extensions to enable the "classic" method of directly editing themes in Firefox 0.9.x and newer.

Disabling XUL Cache

The XUL cache (a.k.a. fastload) saves the many files that make up the user interface into one file for faster loading [1]. Disabling the cache allows you to immediately see changes made to the chrome without having to restart the program, or switch back and forth between themes. To disable the XUL cache [2], add the following to your user.js or in about:config:

user_pref("nglayout.debug.disable_xul_cache", true);


Editing

Neil Marshall has some decent info about theme editing at Creating a Skin for Mozilla. The site is a bit aged, but the information is still relevant, and can be applied to theme editing in recent builds.

Netscape has a slightly outdated collections of document about creating Netscape 6 themes.


Issues/Bugs

Note: As of 20050312, many of these issues have been fixed, are obsolete, or have been replaced by new issues.

Theme Changes


Fixes

  • 2004-01-09 Bug 230343 - CSS2.1 progress cursor
  • 2004-01-13 Bug 15608 - CSS3 dynamic adjacent sibling combinators fixed (:hover +)
  • 2004-01-14 Bug 135141 - CSS3 indirect adjacent combinator (~) support
  • 2004-02-23 Bug 93156 - CSS3 "opacity" support / '-moz-opacity' is now an alias for 'opacity'
  • 2004-03-09 Bug 235337 - odd and even tree row properties / discussion
  • 2004-05-02 Bug 235300 - Bookmarks Toolbar Items icon fixed in palette [Ff0.8.0+/Ff0.9]
  • 2004-05-02 Bug 238186 - "text-link" class removed from URL textbox in Page Info [Ff0.8.0+/Ff0.9]
  • 2004-05-05 Bug 242712 - '-moz-resizer' property removed [Mz1.8a]
  • 2004-05-06 Bug 237959 - mail button orientation changed to "vertical" [Ff0.8.0+/Ff0.9]


Bugs


Issues

  • em units versus ex units - pixel rounding problems with relative units
  • ZipMagic is NOT compatible with .jar files, and will not allow .zip files to be re-converted back to .jar files.


Related Links