_inputs.scss
1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
$inputs-border:#cccccc;
$requiredColor:#f26522;
.legal-form {
input {
width: 100%;
float: left;
outline: none!important;
height: 42px;
background: #fff;
border: 1px solid $inputs-border;
padding-left: 8px;
margin-top: 6px;
resize: none;
box-shadow: none;
&:focus {
box-shadow: 2px 3px 4px 0px rgba(238, 238, 238, 0.75) inset;
@include Transition(0.2);
}
}
textarea {
@extend input;
padding-top: 8px;
min-height: 82px;
max-height: 82px;
max-width: 100%;
}
select {
@extend input;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: #fff url(../images/select-arrow.png) 98% 50% no-repeat !important;
}
button {
outline: none !important;
}
label {
margin: 19px 0 0 0;
float: left;
font-size: 17px;
font-weight: 300;
font-family: "Roboto";
}
.has-error {
input, textarea, select {
border: 1px solid $requiredColor !important;
}
}
.required label {
position: relative;
&:before {
display: block;
content: "*";
color: $requiredColor !important;
position: absolute;
top: 5px;
right: -7px;
font-size: 14px;
//font-family: Arial !important;
}
}
.help-block {
display: none;
width: 100%;
float: left;
font-size: 13px;
color: #888;
margin-top: 5px;
}
}
.modal {
margin-top: 45px !important;
z-index: 999999;
}
@media (max-width: 767px) {
.legal-form {
label {
font-size: 16px;
}
}
}