feat(docs): added get premium modal in landing

fix(docs): fixed styles for get download modal
This commit is contained in:
Sergey Filinsky 2020-10-07 17:38:19 +03:00
parent 780e230503
commit b72fb30dd1
13 changed files with 287 additions and 6 deletions

View file

@ -1,8 +1,12 @@
<nb-card>
<nb-card-body>
<nb-card-header>
<span>Download</span>
<div class="close-icon" (click)="closeDialog()">
<i [innerHTML]="'close' | eva: { width: 26, height: 26, fill: '#222b45' }"></i>
</div>
</nb-card-header>
<nb-card-body>
<div id="hubspotForm"></div>
</nb-card-body>
</nb-card>

View file

@ -9,15 +9,22 @@
@import '../../../@theme/styles/themes';
@include nb-install-component() {
nb-card-body {
position: relative;
nb-card {
width: 30rem;
}
nb-card-header {
display: flex;
align-items: center;
}
.close-icon {
cursor: pointer;
position: absolute;
margin-left: auto;
right: 0.1rem;
top: 0.1rem;
width: fit-content;
}
::ng-deep .custom-form {
@ -56,6 +63,20 @@
}
}
.hs-richtext .modal-body {
padding: 0;
margin-bottom: 1rem;
p {
margin-bottom: 0;
text-align: left ! important;
height: auto;
}
}
.hs-recaptcha {
margin-top: 1rem;
}
.hs-error-msgs {
list-style-type: none;
padding: 0;