diff --git a/frontend/src/components/PlatformSelect/PlatformSelect.module.scss b/frontend/src/components/PlatformSelect/PlatformSelect.module.scss deleted file mode 100644 index 394cde691..000000000 --- a/frontend/src/components/PlatformSelect/PlatformSelect.module.scss +++ /dev/null @@ -1,67 +0,0 @@ -.container { - list-style: none; - - display: grid; - grid-template-columns: 1fr 1fr 1fr; - gap: 8px; -} - -.platform { - flex: 1; - - display: flex; - align-items: center; - gap: 16px; - - padding: 16px; - - border: 1px solid transparent; - border-radius: 6px; - background: transparent; - color: var(--g1200); - - cursor: pointer; - user-select: none; - - white-space: nowrap; - - transition: border-color 0.1s, color 0.2s; - - svg { - width: 40px; - height: 40px; - - will-change: filter; - filter: grayscale(100%); - transition: filter 0.2s; - } - - &:hover, - &.selected { - border-color: var(--g400); - color: var(--g2000); - - svg { - filter: grayscale(0%); - } - } - - &.selected { - background: var(--g300); - } -} - -.labelContainer { - display: flex; - flex-direction: column; - gap: 2px; -} - -.consoleName { - font-weight: 500; -} - -.platformName { - font-size: 0.8em; - opacity: 0.6; -} diff --git a/frontend/src/components/PlatformSelect/PlatformSelect.tsx b/frontend/src/components/PlatformSelect/PlatformSelect.tsx index 9182e20f6..b26ccad08 100644 --- a/frontend/src/components/PlatformSelect/PlatformSelect.tsx +++ b/frontend/src/components/PlatformSelect/PlatformSelect.tsx @@ -1,7 +1,5 @@ -import clsx from "clsx"; - import { PlatformIcon } from "./PlatformIcon"; -import styles from "./PlatformSelect.module.scss"; +import clsx from "clsx"; export type Props = { platforms: { @@ -22,26 +20,50 @@ export default function PlatformSelect({ className, }: Props) { return ( -