Share your custom Firefox/Minefield 4 stylish scripts


Recommended Posts

One more issue. I went ahead and installed the latest Minefield and moved over the scripts (didn't need your last fix). The active tab stylish you posted works on toolbar tabs, but not on App Tabs you create. Anyway you could make your stylish to include those as well?

post-277424-1279877174056.png

#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button),
.tabbrowser-tab[pinned="true"] {
  -moz-appearance: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background-position: -6px -2px !important;
  background-repeat: no-repeat !important;
  background-size: 200% !important;
  -moz-border-image: url("chrome://browser/skin/tabbrowser/tab.png") 4 5 3 6 / 4px 5px 3px 6px !important;
  -moz-border-radius: 10px 8px 0 0 !important;
  background-image: -moz-linear-gradient(left, transparent, transparent 1px,
                                                 rgba(255,255,255,.4) 1px, rgba(255,255,255,.4)) !important;
}

Figured at least one person might like this.

post-49492-1279877486013.png

#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button) {
  -moz-appearance: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background-repeat: no-repeat !important;
  background-size: 200% !important;
  -moz-border-image: url("chrome://browser/skin/tabbrowser/tab.png") 4 5 3 6 / 4px 5px 3px 6px !important;
  -moz-border-radius: 10px 8px 0 0 !important;
}

.tabbrowser-tab:not([selected="true"]),
.tabs-newtab-button,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button)  {
  background-position: -5px -2px !important;
  background-image: -moz-linear-gradient(top,rgba(198,201,206,.70),
                                   rgba(151,160,172,.70)),
                    -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.3) !important;
}

.tabbrowser-tab:not([selected="true"]):hover,
.tabs-newtab-button:hover,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not(#new-tab-button):hover {
  background-image: -moz-linear-gradient(top,rgba(198,201,206,.8),
                                   rgba(151,160,172,.8)),
                    -moz-linear-gradient(bottom, rgba(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}

Link to comment
Share on other sites

Is it even possible to come close to this with stylish:

post-251611-12796373481978.png

1. the thin bright line around the menu button.

2. colour/gradient on active tab & nav & bookmarks toolbar.

3. colour/gradient on inactive tab. (same as home button)

4. colour/gradient on home button. (same as inactive tab)

Cheers

Does your Firefox look the way as it look in that screenshot? If so, could you tell me how you've done that? The toolbar buttons look way nicer compared with the original ones.

I use Chrome myself but I still have to use Firefox for our school website, so I might as well mess around a little with the beta of Firefox 4 :p

Link to comment
Share on other sites

Does your Firefox look the way as it look in that screenshot? If so, could you tell me how you've done that? The toolbar buttons look way nicer compared with the original ones.

I use Chrome myself but I still have to use Firefox for our school website, so I might as well mess around a little with the beta of Firefox 4 :p

It's actually just a mockup by SpewBoy

Link to comment
Share on other sites

Updated my combined stop/reload script.

post-49492-12798968274443.png

Changes:

Fixed background color on a blank tab.

Added a inner glow to make the buttons "pop" a bit.

Changed the icons to newer ones from the mockups.

Changed the way the code is applied. Only works if the stop/reload buttons are directly after the Urlbar.

http://userstyles.org/styles/33745

Feedback would be great :)

Link to comment
Share on other sites


snip

i like you code for the inactive tabs but it's missing one thing, there's no highlight now when you hover over the inactive tabs

Link to comment
Share on other sites

Any scripts to make the navigation and bookmarks toolbar that blue-ish gradient seen in some of the pictures instead of the gray that I seem to have? The gray is pretty dull.

post-50840-12799423634328.png

Link to comment
Share on other sites

Any scripts to make the navigation and bookmarks toolbar that blue-ish gradient seen in some of the pictures instead of the gray that I seem to have? The gray is pretty dull.

Its because you're using a non-default Windows theme. Here is a snip of code that should give you that blue.

#navigator-toolbox > toolbar:not(#TabsToolbar) {
  background-color: rgb(227,237,246) !important;
}

#navigator-toolbox[tabsontop="true"] .tabbrowser-tab[selected="true"] {
  background-image: -moz-radial-gradient(center top, white, rgba(255,255,255,0) 60%),
                    -moz-linear-gradient(left, transparent, transparent 1px,
                                               rgba(255,255,255,.5) 1px, rgba(255,255,255,.5)),
                    -moz-linear-gradient(left, transparent, transparent 1px,
                                               rgb(227,237,246) 1px, rgb(227,237,246)) !important;
}

Link to comment
Share on other sites

Of course you know I'm going to clean up your code :p Great job though, looks nice.

Edit: This is how I would do it. Should make it slimmer when maximized as well.

#main-window:not([sizemode="maximized"]) #navigator-toolbox[tabsontop="true"]:not([inFullscreen="true"]) #TabsToolbar{
  padding: 7px 110px 0 4px !important;
}

#main-window[sizemode="maximized"] #navigator-toolbox[tabsontop="true"] #TabsToolbar{
  padding: 0 110px 0 0 !important;
}

.tabbrowser-tab[fadein] {
  max-width: 210px !important;
}

#appmenu-button-container {
  display: none !important;
}

Link to comment
Share on other sites

You want to mess with the margin value.

#toolbar-menubar {
margin: top right bottom left !important;
}

If you still have issues, post the code you're using and I'll give you a hand.

#feed-button 
{
  display: none !important;
}




toolbar[mode="icons"][currentset*="urlbar-

container,reload-button,stop-button"] #urlbar {
  -moz-border-radius: 4px 0 0 4px !important;
  border-right: 0 !important;
}

#urlbar-container + #reload-button,
#urlbar-container + #reload-button + #stop-button{
  border-color: rgba(0,0,0,.25) rgba(0,0,0,.32) rgba

(0,0,0,.37) !important;
  -moz-border-radius: 0 4px 4px 0!important;  
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.1) inset,
                   0 1px 0 rgba(255,255,255,.4) !important;
  background: rgba(255,255,255,.725) !important;
  margin-left: -3px !important;
  list-style-image: url

("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAMCAY

AAABm

+U3GAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2R

pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77

u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ld

GEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhN

UCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMj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NaMrot3GP9q2dcvfS5csjuFc7uCMR/D

sIqR/mujUMiOlyF9a8VqAAQCMEogyPkkkHQAAAABJRU5ErkJggg==") !

important;
  opacity: 1 !important;
  padding: 0 6px 0 6px !important;
  -moz-transition: -moz-box-shadow .1s !important;
}

#urlbar-container + #reload-button {
  -moz-image-region: rect(0 11px 12px 0) !important;
}

#urlbar-container + #reload-button + #stop-button {
  -moz-image-region: rect(0 22px 12px 11px) !important;
}

#urlbar-container + #reload-button:not([disabled]):hover{
  background-image: -moz-linear-gradient(#9eccf1, #6fb1e1 

49%,
                                   #5b9fd9 50%, #5198d2 

60%,
                                   #3e8ac9) !important;
  -moz-box-shadow: 0 0 1px 0 rgba(255,255,255,.40) inset !

important;
}

#urlbar-container + #reload-button + #stop-button{
  background-image: -moz-linear-gradient(#e6a18a, #d17764 

49%,
                                   #c05d4e 50%, #b95546 

60%,
                                   #c15a4a) !important;
  -moz-box-shadow: 0 0 1px 0 rgba(255,255,255,.40) inset !

important;
}

#urlbar-container + #reload-button:not

([disabled]):hover:active,
#urlbar-container + #reload-button + #stop-button:not

([disabled]):hover:active {
  -moz-box-shadow: inset 0 0 3px rgba(0,0,0,.8) !important;
}

#stop-button .toolbarbutton-icon,
#reload-button .toolbarbutton-icon{
  height: auto !important;
  width: auto !important;
}



#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not

(#new-tab-button) {
  -moz-appearance: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background-repeat: no-repeat !important;
  background-size: 200% !important;
  -moz-border-image: url

("chrome://browser/skin/tabbrowser/tab.png") 4 5 3 6 / 4px 

5px 3px 6px !important;
  -moz-border-radius: 10px 8px 0 0 !important;
}

.tabbrowser-tab:not([selected="true"]),
.tabs-newtab-button,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not

(#new-tab-button)  {
  background-position: -5px -2px !important;
  background-image: -moz-linear-gradient(top,rgba

(198,201,206,.70),
                                   rgba(151,160,172,.70)),
                    -moz-linear-gradient(bottom, rgba

(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.3) !important;
}

.tabbrowser-tab:not([selected="true"]):hover,
.tabs-newtab-button:hover,
#TabsToolbar > .toolbarbutton-1:not(#alltabs-button):not

(#new-tab-button):hover {
  background-image: -moz-linear-gradient(top,rgba

(198,201,206,.8),
                                   rgba(151,160,172,.8)),
                    -moz-linear-gradient(bottom, rgba

(0,0,0,.8) 20%, rgba(0,0,0,0) 60%) !important;
}



#toolbar-menubar
{
 position: fixed !important;
 margin: -25px 0 0 100px !important;
 background: -moz-linear-gradient(top, rgba(255, 255, 255, 

0.1) 0%, rgba(255, 255, 255, 0.5) 100%)!important;
 -moz-border-radius: 0px 0px 4px 4px !important;
 text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 3px 

rgba(255, 255, 255, 0.8), 0 0 3px rgba(255, 255, 255, 0.8), 

0 0 3px rgba(255, 255, 255, 0.8) !important;
 -moz-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 0 0 1px 

rgba(30, 30, 30, 0.5) inset, 0 0 1px rgba(60, 60, 60, 0.9) 

inset, 0 0 3px rgba(0, 0, 0, 0.7) inset !important;

}

Thanks SoapyHamHocks, not very good at this yet

Also something Ive noticed, when clicking on the search engine symbol in omnibar to change engine, the window is clear, using Beta 4.02b

Link to comment
Share on other sites

post-346088-12799617955657.png

Can anything be done with the different underline under the tabs??

Unless I misunderstand, the "line" in your image is the border of the address bar, not a line at the bottom of the tab itself.

Link to comment
Share on other sites

Unless I misunderstand, the "line" in your image is the border of the address bar, not a line at the bottom of the tab itself.

I suppose it is, that is fine, being a bit picky :rolleyes:

Link to comment
Share on other sites

Thanks SoapyHamHocks, not very good at this yet

Try this:

margin: -22px 0 0 110px !important;

Doesnt work for me?

Can you try to remove the search bar and tell me if it works?

Link to comment
Share on other sites

Of course you know I'm going to clean up your code :p Great job though, looks nice.

Edit: This is how I would do it. Should make it slimmer when maximized as well.

The thing is that i think we need few pixels above the tab bar for dragging the window , that's why im against reducing the gap to 0~1px

Anyway , thanks for appreciating , i really did not do anything , i just designed it , rest is done by Active members @ Meet Firefox 4.0 :D

Doesnt work for me?

bring the stop reload (Correct Order : Reload then Stop) buttons to right of the location bar , most probably between search and awesome bar

Link to comment
Share on other sites

The thing is that i think we need few pixels above the tab bar for dragging the window , that's why im against reducing the gap to 0~1px

Anyway , thanks for appreciating , i really did not do anything , i just designed it , rest is done by Active members @ Meet Firefox 4.0 :D

It only makes it 0 on top when maximized. I find that easier, I can just move my mouse all the way to the top and select a tab.

Link to comment
Share on other sites

Try this:

margin: -22px 0 0 110px !important;

#toolbar-menubar
{
 position: fixed !important;
 margin: -22px 0 0 110px !important;
 background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.5) 100%)!important;
 -moz-border-radius: 0px 0px 4px 4px !important;
 text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 3px rgba(255, 255, 255, 0.8), 0 0 3px rgba(255, 255, 255, 

0.8), 0 0 3px rgba(255, 255, 255, 0.8) !important;
 -moz-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 0 0 1px rgba(30, 30, 30, 0.5) inset, 0 0 1px rgba(60, 60, 60, 

0.9) inset, 0 0 3px rgba(0, 0, 0, 0.7) inset !important;

}

Like this? Didint work, when I show menu bar, I get Windows frame

Link to comment
Share on other sites

Like this? Didint work, when I show menu bar, I get Windows frame

Are you using alt to show the menubar, or do you have it always visible? The numbers I used should bring it next to the Firefox button along the top.

Link to comment
Share on other sites

Are you using alt to show the menubar, or do you have it always visible? The numbers I used should bring it next to the Firefox button along the top.

Ok, using alt button works, is it possible to allways keep it there, and also I think it is sitting to high, maybe a 1px gap on top. Thanks SoapyHamHocks

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.