Update add new button styling

This commit is contained in:
leigh-mil 2019-10-14 11:41:28 -04:00
parent 22a912439a
commit 041e16a26d
4 changed files with 12 additions and 19 deletions

View File

@ -140,16 +140,19 @@
.panel { .panel {
@include shadow-panel; @include shadow-panel;
padding-bottom: $gap * 3;
}
a.add-new-button {
display: inherit;
margin-left: auto;
margin-right: auto;
max-width: 50%;
margin-top: 3rem;
} }
.member-list { .member-list {
.panel {
@include shadow-panel;
padding-bottom: 0;
}
.responsive-table-wrapper { .responsive-table-wrapper {
padding-bottom: $gap * 3;
margin-bottom: 0; margin-bottom: 0;
} }
@ -158,14 +161,6 @@
margin-top: 0; margin-top: 0;
} }
a.create-member {
display: inherit;
margin-left: auto;
margin-right: auto;
max-width: 50%;
margin-top: 3rem;
}
input.usa-button.usa-button-primary { input.usa-button.usa-button-primary {
width: 9rem; width: 9rem;
height: 4rem; height: 4rem;
@ -244,6 +239,7 @@
.panel { .panel {
@include shadow-panel; @include shadow-panel;
padding-bottom: 0;
} }
.application-list-item { .application-list-item {

View File

@ -26,8 +26,7 @@
</div> </div>
</form> </form>
</div> </div>
<a class='icon-link icon-link__add' v-on:click="toggle"> <a class="usa-button usa-button-secondary add-new-button" v-on:click="openModal('{{ new_member_modal_name }}')">
{{ Icon('plus') }}
{{ "portfolios.applications.add_environment" | translate }} {{ "portfolios.applications.add_environment" | translate }}
</a> </a>
</div> </div>

View File

@ -141,9 +141,7 @@
</div> </div>
</div> </div>
{% if user_can(permissions.CREATE_ENVIRONMENT) %} {% if user_can(permissions.CREATE_ENVIRONMENT) %}
<div class='subheading'>
{% include "applications/fragments/add_new_environment.html" %} {% include "applications/fragments/add_new_environment.html" %}
</div>
{% endif %} {% endif %}
</section> </section>

View File

@ -165,7 +165,7 @@
</tbody> </tbody>
</table> </table>
{% if user_can_create_app_member %} {% if user_can_create_app_member %}
<a class="usa-button usa-button-secondary create-member" v-on:click="openModal('{{ new_member_modal_name }}')"> <a class="usa-button usa-button-secondary add-new-button" v-on:click="openModal('{{ new_member_modal_name }}')">
{{ "portfolios.applications.add_member" | translate }} {{ "portfolios.applications.add_member" | translate }}
</a> </a>
{% endif %} {% endif %}