Style lables and adjust list

This commit is contained in:
Luis Cielak 2018-07-31 16:16:43 -04:00 committed by richard-dds
parent cdd442c266
commit 1a6d42f385
4 changed files with 13 additions and 12 deletions

View File

@ -59,7 +59,8 @@
margin: -$gap 0; margin: -$gap 0;
} }
.icon-link { .icon-link,
.label {
&:first-child { &:first-child {
margin-left: -$gap; margin-left: -$gap;
} }

View File

@ -4,7 +4,7 @@
* @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/elements/_typography.scss * @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/elements/_typography.scss
*/ */
* { * {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
@ -57,7 +57,3 @@ dl {
margin-bottom: $gap * 2; margin-bottom: $gap * 2;
} }
} }
.subtitle {
color: $color-gray;
}

View File

@ -33,5 +33,9 @@
.member-card__details { .member-card__details {
text-align: right; text-align: right;
.icon-link {
margin: 0 -$gap;
}
} }
} }

View File

@ -19,7 +19,7 @@
<div class='panel member-card'> <div class='panel member-card'>
<div class='member-card__header'> <div class='member-card__header'>
<h1 class='member-card__heading'>{{ member_name }}</h1> <h1 class='member-card__heading'>{{ member_name }}</h1>
<dl><dt>Workspace Role</dt> <dd class='label'>{{member_workspace_role}}</dd></dl> <dl><dt>Workspace Role</dt> <dd><span class='label label--info'>{{member_workspace_role}}</span></dd></dl>
</div> </div>
<div class='member-card__details'> <div class='member-card__details'>
<dl> <dl>
@ -57,7 +57,7 @@
Development Development
</span> </span>
<div class='project-list-item__environment__actions'> <div class='project-list-item__environment__actions'>
<span>no access </span><a href="#" class="icon-link">set role</a> <span class="label">no access </span><a href="#" class="icon-link">set role</a>
</div> </div>
</li> </li>
<li class='block-list__item project-list-item__environment'> <li class='block-list__item project-list-item__environment'>
@ -65,7 +65,7 @@
Sandbox Sandbox
</span> </span>
<div class='project-list-item__environment__actions'> <div class='project-list-item__environment__actions'>
<span>no access</span><a href="#" class="icon-link">set role</a> <span class="label">no access</span><a href="#" class="icon-link">set role</a>
</div> </div>
</li> </li>
<li class='block-list__item project-list-item__environment'> <li class='block-list__item project-list-item__environment'>
@ -73,7 +73,7 @@
Production Production
</span> </span>
<div class='project-list-item__environment__actions'> <div class='project-list-item__environment__actions'>
<span>Billing</span><a href="#" class="icon-link">set role</a> <span class="label label--success">Billing</span><a href="#" class="icon-link">set role</a>
</div> </div>
</li> </li>
</ul> </ul>
@ -82,7 +82,7 @@
<div class='block-list project-list-item'> <div class='block-list project-list-item'>
<header class='block-list__header'> <header class='block-list__header'>
<h2 class='block-list__title'>{% module Icon('arrow-right') %} Digital Dojo</h2> <h2 class='block-list__title'>{% module Icon('arrow-right') %} Digital Dojo</h2>
<span>no access</span> <span class="label">no access</span>
</header> </header>
</div> </div>