提交 | 用户 | 时间
|
58d006
|
1 |
.enable_profile() when(@enable-profile = true) { |
A |
2 |
|
|
3 |
.profile-user-info { |
|
4 |
display: table; |
|
5 |
width: 98%; |
|
6 |
width: ~"calc(100% - 24px)"; |
|
7 |
margin: 0 auto; |
|
8 |
} |
|
9 |
.profile-info-row { |
|
10 |
display: table-row; |
|
11 |
} |
|
12 |
.profile-info-name { |
|
13 |
text-align: right; |
|
14 |
padding: 6px 10px 6px 4px; |
|
15 |
|
|
16 |
font-weight: normal; |
|
17 |
color: #667E99; |
|
18 |
background-color: transparent; |
|
19 |
|
|
20 |
border-top: 1px dotted #D5E4F1; |
|
21 |
|
|
22 |
display: table-cell; |
|
23 |
width: 110px; |
|
24 |
vertical-align: middle; |
|
25 |
} |
|
26 |
.profile-info-value { |
|
27 |
display: table-cell; |
|
28 |
|
|
29 |
padding: 6px 4px 6px 6px; |
|
30 |
//margin-left: 110px; |
|
31 |
border-top: 1px dotted #D5E4F1; |
|
32 |
|
|
33 |
> span + span:before{/* for a list of values (such as location city & country) put a comma between them */ |
|
34 |
display:inline; |
|
35 |
content:","; |
|
36 |
margin-left:1px; |
|
37 |
margin-right:3px; |
|
38 |
color:#666; |
|
39 |
border-bottom:1px solid #FFF; |
|
40 |
} |
|
41 |
> span + span.editable-container:before { |
|
42 |
display:none; |
|
43 |
} |
|
44 |
} |
|
45 |
|
|
46 |
.profile-info-row { |
|
47 |
&:first-child .profile-info-name { |
|
48 |
border-top:none; |
|
49 |
} |
|
50 |
&:first-child .profile-info-value { |
|
51 |
border-top:none; |
|
52 |
} |
|
53 |
} |
|
54 |
|
|
55 |
|
|
56 |
.profile-user-info-striped { |
|
57 |
border: 1px solid #DCEBF7; |
|
58 |
|
|
59 |
.profile-info-name { |
|
60 |
color: #336199; |
|
61 |
background-color: #EDF3F4; |
|
62 |
border-top: 1px solid #F7FBFF; |
|
63 |
} |
|
64 |
.profile-info-value { |
|
65 |
border-top: 1px dotted #DCEBF7; |
|
66 |
padding-left: 12px; |
|
67 |
} |
|
68 |
} |
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
.profile-picture { |
|
74 |
border: 1px solid #CCC; |
|
75 |
background-color: #FFF; |
|
76 |
padding: 4px; |
|
77 |
display: inline-block; |
|
78 |
max-width: 100%; |
|
79 |
|
|
80 |
.box-sizing(border-box); |
|
81 |
box-shadow:1px 1px 1px rgba(0,0,0,0.15); |
|
82 |
} |
|
83 |
|
|
84 |
|
|
85 |
.profile-activity { |
|
86 |
padding:10px 4px; |
|
87 |
border-bottom:1px dotted #D0D8E0; |
|
88 |
position:relative; |
|
89 |
border-left:1px dotted #FFF; |
|
90 |
border-right:1px dotted #FFF; |
|
91 |
&:first-child { |
|
92 |
border-top:1px dotted transparent; |
|
93 |
&:hover { |
|
94 |
border-top-color:#D0D8E0; |
|
95 |
} |
|
96 |
} |
|
97 |
|
|
98 |
&:hover { |
|
99 |
background-color:#F4F9FD; |
|
100 |
border-left:1px dotted #D0D8E0; |
|
101 |
border-right:1px dotted #D0D8E0; |
|
102 |
} |
|
103 |
|
|
104 |
|
|
105 |
img { |
|
106 |
border:2px solid #C9D6E5; |
|
107 |
border-radius:100%; |
|
108 |
max-width:40px; |
|
109 |
margin-right:10px; |
|
110 |
margin-left:0px; |
|
111 |
box-shadow:none; |
|
112 |
} |
|
113 |
.thumbicon { |
|
114 |
background-color: #74ABD7; |
|
115 |
display: inline-block; |
|
116 |
border-radius: 100%; |
|
117 |
|
|
118 |
width: 38px; |
|
119 |
height: 38px; |
|
120 |
|
|
121 |
color: #FFF; |
|
122 |
font-size: @font-size-profile-thumb; |
|
123 |
text-align: center; |
|
124 |
line-height: 38px; |
|
125 |
|
|
126 |
margin-right:10px; margin-left:0px; |
|
127 |
text-shadow:none !important; |
|
128 |
} |
|
129 |
|
|
130 |
.time { |
|
131 |
display:block; |
|
132 |
margin-top:4px; |
|
133 |
color:#777; |
|
134 |
} |
|
135 |
|
|
136 |
a.user { |
|
137 |
font-weight:bold; |
|
138 |
color:#9585BF; |
|
139 |
} |
|
140 |
|
|
141 |
.tools { |
|
142 |
position:absolute; |
|
143 |
right: 12px; |
|
144 |
bottom:8px; |
|
145 |
display:none; |
|
146 |
} |
|
147 |
&:hover .tools { |
|
148 |
display:block; |
|
149 |
} |
|
150 |
} |
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
.user-profile .ace-thumbnails li { |
|
158 |
border:1px solid #CCC; |
|
159 |
padding:3px; |
|
160 |
margin:6px; |
|
161 |
|
|
162 |
.tools { |
|
163 |
left:3px; right:3px; |
|
164 |
} |
|
165 |
&:hover .tools { |
|
166 |
bottom:3px; |
|
167 |
} |
|
168 |
} |
|
169 |
|
|
170 |
|
|
171 |
//.user-profile |
|
172 |
.user-title-label { |
|
173 |
&:hover { |
|
174 |
text-decoration:none; |
|
175 |
} |
|
176 |
+ .dropdown-menu { |
|
177 |
margin-left:-12px; |
|
178 |
} |
|
179 |
} |
|
180 |
|
|
181 |
|
|
182 |
.profile-contact-links { |
|
183 |
padding: 4px 2px 5px; |
|
184 |
border: 1px solid #E0E2E5; |
|
185 |
background-color: #F8FAFC; |
|
186 |
} |
|
187 |
.btn-link:hover .@{icon} { |
|
188 |
text-decoration: none !important; |
|
189 |
} |
|
190 |
.profile-social-links > a { |
|
191 |
text-decoration: none; |
|
192 |
margin: 0 1px; |
|
193 |
&:hover > .@{icon} { |
|
194 |
text-decoration: none; |
|
195 |
} |
|
196 |
} |
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
.profile-skills .progress { |
|
201 |
height: 26px; |
|
202 |
margin-bottom: 2px; |
|
203 |
background-color:transparent; |
|
204 |
.progress-bar { |
|
205 |
line-height: 26px; |
|
206 |
font-size: @base-font-size; |
|
207 |
font-weight: bold; |
|
208 |
font-family: "Open Sans"; |
|
209 |
padding :0 8px; |
|
210 |
} |
|
211 |
} |
|
212 |
|
|
213 |
|
|
214 |
|
|
215 |
.profile-users { |
|
216 |
.user { |
|
217 |
display:block; |
|
218 |
position:static; |
|
219 |
text-align:center; |
|
220 |
width:auto; |
|
221 |
|
|
222 |
img { |
|
223 |
padding:2px; |
|
224 |
.border-radius(100%); |
|
225 |
border:1px solid #AAA; |
|
226 |
|
|
227 |
max-width:none; |
|
228 |
width:64px; |
|
229 |
|
|
230 |
.transition(~"all 0.1s"); |
|
231 |
|
|
232 |
&:hover { |
|
233 |
.box-shadow(~"0 0 1px 1px rgba(0,0,0,0.33)"); |
|
234 |
} |
|
235 |
} |
|
236 |
} |
|
237 |
|
|
238 |
.memberdiv { |
|
239 |
background-color:#FFF; |
|
240 |
width:100px; |
|
241 |
|
|
242 |
.box-sizing(border-box); |
|
243 |
border:none; |
|
244 |
text-align:center; |
|
245 |
|
|
246 |
margin:0 8px 24px; |
|
247 |
|
|
248 |
.name a:hover .@{icon} { |
|
249 |
text-decoration:none; |
|
250 |
} |
|
251 |
|
|
252 |
.body { |
|
253 |
display:inline-block; |
|
254 |
margin:8px 0 0 0; |
|
255 |
} |
|
256 |
|
|
257 |
.popover { |
|
258 |
visibility:hidden; |
|
259 |
min-width: 0; |
|
260 |
max-height: 0; |
|
261 |
max-width: 0; |
|
262 |
|
|
263 |
margin-left:0; |
|
264 |
margin-right:0; |
|
265 |
|
|
266 |
top:-5%; |
|
267 |
left:auto; |
|
268 |
right:auto; |
|
269 |
|
|
270 |
opacity:0; |
|
271 |
display:none; |
|
272 |
position: absolute; |
|
273 |
|
|
274 |
.transition(~"opacity 0.2s linear 0s, visibility 0s linear 0.2s, max-height 0s linear 0.2s, max-width 0s linear 0.2s, min-width 0s linear 0.2s"); |
|
275 |
|
|
276 |
&.right { |
|
277 |
left:100%; |
|
278 |
right:auto; |
|
279 |
display:block; |
|
280 |
} |
|
281 |
&.left { |
|
282 |
left:auto; |
|
283 |
right:100%; |
|
284 |
display:block; |
|
285 |
} |
|
286 |
} |
|
287 |
> :first-child:hover .popover { |
|
288 |
visibility:visible; |
|
289 |
opacity:1; |
|
290 |
z-index: @zindex-popover; |
|
291 |
max-height: 250px; |
|
292 |
max-width: 250px; |
|
293 |
min-width: 150px; |
|
294 |
|
|
295 |
-webkit-transition-delay:0s; |
|
296 |
-moz-transition-delay:0s; |
|
297 |
-o-transition-delay:0s; |
|
298 |
transition-delay:0s; |
|
299 |
} |
|
300 |
|
|
301 |
.tools { |
|
302 |
position:static; |
|
303 |
display:block; |
|
304 |
width:100%; |
|
305 |
margin-top:2px; |
|
306 |
> a { |
|
307 |
margin:0 2px; |
|
308 |
&:hover { |
|
309 |
text-decoration:none; |
|
310 |
} |
|
311 |
} |
|
312 |
} |
|
313 |
|
|
314 |
} |
|
315 |
|
|
316 |
} |
|
317 |
|
|
318 |
|
|
319 |
|
|
320 |
|
|
321 |
.user-status { |
|
322 |
display:inline-block; |
|
323 |
width:11px; height:11px; |
|
324 |
background-color:#FFF; |
|
325 |
border:3px solid #AAA; |
|
326 |
.border-radius(100%); |
|
327 |
vertical-align:middle; |
|
328 |
margin-right:1px; |
|
329 |
|
|
330 |
&.status-online{ |
|
331 |
border-color:#8AC16C; |
|
332 |
} |
|
333 |
&.status-busy{ |
|
334 |
border-color:#E07F69; |
|
335 |
} |
|
336 |
&.status-idle{ |
|
337 |
border-color:#FFB752; |
|
338 |
} |
|
339 |
} |
|
340 |
|
|
341 |
|
|
342 |
|
|
343 |
|
|
344 |
.tab-content.profile-edit-tab-content { |
|
345 |
border:1px solid #DDD; |
|
346 |
padding:8px 32px 32px; |
|
347 |
.box-shadow(~"1px 1px 0 0 rgba(0, 0, 0, 0.2)"); |
|
348 |
|
|
349 |
background-color: #FFF; |
|
350 |
} |
|
351 |
|
|
352 |
|
|
353 |
|
|
354 |
|
|
355 |
|
|
356 |
|
|
357 |
|
|
358 |
//profile |
|
359 |
@media only screen and (max-width: @screen-xs) { |
|
360 |
.profile-info-name { |
|
361 |
width: 80px; |
|
362 |
} |
|
363 |
|
|
364 |
.profile-user-info-striped { |
|
365 |
.profile-info-name { |
|
366 |
float: none; |
|
367 |
width: auto; |
|
368 |
text-align: left; |
|
369 |
padding: 6px 4px 6px 10px; |
|
370 |
display: block; |
|
371 |
} |
|
372 |
.profile-info-value { |
|
373 |
margin-left: 10px; |
|
374 |
display: block; |
|
375 |
} |
|
376 |
} |
|
377 |
} |
|
378 |
|
|
379 |
@media only screen and (max-width: @screen-xs) { |
|
380 |
.user-profile .memberdiv { |
|
381 |
width: 50%; |
|
382 |
margin-left: 0; |
|
383 |
margin-right: 0; |
|
384 |
} |
|
385 |
} |
|
386 |
|
|
387 |
|
|
388 |
|
|
389 |
|
|
390 |
|
|
391 |
} |
|
392 |
.enable_profile(); |