Right handed Window Control
RobertNelsonMSUDenver opened this issue · comments
On windows, switching between using left handed controls for firefox and right for literally every other program renders inline window controls virtually useless. It would be nice if there was a possibility to align window controls with the rest on the OS on Windows and Linux with a control of where its placed.
Make the following changes in the following files. Sorry if there is a better way to post this, new to github (Or this in general).
/*** config.css ***/
--wc-vertical-shift: 18px;
--wc-left-space: 10px; /* add space to the left of window controls*/
--wc-right-space: 16px; /* add space to the right of window controls*/
/*** wc-without-tabline.css ***/
#TabsToolbar.browser-toolbar {
display: inline-block !important;
position: absolute;
top: var(--wc-vertical-shift) !important;
right: var(--wc-left-space) !important;
}
/*** window-controls/window-controls.css ***/
:root:not([inFullscreen]) toolbar#nav-bar {
z-index: 1 !important;
position: relative !important;
margin-right: calc(
var(--wc-right-space) * 2 + 60px
) !important; /* shift toolbar to the right based on initial width */
}
.titlebar-buttonbox {
display: flex;
/* flex-direction: row-reverse; */
-moz-context-properties: fill, fill-opacity !important;
}
Thanks @Frai7ty. This has been added as an optional file. Will include it with the next release.