File: D:/HostingSpaces/SBogers10/investeren-ouddorp.komma.pro/wwwroot/css/partials/_form.sass
.form
padding-top: 40px
padding-bottom: 40px
width: 100%
max-width: 560px
.form-element
position: relative
margin-bottom: 30px
.error
display: none
color: $red
margin-top: 0
padding: 0%
background-color: transparent
+font-semi-bold(16px, 22px)
&.active
display: block
&.multiple-elements
+flex(space-between, flex-start)
>*
width: calc(50% - 20px)
&.text-area
margin-bottom: 0
display: block
label
margin-top: 15px
&.select-element
position: relative
span
background-image: url('/img/down.png')
width: 16px
height: 16px
background-size: contain
display: inline-block
position: absolute
right: 10px
top: 25px
pointer-events: none
select
margin-top: 10px
+appearance(none)
outline: none
height: 45px
width: 100%
font-size: 15px
line-height: 16px
font-weight: 500
background-color: #f3f3f3
color: $black
padding: 0 30px 0 20px
border: 1.5px transparent solid
.selectric-wrapper
margin-top: 10px
width: 100%
display: inline-block
.selectric-items
li
padding-left: 20px
padding-right: 20px
font-size: 15px
line-height: 16px
font-weight: 500
.selectric
background-color: #f3f3f3
.label
padding: 0 20px 0 10px
font-size: 15px
line-height: 16px
font-weight: 500
color: $black
+flex(flex-start, center)
label
width: 100%
padding-left: 20px
display: block
+font-default(15px, 22px)
color: $gray
input, textarea
margin-top: 10px
height: 45px
width: 100%
margin-left: 0
+font-default(16px, 45px)
background-color: #f3f3f3
color: $darkBlue
padding: 0 20px
border: 1.5px transparent solid
&.alert
+placeholder
color: $red
+placeholder
+font-default(15px, 45px)
font-style: italic
color: $darkBlue
&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active
transition: 9999s background-color
-webkit-text-fill-color: $darkBlue
transition-delay: 9999s
textarea
height: 152px
padding-top: 15px
padding-bottom: 10px
resize: vertical
margin-left: 0
+font-default(15px, 16px)
font-weight: 500
+placeholder
+font-default(15px, 16px)
&.checkbox
margin-top: 10px
.wrapper
+flex(flex-start, center)
input
margin: 0 10px 0 0 !important
width: 25px
height: 25px
&.alert
label
color: $red !important
.submit
padding: 20px 0 0 120px
text-align: right
input
display: inline-block
border: 1.5px transparent solid
font-size: 15px
line-height: 15px
width: 100%
max-width: 300px
background: $blue
color: white
padding: 15px 0
cursor: pointer
&:hover
background: darken($blue, 5%)
input:focus, textarea:focus
box-shadow: none
border: 1.5px transparent solid
border-radius: 0
outline: none
+media-query(800px)
.form
.form-element
margin-bottom: 30px
&.text-area
display: block
&.select-element
display: block
select
width: 100%
.selectric-wrapper
width: 100%
display: block
label
display: block
width: 100%
padding-left: 20px
input, textarea
width: 100%
margin-left: 0