MozillaZine

Australis Ico/Text, Text Only and more...

Discussion of general topics about Mozilla Firefox
Frank Lion

User avatar
 
Posts: 20063
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted May 1st, 2014, 7:20 pm

Protocol wrote:Why isn't it working for me in Stylish, Frank?

Did you put the usual namespace line before it? -

/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Protocol

User avatar
 
Posts: 435
Joined: October 18th, 2003, 12:44 am

Post Posted May 1st, 2014, 7:36 pm

No.
What do I have to put? All the above?

Frank Lion

User avatar
 
Posts: 20063
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted May 1st, 2014, 8:03 pm

Protocol wrote:No.
What do I have to put? All the above?

Yep, just as it is.

I did the fix in userChrome.css and it's tested, obviously, so you know the code is good. The guys here just throw the fixes at the end of theirs usually. But I haven't used Stylish in a while, and to be honest, I wouldn't have thought it would even need a namespace line there. Didn't they introduce some Agent sheets or something? Dunno.

Tell you what, install any old UI userstyle, make sure it works and then add the fix (no namespace) just the fix, to the very end of it. That'll work.

I can always throw this stuff into a quick extension, but it'll be good if you get it working by yourself. Learn more that way. :)

If you get stuck, let me know tomorrow.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Protocol

User avatar
 
Posts: 435
Joined: October 18th, 2003, 12:44 am

Post Posted May 1st, 2014, 8:06 pm

It doesn't work with the namespace line either.
I have used styles before without any problem.

Not sure what is going on here.

Might have to use userChrome.css.

Edit: I have it working in userChrome.css.
Edit 2: I deleted my old styles and it now works in Stylish.

This is how it should be.
Thanks Frank. :)

Roland1
 
Posts: 13
Joined: July 9th, 2013, 2:51 am

Post Posted May 2nd, 2014, 3:34 pm

Frank Lion wrote:Franks Larger Reload and Stop on Left End of Urlbar Fix


Oh man! Thank you! =D>

Protocol

User avatar
 
Posts: 435
Joined: October 18th, 2003, 12:44 am

Post Posted May 2nd, 2014, 6:32 pm

Frank Lion wrote:I can always throw this stuff into a quick extension. :)

I have it all working, but an extension would be handy.

Arcadian AI
 
Posts: 2
Joined: May 2nd, 2014, 10:50 pm

Post Posted May 2nd, 2014, 11:08 pm

Great thread guys.

Particularly thanks to Frank for the CSS to move the reload button back to the left. Cheers for that.

I have a question you might be able to help me with:

The new Australis Bookmark Icon has two buttons, the Star (Bookmark this page) and the Menu (Show your bookmarks). I didnt want the Star button, so I was able to hide it with this:

Code: Select all
#bookmarks-menu-button > toolbarbutton { display:none!important; }


But there is a vertical separator that still shows just before the Menu (Show your bookmarks) button. I tried the DOM inspector and it shows the vertical separator as a child of XUL:dropmarker called: _moz_generated_content_before

This seems to be some sort of browser generated Tag and it also holds a #text element.
Unfortunately I haven't been able to figure out how to access it as it has no ID or Class. I tried using the Tagname and also as a child of dropmarker, but it doesn't seem to work for me (I may be doing something wrong).

If anyone knows how to access this vertical separator and then hide it I would appreciate it if you could let me know.

Cheers.

thenitpicker
 
Posts: 97
Joined: June 6th, 2012, 5:33 am

Post Posted May 3rd, 2014, 9:59 am

Code: Select all
#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker::before { display:none !important; }

Firefox uses the ::before pseudo element for the menu button separator.
Last edited by LIMPET235 on May 3rd, 2014, 11:33 am, edited 1 time in total.
Reason: Edited the quoted section.

Frank Lion

User avatar
 
Posts: 20063
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted May 3rd, 2014, 11:29 am

Protocol wrote:
Frank Lion wrote:I can always throw this stuff into a quick extension. :)

I have it all working, but an extension would be handy.

Yeah, I thought so, as well -


Image


https://addons.mozilla.org/en-US/firefo ... -improvem/


It can join my other one of these -

https://addons.mozilla.org/en-US/firefo ... d-improve/

Might do more, might not. Depends what people want, certainly that Reload one keeps coming up all over the Net. Which is not much of a surprise, I couldn't use it on the right either. :)
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Protocol

User avatar
 
Posts: 435
Joined: October 18th, 2003, 12:44 am

Post Posted May 3rd, 2014, 4:12 pm

Thanks Frank.

Arcadian AI
 
Posts: 2
Joined: May 2nd, 2014, 10:50 pm

Post Posted May 3rd, 2014, 8:07 pm

ntim wrote:Firefox uses the ::before pseudo element for the menu button separator.


Brilliant - (I never would have found that)

Thanks

Protocol

User avatar
 
Posts: 435
Joined: October 18th, 2003, 12:44 am

Post Posted May 3rd, 2014, 8:40 pm

Arcadian AI wrote:
ntim wrote:Firefox uses the ::before pseudo element for the menu button separator.


Brilliant - (I never would have found that)

Thanks

I would also be interested in removing the Star icon.
It is a shame they can't be separated.

Protocol

User avatar
 
Posts: 435
Joined: October 18th, 2003, 12:44 am

Post Posted May 6th, 2014, 10:57 pm

Frank Lion wrote:
Protocol wrote:
Frank Lion wrote:I can always throw this stuff into a quick extension. :)

I have it all working, but an extension would be handy.

Yeah, I thought so, as well -


Image


https://addons.mozilla.org/en-US/firefo ... -improvem/


It can join my other one of these -

https://addons.mozilla.org/en-US/firefo ... d-improve/

Might do more, might not. Depends what people want, certainly that Reload one keeps coming up all over the Net. Which is not much of a surprise, I couldn't use it on the right either. :)

The only annoying thing now is when the Reload button moves to accommodate the Forward button after it appears.
It would be better if the Forward button was always visible but greyed out when not available. Just like the Back button.

smsmith
Moderator

User avatar
 
Posts: 19736
Joined: December 7th, 2004, 8:51 pm
Location: Indiana

Post Posted May 7th, 2014, 6:34 am

rudylorren,

I split your topic to its own thread. See here: viewtopic.php?f=7&t=2829581
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.

Frank Lion

User avatar
 
Posts: 20063
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted May 7th, 2014, 7:19 am

Protocol wrote:I would also be interested in removing the Star icon.

The code for that is 5 posts above your own.

Protocol wrote:The only annoying thing now is when the Reload button moves to accommodate the Forward button after it appears.

Yep, sure is and that's why my themes don't do that.

In case it isn't clear, this is actually a tutorial thread - viewtopic.php?p=13298423#p13298423

...and not the usual 'It would be nice if...' ....*code posted*.....'Yah, thanks, man !'........and everyone goes away without learning anything type thread.

I'm sure you appreciate the difference.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 2 guests