💄 Add Firefox userChrome

This commit is contained in:
punkfairie 2024-02-10 22:26:59 -08:00
parent 90dae0241c
commit 78fe7249c4
No known key found for this signature in database
GPG key ID: 0858B0F48128A755

47
os/firefox/userChrome.css Normal file
View file

@ -0,0 +1,47 @@
#tabbrowser-tabs {
visibility: collapse;
}
#navigator-toolbox {
display: flex;
flex-flow: row wrap;
}
#titlebar {
order: 1;
max-width: 146px;
}
#titlebar #TabsToolbar {
background-color: var(--toolbar-bgcolor);
background-image: var(--toolbar-bgimage);
}
#titlebar #TabsToolbar .titlebar-spacer {
background-color: rgba(0, 0, 0, 0.05);
margin: 3px;
border-radius: 25%;
cursor: grab;
}
#titlebar #TabsToolbar .titlebar-spacer[type="pre-tabs"] {
display: none;
}
#nav-bar {
order: 0;
width: calc(100% - 146px);
}
#PersonalToolbar {
order: 2;
}
/* Update - Hides the new Firefox home + tab dropdown. If you want to
* keep/customize those buttons. remove the CSS below and adjust the widths above
* to get everything fitting in one line */
#TabsToolbar .toolbar-items {
display: none;
}
#nav-bar {
order: 0;
width: 100%;
}
#sidebar-header {
visibility: collapse !important;
}