-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_inputs.scss
More file actions
47 lines (47 loc) · 981 Bytes
/
_inputs.scss
File metadata and controls
47 lines (47 loc) · 981 Bytes
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
input, textarea {
appearance: none;
padding: 1em;
width: 100%;
height: 3em;
font-size: 1em;
background: $white;
border: 0.0625rem solid mix($background, $dark, 85%);
border-radius: $border-radius-base;
box-shadow: none;
transition: all .2s ease-in-out;
&:focus {
border-color: $primary;
outline: none;
}
&.-primary {
border-color: $primary;
&:focus {
box-shadow: 0 0 0 0.0625rem $primary;
}
}
&.-success {
border-color: $success;
&:focus {
box-shadow: 0 0 0 0.0625rem $success;
}
}
&.-warning {
border-color: $warning;
&:focus {
box-shadow: 0 0 0 0.0625rem $warning;
}
}
&.-danger {
border-color: $danger;
&:focus {
box-shadow: 0 0 0 0.0625rem $danger;
}
}
}
textarea {
height: auto;
}
label {
margin-top: 1em;
display: block;
}