2020-06-19 23:47:44 +02:00
|
|
|
/* Form */
|
|
|
|
|
2020-07-14 20:30:02 +02:00
|
|
|
.home .form-container {
|
|
|
|
svg > path:first-child {
|
|
|
|
fill: #f1f0f6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-23 13:44:10 +02:00
|
|
|
.form-container {
|
|
|
|
padding: 0 0 6rem;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-dark);
|
|
|
|
|
|
|
|
.contact-heading {
|
|
|
|
margin: 2rem 0 4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.field-list {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
grid-template-rows: auto;
|
|
|
|
grid-column-gap: 1.5rem;
|
|
|
|
grid-row-gap: 1.5rem;
|
|
|
|
|
|
|
|
.full-width {
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
2020-06-19 23:47:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
form br {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
@include apply-utility('font', 'base');
|
2020-06-23 13:44:10 +02:00
|
|
|
background-color: var(--color-primary-glare);
|
2020-06-19 23:47:44 +02:00
|
|
|
font: inherit;
|
2020-06-23 13:44:10 +02:00
|
|
|
border: 0;
|
|
|
|
margin-top: 1rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
padding: .75rem 1.5rem;
|
|
|
|
border-radius: 1.5rem;
|
2020-06-19 23:47:44 +02:00
|
|
|
width: 100%;
|
2020-06-26 16:32:56 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: var(--color-dark) 0 0 1.5px 1px;
|
|
|
|
}
|
2020-06-19 23:47:44 +02:00
|
|
|
}
|
|
|
|
|
2020-06-23 13:44:10 +02:00
|
|
|
textarea {
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
2020-06-26 16:32:56 +02:00
|
|
|
background-image: url("data:image/svg+xml,%3Csvg width='32' height='48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 32l-7.794-12h15.588L23 32z' fill='%23333'/%3E%3C/svg%3E");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
/* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
|
|
|
|
background-position: right 1.5rem top 50%;
|
|
|
|
background-size: 2rem 3rem;
|
2020-06-23 13:44:10 +02:00
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
}
|
|
|
|
|
2020-06-19 23:47:44 +02:00
|
|
|
label input {
|
2020-06-23 13:44:10 +02:00
|
|
|
margin: -.25rem 1rem 0 0;
|
2020-06-19 23:47:44 +02:00
|
|
|
width: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-06-23 13:44:10 +02:00
|
|
|
.btn[type=submit] {
|
|
|
|
margin-top: 3.5rem;
|
|
|
|
padding-left: 3rem;
|
|
|
|
padding-right: 3rem;
|
|
|
|
justify-self: start;
|
|
|
|
}
|
|
|
|
|
2020-06-19 23:47:44 +02:00
|
|
|
.field-list {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.field-list__field-group {
|
2020-06-23 13:44:10 +02:00
|
|
|
// margin-bottom: 2rem;
|
2020-06-19 23:47:44 +02:00
|
|
|
transition: transform 150ms;
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
display: block;
|
|
|
|
margin-top: .3rem;
|
|
|
|
font-size: .875rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea + &__description {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--confirm {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
label {
|
2020-06-23 13:44:10 +02:00
|
|
|
// font-weight: normal;
|
2020-06-19 23:47:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.field-list__field-group__description {
|
|
|
|
margin: 0 0 0 1.35rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|