Solved No color highlight on address bar | [Solved]
-
Since yesterday, the address bar doesn't show it's color highlight, i didn't modify anything that has to do with it.
--
ModEdit: Title
-
This problem occurs if the
chrome://flags/#enable-experimental-web-platform-features
flag is enabled -
The address field uses your themeโs highlight color now. You should use a theme with a highlight color which has good contrast to the background.
-
This problem occurs if the
chrome://flags/#enable-experimental-web-platform-features
flag is enabled -
@sedative29rus This solved my problem. thanks!
-
@TRK5M Flags are not supported by Vivaldi. When trying to get attention for a possible bug always start from a fresh profile for testing purposes.
-
ZZalex108 marked this topic as a question on
-
ZZalex108 has marked this topic as solved on
-
More specifically, the problem is caused by a change in how custom properties inherit for the
::selection
pseudo-element. I imagine Vivaldi is using custom properties to set the selection background, and those properties are no longer available when the flag is set.For those of us that need experimental flags set, is there a workaround - some way to provide our own default selection color, without replying on a custom property? I understand this isn't considered a 'bug' as long as it's experimental, but would still be useful to know our options here.
Thanks!
-
@terribleMia I don't use the experimental flag, but I didn't like how the selection looked after the change to use the theme colours instead of the OS default color.
So this is the CSS I use:
/* Input text selection background */ #browser input:focus::selection, #browser textarea:focus::selection, #browser [contenteditable]:focus::selection, .OmniLinkItem--Highlighted, .vivaldi-settings .settings-sidebar .button-category.category-selected { background-color: var(--colorHighlightBgDark) !important; }
You can find the code Vivaldi uses for the
::selection
selectors incustom.css
for more details.https://forum.vivaldi.net/topic/10549/modding-vivaldi
https://forum.vivaldi.net/topic/16684/inspecting-the-vivaldi-ui-with-devtools -
@Pathduck That worked great, thanks! Seems this bug is also fixed in the latest Chromium (v125) released last week. I wonder how soon that will be available in Vivaldi - I know it can take some time.
I'm excited to play with other style mods.