Instead of using the 'Bookmarks Sidebar' or the 'Bookmarks Toolbar' to access bookmarks... try using the 'Bookmarks Menu' dropdown panel... this is a good alternative (Locate the 'star with a tray underneath' button/icon in Customise window... and drag onto a toolbar).
The Bookmarks Menu dropdown panel has always been the more flexible bookmarks display option IMHO... all of its default folders and layout can be fully hidden and/or modified with CSS userstyles ... which is not possible with the Bookmarks Sidebar.
If the Bookmarks Menu button/icon is positioned at the far end of a toolbar the panel opens 90% outside the browser window border (providing there's sufficient desktop space available to do so). No animation, the Viewport/Content window is static.
----------
PS. If you have a lot of bookmarks in a lot of nested bookmarks folders you may like to add a scrollbar to all bookmarks folders... try MrOtherGuy's userstyle 'scrollable_menupopups.css'... one of the many Firefox modification styles available from his excellent GitHub repo 'Collection of random CSS hacks for Firefox'.
If not familiar with modifying Firefox's UI with 'userChrome.css' and 'userContent.css' files... follow this sub's Wiki > Tutorial.
----------
PPS. Also see other ideas Re: howto make using bookmarks easier in recent topic 'Managing Bookmarks'.
Found this annoying as well, there is no way to turn it off... so I had Claude make a script to do so instead:
Open WebUI: stop files from opening by themselves
When a model shows a file in Open WebUI, the file viewer opens by itself. This small browser script stops that. A short notice appears instead, and clicking the file card in the reply still opens the file.
Open WebUI has no setting for this. The script runs in your browser, so nothing changes on the server.
Install (about 2 minutes)
Install a userscript extension in your browser. A userscript is a small script that a browser extension runs on the pages you choose. Either one works:
Violentmonkey (free, open source), for Chrome, Edge or Firefox
Tampermonkey, for Chrome, Edge, Firefox or Safari
Open no-auto-open-files.user.js in a text editor. Find this line:
// @match http://localhost:3000/*
Replace http://localhost:3000 with the address you use for Open WebUI, for example https://chat.example.com/*. Keep the /* at the end. To use more than one address, add one @match line each.
Open the extension's dashboard, choose "new script" (the + button), delete the template text, paste the whole file in, and save.
In Chrome or Edge, open the extension's details page (Extensions, then Details). If it has a switch called "Allow user scripts", turn it on. Newer versions of Chrome need this before any userscript runs.
Reload Open WebUI.
Check that it works
Ask a model to show you a file. The viewer should stay closed, and a notice should appear in the bottom-right corner. If the viewer still opens:
Check that the address in @match matches the address bar exactly (http or https, port number).
Check that the script is switched on in the extension's dashboard.
Options
No notice: change const SHOW_NOTICE = true; to false.
To undo: switch the script off in the extension, or delete it, and reload the page.
Limits
It only works in a browser that has the extension, so set it up again on each computer and browser you use. Phones and Open WebUI's desktop app don't run userscripts.
It relies on how Open WebUI sends its "open this file" message (a terminal:display_file event on its live connection). The same method is in daily use on Open WebUI 0.13.4. If a later version changes that message, the viewer will open again as before. Nothing will break.
How it works
Open WebUI's server tells the page "open this file" through its live connection to the browser (socket.io over a WebSocket). The script wraps the browser's WebSocket so it reads each message first. It drops only that one kind of message, before Open WebUI sees it, and lets everything else through unchanged. If the wrapping fails for any reason, the page keeps the normal WebSocket and works as before.
// ==UserScript== // @name Open WebUI: don't open files by themselves // @namespace open-webui-no-auto-open // @version 1.0.0 // @description When a model shows a file (display_file), Open WebUI opens its file viewer by itself. This stops that and shows a small notice instead. Clicking the file card in the reply still opens the file. // @match http://localhost:3000/* // @run-at document-start // @grant none // @inject-into page // ==/UserScript== // // How it works: Open WebUI's server tells the page "open this file" with a "terminal:display_file" event on the // page's live connection (socket.io over a WebSocket). This script wraps the browser's WebSocket so it sees each // message first, and drops that one kind of event before Open WebUI reads it. Everything else passes unchanged. // If anything goes wrong here, the page keeps the normal WebSocket and behaves as before. (() => { 'use strict'; const SHOW_NOTICE = true; // false: drop the event silently
const notice = (name) => { if (!SHOW_NOTICE || !document.body) return; const el = document.createElement('div'); el.textContent = ${name} is ready (not opened). Click its card in the reply to open it.; el.style.cssText = 'position:fixed;right:16px;bottom:16px;z-index:99999;max-width:360px;padding:10px 14px;' + 'border-radius:10px;font:13px/1.4 system-ui,sans-serif;background:#222;color:#eee;' + 'box-shadow:0 4px 16px rgba(0,0,0,.3);opacity:.95'; document.body.append(el); setTimeout(() => el.remove(), 5000); };
const onFrame = (e) => { const d = e.data; // socket.io event frames start with "42"; only those that name display_file are looked at closely if (typeof d !== 'string' || !d.startsWith('42') || d.indexOf('terminal:display_file') < 0) return; let ev = null; try { ev = JSON.parse(d.slice(d.indexOf('[')))[1]; } catch (err) { return; } if (!ev || !ev.data || ev.data.type !== 'terminal:display_file') return; e.stopImmediatePropagation(); // Open WebUI's own handler never sees it const path = String((ev.data.data && ev.data.data.path) || ''); try { notice(path.split(/[\/]/).pop() || 'The file'); } catch (err) { /* only a notice */ } };
try { const Native = window.WebSocket; if (typeof Native !== 'function' || Native.__noAutoOpen) return; class WebSocket extends Native { constructor(...args) { super(...args); // our listener is added before socket.io sets its own onmessage, so it runs first try { if (//ws/socket.io//.test(String(args[0]))) this.addEventListener('message', onFrame); } catch (err) { /* plain socket / } } } WebSocket.__noAutoOpen = true; window.WebSocket = WebSocket; } catch (err) { / keep the normal WebSocket */ } })();
Screenshot. Toolbars at twice normal size using preference layout.css.devPixelsPerPx set to 2.0
----------
PS. If not already using it... the 'Box Model' view in the Browser Toolbox can be a handy way to tweak element positioning values by a pixel here and a pixel there. Also helps to enlarge (as above) with 'pixelsp' preference. :)
The 'Box Model' display appears if select 'Layout' sub-tab/heading and scroll down (in RH Browser Toolbox panel if expand toolbox into 3-panel layout)... the Box Model is 'live' and can select and alter the values for the sizing of the element itself, plus surrounding padding, border, and margin.
Changes made to default values in the Box Model will appear as new CSS styles added to the 'element' area at the top of the 'Filter Styles' section (usually the middle panel if have Browser Toolbox open in 3-panels layout).
----------
PPS. Once transferred CSS modifications to your 'userChrome.css' file (usually with added '!important' flag to override Firefox UI's default styling)... and after restarting browser... can be useful to select the 'Style Editor' tab in the Browser Toolbox... then type 'user' into the 'Filter style sheets' box (top LH corner of toolbox)... select the offered 'userChrome.css' file... toolbox centre window now displays all your CSS modifications... and all 'live' too, so can edit, tweak values, etc. and see live changes to your UI as make edits.
Edits made in 'Style Editor' are not permanent... need to copy any edits back into your actual 'userChrome.css' file.
I want all windows to be the same shape. This means mutter should draw the border around the window and the shadow (if not the titlebar). Firefox still requires github hacks to get it's window shape consistent with the rest of Gnome. This isn't Firefoxs fault - no third party app should be expected to recreate libadwaita rounded corners and shadows from scratch just for gnome. This is a job for the compositor.
I want traditional applications with menubars and toolbars to look like they belong on gnome desktop. This means menubar guidelines should be added to Gnome HIG and the menubar should be a header bar-capable widget and part of libadwaita.
HUD search should be standardized and universalized as far as pissible, like in KDE framework, instead of having every app do some unique half assed in house solution. GIMP and Inkscaoes hud search ui is borderline unusable.
In sum, I want Gnome to be a cohesive experience beyond the single purpose "gnome apps"
Instead of using the 'Bookmarks Sidebar' or the 'Bookmarks Toolbar' to access bookmarks... try using the 'Bookmarks Menu' dropdown panel... this is a good alternative (Locate the 'star with a tray underneath' button/icon in Customise window... and drag onto a toolbar).
The Bookmarks Menu dropdown panel has always been the better option IMHO... all of its default folders and layout can be fully hidden and/or modified with CSS userstyles ... which is not possible with the Bookmarks Sidebar.
If the Bookmarks Menu button/icon is positioned at the far end of a toolbar the panel opens 90% outside the browser window border (providing there's sufficient desktop space available to do so). No animation, the Viewport/Content window is static.
----------
PS. If you have a lot of bookmarks in a lot of nested bookmarks folders you may like to add a scrollbar to all bookmarks folders... try MrOtherGuy's userstyle 'scrollable_menupopups.css'... one of the many Firefox modification styles available from his excellent GitHub repo 'Collection of random CSS hacks for Firefox'.
If not familiar with modifying Firefox's UI with 'userChrome.css' and 'userContent.css' files... follow this sub's Wiki > Tutorial.
----------
PPS. Also see other ideas Re: howto make using bookmarks easier in recent topic 'Managing Bookmarks'.
1
Removing Border around the Browser?
u/midgardsormr10
in
r/waterfox
•
2d ago
/* Remove all rounded corners and outer frame gaps in Firefox Nova */:root {--border-radius-xsmall: 0px !important;--border-radius-small: 0px !important;--border-radius-medium: 0px !important;--border-radius-large: 0px !important;--border-radius-xlarge: 0px !important;--border-radius-circle: 0px !important;--chrome-block-radius: 0px !important;--chrome-window-gap: 0px !important;--tab-border-radius: 0px !important;--button-border-radius: 0px !important;--toolbarbutton-border-radius: 0px !important;}#navigator-toolbox,#TabsToolbar,#nav-bar,#urlbar,#urlbar-background,.tab-background,.tab-stack,.tab-content,#tabbrowser-tabbox,browser,#PersonalToolbar,#PlacesToolbar,#PlacesToolbarItems,#PersonalToolbar toolbarbutton.bookmark-item,#PersonalToolbar .toolbarbutton-1,#personal-bookmarks {border-radius: 0px !important;}2
Do people really like the nova theme, especially the colorful theme, over the old theme on Windows 11? I really don't understand what came into the developers mind.
u/SnillyWead
in
r/firefox
•
9d ago
/* Nova Rounding Adjustments */
:root {
/* --- CONFIGURATIE HOOGTE --- */
--tab-min-height: 22px !important; /* Tabbladen lekker compact */
--nav-bar-height: 34px !important; /* Jouw gekozen toolbar hoogte */
--urlbar-min-height: 26px !important; /* Vaste hoogte adresbalk */
--border-radius-xsmall: 1px !important;
--border-radius-small: 2px !important;
--border-radius-medium: 3px !important;
--border-radius-large: 4px !important;
--border-radius-xlarge: 6px !important;
/*
--tab-border-radius: var(--border-radius-small) !important;
--button-border-radius: var(--border-radius-small) !important;
--toolbarbutton-border-radius: var(--border-radius-small) !important;
--card-border-radius: var(--border-radius-small) !important;
--card-border-radius-compact: var(--border-radius-small) !important;
--card-cover-image-border-radius: var(--border-radius-small) !important;
--input-text-border-radius: var(--border-radius-small) !important;
--menuitem-border-radius: var(--border-radius-small) !important;
--popup-border-radius: var(--border-radius-small) !important;
--panel-border-radius: var(--border-radius-small) !important;
--panel-menuitem-border-radius: var(--border-radius-small) !important;
*/
}
/* 1. Slanke & Aangesloten Tabbladen */
.tabbrowser-tab {
padding-inline: 0px !important;
min-height: var(--tab-min-height) !important;
}
.tab-background {
margin-block: 0px !important;
margin-inline: 0px !important;
border-radius: var(--border-radius-medium) var(--border-radius-medium) 0px 0px !important;
}
.tab-content {
padding-block: 0px !important;
}
/* 2. Toolbar & Gecentreerde Adresbalk */
#nav-bar {
height: var(--nav-bar-height) !important;
min-height: var(--nav-bar-height) !important;
box-shadow: none !important;
border-top: none !important;
}
#urlbar-container {
height: var(--urlbar-min-height) !important;
min-height: var(--urlbar-min-height) !important;
margin-block: auto !important;
}
#urlbar {
min-height: var(--urlbar-min-height) !important;
height: var(--urlbar-min-height) !important;
font-size: 14px !important;
}
/* Zorgt dat iconen binnen de adresbalk correct schalen */
#urlbar .urlbar-icon,
#urlbar .sharing-icon {
width: 16px !important;
height: 16px !important;
padding: 0px !important;
}
/* 3. Debian XFCE / Firefox 157 Fix voor Inactieve Vensters */
#TabsToolbar,
#TabsToolbar:-moz-window-inactive,
#TabsToolbar-customization-target {
opacity: 1 !important;
}
.tabbrowser-tab[selected="true"],
.tabbrowser-tab[selected="true"] .tab-background,
.tabbrowser-tab[selected="true"]:-moz-window-inactive .tab-background {
opacity: 1 !important;
filter: none !important;
}
/* 4. Slimme Sluitknop Logica (Alleen tonen bij actieve tab of hover) */
.tabbrowser-tab:not([selected]):not([pinned]) .tab-close-button {
visibility: hidden !important;
}
.tabbrowser-tab:not([selected]):not([pinned]):hover .tab-close-button {
visibility: visible !important;
display: inline-flex !important;
}
.tabbrowser-tab[selected]:not([pinned]) .tab-close-button {
visibility: visible !important;
display: inline-flex !important;
}
/* Nova Rounding Adjustments */
:root {
/* --- CONFIGURATIE HOOGTE --- */
--tab-min-height: 22px !important; /* Tabbladen lekker
compact */
--nav-bar-height: 34px !important; /* Jouw gekozen
toolbar hoogte */
--urlbar-min-height: 26px !important; /* Vaste hoogte
adresbalk */
--border-radius-xsmall: 1px !important;
--border-radius-small: 2px !important;
--border-radius-medium: 3px !important;
--border-radius-large: 4px !important;
--border-radius-xlarge: 6px !important;
/*
--tab-border-radius: var(--border-radius-small) !important;
--button-border-radius: var(--border-radius-small) !important;
--toolbarbutton-border-radius: var(--border-radius-small)
!important;
--card-border-radius: var(--border-radius-small) !important;
--card-border-radius-compact: var(--border-radius-small)
!important;
--card-cover-image-border-radius: var(--border-radius-small)
!important;
--input-text-border-radius: var(--border-radius-small)
!important;
--menuitem-border-radius: var(--border-radius-small)
!important;
--popup-border-radius: var(--border-radius-small) !important;
--panel-border-radius: var(--border-radius-small) !important;
--panel-menuitem-border-radius: var(--border-radius-small)
!important;
*/
}
/* 1. Slanke & Aangesloten Tabbladen */
.tabbrowser-tab {
padding-inline: 0px !important;
min-height: var(--tab-min-height) !important;
}
.tab-background {
margin-block: 0px !important;
margin-inline: 0px !important;
border-radius: var(--border-radius-medium)
var(--border-radius-medium) 0px 0px !important;
}
.tab-content {
padding-block: 0px !important;
}
/* 2. Toolbar & Gecentreerde Adresbalk */
#nav-bar {
height: var(--nav-bar-height) !important;
min-height: var(--nav-bar-height) !important;
box-shadow: none !important;
border-top: none !important;
}
#urlbar-container {
height: var(--urlbar-min-height) !important;
min-height: var(--urlbar-min-height) !important;
margin-block: auto !important;
}
#urlbar {
min-height: var(--urlbar-min-height) !important;
height: var(--urlbar-min-height) !important;
font-size: 14px !important;
}
/* Zorgt dat iconen binnen de adresbalk correct schalen */
#urlbar .urlbar-icon,
#urlbar .sharing-icon {
width: 16px !important;
height: 16px !important;
padding: 0px !important;
}
/* 3. Debian XFCE / Firefox 157 Fix voor Inactieve Vensters */
#TabsToolbar,
#TabsToolbar:-moz-window-inactive,
#TabsToolbar-customization-target {
opacity: 1 !important;
}
.tabbrowser-tab[selected="true"],
.tabbrowser-tab[selected="true"] .tab-background,
.tabbrowser-tab[selected="true"]:-moz-window-inactive
.tab-background {
opacity: 1 !important;
filter: none !important;
}
/* 4. Slimme Sluitknop Logica (Alleen tonen bij actieve tab of
hover) */
.tabbrowser-tab:not([selected]):not([pinned]) .tab-close-button {
visibility: hidden !important;
}
.tabbrowser-tab:not([selected]):not([pinned]):hover
.tab-close-button {
visibility: visible !important;
display: inline-flex !important;
}
.tabbrowser-tab[selected]:not([pinned]) .tab-close-button {
visibility: visible !important;
display: inline-flex !important;
}
/* Nova Rounding Adjustments */
:root {
--border-radius-xsmall: 1px !important; /* Nova Default: 4px, Proton Default: 2px */
--border-radius-small: 2px !important; /* Nova Default: 8px, Proton Default: 4px */
--border-radius-medium: 3px !important; /* Nova Default: 12px, Proton Default: 8px */
--border-radius-large: 4px !important; /* Proton Default: 16px, [Undefined in Nova] */
--border-radius-xlarge: 6px !important; /* Nova Default: 24px, [Undefined in Proton] */
}/* Nova Rounding Adjustments */
:root {
--border-radius-xsmall: 1px !important; /* Nova Default: 4px, Proton Default: 2px */
--border-radius-small: 2px !important; /* Nova Default: 8px, Proton Default: 4px */
--border-radius-medium: 3px !important; /* Nova Default: 12px, Proton Default: 8px */
--border-radius-large: 4px !important; /* Proton Default: 16px, [Undefined in Nova] */
--border-radius-xlarge: 6px !important; /* Nova Default: 24px, [Undefined in Proton] */
--panel-border-radius: 2px !important;
--panel-menuitem-border-radius: 2px !important;
}
2
Want to switch to Firefox, but I really miss Brave's right-side bookmarks sidebar. Any way to get it?
u/ResurgamS13
in
r/firefox
•
11d ago
Instead of using the 'Bookmarks Sidebar' or the 'Bookmarks Toolbar' to access bookmarks... try using the 'Bookmarks Menu' dropdown panel... this is a good alternative (Locate the 'star with a tray underneath' button/icon in Customise window... and drag onto a toolbar).
The Bookmarks Menu dropdown panel has always been the more flexible bookmarks display option IMHO... all of its default folders and layout can be fully hidden and/or modified with CSS userstyles ... which is not possible with the Bookmarks Sidebar.
If the Bookmarks Menu button/icon is positioned at the far end of a toolbar the panel opens 90% outside the browser window border (providing there's sufficient desktop space available to do so). No animation, the Viewport/Content window is static.
----------
PS. If you have a lot of bookmarks in a lot of nested bookmarks folders you may like to add a scrollbar to all bookmarks folders... try MrOtherGuy's userstyle 'scrollable_menupopups.css'... one of the many Firefox modification styles available from his excellent GitHub repo 'Collection of random CSS hacks for Firefox'.
If not familiar with modifying Firefox's UI with 'userChrome.css' and 'userContent.css' files... follow this sub's Wiki > Tutorial.
----------
PPS. Also see other ideas Re: howto make using bookmarks easier in recent topic 'Managing Bookmarks'.
2
Window Border (Outline) Color - How?
u/0utoft1meman
in
r/kde
•
15d ago
Klassy doesn't give border to every window - only qt ones, for example Firefox will not get border.
Round corners give border to all windows.
Jus saying
1
disable preview of files
u/Nicky-no-Name
in
r/OpenWebUI
•
9d ago
Found this annoying as well, there is no way to turn it off... so I had Claude make a script to do so instead:
Open WebUI: stop files from opening by themselves
When a model shows a file in Open WebUI, the file viewer opens by itself. This small browser script stops that. A short notice appears instead, and clicking the file card in the reply still opens the file.
Open WebUI has no setting for this. The script runs in your browser, so nothing changes on the server.
Install (about 2 minutes)
Install a userscript extension in your browser. A userscript is a small script that a browser extension runs on the pages you choose. Either one works:
Open
no-auto-open-files.user.jsin a text editor. Find this line:Replace
http://localhost:3000with the address you use for Open WebUI, for examplehttps://chat.example.com/*. Keep the/*at the end. To use more than one address, add one@matchline each.Check that it works
Ask a model to show you a file. The viewer should stay closed, and a notice should appear in the bottom-right corner. If the viewer still opens:
@matchmatches the address bar exactly (http or https, port number).Options
const SHOW_NOTICE = true;tofalse.Limits
terminal:display_fileevent on its live connection). The same method is in daily use on Open WebUI 0.13.4. If a later version changes that message, the viewer will open again as before. Nothing will break.How it works
Open WebUI's server tells the page "open this file" through its live connection to the browser (socket.io over a WebSocket). The script wraps the browser's WebSocket so it reads each message first. It drops only that one kind of message, before Open WebUI sees it, and lets everything else through unchanged. If the wrapping fails for any reason, the page keeps the normal WebSocket and works as before.
// ==UserScript== // @name Open WebUI: don't open files by themselves // @namespace open-webui-no-auto-open // @version 1.0.0 // @description When a model shows a file (display_file), Open WebUI opens its file viewer by itself. This stops that and shows a small notice instead. Clicking the file card in the reply still opens the file. // @match http://localhost:3000/* // @run-at document-start // @grant none // @inject-into page // ==/UserScript== // // How it works: Open WebUI's server tells the page "open this file" with a "terminal:display_file" event on the // page's live connection (socket.io over a WebSocket). This script wraps the browser's WebSocket so it sees each // message first, and drops that one kind of event before Open WebUI reads it. Everything else passes unchanged. // If anything goes wrong here, the page keeps the normal WebSocket and behaves as before. (() => { 'use strict'; const SHOW_NOTICE = true; // false: drop the event silently
const notice = (name) => { if (!SHOW_NOTICE || !document.body) return; const el = document.createElement('div'); el.textContent =
${name} is ready (not opened). Click its card in the reply to open it.; el.style.cssText = 'position:fixed;right:16px;bottom:16px;z-index:99999;max-width:360px;padding:10px 14px;' + 'border-radius:10px;font:13px/1.4 system-ui,sans-serif;background:#222;color:#eee;' + 'box-shadow:0 4px 16px rgba(0,0,0,.3);opacity:.95'; document.body.append(el); setTimeout(() => el.remove(), 5000); };const onFrame = (e) => { const d = e.data; // socket.io event frames start with "42"; only those that name display_file are looked at closely if (typeof d !== 'string' || !d.startsWith('42') || d.indexOf('terminal:display_file') < 0) return; let ev = null; try { ev = JSON.parse(d.slice(d.indexOf('[')))[1]; } catch (err) { return; } if (!ev || !ev.data || ev.data.type !== 'terminal:display_file') return; e.stopImmediatePropagation(); // Open WebUI's own handler never sees it const path = String((ev.data.data && ev.data.data.path) || ''); try { notice(path.split(/[\/]/).pop() || 'The file'); } catch (err) { /* only a notice */ } };
try { const Native = window.WebSocket; if (typeof Native !== 'function' || Native.__noAutoOpen) return; class WebSocket extends Native { constructor(...args) { super(...args); // our listener is added before socket.io sets its own onmessage, so it runs first try { if (//ws/socket.io//.test(String(args[0]))) this.addEventListener('message', onFrame); } catch (err) { /* plain socket / } } } WebSocket.__noAutoOpen = true; window.WebSocket = WebSocket; } catch (err) { / keep the normal WebSocket */ } })();
2
One of the main reasons I've kept Firefox as my default browser for 15 years is because of how they do tabs. Rectangular and letting them stay a decent size even when you have a bunch open.
u/SnillyWead
in
r/firefox
•
Sep 30 '26
I'm using Debian Xfce BTW. The code is from reddit, but I altered it and added things with AI. Use at your own risk:
/* Nova Rounding Adjustments */
:root {
/* --- CONFIGURATIE HOOGTE --- */
--tab-min-height: 22px !important; /* Tabbladen compact */
--nav-bar-height: 34px !important; /* Jouw gekozen toolbar hoogte */
--urlbar-min-height: 26px !important; /* Vaste hoogte adresbalk */
--border-radius-xsmall: 1px !important; /* Nova Default: 4px, Proton Default: 2px */
--border-radius-small: 2px !important; /* Nova Default: 8px, Proton Default: 4px */
--border-radius-medium: 3px !important; /* Nova Default: 12px, Proton Default: 8px */
--border-radius-large: 4px !important; /* Proton Default: 16px, [Undefined in Nova] */
--border-radius-xlarge: 6px !important; /* Nova Default: 24px, [Undefined in Proton] */
/*
--tab-border-radius: var(--border-radius-small) !important;
--button-border-radius: var(--border-radius-small) !important;
--toolbarbutton-border-radius: var(--border-radius-small) !important;
--card-border-radius: var(--border-radius-small) !important;
--card-border-radius-compact: var(--border-radius-small) !important;
--card-cover-image-border-radius: var(--border-radius-small) !important;
--input-text-border-radius: var(--border-radius-small) !important;
--menuitem-border-radius: var(--border-radius-small) !important;
--popup-border-radius: var(--border-radius-small) !important;
--panel-border-radius: var(--border-radius-small) !important;
--panel-menuitem-border-radius: var(--border-radius-small) !important;
*/
}
/* 1. Slanke & Aangesloten Tabbladen */
.tabbrowser-tab {
padding-inline: 0px !important;
min-height: var(--tab-min-height) !important;
}
.tab-background {
margin-block: 0px !important;
margin-inline: 0px !important;
border-radius: var(--border-radius-medium) var(--border-radius-medium) 0px 0px !important;
}
.tab-content {
padding-block: 0px !important;
}
/* 2. Toolbar & Gecentreerde Adresbalk */
#nav-bar {
height: var(--nav-bar-height) !important;
min-height: var(--nav-bar-height) !important;
box-shadow: none !important;
border-top: none !important;
}
#urlbar-container {
height: var(--urlbar-min-height) !important;
min-height: var(--urlbar-min-height) !important;
margin-block: auto !important;
}
#urlbar {
min-height: var(--urlbar-min-height) !important;
height: var(--urlbar-min-height) !important;
font-size: 14px !important;
}
/* Zorgt dat iconen binnen de adresbalk correct schalen */
#urlbar .urlbar-icon,
#urlbar .sharing-icon {
width: 16px !important;
height: 16px !important;
padding: 0px !important;
}
/* 3. Debian XFCE / Firefox 157 Fix voor Inactieve Vensters */
#TabsToolbar,
#TabsToolbar:-moz-window-inactive,
#TabsToolbar-customization-target {
opacity: 1 !important;
}
.tabbrowser-tab[selected="true"],
.tabbrowser-tab[selected="true"] .tab-background,
.tabbrowser-tab[selected="true"]:-moz-window-inactive .tab-background {
opacity: 1 !important;
filter: none !important;
}
/* 4. Slimme Sluitknop Logica (Alleen tonen bij actieve tab of hover) */
.tabbrowser-tab:not([selected]):not([pinned]) .tab-close-button {
visibility: hidden !important;
}
.tabbrowser-tab:not([selected]):not([pinned]):hover .tab-close-button {
visibility: visible !important;
display: inline-flex !important;
}
.tabbrowser-tab[selected]:not([pinned]) .tab-close-button {
visibility: visible !important;
display: inline-flex !important;
}
2
Remove vertical space between tabs and URL bar
u/ResurgamS13
in
r/FirefoxCSS
•
Sep 30 '26
Try:
Screenshot. Toolbars at twice normal size using preference
layout.css.devPixelsPerPxset to2.0----------
PS. If not already using it... the 'Box Model' view in the Browser Toolbox can be a handy way to tweak element positioning values by a pixel here and a pixel there. Also helps to enlarge (as above) with '
pixelsp' preference. :)The 'Box Model' display appears if select 'Layout' sub-tab/heading and scroll down (in RH Browser Toolbox panel if expand toolbox into 3-panel layout)... the Box Model is 'live' and can select and alter the values for the sizing of the element itself, plus surrounding padding, border, and margin.
Changes made to default values in the Box Model will appear as new CSS styles added to the 'element' area at the top of the 'Filter Styles' section (usually the middle panel if have Browser Toolbox open in 3-panels layout).
----------
PPS. Once transferred CSS modifications to your 'userChrome.css' file (usually with added '!important' flag to override Firefox UI's default styling)... and after restarting browser... can be useful to select the 'Style Editor' tab in the Browser Toolbox... then type 'user' into the 'Filter style sheets' box (top LH corner of toolbox)... select the offered 'userChrome.css' file... toolbox centre window now displays all your CSS modifications... and all 'live' too, so can edit, tweak values, etc. and see live changes to your UI as make edits.
Edits made in 'Style Editor' are not permanent... need to copy any edits back into your actual 'userChrome.css' file.
2
What are some features or improvements you wish GNOME would implement?
u/Funny_Decision_8591
in
r/gnome
•
Sep 29 '26
I want all windows to be the same shape. This means mutter should draw the border around the window and the shadow (if not the titlebar). Firefox still requires github hacks to get it's window shape consistent with the rest of Gnome. This isn't Firefoxs fault - no third party app should be expected to recreate libadwaita rounded corners and shadows from scratch just for gnome. This is a job for the compositor.
I want traditional applications with menubars and toolbars to look like they belong on gnome desktop. This means menubar guidelines should be added to Gnome HIG and the menubar should be a header bar-capable widget and part of libadwaita.
HUD search should be standardized and universalized as far as pissible, like in KDE framework, instead of having every app do some unique half assed in house solution. GIMP and Inkscaoes hud search ui is borderline unusable.
In sum, I want Gnome to be a cohesive experience beyond the single purpose "gnome apps"
1
Ive been using Firefox for more than 1 day ish~ im Loving it..BUT i need some help...
u/ResurgamS13
in
r/firefox
•
Nov 05 '26
Instead of using the 'Bookmarks Sidebar' or the 'Bookmarks Toolbar' to access bookmarks... try using the 'Bookmarks Menu' dropdown panel... this is a good alternative (Locate the 'star with a tray underneath' button/icon in Customise window... and drag onto a toolbar).
The Bookmarks Menu dropdown panel has always been the better option IMHO... all of its default folders and layout can be fully hidden and/or modified with CSS userstyles ... which is not possible with the Bookmarks Sidebar.
If the Bookmarks Menu button/icon is positioned at the far end of a toolbar the panel opens 90% outside the browser window border (providing there's sufficient desktop space available to do so). No animation, the Viewport/Content window is static.
----------
PS. If you have a lot of bookmarks in a lot of nested bookmarks folders you may like to add a scrollbar to all bookmarks folders... try MrOtherGuy's userstyle 'scrollable_menupopups.css'... one of the many Firefox modification styles available from his excellent GitHub repo 'Collection of random CSS hacks for Firefox'.
If not familiar with modifying Firefox's UI with 'userChrome.css' and 'userContent.css' files... follow this sub's Wiki > Tutorial.
----------
PPS. Also see other ideas Re: howto make using bookmarks easier in recent topic 'Managing Bookmarks'.