Update from Git Manager GUI
This commit is contained in:
@@ -416,14 +416,57 @@ a.wbf-btn--primary:hover {
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Banner */
|
||||
.wbf-profile-banner {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(135deg, #0a1628 0%, #162040 50%, #0d1a30 100%);
|
||||
}
|
||||
.wbf-profile-banner__img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
.wbf-profile-banner__placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(135deg, #0a1628 0%, #162040 50%, #0d1a30 100%);
|
||||
}
|
||||
.wbf-banner-upload-btn {
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
right: 8px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: rgba(0,0,0,.55);
|
||||
backdrop-filter: blur(6px);
|
||||
color: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: background .2s, transform .15s;
|
||||
font-size: .8rem;
|
||||
border: 1px solid rgba(255,255,255,.15);
|
||||
}
|
||||
.wbf-banner-upload-btn:hover {
|
||||
background: rgba(0,180,216,.5);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.wbf-profile-sidebar__avatar-wrap {
|
||||
position: relative;
|
||||
padding: 2rem 0 1.25rem;
|
||||
padding: 0 0 1.25rem;
|
||||
margin-top: -45px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background: linear-gradient(160deg, #0d1117, #161d2e);
|
||||
border-bottom: 1px solid rgba(0,180,216,.12);
|
||||
z-index: 2;
|
||||
}
|
||||
.wbf-profile-sidebar__avatar {
|
||||
width: 100px; height: 100px;
|
||||
@@ -557,6 +600,235 @@ a.wbf-btn--primary:hover {
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid var(--c-border);
|
||||
}
|
||||
/* ── Verbindungen / Connection Cards ────────────────────────────────────── */
|
||||
.wbf-connection-card {
|
||||
display: grid;
|
||||
grid-template-columns: 56px 1fr;
|
||||
grid-template-rows: auto auto;
|
||||
gap: 0 1.1rem;
|
||||
padding: 1.4rem 1.25rem;
|
||||
border-bottom: 1px solid var(--c-border);
|
||||
transition: background .15s;
|
||||
}
|
||||
.wbf-connection-card:last-child { border-bottom: none; }
|
||||
.wbf-connection-card:hover { background: rgba(255,255,255,.025); }
|
||||
|
||||
.wbf-connection-card__icon {
|
||||
grid-column: 1;
|
||||
grid-row: 1 / 3;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.35rem;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
/* Titelzeile — rechts oben */
|
||||
.wbf-connection-card__head {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .6rem;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
.wbf-connection-card__body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.wbf-connection-card__title {
|
||||
font-weight: 700;
|
||||
font-size: .92rem;
|
||||
color: var(--c-text);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.wbf-connection-card__desc {
|
||||
font-size: .82rem;
|
||||
color: var(--c-muted);
|
||||
line-height: 1.55;
|
||||
margin-bottom: .85rem;
|
||||
}
|
||||
|
||||
/* Content-Bereich — grid row 2, rechte Spalte */
|
||||
.wbf-connection-card__content {
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
/* Plugin-Output normalisieren */
|
||||
.wbf-connection-card__content p {
|
||||
font-size: .8rem;
|
||||
color: var(--c-muted);
|
||||
line-height: 1.5;
|
||||
margin: 0 0 .7rem;
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
.wbf-connection-card__content label {
|
||||
display: block;
|
||||
font-size: .75rem;
|
||||
font-weight: 600;
|
||||
color: var(--c-text-dim);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .04em;
|
||||
margin-bottom: .35rem;
|
||||
}
|
||||
.wbf-connection-card__content .wbf-mc-row,
|
||||
.wbf-connection-card__content > form,
|
||||
.wbf-connection-card__content > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .55rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* Input + Button auf einer Linie halten */
|
||||
.wbf-connect-row {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: .55rem !important;
|
||||
flex-wrap: nowrap !important;
|
||||
}
|
||||
.wbf-connect-row input[type="text"] {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
max-width: none !important;
|
||||
}
|
||||
.wbf-connect-row button,
|
||||
.wbf-connect-row .wbf-btn {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Alle Verknüpfen-Buttons in Connection-Cards vereinheitlichen */
|
||||
.wbf-connection-card__content .wbf-btn,
|
||||
.wbf-connection-card__content button:not(.wbf-bb-spoiler__btn) {
|
||||
padding: .5rem 1rem !important;
|
||||
font-size: .83rem !important;
|
||||
font-weight: 600 !important;
|
||||
height: 2.25rem !important;
|
||||
line-height: 1 !important;
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
gap: .4rem !important;
|
||||
border-radius: var(--radius-sm) !important;
|
||||
border: 1.5px solid transparent !important;
|
||||
cursor: pointer !important;
|
||||
font-family: inherit !important;
|
||||
transition: var(--transition) !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
/* Primär (Verknüpfen / Code senden) */
|
||||
.wbf-connection-card__content .wbf-btn--primary,
|
||||
.wbf-connection-card__content button.wbf-btn--primary {
|
||||
background: var(--c-primary) !important;
|
||||
color: #fff !important;
|
||||
border-color: var(--c-primary) !important;
|
||||
box-shadow: 0 0 10px rgba(0,180,216,.25) !important;
|
||||
}
|
||||
.wbf-connection-card__content .wbf-btn--primary:hover {
|
||||
background: var(--c-primary-d) !important;
|
||||
border-color: var(--c-primary-d) !important;
|
||||
}
|
||||
/* Ghost (Zurück / Trennen) */
|
||||
.wbf-connection-card__content .wbf-btn--ghost,
|
||||
.wbf-connection-card__content button.wbf-btn--ghost {
|
||||
background: transparent !important;
|
||||
color: var(--c-text-dim) !important;
|
||||
border-color: var(--c-border-d) !important;
|
||||
}
|
||||
.wbf-connection-card__content .wbf-btn--ghost:hover {
|
||||
border-color: var(--c-primary) !important;
|
||||
color: var(--c-primary) !important;
|
||||
}
|
||||
/* MC-Plugin: dessen Button via content selector normalisieren */
|
||||
.wbf-connection-card__content input[type="submit"],
|
||||
.wbf-connection-card__content .mc-connect-btn {
|
||||
padding: .5rem 1rem !important;
|
||||
height: 2.25rem !important;
|
||||
font-size: .83rem !important;
|
||||
font-weight: 600 !important;
|
||||
background: var(--c-primary) !important;
|
||||
color: #fff !important;
|
||||
border: 1.5px solid var(--c-primary) !important;
|
||||
border-radius: var(--radius-sm) !important;
|
||||
cursor: pointer !important;
|
||||
font-family: inherit !important;
|
||||
white-space: nowrap !important;
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
.wbf-connection-card__content input[type="text"] {
|
||||
flex: 1;
|
||||
min-width: 160px;
|
||||
max-width: 280px;
|
||||
padding: .45rem .75rem;
|
||||
border: 1px solid var(--c-border);
|
||||
border-radius: var(--radius-sm, 6px);
|
||||
background: var(--c-bg);
|
||||
color: var(--c-text);
|
||||
font-size: .88rem;
|
||||
}
|
||||
.wbf-connection-card__content input[type="text"]:focus {
|
||||
outline: none;
|
||||
border-color: var(--c-primary);
|
||||
box-shadow: 0 0 0 3px rgba(0,180,216,.15);
|
||||
}
|
||||
.wbf-connection-card__content button,
|
||||
.wbf-connection-card__content .wbf-btn {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Status-Badge in der Card (verbunden / nicht verbunden) */
|
||||
.wbf-connection-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: .35rem;
|
||||
font-size: .78rem;
|
||||
font-weight: 600;
|
||||
padding: .25rem .65rem;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.wbf-connection-badge--connected {
|
||||
color: #16a34a;
|
||||
background: rgba(22,163,74,.12);
|
||||
border: 1px solid rgba(22,163,74,.25);
|
||||
}
|
||||
.wbf-connection-badge--disconnected {
|
||||
color: var(--c-muted);
|
||||
background: rgba(148,163,184,.08);
|
||||
border: 1px solid var(--c-border);
|
||||
}
|
||||
|
||||
/* Discord-spezifische Farben */
|
||||
.wbf-connection-card--discord .wbf-connection-card__icon {
|
||||
background: rgba(88,101,242,.15);
|
||||
border-color: rgba(88,101,242,.3);
|
||||
}
|
||||
.wbf-connection-card--discord .wbf-connection-card__icon i {
|
||||
color: #5865f2;
|
||||
}
|
||||
|
||||
/* Verbunden-Info */
|
||||
.wbf-discord-linked-name {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: .4rem;
|
||||
font-weight: 700;
|
||||
font-size: .92rem;
|
||||
color: var(--c-text);
|
||||
padding: .35rem .75rem;
|
||||
background: rgba(88,101,242,.1);
|
||||
border: 1px solid rgba(88,101,242,.25);
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.wbf-profile-edit-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
@@ -1816,10 +2088,15 @@ select.wbf-cf-input option { background: var(--c-surface2); color: var(--c-text)
|
||||
text-align: left;
|
||||
}
|
||||
.wbf-profile-sidebar__avatar-wrap {
|
||||
padding: 1.25rem;
|
||||
padding: 0 0 1rem;
|
||||
margin-top: -45px;
|
||||
width: auto;
|
||||
border-bottom: none;
|
||||
border-right: 1px solid var(--c-border);
|
||||
border-right: none;
|
||||
}
|
||||
.wbf-profile-banner {
|
||||
height: 100px;
|
||||
width: 100%;
|
||||
}
|
||||
.wbf-profile-sidebar__identity {
|
||||
align-items: flex-start;
|
||||
|
||||
Reference in New Issue
Block a user