Aris-t2 / CustomCSSforFx

Custom CSS tweaks for Firefox
GNU General Public License v3.0
1.82k stars 181 forks source link

Is this possible to place status bar into location bar? #655

Open FeodorPetrov opened 1 month ago

FeodorPetrov commented 1 month ago

Is this possible to place status bar (lower left corner, showing loading addresses and links under mouse cursor) into location bar, how it was in firefox-3.6?

Aris-t2 commented 1 month ago

Yes, it is possible.

You might have to adjust some values for your config:

.urlbar-input-box::after {
  appearance: none; 
  display: flex;
  content: "";
  min-width: 200px;
  background-image: -moz-element(#statuspanel-label) !important;
  background-repeat: no-repeat;
}

#statuspanel-label {
  border: 0 !important;
  background-color: unset !important;
  padding-top: 6px !important;
  color: inherit !important;
}

#statuspanel {
  opacity: 0 !important;
}
FeodorPetrov commented 1 month ago

I have it doesn't fit all the way in...

Screenshot_20240613_092109

FeodorPetrov commented 1 month ago

Is it possible to make it from left corner, not from right?

FeodorPetrov commented 1 month ago

So, I made min-width: 2000px; it, sort of, made it.

Thank you very much!

FeodorPetrov commented 1 month ago

But now I have another big problem: the address of current page is not shown at all!

Is it possible to make it from the left corner and make it dissapear when it is not shown?

Aris-t2 commented 1 month ago

The space has to be occupied using "min-width". You will run into the same issue, if placing statuspanel on the other side of location bar.

#identity-box::before {
  appearance: none; 
  display: flex;
  content: "";
  min-width: 200px;
  background-image: -moz-element(#statuspanel-label) !important;
  background-repeat: no-repeat;
}

#statuspanel-label {
  border: 0 !important;
  background-color: unset !important;
  padding-top: 6px !important;
  color: inherit !important;
}

#statuspanel {
  opacity: 0 !important;
}
FeodorPetrov commented 1 month ago

And how to solve this? In 3.6 everything was correct, it was at the same position as address and it just dissapeared when inactive. In the same position there were address, and status showed only when loading the page and when the cursor was over a link.

Aris-t2 commented 1 month ago

Firefox went through tons of changes since 3.6. CSS can not "solve" this.