's'
This commit is contained in:
559
app/community/components/memos.module.css
Normal file
559
app/community/components/memos.module.css
Normal file
@@ -0,0 +1,559 @@
|
||||
.communityShell {
|
||||
--community-accent: #f59e0b;
|
||||
--community-accent-deep: #b45309;
|
||||
--community-surface: color-mix(in srgb, var(--card) 88%, #fff7e6 12%);
|
||||
--community-border: color-mix(in srgb, var(--border) 72%, #f59e0b 28%);
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(280px, 320px);
|
||||
gap: 1.5rem;
|
||||
align-items: start;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.leftRail,
|
||||
.rightRail {
|
||||
position: sticky;
|
||||
top: 5.5rem;
|
||||
}
|
||||
|
||||
.centerRail {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.pageStack {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.main {
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
padding: 1.5rem 0;
|
||||
}
|
||||
|
||||
.pageDesc {
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.heroCard {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 1.5rem;
|
||||
border: 1px solid var(--community-border);
|
||||
border-radius: 28px;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(245, 158, 11, 0.2), transparent 34%),
|
||||
linear-gradient(145deg, rgba(255, 247, 230, 0.9), rgba(255, 255, 255, 0.75));
|
||||
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
|
||||
}
|
||||
|
||||
.heroGlow {
|
||||
position: absolute;
|
||||
right: -3rem;
|
||||
top: -3rem;
|
||||
width: 12rem;
|
||||
height: 12rem;
|
||||
border-radius: 999px;
|
||||
background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.heroEyebrow,
|
||||
.sidebarEyebrow,
|
||||
.lockedPanelEyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
padding: 0.3rem 0.65rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.65);
|
||||
border: 1px solid rgba(180, 83, 9, 0.14);
|
||||
color: var(--community-accent-deep);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.heroTitle,
|
||||
.lockedPanelTitle {
|
||||
margin: 0.85rem 0 0;
|
||||
font-size: clamp(2rem, 4vw, 3rem);
|
||||
line-height: 1.02;
|
||||
letter-spacing: -0.05em;
|
||||
color: #231815;
|
||||
}
|
||||
|
||||
.heroDesc,
|
||||
.lockedPanelDesc,
|
||||
.sidebarDesc,
|
||||
.explorerBrandDesc,
|
||||
.filterHint {
|
||||
margin: 0.85rem 0 0;
|
||||
font-size: 0.97rem;
|
||||
line-height: 1.75;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.heroChips,
|
||||
.sidebarFeatureList {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.55rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.heroChip,
|
||||
.sidebarFeature {
|
||||
padding: 0.45rem 0.7rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(148, 163, 184, 0.25);
|
||||
color: #3f3f46;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.heroActions,
|
||||
.lockedPanelActions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
|
||||
.heroPrimaryAction,
|
||||
.sidebarCTA,
|
||||
.ctaLink,
|
||||
.loadMorePanelBtn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.35rem;
|
||||
min-height: 2.8rem;
|
||||
padding: 0.78rem 1.2rem;
|
||||
border: none;
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(135deg, #f59e0b, #fb923c);
|
||||
color: #fffaf2;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.heroSecondaryAction,
|
||||
.sidebarLink,
|
||||
.backLink {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 2.8rem;
|
||||
padding: 0.78rem 1.1rem;
|
||||
border-radius: 14px;
|
||||
border: 1px solid var(--community-border);
|
||||
color: #4b5563;
|
||||
text-decoration: none;
|
||||
background: rgba(255, 255, 255, 0.64);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.vipBanner,
|
||||
.lockedPanel,
|
||||
.filterPanel,
|
||||
.sidebarCard,
|
||||
.explorer,
|
||||
.attachmentCard {
|
||||
border: 1px solid var(--community-border);
|
||||
border-radius: 24px;
|
||||
background: var(--community-surface);
|
||||
box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
|
||||
.vipBanner {
|
||||
padding: 1rem 1.1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.vipBanner p {
|
||||
margin: 0;
|
||||
color: #5b4636;
|
||||
}
|
||||
|
||||
.lockedPanel {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 1.35rem;
|
||||
}
|
||||
|
||||
.lockedPanelCopy {
|
||||
max-width: 38rem;
|
||||
}
|
||||
|
||||
.explorer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1.1rem;
|
||||
}
|
||||
|
||||
.explorerBrand {
|
||||
padding-bottom: 0.95rem;
|
||||
border-bottom: 1px solid rgba(148, 163, 184, 0.18);
|
||||
}
|
||||
|
||||
.brandBackLink {
|
||||
color: var(--muted-foreground);
|
||||
text-decoration: none;
|
||||
font-size: 0.84rem;
|
||||
}
|
||||
|
||||
.explorerBrandTitle,
|
||||
.sidebarTitle {
|
||||
margin: 0.8rem 0 0;
|
||||
font-size: 1.15rem;
|
||||
color: #231815;
|
||||
}
|
||||
|
||||
.explorerSection {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.explorerTitle {
|
||||
margin: 0;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 0.78rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.explorerList {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.explorerLink {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
padding: 0.75rem 0.85rem;
|
||||
border-radius: 16px;
|
||||
color: #3f3f46;
|
||||
text-decoration: none;
|
||||
transition: background 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.explorerLink:hover {
|
||||
background: rgba(245, 158, 11, 0.1);
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.explorerLinkActive {
|
||||
background: rgba(245, 158, 11, 0.16);
|
||||
color: var(--community-accent-deep);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.explorerIcon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.45rem;
|
||||
height: 1.45rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(245, 158, 11, 0.18);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.explorerRules {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.55rem;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.explorerUser {
|
||||
padding-top: 0.85rem;
|
||||
border-top: 1px solid rgba(148, 163, 184, 0.18);
|
||||
}
|
||||
|
||||
.userLabel {
|
||||
display: block;
|
||||
font-size: 0.78rem;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.userId {
|
||||
display: block;
|
||||
margin-top: 0.35rem;
|
||||
font-family: ui-monospace, monospace;
|
||||
color: #292524;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.userState {
|
||||
display: block;
|
||||
margin-top: 0.45rem;
|
||||
color: var(--community-accent-deep);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.sidebarStack {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.sidebarCard {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.sidebarStatsGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.75rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.sidebarStatCard {
|
||||
padding: 0.9rem 0.8rem;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
border: 1px solid rgba(148, 163, 184, 0.14);
|
||||
}
|
||||
|
||||
.sidebarStatLabel,
|
||||
.sidebarStatHint,
|
||||
.attachmentSubMeta,
|
||||
.filterHint,
|
||||
.sidebarLoading,
|
||||
.sidebarEmpty,
|
||||
.sidebarListMeta {
|
||||
color: var(--muted-foreground);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.sidebarStatValue {
|
||||
display: block;
|
||||
margin-top: 0.2rem;
|
||||
font-size: 1.35rem;
|
||||
line-height: 1;
|
||||
color: #231815;
|
||||
}
|
||||
|
||||
.sidebarSectionHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.sidebarTagList {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.55rem;
|
||||
margin-top: 0.85rem;
|
||||
}
|
||||
|
||||
.sidebarTag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.45rem 0.7rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(245, 158, 11, 0.1);
|
||||
color: var(--community-accent-deep);
|
||||
text-decoration: none;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.sidebarTag span {
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.sidebarList {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.8rem;
|
||||
margin-top: 0.85rem;
|
||||
}
|
||||
|
||||
.sidebarListItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.sidebarAvatar {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2.3rem;
|
||||
height: 2.3rem;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.35));
|
||||
color: var(--community-accent-deep);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sidebarListTitle,
|
||||
.attachmentName {
|
||||
color: #231815;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.sidebarAttachmentGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.85rem;
|
||||
}
|
||||
|
||||
.sidebarAttachment,
|
||||
.attachmentCard {
|
||||
overflow: hidden;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sidebarAttachmentImage,
|
||||
.attachmentImage {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.sidebarAttachment {
|
||||
aspect-ratio: 1 / 1;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.filterPanel {
|
||||
padding: 1rem 1.1rem;
|
||||
}
|
||||
|
||||
.searchField {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.searchLabel {
|
||||
font-size: 0.82rem;
|
||||
color: var(--muted-foreground);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.searchInput {
|
||||
width: 100%;
|
||||
min-height: 3rem;
|
||||
padding: 0.8rem 0.95rem;
|
||||
border-radius: 16px;
|
||||
border: 1px solid rgba(148, 163, 184, 0.22);
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
color: var(--foreground);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.searchInput:focus {
|
||||
outline: none;
|
||||
border-color: rgba(245, 158, 11, 0.5);
|
||||
box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
|
||||
.attachmentGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.attachmentCard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--community-surface);
|
||||
}
|
||||
|
||||
.attachmentImage {
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
|
||||
.attachmentMeta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
padding: 0.9rem 0.95rem 1rem;
|
||||
}
|
||||
|
||||
.loadMorePanelBtn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.communityShell {
|
||||
grid-template-columns: 250px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.rightRail {
|
||||
position: static;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.communityShell {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.leftRail,
|
||||
.rightRail {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.vipBanner {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.heroCard,
|
||||
.vipBanner,
|
||||
.lockedPanel,
|
||||
.filterPanel,
|
||||
.sidebarCard,
|
||||
.explorer {
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.heroCard {
|
||||
padding: 1.2rem;
|
||||
}
|
||||
|
||||
.heroTitle,
|
||||
.lockedPanelTitle {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.sidebarStatsGrid,
|
||||
.sidebarAttachmentGrid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.attachmentGrid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user