Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

URL bar - highlight color of drop-down selections

  • 4 trả lời
  • 0 gặp vấn đề này
  • Trả lời mới nhất được viết bởi Slouch

more options

Hi All,

I would like to change the color of the two highlighted URLs in the address bar's drop down list to what they were in FF 88 - the one that is currently selected with the cursor keys, and the one the mouse pointer is over.

The first screenshot below is of the highlight colors in FF 115/125. You can see two different shades of gray, the darker gray being the URL selected with the cursor keys, the lighter gray being the one the mouse pointer is over.

The second image shows the colors from FF 88, the URL selected with cursor keys in blue, and a dark gray for the one the mouse pointer is over.

Any help in modifying these colors, and the radius of the selection is greatly appreciated!

Hi All, I would like to change the color of the two highlighted URLs in the address bar's drop down list to what they were in FF 88 - the one that is currently selected with the cursor keys, and the one the mouse pointer is over. The first screenshot below is of the highlight colors in FF 115/125. You can see two different shades of gray, the darker gray being the URL selected with the cursor keys, the lighter gray being the one the mouse pointer is over. The second image shows the colors from FF 88, the URL selected with cursor keys in blue, and a dark gray for the one the mouse pointer is over. Any help in modifying these colors, and the radius of the selection is greatly appreciated!
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi Slouch vào

Tất cả các câu trả lời (4)

more options

See:

.urlbarView-row {
  &[row-selectable]:not([selected]):hover {
    background-color: var(--urlbarView-hover-background);
  }

  &[selected] {
    background-color: var(--urlbarView-highlight-background);
    color: var(--urlbarView-highlight-color);
  }
}

Hữu ích?

more options

Thank you cor-el.

Works great in FF 125.

Is there different coding for 115? Not seeing any changes in that one.

Thanks.

Hữu ích?

more options

For 115esr, see:

.urlbarView-row[row-selectable]:not([selected]):hover {
  background-color: var(--autocomplete-popup-hover-background);
}

.urlbarView-row[selected] {
  background-color: var(--autocomplete-popup-highlight-background);
  color: var(--autocomplete-popup-highlight-color);
}

Hữu ích?

more options

Thanks cor-el. Got that working.

Now, I'm also changing the font color of the URL's in the drop down to match FF 88, with this statement...

.urlbarView-url {
    color: #1c78d4 !important;
}

Question: Does FF 125 render font colors differently in these URLs than earlier versions?

The font color for the URL's in FF 115 is much closer to the color I set above (#1c78d4), while the font color in FF 125 seems to add some purple into the mix to achieve the antialiasing effect.

Please see attached images.

I also noticed the tracking of the letters is a bit different. In the image you can see the dot '.' is closer to the right side of the word "ebay" in FF 115, and further away from "ebay" in FF 125. That's not a terribly big deal, I'm just wondering if tracking is also being rendered differently between the two versions.

Được chỉnh sửa bởi Slouch vào

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.