datguypiko / Firefox-Mod-Blur

Firefox Theme - For dark theme lovers / More compact / Modular / Blur
1.24k stars 59 forks source link

add container tabs color. #107

Closed yiiyahui closed 8 months ago

yiiyahui commented 8 months ago

Hi,since I really like the container tabs in Firefox, I added a background color display for container tabs.I hope you like it too and consider adding it.😊

#TabsToolbar #tabbrowser-tabs .tabbrowser-tab:is([usercontextid]) .tab-background {
  background: var(--firefoxcss-tab-active-bg-color) !important;
}
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab:is([usercontextid],[pinned]) .tab-background:not([selected]) {
  background: var(--identity-tab-color) !important;
  opacity: 0.3 !important;
}

Container tabs will show their default color when they are not selected. If the code above has any errors, please fix them.thank you.

Edit:

/* Remove tab context line*/
#tabbrowser-tabs .tab-context-line {
  display:none !important;
}
datguypiko commented 8 months ago

I dont use it but sure.