style(frontend): apply ultracite 7.12 formatting and lint rules
This commit is contained in:
1 parent
fc4758aa0b
commit
c8e5cff871
109 files changed
+845
-817
No files matched your search
@@ -75,8 +75,8 @@
|
||||
{#if current}
|
||||
<div class="profile">
|
||||
<Avatar
|
||||
name={accountName(current)}
|
||||
colorKey={current.account_id}
|
||||
name={accountName(current)}
|
||||
size={5}
|
||||
/>
|
||||
<div class="name">{accountName(current)}</div>
|
||||
@@ -93,21 +93,21 @@
|
||||
<div class="switch">
|
||||
{#each others as account (account.account_id)}
|
||||
<button
|
||||
type="button"
|
||||
class="switch-row"
|
||||
use:ripple
|
||||
onclick={() => accounts.select(account.account_id)}
|
||||
type="button"
|
||||
use:ripple
|
||||
>
|
||||
<Avatar
|
||||
name={accountName(account)}
|
||||
colorKey={account.account_id}
|
||||
name={accountName(account)}
|
||||
size={2.25}
|
||||
/>
|
||||
<span>{accountName(account)}</span>
|
||||
{#if !account.is_active}
|
||||
<span class="tag">архив</span>
|
||||
{/if}
|
||||
<Icon name="arrow-right" size="1rem" class="chevron" />
|
||||
<Icon class="chevron" name="arrow-right" size="1rem" />
|
||||
</button>
|
||||
{/each}
|
||||
</div>
|
||||
@@ -118,8 +118,8 @@
|
||||
<SettingsItem
|
||||
icon="active-sessions"
|
||||
label="Имя устройства"
|
||||
value={deviceLabel}
|
||||
onclick={openRename}
|
||||
value={deviceLabel}
|
||||
/>
|
||||
{/if}
|
||||
<SettingsItem
|
||||
@@ -149,7 +149,7 @@
|
||||
<Dialog.Content class="dialog-content">
|
||||
<header class="dialog-head">
|
||||
<Dialog.Title class="dialog-title">Имя устройства</Dialog.Title>
|
||||
<Dialog.Close class="dialog-close" aria-label="Закрыть">
|
||||
<Dialog.Close aria-label="Закрыть" class="dialog-close">
|
||||
<Icon name="close" size="1.25rem" />
|
||||
</Dialog.Close>
|
||||
</header>
|
||||
@@ -162,11 +162,11 @@
|
||||
</p>
|
||||
<div class="input-group">
|
||||
<input
|
||||
id="device-name"
|
||||
class="form-control"
|
||||
type="text"
|
||||
id="device-name"
|
||||
maxlength={DEVICE_LIMIT}
|
||||
placeholder={DEFAULT_DEVICE}
|
||||
type="text"
|
||||
bind:value={deviceName}
|
||||
>
|
||||
<label for="device-name">Название</label>
|
||||
@@ -174,10 +174,10 @@
|
||||
</div>
|
||||
<div class="dialog-actions">
|
||||
<Button
|
||||
type="submit"
|
||||
pill
|
||||
loading={busy}
|
||||
disabled={busy || deviceName.trim().length === 0}
|
||||
loading={busy}
|
||||
pill
|
||||
type="submit"
|
||||
>
|
||||
Сохранить
|
||||
</Button>
|
||||
@@ -193,7 +193,7 @@
|
||||
<Dialog.Content class="dialog-content">
|
||||
<header class="dialog-head">
|
||||
<Dialog.Title class="dialog-title">Выйти из аккаунта?</Dialog.Title>
|
||||
<Dialog.Close class="dialog-close" aria-label="Закрыть">
|
||||
<Dialog.Close aria-label="Закрыть" class="dialog-close">
|
||||
<Icon name="close" size="1.25rem" />
|
||||
</Dialog.Close>
|
||||
</header>
|
||||
@@ -206,15 +206,15 @@
|
||||
</div>
|
||||
<div class="dialog-actions">
|
||||
<Button
|
||||
variant="text"
|
||||
pill
|
||||
onclick={() => {
|
||||
confirming = false;
|
||||
}}
|
||||
pill
|
||||
variant="text"
|
||||
>
|
||||
Отмена
|
||||
</Button>
|
||||
<Button variant="danger" pill loading={busy} onclick={logout}>
|
||||
<Button loading={busy} onclick={logout} pill variant="danger">
|
||||
Выйти
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user