From 167bee51c8f919cd045af1992218d2a110d867de Mon Sep 17 00:00:00 2001 From: tsa96 Date: Mon, 14 Oct 2024 04:15:47 +0100 Subject: [PATCH 01/19] refactor: shorten name of utility classes I miss Tailwind --- layout/components/graphs/line-graph.xml | 2 +- layout/components/settings/slider.xml | 2 +- layout/components/settings/toggle.xml | 2 +- layout/hud/ammo.xml | 2 +- layout/hud/cgaz.xml | 12 +++---- layout/hud/chat.xml | 2 +- layout/hud/comparisons.xml | 2 +- layout/hud/conc-cook-time.xml | 6 ++-- layout/hud/conc-entities.xml | 6 ++-- layout/hud/ghost-entities.xml | 6 ++-- layout/hud/ground-boost.xml | 2 +- layout/hud/hud.xml | 2 +- layout/hud/map-info.xml | 22 ++++++------ layout/hud/replay-controls.xml | 14 ++++---- layout/hud/spec-info.xml | 8 ++--- layout/hud/spectate.xml | 12 +++---- layout/hud/speedometer.xml | 4 +-- layout/hud/status.xml | 2 +- layout/hud/sticky-charge.xml | 8 ++--- layout/hud/sticky-count.xml | 4 +-- layout/hud/strafe-sync.xml | 4 +-- layout/hud/tab-menu.xml | 2 +- layout/hud/timer.xml | 2 +- layout/hud/version-info.xml | 2 +- layout/hud/weapon-selection.xml | 4 +-- .../popups/dont-show-again-settings.xml | 12 +++---- .../modals/popups/import-export-settings.xml | 30 ++++++++-------- layout/modals/popups/lobby-create.xml | 6 ++-- layout/modals/popups/lobby-settings.xml | 8 ++--- layout/modals/popups/playtest-welcome.xml | 10 +++--- .../popups/range-color-profile-name.xml | 8 ++--- layout/modals/popups/speedometer-select.xml | 12 +++---- .../modals/toasts/custom-layout-example.xml | 2 +- layout/pages/console.xml | 8 ++--- layout/pages/controls-library.xml | 12 +++---- layout/pages/drawer/lobby.xml | 2 +- layout/pages/drawer/profile.xml | 2 +- layout/pages/end-of-run/end-of-run.xml | 6 ++-- layout/pages/leaderboards/leaderboards.xml | 12 +++---- layout/pages/learn.xml | 4 +-- layout/pages/main-menu/main-menu.xml | 8 ++--- layout/pages/main-menu/news.xml | 2 +- layout/pages/map-selector/map-entry.xml | 2 +- layout/pages/map-selector/map-selector.xml | 24 ++++++------- layout/pages/settings/audio.xml | 2 +- layout/pages/settings/gameplay.xml | 18 +++++----- layout/pages/settings/input.xml | 2 +- layout/pages/settings/interface.xml | 34 +++++++++---------- layout/pages/settings/online.xml | 8 ++--- layout/pages/settings/settings.xml | 2 +- layout/pages/settings/video.xml | 2 +- layout/pages/zoning/zoning.xml | 12 +++---- layout/util/toast-manager.xml | 2 +- scripts/hud/synchronizer.ts | 4 +-- styles/core/utility.scss | 30 ++++++++-------- 55 files changed, 210 insertions(+), 210 deletions(-) diff --git a/layout/components/graphs/line-graph.xml b/layout/components/graphs/line-graph.xml index ad8e38f9..6cfcc697 100644 --- a/layout/components/graphs/line-graph.xml +++ b/layout/components/graphs/line-graph.xml @@ -17,7 +17,7 @@ - + diff --git a/layout/components/settings/slider.xml b/layout/components/settings/slider.xml index 88d48455..d2587166 100644 --- a/layout/components/settings/slider.xml +++ b/layout/components/settings/slider.xml @@ -10,7 +10,7 @@ - + diff --git a/layout/components/settings/toggle.xml b/layout/components/settings/toggle.xml index 45e39d19..04a62db6 100644 --- a/layout/components/settings/toggle.xml +++ b/layout/components/settings/toggle.xml @@ -6,7 +6,7 @@ - + diff --git a/layout/hud/ammo.xml b/layout/hud/ammo.xml index 79c5881f..942b9c27 100644 --- a/layout/hud/ammo.xml +++ b/layout/hud/ammo.xml @@ -3,7 +3,7 @@ - + diff --git a/layout/hud/cgaz.xml b/layout/hud/cgaz.xml index 2992742b..772231a2 100644 --- a/layout/hud/cgaz.xml +++ b/layout/hud/cgaz.xml @@ -7,7 +7,7 @@ - + @@ -25,19 +25,19 @@ - + - + - + - + - + diff --git a/layout/hud/chat.xml b/layout/hud/chat.xml index 4905e95e..011720a7 100644 --- a/layout/hud/chat.xml +++ b/layout/hud/chat.xml @@ -17,7 +17,7 @@ - + diff --git a/layout/hud/comparisons.xml b/layout/hud/comparisons.xml index aabee5f5..9d2695ac 100644 --- a/layout/hud/comparisons.xml +++ b/layout/hud/comparisons.xml @@ -8,7 +8,7 @@ - + diff --git a/layout/hud/conc-cook-time.xml b/layout/hud/conc-cook-time.xml index 61a599b8..b68ee91d 100644 --- a/layout/hud/conc-cook-time.xml +++ b/layout/hud/conc-cook-time.xml @@ -7,10 +7,10 @@ - + - - diff --git a/layout/hud/conc-entities.xml b/layout/hud/conc-entities.xml index 99f77cc4..8488abd5 100644 --- a/layout/hud/conc-entities.xml +++ b/layout/hud/conc-entities.xml @@ -11,12 +11,12 @@ - - - + + diff --git a/layout/hud/ghost-entities.xml b/layout/hud/ghost-entities.xml index eaeaa637..b9f1287e 100644 --- a/layout/hud/ghost-entities.xml +++ b/layout/hud/ghost-entities.xml @@ -12,14 +12,14 @@ - + - - + + diff --git a/layout/hud/ground-boost.xml b/layout/hud/ground-boost.xml index 3179d824..c7bd4602 100644 --- a/layout/hud/ground-boost.xml +++ b/layout/hud/ground-boost.xml @@ -7,7 +7,7 @@ - + diff --git a/layout/hud/hud.xml b/layout/hud/hud.xml index d7ae99a5..56d3b9a0 100644 --- a/layout/hud/hud.xml +++ b/layout/hud/hud.xml @@ -81,7 +81,7 @@ - + diff --git a/layout/hud/map-info.xml b/layout/hud/map-info.xml index bb3c417c..e409d24d 100644 --- a/layout/hud/map-info.xml +++ b/layout/hud/map-info.xml @@ -8,34 +8,34 @@ - + - - diff --git a/scripts/pages/map-selector/map-selector.ts b/scripts/pages/map-selector/map-selector.ts index 7294e92c..63af2ad5 100644 --- a/scripts/pages/map-selector/map-selector.ts +++ b/scripts/pages/map-selector/map-selector.ts @@ -61,6 +61,7 @@ class MapSelectorHandler implements OnPanelLoad { unranked: $