Manage dynamic blocks and expand the editor library
This commit is contained in:
+28
-10
@@ -132,16 +132,19 @@
|
||||
.studio-layers .studio-block-actions .button { min-height: 2.25rem; padding: .25rem .5rem; font-size: .8rem; }
|
||||
.studio-media-sizing { position: absolute; z-index: 1; inset: auto .6rem .6rem auto; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .45rem .6rem; max-width: calc(100% - 1.2rem); background: var(--accent-light); border: 1px solid var(--line); border-radius: .45rem; }
|
||||
.studio-element-tools {
|
||||
position: absolute; z-index: 3; display: flex; align-items: center; gap: .15rem; padding: .2rem;
|
||||
border: 1px solid #3f62e0; border-radius: .65rem; background: #244bc8;
|
||||
box-shadow: 0 .22rem .7rem #13297538;
|
||||
position: absolute; z-index: 3; display: flex; align-items: center; gap: .12rem; padding: .18rem;
|
||||
border: 1px solid #c7d6f3; border-radius: .52rem; background: var(--white);
|
||||
box-shadow: 0 .22rem .85rem #16305230;
|
||||
}
|
||||
.studio-element-tools button {
|
||||
min-height: 2rem; padding: .22rem .6rem; border: 0; border-radius: .42rem;
|
||||
background: transparent; color: white; font-size: .84rem; white-space: nowrap; cursor: pointer;
|
||||
display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0;
|
||||
border: 0; border-radius: .32rem; background: transparent; color: #35496d; cursor: pointer;
|
||||
}
|
||||
.studio-element-tools button:hover, .studio-element-tools button:focus-visible { background: #ffffff32; }
|
||||
.studio-element-tools button:focus-visible { outline: 1px solid white; outline-offset: -2px; }
|
||||
.studio-element-tools button svg { width: 1rem; height: 1rem; pointer-events: none; }
|
||||
.studio-element-tools button:hover, .studio-element-tools button:focus-visible { background: var(--accent-light); color: var(--accent-deep); }
|
||||
.studio-element-tools button:focus-visible { outline: 1px solid var(--accent); outline-offset: -2px; }
|
||||
.studio-element-tools button[data-element-delete]:hover { color: #a12727; background: #fceeee; }
|
||||
.studio-element-tools.is-module [data-element-module-settings] { background: var(--accent-light); color: var(--accent-deep); }
|
||||
.studio-media-handle {
|
||||
position: absolute; z-index: 2; width: 1.4rem; height: 2.8rem; translate: -50% -50%;
|
||||
display: grid; place-content: center; border: 2px solid white; border-radius: .42rem;
|
||||
@@ -245,9 +248,8 @@
|
||||
.article-editor-heading > .button { min-height: 2.1rem; padding: .25rem .6rem; }
|
||||
.article-editor-help:empty { display: none; }
|
||||
|
||||
.studio-element-align { display: flex; gap: .05rem; padding-inline-end: .2rem; border-inline-end: 1px solid #ffffff55; }
|
||||
.studio-element-align button { padding-inline: .38rem; }
|
||||
.studio-element-align button[aria-pressed="true"] { background: white; color: #244bc8; }
|
||||
.studio-element-align { display: flex; gap: .05rem; padding-inline-end: .15rem; border-inline-end: 1px solid var(--line); }
|
||||
.studio-element-align button[aria-pressed="true"] { background: var(--accent-light); color: var(--accent-deep); }
|
||||
|
||||
.admin-primary a { padding: .28rem .65rem; border-radius: .48rem; color: var(--muted); }
|
||||
.admin-primary a[aria-current="page"] { background: var(--accent-light); color: var(--accent-deep); }
|
||||
@@ -293,3 +295,19 @@
|
||||
.dashboard-page-list li { grid-template-columns: minmax(0, 1fr) auto; }
|
||||
.dashboard-page-actions { grid-column: 1 / -1; }
|
||||
}
|
||||
|
||||
.studio-page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
|
||||
.studio-page-meta code { color: var(--muted); font-size: .86rem; }
|
||||
.studio-anchor-create, .studio-hero-settings { padding: .55rem .65rem; border: 1px solid var(--line); border-radius: .45rem; }
|
||||
.studio-anchor-create { margin-top: .55rem; font-size: .84rem; }
|
||||
.studio-anchor-create summary, .studio-hero-settings summary { cursor: pointer; font-weight: 630; }
|
||||
.studio-anchor-create[open] form, .studio-hero-controls { margin-top: .6rem; }
|
||||
.studio-hero-controls { display: flex; flex-wrap: wrap; gap: .42rem; }
|
||||
.studio-hero-controls .button { min-height: 2.35rem; padding: .3rem .62rem; font-size: .85rem; }
|
||||
.studio-canvas-status:empty { display: none; }
|
||||
.canvas-module-settings { max-width: min(92vw, 40rem); }
|
||||
@media (pointer: coarse) {
|
||||
.studio-element-tools button { width: 2.5rem; height: 2.5rem; }
|
||||
}
|
||||
.canvas-module-settings .category-checks { max-height: min(15rem, 27dvh); overflow-y: auto; }
|
||||
.canvas-module-settings .actions { position: sticky; bottom: 0; padding-block: .35rem; margin: 0; background: var(--white); }
|
||||
|
||||
Reference in New Issue
Block a user