Recommended Posts

Damn... The dark color of Nightly is totally awesome... And the blue of Aurora of course. Actually, personally I think everything is better than the default orange color :p

Just the border radius needed to change to 2px so it fits better.

Which are the little changes you're talking about ( from the original that you took from bugzilla ) ?

i took the original patch, just added the #main-window[titlemodifier= * ] to select the channel. In the original patch there is also a javascript piece that sets an attribute to #appbutton containing the channel

Im trying to make a stylish script for images but i think im using the wrong selection script.

what i got so far:

@namespace url(http://www.w3.org/1999/xhtml);

#main-window[stylish-domain*=".img"] body{
background-color: #000;
}

for now it only has .jpg, but i wanna do the same for .gif and .png too

So any ideas?

Not sure what you're trying to do exactly. My best guess is that you want to have a black background when there's only an image loaded in the browser (i.e. not in a web page).

If so, it would be something more like:

#main-window[stylish-url$=".jpg"] body,
#main-window[stylish-url$=".gif"] body,
#main-window[stylish-url$=".png"] body {
  background-color: #000 !important;
}

I'm not on my PC right now so I can't check, but it should be pretty close. Keep in mind that not every image file on the web has a file extension or at least the expected one though (like images directly served from a PHP script), so it wouldn't cover many cases.

Simply changing the default background color in Options > Content would probably do the trick, as well. You'd probably get better results, too. ;)

Actually i pasted wrong code, what i was trying to copy/paste was:

@namespace url(http://www.w3.org/1999/xhtml);
body[stylish-domain*=".img"]{
  background-color: #000;
}

The background-color is just a sample attribute i added just to have something inside the bracket xD

edit: even though i think what you gave me was correct, it didnt work

I need a little more help, please!

I have this:

::-moz-selection {background: #377 !important; color: #000 !important}

which I use together with a black background and text colored #666622.

So when I highlight text mostly to copy elsewhere, the text background turns sort of teal and the font color changes to black.

The problem comes when I open a new application such as WordPad to paste the copied material keeping the now inactive browser window and the highlighted text still visible. The stuff promptly changes color: the background becomes a light grey and the font color changes to white.

Is there a way to control that, make things a little darker?

I need a little more help, please!

I have this:

::-moz-selection {background: #377 !important; color: #000 !important}

which I use together with a black background and text colored #666622.

So when I highlight text mostly to copy elsewhere, the text background turns sort of teal and the font color changes to black.

The problem comes when I open a new application such as WordPad to paste the copied material keeping the now inactive browser window and the highlighted text still visible. The stuff promptly changes color: the background becomes a light grey and the font color changes to white.

Is there a way to control that, make things a little darker?

I tried this:

::-moz-selection:-moz-window-inactive  {background: #555 !important; color: black !important}

but I got this error:

"Found trailing token after pseudo-element which must be the last part of a selector:':'. Ruleset ignored due to bad selector."

I tried this:

::-moz-selection:-moz-window-inactive  {background: #555 !important; color: black !important}

but I got this error:

"Found trailing token after pseudo-element which must be the last part of a selector:':'. Ruleset ignored due to bad selector."

you can't style it specially for window inactive in Firefox.

see here: http://css-tricks.com/window-inactive-styling/

How do I change the colour of the App button from Orange to the blue of the Nightly build. This is what I have at the moment for the app button, all I need is the colour change.

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

#appmenu-button .button-menu-dropmarker::before { 
   content: "Creaky's PC"; 
   margin-left: -4px;
}

#appmenu-button .dropmarker-icon {
   display: none !important;
}

How do I change the colour of the App button from Orange to the blue of the Nightly build. This is what I have at the moment for the app button, all I need is the colour change.

if you are on the nightly, you can use this:

http://userstyles.org/styles/47549/firefox-channel-based-appbutton-color

otherwise:

#appmenu-button{
  -moz-border-left-colors: hsla(0,0%,100%,.5) hsla(210,59%,13%,.9) !important;
  -moz-border-bottom-colors: hsla(0,0%,100%,.5) hsla(210,59%,13%,.9) !important;
  -moz-border-right-colors: hsla(0,0%,100%,.5) hsla(210,59%,13%,.9) !important;
  background-image: -moz-linear-gradient(hsl(211,33%,32%), hsl(209,53%,10%) 95%) !important;
  border-color: hsla(210,59%,13%,.9) !important;
  box-shadow: 0 1px 0 hsla(210,48%,90%,.15) inset,
              0 0 2px 1px hsla(211,65%,85%,.15) inset !important;
}

#appmenu-button:hover:not(:active):not([open]) {
  background-image: -moz-radial-gradient(center bottom, farthest-side, hsla(210,48%,90%,.5) 10%, hsla(210,48%,90%,0) 70%),
                    -moz-radial-gradient(center bottom, farthest-side, hsla(211,70%,83%,.5), hsla(211,70%,83%,0)),
                    -moz-linear-gradient(hsl(211,33%,32%), hsl(209,53%,10%) 95%) !important;
  border-color: hsla(210,59%,13%,.9) !important;
  box-shadow: 0 1px 0 hsla(210,48%,90%,.15) inset,
              0 0 2px 1px hsla(210,48%,90%,.4) inset,
              0 -1px 0 hsla(210,48%,90%,.2) inset !important;
}

#appmenu-button:hover:active,
#appmenu-button[open] {
  background-image: -moz-linear-gradient(hsl(211,33%,26%), hsl(209,53%,6%) 95%) !important;
  box-shadow: 0 2px 3px rgba(0,0,0,.4) inset,
              0 1px 1px rgba(0,0,0,.2) inset !important;
}

if you are on the nightly, you can use this:

http://userstyles.org/styles/47549/firefox-channel-based-appbutton-color

otherwise:


You may want to keep the color change of the appmenu button when in private browsing mode. If so, try this (it's Heartripper's code, just amended to exclude private browsing mode):

#main-window:not([privatebrowsingmode]) #appmenu-button{
  -moz-border-left-colors: hsla(0,0%,100%,.5) hsla(210,59%,13%,.9) !important;
  -moz-border-bottom-colors: hsla(0,0%,100%,.5) hsla(210,59%,13%,.9) !important;
  -moz-border-right-colors: hsla(0,0%,100%,.5) hsla(210,59%,13%,.9) !important;
  background-image: -moz-linear-gradient(hsl(211,33%,32%), hsl(209,53%,10%) 95%) !important;
  border-color: hsla(210,59%,13%,.9) !important;
  box-shadow: 0 1px 0 hsla(210,48%,90%,.15) inset,
              0 0 2px 1px hsla(211,65%,85%,.15) inset !important;
}

#main-window:not([privatebrowsingmode]) #appmenu-button:hover:not(:active):not([open]) {
  background-image: -moz-radial-gradient(center bottom, farthest-side, hsla(210,48%,90%,.5) 10%, hsla(210,48%,90%,0) 70%),
                    -moz-radial-gradient(center bottom, farthest-side, hsla(211,70%,83%,.5), hsla(211,70%,83%,0)),
                    -moz-linear-gradient(hsl(211,33%,32%), hsl(209,53%,10%) 95%) !important;
  border-color: hsla(210,59%,13%,.9) !important;
  box-shadow: 0 1px 0 hsla(210,48%,90%,.15) inset,
              0 0 2px 1px hsla(210,48%,90%,.4) inset,
              0 -1px 0 hsla(210,48%,90%,.2) inset !important;
}

#main-window:not([privatebrowsingmode]) #appmenu-button:hover:active,
#main-window:not([privatebrowsingmode]) #appmenu-button[open] {
  background-image: -moz-linear-gradient(hsl(211,33%,26%), hsl(209,53%,6%) 95%) !important;
  box-shadow: 0 2px 3px rgba(0,0,0,.4) inset,
              0 1px 1px rgba(0,0,0,.2) inset !important;
}

I have a problem in that I don't want to see the two white vertical lines at the inner left and inner right of my tab scroll arrows. I did my best with DOMi but couldn't manage to work out what they are or where they come from. They come only after the scroll bar buttons (up or down) appear and not when I have fewer tabs.

This is the picture:

post-369494-0-77096400-1305125254.png

I have a problem in that I don't want to see the two white vertical lines at the inner left and inner right of my tab scroll arrows. I did my best with DOMi but couldn't manage to work out what they are or where they come from. They come only after the scroll bar buttons (up or down) appear and not when I have fewer tabs.

This is the picture:

.tabbrowser-arrowscrollbox > .scrollbutton-up,
.tabbrowser-arrowscrollbox > .scrollbutton-down {
      -moz-border-image: none !important;
}

.tabbrowser-arrowscrollbox > .scrollbutton-up,
.tabbrowser-arrowscrollbox > .scrollbutton-down {
      -moz-border-image: none !important;
}

Perfect. As usual! But I would love to know how you figured this out. I scratched my head raw trying to figure it out with DOMi. I know it's difficult to describe in words, but if you could post a screenie of the relevant section, that would be most appreciated :)

Perfect. As usual! But I would love to know how you figured this out. I scratched my head raw trying to figure it out with DOMi. I know it's difficult to describe in words, but if you could post a screenie of the relevant section, that would be most appreciated :)

here ya go:

post-350326-0-50179800-1305131964.png

post-350326-0-03871400-1305131983.png

here ya go:

...

Thanks, yet again! But isn't it quite a bit of knowing where to look in the first place? Mr. Clueless will digest this overnight and hope something is assimilated.

Also, couldn't help noticing you've styled the DOMi screen as well :D ! Is the style available for stealing/borrowing?

(It does look like quite a few people like dark styles. Now if only page designers would realize that ...)

Thanks, yet again! But isn't it quite a bit of knowing where to look in the first place? Mr. Clueless will digest this overnight and hope something is assimilated.

Also, couldn't help noticing you've styled the DOMi screen as well :D ! Is the style available for stealing/borrowing?

(It does look like quite a few people like dark styles. Now if only page designers would realize that ...)

Extensions help: https://addons.mozilla.org/en-US/firefox/addon/inspect-context/

I can give you the code for styling the domi window if you want, but I haven't done any code cleanup on it so it's kinda messy - http://pastebin.com/NL1vM1wj#

Extensions help: https://addons.mozilla.org/en-US/firefox/addon/inspect-context/

I can give you the code for styling the domi window if you want, but I haven't done any code cleanup on it so it's kinda messy - http://pastebin.com/NL1vM1wj#

@foxxyn8, thanks for the nth time :)

I don't want to do too much with the DOMi window, just darken it without losing contrast between text and background; messy code may not be an issue for me.

I've modified the Add-ons page using this code:

@namespace html url(http://www.w3.org/1999/xhtml);
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://mozapps/content/extensions/extensions.xul), url(about:addons) {
#back-btn { display: none !important}
#forward-btn { display: none !important}
.icon { display: none !important}
.category-icon { display: none !important}
.description { display: none !important}
.warning-icon { display: none !important}
#addons-page { background-image: none !important}
.addon-view { background-image: none !important}
.view-header  { background-image: none !important}
.button-link { display: none !important} /*hides "more" button*/
.warning { display: none !important}
.name { font-size: 15px !important; background: none !important; border: none !important}
.version { font-size: 15px !important; background: none !important; border: none !important}
.preferences *, .enable *, .disable *, .remove * { background: none !important; border: none !important }

}

I want help to make the add-on name and version number to appear on the same row as the buttons to the right of each add-on but which are one row below. Is it possible? I don't know how to proceed.

post-369494-0-94988700-1305296683.png

I've modified the Add-ons page using this code:

I want help to make the add-on name and version number to appear on the same row as the buttons to the right of each add-on but which are one row below. Is it possible? I don't know how to proceed.

post-369494-0-94988700-1305296683.png

.addon .content-inner-container {-moz-box-orient: horizontal !important;}

Perfect. Thank You!

But now there's a blank line which I suppose can also be removed. Don't tell me. I'll try and figure it out and if I can't get it, I'll ask! :D

Got it. That plus some more fiddling gives this:

@-moz-document url(chrome://mozapps/content/extensions/extensions.xul), url(about:addons) {
#back-btn { display: none !important}
#forward-btn { display: none !important}
.icon { display: none !important}
.category { height: 40px !important; padding-top: 3px !important}
.category-icon { display: none !important}
.category-name { font-size: 15px !important; font-weight: normal !important}
.description { display: none !important}
.warning-icon { display: none !important}
#addons-page { background-image: none !important}
.addon-view { background-image: none !important}
.view-header  { background-image: none !important}
.button-link { display: none !important} /*hides "more" button*/
.warning { display: none !important}
.name { font-size: 15px !important; background: none !important; border: none !important}
.version { font-size: 15px !important; background: none !important; border: none !important}
.disabled-postfix { font-size: 15px !important; background: none !important; border: none !important}
.preferences *, .enable *, .disable *, .remove * { background: none !important; border: none !important }
.addon .content-inner-container {-moz-box-orient: horizontal !important}
.addon .content-container { height: 27px !important}
}

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

    • No registered users viewing this page.
  • Posts

    • Weekend PC Game Deals: Resident Evil, Mafia, Like a Dragon, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic concluded its mystery giveaways this week with another double freebie promotion. As a part of this, you can now grab Rogue Waters and Songs of Conquest to keep. Songs of Conquest is a turn-based 4X strategy game where you'll be managing a kingdom, making tough decisions, and taking down enemy forces in tactical combat. Meanwhile, Rogue Waters is a roguelike where, as a pirate captain, you command a ship and crew through procedurally generated encounters. The double giveaway is coming to an end on June 11. On the same day, Warhammer 40K Speed Freeks will join in as the next freebie. Another Humble Choice offer was revealed earlier this week, bringing a refreshed eight-game selection to jump into. The June selection is Octopath Traveler 2, The Riftbreaker, Life is Strange: Double Exposure, INDIKA, Citizen Sleeper 2: Starward Vector, Construction Simulator, Hell Clock, and Overlooting to keep as Steam keys. The $15 bundle gives you all eight games from this month's Choice selection. The month-long promotion will come to an end on July 6, giving you ample time to decide on whether you want the titles. The Humble Store also brought in standard gaming collections this week. The IGN Live Bundle kicked things off with games like Control, Shadow Gambit: The Cursed Crew, Blair Witch, Rollerdrome, and The Last Campfire for $10. At the same time, the We Will Always be Here bundle carried in titles like Bad End Theater, Thirsty Suitors, Vampire Therapist, and Tavern Talk for $12. Next, the 2K Sports Champions Bundle comes touting games like NBA 2K26, PGA TOUR 2K25, OlliOlli World Rad Edition, and TopSpin 2K25 with a hefty $25 price tag. Lastly, the Redline Racing Bundle is touting games like Art of Rally, Descenders, Mudrunner, and Assetto Corsa Competizione with a $10 price tag. Big Deals The biggest promotions of this weekend come from franchise discounts for hits like Mafia, Like a Dragon, Resident Evil, and more. With all those and more, here's our hand-picked big deals list for the weekend: Mafia: The Old Country – $34.99 on Steam ARC Raiders – $31.99 on Steam Forza Horizon 5 – $29.99 on Steam Monster Hunter Wilds – $29.39 on Steam Satisfactory – $27.99 on Steam No Rest for the Wicked – $27.99 on Steam Satisfactory – $27.99 on Steam Esoteric Ebb – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Cloudheim – $19.79 on Steam Pacific Drive – $17.99 on Steam Like a Dragon: Infinite Wealth – $17.49 on Steam ACE COMBAT 7: SKIES UNKNOWN – $14.99 on Steam Yakuza 0 Director's Cut – $14.99 on Steam Like a Dragon Gaiden: The Man Who Erased His Name – $14.99 on Steam Like a Dragon: Pirate Yakuza in Hawaii – $14.99 on Steam Grand Theft Auto V Enhanced – $14.99 on Steam Lost Judgment – $13.99 on Steam The Crew Motorfest – $13.99 on Steam Stronghold Crusader: Definitive Edition – $12.59 on Steam The Stanley Parable: Ultra Deluxe – $12.49 on Steam Blood West – $12.49 on Steam Yakuza Kiwami 2 – $11.99 on Steam Judgment – $11.99 on Steam Like a Dragon: Ishin! – $11.99 on Steam Alien: Isolation – $11.99 on Steam Goat Simulator: Remastered – $10.19 on Steam Resident Evil Village – $9.99 on Steam Yakuza 4 Remastered – $9.99 on Steam Yakuza 5 Remastered – $9.99 on Steam Yakuza 6: The Song of Life – $9.99 on Steam Caravan SandWitch – $9.99 on Steam Spyro Reignited Trilogy – $9.99 on Steam Assassin's Creed III Remastered – $9.99 on Steam The Expanse: A Telltale Series – $9.99 on Steam Sons Of The Forest – $8.99 on Steam Untitled Goose Game – $7.99 on Steam Resident Evil 2 – $7.99 on Steam Resident Evil 3 – $7.99 on Steam Resident Evil 7 Biohazard – $7.99 on Steam Yakuza: Like a Dragon – $7.99 on Steam Airborne Kingdom – $7.49 on Steam Assassin's Creed Syndicate – $7.49 on Steam The Wolf Among Us – $7.49 on Steam Amnesia: The Bunker – $7.49 on Steam Mini Motorways – $6.99 on Steam Age of History 3 – $6.99 on Steam Fabledom – $6.29 on Steam Trine 4: The Nightmare Prince – $5.99 on Steam Mafia: Definitive Edition – $5.99 on Steam Mafia II: Definitive Edition – $5.99 on Steam Resident Evil 6 – $4.99 on Steam Resident Evil 5 – $4.99 on Steam Resident Evil Revelations 2 – $4.99 on Steam Resident Evil 3 Nemesis (1999) – $4.99 on Steam Terra Memoria – $4.99 on Steam FOR HONOR – $4.49 on Steam Metro Exodus – $4.49 on Steam The Forest – $4.39 on Steam Mini Metro – $3.99 on Steam Songs of Conquest – $0 on Epic Store Rogue Waters – $0 on Epic Store Gravity Circuit – $0 on Steam DRM-free Specials The DRM-free store GOG has plenty of discounts to look over this weekend too. Here are some highlights: Trials of Mana - $14.99 on GOG SPORE Collection - $14.99 on GOG Stellaris - $12.49 on GOG FINAL FANTASY VIII - REMASTERED - $7.99 on GOG Final Fantasy IV (3D Remake) - $7.99 on GOG Final Fantasy III (3D Remake) - $7.99 on GOG FINAL FANTASY IX - $6.29 on GOG The Forgotten City - $6.25 on GOG Warlords Battlecry 3 - $5.99 on GOG Heroes of Might and Magic 3: Complete - $4.99 on GOG Heroes of Might and Magic 4: Complete - $4.99 on GOG SimCity 4 Deluxe Edition - $4.99 on GOG FINAL FANTASY VII - $4.79 on GOG Cultures 1+2 - $3.99 on GOG Outlast - $3.75 on GOG Dungeon Keeper 2 - $2.99 on GOG Theme Hospital - $2.99 on GOG Sid Meier's Alpha Centauri Planetary Pack - $2.99 on GOG Dungeon Keeper Gold - $2.99 on GOG Alba: A Wildlife Adventure - $2.55 on GOG Disciples 2 Gold - $1.99 on GOG Outcast - Second Contact - $1.49 on GOG Disciples: Sacred Lands Gold - $1.49 on GOG Port Royale 2 - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • Exciting! It’s amazing how hearing Japanese can naturally enhance the perceived quality of any experience or product.
    • Your other comment in another article says otherwise, namely "Microsoft veteran wants to replace every single line of C/C++ code with Rust and AI".
    • Sued and... exonerated. Oh, they learned a lesson alright. They learned that anyone who uses the word "antiturst" in conjunction with "Microsoft" is an idiot, even if that person is Judge Thomas Penfield Jackson. That judge ruined the image of the US justice system. Microsoft Edge has a 5.14% market share. Also, Windows is no longer the #1 OS. None of this constitutes a monopoly. Google Chrome, however, has 70.25% share. Also, Google's Android is the #1 OS. Now that's closer to a monopoly.
  • Recent Achievements

    • Week One Done
      JKR earned a badge
      Week One Done
    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      490
    2. 2
      PsYcHoKiLLa
      271
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      64
  • Tell a friend

    Love Neowin? Tell a friend!