Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Right handed Window Control #44

Closed
RobertNelsonMSUDenver opened this issue Feb 21, 2021 · 2 comments
Closed

Right handed Window Control #44

RobertNelsonMSUDenver opened this issue Feb 21, 2021 · 2 comments
Labels
enhancement New feature or request firefox css Related to firefox CSS

Comments

@RobertNelsonMSUDenver
Copy link

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.

@akshat46 akshat46 added enhancement New feature or request firefox css Related to firefox CSS labels Feb 21, 2021
@Frai7ty
Copy link

Frai7ty commented Mar 1, 2021

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;
}

@akshat46 akshat46 added this to Backlog in Progress Board via automation Mar 6, 2021
@akshat46 akshat46 moved this from Backlog to In progress in Progress Board Mar 6, 2021
@akshat46
Copy link
Owner

akshat46 commented Mar 6, 2021

Thanks @Frai7ty. This has been added as an optional file. Will include it with the next release.

@akshat46 akshat46 closed this as completed Mar 6, 2021
Progress Board automation moved this from In progress to Done Mar 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request firefox css Related to firefox CSS
Projects
Development

No branches or pull requests

3 participants