Skip to content

Commit

Permalink
fix: search bar and small patches, screenshots (#15)
Browse files Browse the repository at this point in the history
* fix: search bar and small patches

* Other tweaks

* focus ring patches

* fix: more small bugs, screenshots

* lint
  • Loading branch information
milogert authored Dec 23, 2023
1 parent ba1411b commit 27c0731
Show file tree
Hide file tree
Showing 13 changed files with 125 additions and 8 deletions.
4 changes: 4 additions & 0 deletions steam-deck/Components.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
color: var(--srcery-white);
}

.gamepadpagedsettings_ContentTransition_NCmol .gamepaddialog_Field_S-_La .networksettings_Checkmark_x5D0R {
color: var(--srcery-green);
}

.gamepadpagedsettings_ContentTransition_NCmol .gamepaddialog_Field_S-_La .networksettings_LockIcon_1oafX.networksettings_LargerIcon_14aKC {
color: var(--srcery-xgray6);
}
Expand Down
4 changes: 0 additions & 4 deletions steam-deck/Custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
background: var(--srcery-blue);
}

.searchbar_SearchFieldBackground_3F4YR.searchbar_WhiteBackground_1l8js {
background: var(--srcery-bright-white);
}

.appdetailssection_Highlight_38t1m.appdetailsachievementssection_HighlightDiv_2xTb6,
.appdetailssection_Highlight_38t1m.appdetailstradingcardssection_BadgeSection_3g3jm {
background-color: var(--srcery-xgray4);
Expand Down
2 changes: 1 addition & 1 deletion steam-deck/add-friend.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
color: var(--srcery-bright-white);
}

.friendslist_InvitesListWrapper_2AblE .friendinvites_Caption__XK9j
.friendslist_InvitesListWrapper_2AblE .friendinvites_Caption__XK9j,
.friendslist_InvitesListWrapper_2AblE .friendinvites_InvitesSectionHeader_3B_sJ {
color: var(--srcery-white);
}
33 changes: 33 additions & 0 deletions steam-deck/home-page.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
/* Carousel stuff */

.basicgamecarousel_TextBoxCarouselContents_3bvCH.basicgamecarousel_BasicGameCarouselItemMediaContainer_1HIFN.Panel.Focusable.gpfocus.gpfocuswithin {
color: var(--srcery-bright-white);
}

.basicgamecarousel_BasicGameCarouselItem_3YYQ9 .basicgamecarousel_TextBoxCarouselContents_3bvCH {
background: linear-gradient(313deg, var(--srcery-xgray1), var(--srcery-xgray6));
}

@keyframes appportrait_fadeOutline_1FLuV {
0% {
outline-color: var(--srcery-xgray3);
}

100% {
outline-color: var(--srcery-bright-black);
}
}

@keyframes appportrait_blinker_2tSbN {
50% {
outline: 2px solid var(--srcery-bright-white);
}
}

.BasicUI .appportrait_LibraryItemBox_WYgDg.Focusable:focus,
.appportrait_LibraryItemBox_WYgDg.appportrait_Portrait_1Pf6J.appportrait_InRecentGames_biTV-.appportrait_BasicMode_3vi6S.Panel.Focusable.gpfocus.gpfocuswithin {
box-shadow: 0 16px 24px 0 var(--srcery-hard-black);
outline: 2px solid var(--srcery-bright-black);
}

.BasicUI .basicappdetailssectionstyler_AppDetailsRoot_3fp5y {
background: transparent;
}
Expand Down Expand Up @@ -124,6 +156,7 @@
.gamepadhomefriends_GoToFriends_MVc_6,
.gamepadhomefriends_InGameGame_KLo2n {
background: var(--srcery-xgray3);
color: var(--srcery-bright-white);
}

.gamepadhomefriends_FavoriteFriend_3SLpz:focus,
Expand Down
9 changes: 9 additions & 0 deletions steam-deck/modals/fullscreen-modals.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@
margin-left: 10%;
}

.gamepadcontextmenu_contextMenuContents_sIgB- + .gamepadcontextmenu_contextMenuContents_sIgB- {
margin-left: 10px;
margin-top: 5px;
}

.gamepadcontextmenu_contextMenuFade_3jmEJ {
display: none;
}

/* Allign menu to left */
.basiccontextmenu_BasicContextMenuContainer_2dUDj,
.gamepadcontextmenu_BasicContextMenuContainer_2ZDB6 {
Expand Down
2 changes: 1 addition & 1 deletion steam-deck/pill-menus.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

/* Friends playing pills label */
.appdetailsfriendssection_FriendsPlayingNowBadge_38sNQ.appdetailsfriendssection_InFriendsTab_15Vpl {
.appdetailsfriendssection_FriendsPlayingNowBadge_38sNQ.appdetailsfriendssection_InFriendsTab_15Vpl.appdetailsfriendssection_TabSelected_mHKj- {
color: var(--srcery-bright-white);
background-color: var(--srcery-green);
}
Expand Down
44 changes: 43 additions & 1 deletion steam-deck/quick-access-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
color: var(--srcery-bright-black);
}

.gpfocus.quickaccessmenu_Tab_1S76C.quickaccessmenu_Selected_2QHMu svg {
.quickaccessmenu_Tab_1S76C.quickaccessmenu_Selected_2QHMu.gpfocus svg {
color: var(--srcery-bright-white);
}

Expand Down Expand Up @@ -139,3 +139,45 @@
.gamepaddialog_Field_S-_La.gpfocus.gpfocuswithin .quickaccesscontrols_BatterySectionContainer_3h5MR .quickaccesscontrols_BatteryIcon_39aNh svg path:first-child {
fill: var(--srcery-black);
}

/* Notifications */

#QuickAccess-Menu .standardtemplates_NewIndicator_3aotN svg {
color: var(--srcery-green);
}

.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_PinnedTemplate_2eBei .standardtemplates_PinnedBody_1Ljgv,
#QuickAccess-Menu .quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_StandardTemplate_3e_DB .standardtemplates_Icon_19g_L > svg,
#QuickAccess-Menu .quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_PinnedTemplate_2eBei .standardtemplates_Icon_19g_L > svg,
.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_StandardTemplate_3e_DB .standardtemplates_Title_1WlRE,
.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_PinnedTemplate_2eBei .standardtemplates_Title_1WlRE,
.quickaccessmenu_QuickAccessMenu_V0cr- .notificationcontent_AchievementTextSection_mJ3Nu .notificationcontent_Name_1juF1 {
color: var(--srcery-bright-white);
filter: var(--srcery-bright-white-filter);
}

.quickaccessmenu_QuickAccessMenu_V0cr- .notificationcontent_Timestamp_3q7nN,
.quickaccessmenu_QuickAccessMenu_V0cr- .notificationcontent_TimestampDesktop_1N5mc,
.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_StandardTemplate_3e_DB .standardtemplates_Timestamp_2vSvC,
.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_PinnedTemplate_2eBei .standardtemplates_Timestamp_2vSvC {
color: var(--srcery-xgray6);
}

.quickaccessmenu_QuickAccessMenu_V0cr- .BasicUI .notificationcontent_AchievementTextSection_mJ3Nu .notificationcontent_Desc_2zm3G,
.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_StandardTemplate_3e_DB .standardtemplates_StandardNotificationDescription_1Ldq1,
.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_PinnedTemplate_2eBei .standardtemplates_StandardNotificationDescription_1Ldq1 {
color: var(--srcery-white);
}

.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_StandardTemplate_3e_DB .standardtemplates_StandardNotificationSubText_2XcN2,
.quickaccessmenu_QuickAccessMenu_V0cr- .standardtemplates_PinnedTemplate_2eBei .standardtemplates_StandardNotificationSubText_2XcN2 {
color: var(--srcery-bright-black);
}

.quickaccessmenu_QuickAccessMenu_V0cr- .progressbar_ProgressBar_1-nHj {
background-color: var(--srcery-xgray3);
}

.quickaccessmenu_QuickAccessMenu_V0cr- .progressbar_ProgressBar_1-nHj .progressbar_Percent_2_0Jo {
background-color: var(--srcery-blue) !important;
}
Binary file added steam-deck/screenshots/00-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added steam-deck/screenshots/01-carousel.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added steam-deck/screenshots/02-game.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added steam-deck/screenshots/03-game-full.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions steam-deck/system.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

#header .searchbar_SearchAndTitleContainer_17M8g.searchbar_ForceExpanded_1bmuJ:not(.gpfocuswithin) .searchbar_SearchFieldBackground_3F4YR.searchbar_WhiteBackground_1l8js,
#header .searchbar_SearchAndTitleContainer_17M8g.searchbar_ShowingSearch_NMb_F:not(.searchbar_VR_35hhe):hover .searchbar_SearchFieldBackground_3F4YR.searchbar_WhiteBackground_1l8js,
#header .searchbar_SearchAndTitleContainer_17M8g .searchbar_SearchFieldBackground_3F4YR,
#header .searchbar_SearchBox_2a1-s.gpfocus,
#header .searchbar_SearchBox_2a1-s.gpfocus::placeholder,
#header .searchbar_SearchAndTitleContainer_17M8g.searchbar_ForceExpanded_1bmuJ .searchbar_SearchBox_2a1-s::placeholder,
#header .searchbar_SearchAndTitleContainer_17M8g.searchbar_ForceExpanded_1bmuJ .searchbar_SearchBox_2a1-s {
color: var(--srcery-bright-white);
background-color: var(--srcery-bright-black);
Expand Down Expand Up @@ -99,3 +102,33 @@
.audio_VolumePopin_2iUUM .gamepadslider_SliderTrackDark_3UIUD::before {
background: var(--srcery-blue);
}

/* Focus Ring */

@keyframes srcery-focusring_flash_1YTKZ {
0% {
background-color: rgba(255 255 255 / 8%);
}

100% {
background-color: transparent;
}
}

@keyframes srcery-focusring_fadeOutline_2hZu3 {
0% {
outline-color: var(--srcery-xgray3);
}

100% {
outline-color: var(--srcery-bright-black);
}
}

.focusring_FocusRingRoot_3PH_X .focusring_FocusRing_1IZrQ {
animation: srcery-focusring_flash_1YTKZ .5s ease,
focusring_growOutline_Z3LxS .4s ease,
srcery-focusring_fadeOutline_2hZu3 .4s ease,
focusring_blinker_3wFMM 1.2s ease-in-out .4s 20;
outline: 2px solid var(--srcery-bright-black);
}
2 changes: 1 addition & 1 deletion steam-deck/theme.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Srcery",
"author": "milogert",
"version": "v0.5.1",
"version": "v0.6.1",
"manifest_version": 7,
"inject": {
"shared.css": [ "All" ],
Expand Down

0 comments on commit 27c0731

Please sign in to comment.