Recommended Posts

Trying to do a bit of my own styling, but I need some help on how the syntax goes.

I need to apply a style to all elements in a field except to a few excluded ones. Just as an example, I'd like to remove box-shadow from all toolbar buttons except, say, the reload/stop button. The code to remove box-shadow is:

#nav-bar .toolbarbutton-1 {
  box-shadow: none !important;
}

Would appreciate advice on how to change the code snippet above so that the stop/reload button is excluded.

Also, how do I specify various styles to only take effect when the toolbar icon size is set to small, tabs-on-top is true, window is maximized, etc? Thanks.

try this:

#tabbrowser-tabs .tabbrowser-tab[image^="https://www.neowin.net"] {
  background-image: -moz-linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.5) 50%),
                    -moz-linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)) !important;
  color: white !important;
  font-weight: bold !important;
  text-shadow: 1px 1px 2px black !important;
}

you can't use the #main-window stylish attributes to style an inactive tab in this case because those values are determined by the active tab.

Thank you very much.

Trying to do a bit of my own styling, but I need some help on how the syntax goes.

I need to apply a style to all elements in a field except to a few excluded ones. Just as an example, I'd like to remove box-shadow from all toolbar buttons except, say, the reload/stop button. The code to remove box-shadow is:

#nav-bar .toolbarbutton-1 {
  box-shadow: none !important;
}

Would appreciate advice on how to change the code snippet above so that the stop/reload button is excluded.

#nav-bar .toolbarbutton-1:not(#reload-button):not(#stop-button) {
  box-shadow: none !important;
}

Also, how do I specify various styles to only take effect when the toolbar icon size is set to small, tabs-on-top is true, window is maximized, etc? Thanks.

#nav-bar[iconsize="small"]

#main-window[tabsontop="true"]

#main-window[tabsontop="false"]

#main-window[sizemode="maximized"]

#main-window[sizemode="normal"]

really, you jusat need to learn to use DOMi

Hello everyone,

firefox4.png

Is it possible to change this firefox icon to the config icon from IE9, and is it also possible to move the tabbar to the right of the awesomebar?

Thanks in advance,

Sjoerd

You should be able to do the second thing using the "customize palette" found by Alt > View > Toolbars > Customize.

Fx6 has the about:permissions page. To make it dark and boring I'm using

/*** about:permissions ***/
#permissions-page,
#permissions-page #permissions-box,
#permissions-page #sites-box,
#permissions-page #sites-list,
#permissions-page .site,
#permissions-page .box-inherit.scrollbox-innerbox {
    color: #85854a !important;
    background: black !important;
}

I want to know if there's a way to avoid repeating use of "#permissions-page" above without losing specificity.

In the code below,

#permissions-page .site-favicon, .pref-icon {
  display:none!important
}

Does the use of #permission-page just once mean that both .site-favicon and .pref-icon are specific to #permissions-page or can it be that .pref-icon, if it appears on any other page, will also be hidden?

Does the use of #permission-page just once mean that both .site-favicon and .pref-icon are specific to #permissions-page or can it be that .pref-icon, if it appears on any other page, will also be hidden?

Use :-moz-any

#permissions-page :-moz-any(#permissions-box,#sites-box,#sites-list,.site,.box-inherit.scrollbox-innerbox) {
  color: #85854a !important;
  background: black !important;
}

Use :-moz-any

#permissions-page :-moz-any(#permissions-box,#sites-box,#sites-list,.site,.box-inherit.scrollbox-innerbox) {
  color: #85854a !important;
  background: black !important;
}

Thank you, Soapy!

This is what I have now:

/*** about:permissions ***/

#permissions-content {
border: 1px solid #333 !important;
}

#permissions-page,
#permissions-page :-moz-any(
                            #permissions-box,
                            #sites-box,
                            #sites-list,
                            .site,
                            .box-inherit.scrollbox-innerbox) {
  -moz-appearance: none !important;
  color: #85854a !important; 
  border: 1px solid #333 !important;
  background: black !important;
}

#permissions-page .site-favicon, .pref-icon { display: none !important; }

Is it possible to only show text on tab without favicons?

Would something like this help?

/* Show tab favicon only on pinned tab */
.tabbrowser-tab:not([pinned]) .tab-icon-image {
  display: none !important;
}

Hi

I'm using this script to change my URL bar color, font family, radius etc. But since Aurora is 6.0a text in url bar is not aliased, I know that Mozilla change the way of displaying addresses in url bar, is there some modification to fix this problem?

#urlbar, #searchbar > *, .findbar-textbox{
  -moz-appearance: none !important;
  background: rgba(20,20,20,.45) !important;
  -moz-border-radius: 2px !important;
  font-size: 9pt !important;
  font-weight: bold !important;
  font-family: Segoe UI !important;
  color: #ffffff !important;

}

Other thing , is there some way to get identity box as it was in Fx 4.xx? also for default page, it was bit gray but not so white like now, also not covering whole space in box.

I'm attempting to style my tab-overflow buttons (.scrollbutton-up, .scrollbutton-down) to be styled the same as my tabs and new tab button; however, the tab-overflow buttons grey out when the button becomes disabled and I can't seem to find anything that stops this.

I'm attempting to style my tab-overflow buttons (.scrollbutton-up, .scrollbutton-down) to be styled the same as my tabs and new tab button; however, the tab-overflow buttons grey out when the button becomes disabled and I can't seem to find anything that stops this.

#tabbrowser-tabs .scrollbutton-up[disabled],
#tabbrowser-tabs .scrollbutton-down[disabled] {
    opacity: 1 !important;
}

Nevermind for the color... I managed to do that trick for custom-themes... Renamed it to "aero.msstyles" and Firefox recognized it. Not entirely perfectly, but it's ok. Got back colors and aero windows on some functions. Can't get back shadows on bookmarks-folder and right click context menu. Anyway.

Now I'd like something more important... How I move 2-3pixels ( bottom ) this ( not title bar- all other content and only when in normal mode, not maximized ):

post-350150-0-08013900-1306855896.png

Hi there, I need some help with remove the divider from gmail. Currently I have the following script doing the majority, invite, chat etc but not sure what i need to add... Thanks in advance

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("mail.google.com") {

/* HIDE CHAT AND INVITE BOXES */
.pS.s, .pS.pY {
  display: none !important;
}

post-15394-0-51460000-1307389443.png

Nevermind for the color... I managed to do that trick for custom-themes... Renamed it to "aero.msstyles" and Firefox recognized it. Not entirely perfectly, but it's ok.

I have the reverse problem; I'd like to get rid of that blue tint on Fx5. Anyone know how do I do that? Thanks.

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

    • No registered users viewing this page.
  • Posts

    • Feels like Hitman in Bond skin. But overall a great game! 👍
    • Microsoft released new Defender update for Windows 11, 10, Server ISO installations by Sayan Sen Microsoft releases new Windows Defender update packages very frequently to protect against various newly discovered malware. Once a while every three months or so, the company also pushes out these updates to Windows images (WIM and VHD) and ISOs, that are used to install Windows. Hence with the newest Windows 11 update available via the official MCT tool, you should get these definitions. This update package is necessary as a Windows installation image may contain old, outdated anti-malware definitions and software binaries. Aside from better security, these updates can also provide improved performance benefits in some cases. When a new Windows installation is set up, there may be a temporary security risk due to outdated Microsoft Defender protection in the OS installation images. This happens because the antimalware software included in these images might not be up to date. Thus Microsoft says that these updated definitions essentially help close this protection gap. Microsoft delivered the latest security definitions for Windows images via security intelligence update version 1.445.323.0. The Defender package version is also the same. It applies to Windows 11, Windows 10 ESU, Windows 10 Enterprise LTSC 2021, Win 10 Ent LTSC 2019, Win 10 Ent LTSB 2016, Windows Server 2022, Windows Server 2019, and Windows Server 2016. Microsoft writes: "This package updates the anti-malware client, anti-malware engine, and signature versions in the OS installation images to following versions: Platform version: 4.18.26040.7 Engine version: 1.1.26040.8 Security intelligence version: 1.447.236.0" From Microsoft's security bulletin, we learn that the security intelligence update version 1.447.236.0 was released early last month and adds threat detections for various malware like trojan, backdoor exploits, ransomware, stealers, AutoKMS, and more. For those wondering, the latest intelligence update is version 1.451.297.0 at the time of writing.
    • Hello, Hope all is well. I am in UK.  
  • Recent Achievements

    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
    • Rising Star
      olavinto went up a rank
      Rising Star
    • One Month Later
      lamborghiniv10 earned a badge
      One Month Later
    • Week One Done
      lamborghiniv10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      PsYcHoKiLLa
      271
    3. 3
      +Edouard
      75
    4. 4
      Skyfrog
      74
    5. 5
      Steven P.
      71
  • Tell a friend

    Love Neowin? Tell a friend!