From a187282c51fc5f918dabb033862f537dab159c03 Mon Sep 17 00:00:00 2001 From: tkashkin Date: Sun, 26 May 2024 20:28:02 +0300 Subject: [PATCH] Settings dialog fixes (#250) Windows installer fixes (#245, #252) --- adwaita/css/_root/icons.css | 2 + adwaita/css/dialogs/appproperties.css | 40 ++ adwaita/css/dialogs/pagedsettings/dialog.css | 2 +- adwaita/css/dialogs/pagedsettings/rows.css | 222 +++++-- adwaita/css/dialogs/settings.css | 640 ++++++++++++++++++- install.py | 22 +- theme.json | 5 +- 7 files changed, 837 insertions(+), 96 deletions(-) create mode 100644 adwaita/css/dialogs/appproperties.css diff --git a/adwaita/css/_root/icons.css b/adwaita/css/_root/icons.css index 85f641a..d571f5f 100644 --- a/adwaita/css/_root/icons.css +++ b/adwaita/css/_root/icons.css @@ -33,6 +33,7 @@ --adw-icon-search: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgogICAgPHBhdGggZD0ibSA2LjUgMCBjIC0zLjU3ODEyNSAwIC02LjUgMi45MjE4NzUgLTYuNSA2LjUgcyAyLjkyMTg3NSA2LjUgNi41IDYuNSBjIDEuNDI5Njg4IDAgMi43NTM5MDYgLTAuNDY4NzUgMy44MjgxMjUgLTEuMjU3ODEyIGwgMy45NDUzMTMgMy45NDUzMTIgYyAwLjk1NzAzMSAwLjkzNzUgMi4zNjMyODEgLTAuNSAxLjQwNjI1IC0xLjQzNzUgbCAtMy45Mjk2ODggLTMuOTI5Njg4IGMgMC43ODUxNTYgLTEuMDc0MjE4IDEuMjUgLTIuMzk0NTMxIDEuMjUgLTMuODIwMzEyIGMgMCAtMy41NzgxMjUgLTIuOTIxODc1IC02LjUgLTYuNSAtNi41IHogbSAwIDIgYyAyLjQ5NjA5NCAwIDQuNSAyLjAwMzkwNiA0LjUgNC41IHMgLTIuMDAzOTA2IDQuNSAtNC41IDQuNSBzIC00LjUgLTIuMDAzOTA2IC00LjUgLTQuNSBzIDIuMDAzOTA2IC00LjUgNC41IC00LjUgeiBtIDAgMCIvPgo8L3N2Zz4K'); --adw-icon-filter: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgogICAgPHBhdGggZD0ibSAwIDEuMDA3ODEyIGggMTUgbCAtNiA3IHYgNiBsIC0zIDIgdiAtOCB6IG0gMCAwIi8+Cjwvc3ZnPg=='); --adw-icon-more: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBoZWlnaHQ9IjE2cHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJtIDcuOTk2MDk0IDAgYyAtMS4xMDU0NjkgMCAtMiAwLjg5NDUzMSAtMiAyIHMgMC44OTQ1MzEgMiAyIDIgYyAxLjEwMTU2MiAwIDIgLTAuODk0NTMxIDIgLTIgcyAtMC44OTg0MzggLTIgLTIgLTIgeiBtIDAgNiBjIC0xLjEwNTQ2OSAwIC0yIDAuODk0NTMxIC0yIDIgcyAwLjg5NDUzMSAyIDIgMiBjIDEuMTAxNTYyIDAgMiAtMC44OTQ1MzEgMiAtMiBzIC0wLjg5ODQzOCAtMiAtMiAtMiB6IG0gMCA2IGMgLTEuMTA1NDY5IDAgLTIgMC44OTQ1MzEgLTIgMiBzIDAuODk0NTMxIDIgMiAyIGMgMS4xMDE1NjIgMCAyIC0wLjg5NDUzMSAyIC0yIHMgLTAuODk4NDM4IC0yIC0yIC0yIHogbSAwIDAiLz4KPC9zdmc+Cg=='); + --adw-icon-edit: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDE2IDE2IiB3aWR0aD0iMTZweCI+PHBhdGggZD0ibSAxMi4yNzczNDQgMC44MzIwMzEgYyAtMC41NzgxMjUgMC4wMDc4MTMgLTEuMTY3OTY5IDAuMjMwNDY5IC0xLjY5MTQwNiAwLjc1MzkwNyBsIC05IDkgYyAtMC4zNzUgMC4zNzUgLTAuNTg1OTM4IDAuODgyODEyIC0wLjU4NTkzOCAxLjQxNDA2MiB2IDMgaCAzIGMgMC41MzEyNSAwIDEuMDM5MDYyIC0wLjIxMDkzOCAxLjQxNDA2MiAtMC41ODU5MzggbCA5IC05IGMgMS43ODkwNjMgLTEuNzg5MDYyIDAuMDgyMDMyIC00LjM5MDYyNCAtMS44OTA2MjQgLTQuNTcwMzEyIGMgLTAuMDgyMDMyIC0wLjAxMTcxOSAtMC4xNjQwNjMgLTAuMDExNzE5IC0wLjI0NjA5NCAtMC4wMTE3MTkgeiBtIC0xLjc3NzM0NCAzLjYwNTQ2OSBsIDEuMDYyNSAxLjA2MjUgbCAtNy4wNjI1IDcuMDYyNSBsIC0xLjA2MjUgLTEuMDYyNSB6IG0gMCAwIiBmaWxsPSIjMDAwIi8+PC9zdmc+Cg=='); --adw-icon-plus: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDE2IDE2IiB3aWR0aD0iMTZweCI+CiAgICA8cGF0aCBkPSJtIDcgMyB2IDQgaCAtNCB2IDIgaCA0IHYgNCBoIDIgdiAtNCBoIDQgdiAtMiBoIC00IHYgLTQgeiBtIDAgMCIvPgo8L3N2Zz4='); --adw-icon-plus-large: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgICA8cGF0aCBkPSJtIDcgMSB2IDYgaCAtNiB2IDIgaCA2IHYgNiBoIDIgdiAtNiBoIDYgdiAtMiBoIC02IHYgLTYgeiBtIDAgMCIvPgo8L3N2Zz4='); @@ -41,6 +42,7 @@ --adw-icon-checkbox-check: url('data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJNMTQuMTQ1IDMuOWExLjI1IDEuMjUgMCAwIDAtMS43NjYuMDkybC01LjY4IDYuMzA1LTIuODgxLTIuOTA5YTEuMjUgMS4yNSAwIDAgMC0xLjc2NiAxLjc3bDQuNzQzIDQuNzY4IDcuNDQyLTguMjYyYTEuMjUgMS4yNSAwIDAgMC0uMDkyLTEuNzY0eiIvPgo8L3N2Zz4='); --adw-icon-checkbox-indeterminate: url('data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJNNCA2aDhjMS4xMDggMCAyIC44OTIgMiAycy0uODkyIDItMiAyaC04Yy0xLjEwOCAwLTItLjg5Mi0yLTJzLjg5Mi0yIDItMnoiLz4KPC9zdmc+'); --adw-icon-combobox-arrow: url('data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJtIDEzLjk5NjA5NCA1IGwgLTUuOTk2MDk0IDYgbCAtNi4wMDM5MDYgLTYgeiBtIDAgMCIvPgo8L3N2Zz4K'); + --adw-icon-expander-arrow: url('data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTIgOS45OTlhMSAxIDAgMCAwIDEuNzA4LjcwOUw4IDYuNDE1bDQuMjkzIDQuMjkzYTEgMSAwIDEgMCAxLjQxNC0xLjQxNmwtNS01YTEgMSAwIDAgMC0xLjQxNCAwbC01IDVBMSAxIDAgMCAwIDIgOS45OTlaIi8+PC9zdmc+Cg=='); --adw-icon-entry-clear: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgogICAgPHBhdGggZD0ibSA3IDIgYyAtMC44MzIwMzEgMCAtMS41NTg1OTQgMC4zNDM3NSAtMi4yOTI5NjkgMC43ODEyNSBzIC0xLjQ2NDg0MyAxLjAwMzkwNiAtMi4xMjg5MDYgMS41OTc2NTYgYyAtMC42NjAxNTYgMC41OTc2NTYgLTEuMjUzOTA2IDEuMjIyNjU2IC0xLjcwNzAzMSAxLjc5Njg3NSBjIC0wLjIyNjU2MyAwLjI4OTA2MyAtMC40MTc5NjkgMC41NjI1IC0wLjU3MDMxMyAwLjgzNTkzOCBjIC0wLjE1MjM0MyAwLjI3NzM0MyAtMC4zMDA3ODEgMC41MzEyNSAtMC4zMDA3ODEgMC45ODgyODEgcyAwLjE0ODQzOCAwLjcxMDkzOCAwLjMwMDc4MSAwLjk4NDM3NSBjIDAuMTUyMzQ0IDAuMjc3MzQ0IDAuMzQzNzUgMC41NTA3ODEgMC41NzAzMTMgMC44MzU5MzcgYyAwLjQ1MzEyNSAwLjU3ODEyNiAxLjA0Njg3NSAxLjIwMzEyNiAxLjcwNzAzMSAxLjc5Njg3NiBjIDAuNjY0MDYzIDAuNTk3NjU2IDEuMzk0NTMxIDEuMTY0MDYyIDIuMTI4OTA2IDEuNjAxNTYyIHMgMS40NjA5MzggMC43ODEyNSAyLjI5Mjk2OSAwLjc4MTI1IGggNiBjIDEuNjQ0NTMxIDAgMyAtMS4zNTU0NjkgMyAtMyB2IC02IGMgMCAtMS42NDQ1MzEgLTEuMzU1NDY5IC0zIC0zIC0zIHogbSAxIDMgYyAwLjI2NTYyNSAwIDAuNTE5NTMxIDAuMTA1NDY5IDAuNzA3MDMxIDAuMjkyOTY5IGwgMS4yOTI5NjkgMS4yOTI5NjkgbCAxLjI5Mjk2OSAtMS4yOTI5NjkgYyAwLjE4NzUgLTAuMTg3NSAwLjQ0MTQwNiAtMC4yOTI5NjkgMC43MDcwMzEgLTAuMjkyOTY5IHMgMC41MTk1MzEgMC4xMDU0NjkgMC43MDcwMzEgMC4yOTI5NjkgYyAwLjM5MDYyNSAwLjM5MDYyNSAwLjM5MDYyNSAxLjAyMzQzNyAwIDEuNDE0MDYyIGwgLTEuMjkyOTY5IDEuMjkyOTY5IGwgMS4yOTI5NjkgMS4yOTI5NjkgYyAwLjM5MDYyNSAwLjM5MDYyNSAwLjM5MDYyNSAxLjAyMzQzNyAwIDEuNDE0MDYyIHMgLTEuMDIzNDM3IDAuMzkwNjI1IC0xLjQxNDA2MiAwIGwgLTEuMjkyOTY5IC0xLjI5Mjk2OSBsIC0xLjI5Mjk2OSAxLjI5Mjk2OSBjIC0wLjM5MDYyNSAwLjM5MDYyNSAtMS4wMjM0MzcgMC4zOTA2MjUgLTEuNDE0MDYyIDAgcyAtMC4zOTA2MjUgLTEuMDIzNDM3IDAgLTEuNDE0MDYyIGwgMS4yOTI5NjkgLTEuMjkyOTY5IGwgLTEuMjkyOTY5IC0xLjI5Mjk2OSBjIC0wLjM5MDYyNSAtMC4zOTA2MjUgLTAuMzkwNjI1IC0xLjAyMzQzNyAwIC0xLjQxNDA2MiBjIDAuMTg3NSAtMC4xODc1IDAuNDQxNDA2IC0wLjI5Mjk2OSAwLjcwNzAzMSAtMC4yOTI5NjkgeiBtIDAgMCIvPgo8L3N2Zz4K'); diff --git a/adwaita/css/dialogs/appproperties.css b/adwaita/css/dialogs/appproperties.css new file mode 100644 index 0000000..accc141 --- /dev/null +++ b/adwaita/css/dialogs/appproperties.css @@ -0,0 +1,40 @@ +/* Comboboxes on the Updates page */ +body.DesktopUI div.appproperties_AppProperties_1FyBL div.DialogBody > div:not([class]):first-child > div.gamepaddialog_Field_S-_La, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.DialogBody > div:not([class]):first-child > div.S-_LaQG5eEOM2HWZ-geJI +{ + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +body.DesktopUI div.appproperties_AppProperties_1FyBL div.DialogBody > div:not([class]):first-child + div.gamepaddialog_Field_S-_La, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.DialogBody > div:not([class]):first-child + div.S-_LaQG5eEOM2HWZ-geJI +{ + height: 0 !important; + min-height: 0 !important; + padding: 0 !important; + margin: 0 !important; + overflow: visible !important; + background: none !important; + box-shadow: none !important; +} + +body.DesktopUI div.appproperties_AppProperties_1FyBL div.DialogBody > div:not([class]):first-child + div.gamepaddialog_Field_S-_La div.gamepaddialog_FieldLabel_3b0U-, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.DialogBody > div:not([class]):first-child + div.S-_LaQG5eEOM2HWZ-geJI div._3b0U-QDD-uhFpw6xM716fw +{ + position: absolute !important; + left: 12px !important; + top: 18px !important; +} + +body.DesktopUI div.appproperties_AppProperties_1FyBL div.DialogBody > div:not([class]):first-child + div.gamepaddialog_Field_S-_La div.gamepaddialog_FieldDescription_2OJfk, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.DialogBody > div:not([class]):first-child + div.S-_LaQG5eEOM2HWZ-geJI div._2OJfkxlD3X9p8Ygu1vR7Lr +{ + display: none !important; +} + +body.DesktopUI div.appproperties_AppProperties_1FyBL div.DialogBody > div:not([class]):first-child + div.gamepaddialog_Field_S-_La + div.gamepaddialog_Field_S-_La, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.DialogBody > div:not([class]):first-child + div.S-_LaQG5eEOM2HWZ-geJI + div.S-_LaQG5eEOM2HWZ-geJI +{ + border-bottom-left-radius: var(--adw-card-radius) !important; + border-bottom-right-radius: var(--adw-card-radius) !important; +} diff --git a/adwaita/css/dialogs/pagedsettings/dialog.css b/adwaita/css/dialogs/pagedsettings/dialog.css index f3fbd69..31408b2 100644 --- a/adwaita/css/dialogs/pagedsettings/dialog.css +++ b/adwaita/css/dialogs/pagedsettings/dialog.css @@ -235,4 +235,4 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.RTicBCbDcEGkjsbmWzA8C > div._3qEg pointer-events: none; background-image: linear-gradient(to bottom, rgba(var(--adw-shade-rgb), calc(var(--adw-shade-a) * 0.75)), transparent 4px); box-shadow: inset 0 1px rgba(var(--adw-shade-rgb), calc(var(--adw-shade-a) * 0.75)); -} \ No newline at end of file +} diff --git a/adwaita/css/dialogs/pagedsettings/rows.css b/adwaita/css/dialogs/pagedsettings/rows.css index 37b72ec..11c0474 100644 --- a/adwaita/css/dialogs/pagedsettings/rows.css +++ b/adwaita/css/dialogs/pagedsettings/rows.css @@ -4,7 +4,13 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogSubHeader, body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogBodyText, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText, body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSectionHeader, -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSectionHeader +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSectionHeader, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyNameRow_3K8Af, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3K8Afwm4bvd9vSIzAz9siX, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_Subheader_31RJy, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._31RJyFXKo0KWIm1cS4INFH, +body.DesktopUI div.appproperties_AppProperties_1FyBL div.appproperties_Title_3zuIC, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div._3zuICQ63IRympzZ6qgs-5O { color: rgb(var(--adw-window-fg-rgb)) !important; font-family: var(--adw-text-font) !important; @@ -14,13 +20,15 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSectionHeader font-size: var(--adw-list-header-size) !important; font-weight: var(--adw-list-header-weight) !important; min-height: var(--adw-list-header-height) !important; - margin: 0 auto !important; + margin: 0 0 6px 0 !important; } body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogBodyText, -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText, +body.DesktopUI div.appproperties_AppProperties_1FyBL div.appproperties_Detail_Hxqea, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.HxqeaLbjhdRiSTK8ZFwxJ { - margin-bottom: 8px !important; + margin: -8px 0 8px 0 !important; } body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogSubHeader:not(:first-child), @@ -29,14 +37,16 @@ body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSec body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSectionHeader:not(:first-child), body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSection:not(:first-child), body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSection:not(:first-child), -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSection + div[class*="gamepaddialog_Field_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSection + div.gamepaddialog_Field_S-_La, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSection + div.S-_LaQG5eEOM2HWZ-geJI { margin-top: 16px !important; } body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogBodyText, -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText, +body.DesktopUI div.appproperties_AppProperties_1FyBL div.appproperties_Detail_Hxqea, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.HxqeaLbjhdRiSTK8ZFwxJ { color: rgba(var(--adw-window-fg-rgb), var(--adw-dim-label-opacity)) !important; font-size: var(--adw-text-subtitle-size) !important; @@ -46,7 +56,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText } /* Row */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-opacity)) !important; @@ -64,21 +74,27 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI line-height: normal !important; letter-spacing: normal !important; transition: var(--adw-button-transition) !important; - margin-bottom: 1px !important; + margin: 0 0 1px 0 !important; justify-content: center !important; position: relative !important; overflow: hidden !important; flex: none !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"][class*="gamepaddialog_Disabled_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput):focus-within, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput):focus-within +{ + box-shadow: var(--adw-card-shadow), var(--adw-focus-border) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La[class*="gamepaddialog_Disabled_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI._1pmyxI3wxLrWwGnc52yVns { pointer-events: none !important; opacity: var(--adw-disabled-opacity) !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="gamepaddialog_FieldLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="gamepaddialog_FieldLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._3b0U-QDD-uhFpw6xM716fw { color: rgb(var(--adw-card-fg-rgb)) !important; @@ -89,7 +105,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._3b0U-Q letter-spacing: normal !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="gamepaddialog_FieldDescription_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="gamepaddialog_FieldDescription_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._2OJfkxlD3X9p8Ygu1vR7Lr { color: rgba(var(--adw-card-fg-rgb), var(--adw-dim-label-opacity)) !important; @@ -101,55 +117,71 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._2OJfkx letter-spacing: normal !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="gamepaddialog_FieldDescription_"] a, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="gamepaddialog_FieldDescription_"] a, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._2OJfkxlD3X9p8Ygu1vR7Lr a { position: relative !important; z-index: 1 !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:first-child, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.gamepaddialog_FieldIcon_1sC68, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._1sC68UJqI3ry5Gnk5cnH9U +{ + width: 20px !important; + height: 20px !important; + box-sizing: border-box !important; + padding: 0 !important; + margin: 0 18px 0 6px !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:first-child, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:first-child, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogSubHeader + div[class*="gamepaddialog_Field_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogSubHeader + div.gamepaddialog_Field_S-_La, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogSubHeader + div.S-_LaQG5eEOM2HWZ-geJI, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogBodyText + div[class*="gamepaddialog_Field_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogBodyText + div.gamepaddialog_Field_S-_La, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText + div.S-_LaQG5eEOM2HWZ-geJI, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSectionHeader + div[class*="gamepaddialog_Field_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSectionHeader + div.gamepaddialog_Field_S-_La, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSectionHeader + div.S-_LaQG5eEOM2HWZ-geJI, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"][class*="gamepaddialog_WithDescription_"]:not(:has(div[class*="gamepaddialog_FieldLabel_"])) + div[class*="gamepaddialog_Field_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La[class*="gamepaddialog_WithDescription_"]:not(:has(div[class*="gamepaddialog_FieldLabel_"])) + div.gamepaddialog_Field_S-_La, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI._3bMISJvxiSHPx1ol-0Aswn:not(:has(div._3b0U-QDD-uhFpw6xM716fw)) + div.S-_LaQG5eEOM2HWZ-geJI, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSection + div[class*="gamepaddialog_Field_"], -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSection + div.S-_LaQG5eEOM2HWZ-geJI +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogControlsSection + div.gamepaddialog_Field_S-_La, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogControlsSection + div.S-_LaQG5eEOM2HWZ-geJI, +body.DesktopUI div.appproperties_AppProperties_1FyBL div.appproperties_Title_3zuIC + div.gamepaddialog_Field_S-_La, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div._3zuICQ63IRympzZ6qgs-5O + div.S-_LaQG5eEOM2HWZ-geJI, +body.DesktopUI div.appproperties_AppProperties_1FyBL div.appproperties_Detail_Hxqea + div.gamepaddialog_Field_S-_La, +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.HxqeaLbjhdRiSTK8ZFwxJ + div.S-_LaQG5eEOM2HWZ-geJI { border-top-left-radius: var(--adw-card-radius) !important; border-top-right-radius: var(--adw-card-radius) !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:last-child, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:last-child, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:last-child, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(+ div.DialogSubHeader), +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(+ div.DialogSubHeader), body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(+ div.DialogSubHeader), -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(+ div.DialogBodyText), +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(+ div.DialogBodyText), body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(+ div.DialogBodyText), -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(+ div.DialogControlsSectionHeader), +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(+ div.DialogControlsSectionHeader), body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(+ div.DialogControlsSectionHeader), -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(+ div.DialogControlsSection), -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(+ div.DialogControlsSection) +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(+ div.DialogControlsSection), +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(+ div.DialogControlsSection), +body.DesktopUI div.appproperties_AppProperties_1FyBL div.gamepaddialog_Field_S-_La:has(+ div.appproperties_SteamCloudUsage_2Dfy8), +body.DesktopUI div._1FyBL6obxHQ2Z2CsaV2Gbz div.S-_LaQG5eEOM2HWZ-geJI:has(+ div._2Dfy8vuNMdABIKGO2KHbVF) { border-bottom-left-radius: var(--adw-card-radius) !important; border-bottom-right-radius: var(--adw-card-radius) !important; } /* Rows with widgets */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div[class*="gamepaddialog_FieldChildrenWithIcon_"]) div[class*="gamepaddialog_FieldLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div[class*="gamepaddialog_FieldChildrenWithIcon_"]) div[class*="gamepaddialog_FieldLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div._2ZQ9wHACVFqZcufK_WRGPM) div._3b0U-QDD-uhFpw6xM716fw, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div[class*="gamepaddialog_FieldChildrenWithIcon_"]) div[class*="gamepaddialog_FieldDescription_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div[class*="gamepaddialog_FieldChildrenWithIcon_"]) div[class*="gamepaddialog_FieldDescription_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div._2ZQ9wHACVFqZcufK_WRGPM) div._2OJfkxlD3X9p8Ygu1vR7Lr { margin-right: 64px !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="gamepaddialog_FieldChildrenWithIcon_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="gamepaddialog_FieldChildrenWithIcon_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._2ZQ9wHACVFqZcufK_WRGPM { position: absolute !important; @@ -159,33 +191,37 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._2ZQ9wH align-items: center !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div[class*="gamepaddialog_Toggle_"]):hover, -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div._24G4gV0rYtRbebXM44GkKk):hover +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div[class*="gamepaddialog_Toggle_"]):hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div._24G4gV0rYtRbebXM44GkKk):hover, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput):not(:focus-within):hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput):not(:focus-within):hover { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-hover-opacity)) !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div[class*="gamepaddialog_Toggle_"]):active, -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div._24G4gV0rYtRbebXM44GkKk):active +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div[class*="gamepaddialog_Toggle_"]):active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div._24G4gV0rYtRbebXM44GkKk):active, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput):not(:focus-within):active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput):not(:focus-within):active { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-active-opacity)) !important; } /* Switch row: switch */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="gamepaddialog_Toggle_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="gamepaddialog_Toggle_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._24G4gV0rYtRbebXM44GkKk { cursor: default !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="gamepaddialog_ToggleRail_"]::before, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="gamepaddialog_ToggleRail_"]::before, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._2JtC3JSLKaOtdpAVEACsG1::before { background: rgb(var(--adw-accent-bg-rgb)) !important; } /* Switch row: expand switch interactive area to fill the row */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="gamepaddialog_Toggle_"]::before, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="gamepaddialog_Toggle_"]::before, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._24G4gV0rYtRbebXM44GkKk::before { content: ""; @@ -197,16 +233,16 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._24G4gV } /* Button row: margin */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(button.DialogButton) div[class*="gamepaddialog_FieldLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(button.DialogButton) div[class*="gamepaddialog_FieldLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button.DialogButton) div._3b0U-QDD-uhFpw6xM716fw, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(button.DialogButton) div[class*="gamepaddialog_FieldDescription_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(button.DialogButton) div[class*="gamepaddialog_FieldDescription_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button.DialogButton) div._2OJfkxlD3X9p8Ygu1vR7Lr { margin-right: 160px !important; } /* Button row: button */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button.DialogButton, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button.DialogButton, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.DialogButton { background: rgba(var(--adw-card-fg-rgb), var(--adw-button-bg-opacity)) !important; @@ -227,20 +263,20 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.Dial white-space: nowrap !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button.DialogButton::before, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button.DialogButton::before, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.DialogButton::before { content: none !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button.DialogButton:hover, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button.DialogButton:hover, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.DialogButton:hover { background: rgba(var(--adw-card-fg-rgb), var(--adw-button-bg-opacity-hover)) !important; box-shadow: none !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button.DialogButton:active, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button.DialogButton:active, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.DialogButton:active { background: rgba(var(--adw-card-fg-rgb), var(--adw-button-bg-opacity-active)) !important; @@ -248,18 +284,18 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.Dial } /* Property row */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(span[class*="accountsettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(span[class*="accountsettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._2kbiwbjuXdmtPSK_YaZCMU) div._3b0U-QDD-uhFpw6xM716fw, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(span[class*="desktopsecuritysettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(span[class*="desktopsecuritysettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._30qj_go1hm7_x09KzHFVna) div._3b0U-QDD-uhFpw6xM716fw { display: flex !important; flex-direction: column !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(span[class*="accountsettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="accountsettings_EntryLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(span[class*="accountsettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="accountsettings_EntryLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._2kbiwbjuXdmtPSK_YaZCMU) div._3b0U-QDD-uhFpw6xM716fw span._2kbiwbjuXdmtPSK_YaZCMU, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(span[class*="desktopsecuritysettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="desktopsecuritysettings_EntryLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(span[class*="desktopsecuritysettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="desktopsecuritysettings_EntryLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._30qj_go1hm7_x09KzHFVna) div._3b0U-QDD-uhFpw6xM716fw span._30qj_go1hm7_x09KzHFVna { color: rgba(var(--adw-card-fg-rgb), var(--adw-dim-label-opacity)) !important; @@ -267,9 +303,9 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._3 font-weight: var(--adw-text-row-subtitle-weight) !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(span[class*="accountsettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="accountsettings_EntryValue_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(span[class*="accountsettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="accountsettings_EntryValue_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._2kbiwbjuXdmtPSK_YaZCMU) div._3b0U-QDD-uhFpw6xM716fw span._3qIXY674NedSZNa-CXtNlt, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(span[class*="desktopsecuritysettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="desktopsecuritysettings_EntryValue_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(span[class*="desktopsecuritysettings_EntryLabel_"]) div[class*="gamepaddialog_FieldLabel_"] span[class*="desktopsecuritysettings_EntryValue_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._30qj_go1hm7_x09KzHFVna) div._3b0U-QDD-uhFpw6xM716fw span._1PBuyc38k9xkUt4KB_lXh- { color: rgb(var(--adw-card-fg-rgb)) !important; @@ -278,18 +314,65 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(span._3 margin-top: 2px !important; } +/* Input row */ +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput), +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput) +{ + +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput) div[class*="gamepaddialog_FieldLabel_"], +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput) div._3b0U-QDD-uhFpw6xM716fw +{ + margin-top: -24px !important; + color: rgba(var(--adw-card-fg-rgb), var(--adw-dim-label-opacity)) !important; + font-size: var(--adw-text-row-subtitle-size) !important; + font-weight: var(--adw-text-row-subtitle-weight) !important; + pointer-events: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput) div.DialogInput_Wrapper, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput) div.DialogInput_Wrapper, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput) div.gamepaddialog_FieldChildrenWithIcon_2ZQ9w, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput) div._2ZQ9wHACVFqZcufK_WRGPM +{ + position: unset !important; + border-radius: inherit !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(input.DialogInput) input.DialogInput, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(input.DialogInput) input.DialogInput +{ + background: none !important; + box-shadow: none !important; + border-radius: inherit !important; + position: absolute !important; + top: 0 !important; + bottom: 0 !important; + left: 0 !important; + right: 0 !important; + padding: 20px 12px 4px 12px !important; + width: auto !important; + color: rgb(var(--adw-card-fg-rgb)) !important; + font-family: var(--adw-text-font) !important; + font-size: var(--adw-text-row-title-size) !important; + font-weight: var(--adw-text-row-title-weight) !important; + letter-spacing: normal !important; + z-index: 1 !important; +} + /* Description-only rows: style as group subtitle */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"][class*="gamepaddialog_WithDescription_"]:not(:has(div[class*="gamepaddialog_FieldLabel_"])), +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La[class*="gamepaddialog_WithDescription_"]:not(:has(div[class*="gamepaddialog_FieldLabel_"])), body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI._3bMISJvxiSHPx1ol-0Aswn:not(:has(div._3b0U-QDD-uhFpw6xM716fw)) { background: none !important; box-shadow: none !important; padding: 0 !important; - margin: 0 auto 8px auto !important; + margin: -8px 0 8px 0 !important; border-radius: 0 !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"][class*="gamepaddialog_WithDescription_"]:not(:has(div[class*="gamepaddialog_FieldLabel_"])) div[class*="gamepaddialog_FieldDescription_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La[class*="gamepaddialog_WithDescription_"]:not(:has(div[class*="gamepaddialog_FieldLabel_"])) div[class*="gamepaddialog_FieldDescription_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI._3bMISJvxiSHPx1ol-0Aswn:not(:has(div._3b0U-QDD-uhFpw6xM716fw)) div._2OJfkxlD3X9p8Ygu1vR7Lr { color: rgba(var(--adw-card-fg-rgb), var(--adw-dim-label-opacity)) !important; @@ -297,9 +380,10 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI._3bMISJvxiS font-weight: var(--adw-text-subtitle-weight) !important; min-height: auto !important; line-height: normal !important; + margin: 0 !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]::after, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La::after, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI::after { content: none !important; @@ -316,7 +400,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText:has(+ div.DialogBo font-size: var(--adw-list-header-size) !important; font-weight: var(--adw-list-header-weight) !important; min-height: var(--adw-list-header-height) !important; - margin: 0 auto !important; + margin: 0 0 6px 0 !important; } body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.DialogBodyText + div.DialogBodyText:has(+ div[class*="radio_Group_"]), @@ -327,7 +411,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.DialogBodyText + div.DialogBodyTe font-weight: var(--adw-text-subtitle-weight) !important; min-height: auto !important; line-height: normal !important; - margin: 0 auto 8px auto !important; + margin: -8px 0 8px 0 !important; } body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="radio_Group_"], @@ -479,7 +563,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2qYC3gFAkLcB48i6dTz051 div._3lwc } /* Combo row */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div.DialogDropDown, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown { position: absolute !important; @@ -497,8 +581,10 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogD cursor: default !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div.DialogDropDown div.DialogDropDown_CurrentDisplay, -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown div.DialogDropDown_CurrentDisplay +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown div.DialogDropDown_CurrentDisplay, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown div.DialogDropDown_CurrentDisplay, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown div.DialogDropDown_CurrentDisplay div.dropdownlabel_DropDownLabelTitle_uDBZW, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown div.DialogDropDown_CurrentDisplay div.uDBZWGBy_BP0IFXToHYjk { color: rgb(var(--adw-card-fg-rgb)) !important; font-family: var(--adw-text-font) !important; @@ -511,7 +597,13 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogD white-space: nowrap !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div.DialogDropDown div.DialogDropDown_Arrow, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown div.DialogDropDown_CurrentDisplay div.dropdownlabel_DropDownLabelDescription_1JPcb, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown div.DialogDropDown_CurrentDisplay div._1JPcbbojrgNM_FTODskCRa +{ + display: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown div.DialogDropDown_Arrow, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown div.DialogDropDown_Arrow { width: 16px !important; @@ -519,13 +611,13 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogD margin-top: 2px !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div.DialogDropDown div.DialogDropDown_Arrow > svg, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown div.DialogDropDown_Arrow > svg, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown div.DialogDropDown_Arrow > svg { display: none !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div.DialogDropDown div.DialogDropDown_Arrow::before, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown div.DialogDropDown_Arrow::before, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown div.DialogDropDown_Arrow::before { content: ""; @@ -540,7 +632,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogD } /* Combo row: expand interactive area to fill the row */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div.DialogDropDown::before, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div.DialogDropDown::before, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogDropDown::before { content: ""; @@ -551,22 +643,22 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div.DialogD bottom: -50px; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div.DialogDropDown):hover, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div.DialogDropDown):hover, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div.DialogDropDown):hover { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-hover-opacity)) !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div.DialogDropDown):active, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div.DialogDropDown):active, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div.DialogDropDown):active { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-active-opacity)) !important; } /* Combo row: margin */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div.DialogDropDown) div[class*="gamepaddialog_FieldLabel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div.DialogDropDown) div[class*="gamepaddialog_FieldLabel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div.DialogDropDown) div._3b0U-QDD-uhFpw6xM716fw, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(div.DialogDropDown) div[class*="gamepaddialog_FieldDescription_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(div.DialogDropDown) div[class*="gamepaddialog_FieldDescription_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(div.DialogDropDown) div._2OJfkxlD3X9p8Ygu1vR7Lr { margin-right: 160px !important; @@ -578,4 +670,4 @@ body.DesktopUI:has(div._3I6h_oySuLmmLY9TjIKT9s) div._2qyBZV8YvxstXuSKiYDF19 > di { min-width: 288px !important; box-sizing: border-box !important; -} \ No newline at end of file +} diff --git a/adwaita/css/dialogs/settings.css b/adwaita/css/dialogs/settings.css index b197676..92de498 100644 --- a/adwaita/css/dialogs/settings.css +++ b/adwaita/css/dialogs/settings.css @@ -55,7 +55,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.ingame div._2wpaptjZY-3Gn1HOPlL85 } /* Account buttons */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(button[class*="settings_SettingsDialogFatButton_"]), +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(button[class*="settings_SettingsDialogFatButton_"]), body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button.UqEiVDhZ47cn3vWxM7cR0) { background: none !important; @@ -66,13 +66,13 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button. overflow: visible !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(button[class*="settings_SettingsDialogFatButton_"]) div[class*="gamepaddialog_FieldChildrenWithIcon_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(button[class*="settings_SettingsDialogFatButton_"]) div[class*="gamepaddialog_FieldChildrenWithIcon_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button.UqEiVDhZ47cn3vWxM7cR0) div._2ZQ9wHACVFqZcufK_WRGPM { position: initial !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(button[class*="settings_SettingsDialogFatButton_"]) div[class*="gamepaddialog_ControlsListOuterPanel_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(button[class*="settings_SettingsDialogFatButton_"]) div[class*="gamepaddialog_ControlsListOuterPanel_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button.UqEiVDhZ47cn3vWxM7cR0) div._2Mvpu0Kldp2FgzYp0Tx-OP { padding: 0 !important; @@ -82,7 +82,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button. gap: 1px !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"]:has(button[class*="settings_SettingsDialogFatButton_"]) div[class*="gamepaddialog_ControlsListOuterPanel_"] div[class*="gamepaddialog_ControlsListChild_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La:has(button[class*="settings_SettingsDialogFatButton_"]) div[class*="gamepaddialog_ControlsListOuterPanel_"] div[class*="gamepaddialog_ControlsListChild_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button.UqEiVDhZ47cn3vWxM7cR0) div._2Mvpu0Kldp2FgzYp0Tx-OP div.XvRsoF63hkSPNVBr2XPVI { padding: 0 !important; @@ -91,7 +91,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI:has(button. overflow: visible !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0 { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-opacity)) !important; @@ -111,21 +111,21 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEi justify-content: center !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"]:hover, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"]:hover, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0:hover { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-hover-opacity)) !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"]:active, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"]:active, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0:active { background: rgba(var(--adw-card-bg-rgb), var(--adw-card-active-opacity)) !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"] > svg, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"] > svg, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0 > svg, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"]::after, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"]::after, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0::after { position: absolute !important; @@ -135,7 +135,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEi margin: 0 !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"]::after, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"]::after, body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0::after { content: ""; @@ -149,7 +149,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEi -webkit-mask-image: var(--adw-icon-nav-forward); } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"] div[class*="accountpanel_Label_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"] div[class*="accountpanel_Label_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0 div._3wadwgMy2-9k8uOKh3iSdT { color: rgb(var(--adw-card-fg-rgb)) !important; @@ -160,7 +160,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEi letter-spacing: normal !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"] div[class*="accountpanel_Details_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"] div[class*="accountpanel_Details_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0 div._3Wb9yDmYPUJksCr7HmaT9H { color: rgba(var(--adw-card-fg-rgb), var(--adw-dim-label-opacity)) !important; @@ -172,7 +172,7 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEi letter-spacing: normal !important; } -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] button[class*="settings_SettingsDialogFatButton_"] div[class*="accountpanel_Details_"] > span[class*="accountpanel_Highlight_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La button[class*="settings_SettingsDialogFatButton_"] div[class*="accountpanel_Details_"] > span[class*="accountpanel_Highlight_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEiVDhZ47cn3vWxM7cR0 div._3Wb9yDmYPUJksCr7HmaT9H > span._35ztZulp_gETT1gOElpfvK { color: rgb(var(--adw-card-fg-rgb)) !important; @@ -182,8 +182,146 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI button.UqEi margin-left: 4px !important; } +/* Family */ +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 +{ + position: relative !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysettings_FamilyNameRow_3K8Af, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3K8Afwm4bvd9vSIzAz9siX +{ + padding: 0 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysettings_FamilyNameRow_3K8Af > span.familysettings_YourFamily_1RfVQ, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3K8Afwm4bvd9vSIzAz9siX > span._1RfVQWVozb8NJ_wmCLAtxP, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysettings_FamilyNameRow_3K8Af > div.familysettings_FamilyName_H4JE-, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3K8Afwm4bvd9vSIzAz9siX > div.H4JE-8OU0E7AeMZY3bEeM, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm button.familysettings_ManageFamilyButton_1foeE, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 button._1foeEGhPcfRZy7M3msTvNt +{ + color: rgb(var(--adw-window-fg-rgb)) !important; + font-family: var(--adw-text-font) !important; + line-height: var(--adw-list-header-height) !important; + text-transform: none !important; + letter-spacing: normal !important; + font-size: var(--adw-list-header-size) !important; + font-weight: var(--adw-list-header-weight) !important; + padding: 0 !important; + margin: 0 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysettings_FamilyNameRow_3K8Af > div.familysettings_FamilyName_H4JE-, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3K8Afwm4bvd9vSIzAz9siX > div.H4JE-8OU0E7AeMZY3bEeM +{ + color: rgb(var(--adw-accent-rgb)) !important; + margin-left: 4px !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm button.familysettings_ManageFamilyButton_1foeE, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 button._1foeEGhPcfRZy7M3msTvNt +{ + position: absolute !important; + top: 0 !important; + right: 0 !important; + width: auto !important; + height: var(--adw-list-header-height) !important; + padding: 0 12px !important; + background: transparent !important; + box-shadow: none !important; + border-radius: var(--adw-button-radius) !important; + transition: var(--adw-button-transition) !important; + cursor: default !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm button.familysettings_ManageFamilyButton_1foeE:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 button._1foeEGhPcfRZy7M3msTvNt:hover +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-hover-opacity)) !important; + box-shadow: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm button.familysettings_ManageFamilyButton_1foeE:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 button._1foeEGhPcfRZy7M3msTvNt:active +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-active-opacity)) !important; + box-shadow: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm button.familysettings_ManageFamilyButton_1foeE::before, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 button._1foeEGhPcfRZy7M3msTvNt::before +{ + content: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysharedcomponents_FamilyMemberRow_3QkkY, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3QkkYqYUNkuL-1EOrIbEhB +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-opacity)) !important; + color: rgb(var(--adw-card-fg-rgb)) !important; + border-radius: 0 !important; + box-shadow: var(--adw-card-shadow) !important; + border: none !important; + min-height: var(--adw-row-height) !important; + box-sizing: border-box !important; + padding: 4px 12px !important; + font-family: var(--adw-text-font) !important; + font-size: var(--adw-text-row-title-size) !important; + font-weight: var(--adw-text-row-title-weight) !important; + text-transform: none !important; + line-height: normal !important; + letter-spacing: normal !important; + transition: var(--adw-button-transition) !important; + margin: 0 0 1px 0 !important; + justify-content: center !important; + position: relative !important; + overflow: hidden !important; + flex: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysharedcomponents_FamilyMemberRow_3QkkY:nth-child(2), +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3QkkYqYUNkuL-1EOrIbEhB:nth-child(2) +{ + border-top-left-radius: var(--adw-card-radius) !important; + border-top-right-radius: var(--adw-card-radius) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysharedcomponents_FamilyMemberRow_3QkkY:nth-last-child(2), +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3QkkYqYUNkuL-1EOrIbEhB:nth-last-child(2) +{ + border-bottom-left-radius: var(--adw-card-radius) !important; + border-bottom-right-radius: var(--adw-card-radius) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysharedcomponents_FamilyMemberRow_3QkkY:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3QkkYqYUNkuL-1EOrIbEhB:hover +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-hover-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysharedcomponents_FamilyMemberRow_3QkkY:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3QkkYqYUNkuL-1EOrIbEhB:active +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-active-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysharedcomponents_FamilyMemberRow_3QkkY a.familysharedcomponents_ProfileLink_iKwt8, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3QkkYqYUNkuL-1EOrIbEhB a.iKwt8JWlzzFgS6UsereGW +{ + flex-grow: 1 !important; + cursor: default !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.familysettings_FamilyGroup_3RNLm div.familysharedcomponents_FamilyMemberRow_3QkkY div.familysharedcomponents_RoleAndIcon_1VP1W, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3RNLmzBdpcg55exL2SwhT1 div._3QkkYqYUNkuL-1EOrIbEhB div._1VP1WperM9AtlP6cNIYFHK +{ + order: 1 !important; +} + /* Notification settings: table header */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"][class*="notificationssettings_ToggleHeader_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La[class*="notificationssettings_ToggleHeader_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI._33Q-MOeBz52WPV0tuTqKy { min-height: auto !important; @@ -194,17 +332,481 @@ body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI._33Q-MOeBz5 } /* Notification settings: revert switch area expansion */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="notificationssettings_Toggles_"] div[class*="gamepaddialog_Toggle_"]::before, -body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._27r3CjIYhU20TsukVgm25C div._24G4gV0rYtRbebXM44GkKk::before +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="notificationssettings_Toggles_"] div[class*="gamepaddialog_Toggle_"]::before, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._27r3CjIYhU20TsukVgm25C div._24G4gV0rYtRbebXM44GkKk::before, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE div[class*="gamepaddialog_Toggle_"]::before, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 div._24G4gV0rYtRbebXM44GkKk::before +{ + content: none !important; +} + +/* Notification settings: expandable rows */ +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 +{ + border: none !important; + background: none !important; + padding: 0 !important; + margin: 0 0 1px 0 !important; + border-radius: 0 !important; + overflow: hidden; !important; + box-shadow: var(--adw-card-shadow) !important; + transition: height 200ms var(--adw-base-transition-curve) !important; + height: var(--adw-row-height) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE.notificationssettings_NotificationGroupExpanded_21Uc0, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1._21Uc0N6TIRIw4LIZzQnsdE +{ + height: calc(var(--adw-row-height) * 3) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE:first-child, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1:first-child, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_Subheader_31RJy + div.notificationssettings_NotificationGroup_2KFeE, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._31RJyFXKo0KWIm1cS4INFH + div._2KFeE_s51aT07ohdMu_ZH1 +{ + border-top-left-radius: var(--adw-card-radius) !important; + border-top-right-radius: var(--adw-card-radius) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE:last-child, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1:last-child +{ + border-bottom-left-radius: var(--adw-card-radius) !important; + border-bottom-right-radius: var(--adw-card-radius) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationSection_BRmrC, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div.BRmrC-jnwpXqye4oYB21C, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7 > div.DialogCheckbox_Container, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz > div.DialogCheckbox_Container +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-opacity)) !important; + color: rgb(var(--adw-card-fg-rgb)) !important; + border-radius: 0 !important; + box-shadow: none !important; + border: none !important; + height: var(--adw-row-height) !important; + box-sizing: border-box !important; + padding: 4px 12px !important; + font-family: var(--adw-text-font) !important; + font-size: var(--adw-text-row-title-size) !important; + font-weight: var(--adw-text-row-title-weight) !important; + text-transform: none !important; + line-height: normal !important; + letter-spacing: normal !important; + transition: var(--adw-button-transition) !important; + margin: 0 0 1px 0 !important; + justify-content: center !important; + position: relative !important; + overflow: hidden !important; + flex: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationSection_BRmrC:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div.BRmrC-jnwpXqye4oYB21C:hover +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-hover-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationSection_BRmrC:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div.BRmrC-jnwpXqye4oYB21C:active +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-active-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE p.notificationssettings_NotificationDescription_1ifM6, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 p._1ifM6luJEQ5H2O1Y3S6F_R, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7 > div.DialogCheckbox_Container div.DialogToggle_Label, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz > div.DialogCheckbox_Container div.DialogToggle_Label +{ + padding: 0 !important; + margin: 0 !important; + color: rgb(var(--adw-card-fg-rgb)) !important; + font-family: var(--adw-text-font) !important; + font-size: var(--adw-text-row-title-size) !important; + font-weight: var(--adw-text-row-title-weight) !important; + line-height: normal !important; + letter-spacing: normal !important; + display: flex !important; + align-self: center !important; + order: 1 !important; + flex-grow: 1 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE div.gamepaddialog_Field_S-_La, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 div.S-_LaQG5eEOM2HWZ-geJI, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE div.gamepaddialog_Field_S-_La:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 div.S-_LaQG5eEOM2HWZ-geJI:hover, +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE div.gamepaddialog_Field_S-_La:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 div.S-_LaQG5eEOM2HWZ-geJI:active +{ + background: none !important; + box-shadow: none !important; + padding: 0 !important; + margin: 0 24px 0 0 !important; + min-height: auto !important; + order: 2 !important; + z-index: 1 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE div.gamepaddialog_Field_S-_La div.gamepaddialog_FieldChildrenWithIcon_2ZQ9w, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 div.S-_LaQG5eEOM2HWZ-geJI div._2ZQ9wHACVFqZcufK_WRGPM +{ + right: 0 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE button.notificationssettings_PrefDetailsToggle_3aB-C, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 button._3aB-C2eTsfVtvZR5sC9N_r +{ + position: absolute !important; + width: auto !important; + height: auto !important; + left: 0 !important; + right: 0 !important; + top: 0 !important; + bottom: 0 !important; + margin: 0 !important; + padding: 4px 12px !important; + cursor: default !important; + background: none !important; + box-shadow: none !important; + display: flex !important; + align-items: center !important; + justify-content: end !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE button.notificationssettings_PrefDetailsToggle_3aB-C > svg, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 button._3aB-C2eTsfVtvZR5sC9N_r > svg +{ + display: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE button.notificationssettings_PrefDetailsToggle_3aB-C::before, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 button._3aB-C2eTsfVtvZR5sC9N_r::before { content: none !important; } +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE button.notificationssettings_PrefDetailsToggle_3aB-C::after, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 button._3aB-C2eTsfVtvZR5sC9N_r::after +{ + content: ""; + background-color: rgba(var(--adw-card-fg-rgb), 0.5); + display: block; + width: 16px; + height: 16px; + -webkit-mask-repeat: no-repeat; + -webkit-mask-position: center; + -webkit-mask-size: 16px; + -webkit-mask-image: var(--adw-icon-expander-arrow); + transform: rotate(180deg); + transition: background-color 200ms var(--adw-base-transition-curve), transform 200ms var(--adw-base-transition-curve); +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE.notificationssettings_NotificationGroupExpanded_21Uc0 button.notificationssettings_PrefDetailsToggle_3aB-C::after, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1._21Uc0N6TIRIw4LIZzQnsdE button._3aB-C2eTsfVtvZR5sC9N_r::after +{ + background-color: rgb(var(--adw-accent-rgb)); + transform: rotate(0deg); +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz +{ + background: none !important; + padding: 0 !important; + flex-direction: column !important; + height: calc(var(--adw-row-height) * 2) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7 > div.DialogCheckbox_Container, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz > div.DialogCheckbox_Container +{ + background: rgba(var(--adw-card-bg-rgb), calc(var(--adw-card-opacity) * 0.5)) !important; + justify-content: start !important; + padding: 4px 12px 4px 56px !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7 > div.DialogCheckbox_Container:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz > div.DialogCheckbox_Container:hover +{ + background: rgba(var(--adw-card-bg-rgb), calc(var(--adw-card-hover-opacity) - var(--adw-card-opacity) * 0.5)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7 > div.DialogCheckbox_Container:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz > div.DialogCheckbox_Container:active +{ + background: rgba(var(--adw-card-bg-rgb), calc(var(--adw-card-active-opacity) - var(--adw-card-opacity) * 0.5)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7 > div.DialogCheckbox_Container:has(.DialogCheckbox.Disabled), +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz > div.DialogCheckbox_Container:has(.DialogCheckbox.Disabled) +{ + opacity: var(--adw-disabled-opacity) !important; + pointer-events: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.notificationssettings_NotificationGroup_2KFeE > div.notificationssettings_NotificationPrefDetails_1u5y7 > div.DialogCheckbox_Container .DialogCheckbox, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._2KFeE_s51aT07ohdMu_ZH1 > div._1u5y7VbwvOwncjMsMqnFUz > div.DialogCheckbox_Container .DialogCheckbox +{ + position: absolute !important; + left: 17px !important; + top: 17px !important; + width: 20px !important; + height: 20px !important; +} + +/* Library action buttons */ +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.librarysettings_ActionSection_RoSh6, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.RoSh6WoygUX6LLAoB20f3 +{ + flex-direction: column !important; + gap: 12px !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.librarysettings_ActionSection_RoSh6 button.settings_SettingsDialogButton_3epr8, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.RoSh6WoygUX6LLAoB20f3 button._3epr8QYWw_FqFgMx38YEEm +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-opacity)) !important; + color: rgb(var(--adw-card-fg-rgb)) !important; + border-radius: var(--adw-card-radius) !important; + box-shadow: var(--adw-card-shadow) !important; + border: none !important; + height: 46px !important; + box-sizing: border-box !important; + padding: 4px 12px !important; + font-family: var(--adw-text-font) !important; + font-size: var(--adw-text-title3-size) !important; + font-weight: var(--adw-text-title3-weight) !important; + text-transform: none !important; + line-height: normal !important; + letter-spacing: normal !important; + transition: var(--adw-button-transition) !important; + margin: 0 !important; + overflow: hidden !important; + width: auto !important; + cursor: default !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.librarysettings_ActionSection_RoSh6 button.settings_SettingsDialogButton_3epr8:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.RoSh6WoygUX6LLAoB20f3 button._3epr8QYWw_FqFgMx38YEEm:hover +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-hover-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.librarysettings_ActionSection_RoSh6 button.settings_SettingsDialogButton_3epr8:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.RoSh6WoygUX6LLAoB20f3 button._3epr8QYWw_FqFgMx38YEEm:active +{ + background: rgba(var(--adw-card-bg-rgb), var(--adw-card-active-opacity)) !important; +} + +/* Controller: tabs */ +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb +{ + background: rgb(var(--adw-window-bg-rgb)) !important; + position: fixed !important; + top: 0 !important; + height: 46px !important; + box-sizing: border-box !important; + width: calc(600px - 2 * var(--adw-windowcontrols-close-margin-right)) !important; + margin-left: var(--adw-windowcontrols-close-margin-right) !important; + z-index: 2 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_FixCenterAlignScroll_1CJeU, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._1CJeU7emnRNSJ8Xk3Leavm +{ + column-gap: 3px !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI +{ + background: none !important; + border-radius: var(--adw-button-radius) !important; + height: 34px !important; + box-sizing: border-box !important; + cursor: default !important; + padding: 2px 12px !important; + gap: 6px !important; + -webkit-app-region: no-drag !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI:hover +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-hover-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI:active +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-active-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS.gamepadtabbedpage_Selected_3Gp1b, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI._3Gp1bACHx__POxmy6Gd3kG +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-selected-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS.gamepadtabbedpage_Selected_3Gp1b:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI._3Gp1bACHx__POxmy6Gd3kG:hover +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-selected-hover-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS.gamepadtabbedpage_Selected_3Gp1b:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI._3Gp1bACHx__POxmy6Gd3kG:active +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-selected-active-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS span.gamepadtabbedpage_TabIcon_3Ebb3, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI span._3Ebb3ha_Q86-lxguhjfyE1 +{ + color: rgb(var(--adw-window-fg-rgb)) !important; + width: 16px !important; + height: 16px !important; + padding: 0 !important; + margin: 0 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepadtabbedpage_TabRow_19z_5 div.gamepadtabbedpage_Tab_3eEbS span.gamepadtabbedpage_TabTitle_1nq0i, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._19z_50-qWZWxcgXfWNtSWb div._3eEbSktrstBdLk0dVpnKVI span._1nq0ibcuVEbRv0z_wk9pIQ +{ + color: rgb(var(--adw-window-fg-rgb)) !important; + font-family: var(--adw-text-font) !important; + font-size: var(--adw-text-title3-size) !important; + font-weight: var(--adw-text-title3-weight) !important; + line-height: 24px !important; + text-transform: none !important; + letter-spacing: normal !important; +} + +/* Controller: Nintendo Switch layout row */ +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.controllersettings_NintendoSwitchLayoutToggle_3Q8Vc, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3Q8Vc4HcvrUZVLqnC1hTXT +{ + position: relative !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.controllersettings_NintendoSwitchLayoutToggle_3Q8Vc div.gamepaddialog_Field_S-_La, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3Q8Vc4HcvrUZVLqnC1hTXT div.S-_LaQG5eEOM2HWZ-geJI +{ + border-radius: 0 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.controllersettings_NintendoSwitchLayoutToggle_3Q8Vc div.gamepaddialog_Field_S-_La div.gamepaddialog_FieldLabel_3b0U-, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3Q8Vc4HcvrUZVLqnC1hTXT div.S-_LaQG5eEOM2HWZ-geJI div._3b0U-QDD-uhFpw6xM716fw +{ + margin-top: -8px !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.controllersettings_NintendoSwitchLayoutToggle_3Q8Vc div.gamepaddialog_Field_S-_La div.gamepaddialog_FieldLabel_3b0U- > div.gamepaddialog_FieldIcon_1sC68, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3Q8Vc4HcvrUZVLqnC1hTXT div.S-_LaQG5eEOM2HWZ-geJI div._3b0U-QDD-uhFpw6xM716fw > div._1sC68UJqI3ry5Gnk5cnH9U +{ + margin-top: 8px !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.controllersettings_NintendoSwitchLayoutToggle_3Q8Vc span.controllersettings_NintendoSwitchLayoutToggleDesc_3J9Od, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3Q8Vc4HcvrUZVLqnC1hTXT span._3J9OdCswxSe0Vguxo8A17n +{ + position: absolute !important; + left: 56px !important; + top: 30px !important; + color: rgba(var(--adw-card-fg-rgb), var(--adw-dim-label-opacity)) !important; + font-family: var(--adw-text-font) !important; + font-size: var(--adw-text-row-subtitle-size) !important; + font-weight: var(--adw-text-row-subtitle-weight) !important; + line-height: normal !important; + letter-spacing: normal !important; + pointer-events: none !important; +} + +/* Controller: layout row buttons */ +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn +{ + gap: 6px !important; + min-width: auto !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C button.DialogButton, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn button.DialogButton +{ + cursor: default !important; + border-radius: var(--adw-button-radius) !important; + box-sizing: border-box !important; + width: 34px !important; + height: 34px !important; + min-width: auto !important; + min-height: auto !important; + padding: 9px !important; + margin: 0 !important; + transition: var(--adw-button-transition) !important; + color: rgb(var(--adw-window-fg-rgb)) !important; + background: transparent !important; + box-shadow: none !important; + text-indent: -9999px !important; + font-size: 0 !important; + line-height: 0 !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C button.DialogButton:hover, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn button.DialogButton:hover +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-hover-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C button.DialogButton:active, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn button.DialogButton:active +{ + background: rgba(var(--adw-window-fg-rgb), var(--adw-active-opacity)) !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C button.DialogButton > svg, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn button > svg +{ + display: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C button.DialogButton::after, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn button.DialogButton::after +{ + background-color: rgb(var(--adw-window-fg-rgb)); + content: ""; + display: block; + width: 16px; + height: 16px; + -webkit-mask-repeat: no-repeat; + -webkit-mask-position: center; + -webkit-mask-size: 16px; + box-shadow: none !important; +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C button.DialogButton.settings_SettingsDialogButton_3epr8::after, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn button.DialogButton._3epr8QYWw_FqFgMx38YEEm::after +{ + -webkit-mask-image: var(--adw-icon-edit); +} + +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.settings_BuiltInLayoutButtons_3KH4C button.DialogButton.settings_BuiltInLayoutButton_30Og7::after, +body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div._3KH4CAWiBX2hESrbRk4DBn button.DialogButton._30Og77vH37EtqaKCCDIAP9::after +{ + -webkit-mask-image: var(--adw-icon-more); +} + /* Hidden widgets */ -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] div[class*="friendssettings_FakeFriend_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La div[class*="friendssettings_FakeFriend_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI div._3oeHwxQTKDkPcxDhz8jbhM, -body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div[class*="gamepaddialog_Field_"] svg[class*="desktopsecuritysettings_SteamGuardIcon_"], +body.DesktopUI div.pagedsettings_PagedSettingsDialog_3I6h_ div.gamepaddialog_Field_S-_La svg[class*="desktopsecuritysettings_SteamGuardIcon_"], body.DesktopUI div._3I6h_oySuLmmLY9TjIKT9s div.S-_LaQG5eEOM2HWZ-geJI svg.eYz3vzuTb_a2I4dRJ-vf9 { display: none !important; -} \ No newline at end of file +} diff --git a/install.py b/install.py index 55a7078..55787a7 100755 --- a/install.py +++ b/install.py @@ -10,7 +10,7 @@ # Platform Specific if platform == "win32": - WINDOWS_RUN = True + is_windows = True TEXT_BOLD = "" TEXT_BLUE = "" @@ -24,7 +24,7 @@ TEXT_CROSS = "" TEXT_INFO = "" else: - WINDOWS_RUN = False + is_windows = False TEXT_BOLD = "\033[1m" TEXT_BLUE = "\033[1;34m" @@ -45,7 +45,7 @@ TARGET_NORMAL = "~/.steam/steam" TARGET_FLATPAK = "~/.var/app/com.valvesoftware.Steam/.steam/steam" -TARGET_WINDOWS = "C:/Program Files (x86)/Steam" +TARGET_WINDOWS = "C:\\Program Files (x86)\\Steam" STEAM_LOOPBACK = "https://steamloopback.host" STEAM_LOOPBACK_ADWAITA = f"{STEAM_LOOPBACK}/{ADWAITA_DIR}" @@ -62,7 +62,6 @@ LIBRARY_ROOT_CSS = "libraryroot.custom.css" CUSTOM_CSS = "custom.css" - adwaitadir = Path(ADWAITA_DIR) colorthemedir = Path(COLOR_THEME_DIR) customdir = Path(CUSTOM_DIR) @@ -113,7 +112,8 @@ "css/dialogs/pagedsettings/rows.css", "css/dialogs/login.css", - "css/dialogs/settings.css" + "css/dialogs/settings.css", + "css/dialogs/appproperties.css" ] @@ -205,7 +205,7 @@ def patch_client_css(target: Path, name: str): if css_file.readline().strip() == STEAM_PATCHED_HEADER: return - orig_css = target_css.rename(target_css.with_suffix(".original.css")) + orig_css = target_css.replace(target_css.with_suffix(".original.css")) name = target_css.stem css_dir = "css" @@ -270,7 +270,7 @@ def dev_reload(target: Path): if args.target is None: args.target = ["normal", "flatpak"] - if WINDOWS_RUN: + if is_windows: args.target = ["windows"] if args.list_options: @@ -290,7 +290,6 @@ def dev_reload(target: Path): if not test.with_suffix(".css").exists(): raise SystemExit(f"{TEXT_RED}{TEXT_CROSS} {TEXT_BOLD}{test}{TEXT_RESET}{TEXT_RED} theme not found.{TEXT_RESET}") - with TemporaryDirectory() as tmpdir: tmp = Path(tmpdir) @@ -311,7 +310,12 @@ def dev_reload(target: Path): elif t == "flatpak": targets.add(Path(TARGET_FLATPAK).expanduser().resolve()) elif t == "windows": - targets.add(Path(TARGET_WINDOWS)) + try: + import winreg + reg_path = winreg.QueryValueEx(winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, "SOFTWARE\\WOW6432Node\\Valve\\Steam"), "InstallPath")[0] + targets.add(Path(reg_path).resolve()) + except: + targets.add(Path(TARGET_WINDOWS).resolve()) else: targets.add(Path(t).expanduser().resolve()) diff --git a/theme.json b/theme.json index 6991930..57e9d91 100644 --- a/theme.json +++ b/theme.json @@ -1,7 +1,7 @@ { "name": "Adwaita for Steam", "author": "tk", - "version": "v2.1", + "version": "v2.2", "manifest_version": 8, "description": "A skin to make Steam look more like a native GNOME app", "target": "Desktop", @@ -52,7 +52,8 @@ "adwaita/css/dialogs/pagedsettings/rows.css": ["all"], "adwaita/css/dialogs/login.css": ["all"], - "adwaita/css/dialogs/settings.css": ["all"] + "adwaita/css/dialogs/settings.css": ["all"], + "adwaita/css/dialogs/appproperties.css": ["all"] }, "patches": { "Color Theme": {