El núcleo reúne al arrancar las secciones, páginas, pestañas y botones que declaran las extensiones. La plantilla Admin pinta la navegación (AdminMenu) y el marco de cada página (AdminFrame), y PageTop monta el dashboard y las páginas de sección. La raíz del panel se configura con admin_path.
51 lines
1.1 KiB
SCSS
51 lines
1.1 KiB
SCSS
// Frame of an administration page (`AdminFrame`), painted by the `Admin` template around the
|
|
// `Content` region: title with its action links, then the local tasks as tabs.
|
|
|
|
.admin-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: .5rem 1rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.admin-page-title {
|
|
margin: 0;
|
|
}
|
|
|
|
.admin-actions-list,
|
|
.admin-tasks-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: .5rem;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.admin-action-link {
|
|
display: inline-block;
|
|
padding: .375rem .75rem;
|
|
border: 1px solid var(--val-color--primary);
|
|
border-radius: .375rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.admin-local-tasks {
|
|
margin-bottom: 1rem;
|
|
border-bottom: 1px solid var(--val-color--bg--muted);
|
|
}
|
|
|
|
.admin-task a {
|
|
display: block;
|
|
padding: .5rem .75rem;
|
|
margin-bottom: -1px;
|
|
border-bottom: 2px solid transparent;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.admin-task-active a {
|
|
border-bottom-color: var(--val-color--primary);
|
|
font-weight: 600;
|
|
}
|