firefox: improve theme

This commit is contained in:
Leonardo Eugênio 2024-09-05 22:13:38 -03:00
parent d6d5643040
commit d710bed16a

View file

@ -64,28 +64,19 @@ in
.toolbar-items {
display: none;
}
#private-browsing-indicator-with-label {
display: none;
}
/* Create a horizontal container */
#navigator-toolbox {
display: grid;
grid-template-columns: 1fr 50px;
}
/* Make the url bar occupy the entire size of the container */
#nav-bar {
grid-column: 1 / 3;
grid-row: 1;
z-index: 1;
padding-right: 29px !important;
}
/* shrink the tab bar to a small size, since it's only the window close button basically */
#titlebar {
position: absolute;
right: 0;
top: 10px;
max-width: 50px;
grid-area: 1 / 2;
z-index: 10;
}
@ -94,6 +85,19 @@ in
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
/* Make the private browser indicator look nice, over the close-window button */
#private-browsing-indicator-with-label {
position: absolute;
top: 4px;
left: 15px;
z-index: 20;
pointer-events: none;
}
#private-browsing-indicator-with-label > label {
display: none;
}
'';
};
};