Force membership auto-renew on by default
[civicrm-core.git] / css / contactSummary.css
1 /* Styles specific to contact Summary/Edit/Inline-Edit pages */
2
3 .crm-container .primary .crm-label {
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 box-shadow: rgba(255, 255, 255, 0.3) 0 0 0 99999px;
39 background-color: white;
40 float: left;
41 z-index: 99;
42 }
43
44 #mainTabContainer:not(.narrowpage) .contactCardRight div.crm-inline-edit.form {
45 float: right;
46 }
47
48 #crm-container .crm-inline-edit.add-new {
49 min-height: 2.5em;
50 }
51
52 #crm-container div.crm-summary-block .crm-edit-help {
53 display: none;
54 position: absolute;
55 right: 0;
56 top: 0;
57 opacity: .8;
58 padding: .4em .9em;
59 border-bottom-left-radius: 1em;
60 }
61
62 #crm-container .crm-address-block+.crm-address-block .add-new .crm-edit-help {
63 display: block;
64 background-color: #EBEBEB;
65 }
66
67 #crm-container .crm-edit-ready .crm-summary-block .crm-inline-edit:hover .crm-edit-help {
68 display: block;
69 background-color: #DFE1FF;
70 }
71
72 #crm-container div.crm-inline-edit.form .crm-edit-help {
73 display: none !important;
74 }
75
76 #crm-container .crm-address-block+.crm-address-block .add-new .crm-summary-row {
77 display: none;
78 }
79
80 #crm-container span.crm-custom-greeting {
81 font-size: 9px;
82 }
83
84 #crm-container table.crm-inline-edit-form td,
85 #crm-container div.crm-inline-edit-form {
86 background-color: #efefe5;
87 white-space: nowrap;
88 }
89 #crm-container table.crm-inline-edit-form td.crm-label,
90 #crm-container div.crm-inline-edit-form .crm-label,
91 #crm-container div.crm-inline-edit-form .messages {
92 white-space: normal;
93 }
94
95 #crm-container div.crm-inline-edit-field {
96 display: inline-block;
97 padding: 4px 5px;
98 }
99
100 #crm-container div.crm-summary-contactname-block {
101 padding-bottom: 8px;
102 margin-top: -10px;
103 }
104
105 #crm-container div.crm-summary-display_name {
106 font-size: 19px;
107 padding-bottom: 10px;
108 }
109
110 #crm-container div.contactCardLeft,
111 #crm-container div#Top {
112 width: 49%;
113 display: block;
114 float: left;
115 clear: both;
116 }
117
118 #crm-container div.contactCardRight {
119 width: 49%;
120 display: block;
121 float: right;
122 }
123
124 #crm-container div.contact_panel table {
125 margin-bottom: 0;
126 }
127
128 #crm-container div.contactCardLeft .label,
129 #crm-container div.contactCardRight .label {
130 color: #2f2f2f;
131 font-weight: normal;
132 font-size: 11px;
133 vertical-align: top;
134 margin-right: 10px;
135 }
136
137 #crm-container div.contactCardLeft .grouplabel,
138 #crm-container div.contactCardRight .grouplabel {
139 border-bottom: grey 1px solid;
140 width: 100%;
141 font-size: 0.95em;
142 font-weight: bold;
143 background-color: #ddd;
144 }
145
146 #crm-container div.contact_panel .spacer {
147 padding: 8px;
148 }
149
150 #crm-container div.contact_panel td {
151 padding: 4px;
152 vertical-align: top;
153 border-bottom: 1px solid #E2E2E2;
154 }
155
156 #crm-container div.contact_panel td.label {
157 width: 28%;
158 }
159
160 #crm-container div.contact_panel td.last {
161 border-bottom: 0;
162 }
163
164 #crm-container #customFields {
165 width: 100%;
166 }
167
168 #crm-container #customFields div.contact_panel td.talabel {
169 padding: 4px 0 0 4px;
170 border: 0;
171 }
172
173 #crm-container #customFields .contact_panel .customFieldGroup {
174 line-height: 1.4em;
175 padding: 4px;
176 width: 100%;
177 }
178 .crm-container div.contact_panel td.grouplabel {
179 border-bottom: 2px solid #D7D7D0 !important;
180 }
181
182 #crm-container div.contact_panel .crm-address-block {
183 margin-bottom: 6px;
184 }
185 #crm-container .crm-add-address-wrapper {
186 height: 25px;
187 }
188
189 .crm-container .crm-summary-row:after {
190 clear: both;
191 content: ".";
192 display: block;
193 height: 0;
194 visibility: hidden;
195 }
196
197 #crm-container div.crm-summary-row {
198 background-color: #F4F4ED;
199 border-top: 1px solid #ffffff;
200 margin-bottom: 1px;
201 min-height: 17px;
202 }
203
204 #crm-container div.crm-summary-row div.crm-label {
205 background-color: #FAFAFA;
206 color: #777760;
207 text-align: left;
208 width: 122px;
209 float: left;
210 padding: 4px;
211 }
212
213 #crm-container div.crm-summary-row div.crm-content {
214 padding: 4px;
215 margin-left: 130px;
216 }
217
218 .crm-container #customFields div.contact_panel td {
219 border-bottom: 1px solid #FFFFFF;
220 padding: 4px;
221 vertical-align: top;
222 }
223
224 #crm-record-log {
225 padding: 0.8em 0.8em 0 0;
226 text-align: right;
227 }
228
229 #crm-container .geotag {
230 padding: 2px 0 2px 20px !important;
231 background: url('../i/geotag_16.png') left center no-repeat;
232 font-size: .9em;
233 }
234
235 /* contact actions */
236
237 #crm-contact-actions-wrapper {
238 position: relative;
239 }
240
241 #crm-contact-actions-list {
242 width: 495px;
243 }
244
245 #crm-contact-actions-list ul {
246 width: auto;
247 }
248
249 #crm-contact-actions-list .crm-contact_activities-list ul {
250 padding-right: 4px;
251 }
252 #crm-contact-actions-list .crm-contact_print-list ul,
253 #crm-contact-actions-list .crm-contact_actions-list ul {
254 padding-left: 4px;
255 }
256
257 #crm-contact-actions-list .crm-contact_activities-list {
258 float: left;
259 }
260 #crm-contact-actions-list .crm-contact_print-list {
261 float: right;
262 }
263 #crm-contact-actions-list .crm-contact_actions-list {
264 margin-left: 160px;
265 margin-right: 161px;
266 border-left: 1px solid #a7a7a7;
267 border-right: 1px solid #a7a7a7;
268 }
269
270 #crm-contact-actions-list .crm-contact_activities-list select {
271 margin-top: 4px;
272 }
273
274 #crm-contact-actions-list .crm-contact_activities-list,
275 #crm-contact-actions-list .crm-contact_print-list,
276 #crm-contact-actions-list .crm-contact_actions-list {
277 width: 160px;
278 }
279
280 .crm-container table.crm-address-element {
281 border: none;
282 margin-bottom: .25em;
283 }
284
285 #crm-contact-actions-list .icon {
286 background-image: url("../i/icons/jquery-ui-FFFFFF.png");
287 }
288
289 .crm-container .restore-icon {
290 background-position: 0 -66px;
291 }
292 .crm-container .button:hover .restore-icon {
293 background-image: url("../i/icons/jquery-ui-91CE00.png");
294 }
295
296 /* Responsive layout changes */
297
298 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed,
299 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed tbody,
300 #crm-container .contact_basic_information-section.narrowform.xnarrowform table.form-layout-compressed tr {
301 display: block;
302 width: 100%;
303 }
304
305 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed tr {
306 display: inline-block;
307 width: 49%;
308 vertical-align: top;
309 }
310
311 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td {
312 display: block;
313 clear: left;
314 vertical-align: top;
315 margin-bottom: .5ex;
316 }
317
318 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td.hashelpicon {
319 position: relative;
320 }
321
322 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td.hashelpicon label {
323 padding-bottom: 16px;
324 }
325
326 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td .helpicon {
327 position: absolute;
328 bottom: -12px;
329 left: 2px;
330 }
331
332 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td br {
333 display: none;
334 }
335
336 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td label {
337 display: block;
338 box-sizing: border-box;
339 -moz-box-sizing: border-box;
340 width: 25%;
341 float: left;
342 padding-right: 1%;
343 }
344
345 #crm-container .contact_basic_information-section.narrowform table.form-layout-compressed td input {
346 box-sizing: border-box;
347 -moz-box-sizing: border-box;
348 width: 75%;
349 }
350
351 #crm-container #mainTabContainer.narrowpage #contact-summary div.customFieldGroup,
352 #crm-container #mainTabContainer.narrowpage #contact-summary div.contactCardLeft,
353 #crm-container #mainTabContainer.narrowpage #contact-summary div.contactCardRight {
354 box-sizing: border-box;
355 -moz-box-sizing: border-box;
356 float: none;
357 width: 100%;
358 }
359
360 #tagtree {
361 max-height: 500px;
362 overflow: auto;
363 }
364
365 #tagtree li {
366 margin-top: 5px;
367 }
368 #tagtree ins.jstree-icon {
369 cursor: pointer;
370 position: relative;
371 top: -3px;
372 }
373 #tagtree .jstree-disabled {
374 cursor: not-allowed;
375 }
376 #tagtree .jstree-disabled > .jstree-checkbox {
377 opacity: .2;
378 }
379
380 #tagGroup table .label {
381 color: #FFF;
382 }
383 #tagGroup table {
384 color: #000;
385 }