Recommended Posts

I've got a little question, well two.

Is it possible to change the bookmarks font size and those separators ?.

And if it is possible to change the separators , is it also possible to use an img for them ?.

Thanks! :D

( Awesome thread btw, give me a lot of ideas to play with ).

Just curious because I'm rather new to all this css stuff

Is there any advantage of border-color: transparent over border: none?

Can't see any difference between our code snippets.

border:none completely removes the border while border-color:transparent maintains the border while making it transparent.

Basically you lose the width of the border if you remove it completely.

border is shorthand for border-style/width/color, so you're setting the style to "none" which removes the border completely.

border: none is the same as border-style: none

border:none completely removes the border while border-color:transparent maintains the border while making it transparent.

Basically you lose the width of the border if you remove it completely.

border is shorthand for border-style/width/color, so you're setting the style to "none" which removes the border completely.

border: none is the same as border-style: none

Thanks

Good explanation :)

I am trying to update this style for Firefox 4.0 RC but I have a problem.

http://userstyles.org/styles/40211/

Some AppMenu items without "iconic=true" attribute can't be styled as an iconic menu, such as appmenu_newTab (New Tab), #appmenu_customize (Options), #appmenu_help (Help).

I tried the usual

-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel")

to add the icon, but it didn't work.

so I tried all possible bindings I could think of, nothing worked.

any ideas? please!

I am trying to update this style for Firefox 4.0 RC but I have a problem.

http://userstyles.org/styles/40211/

Some AppMenu items without "iconic=true" attribute can't be styled as an iconic menu, such as appmenu_newTab (New Tab), #appmenu_customize (Options), #appmenu_help (Help).

I tried the usual

-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel")

to add the icon, but it didn't work.

so I tried all possible bindings I could think of, nothing worked.

any ideas? please!

adding .splitmenu-menuitem to

menuitem[label]:not(.searchbar-engine-menuitem)
{-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel")!important}

will make those three icons show, but you'll still have to adjust margins/padding for alignment

Hi

I'm using this extension https://addons.mozilla.org/pl/firefox/addon/extended-statusbar/ to show load speed and other loading values, like You can see on screen, bar is quite long and infos are only in 1/3 parts of length:

post-375134-0-18344800-1300375843.jpg

So I was wonder if there is possibility to change this bar length to red line and make it bit flexible, so if there is more infos, bar will be bit longer or shorter.

lol, I hope it is clear?

Can some one help me fix this code so it's updated for Firefox 4? It was made way back in Firefox 2 I think when app tabs didn't exist. :laugh:

Right now it works just fine but it widens the app tabs as well and that sort of breaks things:

@-moz-document url("chrome://browser/content/browser.xul") {
tab[selected="true"] {
min-width: 250px !important;
}
tab:not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([selected="true"]):hover {
min-width: 250px !important;
}
}

Also, does anyone know about using gdipp.dll with Firefox 4? I currently only have the 64-bit version installed but I read that only works with 64-bit programs (oddly enough..) and I would need to install the x86 version to make it work with non 64-bit programs like firefox. If it can eve work with firefox that is.

Can some one help me fix this code so it's updated for Firefox 4? It was made way back in Firefox 2 I think when app tabs didn't exist. :laugh:

Right now it works just fine but it widens the app tabs as well and that sort of breaks things:

@-moz-document url("chrome://browser/content/browser.xul") {
tab[selected="true"] {
min-width: 250px !important;
}
tab:not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([selected="true"]):hover {
min-width: 250px !important;
}
}

Also, does anyone know about using gdipp.dll with Firefox 4? I currently only have the 64-bit version installed but I read that only works with 64-bit programs (oddly enough..) and I would need to install the x86 version to make it work with non 64-bit programs like firefox. If it can eve work with firefox that is.

So you want to avoid that this code is affecting app tabs right?

If that is what you mean try this:

tab:not([pinned])[selected="true"] {
min-width: 250px !important;
}
tab:not([pinned]):not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([pinned]):not([selected="true"]):hover {
min-width: 250px !important;
}

So you don't want this code to work for app tabs right?

If this is what you mean try this:

tab:not([pinned])[selected="true"] {
min-width: 250px !important;
}
tab:not([pinned]):not([selected="true"]) {
max-width: 150px !important;
}
/* comment the following if you find the resize on hover bothersome */
tab:not([pinned]):not([selected="true"]):hover {
min-width: 250px !important;
}

That works but it seems to restrict tabs to the min-width until the tab is hovered.

Edit: fixed.. I just removed the min-width part. Thanks! And welcome to Neowin! :yes:

That works but it seems to restrict tabs to the min-width until the tab is hovered.

Edit: fixed.. I just removed the min-width part. Thanks! And welcome to Neowin! :yes:

Thank you :)

Isn't this code supposed to restrict the min-width?

Make sure to check tab overflow when you take that part out.

Looks weird when it gets 250px on hover and then jumps back to the overflow-width once you select it.

Or do you mean something else?

Edit: found a bug in that code. When you close a tab while its hovered but not selected it gets a "ghost tab" and just leaves an empty space. This works for me (still with the min-width part in it)

tab:not([pinned])[selected="true"] {
	min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
	max-width: 150px !important;
}

tab:not([fadein]):not([pinned]):not([selected="true"]) {
 	max-width: 1px !important;
 	min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
	tab:not([pinned]):not([selected="true"]):hover {
	min-width: 250px !important;
}

Edit 2: close animation is choppy for a reason i can't see at the moment

I was getting the ghost tabs and choppy close animation as well. Anyways, thanks again! I'll try that new code.

I have NO clue why this fixed it but this is working for me.

(Again with min-width because I'm not sure what you meant)

tab:not([pinned])[selected="true"] {
        min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
        max-width: 150px !important;
}

tab:not([fadein]):not([selected="true"]) {
        max-width: 1px !important;
        min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
        tab[fadein]:not([pinned]):not([selected="true"]):hover {
        min-width: 250px !important;
}

It's hard to describe exactly. :laugh:

I wanted the tab width to follow normal behavior but not shrink past the 150px width no matter what. Not be restricted to 150px until it's hovered. I hope that makes sense because I'm not sure exactly how to describe what I was trying to achieve.

So until the tab bar is filled up the tab width would stay at 250px and then shrink but not get smaller than 150px??? I don't know, again I hope it makes sense because I'm just confusing myself, now. :rofl:

It's hard to describe exactly. :laugh:

I wanted the tab width to follow normal behavior but not shrink past the 150px width no matter what. Not be restricted to 150px until it's hovered. I hope that makes sense because I'm not sure exactly how to describe what I was trying to achieve.

So until the tab bar is filled up the tab width would stay at 250px and then shrink but not get smaller than 150px??? I don't know, again I hope it makes sense because I'm just confusing myself, now. :rofl:

So ALL tabs are supposed to be 250px until overflow

With overflow only the selected tab is supposed to be 250px, all other tabs normal behavior but restricted to min 150px?

Again: I don't see why tab animation got fixed but its working for me

tab:not([pinned])[selected="true"] {
        min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
        min-width: 150px !important;
}

tab:not([fadein]):not([selected="true"]) {
        max-width: 1px !important;
        min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
        tab[fadein]:not([pinned]):not([selected="true"]):hover {
        min-width: 250px !important;
}

tab:not([pinned])[selected="true"] {
        min-width: 250px !important;
}

tab:not([pinned]):not([selected="true"]) {
        min-width: 150px !important;
}

tab:not([fadein]):not([selected="true"]) {
        max-width: 1px !important;
        min-width: 1px !important;
}

/* comment the following if you find the resize on hover bothersome */
        tab[fadein]:not([pinned]):not([selected="true"]):hover {
        min-width: 250px !important;
}

Can't edit my post so..yeah..new post. I found a flaw in this. It breaks the tabs in the stratiform addon. :wacko:

Can't edit my post so..yeah..new post. I found a flaw in this. It breaks the tabs in the stratiform addon. :wacko:

What exactly are you trying to do? Do you want the selected tab to be larger than the inactive ones?

What exactly are you trying to do? Do you want the selected tab to be larger than the inactive ones?

I was trying to make it so that when I had a lot of tabs open the selected tab (but not pinned tabs) would be the full 250px width, and also the hovered tab resizes to full width as well so I can see the name. Not a huge deal if it can't be made to work without breaking other addons.

I was trying to make it so that when I had a lot of tabs open the selected tab (but not pinned tabs) would be the full 250px width, and also the hovered tab resizes to full width as well so I can see the name. Not a huge deal if it can't be made to work without breaking other addons.

I see. Give this a try:

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

.tabbrowser-tab[fadein]:not([pinned])[selected],
.tabbrowser-tab[fadein]:not([pinned]):hover {
  width: 250px !important;
  max-width: 250px !important;
}

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

    • No registered users viewing this page.
  • Posts

    • State of Decay 3 is out in 2027, reveals Plague Nests with new co-op gameplay trailer by Pulasthi Ariyasinghe A few months ago, Undead Labs broke its silence about the third entry in the State of Decay series since its announcement in 2020. Today, the studio had a brand-new trailer to reveal at the Xbox Games Showcase, finally giving players a look at the Unreal Engine 5-powered title. A broad 2027 release window is now attached to State of Decay 3 too. The studio confirmed that every scene seen in the gameplay trailer (except for the studio logo) released today is from the game with no cinematic footage. "The quality bar of the moment-to-moment experience is higher than anything we’ve achieved in Undead Labs’ history," says the studio. "State of Decay 3 is being built in Unreal Engine 5, and we’re creating better quality versions of what makes our game the survival sandbox it is, and the combat experience is really, really important to us, and I think you can see it coming through in this trailer." One new aspect of this upcoming entry is the Plague Nests. These are supposed to be dynamic, dungeon‑like enemy hubs with varied “personas” that change tactics each time one appears on a map. These areas will have the best loot in the game for players brave enough to tackle them. The combat system is being overhauled too, letting players do quick and power attacks depending on the situation. This isn't just on the player's side though, as zombies themselves now have multiple new types of behaviors depending on how fresh or decayed they are. "All of these play very differently, especially as you start getting outnumbered or when you’re making noise and running around and trying to save your rear end or the rear end of your friend next to you," adds the developer. Of course, settlement building and community management are massive parts of this third entry too. These are being further expanded with the cooperative focus, giving players much more freedom for playing together than in State of Decay 2. Players will even be able to split up and build settlements in different areas of the same map with different goals. Undead Labs confirmed that playtests are already ongoing for the title, and interested players can sign up to participate by heading over here once more slots open up ahead of the full release. State of Decay 3 is coming out on PC, Xbox Series X|S, PlayStation 5, and Xbox Game Pass sometime in 2027.
    • Doom: The Dark Ages Revelations expansion gives the Slayer a brutal Chain Spear by Pulasthi Ariyasinghe Last year, id Software released Doom: The Dark Ages as a prequel to its reboot series, offering a look at the legendary Slayer character during an ancient war between Hell and Heaven. Today, at the Xbox Games Showcase, id Software returned with a new announcement that unveiled Doom: The Dark Ages Revelations as its first story expansion. The expansion will see the Slayer being betrayed and cast into a "merciless purgatory only escapable by confronting haunting truths." Somehow, there is one ally in all this chaos seemingly attempting to help our protagonist escape his fate. Players will be ascending this prison and fighting plenty of new demons and abominations as they work to free the Slayer's followers. One new aspect of the expansion will be the Chain Spear. This new weapon is described by the studio as a "uniquely satisfying combat system that rewards mastery with a potent combination of power and mobility." Check out the trailer below to see the new weapon in action, where the Slayer is seen using it to even pin enemies to walls. id Software is also preparing a free update to all owners of Doom: The Dark Ages that will land alongside the new paid expansion. Dubbed the Ripatorium 3.0 update, this will add more customization options, an improved pass code generation system, and preset options for players diving into the game's arena challenge mode. Expansion buyers will also receive additional maps, demons, and new weapons to use in this mode in addition to the story levels. Doom: The Dark Ages Revelations expansion is out on July 7 across PC, Xbox Series X|S, and PlayStation 5 with a $19.99 price tag. Those who own the Premium Edition or the Collector's Bundle will receive the expansion for no extra cost as well.
    • Hyped for this. Replayed the remasters recently and they're so well done, and Crash 4 was great too. I trust this team to deliver.
    • Ninja Theory's new Hellblade game is action-focused and set in Purgatory by Pulasthi Ariyasinghe Ninja Thery has been building its award-winning Hellblade series since 2017, delivering Senua's Sacrifice and Senua's Saga since then. Today at the 2026 Xbox Games Showcase, the studio had a brand-new installment announcement featuring Senua again, but this time, she is in a version of purgatory, and the focus is on the action. Simply named Senua, this new entry is described as a "full-on action-adventure" experience, delivering an expanded focus on combat, puzzle-solving, and freedom of exploration. The developer says that it is keeping the same high production values and storytelling features of the previous games while giving what players have been asking for in the gameplay department. The entirety of Ninja Theory is now working on Senua, giving the project much more manpower than ever before, while also letting the team draw on its action roots from Devil May Cry and prior titles. However, the studio also confirmed that its previously announced Project Mara horror experience is no longer in development. Alongside snappier traversal moves, Senua will be able to take stealth and direct combat routes. She has access to her own sword, plus any enemy weapons as well, with dual wielding also being an option for most dropped melee swords, axes, and other weapons. Outside of melee combat, Senua will be able to use special abilities that let her alter the reality around her. The world is said to be about twice the size of Hellblade 2. While this won't be an open-world experience, the linear story will let players explore their surroundings further than before. The story of Senua will be set after the events of previous Hellblade titles, with our protagonist being stuck in her own version of Purgatory. The series' well-explored psychosis themes will return as well. "She’s trapped between life and death on a quest to reach the afterlife and be reunited with the ones that she’s loved and lost," adds the studio. "Her belief is that by healing the wounds of her life, she can find the peace that is the key that unlocks the gate to the afterlife." Senua is releasing on Xbox Series X|S, PC, and PlayStation 5 sometime in 2027.
  • Recent Achievements

    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      492
    2. 2
      PsYcHoKiLLa
      248
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      68
    5. 5
      ATLien_0
      67
  • Tell a friend

    Love Neowin? Tell a friend!