mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 02:22:21 +00:00
frontend tweaks
This commit is contained in:
@@ -30,7 +30,7 @@ export class EditAddressbookForm extends LitElement {
|
|||||||
return html`
|
return html`
|
||||||
<button @click=${() => this.dialog.value.showModal()}>Edit addressbook</button>
|
<button @click=${() => this.dialog.value.showModal()}>Edit addressbook</button>
|
||||||
<dialog ${ref(this.dialog)}>
|
<dialog ${ref(this.dialog)}>
|
||||||
<h3>Create addressbook</h3>
|
<h3>Edit addressbook</h3>
|
||||||
<form @submit=${this.submit} ${ref(this.form)}>
|
<form @submit=${this.submit} ${ref(this.form)}>
|
||||||
<label>
|
<label>
|
||||||
Displayname
|
Displayname
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export class EditCalendarForm extends LitElement {
|
|||||||
return html`
|
return html`
|
||||||
<button @click=${() => this.dialog.value.showModal()}>Edit calendar</button>
|
<button @click=${() => this.dialog.value.showModal()}>Edit calendar</button>
|
||||||
<dialog ${ref(this.dialog)}>
|
<dialog ${ref(this.dialog)}>
|
||||||
<h3>Create calendar</h3>
|
<h3>Edit calendar</h3>
|
||||||
<form @submit=${this.submit} ${ref(this.form)}>
|
<form @submit=${this.submit} ${ref(this.form)}>
|
||||||
<label>
|
<label>
|
||||||
Displayname
|
Displayname
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ let EditAddressbookForm = class extends i {
|
|||||||
return x`
|
return x`
|
||||||
<button @click=${() => this.dialog.value.showModal()}>Edit addressbook</button>
|
<button @click=${() => this.dialog.value.showModal()}>Edit addressbook</button>
|
||||||
<dialog ${n(this.dialog)}>
|
<dialog ${n(this.dialog)}>
|
||||||
<h3>Create addressbook</h3>
|
<h3>Edit addressbook</h3>
|
||||||
<form @submit=${this.submit} ${n(this.form)}>
|
<form @submit=${this.submit} ${n(this.form)}>
|
||||||
<label>
|
<label>
|
||||||
Displayname
|
Displayname
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ let EditCalendarForm = class extends i {
|
|||||||
return x`
|
return x`
|
||||||
<button @click=${() => this.dialog.value.showModal()}>Edit calendar</button>
|
<button @click=${() => this.dialog.value.showModal()}>Edit calendar</button>
|
||||||
<dialog ${n(this.dialog)}>
|
<dialog ${n(this.dialog)}>
|
||||||
<h3>Create calendar</h3>
|
<h3>Edit calendar</h3>
|
||||||
<form @submit=${this.submit} ${n(this.form)}>
|
<form @submit=${this.submit} ${n(this.form)}>
|
||||||
<label>
|
<label>
|
||||||
Displayname
|
Displayname
|
||||||
|
|||||||
@@ -290,6 +290,7 @@ ul.collection-list {
|
|||||||
.color-chip {
|
.color-chip {
|
||||||
background: var(--color);
|
background: var(--color);
|
||||||
grid-area: color-chip;
|
grid-area: color-chip;
|
||||||
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
@@ -346,6 +347,17 @@ select {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
|
||||||
|
input[type="text"],
|
||||||
|
input[type="password"],
|
||||||
|
input[type="color"],
|
||||||
|
textarea,
|
||||||
|
select {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
svg.icon {
|
svg.icon {
|
||||||
stroke-width: 2px;
|
stroke-width: 2px;
|
||||||
color: var(--text-on-background-color);
|
color: var(--text-on-background-color);
|
||||||
|
|||||||
Reference in New Issue
Block a user