Skip to content
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.

Create elementaryos-like-btn-position.css #116

Open
wants to merge 2 commits into
base: Firefox60
Choose a base branch
from

Conversation

Bleznudd
Copy link

Elementary OS like window buttons.
Close (C) on the left, maximize (M) on the right, no minimize (m).
Ideal with title bar disabled for saving some screen space without loosing the system UI style.

Screenshot:
image

Tested on:

  • Firefox 60.0.1
  • Manjaro 17.1.10 Hakoila

P.S.: Sorry for adding a new folder, but none of the existing fit

Elementary OS like window buttons. Close (C) on the left, maximize (M) on the right, no minimize (m)
@Madis0
Copy link
Collaborator

Madis0 commented Jun 25, 2018

What desktop (window) manager is this initially made for? Pantheon?

On GNOME with Manjaro and it's default theme, the close button is initially invisible and on hover it appears like this:
pilt

@Bleznudd
Copy link
Author

Bleznudd commented Jun 25, 2018

What desktop (window) manager is this initially made for? Pantheon?

The goal is to achive Pantheon style on every window manager. Personally I've Budgie DE installed (so BudgieWM), and EvoPop-azure as GTK theme.
I've also tested the stock GNOME theme (Adwaita) and havn't seen any glitch.

On GNOME with Manjaro and it's default theme, the close button is initially invisible and on hover it appears like this:

I thought UserChrome.css was WM and theme indipendent, but from your screenshot it seems not.
Does this happen only with Adwaita theme or is a Mutter (aka GNOME-WM) failure?
Do you have bad layout also for the maximize button or is it displayed well?

@Madis0
Copy link
Collaborator

Madis0 commented Jun 26, 2018

I'm using Adapta-Eta-Maia (Manjaro's default theme light version) and latest Firefox Nightly. Didn't test with maximise button yet as I hid that along with minimize (like default GNOME)

Firefox 65.0 compatibility
@Bleznudd
Copy link
Author

Bleznudd commented Feb 1, 2019

I made a lot of changes (due to the v. 65.0 upgrade), and this time I hope it will work on every platform, and with every theme

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

Successfully merging this pull request may close these issues.

2 participants