A million little questions

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

Re: A million little questions

Post by ehume »

I can't tell you how grateful I am for this thread.

So here's my question. What does the arrow point to?

Image

What is the selector's name? And where is the code for it?

On my themes I'm getting the text but the background is invisible.

Thanks.
Firefox: Sic transit gloria mundi.
User avatar
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: A million little questions

Post by Philip Chee »

http://mxr.mozilla.org/mozilla2.0/source/browser/base/content/browser.xul#995

Code: Select all

<statuspanel id="statusbar-display" label=""/>

http://mxr.mozilla.org/mozilla2.0/source/browser/base/content/tabbrowser.xml#3742

Code: Select all

  <binding id="statuspanel" display="xul:hbox">
    <content>
      <xul:hbox class="statuspanel-inner">
        <xul:label class="statuspanel-label"
                   role="status"
                   xbl:inherits="value=label,crop,mirror"
                   flex="1"
                   crop="end"/>
      </xul:hbox>
    </content>

http://mxr.mozilla.org/mozilla2.0/source/browser/themes/winstripe/browser/browser.css#2300

Code: Select all

/* Status panel */

.statuspanel-label {
  margin: 0;
  padding: 2px 4px;
  background: -moz-linear-gradient(white, #ddd);
  border: 1px none #ccc;
  border-top-style: solid;
  color: #333;
  text-shadow: none;
}

.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
  border-right-style: solid;
  border-top-right-radius: .3em;
  margin-right: 1em;
}

.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
  border-left-style: solid;
  border-top-left-radius: .3em;
  margin-left: 1em;
}
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

Ed, also, that's Bug 628654 - Show connecting / waiting / loading status messages in small overlay on top of content at bottom of screen - and couple follow-ups.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Re: A million little questions

Post by ehume »

Thanks. I can work with that.
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Re: A million little questions

Post by ehume »

So what's with the @media stuff?
Firefox: Sic transit gloria mundi.
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: A million little questions

Post by ShareBird »

Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Re: A million little questions

Post by ehume »

ShareBird wrote:https://developer.mozilla.org/En/CSS/Media_queries


Yuck. Complicated. Thanks for the ref. It's better than the one I found - and more appalling.

"+rep"
Firefox: Sic transit gloria mundi.
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Re: A million little questions

Post by ehume »

One of the warnings I get when I upload themes is that I do not have an <em> type. Is the following correct?

Code: Select all

    <em:type>4</em:type>
Firefox: Sic transit gloria mundi.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

Yes, that's correct.

Were you able to upload? I tried three times today and the process failed each time.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: A million little questions

Post by patrickjdempsey »

Anyone seen any backdoor movement on this?

viewtopic.php?p=10766153#p10766153

I'm not seeing any actual movement in bugzilla and looking at the latest Nightly build I'm not seeing anyway to theme this. Which I guess means that at this point Firefox 6 will ship with a broken feature unless it's yanked.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Re: A million little questions

Post by ehume »

mcdavis wrote:Yes, that's correct.

Were you able to upload? I tried three times today and the process failed each time.


Not trying to upload. Just doing some advance work on my version 6 themes. The compatibility checker always complains about my not giving my themes a type.

It also complains about localization. Is there a localization tag for "all" (all regions) or no localization?
Firefox: Sic transit gloria mundi.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

patrickjdempsey wrote:Anyone seen any backdoor movement on this?

viewtopic.php?p=10766153#p10766153

I'm not seeing any actual movement in bugzilla and looking at the latest Nightly build I'm not seeing anyway to theme this. Which I guess means that at this point Firefox 6 will ship with a broken feature unless it's yanked.


Patrick, no movement that I've seen.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: A million little questions

Post by mcdavis »

ehume wrote:It also complains about localization. Is there a localization tag for "all" (all regions) or no localization?


I don't have any localization in my install.rdf, and I don't get a complaint. Maybe adding em:type 4 is enough to make it realize it shouldn't look for localizations?
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: A million little questions

Post by patrickjdempsey »

I've consistently gotten localization "warnings" for themes since they started the checks. Best to just ignore it.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: A million little questions

Post by patrickjdempsey »

mcdavis wrote:
patrickjdempsey wrote:Anyone seen any backdoor movement on this?

viewtopic.php?p=10766153#p10766153

I'm not seeing any actual movement in bugzilla and looking at the latest Nightly build I'm not seeing anyway to theme this. Which I guess means that at this point Firefox 6 will ship with a broken feature unless it's yanked.


Patrick, no movement that I've seen.


We are finally seeing some movement here. They've taken my advice (which is apparently what Chrome also does) of using transparency instead of changing the color.

https://bugzilla.mozilla.org/show_bug.cgi?id=654411#c5
https://bugzilla.mozilla.org/show_bug.cgi?id=654411#c34

50% transparency seems a little too faded IMO, but this is certainly better for all of us than a hardcoded color that will never match our themes.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Post Reply