Thunderbird_102_ESR/css/general/toolbar_and_ui_appearance_default.css
/* Thunderbird userChrome.css tweaks ************************************************************/
/* Github: https://github.com/aris-t2/customcssfortb ********************************************/


/* adjust menubar border */
#mail-toolbar-menubar2{
  border-bottom: 0px !important;
}

/* compose window */
#addresses-box textbox {
  background: white !important;
  color: black !important;
  border: 1px solid #a9b7c9 !important;
}
#addresses-box textbox:hover,
#addresses-box textbox[focused] {
  background: white !important;
  color: black !important;
  border: 1px solid Highlight !important;
}

#addresses-box textbox[nomatch="true"][highlightnonmatches="true"] {
  color: red !important;
}

/* Win7/Vista Aero tweaks*/
@media not all and (-moz-os-version:windows-win10) {
 @media not all and (-moz-os-version:windows-win8) {
  @media all and (-moz-windows-theme:aero) {
  
	/* menubar */
	.chromeclass-menubar{
	  border-bottom: 0px !important;
	}

  }
 }
}

@media (-moz-os-version:windows-win8),(-moz-os-version:windows-win10) {
	/* menubar */
	.chromeclass-menubar{
	  border-bottom: 0px !important;
	}
	.chromeclass-toolbar{
	  margin-top: 0px !important;
	}
	
	/*status bar*/
	#messengerWindow:not(:-moz-lwtheme) #status-bar {
	  appearance: none !important;  
	  border-top: unset !important;  
	}
	
	#messengerWindow:not(:-moz-lwtheme) #status-bar statusbarpanel,
	#messengerWindow:not(:-moz-lwtheme) #status-bar .statusbar-resizerpanel{
	  appearance: none !important;  
	  /*border-top: 1px solid rgba(0,0,0,.2) !important;*/
	  border-left: 0px !important;
	  border-right: 0px !important;
	  border-bottom: 0px !important;
	}
	
	#messengerWindow:not(:-moz-lwtheme) #status-bar statusbarpanel toolbarbutton{
	  background: unset !important;
	}
	
	#messengerWindow:not(:-moz-lwtheme) #status-bar,
	.chromeclass-status:not(:-moz-lwtheme) statusbarpanel,
	.chromeclass-status:not(:-moz-lwtheme) .statusbar-resizerpanel{
	  background: -moz-dialog !important;
	}
	
	#messengerWindow:not(:-moz-lwtheme) #status-bar {
	  border-top: 1px solid rgba(0,0,0,.2) !important;
	}


}

/* Tb 57 tweaks */
@media (-moz-os-version: windows-win7),
       (-moz-os-version: windows-win8) {
  .mail-toolbox:not([mode="full"]) > toolbar:only-of-type,
  .mail-toolbox[mode="full"][labelalign="end"] > toolbar:only-of-type {
    margin-top: unset !important;
    margin-bottom: unset !important;
  }
}

/* remove fckng rtrdd space before tabs, seriously devs what is wrong with you? */
:root[tabsintitlebar][sizemode=normal] #mail-toolbar-menubar2[autohide=true] ~ #tabs-toolbar > #tabbar-toolbar {
  margin-inline-start: 0px !important;
}

:root[tabsintitlebar][sizemode=normal] #mail-toolbar-menubar2[autohide=true] ~ #tabs-toolbar {
  margin-top: 2px !important;
}

/* Dark theme tweaks */
#messengerWindow:not([style*='--lwt-header-image']):-moz-lwtheme:-moz-lwtheme-brighttext #folderpane-mode-selector-menulist,
#messengerWindow:not([style*='--lwt-header-image']):-moz-lwtheme:-moz-lwtheme-brighttext #folderPaneBox #folderTree treechildren,
#messengerWindow:not([style*='--lwt-header-image']):-moz-lwtheme:-moz-lwtheme-brighttext :is(#quick-filter-bar,#quick-filter-bar-main-bar) {
  background: #323234 !important;
  color: white !important;
}

/* Fix for remaining hovering borders */
#messengerWindow:not([style*='--lwt-header-image']):-moz-lwtheme:-moz-lwtheme-brighttext *::-moz-tree-row {
  outline: none !important;
}

#messengerWindow:not([style*='--lwt-header-image']):-moz-lwtheme:-moz-lwtheme-brighttext #folderPane-toolbar {
  border: 0 !important;
}

/* fix maximized mode */
#messengerWindow[sizemode=maximized] {
  margin-top: -1px !important;
}
