diff --git a/src/renderer/src/pages/game-details/cloud-sync-files-modal/cloud-sync-files-modal.scss b/src/renderer/src/pages/game-details/cloud-sync-files-modal/cloud-sync-files-modal.scss new file mode 100644 index 00000000..9dac15e6 --- /dev/null +++ b/src/renderer/src/pages/game-details/cloud-sync-files-modal/cloud-sync-files-modal.scss @@ -0,0 +1,41 @@ +@use "../../../scss/globals.scss"; + +.cloud-sync-files-modal { + &__mapping-methods { + display: grid; + gap: globals.$spacing-unit; + grid-template-columns: repeat(2, 1fr); + } + + &__file-list { + list-style: none; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + gap: globals.$spacing-unit; + margin-top: calc(globals.$spacing-unit * 2); + } + + &__file-item { + flex: 1; + color: globals.$muted-color; + text-decoration: underline; + display: flex; + cursor: pointer; + } + + &__container { + display: flex; + flex-direction: column; + gap: globals.$spacing-unit; + } + + &__mapping-label { + margin-bottom: globals.$spacing-unit; + } + + &__custom-path { + margin-top: calc(globals.$spacing-unit * 2); + } +} diff --git a/src/renderer/src/pages/game-details/cloud-sync-files-modal/cloud-sync-files-modal.tsx b/src/renderer/src/pages/game-details/cloud-sync-files-modal/cloud-sync-files-modal.tsx index 6fd277e7..031d179e 100644 --- a/src/renderer/src/pages/game-details/cloud-sync-files-modal/cloud-sync-files-modal.tsx +++ b/src/renderer/src/pages/game-details/cloud-sync-files-modal/cloud-sync-files-modal.tsx @@ -4,7 +4,7 @@ import { cloudSyncContext, gameDetailsContext } from "@renderer/context"; import { useTranslation } from "react-i18next"; import { CheckCircleFillIcon, FileDirectoryIcon } from "@primer/octicons-react"; -import * as styles from "./cloud-sync-files-modal.css"; +import "./cloud-sync-files-modal.scss"; import { formatBytes } from "@shared"; import { useToast } from "@renderer/hooks"; import { useForm } from "react-hook-form"; @@ -96,10 +96,12 @@ export function CloudSyncFilesModal({ description={t("manage_files_description")} onClose={onClose} > -
{t("files_automatically_mapped")}
) : ( @@ -142,11 +144,11 @@ export function CloudSyncFilesModal({ /> )} -