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.
32 lines
567 B
SCSS
32 lines
567 B
SCSS
.admin-dashboard-index {
|
|
> header h2 {
|
|
border-bottom: 1px solid $border;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
address {
|
|
> :not(:last-child) {
|
|
&::after {
|
|
content: "";
|
|
display: block;
|
|
margin-bottom: calc(#{$line-height} / 3);
|
|
}
|
|
}
|
|
|
|
a {
|
|
&[href^="mailto:"] {
|
|
@include has-fa-icon(envelope, regular);
|
|
}
|
|
|
|
&[href^="http"] {
|
|
@include has-fa-icon(globe, solid);
|
|
}
|
|
|
|
&::before {
|
|
margin-#{$global-right}: 0.2em;
|
|
transform: translateY(-0.2em);
|
|
}
|
|
}
|
|
}
|
|
}
|