Fix SCSS to allow hover and cursor

This commit is contained in:
Rebecca Hsieh 2025-02-11 14:11:31 -08:00
parent 14d77c676a
commit 0fc19aa741
No known key found for this signature in database
4 changed files with 10 additions and 7 deletions

View file

@ -512,6 +512,12 @@ input[type=submit].button--dja-toolbar:focus, input[type=submit].button--dja-too
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: 15px;
cursor: pointer;
border: none;
line-height: 20px;
&:focus, &:hover{
background: var(--object-tools-hover-bg) !important;
}
}
.module--custom {

View file

@ -22,10 +22,7 @@
{% csrf_token %}
<input type="hidden" name="cancel_invitation" value="true">
<button type="submit" class="usa-button--dja">
<svg class="usa-icon">
<use xlink:href="{% static 'img/sprite.svg' %}#cancel"></use>
</svg>
<span>{% translate "Cancel invitation" %}</span>
Cancel invitation
</button>
</form>
</li>
@ -50,4 +47,4 @@
{% endif %}
</ul>
{% endif %}
{% endblock %}
{% endblock %}

View file

@ -10,4 +10,4 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
{% else %}
{{ block.super }}
{% endif %}
{% endblock field_other %}
{% endblock field_other %}

View file

@ -496,7 +496,7 @@ class TestDomainInformationInline(MockEppLib):
self.assertIn("poopy@gov.gov", domain_managers)
class DomainInvitationAdminTest(TestCase):
class TestDomainInvitationAdmin(TestCase):
@classmethod
def setUpClass(cls):