${Localization.str.charts.playing_now}
${Localization.str.charts.peaktoday}
${Localization.str.charts.peakall}
From 730f0e549d908b50fe0cb5fa67699a572c033419 Mon Sep 17 00:00:00 2001 From: candela97 <54083835+candela97@users.noreply.github.com> Date: Thu, 14 Mar 2024 04:28:25 +0800 Subject: [PATCH] Rework FPlayers and remove remnants of steamchart --- src/css/augmentedsteam.css | 59 +++++++------------ src/html/options.html | 2 +- src/js/Content/Features/Store/App/CApp.js | 2 +- .../Features/Store/App/CustomizerFeature.js | 41 ------------- src/js/Content/Features/Store/App/FPlayers.js | 33 +++++++++++ .../Content/Features/Store/App/FSteamChart.js | 32 ---------- .../Features/Store/Common/FCustomizer.js | 28 +-------- src/js/Content/Modules/UpdateHandler.js | 1 + src/js/Core/Storage/SyncedStorage.ts | 3 +- src/js/Options/Modules/Data/OptionsSetup.js | 2 +- src/localization/en.json | 2 +- 11 files changed, 61 insertions(+), 144 deletions(-) delete mode 100644 src/js/Content/Features/Store/App/CustomizerFeature.js create mode 100644 src/js/Content/Features/Store/App/FPlayers.js delete mode 100644 src/js/Content/Features/Store/App/FSteamChart.js diff --git a/src/css/augmentedsteam.css b/src/css/augmentedsteam.css index 4a943f61d..f55caf1fb 100644 --- a/src/css/augmentedsteam.css +++ b/src/css/augmentedsteam.css @@ -245,40 +245,6 @@ img.astats_icon { background-color: #0003 !important; } -.chart-stat { - float: left; - text-align: center; - width: 120px; - margin-top: 25px; - padding-left: 15px; -} -.chart-stat span { - font-size: 1.8em; - font-weight: 300; -} - -.chart-content { - display: flex; - background-color: transparent; - width: 592px; - padding: 2px 12px; - overflow: hidden; - justify-content: space-between; - align-items: flex-end; -} - -.chart-footer { - font-size: 11px; - float: right; - padding-top: 5px; - margin-bottom: 20px; -} - -#steam-charts .chart-footer, -#steam-spy .chart-footer { - padding-right: 13px; -} - .es_each { color: #626366; font-size: 11px; @@ -1241,6 +1207,21 @@ video.highlight_movie:hover + .html5_video_overlay { font-size: 14px; } +/*************************************** + * App pages + * FPlayers + **************************************/ +.as_players { + line-height: 20px; +} +.as_players_stat { + color: #8f98a0; +} +.as_players_num { + float: right; + color: #67c1f5; +} + /*************************************** * Store and Community * add_language_warning(), @@ -2006,8 +1987,8 @@ video.highlight_movie:hover + .html5_video_overlay { } /*************************************** - * Store app pages - * addMetacriticUserScore(),addOpenCritic() + * App pages + * FMetacriticUserScore, FOpenCritic **************************************/ #game_area_userscore { margin-top: 6px; @@ -2069,8 +2050,8 @@ video.highlight_movie:hover + .html5_video_overlay { } /*************************************** - * Store app pages - * addBadgeProgress() + * App pages + * FBadgeProgress **************************************/ .es_badges_progress_block .es_cards_numbers { padding-top: 10px; @@ -2094,7 +2075,7 @@ video.highlight_movie:hover + .html5_video_overlay { } /*************************************** - * Store app pages + * App pages * FDLCCheckboxes **************************************/ #es_selected_btn { diff --git a/src/html/options.html b/src/html/options.html index 71e2691d0..ec9457be3 100644 --- a/src/html/options.html +++ b/src/html/options.html @@ -187,7 +187,7 @@