1
+
2
+ /* Forms */
3
+ .form-field {
4
+ position : relative ;
5
+ }
6
+ .form-field .label ,
7
+ .form-field label {
8
+ display : block ;
9
+ margin-bottom : 0.5em ;
10
+ font-weight : 500 ;
11
+ font-size : 1rem ;
12
+ }
13
+ .form-field span [class ^= " icon" ] {
14
+ background-color : #333 ;
15
+ display : block ;
16
+ height : 1em ;
17
+ width : 1em ;
18
+ }
19
+ .form-field .custom-input span [class ^= " icon" ] {
20
+ height : 2em ;
21
+ margin : 1rem 0 0 0.5em ;
22
+ position : absolute ;
23
+ }
24
+ .form-field span .icon-lookingglass {
25
+ background : url (/ images/icons/icon-lookingglass.svg ) no-repeat ;
26
+ }
27
+ .form-field span .icon-lookingglass-white {
28
+ background : url (/ images/icons/icon-lookingglass-white.svg ) no-repeat ;
29
+ }
30
+ .form-field button .btn-submit span .icon-lookingglass-white {
31
+ background-size : contain ;
32
+ }
33
+ .form-field span .icon-calendar {
34
+ background : url (/ images/icons/icon-calendar.svg ) no-repeat ;
35
+ }
36
+ .form-field input ,
37
+ .form-field textarea {
38
+ box-sizing : border-box ;
39
+ background-color : var (--bgcolor-input );
40
+ border-color : var (--color-border-input );
41
+ border-radius : 5px ;
42
+ border-style : solid ;
43
+ border-width : 1px ;
44
+ font-family : inherit ;
45
+ line-height : 2 ;
46
+ width : 100% ;
47
+ -webkit-appearance : none ;
48
+ }
49
+ .form-field input {
50
+ height : 3rem ;
51
+ padding-left : 3em ;
52
+ }
53
+ .form-field textarea {
54
+ height : 10em ;
55
+ margin-bottom : 1em ;
56
+ padding : 0.5em 1em ;
57
+ }
58
+ .form-submit [class ^= ' btn-' ] {
59
+ background-color : var (--color-accent-dark );
60
+ border-radius : 5px ;
61
+ color : var (--color-primary-light );
62
+ display : inline-block ;
63
+ font-weight : bold ;
64
+ height : 3rem ;
65
+ line-height : 1 ;
66
+ padding : 0.75rem ;
67
+ text-align : center ;
68
+ vertical-align : middle ;
69
+ min-width : 3em ;
70
+ }
71
+ .form-submit [class ^= ' btn-' ]:hover {
72
+ cursor : pointer ;
73
+ }
74
+ .form-submit .btn-send {
75
+ align-items : center ;
76
+ display : grid ;
77
+ grid-template-columns : 3fr 1fr ;
78
+ font-size : 1rem ;
79
+ width : 6em ;
80
+ }
81
+ .form-submit .btn-lookingglass svg {
82
+ display : inline-block ;
83
+ }
84
+ .form-submit .btn-lookingglass svg path {
85
+ fill : var (--color-primary-light );
86
+ }
87
+ .form-submit .icon-arrow {
88
+ background : transparent url (/ images/icons/icon-right-arrow.svg ) no-repeat ;
89
+ background-size : contain ;
90
+ display : inline-block ;
91
+ height : 0.75em ;
92
+ transition : all 0.25s ease-in-out ;
93
+ width : 1em ;
94
+ }
95
+ .form-submit .btn-send :hover .icon-arrow {
96
+ transform : translateX (4px );
97
+ }
0 commit comments