Settings
-
Everything here is stored in this browser only.
+
Edit your public profile and customise how plspace looks.
@@ -118,6 +119,10 @@
{/if}
+
+
+
+
{#each PRESETS as preset (preset.id)}
diff --git a/src/styles/forms.css b/src/styles/forms.css
index 3636c74..b4d110d 100644
--- a/src/styles/forms.css
+++ b/src/styles/forms.css
@@ -20,6 +20,7 @@ input[type='search'],
input[type='url'],
input[type='email'],
input[type='password'],
+input[type='date'],
select,
textarea {
padding: 2px 4px;
@@ -206,6 +207,124 @@ textarea {
margin-top: 6px;
}
+/* ---------------------------------------------------------- profile editor */
+
+.profile-editor {
+ display: grid;
+ gap: 10px;
+}
+
+.profile-editor fieldset {
+ min-width: 0;
+ margin: 0;
+ padding: 7px;
+ border: 1px solid var(--ms-module-border);
+}
+
+.profile-editor legend {
+ padding: 0 4px;
+ color: var(--ms-heading-fg);
+ font-weight: 700;
+}
+
+.profile-editor-bio {
+ resize: vertical;
+}
+
+.profile-editor-images {
+ display: grid;
+ gap: 8px;
+}
+
+.profile-editor-image {
+ display: grid;
+ grid-template-columns: 90px minmax(0, 1fr);
+ gap: 8px;
+ align-items: start;
+}
+
+.profile-editor-image > img,
+.profile-editor-image-placeholder {
+ display: block;
+ width: 90px;
+ height: 90px;
+ border: 1px solid var(--ms-avatar-border);
+ background: var(--ms-table-stripe-bg);
+ object-fit: cover;
+}
+
+.profile-editor-image--wide > img,
+.profile-editor-image--wide > .profile-editor-image-placeholder {
+ height: 54px;
+}
+
+.profile-editor-image-placeholder {
+ display: grid;
+ place-items: center;
+ color: var(--ms-muted-fg);
+ font-size: var(--ms-font-size-small);
+ text-align: center;
+}
+
+.profile-editor-image > div {
+ display: flex;
+ align-items: flex-start;
+ flex-wrap: wrap;
+ gap: 5px;
+}
+
+.profile-editor-image > div > strong {
+ flex-basis: 100%;
+}
+
+.profile-editor-description {
+ flex: 1 1 240px;
+}
+
+.profile-editor-fields {
+ display: grid;
+ gap: 5px;
+}
+
+.profile-editor-field {
+ display: grid;
+ grid-template-columns: minmax(100px, 1fr) minmax(160px, 2fr) auto;
+ gap: 5px;
+}
+
+.profile-editor-field input {
+ width: 100%;
+}
+
+.profile-editor-identity .field {
+ max-width: 320px;
+}
+
+@media (max-width: 520px) {
+ .profile-editor-image {
+ grid-template-columns: 70px minmax(0, 1fr);
+ }
+
+ .profile-editor-image > img,
+ .profile-editor-image-placeholder {
+ width: 70px;
+ height: 70px;
+ }
+
+ .profile-editor-image--wide > img,
+ .profile-editor-image--wide > .profile-editor-image-placeholder {
+ height: 45px;
+ }
+
+ .profile-editor-field {
+ grid-template-columns: 1fr auto;
+ }
+
+ .profile-editor-field label:first-child {
+ grid-column: 1 / -1;
+ }
+}
+
/* The CSS editor in Settings wants to be a code surface, not prose. */
.css-editor {
width: 100%;