Theme changes from Firefox 1.5 to 2.0

Discuss application theming and theme development.
Post Reply
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

In console.css, references to the JavaScript Console were changed to references to the Error Console.
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

In extensions.css, this was added:

Code: Select all

#progressBox > hbox {
  -moz-box-align: center;
}


This fixes bug 337886 (the stretched addon update throbber).
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

In help.css, this:

Code: Select all

toolbarbutton:not([disabled="true"]):hover,
menubutton:not([disabled="true"]):hover,
toolbarbutton:not([disabled="true"]):hover:active,
menubutton:not([disabled="true"]):hover:active {
   color: ButtonText !important;
}
was changed to this:

Code: Select all

toolbarbutton:not([disabled="true"]):hover,
menubutton:not([disabled="true"]):hover {
        color: -moz-buttonhovertext;
        background-color: -moz-buttonhoverface;
}

toolbarbutton:not([disabled="true"]):hover:active,
menubutton:not([disabled="true"]):hover:active {
   color: ButtonText !important;
}
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

In subscribe.css, fixed margin and padding references were changed to -moz-margin-start, etc.
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

As of the 2006-06-02-1702 build, places-related code was removed from browser/browser.css.

I don't know about you, but I'm leaving the places-related code in my themes.
Firefox: Sic transit gloria mundi.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post by mcdavis »

ehume wrote:As of the 2006-06-02-1702 build, places-related code was removed from browser/browser.css.


which seems to break the default theme a little bit, since the code in subscribe.css still refers to feed icons in the places directory.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

Great pickup! Do file a bug on that.

Since we themers are trying to maintain backwards and forwards comaptibility (i.e.--we leave in the code for Places), I doubt most of us noted that. Good for you.
Firefox: Sic transit gloria mundi.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post by mcdavis »

ehume wrote:Do file a bug on that.


https://bugzilla.mozilla.org/show_bug.cgi?id=340247

If you have some magic powers known only to Mozilla veterans to bring bugs to the attention of the right people then feel free to use them on this one.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

I commented on it, and voted for it.
Firefox: Sic transit gloria mundi.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post by mcdavis »

ehume wrote:I commented on it, and voted for it.


Thanks! It appears to have been noticed.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post by mcdavis »

This set of rules in bon echo's global/content/xul.css tells the browser not to display a close button on a tab if it's the only tab. Not sure what "tiny" refers to. This is new since Fx 1.5. I got the code from the latest nightly. The author's comments make it appear to be not final.

Code: Select all

.tabbrowser-tabs[tiny="true"] > .tabbrowser-tab > .tab-close-button,
.tabbrowser-tabs[tiny="true"] > .tabbrowser-tab .tab-close-button-placeholder,
.tabbrowser-tabs[singlechild="true"] > .tabbrowser-tab > .tab-close-button,
.tabbrowser-tabs[singlechild="true"] > .tabbrowser-tab .tab-close-button-placeholder {
  display: none;
}


There's a whole set of rules in there that relate to tabs and tab close buttons that you might want to be aware of. Note that this is global/CONTENT/xul.css, not global/SKIN/xul.css, so the file is not in the theme, but it still impacts the appearance and behavior of your theme.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

Thanks for picking that up.
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

As of the 2006-06-08-1758 build, this was added to wizard.css:

Code: Select all

.wizard-header-icon {
  list-style-image: url("chrome://branding/content/icon64.png");
  -moz-margin-end: 5px;
}
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

As of 2006-06-12-1753, browser/feeds/addFeedReader.css was added. It contains:

Code: Select all

#imageBox {
  width: 32px;
  height: 32px;
  background-image: url("chrome://browser/skin/feeds/feedIcon.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  margin: .5em;
}

#content {
  margin-top: 0.4em;
}

#siteLabel {
  margin-top: 3px;
}
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post by ehume »

feedIcon16.png was also added. It is the old RSS icon.
Firefox: Sic transit gloria mundi.
Post Reply