Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appbutton in tab bar #46

Closed
suhr opened this issue Nov 16, 2017 · 7 comments
Closed

Appbutton in tab bar #46

suhr opened this issue Nov 16, 2017 · 7 comments

Comments

@suhr
Copy link

suhr commented Nov 16, 2017

I want application button back in the tab bar, where it was before.

I use Linux, and appbutton_in_titlebar.css is Windows only.

@Aris-t2
Copy link
Owner

Aris-t2 commented Nov 16, 2017

The button is always on navigation toolbar, but the "in titlebar" tricks places it windows to left corner.

Move it with this code to a different position. You will need to adjust the code for your needs.

#PanelUI-button {
  -moz-appearance: none !important;
  -moz-box-ordinal-group: 0 !important;
  position: absolute !important;
  top: 22px !important;
  left: 2px !important;
}

You also may have to adjust tabs toolbar by moving it to the right:

#TabsToolbar{
  -moz-padding-start: 30px !important;
}

@suhr
Copy link
Author

suhr commented Nov 16, 2017

Awesome, thank you!

How can I also remove round corners from this button? border-radius: 0 0 0 0 !important; doesn't seem to work.

@Aris-t2
Copy link
Owner

Aris-t2 commented Nov 16, 2017

Try the inner button #PanelUI-menu-button.

@suhr
Copy link
Author

suhr commented Nov 16, 2017

Still doesn't work.

@Aris-t2
Copy link
Owner

Aris-t2 commented Nov 17, 2017

#PanelUI-button #PanelUI-menu-button .toolbarbutton-badge-stack {
  border-radius: 0 !important;
}

or better this for more cases

#PanelUI-button,
#PanelUI-button #PanelUI-menu-button,
#PanelUI-button #PanelUI-menu-button .toolbarbutton-badge-stack,
#PanelUI-button #PanelUI-menu-button .toolbarbutton-icon {
  border-radius: 0 !important;
}

@suhr
Copy link
Author

suhr commented Nov 17, 2017

Now it indeed works.

@Aris-t2
Copy link
Owner

Aris-t2 commented Nov 17, 2017

Good to hear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants