mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 23:06:28 +08:00
1446596089
This commit converts the Backups page in the admin interface to follow our new admin interface guidelines. As part of this work, I've also made `AdminPageHeader` and `AdminPageSubheader` components that can be reused on any admin page for consistency, that handle the title and action buttons and also breadcrumbs. Also renamed `AdminPluginFilteredSiteSettings` to `AdminFilteredSiteSettings` since it can be used generally to show a subset of filtered site settings, not only settings for a plugin. Not sure if it's ideal to have to define a new route for this for every config area, but not sure how else to do it right now.
45 lines
682 B
SCSS
45 lines
682 B
SCSS
.admin-page-header,
|
|
.admin-page-subheader {
|
|
&__title-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1em;
|
|
|
|
h1,
|
|
h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.admin-page-header__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
button {
|
|
margin-left: 1em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.admin-nav-submenu {
|
|
background: transparent;
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
.horizontal-overflow-nav {
|
|
background: transparent;
|
|
|
|
&:before {
|
|
display: none;
|
|
}
|
|
|
|
&:after {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.nav-pills {
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|