We hadn't added this rule before because there was no such rule in scss-lint. Instead, we were following it without a linter, and so we unintentionally broke it sometimes. But now we're using Stylelint, so we can add the rule and let the linter check we're still following it.
65 lines
1.0 KiB
SCSS
65 lines
1.0 KiB
SCSS
.admin {
|
|
> header {
|
|
border-bottom: 1px solid #eee;
|
|
|
|
> * {
|
|
@include full-width-background($adjust-margin: false, $adjust-padding: true);
|
|
}
|
|
}
|
|
|
|
.top-links {
|
|
|
|
a {
|
|
line-height: rem-calc($line-height * 1.5);
|
|
}
|
|
}
|
|
|
|
.top-bar {
|
|
@include breakpoint(small only) {
|
|
|
|
.account-menu {
|
|
border-bottom: 0;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
|
|
a {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.is-active {
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
[class^="icon-"] {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@include breakpoint(medium) {
|
|
padding-bottom: 0.8rem;
|
|
padding-top: 0.8rem;
|
|
}
|
|
|
|
[class^="icon-"] {
|
|
font-size: $base-font-size;
|
|
}
|
|
|
|
h1 {
|
|
|
|
small {
|
|
color: inherit;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
font-family: "Lato" !important;
|
|
font-size: rem-calc(24);
|
|
font-weight: lighter;
|
|
}
|
|
}
|
|
}
|
|
}
|