Mache den Medieneditor breit, ruhig und mit lesbaren Registerkarten.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d37a7093dd
commit
72130d66c5
9 files changed
+187
-175
No files matched your search
@@ -0,0 +1,109 @@
|
||||
<style>
|
||||
.luf-editor {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
color: #1b2838;
|
||||
font-size: 1rem;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.luf-editor-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.15rem 0.35rem;
|
||||
border-bottom: 1px solid #c5d2cb;
|
||||
margin: 0 0 1.25rem;
|
||||
}
|
||||
.luf-editor-tabs button {
|
||||
appearance: none;
|
||||
font: inherit;
|
||||
font-weight: 650;
|
||||
color: #1b2838;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 3px solid transparent;
|
||||
margin: 0 0 -1px;
|
||||
padding: 0.7rem 0.95rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.luf-editor-tabs button[aria-selected="true"] {
|
||||
color: #0f6e56;
|
||||
background: transparent;
|
||||
border-bottom-color: #0f6e56;
|
||||
}
|
||||
.luf-editor-tabs button:focus-visible {
|
||||
outline: 3px solid #1769aa;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.luf-editor-lead {
|
||||
margin: 0 0 1rem;
|
||||
color: #3e4c5c;
|
||||
}
|
||||
.luf-editor-split {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(32rem, 1fr) minmax(20rem, 28rem);
|
||||
gap: 1.75rem;
|
||||
align-items: start;
|
||||
}
|
||||
.luf-editor-fields {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.9rem 1.1rem;
|
||||
}
|
||||
.luf-editor-fields .is-wide { grid-column: 1 / -1; }
|
||||
.luf-editor label {
|
||||
display: grid;
|
||||
gap: 0.3rem;
|
||||
font-weight: 650;
|
||||
}
|
||||
.luf-editor input[type="text"],
|
||||
.luf-editor input[type="search"],
|
||||
.luf-editor textarea,
|
||||
.luf-editor select {
|
||||
font: inherit;
|
||||
font-weight: 450;
|
||||
width: 100%;
|
||||
color: #1b2838;
|
||||
background: #fff;
|
||||
border: 1px solid #c5d2cb;
|
||||
padding: 0.55rem 0.7rem;
|
||||
min-height: 2.75rem;
|
||||
}
|
||||
.luf-editor textarea { min-height: 6.5rem; resize: vertical; }
|
||||
.luf-editor-checks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.45rem 1.1rem;
|
||||
margin: 0.35rem 0 0;
|
||||
}
|
||||
.luf-editor-checks label {
|
||||
font-weight: 450;
|
||||
grid-auto-flow: column;
|
||||
justify-content: start;
|
||||
align-items: center;
|
||||
}
|
||||
.luf-editor-save {
|
||||
justify-self: start;
|
||||
font: inherit;
|
||||
font-weight: 650;
|
||||
color: #fff;
|
||||
background: #0f6e56;
|
||||
border: 0;
|
||||
min-height: 2.75rem;
|
||||
padding: 0.55rem 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.luf-editor-status {
|
||||
margin: 0 0 0.8rem;
|
||||
padding: 0.65rem 0.8rem;
|
||||
background: #e7f3ee;
|
||||
border-left: 4px solid #0f6e56;
|
||||
}
|
||||
.luf-live-preview-stage { width: 100%; overflow: hidden; }
|
||||
.luf-live-preview-frame { border: 0; transform-origin: top left; display: block; background: #fff; }
|
||||
@media (max-width: 1100px) {
|
||||
.luf-editor-split { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.luf-editor-fields { grid-template-columns: 1fr; }
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user