-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_fields.scss
88 lines (78 loc) · 1.48 KB
/
_fields.scss
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
82
83
84
85
86
87
88
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
color: $color__text-input;
border: 1px solid $color__border-input;
border-radius: 3px;
-webkit-appearance: none;
outline-offset: 0;
&:focus {
color: $color__text-input-focus;
}
}
select {
border: 1px solid $color__border-input;
height: 2rem;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
padding: 3px;
}
input[type="password"],
input[type="search"] {
padding: .5rem;
margin-right: .5rem;
width: 12rem;
}
textarea {
padding-left: 3px;
width: 100%;
}
input[type="checkbox"],
input[type="radio"] {
display: inline;
}
input[type="file"] {
line-height: 1rem;
}
.search-field {
font-size: 1rem;
}
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="url"] {
@include media-breakpoint-down(sm) {
width: 100%;
}
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
@include media-breakpoint-down(sm) {
width: 100%;
}
}