Skip to content

Commit

Permalink
Merge pull request #204 from Foldex/overlay_fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tkashkin authored Sep 17, 2023
2 parents 803be44 + 46913b0 commit a506629
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions adwaita/variants/base/game_overlay.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,30 +69,40 @@ body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl button[class*="steamdesktopove
}

/* Flexbox Positioning */
body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl [class*="steamdesktopoverlay_TimeStats_"]
body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverlay_TimeStats_"]
{
flex: 5 1 0 !important;
align-items: center !important;
justify-content: center !important;
order: 1 !important;
}

body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl [class*="steamdesktopoverlay_CurrentGameLogoContainer_"]
body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverlay_ShowGameLogo_"]
{
order: -1 !important;
order: 0 !important;
flex: 1 1 300 !important;
}

body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl [class*="steamdesktopoverlay_CurrentGameLogoContainer_"] img
body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverlay_ShowGameLogo_"] img
{
max-width: 300px !important;
margin-top: -20px !important;
}

body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl [class*="steamdesktopoverlay_BackToGame_"]
body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverlay_TopSectionRightSide_"]
{
order: 2 !important;
}

body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverlay_BackToGame_"]
{
margin-top: 20px !important;
}

body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverlay_BackToGame_"] div[class*="steamdesktopoverlay_TextContainer_"]
{
max-width: 100% !important;
}

/* --- Bottom Section --- */
/* Toolbar */
body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverlay_Toolbar_"]
Expand Down Expand Up @@ -179,7 +189,9 @@ body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverla
}

/* Focus Indicator */
.ModalDialogPopup .PopupFullWindow div[class*="steamdesktopoverlay_FocusIndicator_"] {
.ModalDialogPopup .PopupFullWindow div[class*="steamdesktopoverlay_FocusIndicator_"],
.ModalDialogPopup .PopupFullWindow div[class*="steamdesktop_FocusBar_"]
{
opacity: 0 !important;
}

Expand All @@ -196,6 +208,11 @@ body.DesktopUI .steamdesktopoverlay_Wrapper_3b_pl div[class*="steamdesktopoverla
color: var(--fg) !important;
}

.ModalDialogPopup div[class*="steamdesktopoverlay_OverlayPopup_"][class*="OverlayBrowser_"] div[class*="steamdesktopoverlay_WindowControls_"]
{
min-height: 46px !important;
}

/* Icon Alignment Workaround */
.ModalDialogPopup .PopupFullWindow div[class*="steamdesktopoverlay_PinWindowButton_"],
.ModalDialogPopup .PopupFullWindow div[class*="steamdesktopoverlay_OpacityButton_"]
Expand Down

0 comments on commit a506629

Please sign in to comment.