Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Move the close, min, max buttons with CSS

more options

How can i move up the close, min, max buttons with CSS? Just like in the photo!

How can i move up the close, min, max buttons with CSS? Just like in the photo!
Приложенные скриншоты

Выбранное решение

The .titlebar-buttonbox-container is on the menu bar and on the tab bar where the latter is used when the menu bar is hidden. Moving this container to the Navigation Toolbar would require to position this container absolutely and reserve space what can possibly cause issues like in full screen mode with the toolbars auto-hiding. So if you would move those buttons that you also need to verify whether it works properly in full screen mode.

You can possibly ask at the Firefox CSS subreddit forum.

Прочитайте этот ответ в контексте 👍 1

Все ответы (4)

more options

Whoa, is that how the buttons look in Windows 11? Or are you already restyling them?

Regarding specific recommendations, it needs to coordinate with the rules you use to rearrange the order of the bars. My guess is that you would want to avoid moving the button container when you move the tabs, and perhaps you'll need to adjust the width of the customizable area on the main toolbar to provide space.

more options

jscher2000 - Support Volunteer said

Whoa, is that how the buttons look in Windows 11? Or are you already restyling them? Regarding specific recommendations, it needs to coordinate with the rules you use to rearrange the order of the bars. My guess is that you would want to avoid moving the button container when you move the tabs, and perhaps you'll need to adjust the width of the customizable area on the main toolbar to provide space.

Nope, I'm restyling the buttons to look like the ones from Mac. Mhhh I don't really know how to do that, is it in the tab button container area you guess? Or in which part of the code could I find it?

more options

Выбранное решение

The .titlebar-buttonbox-container is on the menu bar and on the tab bar where the latter is used when the menu bar is hidden. Moving this container to the Navigation Toolbar would require to position this container absolutely and reserve space what can possibly cause issues like in full screen mode with the toolbars auto-hiding. So if you would move those buttons that you also need to verify whether it works properly in full screen mode.

You can possibly ask at the Firefox CSS subreddit forum.

more options

cor-el said

The .titlebar-buttonbox-container is on the menu bar and on the tab bar where the latter is used when the menu bar is hidden. Moving this container to the Navigation Toolbar would require to position this container absolutely and reserve space what can possibly cause issues like in full screen mode with the toolbars auto-hiding. So if you would move those buttons that you also need to verify whether it works properly in full screen mode. You can possibly ask at the Firefox CSS subreddit forum.

Okay, thanks! I'll try to find the container and modify it. I asked on the subreddit but nobody answered :/ but maybe I'll try to ask again