blob: 1157fa5ea6d8240c2c5b87dba92c9b7e9bf46c61 (
plain)
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
|
label, legend {
font-size:1em;
font-weight: 300;
margin: 0;
&.disabled {
color: $lightbg__grey;
}
.error {
font-size: .9em;
}
}
input[type='email'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='url'],
input[type='text'],
textarea {
border-radius: 0px;
border: 1px solid $medgrey;
height: 3.1em;
margin: 0 0 1em 0;
background: $white;
box-shadow: 0 0 0;
transition: none !important;
&:focus {
border-color: $lightbg__accent;
box-shadow: 0 -5px $field__focus inset;
}
&:disabled,
.disabled {
background: $field__disabled;
border: 1px solid $lightbg__grey;
}
&.input__error {
box-shadow: 0 -5px $error-color inset;
color: $error-color;
&:focus {
box-shadow: 0 -5px $field__focus inset;
}
}
}
input[readonly],
input[readonly]:focus{
box-shadow: 0 0 0;
background: $field__disabled;
border: 1px solid $lightbg__grey;
}
textarea { padding: .2em;
height: auto;}
input[type="submit"], .submit {
margin: 1em 0;
width: 100%;
}
//Custom select
select{
border-radius: 0px;
height:auto;
@include fastTransition-all;
@include bgImage__arrowDown-primary;
&:focus {
border-color: $lightbg__accent;
@include bgImage__arrowDown-accent;
box-shadow: 0 0 0;
}
}
|