ACP: general settings, branding, and favicon uploads

This commit is contained in:
2026-01-02 20:01:22 +01:00
parent 8604cdf95d
commit fe1015bff1
23 changed files with 1025 additions and 25 deletions

View File

@@ -216,6 +216,76 @@ a {
color: #0f1218 !important;
}
.bb-acp-general {
margin-top: 1rem;
max-width: 980px;
}
.bb-dropzone {
min-height: 120px;
border-radius: 12px;
border: 1px dashed rgba(255, 255, 255, 0.16);
background: rgba(20, 25, 36, 0.4);
display: flex;
align-items: center;
justify-content: center;
padding: 0.9rem;
cursor: pointer;
transition: border-color 0.2s ease;
}
.bb-dropzone:hover {
border-color: var(--bb-accent, #f29b3f);
}
.bb-dropzone-placeholder {
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 0.4rem;
color: var(--bb-ink-muted);
}
.bb-dropzone-placeholder i {
color: var(--bb-accent, #f29b3f);
font-size: 1.1rem;
}
.bb-dropzone-preview img {
max-height: 80px;
max-width: 100%;
object-fit: contain;
}
.bb-acp-accordion .accordion-item {
background: rgba(20, 25, 36, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
}
.bb-acp-accordion .accordion-header .accordion-button {
background: transparent;
color: var(--bb-ink);
box-shadow: none;
}
.bb-acp-accordion .accordion-button:not(.collapsed) {
color: var(--bb-accent, #f29b3f);
}
.bb-acp-accordion .accordion-button::after {
background-image: none;
background-color: var(--bb-accent, #f29b3f);
width: 1.1rem;
height: 1.1rem;
mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat center / contain;
-webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat center / contain;
}
.bb-acp-accordion .accordion-body {
background: transparent;
}
[data-bs-theme="dark"] .bb-acp-action.btn-outline-dark {
--bs-btn-color: var(--bb-accent, #f29b3f);
--bs-btn-border-color: var(--bb-accent, #f29b3f);
@@ -321,6 +391,19 @@ a {
font-size: 0.9rem;
}
.bb-topic-last {
display: inline-flex;
flex-direction: column;
gap: 0.1rem;
align-items: flex-start;
font-weight: 500;
}
.bb-topic-last-by {
color: var(--bb-ink-muted);
font-size: 0.85rem;
}
.bb-topic-title a {
color: var(--bb-accent, #f29b3f);
font-weight: 600;
@@ -448,8 +531,9 @@ a {
.bb-portal-brand {
display: flex;
align-items: flex-start;
flex-direction: column;
gap: 0.25rem;
gap: 0.9rem;
}
.bb-portal-logo {
@@ -460,6 +544,13 @@ a {
font-weight: 700;
}
.bb-portal-logo-image {
width: auto;
height: auto;
max-width: none;
max-height: none;
}
.bb-portal-tagline {
color: var(--bb-ink-muted);
font-size: 0.95rem;