More style adjustments
This commit is contained in:
@@ -41,7 +41,6 @@
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #f6b24f;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
width: 100%;
|
||||
display: block;
|
||||
@@ -83,14 +82,22 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.chip {
|
||||
background: #c5dff1;
|
||||
background: #f1dfc5;
|
||||
color: #2c1c0d;
|
||||
padding: 4px 8px;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
min-width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
button .chip {
|
||||
cursor: pointer;
|
||||
}
|
||||
.chip.icon {
|
||||
padding: 2px;
|
||||
width: 30px;
|
||||
font-size: 18px;
|
||||
}
|
||||
.chip.danger-chip {
|
||||
background: #e0564f;
|
||||
border: 1px solid #c54740;
|
||||
|
||||
@@ -37,8 +37,6 @@
|
||||
border-radius: 10px;
|
||||
padding: 6px 10px;
|
||||
cursor: pointer;
|
||||
min-width: 44px;
|
||||
font-family: "Twemoji Country Flags", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", emoji, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="auth-title-row">
|
||||
<h2 id="auth-title" data-i18n="auth.loginHeading">Log in</h2>
|
||||
<div class="lang-switch" id="lang-switch-auth">
|
||||
<button class="lang-button" type="button" aria-label="Language" title="Language">🌐</button>
|
||||
<button class="lang-button chip icon" type="button" aria-label="Language" title="Language">🌐</button>
|
||||
<div class="lang-menu hidden">
|
||||
<button type="button" data-lang="en" title="English" data-i18n-attr="title" class="flag-button">🇺🇸</button>
|
||||
<button type="button" data-lang="de" title="Deutsch" data-i18n-attr="title" class="flag-button">🇩🇪</button>
|
||||
@@ -76,7 +76,7 @@
|
||||
</div>
|
||||
<div class="status-right">
|
||||
<div class="lang-switch" id="lang-switch-status">
|
||||
<button class="lang-button" type="button" aria-label="Language" title="Language">🌐</button>
|
||||
<button class="lang-button chip icon" type="button" aria-label="Language" title="Language">🌐</button>
|
||||
<div class="lang-menu hidden">
|
||||
<button type="button" data-lang="en" title="English" data-i18n-attr="title" class="flag-button">🇺🇸</button>
|
||||
<button type="button" data-lang="de" title="Deutsch" data-i18n-attr="title" class="flag-button">🇩🇪</button>
|
||||
|
||||
@@ -317,8 +317,8 @@ export function buildCard(
|
||||
<h3 class="card-title" title="${s.name}">${s.name}</h3>
|
||||
<div class="title-meta">
|
||||
${showAuthor && s.author ? `<span class="chip">${s.author}</span>` : ""}
|
||||
${allowEdit ? `<button class="chip" data-edit="${s.id}" type="button" title="${t("card.edit")}">✏️</button>` : ""}
|
||||
${allowDelete ? `<button class="chip danger-chip" data-delete="${s.id}" type="button" title="${t("card.delete")}">🗑️</button>` : ""}
|
||||
${allowEdit ? `<button class="chip icon" data-edit="${s.id}" type="button" title="${t("card.edit")}">✏️</button>` : ""}
|
||||
${allowDelete ? `<button class="chip icon danger-chip" data-delete="${s.id}" type="button" title="${t("card.delete")}">✕</button>` : ""}
|
||||
</div>
|
||||
</div>
|
||||
${hasExtraInfo ? `<p class="muted">` : ""}
|
||||
|
||||
Reference in New Issue
Block a user