Launch LaySite visual editor and MCP workspace
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
.page-template-drawer {
|
||||
position: fixed;
|
||||
inset: 0 0 0 auto;
|
||||
margin: 0;
|
||||
width: min(100%, clamp(45rem, 80vw, 78rem));
|
||||
max-width: none;
|
||||
height: 100dvh;
|
||||
max-height: none;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
background: var(--white);
|
||||
color: var(--ink);
|
||||
box-shadow: -16px 0 48px #111a2e29;
|
||||
}
|
||||
.page-template-drawer::backdrop { background: #111a2e60; }
|
||||
.page-template-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
padding: .9rem clamp(1rem, 4vw, 1.6rem);
|
||||
background: var(--white);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.page-template-header h2 { margin: 0; }
|
||||
.page-template-content { padding: 1.3rem clamp(1rem, 4vw, 1.6rem) 2rem; }
|
||||
.page-template-content h3 { margin-bottom: 1rem; }
|
||||
.page-template-content h3:focus { outline: none; }
|
||||
.page-template-back { margin-bottom: 1.15rem; }
|
||||
.page-template-groups, .page-template-pages { display: grid; gap: .75rem; }
|
||||
.page-template-groups { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
|
||||
.page-template-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.page-template-detail { display: grid; gap: clamp(1rem, 3vw, 2rem); align-items: start; }
|
||||
.page-template-card {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
color: var(--ink);
|
||||
background: var(--white);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: .7rem;
|
||||
text-align: start;
|
||||
}
|
||||
.page-template-card:hover, .page-template-card:focus-visible { border-color: var(--accent); }
|
||||
.page-template-card-copy { display: grid; align-content: center; gap: .24rem; padding: clamp(.65rem, 2vw, 1rem); }
|
||||
.page-template-card-copy small { line-height: 1.5; color: var(--muted); }
|
||||
.page-template-image { display: block; overflow: hidden; background: var(--paper); }
|
||||
.page-template-image img { width: 100%; height: auto; transition: transform 180ms ease; }
|
||||
.page-template-card:hover img, .page-template-card:focus-visible img { transform: scale(1.035); }
|
||||
.page-template-preview-link { margin-block: .8rem 1.2rem; }
|
||||
@media (min-width: 49rem) {
|
||||
.page-template-detail { grid-template-columns: minmax(0, 1.8fr) minmax(17rem, 1fr); }
|
||||
.page-template-detail .form-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width: 30rem) {
|
||||
.page-template-pages { grid-template-columns: 1fr; }
|
||||
}
|
||||
Reference in New Issue
Block a user