mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +01:00
fix parsley error messages
This commit is contained in:
parent
2312390cdb
commit
5268ead2d9
@ -75,7 +75,7 @@
|
|||||||
&:invalid:not(.is-empty) ~ .form-label,
|
&:invalid:not(.is-empty) ~ .form-label,
|
||||||
&.parsley-error ~ .form-label,
|
&.parsley-error ~ .form-label,
|
||||||
&.parsley-success ~ .form-label {
|
&.parsley-success ~ .form-label {
|
||||||
transform: translate3d(0, -1.5rem, 0) scale(.75);
|
transform: translate3d(0, -1rem, 0) scale(.75);
|
||||||
transform-origin: left top;
|
transform-origin: left top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -129,9 +129,10 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
font-size: $font-size-sm;
|
font-size: $font-size-xs;
|
||||||
color: $brand-danger;
|
|
||||||
z-index: -1;
|
&,
|
||||||
|
li { color: $brand-danger; }
|
||||||
|
|
||||||
&.filled {
|
&.filled {
|
||||||
animation: errors-list-show .2s $timing-bounce forwards;
|
animation: errors-list-show .2s $timing-bounce forwards;
|
||||||
|
@ -75,11 +75,11 @@ front_page: true
|
|||||||
|
|
||||||
<form action="" id="form-earlyaccess" class="js-parsley">
|
<form action="" id="form-earlyaccess" class="js-parsley">
|
||||||
<p class="form-group">
|
<p class="form-group">
|
||||||
<input class="form-control" type="text" id="name" name="name">
|
<input class="form-control" type="text" id="name" name="name" required>
|
||||||
<label class="form-label" for="name">Your Name</label>
|
<label class="form-label" for="name">Your Name</label>
|
||||||
</p>
|
</p>
|
||||||
<p class="form-group">
|
<p class="form-group">
|
||||||
<input class="form-control" type="email" id="email" name="email">
|
<input class="form-control" type="email" id="email" name="email" required>
|
||||||
<label class="form-label" for="email">Your Email</label>
|
<label class="form-label" for="email">Your Email</label>
|
||||||
</p>
|
</p>
|
||||||
<p class="form-group">
|
<p class="form-group">
|
||||||
|
Loading…
Reference in New Issue
Block a user