Enable in-place editing for page sections and media
This commit is contained in:
+13
-1
@@ -473,4 +473,16 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
|
||||
.copyright-service #go .contact-panel img { position: static; transform: none; width: 7rem; }
|
||||
}
|
||||
.hero h1 .hero-heading-primary { color: inherit; }
|
||||
[data-studio-field][contenteditable] { min-height: 1em; outline: 1px dashed #7896d5; outline-offset: 3px; }
|
||||
.studio-accent { display: block; }
|
||||
[data-studio-editing] [contenteditable], [data-studio-editing] [data-studio-action],
|
||||
[data-studio-editing] [data-studio-navigation] a, [data-studio-editing] [data-studio-hero-image] {
|
||||
outline: 1px dashed #7896d5;
|
||||
outline-offset: 3px;
|
||||
}
|
||||
[data-studio-editing] [contenteditable]:focus { outline: 2px solid #4477f9; }
|
||||
[data-studio-editing] :is([data-studio-action], [data-studio-navigation] a, [data-studio-hero-image], .rich :is(img, video, audio)) { cursor: pointer; }
|
||||
[data-studio-editing] [data-studio-placeholder]:empty::before {
|
||||
content: attr(data-studio-placeholder);
|
||||
color: var(--muted);
|
||||
font: 400 1rem / 1.5 var(--sans);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user