Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
🎨 give suspended user badge a little room (#732)
Browse files Browse the repository at this point in the history
closes #8546
- creates new `.suspended` class as a copy of `.administrator` for better naming and add `15px` of `margin-left` to it.
  • Loading branch information
aileen authored and kevinansfield committed Jun 13, 2017
1 parent 3a84a5b commit 521748b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions app/styles/layouts/users.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@
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
/* ---------------------------------------------------------- */
Expand Down
2 changes: 1 addition & 1 deletion app/templates/team/user.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{user.name}}

{{#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}}
</h2>

Expand Down

0 comments on commit 521748b

Please sign in to comment.