mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
Button align
This commit is contained in:
parent
f16382e946
commit
1a5c8930ed
3 changed files with 13 additions and 13 deletions
|
@ -26,27 +26,31 @@ a.usa-button {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.usa-button.disabled-link,
|
||||
a.usa-button--unstyled.disabled-link {
|
||||
a.usa-button.disabled-link {
|
||||
background-color: #ccc !important;
|
||||
color: #454545 !important
|
||||
}
|
||||
|
||||
a.usa-button.disabled-link:hover,
|
||||
a.usa-button--unstyled.disabled-link {
|
||||
a.usa-button.disabled-link:hover{
|
||||
background-color: #ccc !important;
|
||||
cursor: not-allowed !important;
|
||||
color: #454545 !important
|
||||
}
|
||||
|
||||
a.usa-button.disabled-link:focus,
|
||||
a.usa-button--unstyled.disabled-link {
|
||||
a.usa-button.disabled-link:focus {
|
||||
background-color: #ccc !important;
|
||||
cursor: not-allowed !important;
|
||||
outline: none !important;
|
||||
color: #454545 !important
|
||||
}
|
||||
|
||||
a.usa-button--unstyled.disabled-link,
|
||||
a.usa-button--unstyled.disabled-link:hover,
|
||||
a.usa-button--unstyled.disabled-link:focus {
|
||||
cursor: not-allowed !important;
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
a.usa-button:not(.usa-button--unstyled, .usa-button--outline) {
|
||||
color: color('white');
|
||||
}
|
||||
|
|
|
@ -25,10 +25,6 @@
|
|||
color: color('primary-darker');
|
||||
padding-bottom: units(2px);
|
||||
}
|
||||
td.shift-action-button {
|
||||
padding-right: 0;
|
||||
transform: translateX(10px);
|
||||
}
|
||||
}
|
||||
|
||||
.dotgov-table {
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<tr>
|
||||
<th data-sortable scope="col" role="columnheader">Email</th>
|
||||
<th data-sortable scope="col" role="columnheader">Role</th>
|
||||
<th scope="col" role="columnheader"><span class="sr-only">Action</span></th>
|
||||
<th class="grid-col-2" scope="col" role="columnheader"><span class="sr-only">Action</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -39,7 +39,7 @@
|
|||
{{ permission.user.email }}
|
||||
</th>
|
||||
<td data-label="Role">{{ permission.role|title }}</td>
|
||||
<td class="shift-action-button">
|
||||
<td>
|
||||
{% if can_delete_users %}
|
||||
<a
|
||||
id="button-toggle-user-alert-{{ forloop.counter }}"
|
||||
|
@ -137,7 +137,7 @@
|
|||
</th>
|
||||
<td data-sort-value="{{ invitation.created_at|date:"U" }}" data-label="Date created">{{ invitation.created_at|date }} </td>
|
||||
<td data-label="Status">{{ invitation.status|title }}</td>
|
||||
<td><form method="POST" action="{% url "invitation-delete" pk=invitation.id %}">
|
||||
<td class="grid-col-2"><form method="POST" action="{% url "invitation-delete" pk=invitation.id %}">
|
||||
{% csrf_token %}<input type="submit" class="usa-button--unstyled" value="Cancel">
|
||||
</form>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue