userchrome.css-2023

*{
/*原始chromecss文件0------------------------------------------------------------*/

#sidebar-header{
	display: none !important;
}

/*书签工具栏高度,建议值28~30*/
*{
font-family: "HarmonyOS Sans SC" !important;
font-weight:400 !important;
}

#personal-bookmarks { 
height:32px !important;
} 

/*书签工具栏居中*/
#PersonalToolbar #PlacesToolbarItems{
 -moz-box-pack: center !important;
justify-content:center !important; /*113版本或许更早版本,出现书签无法居中,应该是采用flex布局,所以上面会失效;*/
align-items:center !important; /*flex布局中该项可以让书签栏垂直居中设置*/
}

/*书签下拉菜单高度,建议值25~28*/
.bookmark-item {
  height:20px!important;
  font-size: 9pt !important;
  }
  
/*图标宽度*/
.bookmark-item > .toolbarbutton-icon {margin: 0px 0px 0px 0px !important;}
 
/*文本宽度,调整与图标之间的距离*/
.bookmark-item > .toolbarbutton-text { padding: 0px 3px 0px 3px !important;}

/*右键菜单属性设置*/
popup, menu, menuitem {
  text-align: left !important;
  margin:0px 3px 0px 3px !important; /*菜单与菜单之间距离,上右下左*/
  padding:4px !important;/*菜单内部距离*/
}

/*右键菜单编辑,发送页面到pocket,发送页面到设备*/
#context-pocket,#context-sep-sendlinktodevice{
display: none !important;
}

/*标签页右键菜单编辑,恢复关闭标签,关闭标签,发送标签到设备,克隆标签,重载全部标签,标签页静音*/
#context_undoCloseTab,#context_closeTab,#context_sendTabToDevice,#context_duplicateTab,#context_reloadAllTabs,#context_toggleMuteTab{
display: none !important;
}

#pageActionButton,#pageActionSeparator,#tracking-protection-icon-container
{display: none !important;}

/*隐私保护,分割线,开启新窗口,开启隐私窗口,恢复先前浏览……*/
#appMenu-protection-report-button,#appMenu-tp-separator,#appMenu-private-window-button,#appMenuRestoreLastSession,#appMenu-open-file-button,#appMenu-save-file-button,#appMenu-find-button,#appMenu-whatsnew-button,#toolbarseparator,#appMenu-more-button,#appMenu-developer-button
{display: none !important;}

/*页面右键菜单*/
#context-sendpagetodevice,#context-viewinfo,#context-viewbgimage,#context-navigation,#inspect-separator,#context_moveTabOptions,#context_pinTab,#context_selectAllTabs,#appMenu-help-button
{display: none !important;}

/*页面右键菜单分隔线隐藏*/
#context-sep-screenshots,#context-media-eme-separator,#context-sep-selectall{display: none !important;}

/*系统菜单中的分割线全部隐藏
.panel-subview-body >toolbarseparator
{display: none !important;}
*/

/*系统菜单中的分割线指定隐藏*/
.panel-subview-body > toolbarseparator:nth-child(12),.panel-subview-body > toolbarseparator:nth-child(10),.panel-subview-body > toolbarseparator:nth-child(24),.panel-subview-body > toolbarseparator:nth-child(2),.panel-subview-body > toolbarseparator:nth-child(7),.panel-subview-body > toolbarseparator:nth-child(9),.panel-subview-body > toolbarseparator:nth-child(11)
{display: none !important;}
/*其中2,7,9,11编号为同步菜单中的分割线,12,10,24为主菜单中的分割线*/

#appMenu-edit-controls,#appMenu-zoom-controls
{display: none !important;}

#context-savepage,#context-sep-ctp,#context-selectall,.openintabs-menuitem,#context-sep-viewbgimage
{display: none !important;}

/*用户同步菜单内容*/
#PanelUI-fxa-menu-sendtab-button,#PanelUI-fxa-menu-remotetabs-button,#PanelUI-fxa-menu-connect-device-button,.subview-subheader,#PanelUI-fxa-menu-monitor-button,#PanelUI-fxa-menu-send-button
{display: none !important;}
/*版本新菜单标记*/

#appMenu-new-tab-button2,#appMenu-new-window-button2,#appMenu-new-private-window-button2,#appMenu-passwords-button
#appMenu-print-button2,#appMenu-save-file-button2,#appMenu-find-button2,#appMenu-more-button2,#appMenu-help-button2
{display: none !important;}

/*右上角菜单分割线设置*/
.panel-subview-body
 > toolbarseparator:nth-child(8),.panel-subview-body > 
toolbarseparator:nth-child(14),.panel-subview-body > 
toolbarseparator:nth-child(19)
{display: none !important;}

/*关闭标签合并的二级菜单,关闭后建议安装扩展
#context_closeTabOptions {
        display: none !important;
}*/

/*清除tab标签右键菜单上的全部分割线*/
#tabContextMenu> menuseparator{
display: none !important;
}

/*标签栏宽度设置*/
.tabbrowser-tab:not([pinned])[fadein] { 
	min-width: 30px !important; max-width: 150px !important;
} 

/*标签栏高度*/
:root {--tab-min-height: 25px !important;} 

usercontent.css-2023

/*注意:排除font.google.com的图标网站显示不正常。*/
@-moz-document regexp("((?!fonts.google.com).)*")
{
*:not([class*="icon"]):not([class*="woo-badge-msg woo-badge-new"])
:not([class*="language"]):not([class*="file-checkbox"]):not([class*="token"])
:not([class*="mui-amount"]):not([class*="chaoshi"]):not([class*="top-nav"])
:not([href*="ju.taobao.com"]):not(b):not(ins):not(i):not(s)
{
font-family:"HarmonyOS Sans SC" !important;} 
}