snapshot: unify shared admin editor components
This commit is contained in:
@@ -165,6 +165,26 @@ body {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.app-editor-shell {
|
||||
display: grid;
|
||||
grid-template-columns: 260px minmax(0, 1fr);
|
||||
gap: 18px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.app-editor-sidebar {
|
||||
position: sticky;
|
||||
top: 18px;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.app-editor-main {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.app-sidebar-card {
|
||||
padding: 16px;
|
||||
border: 1px solid rgba(216, 226, 239, 0.94);
|
||||
@@ -252,6 +272,32 @@ body {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.app-stat-grid {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.app-stat-card {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(216, 226, 239, 0.94);
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, #fbfdff, #ffffff);
|
||||
}
|
||||
|
||||
.app-stat-card strong {
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
color: #163566;
|
||||
}
|
||||
|
||||
.app-stat-card span {
|
||||
color: var(--ds-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.app-side-stat {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
@@ -409,6 +455,33 @@ table th {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.app-action-row {
|
||||
margin-top: 12px;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.app-action-row.is-sticky {
|
||||
position: sticky;
|
||||
bottom: 14px;
|
||||
z-index: 4;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid #dbe5f2;
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.98));
|
||||
}
|
||||
|
||||
.app-note-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.app-module-link,
|
||||
.tab {
|
||||
display: inline-flex;
|
||||
@@ -499,6 +572,19 @@ table th {
|
||||
.page-stack {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.app-editor-shell {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.app-editor-sidebar {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.app-action-row {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
|
||||
Reference in New Issue
Block a user