Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/phui/phui-form.css
12242 views
1
/**
2
* @provides phui-form-css
3
*/
4
5
select,
6
textarea,
7
input[type="text"],
8
input[type="password"],
9
input[type="datetime"],
10
input[type="datetime-local"],
11
input[type="date"],
12
input[type="month"],
13
input[type="time"],
14
input[type="week"],
15
input[type="number"],
16
input[type="email"],
17
input[type="url"],
18
input[type="search"],
19
input[type="tel"],
20
input[type="color"],
21
div.jx-tokenizer-container {
22
display: inline-block;
23
height: 30px;
24
line-height: 18px;
25
color: inherit;
26
vertical-align: middle;
27
font: {$basefont};
28
-webkit-font-smoothing: antialiased;
29
}
30
31
textarea,
32
input[type="text"],
33
input[type="password"],
34
input[type="datetime"],
35
input[type="datetime-local"],
36
input[type="date"],
37
input[type="month"],
38
input[type="time"],
39
input[type="week"],
40
input[type="number"],
41
input[type="email"],
42
input[type="url"],
43
input[type="search"],
44
input[type="tel"],
45
input[type="color"],
46
div.jx-tokenizer-container {
47
padding: 4px 6px;
48
background-color: {$page.content};
49
border: 1px solid {$greyborder};
50
border-radius: 3px;
51
52
-webkit-transition: border linear .05s, box-shadow linear .05s;
53
-moz-transition: border linear .05s, box-shadow linear .05s;
54
-o-transition: border linear .05s, box-shadow linear .05s;
55
transition: border linear .05s, box-shadow linear .05s;
56
57
-webkit-box-sizing: border-box;
58
-moz-box-sizing: border-box;
59
box-sizing: border-box;
60
61
/* iOS Safari */
62
-webkit-appearance: none;
63
}
64
65
textarea:focus,
66
input[type="text"]:focus,
67
input[type="password"]:focus,
68
input[type="datetime"]:focus,
69
input[type="datetime-local"]:focus,
70
input[type="date"]:focus,
71
input[type="month"]:focus,
72
input[type="time"]:focus,
73
input[type="week"]:focus,
74
input[type="number"]:focus,
75
input[type="email"]:focus,
76
input[type="url"]:focus,
77
input[type="search"]:focus,
78
input[type="tel"]:focus,
79
input[type="color"]:focus,
80
div.jx-tokenizer-container-focused {
81
border-color: rgba(82, 168, 236, 0.8);
82
outline: 0;
83
/* IE6-9 */
84
85
-webkit-box-shadow:
86
inset 0 1px 1px rgba({$alphablack},.075),
87
0 0 8px rgba(82,168,236,.6);
88
-moz-box-shadow:
89
inset 0 1px 1px rgba({$alphablack},.075),
90
0 0 8px rgba(82,168,236,.6);
91
box-shadow:
92
inset 0 1px 1px rgba({$alphablack},.075),
93
0 0 8px rgba(82,168,236,.6);
94
}
95
input[type="radio"],
96
input[type="checkbox"] {
97
margin: 4px 0 0;
98
margin-top: 1px \9;
99
/* IE8-9 */
100
line-height: normal;
101
}
102
103
select {
104
-webkit-appearance: none;
105
-moz-appearance: none;
106
appearance: none;
107
108
background: {$page.content} url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC") no-repeat right 8px center;
109
background-size: 8px 10px;
110
border-radius: 3px;
111
border: 1px solid {$greyborder};
112
height: 30px;
113
padding: 0 24px 0 8px;
114
margin: 0;
115
min-width: 180px;
116
}
117
118
select[multiple],
119
select[size] {
120
height: auto;
121
}
122
123
select:focus,
124
input[type="file"]:focus,
125
input[type="radio"]:focus,
126
input[type="checkbox"]:focus {
127
outline: thin dotted #333;
128
outline: 5px auto -webkit-focus-ring-color;
129
outline-offset: -2px;
130
}
131
132
input:-moz-placeholder,
133
textarea:-moz-placeholder {
134
color: {$lightgreytext};
135
}
136
137
input:-ms-input-placeholder,
138
textarea:-ms-input-placeholder {
139
color: {$lightgreytext};
140
}
141
142
input::-webkit-input-placeholder,
143
textarea::-webkit-input-placeholder {
144
color: {$lightgreytext};
145
}
146
147
select[disabled],
148
input[disabled],
149
textarea[disabled],
150
.disabled-control {
151
opacity: 0.5;
152
}
153
154
.aphront-space-select-control-knob {
155
margin: 0 8px 4px 0;
156
float: left;
157
}
158
159
.aphront-form-control-policy .policy-control {
160
float: left;
161
margin-right: 8px;
162
}
163
164
.device .aphront-space-select-control-knob {
165
float: none;
166
}
167
168
.device .aphront-form-control-policy .policy-control {
169
margin: 0;
170
}
171
172