rydesun/.mozilla/firefox/profile/chrome/userChrome.css
2020-11-14 15:10:36 +08:00

84 lines
2.3 KiB
CSS

:root {
--frame-background-color: #445;
}
*|*:root:-moz-lwtheme {
--toolbar-bgcolor: #e4e5e7 !important;
--tab-line-color: #f0b0ff !important;
--lwt-toolbar-field-background-color: #e4e5e7 !important;
--lwt-toolbar-field-border-color: #e4e5e7 !important;
}
/* 隐藏标签栏 */
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse !important;
}
/* 去除地址栏、搜索栏的阴影边框 */
#urlbar:not(.megabar), #urlbar.megabar > #urlbar-background, #searchbar {
box-shadow: none !important;
}
/* 简化后退图标 */
#back-button > .toolbarbutton-icon {
border: none !important;
background-color: unset !important;
}
#sidebar {
min-width: 10em !important;
}
/* 暗色侧边栏 */
#sidebar-header {
-moz-appearance: none !important;
background-color: var(--frame-background-color) !important;
color: #fff !important;
border-bottom: 1px solid #223 !important
}
#sidebar-search-container, #sidebar, .sidebar-placesTree {
-moz-appearance: none !important;
background-color: var(--frame-background-color) !important;
color: #ddd !important;
}
treechildren::-moz-tree-separator {
border-color: #333 !important
}
#sidebar-splitter {
width: 4px !important;
border: 0px !important;
background-color: var(--frame-background-color) !important;
}
/* 隐藏扩展侧边栏的头部 */
/* Visual Tabs */
#sidebar-box[sidebarcommand="visualtab_xuldev_org-sidebar-action"] #sidebar-header,
/* Bitwarden */
#sidebar-box[sidebarcommand="_446900e4-71c2-419f-a6a7-df9c091e268b_-sidebar-action"] #sidebar-header {
display: none !important;
}
/* 弹出的工具栏去除半透明阴影, 防止与picom阴影效果重复 */
box.panel-arrowcontent {
margin: 0px !important;
}
/* 弹出工具栏 */
panelview#widget-overflow-mainView vbox.panel-subview-body {
display: block !important;
overflow: auto !important;
}
panelview#widget-overflow-mainView vbox#widget-overflow-fixed-list {
display: flex !important;
flex-wrap: wrap !important;
}
panelview#widget-overflow-mainView vbox#widget-overflow-fixed-list toolbarbutton {
width: calc(100% / 6) !important;
height: 40px !important;
}
panelview#widget-overflow-mainView vbox#widget-overflow-fixed-list label.toolbarbutton-text {
display: none !important;
}
panelview#widget-overflow-mainView .subviewbutton.panel-subview-footer {
min-height: unset !important;
}