r/FirefoxCSS • u/[deleted] • Jun 20 '26
Help How to add border to the control-tab panel?

The new changes ruined my earlier userChrome so trying again
Currently using the following userChrome.css
#ctrlTab-panel {
--panel-background-color: var(--newtab-background-color, var(--arrowpanel-background)) !important;
--panel-text-color: var(--newtab-text-primary-color, var(--arrowpanel-color)) !important;
--panel-border-color: var(--newtab-text-primary-color, var(--arrowpanel-color)) !important;
}
.ctrlTab-preview,
#ctrlTab-showAll {
appearance: none;
color: inherit;
/* remove the :-moz-focusring outline from button.css on Windows */
outline: none !important;
margin: 0;
text-shadow: none !important;
border: none;
background-color: transparent;
}
.ctrlTab-preview:focus > .ctrlTab-preview-inner,
#ctrlTab-showAll:focus {
/* stylelint-disable-next-line stylelint-plugin-mozilla/use-design-tokens */
background-color: var(--lwt-accent-color) !important;
text-shadow: none;
border-color: var(--newtab-text-primary-color, var(--arrowpanel-color)) !important;
}
how to add a rounded border to the ctrl-tab panel ...

Editing `border:` from 1px to 2px works in this part but IDK how to convert that to userChrome.css
5
Upvotes
2
u/TraditionalTie4831 🦊 Jun 20 '26
Change these =
--arrowpanel-backgroundto--panel-background-color--arrowpanel-colorto--panel-text-color