This commit is contained in:
2026-08-19 21:14:42 +02:00
parent 619a6f9557
commit 63ea313742
3 changed files with 345 additions and 162 deletions

View File

@@ -17334,3 +17334,173 @@ a.lazy-thumb.filtered-upload-ghost:hover::after {
filter: brightness(0.6);
}
.edit-mode-active #inline-banner-edit-wrapper { display: block !important; }
/* Settings Direct-Editable Profile Card */
.editable-profile-card {
position: relative;
transition: box-shadow 0.2s ease, border-color 0.2s ease;
border-radius: 8px;
}
.editable-profile-card:hover {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.card-banner-controls-overlay {
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 6px;
z-index: 10;
}
.card-overlay-btn {
background: rgba(0, 0, 0, 0.7);
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(4px);
font-size: 0.78rem;
padding: 4px 10px;
border-radius: 4px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.2s ease;
}
.card-overlay-btn:hover {
background: rgba(0, 0, 0, 0.9);
border-color: var(--accent);
color: var(--accent);
}
.card-overlay-btn.btn-danger:hover {
border-color: #ff6b6b;
color: #ff6b6b;
}
.editable-avatar-container {
position: relative;
cursor: pointer;
}
.avatar-hover-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.55);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.2s ease;
border-radius: 50%;
color: #fff;
font-size: 1.25rem;
}
.editable-avatar-container:hover .avatar-hover-overlay {
opacity: 1;
}
.avatar-quick-remove {
position: absolute;
top: -4px;
right: -4px;
background: #ff4757;
color: #fff;
border: none;
border-radius: 50%;
width: 22px;
height: 22px;
font-size: 0.72rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 5;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
transition: transform 0.15s ease, background 0.15s ease;
}
.avatar-quick-remove:hover {
transform: scale(1.15);
background: #ff6b6b;
}
.inline-edit-username-wrapper {
display: inline-flex;
align-items: center;
gap: 6px;
position: relative;
}
.user-infobox-username[contenteditable="true"] {
border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
padding: 1px 4px;
border-radius: 3px;
transition: all 0.2s ease;
}
.user-infobox-username[contenteditable="true"]:hover {
border-bottom-color: var(--accent);
background: rgba(255, 255, 255, 0.05);
}
.user-infobox-username[contenteditable="true"]:focus {
outline: none;
border-bottom: 2px solid var(--accent);
background: rgba(0, 0, 0, 0.3);
}
.color-picker-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, 0.8);
cursor: pointer;
font-size: 0.68rem;
color: #fff;
text-shadow: 0 0 2px rgba(0,0,0,0.8);
flex-shrink: 0;
transition: transform 0.2s ease, border-color 0.2s ease;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.color-picker-badge:hover {
transform: scale(1.18);
border-color: #fff;
}
.user-infobox-description[contenteditable="true"] {
min-height: 44px;
padding: 6px 8px;
border-radius: 4px;
border: 1px dashed rgba(255, 255, 255, 0.2);
transition: all 0.2s ease;
position: relative;
}
.user-infobox-description[contenteditable="true"]:empty::before {
content: attr(data-placeholder);
color: var(--text-muted);
font-style: italic;
}
.user-infobox-description[contenteditable="true"]:hover {
border-color: var(--accent);
background: rgba(255, 255, 255, 0.03);
}
.user-infobox-description[contenteditable="true"]:focus {
outline: none;
border-style: solid;
border-color: var(--accent);
background: rgba(0, 0, 0, 0.3);
}
.inline-save-btn {
background: var(--accent);
color: #fff;
border: none;
padding: 3px 10px;
font-size: 0.78rem;
border-radius: 4px;
cursor: pointer;
transition: opacity 0.2s ease;
}
.inline-save-btn:hover {
opacity: 0.9;
}