Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xplosionmind committed Jun 3, 2022
0 parents commit 2b251ea
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Firefox Monoline

Place everything of your Firefox toolbar in one single line, similar to modern Safari.

<br>
<br>

## To do

- [ ] right-align extension icons
- [ ] create a variable in order to easily change spacing according to how many extensions appear in the toolbar
- [ ] use attributes selectors in order to change spacing according to whether the downloads icon is displayed
- [ ] show some necessary `#titlebar-buttonbox`
- [ ] evaluate behavior with non-compact mode
- [ ] create a variable to toggle spacing for compact/non-compact mode
- [ ] understand why `#urlbar[breakout][breakout-extend]` `top` and `left` styles do not work.

#### PR

- [ ] Share on awesome repositories
- [ ] Share on design communities

<br>
<br>

## Related projects

- Inspired from [one-line-firefox](https://github.com/khuedoan/one-line-firefox 'one-line-firefox GitHub repository')
67 changes: 67 additions & 0 deletions userChrome.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/* Title bar */
.titlebar-buttonbox {
display: none !important;
}

.titlebar-spacer {
display: none !important;
}

/* Tab bar */
#navigator-toolbox {
border: 0px !important;
}

#TabsToolbar {
margin-left: calc(20vw + 5px + 36px + 5px) !important;
margin-right: calc(39px + 29px) !important;
}

/* Nav bar*/
#nav-bar {
background: transparent !important;
margin-top: -36px !important;
}

/* URL bar */
#back-button {
display: none !important;
}

#forward-button {
display: none !important;
}

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

#urlbar-container {
min-width: 20vw !important;
max-width: 20vw !important;
}

#urlbar {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}

#urlbar[breakout][breakout-extend] {
width: 50vw !important;
top: 4px !important;
left: 4px !important;
}

#page-action-buttons {
display: none !important;
}

#nav-bar-overflow-button {
padding: 0 !important;
}

/* extra */
/*toolbarbutton {
filter: grayscale(1);
}*/

0 comments on commit 2b251ea

Please sign in to comment.