Commit | Line | Data |
---|---|---|
5989f559 | 1 | /* Styles specific to contact Summary/Edit/Inline-Edit pages */ |
0e44568b | 2 | |
fba9e4ed | 3 | .crm-container .primary .crm-label { |
0e44568b CW |
4 | font-weight: bold; |
5 | } | |
6 | ||
7 | .crm-container .upper { | |
8 | text-transform: uppercase; | |
9 | } | |
10 | ||
11 | div#crm-contact-thumbnail { | |
12 | padding: 4px; | |
13 | float: right; | |
14 | } | |
15 | ||
16 | .crm-container div.contact_panel { | |
17 | display: block; | |
18 | } | |
19 | ||
20 | .crm-container div.contact_panel td { | |
21 | border-bottom: 1px solid #FFF; | |
22 | } | |
23 | ||
24 | #crm-container div.crm-inline-edit { | |
25 | border: 2px dashed transparent; | |
26 | background: none; | |
27 | position: relative; | |
28 | } | |
29 | ||
30 | #crm-container .crm-edit-ready .crm-inline-edit:hover { | |
31 | cursor: pointer; | |
32 | border: 2px dashed lightgrey; | |
33 | } | |
34 | ||
35 | #crm-container div.crm-inline-edit.form { | |
36 | cursor: default; | |
37 | border: 2px dashed #6665BF; | |
38 | overflow: auto; | |
39 | } | |
40 | ||
41 | #crm-container .crm-inline-edit.add-new { | |
42 | min-height: 2.5em; | |
43 | } | |
44 | ||
45 | #crm-container div.crm-inline-edit .crm-edit-help { | |
46 | display: none; | |
47 | position: absolute; | |
b5efa2c8 CW |
48 | right: 0; |
49 | top: 0; | |
0e44568b CW |
50 | opacity: .8; |
51 | padding: .4em; | |
52 | border-bottom-left-radius: 1em; | |
53 | } | |
54 | ||
55 | #crm-container .crm-inline-edit.add-new .crm-edit-help { | |
56 | display: block; | |
57 | background-color: #EBEBEB; | |
58 | } | |
59 | ||
60 | #crm-container .crm-edit-ready .crm-inline-edit:hover .crm-edit-help { | |
61 | display: block; | |
62 | background-color: #DFE1FF; | |
63 | } | |
64 | ||
65 | #crm-container div.crm-inline-edit.form .crm-edit-help { | |
66 | display: none !important; | |
67 | } | |
68 | ||
69 | #crm-container span.crm-custom-greeting { | |
70 | font-size: 9px; | |
71 | } | |
72 | ||
73 | #crm-container table.crm-inline-edit-form td, | |
74 | #crm-container div.crm-inline-edit-form { | |
75 | background-color: #efefe5; | |
76 | white-space: nowrap; | |
77 | } | |
78 | #crm-container table.crm-inline-edit-form td.crm-label, | |
79 | #crm-container div.crm-inline-edit-form .crm-label { | |
80 | white-space: normal; | |
81 | } | |
82 | ||
83 | #crm-container div.crm-inline-edit-field { | |
84 | display: inline-block; | |
85 | padding: 4px 5px; | |
86 | } | |
87 | ||
88 | #crm-container div.crm-summary-contactname-block { | |
89 | padding-bottom: 8px; | |
90 | margin-top: -10px; | |
91 | } | |
92 | ||
93 | #crm-container div.crm-summary-display_name { | |
94 | font-size: 19px; | |
95 | padding-bottom: 10px; | |
96 | } | |
97 | ||
98 | #crm-container div.contactCardLeft, | |
99 | #crm-container div#Top { | |
100 | width: 49%; | |
101 | display: block; | |
102 | float: left; | |
103 | clear: both; | |
104 | } | |
105 | ||
106 | #crm-container div.contactCardRight { | |
107 | width: 49%; | |
108 | display: block; | |
109 | float: right; | |
110 | } | |
111 | ||
112 | #crm-container div.contact_panel table { | |
b5efa2c8 | 113 | margin-bottom: 0; |
0e44568b CW |
114 | } |
115 | ||
116 | #crm-container div.contactCardLeft .label, | |
117 | #crm-container div.contactCardRight .label { | |
118 | font-size: 11px; | |
119 | vertical-align: top; | |
120 | margin-right: 10px; | |
121 | } | |
122 | ||
123 | #crm-container div.contactCardLeft .grouplabel, | |
124 | #crm-container div.contactCardRight .grouplabel { | |
125 | border-bottom: grey 1px solid; | |
126 | width: 100%; | |
127 | font-size: 0.95em; | |
128 | font-weight: bold; | |
129 | background-color: #ddd; | |
130 | } | |
131 | ||
132 | #crm-container div.contact_panel .spacer { | |
133 | padding: 8px; | |
134 | } | |
135 | ||
136 | #crm-container div.contact_panel td { | |
137 | padding: 4px; | |
138 | vertical-align: top; | |
139 | border-bottom: 1px solid #E2E2E2; | |
140 | } | |
141 | ||
142 | #crm-container div.contact_panel td.label { | |
143 | width: 28%; | |
144 | } | |
145 | ||
146 | #crm-container div.contact_panel td.last { | |
b5efa2c8 | 147 | border-bottom: 0; |
0e44568b CW |
148 | } |
149 | ||
150 | #crm-container #customFields { | |
151 | width: 100%; | |
152 | } | |
153 | ||
154 | #crm-container #customFields div.contact_panel td.talabel { | |
155 | padding: 4px 0 0 4px; | |
b5efa2c8 | 156 | border: 0; |
0e44568b CW |
157 | } |
158 | ||
159 | #crm-container #customFields .contact_panel .customFieldGroup { | |
160 | line-height: 1.4em; | |
161 | padding: 4px; | |
162 | width: 100%; | |
163 | } | |
164 | ||
165 | #crm-container div.contact_panel .crm-address-block { | |
166 | margin-bottom: 6px; | |
167 | } | |
168 | #crm-container .crm-add-address-wrapper { | |
169 | height: 25px; | |
170 | } | |
171 | ||
172 | .crm-container .crm-summary-row:after { | |
173 | clear: both; | |
174 | content: "."; | |
175 | display: block; | |
176 | height: 0; | |
177 | visibility: hidden; | |
178 | } | |
179 | ||
180 | #crm-container div.crm-summary-row { | |
181 | background-color: #F4F4ED; | |
182 | border-top: 1px solid #ffffff; | |
183 | margin-bottom: 1px; | |
184 | min-height: 17px; | |
185 | } | |
186 | ||
187 | #crm-container div.crm-summary-row div.crm-label { | |
188 | background-color: #FAFAFA; | |
fba9e4ed | 189 | color: #777760; |
0e44568b CW |
190 | text-align: left; |
191 | width: 122px; | |
192 | float: left; | |
193 | padding: 4px; | |
194 | } | |
195 | ||
196 | #crm-container div.crm-summary-row div.crm-content { | |
197 | padding: 4px; | |
198 | margin-left: 130px; | |
199 | } | |
200 | ||
201 | .crm-container #customFields div.contact_panel td { | |
202 | border-bottom: 1px solid #FFFFFF; | |
203 | padding: 4px; | |
204 | vertical-align: top; | |
205 | } | |
206 | ||
207 | #crm-record-log { | |
b5efa2c8 | 208 | padding: 0.8em 0.8em 0 0; |
0e44568b CW |
209 | text-align: right; |
210 | } | |
211 | ||
5989f559 CW |
212 | #crm-container .geotag { |
213 | padding: 2px 0 2px 20px !important; | |
214 | background: url('../i/geotag_16.png') left center no-repeat; | |
215 | font-size: .9em; | |
216 | } | |
217 | ||
0e44568b CW |
218 | /* contact actions */ |
219 | ||
0871c5f5 CW |
220 | #crm-contact-actions-wrapper { |
221 | position: relative; | |
222 | } | |
223 | ||
224 | #crm-contact-actions-list { | |
225 | width: 495px; | |
226 | } | |
227 | ||
0e44568b CW |
228 | #crm-contact-actions-list ul { |
229 | width: auto; | |
230 | } | |
231 | ||
232 | #crm-contact-actions-list .crm-contact_activities-list ul { | |
233 | padding-right: 4px; | |
234 | } | |
235 | #crm-contact-actions-list .crm-contact_print-list ul, | |
236 | #crm-contact-actions-list .crm-contact_actions-list ul { | |
237 | padding-left: 4px; | |
238 | } | |
239 | ||
240 | #crm-contact-actions-list .crm-contact_activities-list { | |
241 | float: left; | |
242 | } | |
243 | #crm-contact-actions-list .crm-contact_print-list { | |
244 | float: right; | |
245 | } | |
246 | #crm-contact-actions-list .crm-contact_actions-list { | |
247 | margin-left: 160px; | |
248 | margin-right: 161px; | |
249 | border-left: 1px solid #a7a7a7; | |
250 | border-right: 1px solid #a7a7a7; | |
251 | } | |
252 | ||
0e44568b CW |
253 | #crm-contact-actions-list .crm-contact_activities-list select { |
254 | margin-top: 4px; | |
255 | } | |
256 | ||
257 | #crm-contact-actions-list .crm-contact_activities-list, | |
258 | #crm-contact-actions-list .crm-contact_print-list, | |
259 | #crm-contact-actions-list .crm-contact_actions-list { | |
260 | width: 160px; | |
261 | } | |
262 | ||
6f0d2c94 CW |
263 | .crm-container table.crm-address-element { |
264 | border: none; | |
265 | margin-bottom: .25em; | |
266 | } | |
267 | ||
0e44568b CW |
268 | #crm-contact-actions-list .icon { |
269 | background-image: url("../i/icons/jquery-ui-FFFFFF.png"); | |
270 | } | |
271 | ||
b5efa2c8 CW |
272 | .crm-container .restore-icon { |
273 | background-position: 0 -66px; | |
274 | } | |
275 | .crm-container .button:hover .restore-icon { | |
276 | background-image: url("../i/icons/jquery-ui-91CE00.png"); | |
277 | } | |
278 | ||
0e44568b CW |
279 | /* Responsive layout changes */ |
280 | ||
281 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed, | |
282 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed tbody, | |
283 | #crm-container .contact_basic_information-section.narrowform.xnarrowform table.form-layout-compressed tr { | |
284 | display: block; | |
285 | width: 100%; | |
286 | } | |
287 | ||
288 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed tr { | |
289 | display: inline-block; | |
290 | width: 49%; | |
291 | vertical-align: top; | |
292 | } | |
293 | ||
294 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td { | |
295 | display: block; | |
296 | clear: left; | |
297 | vertical-align: top; | |
298 | margin-bottom: .5ex; | |
299 | } | |
300 | ||
301 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td.hashelpicon { | |
302 | position: relative; | |
303 | } | |
304 | ||
305 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td.hashelpicon label { | |
306 | padding-bottom: 16px; | |
307 | } | |
308 | ||
309 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td .helpicon { | |
310 | position: absolute; | |
311 | bottom: -12px; | |
312 | left: 2px; | |
313 | } | |
314 | ||
315 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td br { | |
316 | display: none; | |
317 | } | |
318 | ||
319 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td label { | |
320 | display: block; | |
321 | box-sizing: border-box; | |
322 | -moz-box-sizing: border-box; | |
323 | width: 25%; | |
324 | float: left; | |
325 | padding-right: 1%; | |
326 | } | |
327 | ||
328 | #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td input { | |
329 | box-sizing: border-box; | |
330 | -moz-box-sizing: border-box; | |
331 | width: 75%; | |
332 | } | |
333 | ||
334 | #crm-container #mainTabContainer.narrowpage #contact-summary div.customFieldGroup, | |
335 | #crm-container #mainTabContainer.narrowpage #contact-summary div.contactCardLeft, | |
336 | #crm-container #mainTabContainer.narrowpage #contact-summary div.contactCardRight { | |
337 | box-sizing: border-box; | |
338 | -moz-box-sizing: border-box; | |
339 | float: none; | |
340 | width: 100%; | |
341 | } |