Recommended Posts

Sorry for double post!

@panoc

Using your idea I modified the code and styled it a bit. Also modified it's margin not the padding so now when you hover the area where the down button of the scroll bar is the add-on bar doesn't pop-up ! I still don't know how to add delay to it popping up and staying up thought ...

#addon-bar {
  position: fixed;
  bottom: -21px;
  right: 1px;
  border: 0 !important;
  -moz-appearance: none !important;
  -moz-transition: bottom .7s;
  padding-top: 12px !important;
  margin-right: 20px !important;
}

#addon-bar:hover {
 bottom: 1px;
}

#main-window[sizemode="maximized"] #addon-bar {
  bottom: -22px;
  right: 0;
  -moz-transition: bottom .7s;
}

#main-window[sizemode="maximized"] #addon-bar:hover {
  bottom: 0;
}

#addon-bar > #status-bar {
  margin: 0 !important;
  padding: 0 2px 0 2px;
  border-radius: 4px 4px 0 0;
  border: 0 !important;
  border-left: 1px solid rgba(0,0,0,.25) !important;
  border-right: 1px solid rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(0,0,0,.25) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
}

BTW deleted the blue style lines of the background, add it back if you want that. I like it better gray, fits my other styles ...

@mNiosu

Hey, I edited my style so that it doesn't obscure the vertical scrollbar anymore. I just edited the "right" properties to move it more to the left so you don't have to use margins. But there still is the problem with what to do if there is a horizontal scrollbar. It should be possible to adjust the addon-bar's position to the visibility of the different scrollbars but I don't know which selectors to use.

#addon-bar {
  position: fixed;
  bottom: -21px;
  right: 19px;
  border: 0 !important;
  -moz-appearance: none !important;
  -moz-transition: bottom .5s;
  padding-top: 22px !important;
}

#addon-bar:hover {
 bottom: 1px;
}

#main-window[sizemode="maximized"] #addon-bar {
  bottom: -22px;
  right: 18px;
  -moz-transition: bottom .5s;
}

#main-window[sizemode="maximized"] #addon-bar:hover {
  bottom: 0;
}

#addon-bar > #status-bar {
  margin: 0 !important;
  padding: 0 2px 0 2px;
  border-radius: 4px 4px 0 0;
  border: 0 !important;
  border-left: 1px solid rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(0,0,0,.25) !important;
  border-right: 1px solid rgba(0,0,0,.25) !important;
  background-color: rgb(207, 219, 236) !important;
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgb(207,220,236)) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
}

I found code for a loading bar similar to IE8/9 one, I think it looks a lot better than the small line you normally see, but not too keen on the color, can anyone improve it and make it look more like a glass loader, like in Windows?

post-2-12856802648889.png

PRETTY PLEASE WITH SUGAR ON TOP!

My Code:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url(chrome://browser/content/browser.xul) {

#urlbar {
position: relative!important;
z-index: 2 !important;
}

#urlbar-progress {
position: relative !important;
z-index: -1 !important;
height: 20px !important;
margin: -21px 0 1px 1px !important;
}

#urlbar-progress .progress-bar, 
#tabbrowser-tabs .progress-bar {
background: rgba(0,61,245,0.5) -moz-linear-gradient(0% 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.4) 90%, rgba(255, 255, 255, 0.8)) repeat scroll 0% 0% !important;
}

#urlbar-progress .progress-bar {
-moz-border-radius: 3px 0 0 3px !important;
}

.progress-remainder {
background-image: none !important;
}

}

try these, they don't interfere with both horizontal and vertical scroll bars

but i can't get it work with animation

transparent background

#addon-bar:hover {
margin-top:-21px;
bottom: 0px;
margin-right: 20px;
border: 0 !important;
-moz-appearance: none !important;}

#addon-bar:not(:hover) {
posititon: fixed;
margin-bottom: -21px;

border: 0 !important;
-moz-appearance: none !important;}

#addon-bar > #status-bar {
-moz-appearance: -moz-win-glass !important;
background: none !important;
margin: 0 !important;
padding: 0 2px 0 2px;
border-radius: 4px 0 0 0;
border: 0 !important;
border-left: 1px solid rgba(0,0,0,.25) !important;
border-right: 1px solid rgba(0,0,0,.25) !important;
border-top: 1px solid rgba(0,0,0,.25) !important;
}

colored background

#addon-bar:hover {
margin-top:-21px;
bottom: 0px;
margin-right: 20px;
border: 0 !important;
-moz-appearance: none !important;}

#addon-bar:not(:hover) {
posititon: fixed;
margin-bottom: -21px;

border: 0 !important;
-moz-appearance: none !important;}

#addon-bar > #status-bar {
  margin: 0 !important;
  padding: 0 2px 0 2px;
  border-radius: 4px 4px 0 0;
  border: 0 !important;
  border-left: 1px solid rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(0,0,0,.25) !important;
  border-right: 1px solid rgba(0,0,0,.25) !important;
  background-color: rgb(207, 219, 236) !important;
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgb(207,220,236)) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
}

I found code for a loading bar similar to IE8/9 one, I think it looks a lot better than the small line you normally see, but not too keen on the color, can anyone improve it and make it look more like a glass loader, like in Windows?

i prefer the opposite one (light in the beginning becoming darker at the end)

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url(chrome://browser/content/browser.xul) {

.progress-remainder {
background-image: none !important;
}

#urlbar-progress .progress-bar {
background-image: -moz-linear-gradient(left, transparent 10%, rgba(65, 105, 255, 0.4) 90%, rgba(65, 105, 255,0.8)) !important;
background-color: transparent !important; 
; 
}

#urlbar-progress{
height: 22px !important;
margin-top: -22px !important;
margin-bottom: 0px !important;
margin-left: 28px !important;
}
}

i also use different color for the url preview

.urlbar-over-link-host-label, 
.urlbar-over-link-path-label {
   color: royalblue !important;
}

I found code for a loading bar similar to IE8/9 one, I think it looks a lot better than the small line you normally see, but not too keen on the color, can anyone improve it and make it look more like a glass loader, like in Windows?

post-2-12856802648889.png

PRETTY PLEASE WITH SUGAR ON TOP!

My Code:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url(chrome://browser/content/browser.xul) {

#urlbar {
position: relative!important;
z-index: 2 !important;
}

#urlbar-progress {
position: relative !important;
z-index: -1 !important;
height: 20px !important;
margin: -21px 0 1px 1px !important;
}

#urlbar-progress .progress-bar, 
#tabbrowser-tabs .progress-bar {
background: rgba(0,61,245,0.5) -moz-linear-gradient(0% 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.4) 90%, rgba(255, 255, 255, 0.8)) repeat scroll 0% 0% !important;
}

#urlbar-progress .progress-bar {
-moz-border-radius: 3px 0 0 3px !important;
}

.progress-remainder {
background-image: none !important;
}

}

You may prefer mNiosu's version over mine:

Fission-like, windows-style progress bar

@Neobond

Another fan ... :laugh: :cool:

@dert07

Yes, it's kind of the same thing. Anyway I'm happy with it the way it is, don't like panoc's version. I don't know about the horizontal scroll bar thought, I have encountered any such page since using your style and is not such a big problem for me. What I'm looking for now is to style something like Win7's Aero Slate (graphite) color theme (glass and dark grey). Any help?

@panoc

Hi,

I tried your style but it didn't really work. It still overlaps the horizontal scrollbar. You also got a typo in the "position" property, when I fix it it doesn't work anymore.

- - -

@all

I switched back to my first style for now. I don't really care if it obscures either of the scrollbars since I can't click the arrows anyway when the bar is shown and I don't like the look of the addonbar with the blank space at the right when no scrollbar is there. It is more of a problem when you don't autohide but I'm good for now.

If you don't want the autohide use SoapyHamHock's code and maybe move it a bit to the left so it at least doesn't overlap the vertical scrollbar although icons don't seem to change instantly.

Mozilla will come up with their own style soon, I hope. I don't know when the theme is supposed to be finished, i guess in the first RC.

- - -

@mNiosu

Yeah that's what I thought, too. Horizontal scrollbars hardly ever occur and if they do you could always just take the big slider to scroll.

I'm not exactly sure what you mean by the Aero Slate style. If you want the addonbar to be glassed it isn't that easy. You can apply the -moz-win-glass stuff only to #browser-bottombox which contains both the addon-bar and statusbar. But if you apply Glass to it the webpage doesn't shine through.

@panoc

Hi,

I tried your style but it didn't really work. It still overlaps the horizontal scrollbar. You also got a typo in the "position" property, when I fix it it doesn't work anymore.

- - -

hm i just noticed the typo, so that means that ti doesn't need the position property.

strangely the style works fine for me.

it autohides addon bar and does not interfere with the scroll bars, but i will check it in new profile and see if it works

@mNiosu

Yeah that's what I thought, too. Horizontal scrollbars hardly ever occur and if they do you could always just take the big slider to scroll.

I'm not exactly sure what you mean by the Aero Slate style. If you want the addonbar to be glassed it isn't that easy. You can apply the -moz-win-glass stuff only to #browser-bottombox which contains both the addon-bar and statusbar. But if you apply Glass to it the webpage doesn't shine through.

I know how to make it transparent but I want to copy the win7 grey color theme style, not just plain transparency but I'm not very good with color mixing...

Anyway the best solution to scroll-bar overlap would be my idea few posts back, to force the add-on bar under the scroll bar but I don't know if it is possible...

@panoc

Didn't have much time to study the style code but you use a different method for styling the add-on bar witch is not a bad thing but it kind of forces you to use another autohide code that I don't like at all. Also your style has some unnecessary lines. I'll give it a look when I'll have some time ...

well programming is not my forte :p

most of the css styles i write are made by trial and error.

i would be glad if you can shrink my styles and correct them !

I'm not good at programming either. I really don't see the advantages of your style over dert07's except the icons react in real time but that isn't a problem for me as they do change as the bar hides on dert07's style. The problem is that I don't think his idea of autohide works with streetwolf's fix for the icons so I really can't do much to edit your style so I'll stick with the one I modified after dert07's idea because I like it better ...

BTW doesn't anyone have a solution for me to add something like 500ms delay to the add-on bar popping up and also something like 500ms to keep it showing after I stopped hovering it ? That would be really great! :D

Anyway the best solution to scroll-bar overlap would be my idea few posts back, to force the add-on bar under the scroll bar but I don't know if it is possible...

I don't think that's possible. Personally, I just hide those scrollbars. :)

BTW doesn't anyone have a solution for me to add something like 500ms delay to the add-on bar popping up and also something like 500ms to keep it showing after I stopped hovering it ? That would be really great! :D

Oh sorry, I forgot about your delay question. You could either use:

-moz-transition-property: bottom;
-moz-transition-duration: .5s;
-moz-transition-delay: .5s;

or easier, just put everything into the -moz-transition property:

-moz-transition: bottom .5s .5s;

If you want to edit the timings the values are -moz-transition: [property] [duration] [delay];

SoapyHamHocks and I tweaked the style a bit more and now the icons also change instantly!

The style can be found here: http://boneyardbrew.posterous.com/

I have two problems:

1 - flexible spacers don't work

2 - findbar won't display

Is it just me?

@foxxyn8

You're right, the findbar doesn't show up anymore, we didn't try that. We'll see if we can fix this. I can't add flexible spacers in between icons even without the style. And to the left or right to all icons it doesn't really make sense since the bar adjusts its width automatically.

You're right, the findbar doesn't show up anymore, we didn't try that. We'll see if we can fix this. I can't add flexible spacers in between icons even without the style. And to the left or right to all icons it doesn't really make sense since the bar adjusts its width automatically.

You can't add flexible spacers to the statusbar icons, but if you customize and add buttons to the add-on bar you can. The problem is that with this style enabled they don't work.

In the following images there is one expandable spacer used to push the button to the far left:

Without style:

screenhunter30sep282253.jpg

With Style:

screenhunter31sep282255.jpg

As you can see, with your style applied the expandable spacer isn't working. However this seems to be a common problem with any of the styles which are using a position:fixed for the add-on bar.

Concerning the findbar - if you add bottom: 0 to #browser-bottombox the contents of the findbar will display, but without a background.

@ dert07 i made some modification to your style according to foxxyn8's suggestion

#addon-bar {
  position: fixed;
  bottom: -21px;
  right: 20px;
  border: 0 !important;
  -moz-appearance: none !important;
  -moz-transition: bottom .5s 1s ease-in;
  /*padding-top: 22px !important;*/
}

#browser-bottombox {
position: fixed;
}

#addon-bar:hover {
 bottom: 0;
 -moz-transition: bottom .5s .4s ease-out;
}

#main-window[sizemode="maximized"] #addon-bar {
  right: 20;
}

#addon-bar > #status-bar {
  margin: 0 !important;
  padding: 0 2px 0 2px;
  border-radius: 4px 4px 0 0;
  border: 0 !important;
  border-left: 1px solid rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(0,0,0,.25) !important;
  border-right: 1px solid rgba(0,0,0,.25) !important;
  background-color: rgb(207, 219, 236) !important;
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgb(207,220,236)) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
}

with the above code addon bar does not hover when you scroll horizontal.

can you try this and tell if it works ?

What is the identifier for the search box. I want to style it a bit ... :D

@foxxyn8

I have a background but it displays only half the search box. That's not such a big problem but a little styling would be better that's why I want the identifier.

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

    • No registered users viewing this page.
  • Posts

    • To give context to everybody, I bought about 2 sets of RAM, ddr4, 3200, 64 gb, 2 years ago. It costed me 150 usd for each set. If you buy RAM now you only incentivate companies to sell you expensive stuff, as Nvidia did.
    • KillerPDF 1.4.2 by Razvan Serea KillerPDF is a lightweight, portable PDF editor for Windows built for users who want full control without subscriptions, installers, or telemetry. It runs as a single executable, making it ideal for USB use and field work. You can view PDFs with smooth PDFium rendering, navigate quickly with thumbnails, zoom, and shortcuts, and reorganize pages using drag-and-drop. It supports merging multiple PDFs, splitting documents, and extracting selected pages. KillerPDF also allows inline text editing with font matching to preserve the original layout, plus annotations like text boxes, freehand drawing, highlights, and reusable signatures. You can search full text, copy content easily, and print documents with flattened annotations. Designed as a free and open alternative to bloated PDF tools, it works fully offline on Windows 10/11 x64. No runtimes install. Everything needed is inside the EXE (targets .NET Framework 4.8, which ships with every supported Windows release). KillerPDF key features: High-quality PDF rendering via PDFium Edit PDF text inline (double-click to modify text) Page thumbnails and fast navigation with zoom and shortcuts Merge multiple PDFs into one Split PDFs and extract selected pages Drag-and-drop page reordering Font matching to preserve original document appearance Text boxes for notes Freehand drawing tools Highlight overlays with adjustable color, size, opacity Undo actions and clear per-page annotations Create, draw, and save reusable signatures Click-to-place signatures anywhere Full-text search with highlighted results Drag-select or Ctrl+A to copy text Print with annotations flattened Portable single-file app (~10 MB) No installer, no admin rights required No account, no telemetry KillerPDF 1.4.2 changelog: What's new PDF form filling. Interactive PDF forms now render their fields (text inputs, checkboxes, radio buttons) as live controls. Fill them in directly and save — field values are written back into the PDF. PDF outline (bookmark) navigation. A new OUTLINES tab in the sidebar displays the document's bookmark tree. Click any entry to jump to that page. The sidebar auto-fits its width to the longest entry on open and can be dragged wider; switching back to PAGES snaps to the pages-mode width. Fixed Page rotation no longer reverts after saving. Rotations applied via the sidebar context menu now persist correctly through the save pipeline. Copied text words were out of order on PDFs where glyphs are stored in non-reading order (Issue #66). Text extraction now sorts words by position and uses a dynamic line-grouping threshold so both drag-select and Select All produce correctly ordered output. PDFs with malformed or non-standard XRef tables now open in read-only mode instead of showing "Invalid entry in XRef table" and failing entirely. Download: KillerPDF 1.4.2 | 6.1 MB (Open Source) Link: KillerPDF Home Page | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • "...a low price of just $340..." I don't think it means what you think it means.
    • This Corsair Vengeance DDR5-6000 32GB RAM with RGB is a great deal for limited time by Sayan Sen Memory prices have been through the roof for a while, though it seems like things might finally be getting better. If you are in the market for one, then grab this Corsair Vengeance DDR5 32GB (2x16GB) DDR5 6000 CL36 kit with RGB for a low price of just $340 (purchase link under the specs table down below). The kit is compatible with both AMD and Intel systems as it supports both EXPO and XMP overclocking profiles, respectively. 6000 MT/s is often the sweet spot for many systems as it provides ample data transfer speed while still being on Gear 1 mode. This Vengeance variant has RGB so if you love bright setups with such lighting, this is a win-win for you. The technical specifications of the Corsair Vengeance memory kit are given in the table below: Specification Value Memory Type DDR5 Memory Size (Total) 32GB Kit Configuration 2 × 16GB Form Factor UDIMM (Desktop) Pin Count 288-pin Speed (Data Rate) 6000 MT/s Speed Rating PC5-48000 Tested CAS Latency 38-44-44-96 Voltage (Tested) 1.35V Performance Profile AMD EXPO & Intel XMP Heat Spreader Aluminum heatspreader Cooling Type Passive (Heatsink) Lighting Ten Zone RGB Software Support Corsair iCUE Get it at the link below: CORSAIR Vengeance RGB DDR5 32GB (2 x 16GB) 6000 CL38 – Gray (CMH32GX5M1E6000Z38): $339.99 (Sold and Shipped by Woot US, Fulfilled by Amazon US) This Woot deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • The very fact that a TPM (v2.0 specifically which is part of the issue I suspect) is now a baseline for any supported Windows installation will naturally mean other vendors will start to leverage it as they know it'll be there. It's called progress, and it's always been the way. A TPM isn't a windows thing, it's just a module designed to securely store keys. Secure boot isn't a Windows thing (although MS are the TCA as I recall hence the upheaval this year as the 2011 certs expire), it's just a way to verify a bootloader is signed. Windows simply leverages them.
  • 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
      479
    2. 2
      PsYcHoKiLLa
      244
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      66
    5. 5
      Skyfrog
      65
  • Tell a friend

    Love Neowin? Tell a friend!