mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🎨 give suspended user badge a little room (#732)
closes #8546 - creates new `.suspended` class as a copy of `.administrator` for better naming and add `15px` of `margin-left` to it.
This commit is contained in:
parent
cbd18c6253
commit
336ff5667d
2 changed files with 10 additions and 1 deletions
|
@ -81,6 +81,15 @@
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-badge.suspended {
|
||||||
|
margin-left: 15px;
|
||||||
|
border: color(var(--red) blackness(+8%)) 1px solid;
|
||||||
|
background: linear-gradient(
|
||||||
|
color(var(--red) whiteness(+10%)),
|
||||||
|
color(var(--red) blackness(+4%))
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* User invitation modal
|
/* User invitation modal
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{{user.name}}
|
{{user.name}}
|
||||||
|
|
||||||
{{#if user.isSuspended}}
|
{{#if user.isSuspended}}
|
||||||
<span class="gh-badge administrator" data-test-suspended-badge>Suspended</span>
|
<span class="gh-badge suspended" data-test-suspended-badge>Suspended</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue