Fx4* .css tweaks

Discussion of general topics about Mozilla Firefox
Locked
User avatar
sabret00the
Posts: 1396
Joined: June 29th, 2004, 8:24 am
Location: London (UK)
Contact:

Re: Fx4 .css tweaks

Post by sabret00the »

use the sizemode attribute to change the spacing depending on maximised/normal.
warul
Posts: 12
Joined: December 9th, 2010, 12:39 pm

Re: Fx4 .css tweaks

Post by warul »

sabret00the wrote:use the sizemode attribute to change the spacing depending on maximised/normal.

much obliged
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Re: Fx4 .css tweaks

Post by makondo »

warul,
this is pretty neat idea, you should post it on userstyles.org (even though it doesn't work for me :) ).
warul
Posts: 12
Joined: December 9th, 2010, 12:39 pm

Re: Fx4 .css tweaks

Post by warul »

restore default set under customize and untic tabs on top. should work. been using it since b6 I guess.
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Re: Fx4 .css tweaks

Post by makondo »

I don't really need it 'cause i have bookmarks under one button. I don't use tabs on top (see no point as i use tabs a lot more than any buttons and such), i don't want to risk 'restore default set ' as my browser is heavily customized and i'm not looking forward to redoing it. Just tried to see if i can help and 'cause i thought it was a good idea for some people but it didn't work for me. No problem. I see you posted it. Good Luck!
User avatar
mistertwol
Posts: 425
Joined: June 14th, 2010, 9:23 pm

Re: Fx4 .css tweaks

Post by mistertwol »

Image
User avatar
T0morrow
Posts: 302
Joined: April 9th, 2010, 9:16 am

Re: Fx4 .css tweaks

Post by T0morrow »

Ok here are the things i can not get working.If someone could post even working ones for some of them i would be grateful:

Code: Select all

/* Remove keyboard shortcuts from menus */
.menu-iconic-accel {display:none !important;}

/* Remove some Sidebar context menu options */
#placesContext_open:newwindow {display:none !important;}
#placesContext_openContainer:tabs {display:none !important;}
#placesContext_sortBy:name {display:none !important;}

/* Remove Addon Manager Context Menu Items */
#utils-viewUpdates {display:none !important;}
#utils-autoUpdateDefault {display:none !important;}
#utils-resetAddonUpdatesToAutomatic {display:none !important;}

/* Remove Addon Manager Items */
richlistitem#category-discover.category {display:none !important;}
hbox.view-header.global-warning-container {display:none !important;}
textbox#header-search {display:none !important;}
xul:hbox.description-container {display:none !important;}
xul:hbox.warning {display:none !important;}
xul:label.creator {display:none !important;}
toolbarbutton#back-btn.nav-button.header-button {display:none !important;}
toolbarbutton#forward-btn.nav-button.header-button {display:none !important;}
aletaziar
Posts: 39
Joined: May 29th, 2008, 7:36 pm

Re: Fx4 .css tweaks

Post by aletaziar »

Does anybody know how to remove the minimize/restore/close buttons? I tried the following code and the tabbar seems to float over them, but the buttons don't disappear, and the top half of the tabbar is unclickable (focus goes to the min/restore/close buttons). I'm guessing that I've removed whatever box firefox creates to space for the buttons, but the OS buttons are still there? I've tried tweaking the z-index so the tabbar has priority but haven't been able to get it to work. Is this impossible to do with css?

Windows 7 with Firefox 4.0b11pre

Code: Select all

#main-window[sizemode="maximized"] #titlebar-buttonbox-container {
   display: none !important;
}
User avatar
Red_Fat_Lazy_Cat
Posts: 564
Joined: April 16th, 2003, 12:45 pm
Location: The ottoman near the fireplace
Contact:

Re: Fx4 .css tweaks

Post by Red_Fat_Lazy_Cat »

@T0morrow:

Code: Select all

/* Remove some Sidebar context menu options */
menuitem[id="placesContext_open:newwindow"],
menuitem[id="placesContext_openContainer:tabs"],
menuitem[id="placesContext_sortBy:name"],
menuitem[id="placesContext_sortBy:name"] + menuseparator {
  display:none !important;
}

/* Remove Addon Manager Items */
#category-discover, #header-search, .description-container, .warning, .creator, #back-btn, #forward-btn {
  display:none !important;
}
Some people say that cats are sneaky, evil, and cruel. True, and they have many other fine qualities as well. -- Missy Dizick

My Firefox themes: Red Cats (blue & green flavor), Curacao
User avatar
T0morrow
Posts: 302
Joined: April 9th, 2010, 9:16 am

Re: Fx4 .css tweaks

Post by T0morrow »

Red_Fat_Lazy_Cat wrote:@T0morrow:

Code: Select all

/* Remove Addon Manager Items */
#category-discover, #header-search, .description-container, .warning, .creator, #back-btn, #forward-btn {
  display:none !important;
}

Sidebar context menu ones worked.However addon manager ones did not.
Also using b11pre here.
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Re: Fx4 .css tweaks

Post by rob64rock »

warul wrote:i'm using the following code to get bookmarks on top:

Code: Select all

#main-window[sizemode="normal"] .chromeclass-directories {
   top: 2px !important;
   height:30px;
}

.chromeclass-directories {
   position: fixed !important;
   top: 5px !important;
   left: 130px !important;
   background-color: transparent !important;
   border-width: 0 !important;
   margin-right: 115px !important;
}

result:
Image
when maximized everything is fine, but when it's not there's a problem:
Image
bookmarks overlap the adressbar.
Is there a way to fix this. It would be great if I could just drag the bookmarks there under customize, but I can't
Help?

Makondo said you posted this style on userstyle.org , but I'am having trouble finding it. Can you provide me a link to it on userstyle.org? I would be very appreciative.

Thanks.... :D

Others here: viewtopic.php?f=23&t=2087765 , want a style that does what yours does also... :)
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Re: Fx4 .css tweaks

Post by makondo »

warul ' style (searched by name, wasn't too hard Image ).
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Re: Fx4 .css tweaks

Post by rob64rock »

makondo wrote:warul ' style (searched by name, wasn't too hard Image ).

Thanks.... :)
makondo
Posts: 1961
Joined: October 18th, 2007, 5:26 pm
Location: Rocky Mountains

Re: Fx4 .css tweaks

Post by makondo »

Sure!
User avatar
mikedl
Posts: 1236
Joined: October 14th, 2010, 4:47 pm
Location: Florida, USA

Re: Fx4 .css tweaks

Post by mikedl »

Thanks, makondo, that's some pretty cool coding. Amazing! :)
"It may be that there are true demonstrations; but this is not certain. Thus, this proves nothing else but that it is not certain that all is uncertain, to the glory of skepticism." Pascal's Pensées
Locked