Εμφάνιση ερωτήσεων με ετικέτες: Εμφάνιση όλων των ερωτήσεων
  • Επιλύθηκε
  • Αρχειοθετήθηκε

Firefox 63 tab.close.button.transparent.background w/ hovered background

Fx 63.0.3 in Linux. I added a tab close button (hovered) colored background. It's not necessarily same W x H as the inactive button transparent background - which is fin… (διαβάστε περισσότερα)

Fx 63.0.3 in Linux. I added a tab close button (hovered) colored background. It's not necessarily same W x H as the inactive button transparent background - which is fine.

I'd like to move the (inactive) 'X' close to the tab right end (did move it - not necessarily easiest way). The bottom of red background in hovered state needs to be close to the tab bottom & even with the tab's right end / side, for a better, easier target to close. I did that - more or less. :)

The issue (that may have no solution) is the inactive button's transparent BG is 20x20px, I believe. So far, unless I make the hovered, colored background the same size as the inactive button's , it distorts the 'X' when the red background appears. So the button is semi-fixed? When hovered, it doesn't "translate" the X icon in the same HxW. Yes, people are starving in Africa & we're worried about pretty browsers.

I assume because the inactive close button has different dimensions and margins than the added background does, the only way I can get the "legs" of the 'X' near the tab border is enter different margins for it than for the hovered, colored background?

  • Question on the last part: *When you have a 20x20 button, originally positioned so the 'letter X' was ~ 5 - 7px from the border / end, what does Firefox "do" w/ the transparent part of the button, when you enter margins so the 'X' is very near the right tab border (right end of the moz-box or container)?
  • Does it in effect, 'remove' part of the transparent button, as different margins are entered, to move the button closer & closer to the container's end?

It appears the default close button's 'X' is 10px WxH. Since browser toolbox showed the button was 20x20px - I think, then it has a 5px margin? on all sides of the 'X' image.

The main goals are:

  • 1. Get more room for text on tabs. I also changed margins on the tab icons to move them near the tab left border & disabled tab text fadein.
  • 2. Have a clickable background to close tabs - that lines up at the tab bottom, right corner & not have to "fish around" for the close button. I have that.

So far, unless I make the hovered background the exact dimensions of the button, then use the exact margins on both, it will distort the X - depending on how different in size the inactive & hovered sizes are.

I couldn't find a CSS property / feature that would allow *the original* X close button to shift up or left (undistorted), when the hovered background appears.

Maybe the original close button could be hidden during hover and a new close button specified (adding a colored BG) with a new size? Say, 15x20 (or 30)? As long as the hovered BG is near the bottom, right corner.

  • I think whatever space is occupied by the width of the transparent button edge (plus padding, if any), dictates how far the tab's text can extend to the right? Once hovered, I don't care if more or less text shows, since I'll be closing the tab, not reading it.
  • If that's true, I could modify / create an overall smaller inactive close button - allowing more text on tabs. Or just "remove" the *inactive state* close button, & specify the same close button (plus red BG) for the hovered state.

I'm not sure how hard it would be.

It was kind of tedious, figuring out how much negative margin values to enter (for 2 different element sizes), so they both wound up (nearly) equidistant from the tab R end. Key word being "nearly". I didn't want the 'X' touching or almost - the tab divider line. But I want the hovered background touching it, to make an easier closing target.

In blown up screenshot(sss), it seemed if I measured the distance between the close button visible 'X' and the tab's R border (say 7px), if I entered 5px, the visible 'X' moved, but NOT so it was 2px from the R border. It seemed something else was affecting it.

.tabbrowser-tab .tab-close-button { /* move inactive close button closer to tab R-end */

 margin-top: 5px !important;
 margin-right: -10px !important;
 margin-left: 0px !important;

}

Ερώτηση από Joebt 1 έτος πριν

Απάντηση από Joebt 1 έτος πριν

  • Αρχειοθετήθηκε

Possible to move the "Find on Page" bar to the top?

Can I move the "Find on Page" bar to the top of the browser? I'm used to it being at the top (from other browsers)...maybe I just need to get used to it. Thanks!

Ερώτηση από schzac 1 έτος πριν

Τελευταία απάντηση από cor-el 1 έτος πριν

  • Αρχειοθετήθηκε

how to make search/address awesome bar black

Hello boys and girls; I am using FF 64.0 on Win7. My theme is 'Black and Gold' and I have DuckDuckGo for my homepage. Everything is dark, minimalistic with gold lettering… (διαβάστε περισσότερα)

Hello boys and girls; I am using FF 64.0 on Win7. My theme is 'Black and Gold' and I have DuckDuckGo for my homepage. Everything is dark, minimalistic with gold lettering. However, the task bar at the bottom of the screen, the bookmarks bar, and the search/address/awesome/toolbar are all gray. The address bar is a lighter shade of gray with black lettering. I suspect that is a windows thing and I could probably learn to live with it, but would like to change it also. I would provide an image, but screenshot doesn't seem to want to include the the header or toolbars.

I have created a chrome file for a .css command, but I'm not sure if this is the right direction or what to put in it.

If it is possible, could someone please provide detailed instructions as to how to change these areas.

Ερώτηση από outis 1 έτος πριν

Τελευταία απάντηση από jscher2000 1 έτος πριν

  • Αρχειοθετήθηκε

How to i remove the "X" button on a tab when i only have one tab open?

I want the remove the "X" button when i have a single tab open. not when i have multiple tabs open. i constantly close Firefox when i mean to open a 2nd tab. It isnt a p… (διαβάστε περισσότερα)

I want the remove the "X" button when i have a single tab open. not when i have multiple tabs open. i constantly close Firefox when i mean to open a 2nd tab.

It isnt a problem if i close a tab if i have other tabs open because i can just use "CTL+SHIFT+T" to reopen the tab, but if i close a single tab, all of firefox closes. there used to be add-ons which gave me the options, but not anymore.

Ερώτηση από shadowkon626 1 έτος πριν

Τελευταία απάντηση από cor-el 1 έτος πριν

  • Αρχειοθετήθηκε

How to change the size of the icons in the toolbar?

How to change the size of the icons in the toolbar? The "Density" drop-down menu only increases the spacing between icons.

Thanks.

Ερώτηση από dr 1 έτος πριν

Τελευταία απάντηση από WestEnd 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

Change tab height

Hi all, I'd like to modify the tab height, to make it thinner. Is this something that can be done, perhaps via the userChrome.css file? Thanks in advance. … (διαβάστε περισσότερα)

Hi all,

I'd like to modify the tab height, to make it thinner. Is this something that can be done, perhaps via the userChrome.css file?

Thanks in advance.

Ερώτηση από dr 1 έτος πριν

Απάντηση από cor-el 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

Override "important!" in source files with userChrome.css

Hello, I'm trying to change the default text direction in the URL bar from right to left (in FF RTL locals). Replacing html|input.urlbar-input:-moz-locale-dir(rtl) { dir… (διαβάστε περισσότερα)

Hello,

I'm trying to change the default text direction in the URL bar from right to left (in FF RTL locals).

Replacing

html|input.urlbar-input:-moz-locale-dir(rtl) {

 direction: ltr !important;
 text-align: right !important;

}

with

html|input.urlbar-input {

 direction: ltr !important;
 text-align: left !important;

}

in chrome\browser\content\browser\browser.css does change the direction.

However, I can not achieve that with userChrome.css. Is it possible to override the "important!" rule in the source file with userChrome.css?

Thank you.

Ερώτηση από Yaron 1 έτος πριν

Απάντηση από cor-el 1 έτος πριν

  • Αρχειοθετήθηκε

Method to change site text color only if current background / foreground contrast is below certain value

I find a lot of sites that use text color from fairly light to medium gray, on white or light gray background which doesn't show up well. Some have so little contrast, it… (διαβάστε περισσότερα)

I find a lot of sites that use text color from fairly light to medium gray, on white or light gray background which doesn't show up well. Some have so little contrast, it's like they're ashamed of the content.

The problem I expect from using a blanket statement in userContent.css, even if it mostly worked, is there will be some background colors that won't contrast well with black text; trading one problem for another.

If I try to set all backgrounds one color & all body or paragraph text to another, there will be other elements on pages that won't show up. One example - in Preferences / Colors, when "Override the colors specified by the page with your selections above - Always" is checked, it makes addon's UIs totally unreadable. Clearly, that won't work for pages with elements besides text. Elements on some sites just disappear. I'm not sure what type of sites today would work using override all colors with black & white or where any 2 fixed colors would work on most sites.

Is there a way to detect when sites use background / foreground colors with contrast below a certain value and only then change text to black? That would assume the background was a light color. If a dark background was detected, light text would be needed. It may be that sites have so many different types of elements / graphics, something like this would be impossible.

Ερώτηση από Joebt 1 έτος πριν

Τελευταία απάντηση από Joebt 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

Remove format change

Hi, I am not sure how to ask this question so maybe telling you the history of what I did will help. In one of the previous Quantum versions I wanted a different look fo… (διαβάστε περισσότερα)

Hi,

I am not sure how to ask this question so maybe telling you the history of what I did will help.

In one of the previous Quantum versions I wanted a different look for tabs and general layout. At that time I found a web page that covered what I was looking for. As I recall, there was some 'text' that I cut and pasted into a folder. That produced the layout you see in the attached screen cap image.

Since the Quantum versions have been updated I would like to remove the layout change previously installed and have the current traditional Firefox layout.

I have searched but am unable to find the original information.

Hopefully someone will be able to help me.

Thanks in advance for your help!

Ερώτηση από RHB10 1 έτος πριν

Απάντηση από cor-el 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

How do I change the colour of the background, under the tab section?

I would like to change the colour of my background as i think white is plain. I already managed to change the tab using colors, but I can't find a way to change the colou… (διαβάστε περισσότερα)

I would like to change the colour of my background as i think white is plain. I already managed to change the tab using colors, but I can't find a way to change the colour of the main body, underneath the tab section. Is there a way or is it impossible?

Ερώτηση από LacazetteBestStrikerInThePL 1 έτος πριν

Απάντηση από Shadow110 1 έτος πριν

  • Αρχειοθετήθηκε

WE HATE TABS ON TOP CAN YOU PLEASE STOP BEING PRICKS AND FORCING THIS ON USERS?

Stop, I am about to drop firefox. Since 50 something you changed, and you say its always like that but that is false. You changed tabs on top like in version 40, sinc… (διαβάστε περισσότερα)

Stop, I am about to drop firefox. Since 50 something you changed, and you say its always like that but that is false. You changed tabs on top like in version 40, since then we all complain and you insist on this. I am about to drop firefox for good. Stop

Ερώτηση από gagayogini 1 έτος πριν

Τελευταία απάντηση από HeyMr.DJ 1 έτος πριν

  • Αρχειοθετήθηκε

How can I get my tabs underneath the adress bar with version 65.0?

New update - again problems. I couldn't manage to get my tabs below the adress bar, although I used the trick with the css-File in the profiles. Which possibility do I ha… (διαβάστε περισσότερα)

New update - again problems. I couldn't manage to get my tabs below the adress bar, although I used the trick with the css-File in the profiles. Which possibility do I have now?

Ερώτηση από DHering 1 έτος πριν

Τελευταία απάντηση από cor-el 1 έτος πριν

  • Κλειδωμένο
  • Αρχειοθετήθηκε

Version 65.0 moved the tabs back to the top of the window. Why isn't the placement optional?

I just updated my copy of Firefox to version 65.0. Immediately, I noticed that the tab bar has now been moved back to the top of the window, despite the hack I used to mo… (διαβάστε περισσότερα)

I just updated my copy of Firefox to version 65.0. Immediately, I noticed that the tab bar has now been moved back to the top of the window, despite the hack I used to move it down. I know that I'm certainly not unique in disliking this location for the tabs toolbar. It makes a lot more sense for that toolbar to be below the bookmarks toolbar. That way, it separates the website content from the program's interface. Does anybody know of a way to move the tabs back down below the bookmarks toolbar? TIA

Ερώτηση από JBVic 1 έτος πριν

Τελευταία απάντηση από jmazzeo 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

Can't get Tabs on bottom

At one point with this new firefox headache I managed to get my tabs on bottom but I had to do a refresh in order to get into my outlook email cause of a glitch. Now I ca… (διαβάστε περισσότερα)

At one point with this new firefox headache I managed to get my tabs on bottom but I had to do a refresh in order to get into my outlook email cause of a glitch.

Now I can't manage to get my tabs to go under the address bar. I did the whole chrome folder with the userchrome.css thing but I still cant get my tabs to go below my address bar.

Anyone have any idea what is causing this?

Its driving me up the wall not being able to have the browser how I want it.

Ερώτηση από Deamon99 1 έτος πριν

Απάντηση από cor-el 1 έτος πριν

  • Επιλύθηκε
  • Κλειδωμένο
  • Αρχειοθετήθηκε

tabs not on bottom

I just updated to Firefox 65 and suddenly my tabs are once again up in the gods. How do I get them down below the bookmarks toolbar and address bar? I've tried Userchrome… (διαβάστε περισσότερα)

I just updated to Firefox 65 and suddenly my tabs are once again up in the gods. How do I get them down below the bookmarks toolbar and address bar? I've tried Userchrome and followed the 2017 video (which was very lcear by the way) that was recommended in Firefox support but it didn't work and I'm at my wits end. I hate this tabs on top thing and just want to put it back where it belongs. Please help?

Ερώτηση από Freaki_Zimi 1 έτος πριν

Απάντηση από trog 1 έτος πριν

  • Επιλύθηκε
  • Κλειδωμένο
  • Αρχειοθετήθηκε

Reposition Tabs at bottom, directly above web page in Firefox 65.0? -- for Windows 10 - not for MacOSX

Can anyone supply updated code for the userChrome.css for restoring Tabs to below Menu bar, Location bar, and Personal Toolbar? The code below was working until I upgrad… (διαβάστε περισσότερα)

Can anyone supply updated code for the userChrome.css for restoring Tabs to below Menu bar, Location bar, and Personal Toolbar? The code below was working until I upgraded to 65.0.

/* tabs on bottom */

  1. navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {-moz-box-ordinal-group:10}
  2. TabsToolbar {-moz-box-ordinal-group:1000!important}

Thank you for the help.


edited the title of this thread to include Windows 10 as the operating system the OP posted from

Ερώτηση από carrotwaffle 1 έτος πριν

Απάντηση από cor-el 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

grey bar on version 65.0

Version 65 update moved the tabs back to the top and now I also have a grey bar across the top of the window

Ερώτηση από jdevlin 1 έτος πριν

Απάντηση από the-edmeister 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

Run Hide One Tab & Tabs On Bottom in Firefox 65?

These two codes work separately: https://www.reddit.com/r/FirefoxCSS/comments/7dqtuf/hide_tab_bar_if_only_one_tab_is_open/ https://github.com/Aris-t2/CustomCSSforFx/blob/… (διαβάστε περισσότερα)

Ερώτηση από Leafsdude 1 έτος πριν

Απάντηση από Leafsdude 1 έτος πριν

  • Αρχειοθετήθηκε

i hope urlbar and TabsToolbar are on the same line

Now, the screen is really wide enough, the height is not enough, One line URLBAR is not necessary Use Userchrome to implement urlbar-container and TabsToolbar are on th… (διαβάστε περισσότερα)

Now, the screen is really wide enough, the height is not enough, One line URLBAR is not necessary

Use Userchrome to implement urlbar-container and TabsToolbar are on the same line

Upgrading FIREFOX to 65.0 is a bit of a problem because TabsToolbar is in titlebar and urlbar is in nav-bar.

Hopefully, urlbar-container can be moved to Tabs Toolbar like a button, which is simple, the previous version(<20.x) is possible.

Ερώτηση από exdsoft 1 έτος πριν

Τελευταία απάντηση από cor-el 1 έτος πριν

  • Επιλύθηκε
  • Αρχειοθετήθηκε

FF65 - Can't turn off address bar suggestions

After updating to Firefox 65 (Mac), there is now this enormous green drop-down that appears whenever I start typing in the address bar, and I cannot turn this thing off. … (διαβάστε περισσότερα)

After updating to Firefox 65 (Mac), there is now this enormous green drop-down that appears whenever I start typing in the address bar, and I cannot turn this thing off.

I've looked in Preferences > Privacy & Security > Address Bar, and all the selections there are unchecked. Search > Default Search Engine > Provide Search Selections is also unchecked.

Is there something in about:config I need to toggle? Or will I have to edit my userChrome.css to turn this off?

Thanks!

Ερώτηση από Thorzdad2 1 έτος πριν

Απάντηση από McCoy 1 έτος πριν