mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-06 11:13:21 +02:00
Remove fancy styling for fieldset
This commit is contained in:
parent
9a6ccc1c44
commit
c085512c70
3 changed files with 15 additions and 16 deletions
|
@ -8,10 +8,3 @@ fieldset {
|
|||
fieldset:not(:first-child) {
|
||||
margin-top: units(2);
|
||||
}
|
||||
|
||||
fieldset.registrar-fieldset__contact {
|
||||
// This fieldset is for SR purposes only
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
|
|
@ -43,11 +43,11 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
.usa-form-readonly:first-of-type {
|
||||
border-top: None;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
}*/
|
||||
|
||||
.usa-form-readonly > .usa-form-group:first-of-type {
|
||||
margin-top: unset;
|
||||
|
|
|
@ -67,13 +67,19 @@
|
|||
{% input_with_errors form.full_name %}
|
||||
{% endwith %}
|
||||
|
||||
<fieldset id="profile-name-fieldset" class="registrar-fieldset__contact display-none">
|
||||
{% input_with_errors form.first_name %}
|
||||
|
||||
{% input_with_errors form.middle_name %}
|
||||
|
||||
{% input_with_errors form.last_name %}
|
||||
</fieldset>
|
||||
<div id="profile-name-fieldset" class="display-none" role="group">
|
||||
{% with group_classes="usa-form-readonly padding-top-2" %}
|
||||
{% input_with_errors form.first_name %}
|
||||
{% endwith %}
|
||||
|
||||
{% with group_classes="usa-form-readonly padding-top-2" %}
|
||||
{% input_with_errors form.middle_name %}
|
||||
{% endwith %}
|
||||
|
||||
{% with group_classes="usa-form-readonly padding-top-2" %}
|
||||
{% input_with_errors form.last_name %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
||||
{# This field doesn't have the readonly button but it has common design elements from it #}
|
||||
{% with show_readonly=True add_class="display-none" group_classes="usa-form-readonly padding-top-2 bold-usa-label" sublabel_text=email_sublabel_text %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue