From 0f5a61f92cf5851a6d1629f2d7ab4c286a6849ee Mon Sep 17 00:00:00 2001 From: S34N <12197162+S34NW@users.noreply.github.com> Date: Fri, 19 Apr 2024 20:54:35 +0100 Subject: [PATCH 1/4] alternatives to legacy -ms stuff from TGUI --- .../tgui-panel/styles/tgchat/chat-dark.scss | 2 +- .../tgui-panel/styles/tgchat/chat-light.scss | 8 +------- tgui/packages/tgui/components/NanoMap.js | 3 ++- tgui/packages/tgui/interfaces/CloningConsole.js | 3 ++- tgui/packages/tgui/interfaces/MedicalRecords.js | 3 ++- tgui/packages/tgui/interfaces/PdaPainter.js | 9 ++++++--- tgui/packages/tgui/interfaces/SecurityRecords.js | 3 ++- tgui/packages/tgui/interfaces/StripMenu.tsx | 3 ++- tgui/packages/tgui/interfaces/pda/pda_mob_hunt.js | 3 ++- tgui/packages/tgui/styles/components/Button.scss | 2 +- tgui/packages/tgui/styles/components/Flex.scss | 2 +- tgui/packages/tgui/styles/components/Input.scss | 15 +++++++++++++++ .../packages/tgui/styles/components/TextArea.scss | 7 +++++++ .../tgui/styles/interfaces/Contractor.scss | 3 ++- .../tgui/styles/interfaces/Newscaster.scss | 6 ++++-- tgui/packages/tgui/styles/layouts/TitleBar.scss | 2 +- tgui/packages/tgui/styles/themes/paper.scss | 7 +++++++ 17 files changed, 58 insertions(+), 23 deletions(-) diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss index 996aacc3bf14b..1e72f6edd8f96 100644 --- a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss +++ b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss @@ -12,7 +12,7 @@ img { margin: 0; padding: 0; line-height: 1; - -ms-interpolation-mode: nearest-neighbor; + -ms-interpolation-mode: nearest-neighbor; // TODO: Remove with 516 image-rendering: pixelated; } diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss index b2f85f3195c79..42970e8f11991 100644 --- a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss +++ b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss @@ -30,7 +30,7 @@ img { margin: 0; padding: 0; line-height: 1; - -ms-interpolation-mode: nearest-neighbor; + -ms-interpolation-mode: nearest-neighbor; // TODO: Remove with 516 image-rendering: pixelated; } @@ -183,12 +183,6 @@ a.popt { padding: 2px 0; } -.filterMessages input { -} - -.filterMessages label { -} - .icon-stack { height: 1em; line-height: 1em; diff --git a/tgui/packages/tgui/components/NanoMap.js b/tgui/packages/tgui/components/NanoMap.js index a745cd1f38c7b..318933dbbe418 100644 --- a/tgui/packages/tgui/components/NanoMap.js +++ b/tgui/packages/tgui/components/NanoMap.js @@ -118,7 +118,8 @@ export class NanoMap extends Component { top: '50%', left: '50%', transform: 'translate(-50%, -50%)', - '-ms-interpolation-mode': 'nearest-neighbor', + '-ms-interpolation-mode': 'nearest-neighbor', // TODO: Remove with 516 + 'image-rendering': 'pixelated', }; return ( diff --git a/tgui/packages/tgui/interfaces/CloningConsole.js b/tgui/packages/tgui/interfaces/CloningConsole.js index 9020d13f31b75..e7819e6d44df4 100644 --- a/tgui/packages/tgui/interfaces/CloningConsole.js +++ b/tgui/packages/tgui/interfaces/CloningConsole.js @@ -86,7 +86,8 @@ const CloningConsoleMain = (props, context) => { )} style={{ width: '100%', - '-ms-interpolation-mode': 'nearest-neighbor', + '-ms-interpolation-mode': 'nearest-neighbor', // TODO: Remove with 516 + 'image-rendering': 'pixelated', }} />