From bb0c8d7ef101130deb5f4842294bbee87e7eb51b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 5 Feb 2021 17:11:08 +0100 Subject: icon outline + account settings --- components/gameSettings.tsx | 4 ++-- pages/settings.tsx | 47 ++++++++++++++++++++++++++++++--------------- styles/global.css | 2 +- 3 files changed, 34 insertions(+), 19 deletions(-) diff --git a/components/gameSettings.tsx b/components/gameSettings.tsx index fab1d55..0b30801 100644 --- a/components/gameSettings.tsx +++ b/components/gameSettings.tsx @@ -5,7 +5,7 @@ import { Button, Vierkant, CheckBox, Input } from './ui'; import { DialogBox } from './dialogBox'; import { ruleset, userPreferences } from '../api/api'; -import BuildRoundedIcon from '@material-ui/icons/BuildRounded'; +import BuildOutlinedIcon from '@material-ui/icons/BuildOutlined'; type CurrentGameSettingsStateType = { @@ -76,7 +76,7 @@ export class CurrentGameSettings extends Component { right: 0, transform: "translateY(-50%)" }} onclick={this.showEditGameRules}> - + {props.icon} } -var SettingsSectionStyle: CSSProperties = { width: "calc(100% - 12px)" }; -var SettingsSubsectionStyle: CSSProperties = { marginTop: 24 }; - export default function SettingsPage() { return (
@@ -43,27 +44,41 @@ export default function SettingsPage() { Instellingen -

Account

+

Account

}/>
- }/> -
+ }/> +
Gebruikersnaam -

Gebruikersnaam

+

Hier staat hij dan

+
+
+
+ }/> + }/> +
+ Email +

******@example.com

+
+
+
+ }/> +
+ Wachtwoord
-

Kleuren

+

Kleuren

-

Standaard spelregels

- +

Standaard spelregels

+
+ +
diff --git a/styles/global.css b/styles/global.css index d8c13ac..a59d911 100644 --- a/styles/global.css +++ b/styles/global.css @@ -40,7 +40,7 @@ a { color: var(--text); } .CenteredPageInner > * { text-align: left; } /* line height reset */ -h1, h2, p, span, td, th { +h1, h2, p, b, span, td, th { margin: 0; line-height: 1.2; } -- cgit v1.2.3