You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.2 KiB
103 lines
2.2 KiB
|
|
/*
|
|
|
|
.contact-form-wrap
|
|
{
|
|
position: fixed;
|
|
top:0;
|
|
left:0;
|
|
bottom:0;
|
|
right:0;
|
|
background-color: black;
|
|
}
|
|
|
|
.cf
|
|
{
|
|
&-form
|
|
{
|
|
position: relative;
|
|
display:table;
|
|
border-radius:20px;
|
|
padding:20px;
|
|
width:auto;
|
|
margin:0 auto;
|
|
background-color: white;
|
|
top:50%;
|
|
transform:translateY(-50%);
|
|
}
|
|
&-input
|
|
{
|
|
border: solid 1px #666;
|
|
border-radius: 4px;
|
|
padding:4px;
|
|
}
|
|
&-label
|
|
{
|
|
line-height: 30px;
|
|
box-sizing: border-box;
|
|
}
|
|
&-label
|
|
{
|
|
float:left;
|
|
clear:left;
|
|
padding-right:20px;
|
|
}
|
|
&-input
|
|
{
|
|
min-height: 20px;
|
|
line-height: 20px;
|
|
float:right;
|
|
clear:right;
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
&-textarea
|
|
{
|
|
margin:8px 0;
|
|
display:block;
|
|
width:100%;
|
|
clear: both;
|
|
}
|
|
&-input-group
|
|
{
|
|
&:after
|
|
{
|
|
content:"";
|
|
display: table;
|
|
clear:both;
|
|
overflow: auto;
|
|
}
|
|
padding:4px;
|
|
margin:4px;
|
|
}
|
|
&-btn
|
|
{
|
|
background-color: black;
|
|
color:white;
|
|
padding-left:10px;
|
|
padding-right:10px;
|
|
}
|
|
}
|
|
*/
|
|
|
|
/* <form id="cf-main-form" class="cf-form" method="get" action="">
|
|
<div class="cf-input-group">
|
|
<label for="nom" class="cf-label">Votre nom</label>
|
|
<input type="text" id="nom" name="Nom" class="cf-input cf-text" required>
|
|
</div>
|
|
|
|
<div class="cf-input-group">
|
|
<label for="email" class="cf-label">Votre courriel</label>
|
|
<input type="email" id="email" name="courriel" class="cf-input cf-email" required>
|
|
</div>
|
|
|
|
<div class="cf-input-group">
|
|
<label for="message" class="cf-label">Votre message</label>
|
|
<textarea id="message" name="message" class="cf-input cf-textarea" rows="6" maxlength="3000" required></textarea>
|
|
</div>
|
|
|
|
<div class="cf-input-group">
|
|
<button type="submit" id="cf-button" class="cf-input cf-btn">Envoyer</button>
|
|
</div>
|
|
</form>
|
|
*/ |