-
-
Save Speedy37/63d37931601123178ac2221533292cdd to your computer and use it in GitHub Desktop.
| #tabbrowser-tabs { | |
| min-height: 33px !important; | |
| } | |
| .tab-label-container { | |
| height: 29px !important; | |
| } | |
| /** Add small space at the top */ | |
| .tab-stack { | |
| margin-top: 4px; | |
| align-items: center; | |
| } | |
| /** Make tabs looks like tabs not buttons */ | |
| /* attach tabs to the toolbar */ | |
| .tab-background { | |
| margin: 0px !important; | |
| border-bottom-left-radius: 0 !important; | |
| border-bottom-right-radius: 0 !important; | |
| border-top-left-radius: 4px !important; | |
| border-top-right-radius: 4px !important; | |
| } | |
| /* tab background with 2px line at the top */ | |
| .tab-background[selected] { | |
| background: linear-gradient( | |
| to bottom, | |
| rgb(64, 70, 168) 2px, | |
| var(--toolbar-background-color) 2px, | |
| var(--toolbar-background-color) 100% | |
| ) !important; | |
| } | |
| /** Move tab context line from top to bottom (multi container color line) */ | |
| .tab-context-line { | |
| margin-top: 26px !important; | |
| margin-left: 6px !important; | |
| margin-right: 6px !important; | |
| } | |
| /** Fix tab icon (sound icon was replacing site icon) */ | |
| /* Always show tab icon */ | |
| .tab-icon-image { | |
| opacity: 1 !important; | |
| } | |
| /* Move tab sound icon to the top left */ | |
| .tab-icon-overlay { | |
| /* top - left */ | |
| top: -6px !important; | |
| inset-inline-end: 6px !important; | |
| border-width: 0px !important; | |
| width: 14px !important; | |
| height: 14px !important; | |
| background-size: 11px 11px !important; | |
| background-color: color-mix(in srgb, var(--toolbar-background-color) 85%, white) !important; | |
| } | |
| .tab-icon-overlay:hover { | |
| /* background */ | |
| fill-opacity: 1 !important; | |
| } | |
| /** Remove tab close button */ | |
| /* No Tab ⨉ */ | |
| .tab-close-button { | |
| display: none; | |
| } | |
| /* Fix mask size */ | |
| .tabbrowser-tab { | |
| --tab-label-mask-size: 1em !important; | |
| } | |
| /** Fix menu monster padding */ | |
| /* context menu padding */ | |
| menupopup > menuitem, | |
| menupopup > menu { | |
| padding-block: 0.15em !important; | |
| } | |
| /* menu item padding */ | |
| toolbarbutton { | |
| --arrowpanel-menuitem-border-radius: 0px; | |
| --arrowpanel-menuitem-padding: 2px 10px; | |
| --arrowpanel-menuitem-margin: 0px; | |
| } | |
| /** Menu top items border and padding */ | |
| /* context menu top left button padding */ | |
| menugroup > menuitem:first-child { | |
| padding-left: 10px; | |
| } | |
| /* context menu top right button padding */ | |
| menugroup > menuitem:last-child { | |
| padding-right: 10px; | |
| } | |
| /* context menu top buttons padding */ | |
| menugroup > menuitem { | |
| padding-top: 4px; | |
| padding-bottom: 4px; | |
| } | |
| menugroup > menuitem > hbox > image { | |
| border-radius: 6px !important; | |
| } | |
| .panel-header > .subviewbutton { | |
| border-radius: 6px !important; | |
| } | |
| /* disable #titlebar inactive effect */ | |
| #titlebar { | |
| opacity: 1. !important; | |
| } |
Nice. I have curves, and removed the highlight - but needs tidying, look at this
https://www.dropbox.com/s/n8039neih5i1ucd/chrome%20-%20untidy.zip?dl=0
Your code plus some extra for a bit of curve...
Thank you very much!
Much saner to have the active tab connected into the UI.
I made some changes to bring tabs separators back.
https://gist.github.com/rodrigopedra/f2959ee4b7aa5c8141e318be60079eb3
I created a Reddit account just to comment in your posting there, but my comment keeps on submitting state. I tried again without embedding the screenshot and it worked.
Thanks again!
New revision:
- Fix tab icon (sound icon was replacing site icon)
- Comments
New revision: menu and context menu item padding is now properly done.
New revision : fix Sound icon image + remove inactive effect on
New revision : fix tabs heights and top border radius
New revision : Fix --toolbar-bgcolor is now --toolbar-background-color
WIP nova compatible version
/** Add small space at the top */
#tabbrowser-tabs {
min-height: calc(var(--tab-min-height) + 5px) !important;
}
.tab-stack {
align-items: flex-end;
}
/** Make tabs looks like tabs not buttons */
/* attach tabs to the toolbar */
.tab-label-container {
height: var(--tab-min-height) !important;
}
.tab-background {
margin: 0px !important;
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
border-top-left-radius: 4px !important;
border-top-right-radius: 4px !important;
outline: 0px !important;
border: 0px !important;
}
/* tab background with 2px line at the top */
.tab-background[selected] {
box-shadow: inset 0 2px 0 0 rgb(64, 70, 168) !important;
}
/** Tab context line (multi container color line) */
/** Move top to bottom */
.tab-context-line {
order: 2;
}
.tab-loading-burst {
order: 1;
}
/** Remove line right fade-out */
.tab-context-line {
background: var(--identity-stroke-color) border-box border-box !important;
}
/** Fix tab icon (sound icon was replacing site icon) */
.tab-audio-button {
--button-size-icon-small: 14px !important;
--button-min-height-small: var(--button-size-icon-small) !important;
position: absolute !important;
top: -2px !important;
left: -2px !important;
width: var(--button-size-icon-small) !important;
height: var(--button-size-icon-small) !important;
border-radius: 100% !important;
background-color: color-mix(in srgb, var(--toolbar-background-color) 85%, white) !important;
}
/** Remove tab close button */
/* No Tab ⨉ */
.tab-close-button {
display: none;
}
/* Fix mask size */
.tabbrowser-tab {
--tab-label-mask-size: 1em !important;
}
/** Fix menu monster padding */
/* context menu padding */
menupopup > menuitem,
menupopup > menu {
padding-block: 0.15em !important;
}
/* menu item padding */
toolbarbutton {
--arrowpanel-menuitem-border-radius: 0px;
--arrowpanel-menuitem-padding: 2px 10px;
--arrowpanel-menuitem-margin: 0px;
}
/** Menu top items border and padding */
/* context menu top left button padding */
menugroup > menuitem:first-child {
padding-left: 10px;
}
/* context menu top right button padding */
menugroup > menuitem:last-child {
padding-right: 10px;
}
/* context menu top buttons padding */
menugroup > menuitem {
padding-top: 4px;
padding-bottom: 4px;
}
menugroup > menuitem > hbox > image {
border-radius: 6px !important;
}
.panel-header > .subviewbutton {
border-radius: 6px !important;
}
/* disable #titlebar inactive effect */
#TabsToolbar {
--inactive-titlebar-opacity: 1.0;
}
/* Restore pre-nova colors */
/*#TabsToolbar {
background-color: #1c1b22 !important;
}*/



Made for compact density!
Latest revision preview:


First revision