Merge branch 'codex/editor-asset-library' of https://git.genarrative.world/GenarrativeAI/Genarrative into codex/editor-asset-library
This commit is contained in:
+374
@@ -3213,6 +3213,380 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
|
||||
margin: 1rem 1.5rem 0;
|
||||
}
|
||||
|
||||
.creation-landing {
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
background: transparent;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.creation-landing__hero,
|
||||
.creation-landing__section {
|
||||
width: min(980px, calc(100% - 2rem));
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.creation-landing__hero {
|
||||
display: grid;
|
||||
gap: 1.35rem;
|
||||
padding: 3.2rem 0 1.1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.creation-landing__hero-copy {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 0.82rem;
|
||||
}
|
||||
|
||||
.creation-landing__eyebrow {
|
||||
width: fit-content;
|
||||
color: #6b7280;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.creation-landing__hero h1 {
|
||||
margin: 0;
|
||||
max-width: 38rem;
|
||||
color: #111827;
|
||||
font-size: clamp(1.55rem, 3vw, 2.25rem);
|
||||
font-weight: 950;
|
||||
letter-spacing: 0;
|
||||
line-height: 1.12;
|
||||
}
|
||||
|
||||
.creation-landing__hero p {
|
||||
margin: 0;
|
||||
color: #4b5563;
|
||||
font-size: 0.92rem;
|
||||
font-weight: 720;
|
||||
}
|
||||
|
||||
.creation-landing__hero-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.65rem;
|
||||
padding-top: 0.08rem;
|
||||
}
|
||||
|
||||
.creation-landing__hero-board {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.creation-landing__hero-tile {
|
||||
position: absolute;
|
||||
display: block;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 0.55rem;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
|
||||
}
|
||||
|
||||
.creation-landing__hero-tile--main {
|
||||
left: 14%;
|
||||
top: 14%;
|
||||
width: 58%;
|
||||
aspect-ratio: 4 / 3;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(75, 181, 170, 0.24), transparent 52%),
|
||||
#ffffff;
|
||||
}
|
||||
|
||||
.creation-landing__hero-tile--side {
|
||||
right: 9%;
|
||||
top: 28%;
|
||||
width: 34%;
|
||||
aspect-ratio: 1;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(246, 171, 76, 0.24), transparent 56%),
|
||||
#ffffff;
|
||||
}
|
||||
|
||||
.creation-landing__hero-tile--small {
|
||||
left: 30%;
|
||||
bottom: 10%;
|
||||
width: 36%;
|
||||
aspect-ratio: 16 / 9;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(129, 140, 248, 0.2), transparent 56%),
|
||||
#ffffff;
|
||||
}
|
||||
|
||||
.creation-landing__section {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
padding: 0.95rem 0;
|
||||
}
|
||||
|
||||
.creation-landing__section-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.creation-landing__section-header h2 {
|
||||
margin: 0;
|
||||
color: #111827;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 920;
|
||||
}
|
||||
|
||||
.creation-landing__link-button {
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: #ffffff;
|
||||
padding: 0.48rem 0.82rem;
|
||||
color: #238a82;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 840;
|
||||
}
|
||||
|
||||
.creation-landing__feature-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.creation-landing__feature {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
grid-template-areas:
|
||||
"icon title"
|
||||
"icon desc";
|
||||
gap: 0.22rem 0.72rem;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
border: 1px solid rgba(226, 232, 240, 0.95);
|
||||
border-radius: 0.85rem;
|
||||
background: #ffffff;
|
||||
padding: 0.85rem;
|
||||
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
|
||||
}
|
||||
|
||||
.creation-landing__feature-icon {
|
||||
display: grid;
|
||||
grid-area: icon;
|
||||
width: 2.35rem;
|
||||
height: 2.35rem;
|
||||
place-items: center;
|
||||
border-radius: 0.5rem;
|
||||
background: #e6f7f5;
|
||||
color: #238a82;
|
||||
}
|
||||
|
||||
.creation-landing__feature h3,
|
||||
.creation-landing__asset-card h3 {
|
||||
margin: 0;
|
||||
color: #111827;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 880;
|
||||
}
|
||||
|
||||
.creation-landing__feature h3 {
|
||||
grid-area: title;
|
||||
}
|
||||
|
||||
.creation-landing__feature p {
|
||||
grid-area: desc;
|
||||
margin: 0;
|
||||
color: #64748b;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 650;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.creation-landing__project-row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(10rem, 1fr));
|
||||
gap: 0.85rem;
|
||||
}
|
||||
|
||||
.creation-landing__project-card {
|
||||
display: grid;
|
||||
gap: 0.65rem;
|
||||
min-width: 0;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 0.65rem;
|
||||
background: #ffffff;
|
||||
padding: 0.7rem;
|
||||
color: #111827;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.creation-landing__project-card:hover,
|
||||
.creation-landing__link-button:hover {
|
||||
border-color: rgba(35, 138, 130, 0.32);
|
||||
box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
|
||||
}
|
||||
|
||||
.creation-landing__project-card--new {
|
||||
place-items: center;
|
||||
min-height: 12rem;
|
||||
color: #238a82;
|
||||
font-weight: 880;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.creation-landing__project-card--new span {
|
||||
display: grid;
|
||||
width: 2.6rem;
|
||||
height: 2.6rem;
|
||||
place-items: center;
|
||||
border-radius: 999px;
|
||||
background: #e6f7f5;
|
||||
}
|
||||
|
||||
.creation-landing__project-cover {
|
||||
border-radius: 0.45rem;
|
||||
}
|
||||
|
||||
.creation-landing__project-meta {
|
||||
display: grid;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
.creation-landing__project-meta strong,
|
||||
.creation-landing__project-meta small {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.creation-landing__project-meta strong {
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.creation-landing__project-meta small {
|
||||
color: #64748b;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.creation-landing__tabs {
|
||||
display: flex;
|
||||
gap: 0.45rem;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 0.15rem;
|
||||
}
|
||||
|
||||
.creation-landing__tab {
|
||||
flex: 0 0 auto;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 999px;
|
||||
background: #ffffff;
|
||||
padding: 0.48rem 0.8rem;
|
||||
color: #64748b;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 820;
|
||||
}
|
||||
|
||||
.creation-landing__tab--active {
|
||||
border-color: rgba(35, 138, 130, 0.32);
|
||||
background: #e6f7f5;
|
||||
color: #176c66;
|
||||
}
|
||||
|
||||
.creation-landing__asset-waterfall {
|
||||
column-count: 3;
|
||||
column-gap: 0.92rem;
|
||||
}
|
||||
|
||||
.creation-landing__asset-card {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
margin: 0 0 0.92rem;
|
||||
break-inside: avoid;
|
||||
border: 1px solid rgba(226, 232, 240, 0.95);
|
||||
border-radius: 0.78rem;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
|
||||
}
|
||||
|
||||
.creation-landing__asset-preview {
|
||||
display: grid;
|
||||
min-height: 9.5rem;
|
||||
max-height: 23rem;
|
||||
overflow: hidden;
|
||||
place-items: center;
|
||||
background: linear-gradient(180deg, #ffffff, #f8fafc);
|
||||
}
|
||||
|
||||
.creation-landing__asset-meta {
|
||||
display: grid;
|
||||
gap: 0.55rem;
|
||||
padding: 0.85rem;
|
||||
}
|
||||
|
||||
.creation-landing__asset-meta p {
|
||||
display: -webkit-box;
|
||||
min-height: 2.6em;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
color: #64748b;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 650;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.creation-landing__asset-meta dl {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.6rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.creation-landing__asset-meta div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.creation-landing__asset-meta dt {
|
||||
color: #94a3b8;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 760;
|
||||
}
|
||||
|
||||
.creation-landing__asset-meta dd {
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
color: #111827;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 780;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.creation-landing__hero {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.creation-landing__feature-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.creation-landing__project-row {
|
||||
grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
|
||||
}
|
||||
|
||||
.creation-landing__asset-waterfall {
|
||||
column-count: 2;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.creation-landing__asset-waterfall {
|
||||
column-count: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.image-canvas-editor {
|
||||
position: relative;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user