Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/phui/phui-header-view.css
12241 views
1
/**
2
* @provides phui-header-view-css
3
*/
4
5
.phui-header-shell {
6
border-bottom: 1px solid {$thinblueborder};
7
overflow: hidden;
8
padding: 0 4px 12px;
9
}
10
11
.phui-header-view {
12
display: table;
13
width: 100%
14
}
15
16
.phui-header-row {
17
display: table-row;
18
}
19
20
.phui-header-col1 {
21
display: table-cell;
22
vertical-align: middle;
23
width: 62px;
24
}
25
26
.phui-header-col2 {
27
display: table-cell;
28
vertical-align: middle;
29
word-break: break-word;
30
}
31
32
.phui-header-col3 {
33
display: table-cell;
34
vertical-align: middle;
35
}
36
37
body .phui-header-shell.phui-header-no-background {
38
background-color: transparent;
39
border: none;
40
}
41
42
body .phui-header-shell.phui-bleed-header {
43
background-color: #fff;
44
border-bottom: 1px solid {$thinblueborder};
45
width: auto;
46
margin: 16px;
47
}
48
49
body .phui-header-shell.phui-bleed-header
50
.phui-header-view {
51
padding: 8px 24px 8px 0;
52
color: {$darkbluetext};
53
}
54
55
.phui-header-shell + .phabricator-form-view {
56
border-top-width: 0;
57
}
58
59
.phui-property-list-view + .diviner-document-section {
60
margin-top: -1px;
61
}
62
63
.phui-header-view {
64
position: relative;
65
font-size: {$normalfontsize};
66
}
67
68
.phui-header-header {
69
font-size: 16px;
70
line-height: 24px;
71
color: {$darkbluetext};
72
}
73
74
.phui-header-header .phui-header-icon {
75
margin-right: 8px;
76
color: {$lightbluetext};
77
78
/* This allows the header text to be triple-clicked to select it in Firefox,
79
see T10905 for discussion. */
80
display: inline;
81
}
82
83
.phui-object-box .phui-header-tall .phui-header-header,
84
.phui-document-view .phui-header-tall .phui-header-header {
85
font-size: 18px;
86
}
87
88
.phui-header-view .phui-header-header a {
89
color: {$darkbluetext};
90
}
91
92
.phui-box-blue-property .phui-header-view .phui-header-header a {
93
color: {$bluetext};
94
}
95
96
.device-desktop .phui-header-view .phui-header-header a:hover {
97
text-decoration: none;
98
color: {$blue};
99
}
100
101
.phui-header-view .phui-header-action-links {
102
float: right;
103
}
104
105
.phui-object-box .phui-header-view .phui-header-action-links {
106
margin-right: 4px;
107
font-size: {$normalfontsize};
108
}
109
110
.phui-header-action-link {
111
margin-bottom: 4px;
112
margin-top: 4px;
113
float: right;
114
}
115
116
.device-phone .phui-header-action-link .phui-button-text {
117
visibility: hidden;
118
width: 0;
119
margin-left: 8px;
120
}
121
122
.device-phone .phui-header-action-link.button .phui-icon-view {
123
width: 12px;
124
text-align: center;
125
}
126
127
.phui-header-divider {
128
margin: 0 4px;
129
font-weight: normal;
130
color: {$lightbluetext};
131
}
132
133
.phui-header-tags {
134
margin-left: 12px;
135
font-size: {$normalfontsize};
136
}
137
138
.phui-header-tags .phui-tag-view {
139
margin-left: 4px;
140
}
141
142
.phui-header-image {
143
display: inline-block;
144
background-repeat: no-repeat;
145
background-size: 100%;
146
width: 50px;
147
height: 50px;
148
border-radius: 3px;
149
}
150
151
.phui-header-image-href {
152
position: relative;
153
display: block;
154
}
155
156
.phui-header-image-edit {
157
display: none;
158
}
159
160
.device-desktop .phui-header-image-href:hover .phui-header-image-edit {
161
display: block;
162
position: absolute;
163
left: 0;
164
background: rgba({$alphablack},0.4);
165
color: #fff;
166
font-weight: normal;
167
bottom: 4px;
168
padding: 4px 8px;
169
font-size: 12px;
170
}
171
172
.device-desktop .phui-header-image-edit:hover {
173
text-decoration: underline;
174
}
175
176
.phui-header-subheader {
177
font-weight: normal;
178
font-size: {$biggerfontsize};
179
margin-top: 8px;
180
}
181
182
.phui-header-subheader .phui-icon-view {
183
margin-right: 4px;
184
}
185
186
.phui-header-subheader .phui-tag-view span.phui-icon-view,
187
.phui-header-subheader .policy-header-callout span.phui-icon-view {
188
display: inline-block;
189
margin: -2px 4px -2px 0;
190
font-size: 15px;
191
}
192
193
.phui-header-subheader,
194
.phui-header-subheader .policy-link {
195
color: {$darkbluetext};
196
}
197
198
.policy-header-callout,
199
.phui-header-subheader .phui-tag-core {
200
padding: 3px 9px;
201
border-radius: 3px;
202
background: rgba({$alphablue}, 0.1);
203
margin-right: 8px;
204
-webkit-font-smoothing: auto;
205
border-color: transparent;
206
line-height: 28px;
207
}
208
209
210
.phui-header-subheader .phui-tag-view,
211
.phui-header-subheader .phui-tag-type-shade .phui-tag-core {
212
border: none;
213
font-weight: normal;
214
-webkit-font-smoothing: auto;
215
}
216
217
.policy-header-callout.policy-adjusted-special {
218
background: {$sh-indigobackground};
219
}
220
221
.policy-header-callout.policy-adjusted-special .policy-link,
222
.policy-header-callout.policy-adjusted-special .phui-icon-view {
223
color: {$sh-indigotext};
224
}
225
226
.policy-header-callout.policy-adjusted-locked {
227
background: {$sh-pinkbackground};
228
}
229
230
.policy-header-callout.policy-adjusted-locked .policy-link,
231
.policy-header-callout.policy-adjusted-locked .phui-icon-view {
232
color: {$sh-pinktext};
233
}
234
235
236
.policy-header-callout .policy-space-container {
237
font-weight: bold;
238
color: {$sh-redtext};
239
}
240
241
.policy-header-callout .policy-tier-separator {
242
padding: 0 0 0 4px;
243
color: {$lightgreytext};
244
}
245
246
.phui-header-action-links .phui-mobile-menu {
247
display: none;
248
}
249
250
.device .phui-header-action-links .phui-mobile-menu {
251
display: inline-block;
252
}
253
254
.phui-header-action-list {
255
float: right;
256
}
257
258
.phui-header-action-list li {
259
margin: 0 0 0 8px;
260
float: right;
261
}
262
263
.phui-header-action-list .phui-header-action-item .phui-icon-view {
264
height: 18px;
265
width: 16px;
266
font-size: 16px;
267
line-height: 20px;
268
display: block;
269
}
270
271
.spaces-name {
272
color: {$lightbluetext};
273
}
274
275
.phui-object-box .phui-header-tall .spaces-name {
276
font-size: 18px;
277
}
278
279
.spaces-name .phui-handle,
280
.spaces-name a.phui-handle,
281
.phui-profile-header.phui-header-shell .spaces-name .phui-handle {
282
color: {$sh-redtext};
283
}
284
285
.device-desktop .spaces-name a.phui-handle:hover {
286
color: {$sh-redtext};
287
text-decoration: underline;
288
}
289
290
291
/*** Profile Header ***********************************************************/
292
293
.phui-profile-header {
294
padding: 24px 20px 20px 24px;
295
}
296
297
.device-phone .phui-profile-header {
298
padding: 12px;
299
}
300
301
.phui-profile-header.phui-header-shell {
302
margin: 0;
303
border: none;
304
}
305
306
.phui-profile-header .phui-header-image {
307
height: 80px;
308
width: 80px;
309
}
310
311
.phui-profile-header .phui-header-col1 {
312
width: 96px;
313
}
314
315
.phui-profile-header .phui-header-subheader {
316
margin-top: 12px;
317
}
318
319
.phui-profile-header.phui-header-shell .phui-header-header {
320
font-size: 24px;
321
color: {$blacktext};
322
}
323
324
.phui-profile-header.phui-header-shell .phui-header-header a {
325
color: {$blacktext};
326
}
327
328
.phui-header-view .phui-tag-indigo a {
329
color: {$sh-indigotext};
330
}
331
332