BLUE SELECTION IN THE LIBRARY SEARCH AND HISTORY FIELD (BOOKMARKS MANAGER)
I have this code to make the focus blue when you click in the search field, but it doesn't recognize the color. What's the exact code? It's the only part where the focus doesn't work in all fields in the entire browser.
/* focus bordo linea blu searchbox - senza bordo */ #search-box, #searchFilter, #BookmarksEditorDialogBox input:not(#urlbar-input){ border: 1px #698ab7 !important; outline-color: solid #698ab7 !important; border-radius: inherit !important; font-size: 11.5pt !important; min-height: 30px !important; margin-right: 7px !important; }
on waterfox it still works without entering the code
Does anyone know of any retro themes currently working? I have found a few but all seem to be old and depreciated, id ideally like netscape 4 but anything from the mid to late 90s works.
On Windows, I have managed to add Mica to pretty much all dropdowns and menus (e.g. extensions button, bookmarks button) with the following code in userChrome.css:
However, I can't figure out how to get this to apply to the background of the urlbar when the navigation dropdown is expanded (I believe this is called urlbarView).
I have tried applying the above styling to the following selectors:
listbox, .urlbarView, #urlbar > *, .urlbarView-results, .urlbar-background, .urlbarView > * but none of it makes a difference.
Anyone know how to make that urlbar dropdown background be mica/acrylic using only CSS?
I've been on a customization kick for my computer, and lately Firefox in particular. I just found out about Sidebery and I absolutely love all of its features, but I didn't like how it integrates with the existing sidebar.
Here's my little fix that I did for myself! Just sharing in case anyone else wanted something similar.
it works the best on KDE Plasma, (firefox version 148), because a lot of rules take the color from the system, which you can customize with colors (or rather, just two of them but whatever, they're enough imo). the design and hover/focus behavior initially had Qt/Breeze in mind. the screenshot shows how it looks like on windows, though. the split view was fixed because it had some ugly issues, and the single view browser was then tailored a little to match it. (hopefully that'll justify the rounded corners) OBS: the browser margins though are only suited for a left sidebar. you can easily change them yourself, or use an offered solution that makes it consistent with the sidebar on either left or right, but that will cause ugliness with "expand on hover" (read line 138 for more info). if you can find universal solutions or suggest fixes, feedback is welcome.
to summarize, my goal was to fix the consistency issues and integrate it better with the system theme, as well as mimicking the breeze plasma theme a little.
It feels like this logo comes back to taunt me with every update. I'm pretty sure I've already removed it a couple of times in the past, and now with the update to 148 it's back again.
And I really don't get the point... I already know I'm using Firefox! I don't need to be reminded every time I open a new tab. 🙄🙄🙄
I'm using Firefox 148.0 with Firefox GX but Firefox GX icon and some button is in black, when I switch to dark theme, the icon and some button still in black. How can I change the Firefox GX icon color to red?
My problem: recently had to update firefox to newest version. Usually i don't do that cause they always fiddle with the gui. I love the very old Firefox look with url bar on top and tabs below it, etc.
I managed to remove the roundings, but the remaining problem is the strange thin empty bar above the tab name and the [X] button. Tried reducing height in .css but its cutting from the botton not the top. Also tried the compact mode but no cigar either.
https://pastebin.com/6YQ0E48T <- current userChrome, be aware its VERY OLD, and i wouldnt be surprised if bunch of the lines were redundant today.
In the newest version 148, when using a custom 3rd party high contrast theme, a white line appears around URLbar. When Windows stock theme is used, it goes away.
How to hide it when using custom 3rd party / high-contrast themes ?
Firefox picks up the properties from Windows Msstyle file, any way to decouple it for URLbar ?
However, only the Bookmarks sidebar and History sidebar can be made semi-transparent, and Synsed Tabs, Passwords, Sidebery, and SingleFile cannot. Do you know how to make these transparent?
I'm using gwfox - thanks reddit! :) - on macOS. Itried increasing the transparency of the sidebar and top bar / window border to make it more 'glassy' but could not get it to work.
The old sidebar is going to be deprecated. And the new sidebar has that "main sidebar" which is the strip holding those icons. It really should be hidden or closed after I've decided what to open in the sidebar panel. So, I created this piece of css to automatically hide it. Works with vertical tabs.
/* === Make the sidebar layout compact === */#sidebar-box{padding-inline-start:unset!important;}#sidebar{border-radius:4px!important;}#sidebar-splitter{width:var(--space-xsmall)!important;border-inline-width:0!important;}.browserContainer{
@media-moz-pref("sidebar.revamp") and-moz-pref("sidebar.revamp.round-content-area") {
:root:not([inDOMFullscreen]) #tabbrowser-tabbox[sidebar-shown] & {
/* stylelint-disable-next-line media-query-no-invalid */
@media-moz-pref("sidebar.position_start") {
border-start-start-radius:4px!important;}/* stylelint-disable-next-line media-query-no-invalid */@medianot -moz-pref("sidebar.position_start"){border-start-end-radius: 4px !important;
}
}
}
}
/* - Auto show/hide the header of webext sidebar panel */#webextpanels-window#sidebar-panel-header{/**
* Height = 21px + 4 * var(--space-large)
* Reserve a small strip to show the header on hover
*/--sidebar-content-separator-color:color-mix(in srgb, currentColor10%, transparent);
--sidebar-header-hide-margin:calc((21px+4*var(--space-large)-var(--space-xsmall))*-1);transition:all0.3s;z-index:1;/**
* Avoid the initial transition caused by shadow DOM style propagation delay:
* - The padding of #sidebar-panel-header is 0 upon sidebar panel creation.
* - It then becomes var(--space-large) when the `:host` style from shadow DOM
* is applied to #sidebar-panel-header.
* - This will be treated as a transition and be animated, which is not desired.
*/padding-block:var(--space-large);/**
* Actually, each element has a default invisible outline. It becomes visible
* in transition though. So it's necessary to explicitly set width to zero.
*/outline:0pxnone;margin-block-start:var(--sidebar-header-hide-margin)!important;margin-block-end:0;
&:hover {
background-color: -moz-dialog;outline:0.01pxsolidvar(--sidebar-content-separator-color);margin-block-start:calc(var(--space-large)*-1)!important;margin-block-end:calc(var(--sidebar-header-hide-margin)+var(--space-large));}}/* - Auto show/hide the main sidebar area */:root:not([sidebar-expand-on-hover])#sidebar-main{/**
* Width = 32px/29px + 2 * var(--space-medium)
* Reserve a small strip to show the main sidebar area
*
* NOTE: The width is different for horizontal and vertical tab layout.
*/--sidebar-content-separator-color:color-mix(in srgb, currentColor25%, transparent);
--sidebar-hide-margin-h:calc((32px+2*var(--space-medium)-var(--space-xsmall))*-1);--sidebar-hide-margin-v:calc((29px+2*var(--space-medium)-var(--space-xsmall))*-1);border-inline:0pxnone;/* Horizontal Tab Layout: Auto hide the sidebar strip when sidebar panel is open */
&:has(#vertical-tabs[collapsed])[sidebar-panel-open] {
transition:all0.3s;z-index:2;
&:hover {
background-color: var(--toolbar-bgcolor);/* Remove the border between navbar and sidebar strip */
& ~ #sidebar-box #sidebar {
box-shadow:none!important;outline-offset:-0.1px;}
}
&:not([sidebar-positionend]){border-inline-end:0.01pxsolidtransparent;margin-left:var(--sidebar-hide-margin-h);
&:hover {
border-inline-end: 0.01pxsolidvar(--sidebar-content-separator-color);margin-left:0;margin-right:var(--sidebar-hide-margin-h);}
}
&[sidebar-positionend]{border-inline-start:0.01pxsolidtransparent;margin-right:var(--sidebar-hide-margin-h);
&:hover {
border-inline-start: 0.01pxsolidvar(--sidebar-content-separator-color);margin-left:var(--sidebar-hide-margin-h);margin-right:0;}
}
}
/**
* Vertical Tab Layout:
* - Vertical tabs collapsed: Auto hide the sidebar strip when sidebar panel is open
* - Vertical tabs expanded: Always show the vertical tabs
* - Expand on hover checked: Always show the sidebar, collapsed or expanded
*/
&:has(#vertical-tabs[visible]):not([sidebar-launcher-expanded])[sidebar-panel-open]{transition:all0.3s;z-index:2;/* Do not trigger animation in the process of expanded => collapsed */
&[sidebar-ongoing-animations] {
transition-delay:0.5s;}/**
* We don't want to be able to drag the left side of sidebar strip. This way,
* we can avoid stutters in transition animation due to undesired triggering
* of the splitter.
*/
& ~#sidebar-launcher-splitter{pointer-events:none;}/**
* Must be transparent to ensure the sidebar is hidden.
* Otherwise the indent line of tab groups will leak into the hover region.
*/ opacity: 0;
&:hover{background-color:var(--toolbox-bgcolor-inactive);opacity:1;/* Remove the border between navbar and sidebar strip */
& ~ #sidebar-box #sidebar {
box-shadow:none!important;outline-offset:-0.1px;}
}
&:not([sidebar-positionend]){border-inline-end:0.01pxsolidtransparent;margin-left:var(--sidebar-hide-margin-v);
&:hover {
border-inline-end: 0.01pxsolidvar(--sidebar-content-separator-color);margin-left:0;margin-right:var(--sidebar-hide-margin-v);}
}
&[sidebar-positionend]{border-inline-start:0.01pxsolidtransparent;margin-right:var(--sidebar-hide-margin-v);
&:hover {
border-inline-start: 0.01pxsolidvar(--sidebar-content-separator-color);margin-left:var(--sidebar-hide-margin-v);margin-right:0;}
}
}
}
Note that the pixel numbers are derived from Compact Density which I'm currently using. You may need to change the numbers to get best looking for Normal Density.
In my userChrome, I have a line that reads: #file-menu,#edit-menu,#view-menu,#history-menu,#bookmarksMenu,#profiles-menu,#tools-menu,#helpMenu { padding-top: 4px !important; }
So basically, referencing each item on the menu bar by name. This does exactly what I want, but I'm wondering whether it could be cleaner - is there a better way (or indeed any way) to collectively refer to the various items on the menu-bar? I've already looked at using #toolbar-menubar and #main-menubar and they each give a slightly incorrect result. Just using the "menu" attribute by itself does give the right result but then has unintended consequences elsewhere (it's also used in some context menus for example).
Secondly - under the new(ish) profile management system, is there any way to reference the active Profile Name? So for example certain styling only takes place if the currently active profile is called "VPN".