working FileIndex and user Profile pages/settings
This commit is contained in:
@@ -1758,3 +1758,105 @@ a.deletelink {
|
||||
border-radius: 4px;
|
||||
color: var(--md-sys-color-on-surface);
|
||||
}
|
||||
|
||||
/* ========== Account Settings ========== */
|
||||
.account-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
||||
gap: 16px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.account-card h2 {
|
||||
font-size: 1.05rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.account-current {
|
||||
font-size: 0.85rem;
|
||||
color: var(--md-sys-color-on-surface-variant);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.account-current code {
|
||||
background: var(--md-sys-color-surface-variant);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.avatar-preview {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.avatar-preview img {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 2px solid var(--md-sys-color-outline);
|
||||
}
|
||||
.avatar-preview .default-avatar {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 50%;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
.default-avatar.large {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
font-size: 2.5rem;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/* ========== Public Profile ========== */
|
||||
.profile-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.profile-avatar img {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 2px solid var(--md-sys-color-outline);
|
||||
}
|
||||
.profile-avatar .default-avatar {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
font-size: 3rem;
|
||||
}
|
||||
.profile-info h1 {
|
||||
margin: 0 0 4px;
|
||||
}
|
||||
.profile-joined {
|
||||
color: var(--md-sys-color-on-surface-variant);
|
||||
font-size: 0.9rem;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
.profile-section {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.profile-section h2 {
|
||||
margin-top: 0;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
.profile-bio {
|
||||
white-space: pre-wrap;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
}
|
||||
.profile-bio-empty {
|
||||
color: var(--md-sys-color-on-surface-variant);
|
||||
margin: 0;
|
||||
}
|
||||
.pack-card-empty {
|
||||
opacity: 0.75;
|
||||
pointer-events: none;
|
||||
}
|
||||
.pack-card-empty .pack-card-thumb {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 2rem;
|
||||
color: var(--md-sys-color-on-surface-variant);
|
||||
background: var(--md-sys-color-surface-variant);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user