mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 14:33:39 +08:00
d56bb72819
Since the AdminPageHeader is H1, it is more semantically correct to progress to H2 after it rather than skipping a level to H3 Also amend style of H2 to make it the same size as H3
91 lines
1.5 KiB
SCSS
91 lines
1.5 KiB
SCSS
.admin-page-header,
|
|
.admin-page-subheader {
|
|
&__title-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
margin-bottom: var(--space-2);
|
|
|
|
h1,
|
|
h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--font-up-2);
|
|
}
|
|
|
|
.admin-page-header__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
button {
|
|
margin-left: var(--space-2);
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
width: 100%;
|
|
margin-bottom: var(--space-2);
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.admin-page-header {
|
|
&__title-row {
|
|
@media (max-width: $mobile-breakpoint) {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
.admin-page-header__actions {
|
|
button {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.admin-page-subheader {
|
|
&__title-row {
|
|
@media (max-width: $mobile-breakpoint) {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
.admin-page-action-list-item {
|
|
.btn-primary {
|
|
color: var(--primary);
|
|
}
|
|
}
|