personal toolbar above the menubar

I'm looking at this: http://userstyles.org/styles/20162 and trying to make it work for SM 1.1.17

I just can't get the Personal Toolbar to be above the menu bar.

I've tried: #navigator-toolbox #PersonalToolbar

and: #navigator-toolbox #PersonalToolbar

and #navigator-toolbox #bookmarks-ptf

and I just can't get it. Can someone help me?

Thanks

Comments

  • For the heck of it, try:

    window#navigator-toolbox #PersonalToolbar
  • edited August 2009
    The Purple Hippo

    YOU MUST DO A FIREFOX RESTART for the TOOLBARS TO CHANGE POSITON !
    I forgot to give that info on the description page. (it's in the code though) (I'm sorry !)
    Did you try that?
    Please respond to let me know if ff restart changes toolbar positon for you.

    Srazzano
    Thankyou for trying to help someone with my style!
  • edited August 2009
    that worked great. Thanks Srazzano.

    But now that created another problem. I have another script that hides the Personal Toolbar until hover [see below]. When I use the 2, it seems that the Personal Toolbar remains in 3rd bar instead of being the top bar. I've tried putting one script above the other and vica-versa, but nothing happened. So, anyone know how I can over come this?

    Thanks

    The script I'm using to hide is:

    /* hide the toolbar until hover */

    #toolbar-menubar, #PersonalToolbar
    {display: none;}

    #navigator-toolbox:hover > #toolbar-menubar,

    #navigator-toolbox:hover > #PersonalToolbar
    { display: -moz-box; }
  • edited August 2009
    thanks Barbiegirl. I'm sorry, too. When I said SM 1.1.17, I meant SeaMonkey. Thats where the Personal Toolbar comes from. And yes, I did do a restart.
  • edited August 2009
    This will combine both scripts:

    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    toolbar:not(#nav-bar) {
    visibility: collapse !important;
    }
    #navigator-toolbox:hover toolbar:not([collapsed="true"]) {
    visibility: visible !important;
    }
    window#navigator-toolbox #PersonalToolbar {
    -moz-box-ordinal-group: 1 !important;
    }
    #navigator-toolbox #toolbar-menubar {
    -moz-box-ordinal-group: 2 !important;
    }
    #navigator-toolbox #nav-bar {
    -moz-box-ordinal-group: 3 !important;
    }
    #navigator-toolbox [ID^='__customToolbar'] {
    -moz-box-ordinal-group: 4 !important;
    }
    #navigator-toolbox #webdeveloper-toolbar {
    -moz-box-ordinal-group: 5 !important;
    }
  • Thanks Srazzano. I had to change the beginning to this:

    @-moz-document url-prefix(chrome://navigator/content/navigator.xul) {

    otherwise, other toolbars, in mail/news, the address book, domi, and others, would also disappear.

    The other problem I encountered is if the Personal Toolbar is in the #1 spot, the menu bar is #2, and the Navigation Toolbar is #3, then when I moved my mouse over to the nav bar, the Personal Toolbar would still open, eventhough I'm not hovering over it.

    And the 3rd problem I encountered was I had other toolbars that would also disappear until I hovered over them and the PT-bar. I tried adding this:

    toolbar:not(#nav-bar, #proxy-toolbar, #googlebar)
    {visibility: collapse !important;}

    but Stylish doesn't like that.
  • Needs to be toolbar:not(#nav-bar):not(#proxy-toolbar):not(#googlebar) {visibility: collapse !important;} or just the ones you want to hide like #toolbar-menubar, #PersonalToolbar {visibility: collapse !important;}
  • thanks srazzano for your help, but its still a no go. Now the personal toolbar won't show up, period. And the google and proxy bars keep popping up. I must be doing something wrong here:

    @-moz-document url-prefix(chrome://navigator/content/navigator.xul) {

    toolbar:not(#nav-bar):not(#proxy-toolbar):not(#googlebar)
    {visibility: collapse !important;}

    #navigator-toolbox:hover toolbar:not([collapsed="true"])
    {visibility: visible !important;}

    window#navigator-toolbox #PersonalToolbar
    {-moz-box-ordinal-group: 1 !important;}

    #navigator-toolbox #main-menubar
    {-moz-box-ordinal-group: 2 !important;}

    #navigator-toolbox #nav-bar
    {-moz-box-ordinal-group: 3 !important;}

    #navigator-toolbox [ID^='__customToolbar']
    {-moz-box-ordinal-group: 4 !important;}

    #navigator-toolbox #proxy-toolbar
    {-moz-box-ordinal-group: 5 !important;}

    #navigator-toolbox #googlebar
    {-moz-box-ordinal-group: 6 !important;}

    #navigator-toolbox #webdeveloper-toolbar
    {-moz-box-ordinal-group: 7 !important;}
    }
  • this won't work
    window#navigator-toolbox #PersonalToolbar
    try
    #navigator-toolbox #PersonalToolbar
  • edited August 2009
    For the first line of code, list the toolbars you want collapsed instead of using :not

    #PersonalToolbar, #toolbar-menubar {
    visibility: collapse !important;
    }
    #navigator-toolbox:hover toolbar:not([collapsed="true"]) {
    visibility: visible !important;
    }
    window#navigator-toolbox #PersonalToolbar {
    -moz-box-ordinal-group: 1 !important;
    }
    #navigator-toolbox #toolbar-menubar {
    -moz-box-ordinal-group: 2 !important;
    }
    #navigator-toolbox #nav-bar {
    -moz-box-ordinal-group: 3 !important;
    }
    #navigator-toolbox [ID^='__customToolbar'] {
    -moz-box-ordinal-group: 4 !important;
    }
    #navigator-toolbox #webdeveloper-toolbar {
    -moz-box-ordinal-group: 5 !important;
    }
    #navigator-toolbox #googlebar{
    -moz-box-ordinal-group: 6 !important;
    }
    #navigator-toolbox #webdeveloper-toolbar {
    -moz-box-ordinal-group: 7 !important;
    }

    Where you have #main-menubar should be #toolbar-menubar
  • srazzano,

    are you sure -moz-box-ordinal-group works with Stylish 1.0.6? 'cause i have it for the Stylish in sidebar for the bottom buttons (Update and Write, etc.) and it doesn't seem to work. Ended up simply hidding them all but Write, which is, in fact, the only one i use anyway but the style is published and others might want the buttons.
  • edited August 2009
    I will give it a try. Thanks for the heads up.
    Works with Stylish 1.0.5

    Edit:
    Works fine with Stylish 1.0.6 as well
  • Fantastic srazzano, it works! Thanks. A few things though:

    I'm using SeaMonkey, and #main-menubar works whereas #toolbar-menubar doesn't. When I try it your way, then the Personal Toolbar remain under the Menu Bar but above the Navigation Bar

    ChoGGi:
    window#navigator-toolbox #PersonalToolbar works whereas #navigator-toolbox #PersonalToolbar doesn't

    makondo: -moz-box-ordinal-group must work with Stylish 1.0.6 cause it sure works with my Stylish 0.4
  • edited August 2009
    Posted By: The Purple Hippomust work with Stylish 1.0.6 cause it sure works with my Stylish 0.4
    ^ strange logic ;-) ...
    Well, it doesn't for me. This does nothing:

    #new-style { -moz-box-ordinal-group: 1 !important; }
    #copy-style-info { -moz-box-ordinal-group: 2 !important; }
    #update-all { -moz-box-ordinal-group: 3 !important; }
    #UpdateAllStyles { -moz-box-ordinal-group: 4 !important; }

    But sorry, i didn't mean to hijack your thread!
  • I have to close and then reopen the stylish sidebar or stylish windows manager for the (#new-style,#copy-style etc.) changes to take place.
    Did you do that makondo? But I'm still on stylish 1.0.5 though.
  • edited August 2009
    Yes, i did. Not once. I'll go try 1.0.5, don't remember now if it worked there or not but it used to work up until some point.
    I'll be damned! Created a profile, worked there, came back to this one - ... works here too! As i said, there's something goofy about Fx or Stylish processing changes. It lags behind sometimes. I noticed also that sometimes if you make a lot of changes, at some point you won't see them right away (preview or save). Save and close, open that style for editing and it will show changes before the last!... But, since you thought the code didn't work, it's gone. So, what does stylish show if it's not in the code any longer? Puzzling.

    Anyway, sorry for derailing, Hippo!
  • Posted By: makondo Anyway, sorry for derailing, Hippo!
    But sorry, i didn't mean to hijack your thread!
    Don't worry, I don't mind. I'll just hi-jack one of yours ;-) ;-)
Sign In or Register to comment.