Skip to content

Commit

Permalink
fix(style): add white overlay on empty-user-manager when invitation-f…
Browse files Browse the repository at this point in the history
…orm is open
  • Loading branch information
NicolasRichel committed Apr 16, 2021
1 parent 2f68079 commit 9f7ab9b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@
gap: $spacing-unit;
}

&__invitation-form {
&__overlay {
position: absolute;
top: $spacing-unit * 2;
width: 100%;
height: 100%;
padding: $spacing-unit;
padding-top: $spacing-unit * 2;
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
background-color: rgba(255, 255, 255, 0.5);

&__invitation-form {
position: relative;
padding: $spacing-unit;
padding-top: $spacing-unit * 2;
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
</BIMDataButton>
</div>
<transition name="fade">
<InvitationForm
v-show="showInvitationForm"
class="empty-users-manager__invitation-form"
:project="project"
@close="closeInvitationForm"
@success="closeInvitationForm"
/>
<div v-show="showInvitationForm" class="empty-users-manager__overlay">
<InvitationForm
class="empty-users-manager__overlay__invitation-form"
:project="project"
@close="closeInvitationForm"
@success="closeInvitationForm"
/>
</div>
</transition>
</div>
</template>
Expand Down

0 comments on commit 9f7ab9b

Please sign in to comment.