Version Description
- Various styling fixes
Download this release
Release Info
Developer | spwebguy |
Plugin | Team Members |
Version | 5.0.3 |
Comparing to | |
See all releases |
Code changes from version 5.0.0 to 5.0.3
- inc/css/tmm_style.css +69 -25
- inc/css/tmm_style.min.css +1 -1
- inc/dmb/dmb.css +3 -1
- inc/dmb/dmb.js +1 -1
- inc/dmb/dmb.min.css +1 -1
- inc/dmb/dmb.min.js +1 -1
- inc/tmm-front-scripts.php +1 -1
- inc/tmm-shortcode.php +1 -1
- readme.txt +11 -8
- tmm.php +1 -1
inc/css/tmm_style.css
CHANGED
@@ -15,8 +15,8 @@
|
|
15 |
.tmm .tmm_member {
|
16 |
vertical-align:top;
|
17 |
display:inline-block;
|
18 |
-
margin-top:
|
19 |
-
margin-bottom:
|
20 |
height:auto;
|
21 |
float: left;
|
22 |
position:relative;
|
@@ -31,35 +31,57 @@
|
|
31 |
background:white;
|
32 |
box-sizing:border-box;}
|
33 |
|
34 |
-
.tmm .
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
.tmm .
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
-
.tmm .tmm_4_columns .tmm_member {
|
43 |
-
margin-right:1%; margin-left:1%;}
|
44 |
|
45 |
-
.tmm .
|
46 |
-
.tmm .tmm_3_columns .tmm_member {width: 29%;}
|
47 |
-
.tmm .tmm_4_columns .tmm_member {width: 23%;}
|
48 |
|
49 |
-
.tmm .tmm_1_columns .tmm_member {width: 96%; margin-right:2%; margin-left:2%;}
|
50 |
-
.tmm .tmm_5_columns .tmm_member {width: 18%; margin-right:1%; margin-left:1%;}
|
51 |
|
52 |
.tmm .tmm_member .tmm_photo {
|
53 |
-
|
54 |
-
|
|
|
|
|
|
|
|
|
55 |
border:none;
|
56 |
-webkit-box-shadow: 2px 0px 1px 0px rgba(0,0,0,0.05);
|
57 |
-moz-box-shadow: 2px 0px 1px 0px rgba(0,0,0,0.05);
|
58 |
box-shadow: 2px 0px 1px 0px rgba(0,0,0,0.05);
|
59 |
border-radius:60px !important;
|
60 |
-
margin-top:-
|
61 |
border:6px solid #eeeeee;}
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
.tmm .tmm_member .tmm_textblock .tmm_scblock {padding-top:10px;}
|
64 |
.tmm .tmm_member .tmm_textblock {padding:10px 12px;}
|
65 |
.tmm .tmm_member .tmm_textblock .tmm_sociallink {clear:both; margin-bottom:20px; border:none; box-shadow:0 0 0;}
|
@@ -144,29 +166,51 @@
|
|
144 |
.tmm .tmm_columns_containers_desktop {display:none; clear:none;}
|
145 |
.tmm_two_containers_tablet {display:block; clear:both;}
|
146 |
|
|
|
147 |
.tmm .tmm_2_columns .tmm_member,
|
148 |
.tmm .tmm_3_columns .tmm_member,
|
149 |
.tmm .tmm_4_columns .tmm_member,
|
150 |
.tmm .tmm_5_columns .tmm_member {
|
151 |
-
width: 40%;
|
152 |
-
margin-
|
153 |
-
margin-bottom:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
|
155 |
}
|
156 |
|
157 |
|
158 |
/* MOBILE */
|
159 |
@media only screen and (max-width: 40em) {
|
|
|
160 |
.tmm .tmm_columns_containers_desktop {display:none; clear:none;}
|
161 |
-
|
|
|
|
|
162 |
.tmm .tmm_2_columns .tmm_member,
|
163 |
.tmm .tmm_3_columns .tmm_member,
|
164 |
.tmm .tmm_4_columns .tmm_member,
|
165 |
.tmm .tmm_5_columns .tmm_member {
|
166 |
width: 96%;
|
167 |
margin:0 2%;
|
168 |
-
margin-top:
|
169 |
-
margin-bottom:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
|
171 |
.tmm .tmm_plugin_f .tmm_desc {
|
172 |
padding: 0 10px;
|
15 |
.tmm .tmm_member {
|
16 |
vertical-align:top;
|
17 |
display:inline-block;
|
18 |
+
margin-top:25px;
|
19 |
+
margin-bottom:25px;
|
20 |
height:auto;
|
21 |
float: left;
|
22 |
position:relative;
|
31 |
background:white;
|
32 |
box-sizing:border-box;}
|
33 |
|
34 |
+
.tmm .tmm_1_columns .tmm_member {
|
35 |
+
width: 96%;
|
36 |
+
margin-right:2%; margin-left:2%;
|
37 |
+
margin-top:140px; margin-bottom:25px;}
|
38 |
+
|
39 |
+
.tmm .tmm_2_columns .tmm_member {
|
40 |
+
width: 42%;
|
41 |
+
margin-right:4%; margin-left:4%;
|
42 |
+
margin-top:120px; margin-bottom:25px;}
|
43 |
+
|
44 |
+
.tmm .tmm_3_columns .tmm_member {
|
45 |
+
width: 29%;
|
46 |
+
margin-right:2.16%; margin-left:2.16%;
|
47 |
+
margin-top:100px; margin-bottom:25px;}
|
48 |
+
|
49 |
+
.tmm .tmm_4_columns .tmm_member {
|
50 |
+
width: 23%;
|
51 |
+
margin-right:1%; margin-left:1%;
|
52 |
+
margin-top:80px; margin-bottom:20px;}
|
53 |
+
|
54 |
+
.tmm .tmm_5_columns .tmm_member {
|
55 |
+
width: 18%;
|
56 |
+
margin-right:1%; margin-left:1%;
|
57 |
+
margin-top:50px; margin-bottom:35px;}
|
58 |
|
|
|
|
|
59 |
|
60 |
+
.tmm .tmm_three_entries {clear:both;}
|
|
|
|
|
61 |
|
|
|
|
|
62 |
|
63 |
.tmm .tmm_member .tmm_photo {
|
64 |
+
margin-left: auto;
|
65 |
+
margin-right: auto;
|
66 |
+
background-size: cover !important;
|
67 |
+
background-position: center center !important;
|
68 |
+
width: 60%;
|
69 |
+
padding-bottom: 60%;
|
70 |
border:none;
|
71 |
-webkit-box-shadow: 2px 0px 1px 0px rgba(0,0,0,0.05);
|
72 |
-moz-box-shadow: 2px 0px 1px 0px rgba(0,0,0,0.05);
|
73 |
box-shadow: 2px 0px 1px 0px rgba(0,0,0,0.05);
|
74 |
border-radius:60px !important;
|
75 |
+
margin-top:-30%;
|
76 |
border:6px solid #eeeeee;}
|
77 |
|
78 |
+
.tmm_1_columns .tmm_member .tmm_photo {
|
79 |
+
width:35%; padding-bottom:35%; margin-top: -18%; }
|
80 |
+
|
81 |
+
.tmm_2_columns .tmm_member .tmm_photo {
|
82 |
+
width:50%; padding-bottom:50%; margin-top: -25%; }
|
83 |
+
|
84 |
+
|
85 |
.tmm .tmm_member .tmm_textblock .tmm_scblock {padding-top:10px;}
|
86 |
.tmm .tmm_member .tmm_textblock {padding:10px 12px;}
|
87 |
.tmm .tmm_member .tmm_textblock .tmm_sociallink {clear:both; margin-bottom:20px; border:none; box-shadow:0 0 0;}
|
166 |
.tmm .tmm_columns_containers_desktop {display:none; clear:none;}
|
167 |
.tmm_two_containers_tablet {display:block; clear:both;}
|
168 |
|
169 |
+
.tmm .tmm_member,
|
170 |
.tmm .tmm_2_columns .tmm_member,
|
171 |
.tmm .tmm_3_columns .tmm_member,
|
172 |
.tmm .tmm_4_columns .tmm_member,
|
173 |
.tmm .tmm_5_columns .tmm_member {
|
174 |
+
width: 40%;
|
175 |
+
margin-left:5%; margin-right:5%;
|
176 |
+
margin-top:80px; margin-bottom:25px;}
|
177 |
+
|
178 |
+
.tmm .tmm_1_columns .tmm_member {
|
179 |
+
margin-top:100px; margin-bottom:15px;}
|
180 |
+
|
181 |
+
.tmm .tmm_member .tmm_photo,
|
182 |
+
.tmm .tmm_2_columns .tmm_member .tmm_photo,
|
183 |
+
.tmm .tmm_3_columns .tmm_member .tmm_photo,
|
184 |
+
.tmm .tmm_4_columns .tmm_member .tmm_photo,
|
185 |
+
.tmm .tmm_5_columns .tmm_member .tmm_photo {
|
186 |
+
width:50%; padding-bottom:50%; margin-top: -25%; }
|
187 |
|
188 |
}
|
189 |
|
190 |
|
191 |
/* MOBILE */
|
192 |
@media only screen and (max-width: 40em) {
|
193 |
+
|
194 |
.tmm .tmm_columns_containers_desktop {display:none; clear:none;}
|
195 |
+
|
196 |
+
.tmm .tmm_member,
|
197 |
+
.tmm .tmm_1_columns .tmm_member,
|
198 |
.tmm .tmm_2_columns .tmm_member,
|
199 |
.tmm .tmm_3_columns .tmm_member,
|
200 |
.tmm .tmm_4_columns .tmm_member,
|
201 |
.tmm .tmm_5_columns .tmm_member {
|
202 |
width: 96%;
|
203 |
margin:0 2%;
|
204 |
+
margin-top:110px;
|
205 |
+
margin-bottom:25px;}
|
206 |
+
|
207 |
+
.tmm .tmm_member .tmm_photo,
|
208 |
+
.tmm .tmm_1_columns .tmm_member .tmm_photo,
|
209 |
+
.tmm .tmm_2_columns .tmm_member .tmm_photo,
|
210 |
+
.tmm .tmm_3_columns .tmm_member .tmm_photo,
|
211 |
+
.tmm .tmm_4_columns .tmm_member .tmm_photo,
|
212 |
+
.tmm .tmm_5_columns .tmm_member .tmm_photo {
|
213 |
+
width:45%; padding-bottom:45%; margin-top: -24%; }
|
214 |
|
215 |
.tmm .tmm_plugin_f .tmm_desc {
|
216 |
padding: 0 10px;
|
inc/css/tmm_style.min.css
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
* Team Members Front CSS (minified)
|
5 |
*/
|
6 |
|
7 |
-
.tmm .tmm_wrap{width:100%;margin-bottom:30px;text-align:center}.tmm .clearer{clear:both}.tmm .tmm_container{display:inline}.tmm .tmm_container:last-child{display:block;text-align:center!important}.tmm .tmm_container:last-child .tmm_member{float:none!important}.tmm .tmm_columns_containers_desktop{display:block;clear:both}.tmm .tmm_member{vertical-align:top;display:inline-block;margin-top:70px;margin-bottom:30px;height:auto;float:left;position:relative;text-align:center;-webkit-box-shadow:3px 0 5px 0 rgba(0,0,0,.04);-moz-box-shadow:3px 0 5px 0 rgba(0,0,0,.04);box-shadow:3px 0 5px 0 rgba(0,0,0,.04);border-top:5px solid lightgrey;border-left:solid 1px #eee;border-right:solid 1px #eee;border-bottom:5px solid whitesmoke;background:white;box-sizing:border-box}.tmm .tmm_three_entries{clear:both}.tmm .tmm_2_columns .tmm_member{margin-right:4%;margin-left:4%}.tmm .tmm_3_columns .tmm_member{margin-right:2%;margin-left:2%}.tmm .tmm_4_columns .tmm_member{margin-right:1%;margin-left:1%}.tmm .tmm_2_columns .tmm_member{width:42%}.tmm .tmm_3_columns .tmm_member{width:29%}.tmm .tmm_4_columns .tmm_member{width:23%}.tmm .tmm_1_columns .tmm_member{width:96%;margin-right:2%;margin-left:2%}.tmm .tmm_5_columns .tmm_member{width:18%;margin-right:1%;margin-left:1%}.tmm .tmm_member .tmm_photo{width:
|
4 |
* Team Members Front CSS (minified)
|
5 |
*/
|
6 |
|
7 |
+
.tmm .tmm_wrap{width:100%;margin-bottom:30px;text-align:center}.tmm .clearer{clear:both}.tmm .tmm_container{display:inline}.tmm .tmm_container:last-child{display:block;text-align:center!important}.tmm .tmm_container:last-child .tmm_member{float:none!important}.tmm .tmm_columns_containers_desktop{display:block;clear:both}.tmm .tmm_member{vertical-align:top;display:inline-block;margin-top:70px;margin-bottom:30px;height:auto;float:left;position:relative;text-align:center;-webkit-box-shadow:3px 0 5px 0 rgba(0,0,0,.04);-moz-box-shadow:3px 0 5px 0 rgba(0,0,0,.04);box-shadow:3px 0 5px 0 rgba(0,0,0,.04);border-top:5px solid lightgrey;border-left:solid 1px #eee;border-right:solid 1px #eee;border-bottom:5px solid whitesmoke;background:white;box-sizing:border-box}.tmm .tmm_three_entries{clear:both}.tmm .tmm_2_columns .tmm_member{margin-right:4%;margin-left:4%}.tmm .tmm_3_columns .tmm_member{margin-right:2%;margin-left:2%}.tmm .tmm_4_columns .tmm_member{margin-right:1%;margin-left:1%}.tmm .tmm_2_columns .tmm_member{width:42%}.tmm .tmm_3_columns .tmm_member{width:29%}.tmm .tmm_4_columns .tmm_member{width:23%}.tmm .tmm_1_columns .tmm_member{width:96%;margin-right:2%;margin-left:2%}.tmm .tmm_5_columns .tmm_member{width:18%;margin-right:1%;margin-left:1%}.tmm .tmm_member .tmm_photo{margin-left:auto;margin-right:auto;background-size:cover!important;background-position:center center!important;width:60%;padding-bottom:60%;border:none;-webkit-box-shadow:2px 0 1px 0 rgba(0,0,0,.05);-moz-box-shadow:2px 0 1px 0 rgba(0,0,0,.05);box-shadow:2px 0 1px 0 rgba(0,0,0,.05);border-radius:60px!important;margin-top:-80px;border:6px solid #eee}.tmm .tmm_member .tmm_textblock .tmm_scblock{padding-top:10px}.tmm .tmm_member .tmm_textblock{padding:10px 12px}.tmm .tmm_member .tmm_textblock .tmm_sociallink{clear:both;margin-bottom:20px;border:none;box-shadow:0 0 0}.tmm .tmm_member .tmm_textblock .tmm_sociallink img{display:inline-block;border:none;width:24px;height:24px;box-shadow:0 0 0 0;margin:10px 4px}.tmm .tmm_5_columns .tmm_member .tmm_textblock .tmm_sociallink img{width:19px;height:19px;margin:6px 2px}.tmm .tmm_4_columns .tmm_member .tmm_textblock .tmm_sociallink img{width:21px;height:21px;margin:6px 3px}.tmm .tmm_member .tmm_textblock .tmm_sociallink img:hover{opacity:.8}.tmm .tmm_fname{display:inline}.tmm .tmm_lname{display:inline}.tmm .tmm_names span,.tmm .tmm_names span.tmm_fname,.tmm .tmm_names span.tmm_lname,.tmm .tmm_names{color:#222}.tmm .tmm_desc,.tmm .tmm_desc span,.tmm .tmm_desc p{color:#555;word-break:break-word}.tmm .tmm_job,.tmm .tmm_job p{color:#888}.tmm .tmm_plugin_f .tmm_names{font-size:20px;font-weight:400;line-height:24px;margin-bottom:8px;margin-top:10px}.tmm .tmm_plugin_f .tmm_job{font-size:16px;font-weight:400}.tmm .tmm_plugin_f .tmm_desc{padding:0;margin-top:19px;margin-bottom:10px;font-weight:400;font-size:14px;line-height:23px}.tmm .tmm_theme_f .tmm_names{font-size:1.1em;font-weight:400;margin-bottom:8px;margin-top:10px}.tmm .tmm_theme_f .tmm_job{font-size:1em;font-weight:400}.tmm .tmm_theme_f .tmm_desc{font-size:.9em;line-height:165%;padding:0;font-weight:400;margin-top:19px;margin-bottom:10px}@media only screen and (max-width:64.063em){.tmm .tmm_columns_containers_desktop{display:none;clear:none}.tmm_two_containers_tablet{display:block;clear:both}.tmm .tmm_2_columns .tmm_member,.tmm .tmm_3_columns .tmm_member,.tmm .tmm_4_columns .tmm_member,.tmm .tmm_5_columns .tmm_member{width:40%;margin-left:5%;margin-right:5%;margin-top:70px;margin-bottom:30px}}@media only screen and (max-width:40em){.tmm .tmm_columns_containers_desktop{display:none;clear:none}.tmm .tmm_member{width:96%;margin:0 2%;margin-top:70px;margin-bottom:30px}.tmm .tmm_2_columns .tmm_member,.tmm .tmm_3_columns .tmm_member,.tmm .tmm_4_columns .tmm_member,.tmm .tmm_5_columns .tmm_member{width:96%;margin:0 2%;margin-top:90px;margin-bottom:10px}.tmm .tmm_plugin_f .tmm_desc{padding:0 10px;font-size:16px;line-height:27px}}.tmm_plugin_f,.tmm_plugin_f .tmm_names span,.tmm_plugin_f .tmm_job,.tmm_plugin_f .tmm_desc,.tmm_plugin_f .tmm_desc a,.tmm_plugin_f .tmm_desc span,.tmm_plugin_f .tmm_desc p,.tmm_plugin_f .tmm_desc h1,.tmm_plugin_f .tmm_desc h2,.tmm_plugin_f .tmm_desc h3,.tmm_plugin_f .tmm_desc h4,.tmm_plugin_f .tmm_desc h5,.tmm_plugin_f .tmm_desc h6,.tmm_plugin_f .tmm_desc ul li,.tmm_plugin_f .tmm_desc ol li{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}
|
inc/dmb/dmb.css
CHANGED
@@ -508,4 +508,6 @@
|
|
508 |
|
509 |
#tmm_pro strong {
|
510 |
color:black;
|
511 |
-
}
|
|
|
|
508 |
|
509 |
#tmm_pro strong {
|
510 |
color:black;
|
511 |
+
}
|
512 |
+
|
513 |
+
#tmm_pro .toggle-indicator{ color:white !important; }
|
inc/dmb/dmb.js
CHANGED
@@ -446,7 +446,7 @@ $(document).ready(function (){
|
|
446 |
preview_html += '<a ' + settings.piclink_beh + ' href="' + fields.photoLinkUrl + '" title="' + fields.firstname + ' ' + fields.lastname + '">';
|
447 |
|
448 |
if (fields.photoUrl)
|
449 |
-
preview_html += '<div class="tmm_photo tmm_pic_' + i + '" style="background: url(' + fields.photoUrl + '); margin-left: auto; margin-right:auto; background-size:cover !important;"
|
450 |
|
451 |
if (fields.photoLinkUrl)
|
452 |
preview_html += '</a>';
|
446 |
preview_html += '<a ' + settings.piclink_beh + ' href="' + fields.photoLinkUrl + '" title="' + fields.firstname + ' ' + fields.lastname + '">';
|
447 |
|
448 |
if (fields.photoUrl)
|
449 |
+
preview_html += '<div class="tmm_photo tmm_pic_' + i + '" style="background: url(' + fields.photoUrl + '); margin-left: auto; margin-right:auto; background-size:cover !important;"></div>';
|
450 |
|
451 |
if (fields.photoLinkUrl)
|
452 |
preview_html += '</a>';
|
inc/dmb/dmb.min.css
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
* Team Members Admin CSS (minified)
|
5 |
*/
|
6 |
|
7 |
-
.dmb_clearfix{clear:both}#acf-fallback-bio{width:100%;clear:both;height:100px;border-radius:4px;margin-top:2px}.dmb_feature_dump{display:none}.dmb_main select,.dmb_side_select{width:100%;margin-bottom:5px}.dmb_field{width:100%}.dmb_data_dump{display:none}.dmb_img_field{display:none}.dmb_img_data_url{display:none!important}.dmb_img{max-width:100%;max-height:160px;margin-top:8px;display:block}.dmb_section_title{font-size:20px;color:#7a7a78;padding-bottom:4px;margin:15px 2px 2px;border-bottom:3px dashed #ddd;text-align:left}.dmb_sidebar .dmb_field_title{font-size:13px}.dmb_field_title{margin-top:10px;margin-bottom:3px;color:#555;font-size:15px;padding-left:2px;display:inline-block;font-weight:400;line-height:19px}::-webkit-input-placeholder{color:#bbb}::-moz-placeholder{color:#bbb}:-ms-input-placeholder{color:#bbb}:-moz-placeholder{color:#bbb}.dmb_main{margin-top:10px}.dmb_main .dmb_inner{background:whitesmoke;padding:4px 10px 8px;border:1px solid #ddd;border-top:none}.dmb_main .dmb_handle{padding:8px 12px;background:white;border:1px solid #ccd0d4!important;display:block}.dmb_main .dmb_handle.closed{border-bottom:none}.dmb_main .dmb_handle .dmb_handle_title{margin-top:4px;float:left;color:#23282d;font-weight:400;font-size:18px;box-sizing:border-box}#dmb_preview_team{box-sizing:border-box;display:none;position:fixed;overflow-y:scroll;border:1px solid #bbb;top:0%;bottom:0%;left:0%;right:0%;padding-bottom:90px;background:#eee;z-index:100000;padding:0 15%;text-align:center;box-shadow:-1px 0 204px -6px rgba(0,0,0,.75)}.dmb_accuracy_preview_notice{background:white;padding:20px 30px;margin-top:10px;text-align:center;font-size:17px;line-height:27px;font-weight:400;border:1px solid #ddd;margin-top:60px;margin-bottom:80px;max-width:550px;margin:0 auto}.dmb_no_row_preview_notice{background:white;padding:20px 30px;margin-top:10px;text-align:center;font-size:17px;line-height:27px;font-weight:400;border:1px solid #ddd;margin-top:60px;margin-bottom:80px;max-width:550px;margin:0 auto;margin-top:120px}.dmb_tip{padding-left:2px;font-size:14px;color:#999;line-height:23px;margin-top:8px}.dmb_tip .dashicons{font-size:24px;height:17px}.dmb_tip a,.dmb_inline_tip{color:#0073AA;cursor:pointer}.dmb_button{font-size:13px;line-height:2;padding:2px 10px 3px;display:inline-block;text-decoration:none;margin:0;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;min-height:30px;text-decoration:none;text-shadow:none;background:whitesmoke;border-color:lightgrey;color:#23282d}.dmb_button:hover,.dmb_button:active,.dmb_button:focus{background-image:none;outline:0;-webkit-box-shadow:none;box-shadow:none;background:#eceaea;color:#23282d}.dmb_button_large .dashicons{position:relative;top:4px}.dmb_button_large{font-size:13px;line-height:2.15384615;padding:0 12px 2px}.dmb_button_huge{font-size:16px;line-height:2.28384615;padding:0 15px 3px}.dmb_button_compact{padding:0 4px 2px}.dmb_button_blue{background:#007cba;border-color:#007cba;color:#fff}.dmb_button_blue:active,.dmb_button_blue:hover,.dmb_button_blue:focus{background:#00669b;color:white}.dmb_button_green{background:#81c240;border-color:#81c240;color:#fff}.dmb_button_green:active,.dmb_button_green:hover,.dmb_button_green:focus{background:#75b03a;color:white}.dmb_button_gold{background:#edb50c;border-color:#edb50c;color:#fff}.dmb_button_gold:hover,.dmb_button_gold:hover,.dmb_button_gold:focus{background:#e3ab02;color:white}.dmb_ue_update{margin-right:10px}#dmb_preview_team .dmb_preview_team_close{position:fixed;top:20px;right:40px;z-index:1}.dmb_clone_row,.dmb_remove_row_btn{float:right}.dmb_move_row_up,.dmb_move_row_down{float:left}.dmb_move_row_down{margin-left:7px;margin-right:12px}.dmb_remove_row_btn{margin-left:7px}.dmb_see_pro{margin-top:10px}.dmb_upload_img_btn{margin-top:4px}.dmb_remove_img_btn{margin-left:7px}.dmb_add_row{margin:0 auto;margin-top:10px;display:inline-block}.dmb_no_row_notice{background:whitesmoke;padding:50px 10px;margin-top:10px;text-align:center;font-size:20px;line-height:36px;font-weight:400;border:1px solid #ddd}.dmb_add_feature{margin-top:5px;margin-bottom:5px;display:inline-block}.dmb_grid{float:left;padding-left:6px;box-sizing:border-box;padding-right:6px}.dmb_grid_20{width:20%}.dmb_grid_25{width:25%}.dmb_grid_33{width:33%}.dmb_grid_35{width:35%}.dmb_grid_40{width:40%}.dmb_grid_50{width:50%}.dmb_grid_60{width:60%}.dmb_grid_100{width:99%}.dmb_description_of_member{width:100%!important}.dmb_grid_first{padding-left:0}.dmb_grid_last{padding-right:0}.dmb_color_picker{padding:3px!important}.wp-picker-container{position:relative}.wp-picker-clear{display:none!important}.wp-picker-container,.wp-picker-container:active{display:block;z-index:9999}.iris-picker{position:absolute!important;bottom:33px!important;left:80!important;background:white!important}.dmb_toolbar{padding-top:4px;display:block;text-align:left}.dmb_toolbar .dmb_expand_rows{margin-right:10px}.dmb_toolbar .dmb_collapse_rows,.dmb_toolbar .dmb_expand_rows{float:left;margin-right:7px;margin-top:9px}.dmb_toolbar .dmb_show_preview_team{float:right;margin-left:7px}.dmb_side_block_title,.dmb_help_title{font-size:14px;margin-top:4px;margin-bottom:2px;font-weight:500;color:#555}.dmb_side_block_title{font-weight:400}.dmb_help_title{margin-bottom:10px}.dmb_side_block{padding-bottom:2px;margin-top:10px}.dmb_side_block a{text-decoration:none}[data-tooltip]{position:relative;z-index:2;cursor:pointer}[data-tooltip]:before,[data-tooltip]:after{visibility:hidden;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;pointer-events:none}[data-tooltip]:before{position:absolute;bottom:150%;left:50%;margin-bottom:5px;margin-left:-80px;padding:7px;padding-left:14px;width:160px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#000;background-color:hsla(0,0%,20%,.9);color:#fff;content:attr(data-tooltip);text-align:left;font-size:12px;line-height:16px}.dmb_tooltip_large[data-tooltip]:before{width:320px}.dmb_tooltip_medium[data-tooltip]:before{width:220px}.dmb_tooltip_small[data-tooltip]:before{width:180px}[data-tooltip]:after{position:absolute;bottom:150%;left:50%;margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid hsla(0,0%,20%,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}[data-tooltip]:hover:before,[data-tooltip]:hover:after{visibility:visible;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}@media only screen and (max-width :850px){.dmb_grid_20,.dmb_grid_25,.dmb_grid_33,.dmb_grid_35,.dmb_grid_40,.dmb_grid_50,.dmb_grid_60,.dmb_grid_100{padding-right:0;padding-left:0;width:100%}}#dmb_unique_editor{box-sizing:border-box;display:none;position:fixed;overflow-y:scroll;border:1px solid #bbb;top:0%;bottom:0%;left:0%;right:0%;background:#ddd;z-index:100000;padding:5% 15%;text-align:center;box-shadow:-1px 0 204px -6px rgba(0,0,0,.75)}#wp-dmb_editor-wrap{padding:20px;background:rgba(255,255,255,.5)}.dmb_description_of_member{border:1px solid #e2e2e2;margin:5px 0;margin-left:1px;margin-right:5px;box-sizing:border-box;padding:10px 20px;min-height:30px;background:white;max-height:240px;width:99%;overflow-y:scroll}.dmb_edit_description_of_member{margin-top:7px!important}.dmb_discount_box_pushr{height:60px}.dmb_discount_box{background:whitesmoke;border-top:1px solid #ddd;padding:2px 16px 8px 11px;position:absolute;bottom:0;left:0;right:0}#tmm_pro .hndle{padding:8px 12px;background:#81c240;color:white}#tmm_pro strong{color:black}
|
4 |
* Team Members Admin CSS (minified)
|
5 |
*/
|
6 |
|
7 |
+
.dmb_clearfix{clear:both}#acf-fallback-bio{width:100%;clear:both;height:100px;border-radius:4px;margin-top:2px}.dmb_feature_dump{display:none}.dmb_main select,.dmb_side_select{width:100%;margin-bottom:5px}.dmb_field{width:100%}.dmb_data_dump{display:none}.dmb_img_field{display:none}.dmb_img_data_url{display:none!important}.dmb_img{max-width:100%;max-height:160px;margin-top:8px;display:block}.dmb_section_title{font-size:20px;color:#7a7a78;padding-bottom:4px;margin:15px 2px 2px;border-bottom:3px dashed #ddd;text-align:left}.dmb_sidebar .dmb_field_title{font-size:13px}.dmb_field_title{margin-top:10px;margin-bottom:3px;color:#555;font-size:15px;padding-left:2px;display:inline-block;font-weight:400;line-height:19px}::-webkit-input-placeholder{color:#bbb}::-moz-placeholder{color:#bbb}:-ms-input-placeholder{color:#bbb}:-moz-placeholder{color:#bbb}.dmb_main{margin-top:10px}.dmb_main .dmb_inner{background:whitesmoke;padding:4px 10px 8px;border:1px solid #ddd;border-top:none}.dmb_main .dmb_handle{padding:8px 12px;background:white;border:1px solid #ccd0d4!important;display:block}.dmb_main .dmb_handle.closed{border-bottom:none}.dmb_main .dmb_handle .dmb_handle_title{margin-top:4px;float:left;color:#23282d;font-weight:400;font-size:18px;box-sizing:border-box}#dmb_preview_team{box-sizing:border-box;display:none;position:fixed;overflow-y:scroll;border:1px solid #bbb;top:0%;bottom:0%;left:0%;right:0%;padding-bottom:90px;background:#eee;z-index:100000;padding:0 15%;text-align:center;box-shadow:-1px 0 204px -6px rgba(0,0,0,.75)}.dmb_accuracy_preview_notice{background:white;padding:20px 30px;margin-top:10px;text-align:center;font-size:17px;line-height:27px;font-weight:400;border:1px solid #ddd;margin-top:60px;margin-bottom:80px;max-width:550px;margin:0 auto}.dmb_no_row_preview_notice{background:white;padding:20px 30px;margin-top:10px;text-align:center;font-size:17px;line-height:27px;font-weight:400;border:1px solid #ddd;margin-top:60px;margin-bottom:80px;max-width:550px;margin:0 auto;margin-top:120px}.dmb_tip{padding-left:2px;font-size:14px;color:#999;line-height:23px;margin-top:8px}.dmb_tip .dashicons{font-size:24px;height:17px}.dmb_tip a,.dmb_inline_tip{color:#0073AA;cursor:pointer}.dmb_button{font-size:13px;line-height:2;padding:2px 10px 3px;display:inline-block;text-decoration:none;margin:0;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;min-height:30px;text-decoration:none;text-shadow:none;background:whitesmoke;border-color:lightgrey;color:#23282d}.dmb_button:hover,.dmb_button:active,.dmb_button:focus{background-image:none;outline:0;-webkit-box-shadow:none;box-shadow:none;background:#eceaea;color:#23282d}.dmb_button_large .dashicons{position:relative;top:4px}.dmb_button_large{font-size:13px;line-height:2.15384615;padding:0 12px 2px}.dmb_button_huge{font-size:16px;line-height:2.28384615;padding:0 15px 3px}.dmb_button_compact{padding:0 4px 2px}.dmb_button_blue{background:#007cba;border-color:#007cba;color:#fff}.dmb_button_blue:active,.dmb_button_blue:hover,.dmb_button_blue:focus{background:#00669b;color:white}.dmb_button_green{background:#81c240;border-color:#81c240;color:#fff}.dmb_button_green:active,.dmb_button_green:hover,.dmb_button_green:focus{background:#75b03a;color:white}.dmb_button_gold{background:#edb50c;border-color:#edb50c;color:#fff}.dmb_button_gold:hover,.dmb_button_gold:hover,.dmb_button_gold:focus{background:#e3ab02;color:white}.dmb_ue_update{margin-right:10px}#dmb_preview_team .dmb_preview_team_close{position:fixed;top:20px;right:40px;z-index:1}.dmb_clone_row,.dmb_remove_row_btn{float:right}.dmb_move_row_up,.dmb_move_row_down{float:left}.dmb_move_row_down{margin-left:7px;margin-right:12px}.dmb_remove_row_btn{margin-left:7px}.dmb_see_pro{margin-top:10px}.dmb_upload_img_btn{margin-top:4px}.dmb_remove_img_btn{margin-left:7px}.dmb_add_row{margin:0 auto;margin-top:10px;display:inline-block}.dmb_no_row_notice{background:whitesmoke;padding:50px 10px;margin-top:10px;text-align:center;font-size:20px;line-height:36px;font-weight:400;border:1px solid #ddd}.dmb_add_feature{margin-top:5px;margin-bottom:5px;display:inline-block}.dmb_grid{float:left;padding-left:6px;box-sizing:border-box;padding-right:6px}.dmb_grid_20{width:20%}.dmb_grid_25{width:25%}.dmb_grid_33{width:33%}.dmb_grid_35{width:35%}.dmb_grid_40{width:40%}.dmb_grid_50{width:50%}.dmb_grid_60{width:60%}.dmb_grid_100{width:99%}.dmb_description_of_member{width:100%!important}.dmb_grid_first{padding-left:0}.dmb_grid_last{padding-right:0}.dmb_color_picker{padding:3px!important}.wp-picker-container{position:relative}.wp-picker-clear{display:none!important}.wp-picker-container,.wp-picker-container:active{display:block;z-index:9999}.iris-picker{position:absolute!important;bottom:33px!important;left:80!important;background:white!important}.dmb_toolbar{padding-top:4px;display:block;text-align:left}.dmb_toolbar .dmb_expand_rows{margin-right:10px}.dmb_toolbar .dmb_collapse_rows,.dmb_toolbar .dmb_expand_rows{float:left;margin-right:7px;margin-top:9px}.dmb_toolbar .dmb_show_preview_team{float:right;margin-left:7px}.dmb_side_block_title,.dmb_help_title{font-size:14px;margin-top:4px;margin-bottom:2px;font-weight:500;color:#555}.dmb_side_block_title{font-weight:400}.dmb_help_title{margin-bottom:10px}.dmb_side_block{padding-bottom:2px;margin-top:10px}.dmb_side_block a{text-decoration:none}[data-tooltip]{position:relative;z-index:2;cursor:pointer}[data-tooltip]:before,[data-tooltip]:after{visibility:hidden;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;pointer-events:none}[data-tooltip]:before{position:absolute;bottom:150%;left:50%;margin-bottom:5px;margin-left:-80px;padding:7px;padding-left:14px;width:160px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#000;background-color:hsla(0,0%,20%,.9);color:#fff;content:attr(data-tooltip);text-align:left;font-size:12px;line-height:16px}.dmb_tooltip_large[data-tooltip]:before{width:320px}.dmb_tooltip_medium[data-tooltip]:before{width:220px}.dmb_tooltip_small[data-tooltip]:before{width:180px}[data-tooltip]:after{position:absolute;bottom:150%;left:50%;margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid hsla(0,0%,20%,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}[data-tooltip]:hover:before,[data-tooltip]:hover:after{visibility:visible;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}@media only screen and (max-width :850px){.dmb_grid_20,.dmb_grid_25,.dmb_grid_33,.dmb_grid_35,.dmb_grid_40,.dmb_grid_50,.dmb_grid_60,.dmb_grid_100{padding-right:0;padding-left:0;width:100%}}#dmb_unique_editor{box-sizing:border-box;display:none;position:fixed;overflow-y:scroll;border:1px solid #bbb;top:0%;bottom:0%;left:0%;right:0%;background:#ddd;z-index:100000;padding:5% 15%;text-align:center;box-shadow:-1px 0 204px -6px rgba(0,0,0,.75)}#wp-dmb_editor-wrap{padding:20px;background:rgba(255,255,255,.5)}.dmb_description_of_member{border:1px solid #e2e2e2;margin:5px 0;margin-left:1px;margin-right:5px;box-sizing:border-box;padding:10px 20px;min-height:30px;background:white;max-height:240px;width:99%;overflow-y:scroll}.dmb_edit_description_of_member{margin-top:7px!important}.dmb_discount_box_pushr{height:60px}.dmb_discount_box{background:whitesmoke;border-top:1px solid #ddd;padding:2px 16px 8px 11px;position:absolute;bottom:0;left:0;right:0}#tmm_pro .hndle{padding:8px 12px;background:#81c240;color:white}#tmm_pro strong{color:black}#tmm_pro .toggle-indicator{color:white!important}
|
inc/dmb/dmb.min.js
CHANGED
@@ -18,7 +18,7 @@ if(i%settings.columns==0){if(i>0){preview_html+='</div><span class="tmm_columns_
|
|
18 |
preview_html+='<div class="tmm_container">'}
|
19 |
preview_html+='<div class="tmm_member" style="border-top:'+settings.color+' solid 5px;">';if(fields.photoLinkUrl)
|
20 |
preview_html+='<a '+settings.piclink_beh+' href="'+fields.photoLinkUrl+'" title="'+fields.firstname+' '+fields.lastname+'">';if(fields.photoUrl)
|
21 |
-
preview_html+='<div class="tmm_photo tmm_pic_'+i+'" style="background: url('+fields.photoUrl+'); margin-left: auto; margin-right:auto; background-size:cover !important;"
|
22 |
preview_html+='</a>';preview_html+='<div class="tmm_textblock">';preview_html+='<div class="tmm_names">';if(fields.firstname){preview_html+='<span class="tmm_fname">'+fields.firstname+'</span> '}
|
23 |
if(fields.lastname){preview_html+='<span class="tmm_lname">'+fields.lastname+'</span>'}
|
24 |
preview_html+='</div>';if(fields.job){preview_html+='<div class="tmm_job">'+fields.job+'</div>'}
|
18 |
preview_html+='<div class="tmm_container">'}
|
19 |
preview_html+='<div class="tmm_member" style="border-top:'+settings.color+' solid 5px;">';if(fields.photoLinkUrl)
|
20 |
preview_html+='<a '+settings.piclink_beh+' href="'+fields.photoLinkUrl+'" title="'+fields.firstname+' '+fields.lastname+'">';if(fields.photoUrl)
|
21 |
+
preview_html+='<div class="tmm_photo tmm_pic_'+i+'" style="background: url('+fields.photoUrl+'); margin-left: auto; margin-right:auto; background-size:cover !important;"></div>';if(fields.photoLinkUrl)
|
22 |
preview_html+='</a>';preview_html+='<div class="tmm_textblock">';preview_html+='<div class="tmm_names">';if(fields.firstname){preview_html+='<span class="tmm_fname">'+fields.firstname+'</span> '}
|
23 |
if(fields.lastname){preview_html+='<span class="tmm_lname">'+fields.lastname+'</span>'}
|
24 |
preview_html+='</div>';if(fields.job){preview_html+='<div class="tmm_job">'+fields.job+'</div>'}
|
inc/tmm-front-scripts.php
CHANGED
@@ -5,7 +5,7 @@ add_action( 'wp_enqueue_scripts', 'add_tmm_scripts', 99 );
|
|
5 |
function add_tmm_scripts() {
|
6 |
|
7 |
/* Front end CSS. */
|
8 |
-
wp_enqueue_style( 'tmm', plugins_url('css/tmm_style.
|
9 |
|
10 |
}
|
11 |
|
5 |
function add_tmm_scripts() {
|
6 |
|
7 |
/* Front end CSS. */
|
8 |
+
wp_enqueue_style( 'tmm', plugins_url('css/tmm_style.css', __FILE__));
|
9 |
|
10 |
}
|
11 |
|
inc/tmm-shortcode.php
CHANGED
@@ -60,7 +60,7 @@ function tmm_sc($atts) {
|
|
60 |
$team_view .= '<a '.$tmm_plb.' href="'.$member['_tmm_photo_url'].'" title="'.$member['_tmm_firstname'].' '.$member['_tmm_lastname'].'">';
|
61 |
|
62 |
if (!empty($member['_tmm_photo']))
|
63 |
-
$team_view .= '<div class="tmm_photo tmm_pic_'.$name.'_'.$key.'" style="background: url('.$member['_tmm_photo'].'); margin-left: auto; margin-right:auto; background-size:cover !important;"
|
64 |
|
65 |
if (!empty($member['_tmm_photo_url']))
|
66 |
$team_view .= '</a>';
|
60 |
$team_view .= '<a '.$tmm_plb.' href="'.$member['_tmm_photo_url'].'" title="'.$member['_tmm_firstname'].' '.$member['_tmm_lastname'].'">';
|
61 |
|
62 |
if (!empty($member['_tmm_photo']))
|
63 |
+
$team_view .= '<div class="tmm_photo tmm_pic_'.$name.'_'.$key.'" style="background: url('.$member['_tmm_photo'].'); margin-left: auto; margin-right:auto; background-size:cover !important;"></div>';
|
64 |
|
65 |
if (!empty($member['_tmm_photo_url']))
|
66 |
$team_view .= '</a>';
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: spwebguy
|
3 |
Tags: team, teams, meet the team, shortcode, responsive, members, staff, people
|
4 |
Requires at least: 3.6
|
5 |
-
Tested up to: 5.
|
6 |
Stable tag: trunk
|
7 |
License: GPL2
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
@@ -91,6 +91,9 @@ Find help on [our support platform](https://wpdarko.com/support) for this plugin
|
|
91 |
6. Finding the shortcode (admin view)
|
92 |
|
93 |
== Changelog ==
|
|
|
|
|
|
|
94 |
= 5.0.0 =
|
95 |
* CSS rewrite to match WordPress 5.3's new admin styles
|
96 |
* Improved Instant Preview mode
|
@@ -106,17 +109,17 @@ Find help on [our support platform](https://wpdarko.com/support) for this plugin
|
|
106 |
* Replaced deprecated jQuery methods.
|
107 |
|
108 |
= 4.1.1 =
|
109 |
-
* Fixed team edit issue for IE browsers
|
110 |
|
111 |
= 4.1.0 =
|
112 |
-
* Fixed upload media issues with Link URL
|
113 |
-
* Fixed plugin conflict with ACF
|
114 |
|
115 |
= 4.0.0 =
|
116 |
-
* Automatically even out your members (just enable the equalizer)
|
117 |
-
* Added complementary info in a clean toggle box
|
118 |
-
* Instantly preview your changes (see video below)
|
119 |
-
* Choose between floating, inside-the-box and full-width pictures
|
120 |
|
121 |
= 3.0.1 =
|
122 |
* Fixed minor CSS bugs
|
2 |
Contributors: spwebguy
|
3 |
Tags: team, teams, meet the team, shortcode, responsive, members, staff, people
|
4 |
Requires at least: 3.6
|
5 |
+
Tested up to: 5.4
|
6 |
Stable tag: trunk
|
7 |
License: GPL2
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
91 |
6. Finding the shortcode (admin view)
|
92 |
|
93 |
== Changelog ==
|
94 |
+
= 5.0.3 =
|
95 |
+
* Various styling fixes
|
96 |
+
|
97 |
= 5.0.0 =
|
98 |
* CSS rewrite to match WordPress 5.3's new admin styles
|
99 |
* Improved Instant Preview mode
|
109 |
* Replaced deprecated jQuery methods.
|
110 |
|
111 |
= 4.1.1 =
|
112 |
+
* Fixed team edit issue for IE browsers
|
113 |
|
114 |
= 4.1.0 =
|
115 |
+
* Fixed upload media issues with Link URL
|
116 |
+
* Fixed plugin conflict with ACF
|
117 |
|
118 |
= 4.0.0 =
|
119 |
+
* Automatically even out your members (just enable the equalizer)
|
120 |
+
* Added complementary info in a clean toggle box
|
121 |
+
* Instantly preview your changes (see video below)
|
122 |
+
* Choose between floating, inside-the-box and full-width pictures
|
123 |
|
124 |
= 3.0.1 =
|
125 |
* Fixed minor CSS bugs
|
tmm.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Team Members
|
4 |
* Plugin URI: https://wpdarko.com/team-members
|
5 |
* Description: A responsive, simple and clean way to display your team. Create new members, add their positions, bios, social links and copy-paste the shortcode into any post/page. Find help and information on our <a href="https://wpdarko.com/support">support site</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='https://wpdarko.com/team-members'>PRO version</a> for more great features.
|
6 |
-
* Version: 5.0.
|
7 |
* Author: WP Darko
|
8 |
* Author URI: https://wpdarko.com
|
9 |
* Text Domain: team-members
|
3 |
* Plugin Name: Team Members
|
4 |
* Plugin URI: https://wpdarko.com/team-members
|
5 |
* Description: A responsive, simple and clean way to display your team. Create new members, add their positions, bios, social links and copy-paste the shortcode into any post/page. Find help and information on our <a href="https://wpdarko.com/support">support site</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='https://wpdarko.com/team-members'>PRO version</a> for more great features.
|
6 |
+
* Version: 5.0.3
|
7 |
* Author: WP Darko
|
8 |
* Author URI: https://wpdarko.com
|
9 |
* Text Domain: team-members
|