Version Description
- Fixed security issues
- Code cleanup
Download this release
Release Info
Developer | wpkube |
Plugin | Kiwi Social Share – Social Media Share Buttons & Icons |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- LICENSE +617 -314
- assets/css/admin.css +3 -0
- assets/js/KiwiClickToTweet.js +3 -27
- assets/js/KiwiClickToTweet.min.js +1 -1
- assets/js/kiwi.js +0 -63
- assets/vendors/bootstrap/bootstrap.css +0 -1380
- assets/vendors/bootstrap/bootstrap.js +0 -176
- assets/vendors/bootstrap/bootstrap.min.css +0 -15
- assets/vendors/bootstrap/bootstrap.min.js +0 -11
- includes/backend/kiwi-social-share-backend.php +19 -3
- includes/backend/parts/epsilon-tabs.php +0 -1
- includes/backend/parts/kiwi-tab-networks.php +0 -17
- includes/class-kiwi-social-share-review.php +0 -182
- includes/class-kiwi-social-share.php +2 -6
- includes/frontend/social-bars/class-kiwi-social-share-view-article-bar.php +15 -18
- includes/frontend/social-bars/class-kiwi-social-share-view-floating-bar.php +1 -1
- includes/frontend/social-buttons/class-kiwi-social-share-social-button-email.php +1 -1
- includes/frontend/social-buttons/class-kiwi-social-share-social-button-telegram.php +3 -7
- includes/frontend/social-buttons/class-kiwi-social-share-social-button-whatsapp.php +4 -6
- includes/lib/class-kiwi-social-share-click-to-tweet.php +1 -1
- includes/lib/class-kiwi-social-share-settings.php +2 -2
- includes/lib/cmb2/CHANGELOG.md +126 -3
- includes/lib/cmb2/CODE_OF_CONDUCT.md +76 -0
- includes/lib/cmb2/CONTRIBUTING.md +11 -3
- includes/lib/cmb2/LICENSE +674 -0
- includes/lib/cmb2/bootstrap.php +1 -1
- includes/lib/cmb2/css/cmb2-display-rtl.css +2 -2
- includes/lib/cmb2/css/cmb2-display-rtl.min.css +0 -1
- includes/lib/cmb2/css/cmb2-display.css +2 -2
- includes/lib/cmb2/css/cmb2-display.min.css +0 -1
- includes/lib/cmb2/css/cmb2-front-rtl.css +183 -135
- includes/lib/cmb2/css/cmb2-front-rtl.min.css +1 -2
- includes/lib/cmb2/css/cmb2-front.css +183 -135
- includes/lib/cmb2/css/cmb2-front.css.map +0 -7
- includes/lib/cmb2/css/cmb2-front.min.css +1 -2
- includes/lib/cmb2/css/cmb2-rtl.css +852 -1366
- includes/lib/cmb2/css/cmb2-rtl.min.css +1 -2
- includes/lib/cmb2/css/cmb2.css +852 -1366
- includes/lib/cmb2/css/cmb2.css.map +0 -7
- includes/lib/cmb2/css/cmb2.min.css +1 -2
- includes/lib/cmb2/css/sass/cmb2-display.css +0 -29
- includes/lib/cmb2/css/sass/cmb2-display.scss +0 -5
- includes/lib/cmb2/css/sass/cmb2-front.css +0 -983
- includes/lib/cmb2/css/sass/cmb2-front.scss +0 -6
- includes/lib/cmb2/css/sass/cmb2.css +0 -943
- includes/lib/cmb2/css/sass/cmb2.scss +0 -14
- includes/lib/cmb2/css/sass/index.php +0 -2
- includes/lib/cmb2/css/sass/partials/_collapsible_ui.scss +0 -55
- includes/lib/cmb2/css/sass/partials/_context_metaboxes.scss +0 -107
- includes/lib/cmb2/css/sass/partials/_display.scss +0 -34
- includes/lib/cmb2/css/sass/partials/_front.scss +0 -52
- includes/lib/cmb2/css/sass/partials/_jquery_ui.scss +0 -457
- includes/lib/cmb2/css/sass/partials/_main_wrap.scss +0 -442
- includes/lib/cmb2/css/sass/partials/_misc.scss +0 -38
- includes/lib/cmb2/css/sass/partials/_mixins.scss +0 -40
- includes/lib/cmb2/css/sass/partials/_post_metaboxes.scss +0 -116
- includes/lib/cmb2/css/sass/partials/_sidebar_placements.scss +0 -164
- includes/lib/cmb2/css/sass/partials/_variables.scss +0 -22
- includes/lib/cmb2/css/sass/partials/index.php +0 -2
- includes/lib/cmb2/example-functions.php +0 -788
- includes/lib/cmb2/includes/CMB2.php +205 -125
- includes/lib/cmb2/includes/CMB2_Ajax.php +46 -44
- includes/lib/cmb2/includes/CMB2_Base.php +29 -25
- includes/lib/cmb2/includes/CMB2_Boxes.php +1 -1
- includes/lib/cmb2/includes/CMB2_Field.php +238 -92
- includes/lib/cmb2/includes/CMB2_Field_Display.php +99 -78
- includes/lib/cmb2/includes/CMB2_Hookup_Base.php +7 -5
- includes/lib/cmb2/includes/CMB2_JS.php +26 -12
- includes/lib/cmb2/includes/CMB2_Options.php +33 -14
- includes/lib/cmb2/includes/CMB2_Options_Hookup.php +52 -24
- includes/lib/cmb2/includes/CMB2_Sanitize.php +50 -27
- includes/lib/cmb2/includes/CMB2_Show_Filters.php +16 -15
- includes/lib/cmb2/includes/CMB2_Tab.php +0 -62
- includes/lib/cmb2/includes/CMB2_Tab_Group.php +0 -53
- includes/lib/cmb2/includes/CMB2_Types.php +34 -26
- includes/lib/cmb2/includes/CMB2_Utils.php +67 -65
- includes/lib/cmb2/includes/CMB2_hookup.php +231 -100
- includes/lib/cmb2/includes/helper-functions.php +60 -54
- includes/lib/cmb2/includes/rest-api/CMB2_REST.php +91 -20
- includes/lib/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php +34 -2
- includes/lib/cmb2/includes/types/CMB2_Type_Base.php +18 -17
- includes/lib/cmb2/includes/types/CMB2_Type_Checkbox.php +12 -3
- includes/lib/cmb2/includes/types/CMB2_Type_Colorpicker.php +58 -17
- includes/lib/cmb2/includes/types/CMB2_Type_Counter_Base.php +138 -0
- includes/lib/cmb2/includes/types/CMB2_Type_File.php +40 -19
- includes/lib/cmb2/includes/types/CMB2_Type_File_Base.php +16 -5
- includes/lib/cmb2/includes/types/CMB2_Type_File_List.php +4 -4
- includes/lib/cmb2/includes/types/CMB2_Type_Oembed.php +1 -1
- includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php +19 -3
- includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php +2 -2
- includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php +1 -1
- includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php +2 -2
- includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php +33 -10
- includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php +73 -0
- includes/lib/cmb2/includes/types/CMB2_Type_Text.php +4 -1
- includes/lib/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php +7 -2
- includes/lib/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php +7 -2
- includes/lib/cmb2/includes/types/CMB2_Type_Textarea.php +4 -1
- includes/lib/cmb2/includes/types/CMB2_Type_Wysiwyg.php +14 -4
- includes/lib/cmb2/init.php +16 -12
- includes/lib/cmb2/js/cmb2-char-counter.js +211 -0
- includes/lib/cmb2/js/cmb2-wysiwyg.js +5 -5
- includes/lib/cmb2/js/cmb2.js +47 -15
LICENSE
CHANGED
@@ -1,339 +1,642 @@
|
|
1 |
GNU GENERAL PUBLIC LICENSE
|
2 |
-
Version
|
3 |
|
4 |
-
Copyright (C)
|
5 |
-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
6 |
Everyone is permitted to copy and distribute verbatim copies
|
7 |
of this license document, but changing it is not allowed.
|
8 |
|
9 |
Preamble
|
10 |
|
11 |
-
The
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
19 |
your programs, too.
|
20 |
|
21 |
When we speak of free software, we are referring to freedom, not
|
22 |
price. Our General Public Licenses are designed to make sure that you
|
23 |
have the freedom to distribute copies of free software (and charge for
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
|
28 |
-
To protect your rights, we need to
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
|
33 |
For example, if you distribute copies of such a program, whether
|
34 |
-
gratis or for a fee, you must
|
35 |
-
you
|
36 |
-
source code. And you must show them these terms so they
|
37 |
-
rights.
|
38 |
-
|
39 |
-
|
40 |
-
(
|
41 |
-
distribute and/or modify
|
42 |
-
|
43 |
-
|
44 |
-
that
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
The precise terms and conditions for copying, distribution and
|
57 |
modification follow.
|
58 |
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
this License.
|
196 |
|
197 |
-
|
198 |
-
|
199 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
otherwise) that contradict the conditions of this License, they do not
|
201 |
-
excuse you from the conditions of this License. If you cannot
|
202 |
-
|
203 |
-
License and any other pertinent obligations, then as a consequence you
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
any
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
impose that choice.
|
225 |
-
|
226 |
-
This section is intended to make thoroughly clear what is believed to
|
227 |
-
be a consequence of the rest of this License.
|
228 |
-
|
229 |
-
8. If the distribution and/or use of the Program is restricted in
|
230 |
-
certain countries either by patents or by copyrighted interfaces, the
|
231 |
-
original copyright holder who places the Program under this License
|
232 |
-
may add an explicit geographical distribution limitation excluding
|
233 |
-
those countries, so that distribution is permitted only in or among
|
234 |
-
countries not thus excluded. In such case, this License incorporates
|
235 |
-
the limitation as if written in the body of this License.
|
236 |
-
|
237 |
-
9. The Free Software Foundation may publish revised and/or new versions
|
238 |
-
of the General Public License from time to time. Such new versions will
|
239 |
be similar in spirit to the present version, but may differ in detail to
|
240 |
address new problems or concerns.
|
241 |
|
242 |
-
Each version is given a distinguishing version number. If the
|
243 |
-
specifies a version
|
244 |
-
later version", you have the
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
Gnomovision version 69, Copyright (C) year name of author
|
316 |
-
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
317 |
-
This is free software, and you are welcome to redistribute it
|
318 |
-
under certain conditions; type `show c' for details.
|
319 |
-
|
320 |
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
321 |
-
parts of the General Public License. Of course, the commands you use may
|
322 |
-
be called something other than `show w' and `show c'; they could even be
|
323 |
-
mouse-clicks or menu items--whatever suits your program.
|
324 |
-
|
325 |
-
You should also get your employer (if you work as a programmer) or your
|
326 |
-
school, if any, to sign a "copyright disclaimer" for the program, if
|
327 |
-
necessary. Here is a sample; alter the names:
|
328 |
-
|
329 |
-
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
330 |
-
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
331 |
-
|
332 |
-
<signature of Ty Coon>, 1 April 1989
|
333 |
-
Ty Coon, President of Vice
|
334 |
-
|
335 |
-
This General Public License does not permit incorporating your program into
|
336 |
-
proprietary programs. If your program is a subroutine library, you may
|
337 |
-
consider it more useful to permit linking proprietary applications with the
|
338 |
-
library. If this is what you want to do, use the GNU Lesser General
|
339 |
-
Public License instead of this License.
|
1 |
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 3, 29 June 2007
|
3 |
|
4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
|
5 |
Everyone is permitted to copy and distribute verbatim copies
|
6 |
of this license document, but changing it is not allowed.
|
7 |
|
8 |
Preamble
|
9 |
|
10 |
+
The GNU General Public License is a free, copyleft license for
|
11 |
+
software and other kinds of works.
|
12 |
+
|
13 |
+
The licenses for most software and other practical works are designed
|
14 |
+
to take away your freedom to share and change the works. By contrast,
|
15 |
+
the GNU General Public License is intended to guarantee your freedom to
|
16 |
+
share and change all versions of a program--to make sure it remains free
|
17 |
+
software for all its users. We, the Free Software Foundation, use the
|
18 |
+
GNU General Public License for most of our software; it applies also to
|
19 |
+
any other work released this way by its authors. You can apply it to
|
20 |
your programs, too.
|
21 |
|
22 |
When we speak of free software, we are referring to freedom, not
|
23 |
price. Our General Public Licenses are designed to make sure that you
|
24 |
have the freedom to distribute copies of free software (and charge for
|
25 |
+
them if you wish), that you receive source code or can get it if you
|
26 |
+
want it, that you can change the software or use pieces of it in new
|
27 |
+
free programs, and that you know you can do these things.
|
28 |
|
29 |
+
To protect your rights, we need to prevent others from denying you
|
30 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
31 |
+
certain responsibilities if you distribute copies of the software, or if
|
32 |
+
you modify it: responsibilities to respect the freedom of others.
|
33 |
|
34 |
For example, if you distribute copies of such a program, whether
|
35 |
+
gratis or for a fee, you must pass on to the recipients the same
|
36 |
+
freedoms that you received. You must make sure that they, too, receive
|
37 |
+
or can get the source code. And you must show them these terms so they
|
38 |
+
know their rights.
|
39 |
+
|
40 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
41 |
+
(1) assert copyright on the software, and (2) offer you this License
|
42 |
+
giving you legal permission to copy, distribute and/or modify it.
|
43 |
+
|
44 |
+
For the developers' and authors' protection, the GPL clearly explains
|
45 |
+
that there is no warranty for this free software. For both users' and
|
46 |
+
authors' sake, the GPL requires that modified versions be marked as
|
47 |
+
changed, so that their problems will not be attributed erroneously to
|
48 |
+
authors of previous versions.
|
49 |
+
|
50 |
+
Some devices are designed to deny users access to install or run
|
51 |
+
modified versions of the software inside them, although the manufacturer
|
52 |
+
can do so. This is fundamentally incompatible with the aim of
|
53 |
+
protecting users' freedom to change the software. The systematic
|
54 |
+
pattern of such abuse occurs in the area of products for individuals to
|
55 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
56 |
+
have designed this version of the GPL to prohibit the practice for those
|
57 |
+
products. If such problems arise substantially in other domains, we
|
58 |
+
stand ready to extend this provision to those domains in future versions
|
59 |
+
of the GPL, as needed to protect the freedom of users.
|
60 |
+
|
61 |
+
Finally, every program is threatened constantly by software patents.
|
62 |
+
States should not allow patents to restrict development and use of
|
63 |
+
software on general-purpose computers, but in those that do, we wish to
|
64 |
+
avoid the special danger that patents applied to a free program could
|
65 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
66 |
+
patents cannot be used to render the program non-free.
|
67 |
|
68 |
The precise terms and conditions for copying, distribution and
|
69 |
modification follow.
|
70 |
|
71 |
+
TERMS AND CONDITIONS
|
72 |
+
|
73 |
+
0. Definitions.
|
74 |
+
|
75 |
+
"This License" refers to version 3 of the GNU General Public License.
|
76 |
+
|
77 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
78 |
+
works, such as semiconductor masks.
|
79 |
+
|
80 |
+
"The Program" refers to any copyrightable work licensed under this
|
81 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
82 |
+
"recipients" may be individuals or organizations.
|
83 |
+
|
84 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
85 |
+
in a fashion requiring copyright permission, other than the making of an
|
86 |
+
exact copy. The resulting work is called a "modified version" of the
|
87 |
+
earlier work or a work "based on" the earlier work.
|
88 |
+
|
89 |
+
A "covered work" means either the unmodified Program or a work based
|
90 |
+
on the Program.
|
91 |
+
|
92 |
+
To "propagate" a work means to do anything with it that, without
|
93 |
+
permission, would make you directly or secondarily liable for
|
94 |
+
infringement under applicable copyright law, except executing it on a
|
95 |
+
computer or modifying a private copy. Propagation includes copying,
|
96 |
+
distribution (with or without modification), making available to the
|
97 |
+
public, and in some countries other activities as well.
|
98 |
+
|
99 |
+
To "convey" a work means any kind of propagation that enables other
|
100 |
+
parties to make or receive copies. Mere interaction with a user through
|
101 |
+
a computer network, with no transfer of a copy, is not conveying.
|
102 |
+
|
103 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
104 |
+
to the extent that it includes a convenient and prominently visible
|
105 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
106 |
+
tells the user that there is no warranty for the work (except to the
|
107 |
+
extent that warranties are provided), that licensees may convey the
|
108 |
+
work under this License, and how to view a copy of this License. If
|
109 |
+
the interface presents a list of user commands or options, such as a
|
110 |
+
menu, a prominent item in the list meets this criterion.
|
111 |
+
|
112 |
+
1. Source Code.
|
113 |
+
|
114 |
+
The "source code" for a work means the preferred form of the work
|
115 |
+
for making modifications to it. "Object code" means any non-source
|
116 |
+
form of a work.
|
117 |
+
|
118 |
+
A "Standard Interface" means an interface that either is an official
|
119 |
+
standard defined by a recognized standards body, or, in the case of
|
120 |
+
interfaces specified for a particular programming language, one that
|
121 |
+
is widely used among developers working in that language.
|
122 |
+
|
123 |
+
The "System Libraries" of an executable work include anything, other
|
124 |
+
than the work as a whole, that (a) is included in the normal form of
|
125 |
+
packaging a Major Component, but which is not part of that Major
|
126 |
+
Component, and (b) serves only to enable use of the work with that
|
127 |
+
Major Component, or to implement a Standard Interface for which an
|
128 |
+
implementation is available to the public in source code form. A
|
129 |
+
"Major Component", in this context, means a major essential component
|
130 |
+
(kernel, window system, and so on) of the specific operating system
|
131 |
+
(if any) on which the executable work runs, or a compiler used to
|
132 |
+
produce the work, or an object code interpreter used to run it.
|
133 |
+
|
134 |
+
The "Corresponding Source" for a work in object code form means all
|
135 |
+
the source code needed to generate, install, and (for an executable
|
136 |
+
work) run the object code and to modify the work, including scripts to
|
137 |
+
control those activities. However, it does not include the work's
|
138 |
+
System Libraries, or general-purpose tools or generally available free
|
139 |
+
programs which are used unmodified in performing those activities but
|
140 |
+
which are not part of the work. For example, Corresponding Source
|
141 |
+
includes interface definition files associated with source files for
|
142 |
+
the work, and the source code for shared libraries and dynamically
|
143 |
+
linked subprograms that the work is specifically designed to require,
|
144 |
+
such as by intimate data communication or control flow between those
|
145 |
+
subprograms and other parts of the work.
|
146 |
+
|
147 |
+
The Corresponding Source need not include anything that users
|
148 |
+
can regenerate automatically from other parts of the Corresponding
|
149 |
+
Source.
|
150 |
+
|
151 |
+
The Corresponding Source for a work in source code form is that
|
152 |
+
same work.
|
153 |
+
|
154 |
+
2. Basic Permissions.
|
155 |
+
|
156 |
+
All rights granted under this License are granted for the term of
|
157 |
+
copyright on the Program, and are irrevocable provided the stated
|
158 |
+
conditions are met. This License explicitly affirms your unlimited
|
159 |
+
permission to run the unmodified Program. The output from running a
|
160 |
+
covered work is covered by this License only if the output, given its
|
161 |
+
content, constitutes a covered work. This License acknowledges your
|
162 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
163 |
+
|
164 |
+
You may make, run and propagate covered works that you do not
|
165 |
+
convey, without conditions so long as your license otherwise remains
|
166 |
+
in force. You may convey covered works to others for the sole purpose
|
167 |
+
of having them make modifications exclusively for you, or provide you
|
168 |
+
with facilities for running those works, provided that you comply with
|
169 |
+
the terms of this License in conveying all material for which you do
|
170 |
+
not control copyright. Those thus making or running the covered works
|
171 |
+
for you must do so exclusively on your behalf, under your direction
|
172 |
+
and control, on terms that prohibit them from making any copies of
|
173 |
+
your copyrighted material outside their relationship with you.
|
174 |
+
|
175 |
+
Conveying under any other circumstances is permitted solely under
|
176 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
177 |
+
makes it unnecessary.
|
178 |
+
|
179 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
180 |
+
|
181 |
+
No covered work shall be deemed part of an effective technological
|
182 |
+
measure under any applicable law fulfilling obligations under article
|
183 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
184 |
+
similar laws prohibiting or restricting circumvention of such
|
185 |
+
measures.
|
186 |
+
|
187 |
+
When you convey a covered work, you waive any legal power to forbid
|
188 |
+
circumvention of technological measures to the extent such circumvention
|
189 |
+
is effected by exercising rights under this License with respect to
|
190 |
+
the covered work, and you disclaim any intention to limit operation or
|
191 |
+
modification of the work as a means of enforcing, against the work's
|
192 |
+
users, your or third parties' legal rights to forbid circumvention of
|
193 |
+
technological measures.
|
194 |
+
|
195 |
+
4. Conveying Verbatim Copies.
|
196 |
+
|
197 |
+
You may convey verbatim copies of the Program's source code as you
|
198 |
+
receive it, in any medium, provided that you conspicuously and
|
199 |
+
appropriately publish on each copy an appropriate copyright notice;
|
200 |
+
keep intact all notices stating that this License and any
|
201 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
202 |
+
keep intact all notices of the absence of any warranty; and give all
|
203 |
+
recipients a copy of this License along with the Program.
|
204 |
+
|
205 |
+
You may charge any price or no price for each copy that you convey,
|
206 |
+
and you may offer support or warranty protection for a fee.
|
207 |
+
|
208 |
+
5. Conveying Modified Source Versions.
|
209 |
+
|
210 |
+
You may convey a work based on the Program, or the modifications to
|
211 |
+
produce it from the Program, in the form of source code under the
|
212 |
+
terms of section 4, provided that you also meet all of these conditions:
|
213 |
+
|
214 |
+
a) The work must carry prominent notices stating that you modified
|
215 |
+
it, and giving a relevant date.
|
216 |
+
|
217 |
+
b) The work must carry prominent notices stating that it is
|
218 |
+
released under this License and any conditions added under section
|
219 |
+
7. This requirement modifies the requirement in section 4 to
|
220 |
+
"keep intact all notices".
|
221 |
+
|
222 |
+
c) You must license the entire work, as a whole, under this
|
223 |
+
License to anyone who comes into possession of a copy. This
|
224 |
+
License will therefore apply, along with any applicable section 7
|
225 |
+
additional terms, to the whole of the work, and all its parts,
|
226 |
+
regardless of how they are packaged. This License gives no
|
227 |
+
permission to license the work in any other way, but it does not
|
228 |
+
invalidate such permission if you have separately received it.
|
229 |
+
|
230 |
+
d) If the work has interactive user interfaces, each must display
|
231 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
232 |
+
interfaces that do not display Appropriate Legal Notices, your
|
233 |
+
work need not make them do so.
|
234 |
+
|
235 |
+
A compilation of a covered work with other separate and independent
|
236 |
+
works, which are not by their nature extensions of the covered work,
|
237 |
+
and which are not combined with it such as to form a larger program,
|
238 |
+
in or on a volume of a storage or distribution medium, is called an
|
239 |
+
"aggregate" if the compilation and its resulting copyright are not
|
240 |
+
used to limit the access or legal rights of the compilation's users
|
241 |
+
beyond what the individual works permit. Inclusion of a covered work
|
242 |
+
in an aggregate does not cause this License to apply to the other
|
243 |
+
parts of the aggregate.
|
244 |
+
|
245 |
+
6. Conveying Non-Source Forms.
|
246 |
+
|
247 |
+
You may convey a covered work in object code form under the terms
|
248 |
+
of sections 4 and 5, provided that you also convey the
|
249 |
+
machine-readable Corresponding Source under the terms of this License,
|
250 |
+
in one of these ways:
|
251 |
+
|
252 |
+
a) Convey the object code in, or embodied in, a physical product
|
253 |
+
(including a physical distribution medium), accompanied by the
|
254 |
+
Corresponding Source fixed on a durable physical medium
|
255 |
+
customarily used for software interchange.
|
256 |
+
|
257 |
+
b) Convey the object code in, or embodied in, a physical product
|
258 |
+
(including a physical distribution medium), accompanied by a
|
259 |
+
written offer, valid for at least three years and valid for as
|
260 |
+
long as you offer spare parts or customer support for that product
|
261 |
+
model, to give anyone who possesses the object code either (1) a
|
262 |
+
copy of the Corresponding Source for all the software in the
|
263 |
+
product that is covered by this License, on a durable physical
|
264 |
+
medium customarily used for software interchange, for a price no
|
265 |
+
more than your reasonable cost of physically performing this
|
266 |
+
conveying of source, or (2) access to copy the
|
267 |
+
Corresponding Source from a network server at no charge.
|
268 |
+
|
269 |
+
c) Convey individual copies of the object code with a copy of the
|
270 |
+
written offer to provide the Corresponding Source. This
|
271 |
+
alternative is allowed only occasionally and noncommercially, and
|
272 |
+
only if you received the object code with such an offer, in accord
|
273 |
+
with subsection 6b.
|
274 |
+
|
275 |
+
d) Convey the object code by offering access from a designated
|
276 |
+
place (gratis or for a charge), and offer equivalent access to the
|
277 |
+
Corresponding Source in the same way through the same place at no
|
278 |
+
further charge. You need not require recipients to copy the
|
279 |
+
Corresponding Source along with the object code. If the place to
|
280 |
+
copy the object code is a network server, the Corresponding Source
|
281 |
+
may be on a different server (operated by you or a third party)
|
282 |
+
that supports equivalent copying facilities, provided you maintain
|
283 |
+
clear directions next to the object code saying where to find the
|
284 |
+
Corresponding Source. Regardless of what server hosts the
|
285 |
+
Corresponding Source, you remain obligated to ensure that it is
|
286 |
+
available for as long as needed to satisfy these requirements.
|
287 |
+
|
288 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
289 |
+
you inform other peers where the object code and Corresponding
|
290 |
+
Source of the work are being offered to the general public at no
|
291 |
+
charge under subsection 6d.
|
292 |
+
|
293 |
+
A separable portion of the object code, whose source code is excluded
|
294 |
+
from the Corresponding Source as a System Library, need not be
|
295 |
+
included in conveying the object code work.
|
296 |
+
|
297 |
+
A "User Product" is either (1) a "consumer product", which means any
|
298 |
+
tangible personal property which is normally used for personal, family,
|
299 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
300 |
+
into a dwelling. In determining whether a product is a consumer product,
|
301 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
302 |
+
product received by a particular user, "normally used" refers to a
|
303 |
+
typical or common use of that class of product, regardless of the status
|
304 |
+
of the particular user or of the way in which the particular user
|
305 |
+
actually uses, or expects or is expected to use, the product. A product
|
306 |
+
is a consumer product regardless of whether the product has substantial
|
307 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
308 |
+
the only significant mode of use of the product.
|
309 |
+
|
310 |
+
"Installation Information" for a User Product means any methods,
|
311 |
+
procedures, authorization keys, or other information required to install
|
312 |
+
and execute modified versions of a covered work in that User Product from
|
313 |
+
a modified version of its Corresponding Source. The information must
|
314 |
+
suffice to ensure that the continued functioning of the modified object
|
315 |
+
code is in no case prevented or interfered with solely because
|
316 |
+
modification has been made.
|
317 |
+
|
318 |
+
If you convey an object code work under this section in, or with, or
|
319 |
+
specifically for use in, a User Product, and the conveying occurs as
|
320 |
+
part of a transaction in which the right of possession and use of the
|
321 |
+
User Product is transferred to the recipient in perpetuity or for a
|
322 |
+
fixed term (regardless of how the transaction is characterized), the
|
323 |
+
Corresponding Source conveyed under this section must be accompanied
|
324 |
+
by the Installation Information. But this requirement does not apply
|
325 |
+
if neither you nor any third party retains the ability to install
|
326 |
+
modified object code on the User Product (for example, the work has
|
327 |
+
been installed in ROM).
|
328 |
+
|
329 |
+
The requirement to provide Installation Information does not include a
|
330 |
+
requirement to continue to provide support service, warranty, or updates
|
331 |
+
for a work that has been modified or installed by the recipient, or for
|
332 |
+
the User Product in which it has been modified or installed. Access to a
|
333 |
+
network may be denied when the modification itself materially and
|
334 |
+
adversely affects the operation of the network or violates the rules and
|
335 |
+
protocols for communication across the network.
|
336 |
+
|
337 |
+
Corresponding Source conveyed, and Installation Information provided,
|
338 |
+
in accord with this section must be in a format that is publicly
|
339 |
+
documented (and with an implementation available to the public in
|
340 |
+
source code form), and must require no special password or key for
|
341 |
+
unpacking, reading or copying.
|
342 |
+
|
343 |
+
7. Additional Terms.
|
344 |
+
|
345 |
+
"Additional permissions" are terms that supplement the terms of this
|
346 |
+
License by making exceptions from one or more of its conditions.
|
347 |
+
Additional permissions that are applicable to the entire Program shall
|
348 |
+
be treated as though they were included in this License, to the extent
|
349 |
+
that they are valid under applicable law. If additional permissions
|
350 |
+
apply only to part of the Program, that part may be used separately
|
351 |
+
under those permissions, but the entire Program remains governed by
|
352 |
+
this License without regard to the additional permissions.
|
353 |
+
|
354 |
+
When you convey a copy of a covered work, you may at your option
|
355 |
+
remove any additional permissions from that copy, or from any part of
|
356 |
+
it. (Additional permissions may be written to require their own
|
357 |
+
removal in certain cases when you modify the work.) You may place
|
358 |
+
additional permissions on material, added by you to a covered work,
|
359 |
+
for which you have or can give appropriate copyright permission.
|
360 |
+
|
361 |
+
Notwithstanding any other provision of this License, for material you
|
362 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
363 |
+
that material) supplement the terms of this License with terms:
|
364 |
+
|
365 |
+
a) Disclaiming warranty or limiting liability differently from the
|
366 |
+
terms of sections 15 and 16 of this License; or
|
367 |
+
|
368 |
+
b) Requiring preservation of specified reasonable legal notices or
|
369 |
+
author attributions in that material or in the Appropriate Legal
|
370 |
+
Notices displayed by works containing it; or
|
371 |
+
|
372 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
373 |
+
requiring that modified versions of such material be marked in
|
374 |
+
reasonable ways as different from the original version; or
|
375 |
+
|
376 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
377 |
+
authors of the material; or
|
378 |
+
|
379 |
+
e) Declining to grant rights under trademark law for use of some
|
380 |
+
trade names, trademarks, or service marks; or
|
381 |
+
|
382 |
+
f) Requiring indemnification of licensors and authors of that
|
383 |
+
material by anyone who conveys the material (or modified versions of
|
384 |
+
it) with contractual assumptions of liability to the recipient, for
|
385 |
+
any liability that these contractual assumptions directly impose on
|
386 |
+
those licensors and authors.
|
387 |
+
|
388 |
+
All other non-permissive additional terms are considered "further
|
389 |
+
restrictions" within the meaning of section 10. If the Program as you
|
390 |
+
received it, or any part of it, contains a notice stating that it is
|
391 |
+
governed by this License along with a term that is a further
|
392 |
+
restriction, you may remove that term. If a license document contains
|
393 |
+
a further restriction but permits relicensing or conveying under this
|
394 |
+
License, you may add to a covered work material governed by the terms
|
395 |
+
of that license document, provided that the further restriction does
|
396 |
+
not survive such relicensing or conveying.
|
397 |
+
|
398 |
+
If you add terms to a covered work in accord with this section, you
|
399 |
+
must place, in the relevant source files, a statement of the
|
400 |
+
additional terms that apply to those files, or a notice indicating
|
401 |
+
where to find the applicable terms.
|
402 |
+
|
403 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
404 |
+
form of a separately written license, or stated as exceptions;
|
405 |
+
the above requirements apply either way.
|
406 |
+
|
407 |
+
8. Termination.
|
408 |
+
|
409 |
+
You may not propagate or modify a covered work except as expressly
|
410 |
+
provided under this License. Any attempt otherwise to propagate or
|
411 |
+
modify it is void, and will automatically terminate your rights under
|
412 |
+
this License (including any patent licenses granted under the third
|
413 |
+
paragraph of section 11).
|
414 |
+
|
415 |
+
However, if you cease all violation of this License, then your
|
416 |
+
license from a particular copyright holder is reinstated (a)
|
417 |
+
provisionally, unless and until the copyright holder explicitly and
|
418 |
+
finally terminates your license, and (b) permanently, if the copyright
|
419 |
+
holder fails to notify you of the violation by some reasonable means
|
420 |
+
prior to 60 days after the cessation.
|
421 |
+
|
422 |
+
Moreover, your license from a particular copyright holder is
|
423 |
+
reinstated permanently if the copyright holder notifies you of the
|
424 |
+
violation by some reasonable means, this is the first time you have
|
425 |
+
received notice of violation of this License (for any work) from that
|
426 |
+
copyright holder, and you cure the violation prior to 30 days after
|
427 |
+
your receipt of the notice.
|
428 |
+
|
429 |
+
Termination of your rights under this section does not terminate the
|
430 |
+
licenses of parties who have received copies or rights from you under
|
431 |
+
this License. If your rights have been terminated and not permanently
|
432 |
+
reinstated, you do not qualify to receive new licenses for the same
|
433 |
+
material under section 10.
|
434 |
+
|
435 |
+
9. Acceptance Not Required for Having Copies.
|
436 |
+
|
437 |
+
You are not required to accept this License in order to receive or
|
438 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
439 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
440 |
+
to receive a copy likewise does not require acceptance. However,
|
441 |
+
nothing other than this License grants you permission to propagate or
|
442 |
+
modify any covered work. These actions infringe copyright if you do
|
443 |
+
not accept this License. Therefore, by modifying or propagating a
|
444 |
+
covered work, you indicate your acceptance of this License to do so.
|
445 |
+
|
446 |
+
10. Automatic Licensing of Downstream Recipients.
|
447 |
+
|
448 |
+
Each time you convey a covered work, the recipient automatically
|
449 |
+
receives a license from the original licensors, to run, modify and
|
450 |
+
propagate that work, subject to this License. You are not responsible
|
451 |
+
for enforcing compliance by third parties with this License.
|
452 |
+
|
453 |
+
An "entity transaction" is a transaction transferring control of an
|
454 |
+
organization, or substantially all assets of one, or subdividing an
|
455 |
+
organization, or merging organizations. If propagation of a covered
|
456 |
+
work results from an entity transaction, each party to that
|
457 |
+
transaction who receives a copy of the work also receives whatever
|
458 |
+
licenses to the work the party's predecessor in interest had or could
|
459 |
+
give under the previous paragraph, plus a right to possession of the
|
460 |
+
Corresponding Source of the work from the predecessor in interest, if
|
461 |
+
the predecessor has it or can get it with reasonable efforts.
|
462 |
+
|
463 |
+
You may not impose any further restrictions on the exercise of the
|
464 |
+
rights granted or affirmed under this License. For example, you may
|
465 |
+
not impose a license fee, royalty, or other charge for exercise of
|
466 |
+
rights granted under this License, and you may not initiate litigation
|
467 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
468 |
+
any patent claim is infringed by making, using, selling, offering for
|
469 |
+
sale, or importing the Program or any portion of it.
|
470 |
+
|
471 |
+
11. Patents.
|
472 |
+
|
473 |
+
A "contributor" is a copyright holder who authorizes use under this
|
474 |
+
License of the Program or a work on which the Program is based. The
|
475 |
+
work thus licensed is called the contributor's "contributor version".
|
476 |
+
|
477 |
+
A contributor's "essential patent claims" are all patent claims
|
478 |
+
owned or controlled by the contributor, whether already acquired or
|
479 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
480 |
+
by this License, of making, using, or selling its contributor version,
|
481 |
+
but do not include claims that would be infringed only as a
|
482 |
+
consequence of further modification of the contributor version. For
|
483 |
+
purposes of this definition, "control" includes the right to grant
|
484 |
+
patent sublicenses in a manner consistent with the requirements of
|
485 |
this License.
|
486 |
|
487 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
488 |
+
patent license under the contributor's essential patent claims, to
|
489 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
490 |
+
propagate the contents of its contributor version.
|
491 |
+
|
492 |
+
In the following three paragraphs, a "patent license" is any express
|
493 |
+
agreement or commitment, however denominated, not to enforce a patent
|
494 |
+
(such as an express permission to practice a patent or covenant not to
|
495 |
+
sue for patent infringement). To "grant" such a patent license to a
|
496 |
+
party means to make such an agreement or commitment not to enforce a
|
497 |
+
patent against the party.
|
498 |
+
|
499 |
+
If you convey a covered work, knowingly relying on a patent license,
|
500 |
+
and the Corresponding Source of the work is not available for anyone
|
501 |
+
to copy, free of charge and under the terms of this License, through a
|
502 |
+
publicly available network server or other readily accessible means,
|
503 |
+
then you must either (1) cause the Corresponding Source to be so
|
504 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
505 |
+
patent license for this particular work, or (3) arrange, in a manner
|
506 |
+
consistent with the requirements of this License, to extend the patent
|
507 |
+
license to downstream recipients. "Knowingly relying" means you have
|
508 |
+
actual knowledge that, but for the patent license, your conveying the
|
509 |
+
covered work in a country, or your recipient's use of the covered work
|
510 |
+
in a country, would infringe one or more identifiable patents in that
|
511 |
+
country that you have reason to believe are valid.
|
512 |
+
|
513 |
+
If, pursuant to or in connection with a single transaction or
|
514 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
515 |
+
covered work, and grant a patent license to some of the parties
|
516 |
+
receiving the covered work authorizing them to use, propagate, modify
|
517 |
+
or convey a specific copy of the covered work, then the patent license
|
518 |
+
you grant is automatically extended to all recipients of the covered
|
519 |
+
work and works based on it.
|
520 |
+
|
521 |
+
A patent license is "discriminatory" if it does not include within
|
522 |
+
the scope of its coverage, prohibits the exercise of, or is
|
523 |
+
conditioned on the non-exercise of one or more of the rights that are
|
524 |
+
specifically granted under this License. You may not convey a covered
|
525 |
+
work if you are a party to an arrangement with a third party that is
|
526 |
+
in the business of distributing software, under which you make payment
|
527 |
+
to the third party based on the extent of your activity of conveying
|
528 |
+
the work, and under which the third party grants, to any of the
|
529 |
+
parties who would receive the covered work from you, a discriminatory
|
530 |
+
patent license (a) in connection with copies of the covered work
|
531 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
532 |
+
for and in connection with specific products or compilations that
|
533 |
+
contain the covered work, unless you entered into that arrangement,
|
534 |
+
or that patent license was granted, prior to 28 March 2007.
|
535 |
+
|
536 |
+
Nothing in this License shall be construed as excluding or limiting
|
537 |
+
any implied license or other defenses to infringement that may
|
538 |
+
otherwise be available to you under applicable patent law.
|
539 |
+
|
540 |
+
12. No Surrender of Others' Freedom.
|
541 |
+
|
542 |
+
If conditions are imposed on you (whether by court order, agreement or
|
543 |
otherwise) that contradict the conditions of this License, they do not
|
544 |
+
excuse you from the conditions of this License. If you cannot convey a
|
545 |
+
covered work so as to satisfy simultaneously your obligations under this
|
546 |
+
License and any other pertinent obligations, then as a consequence you may
|
547 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
548 |
+
to collect a royalty for further conveying from those to whom you convey
|
549 |
+
the Program, the only way you could satisfy both those terms and this
|
550 |
+
License would be to refrain entirely from conveying the Program.
|
551 |
+
|
552 |
+
13. Use with the GNU Affero General Public License.
|
553 |
+
|
554 |
+
Notwithstanding any other provision of this License, you have
|
555 |
+
permission to link or combine any covered work with a work licensed
|
556 |
+
under version 3 of the GNU Affero General Public License into a single
|
557 |
+
combined work, and to convey the resulting work. The terms of this
|
558 |
+
License will continue to apply to the part which is the covered work,
|
559 |
+
but the special requirements of the GNU Affero General Public License,
|
560 |
+
section 13, concerning interaction through a network will apply to the
|
561 |
+
combination as such.
|
562 |
+
|
563 |
+
14. Revised Versions of this License.
|
564 |
+
|
565 |
+
The Free Software Foundation may publish revised and/or new versions of
|
566 |
+
the GNU General Public License from time to time. Such new versions will
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
567 |
be similar in spirit to the present version, but may differ in detail to
|
568 |
address new problems or concerns.
|
569 |
|
570 |
+
Each version is given a distinguishing version number. If the
|
571 |
+
Program specifies that a certain numbered version of the GNU General
|
572 |
+
Public License "or any later version" applies to it, you have the
|
573 |
+
option of following the terms and conditions either of that numbered
|
574 |
+
version or of any later version published by the Free Software
|
575 |
+
Foundation. If the Program does not specify a version number of the
|
576 |
+
GNU General Public License, you may choose any version ever published
|
577 |
+
by the Free Software Foundation.
|
578 |
+
|
579 |
+
If the Program specifies that a proxy can decide which future
|
580 |
+
versions of the GNU General Public License can be used, that proxy's
|
581 |
+
public statement of acceptance of a version permanently authorizes you
|
582 |
+
to choose that version for the Program.
|
583 |
+
|
584 |
+
Later license versions may give you additional or different
|
585 |
+
permissions. However, no additional obligations are imposed on any
|
586 |
+
author or copyright holder as a result of your choosing to follow a
|
587 |
+
later version.
|
588 |
+
|
589 |
+
15. Disclaimer of Warranty.
|
590 |
+
|
591 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
592 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
593 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
594 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
595 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
596 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
597 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
598 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
599 |
+
|
600 |
+
16. Limitation of Liability.
|
601 |
+
|
602 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
603 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
604 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
605 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
606 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
607 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
608 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
609 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
610 |
+
SUCH DAMAGES.
|
611 |
+
|
612 |
+
17. Interpretation of Sections 15 and 16.
|
613 |
+
|
614 |
+
If the disclaimer of warranty and limitation of liability provided
|
615 |
+
above cannot be given local legal effect according to their terms,
|
616 |
+
reviewing courts shall apply local law that most closely approximates
|
617 |
+
an absolute waiver of all civil liability in connection with the
|
618 |
+
Program, unless a warranty or assumption of liability accompanies a
|
619 |
+
copy of the Program in return for a fee.
|
620 |
+
|
621 |
+
18. Additional terms
|
622 |
+
|
623 |
+
In the light of Article 7 of the GPL license, the following additional
|
624 |
+
terms apply:
|
625 |
+
|
626 |
+
a) You are prohibited to make misrepresentations of the origin of that
|
627 |
+
material, or to require that modified versions of such material be marked
|
628 |
+
in reasonable ways as different from the original version;
|
629 |
+
|
630 |
+
b) You are limited in the use for publicity purposes of names of
|
631 |
+
licensors or authors of the material;
|
632 |
+
|
633 |
+
c) You are declined any grant of rights under trademark law for use of
|
634 |
+
the trade names, trademarks, or service marks of YOAST B.V.;
|
635 |
+
|
636 |
+
d) You are required to indemnify licensors and authors of that material
|
637 |
+
by anyone who conveys the material (or modified versions of it) with
|
638 |
+
contractual assumptions of liability to the recipient, for any liability
|
639 |
+
that these contractual assumptions directly impose on those licensors and
|
640 |
+
authors.
|
641 |
+
|
642 |
+
END OF TERMS AND CONDITIONS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/admin.css
CHANGED
@@ -294,6 +294,7 @@
|
|
294 |
padding: 0 5px;
|
295 |
min-width: 90px;
|
296 |
transition: all .3s;
|
|
|
297 |
}
|
298 |
|
299 |
.sl-kiwi-networks {
|
@@ -893,6 +894,7 @@ ul[data-style="fit"].pill .sl-kiwi-item-add span {
|
|
893 |
height: 36px;
|
894 |
margin-left: 0px;
|
895 |
margin-bottom: 0px;
|
|
|
896 |
}
|
897 |
|
898 |
.epsilon-ui-tabs li {
|
@@ -931,6 +933,7 @@ ul[data-style="fit"].pill .sl-kiwi-item-add span {
|
|
931 |
padding-top: 10px;
|
932 |
padding-bottom: 10px;
|
933 |
outline: none !important;
|
|
|
934 |
}
|
935 |
|
936 |
.epsilon-ui-tabs i {
|
294 |
padding: 0 5px;
|
295 |
min-width: 90px;
|
296 |
transition: all .3s;
|
297 |
+
text-decoration: none;
|
298 |
}
|
299 |
|
300 |
.sl-kiwi-networks {
|
894 |
height: 36px;
|
895 |
margin-left: 0px;
|
896 |
margin-bottom: 0px;
|
897 |
+
margin-top: 0;
|
898 |
}
|
899 |
|
900 |
.epsilon-ui-tabs li {
|
933 |
padding-top: 10px;
|
934 |
padding-bottom: 10px;
|
935 |
outline: none !important;
|
936 |
+
text-decoration: none;
|
937 |
}
|
938 |
|
939 |
.epsilon-ui-tabs i {
|
assets/js/KiwiClickToTweet.js
CHANGED
@@ -9,38 +9,14 @@
|
|
9 |
return input.replace(/(http:\/\/[\S]*)/g, tmp).length;
|
10 |
};
|
11 |
|
12 |
-
var KiwiGetTwitterHandle = function (id) {
|
13 |
-
var data = {
|
14 |
-
'action': 'kiwi_social_share_get_option',
|
15 |
-
'args' : {
|
16 |
-
group : 'kiwi_social_identities',
|
17 |
-
option : 'twitter_username',
|
18 |
-
default: false
|
19 |
-
}
|
20 |
-
};
|
21 |
-
|
22 |
-
jQuery.ajax({
|
23 |
-
dataType: 'json',
|
24 |
-
type : 'POST',
|
25 |
-
url : ajaxurl,
|
26 |
-
data : data,
|
27 |
-
complete: function (json) {
|
28 |
-
if ( json.responseJSON ) {
|
29 |
-
jQuery('#' + id).attr('data-handle', json.responseJSON);
|
30 |
-
}
|
31 |
-
}
|
32 |
-
});
|
33 |
-
|
34 |
-
};
|
35 |
-
|
36 |
tinymce.PluginManager.add('KiwiClickToTweet', function (editor, url) {
|
37 |
|
38 |
editor.addButton('KiwiClickToTweet', {
|
39 |
title : 'Click to Tweet',
|
40 |
icon : ' kicon-twitter',
|
41 |
onclick: function () {
|
42 |
-
|
43 |
-
|
44 |
|
45 |
editor.windowManager.open({
|
46 |
title : 'Build "Click to Tweet"',
|
@@ -84,7 +60,7 @@
|
|
84 |
onPostRender: function () {
|
85 |
var value = jQuery('.mce-first textarea').val();
|
86 |
var strLength = value.length;
|
87 |
-
var handle = jQuery('#' + self).attr('data-handle');
|
88 |
|
89 |
if ( value.indexOf('http') > -1 || value.indexOf('https') > -1 ) {
|
90 |
linkSpace = 0;
|
9 |
return input.replace(/(http:\/\/[\S]*)/g, tmp).length;
|
10 |
};
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
tinymce.PluginManager.add('KiwiClickToTweet', function (editor, url) {
|
13 |
|
14 |
editor.addButton('KiwiClickToTweet', {
|
15 |
title : 'Click to Tweet',
|
16 |
icon : ' kicon-twitter',
|
17 |
onclick: function () {
|
18 |
+
|
19 |
+
var self = this._id;
|
20 |
|
21 |
editor.windowManager.open({
|
22 |
title : 'Build "Click to Tweet"',
|
60 |
onPostRender: function () {
|
61 |
var value = jQuery('.mce-first textarea').val();
|
62 |
var strLength = value.length;
|
63 |
+
var handle = jQuery('#' + self).attr('data-handle');
|
64 |
|
65 |
if ( value.indexOf('http') > -1 || value.indexOf('https') > -1 ) {
|
66 |
linkSpace = 0;
|
assets/js/KiwiClickToTweet.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){var
|
1 |
+
!function(){var e=function(e){for(var t="",n=0;n<23;n++)t+="o";return e.replace(/(http:\/\/[\S]*)/g,t).length};tinymce.PluginManager.add("KiwiClickToTweet",function(t,n){t.addButton("KiwiClickToTweet",{title:"Click to Tweet",icon:" kicon-twitter",onclick:function(){var n=this._id;t.windowManager.open({title:'Build "Click to Tweet"',class:"kiwi-click-to-tweet",body:[{type:"textbox",multiline:!0,style:"height:50px",name:"tweet",label:"The text that will be sent out on Twitter.",onkeyup:function(){var t=jQuery(".mce-first textarea").val(),a=(t.length,jQuery("#"+n).attr("data-handle"));if(t.indexOf("http")>-1||t.indexOf("https")>-1?linkSpace=0:linkSpace=23,void 0===a)var i=140-e(t)-linkSpace;else i=140-e(t)-linkSpace-a.length-6;i>1||0==i?jQuery(".tweetCounter").css({color:"green"}).text(i+" characters"):1==i?jQuery(".tweetCounter").css({color:"green"}).text(i+" character"):i<0&&jQuery(".tweetCounter").css({color:"red"}).text(i+" characters")},class:"tweetCounting"},{type:"label",name:"someHelpText",onPostRender:function(){var t=jQuery(".mce-first textarea").val(),a=(t.length,jQuery("#"+n).attr("data-handle"));if(t.indexOf("http")>-1||t.indexOf("https")>-1?linkSpace=0:linkSpace=23,void 0===a)var i=140-e(t)-linkSpace;else i=140-e(t)-linkSpace-a.length-6;this.getEl().innerHTML='<span style="float:right;">You have <span class="tweetCounter" style="color:green">'+i+" characters</span> remaining.</span>"},text:""},{type:"textbox",multiline:!0,style:"height:50px",name:"quote",label:"The quote as it will appear in your article."},{type:"label",name:"someHelpText2",onPostRender:function(){this.getEl().innerHTML='<div style="width:650px;"> </div>'},text:""}],onsubmit:function(e){var n=117-jQuery(".mce-first textarea").val().length;return""===e.data.tweet||""===e.data.quote?(t.windowManager.alert("Please, fill in both fields."),!1):n<0?(t.windowManager.alert("You have too many characters in your tweet."),!1):void t.insertContent('[KiwiClickToTweet tweet="'+e.data.tweet.replace(/"/g,"'")+'" quote="'+e.data.quote.replace(/"/g,"'")+'"]')}})}})})}();
|
assets/js/kiwi.js
CHANGED
@@ -158,69 +158,6 @@ var kiwi = {
|
|
158 |
* UI / UX interactions
|
159 |
*/
|
160 |
interactions: {
|
161 |
-
/**
|
162 |
-
* Handle ajax request to add license key to options
|
163 |
-
*/
|
164 |
-
registration: function ($) {
|
165 |
-
$('.kiwi-ajax-activation').on('click', function (e) {
|
166 |
-
e.preventDefault();
|
167 |
-
var data = {
|
168 |
-
action: 'kiwi_social_share_set_option',
|
169 |
-
args : {
|
170 |
-
group : 'kiwi_registration',
|
171 |
-
option : 'license_key',
|
172 |
-
default: false,
|
173 |
-
value : $(this).parent().find('#kiwi_registration').val()
|
174 |
-
}
|
175 |
-
};
|
176 |
-
|
177 |
-
jQuery.ajax({
|
178 |
-
dataType: 'json',
|
179 |
-
type : 'POST',
|
180 |
-
url : ajaxurl,
|
181 |
-
data : data,
|
182 |
-
complete: function (json) {
|
183 |
-
if ( json.responseText ) {
|
184 |
-
if ( 'Success' === json.responseText ) {
|
185 |
-
location.reload();
|
186 |
-
}
|
187 |
-
}
|
188 |
-
}
|
189 |
-
});
|
190 |
-
});
|
191 |
-
|
192 |
-
$('.kiwi-ajax-registration-action').on('click', function (e) {
|
193 |
-
e.preventDefault();
|
194 |
-
var self = $(this),
|
195 |
-
data = {
|
196 |
-
action: 'kiwi_social_share_edd_helper',
|
197 |
-
args : {
|
198 |
-
todo: $(this).attr('data-action')
|
199 |
-
}
|
200 |
-
};
|
201 |
-
|
202 |
-
jQuery.ajax({
|
203 |
-
dataType: 'json',
|
204 |
-
type : 'POST',
|
205 |
-
url : ajaxurl,
|
206 |
-
data : data,
|
207 |
-
complete: function (json) {
|
208 |
-
if ( json.responseJSON.status ) {
|
209 |
-
switch(json.responseJSON.message){
|
210 |
-
case 'active':
|
211 |
-
self.attr('data-action', 'deactivate').addClass('button').removeClass('button-primary').val('Deactivate License');
|
212 |
-
break;
|
213 |
-
case 'site_inactive':
|
214 |
-
self.attr('data-action', 'activate').addClass('button-primary').removeClass('button').val('Activate License');
|
215 |
-
break;
|
216 |
-
default:
|
217 |
-
break;
|
218 |
-
}
|
219 |
-
}
|
220 |
-
}
|
221 |
-
});
|
222 |
-
});
|
223 |
-
},
|
224 |
|
225 |
/**
|
226 |
* Hide/Show checked networks in the list
|
158 |
* UI / UX interactions
|
159 |
*/
|
160 |
interactions: {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
/**
|
163 |
* Hide/Show checked networks in the list
|
assets/vendors/bootstrap/bootstrap.css
DELETED
@@ -1,1380 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
-
* Copyright 2011-2017 Twitter, Inc.
|
4 |
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
-
*/
|
6 |
-
|
7 |
-
/*!
|
8 |
-
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=9a4a9ed094de1e967118786cd36edf49)
|
9 |
-
* Config saved to config.json and https://gist.github.com/9a4a9ed094de1e967118786cd36edf49
|
10 |
-
*/
|
11 |
-
/*!
|
12 |
-
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
13 |
-
* Copyright 2011-2016 Twitter, Inc.
|
14 |
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
15 |
-
*/
|
16 |
-
/*!
|
17 |
-
* Custom version of bootstrap
|
18 |
-
*/
|
19 |
-
input,
|
20 |
-
button,
|
21 |
-
select,
|
22 |
-
textarea {
|
23 |
-
font-family: inherit;
|
24 |
-
font-size: inherit;
|
25 |
-
line-height: inherit;
|
26 |
-
}
|
27 |
-
a {
|
28 |
-
color: #337ab7;
|
29 |
-
text-decoration: none;
|
30 |
-
}
|
31 |
-
a:hover,
|
32 |
-
a:focus {
|
33 |
-
color: #23527c;
|
34 |
-
text-decoration: underline;
|
35 |
-
}
|
36 |
-
a:focus {
|
37 |
-
outline: 5px auto -webkit-focus-ring-color;
|
38 |
-
outline-offset: -2px;
|
39 |
-
}
|
40 |
-
figure {
|
41 |
-
margin: 0;
|
42 |
-
}
|
43 |
-
img {
|
44 |
-
vertical-align: middle;
|
45 |
-
}
|
46 |
-
.img-responsive {
|
47 |
-
display: block;
|
48 |
-
max-width: 100%;
|
49 |
-
height: auto;
|
50 |
-
}
|
51 |
-
.img-rounded {
|
52 |
-
border-radius: 6px;
|
53 |
-
}
|
54 |
-
.img-thumbnail {
|
55 |
-
padding: 4px;
|
56 |
-
line-height: 1.42857143;
|
57 |
-
background-color: #ffffff;
|
58 |
-
border: 1px solid #dddddd;
|
59 |
-
border-radius: 4px;
|
60 |
-
-webkit-transition: all 0.2s ease-in-out;
|
61 |
-
-o-transition: all 0.2s ease-in-out;
|
62 |
-
transition: all 0.2s ease-in-out;
|
63 |
-
display: inline-block;
|
64 |
-
max-width: 100%;
|
65 |
-
height: auto;
|
66 |
-
}
|
67 |
-
.img-circle {
|
68 |
-
border-radius: 50%;
|
69 |
-
}
|
70 |
-
hr {
|
71 |
-
margin-top: 20px;
|
72 |
-
margin-bottom: 20px;
|
73 |
-
border: 0;
|
74 |
-
border-top: 1px solid #eeeeee;
|
75 |
-
}
|
76 |
-
.sr-only {
|
77 |
-
position: absolute;
|
78 |
-
width: 1px;
|
79 |
-
height: 1px;
|
80 |
-
margin: -1px;
|
81 |
-
padding: 0;
|
82 |
-
overflow: hidden;
|
83 |
-
clip: rect(0, 0, 0, 0);
|
84 |
-
border: 0;
|
85 |
-
}
|
86 |
-
.sr-only-focusable:active,
|
87 |
-
.sr-only-focusable:focus {
|
88 |
-
position: static;
|
89 |
-
width: auto;
|
90 |
-
height: auto;
|
91 |
-
margin: 0;
|
92 |
-
overflow: visible;
|
93 |
-
clip: auto;
|
94 |
-
}
|
95 |
-
[role="button"] {
|
96 |
-
cursor: pointer;
|
97 |
-
}
|
98 |
-
h1,
|
99 |
-
h2,
|
100 |
-
h3,
|
101 |
-
h4,
|
102 |
-
h5,
|
103 |
-
h6,
|
104 |
-
.h1,
|
105 |
-
.h2,
|
106 |
-
.h3,
|
107 |
-
.h4,
|
108 |
-
.h5,
|
109 |
-
.h6 {
|
110 |
-
font-family: inherit;
|
111 |
-
font-weight: 500;
|
112 |
-
line-height: 1.1;
|
113 |
-
color: inherit;
|
114 |
-
}
|
115 |
-
h1 small,
|
116 |
-
h2 small,
|
117 |
-
h3 small,
|
118 |
-
h4 small,
|
119 |
-
h5 small,
|
120 |
-
h6 small,
|
121 |
-
.h1 small,
|
122 |
-
.h2 small,
|
123 |
-
.h3 small,
|
124 |
-
.h4 small,
|
125 |
-
.h5 small,
|
126 |
-
.h6 small,
|
127 |
-
h1 .small,
|
128 |
-
h2 .small,
|
129 |
-
h3 .small,
|
130 |
-
h4 .small,
|
131 |
-
h5 .small,
|
132 |
-
h6 .small,
|
133 |
-
.h1 .small,
|
134 |
-
.h2 .small,
|
135 |
-
.h3 .small,
|
136 |
-
.h4 .small,
|
137 |
-
.h5 .small,
|
138 |
-
.h6 .small {
|
139 |
-
font-weight: normal;
|
140 |
-
line-height: 1;
|
141 |
-
color: #777777;
|
142 |
-
}
|
143 |
-
h1,
|
144 |
-
.h1,
|
145 |
-
h2,
|
146 |
-
.h2,
|
147 |
-
h3,
|
148 |
-
.h3 {
|
149 |
-
margin-top: 20px;
|
150 |
-
margin-bottom: 10px;
|
151 |
-
}
|
152 |
-
h1 small,
|
153 |
-
.h1 small,
|
154 |
-
h2 small,
|
155 |
-
.h2 small,
|
156 |
-
h3 small,
|
157 |
-
.h3 small,
|
158 |
-
h1 .small,
|
159 |
-
.h1 .small,
|
160 |
-
h2 .small,
|
161 |
-
.h2 .small,
|
162 |
-
h3 .small,
|
163 |
-
.h3 .small {
|
164 |
-
font-size: 65%;
|
165 |
-
}
|
166 |
-
h4,
|
167 |
-
.h4,
|
168 |
-
h5,
|
169 |
-
.h5,
|
170 |
-
h6,
|
171 |
-
.h6 {
|
172 |
-
margin-top: 10px;
|
173 |
-
margin-bottom: 10px;
|
174 |
-
}
|
175 |
-
h4 small,
|
176 |
-
.h4 small,
|
177 |
-
h5 small,
|
178 |
-
.h5 small,
|
179 |
-
h6 small,
|
180 |
-
.h6 small,
|
181 |
-
h4 .small,
|
182 |
-
.h4 .small,
|
183 |
-
h5 .small,
|
184 |
-
.h5 .small,
|
185 |
-
h6 .small,
|
186 |
-
.h6 .small {
|
187 |
-
font-size: 75%;
|
188 |
-
}
|
189 |
-
h1,
|
190 |
-
.h1 {
|
191 |
-
font-size: 36px;
|
192 |
-
}
|
193 |
-
h2,
|
194 |
-
.h2 {
|
195 |
-
font-size: 30px;
|
196 |
-
}
|
197 |
-
h3,
|
198 |
-
.h3 {
|
199 |
-
font-size: 24px;
|
200 |
-
}
|
201 |
-
h4,
|
202 |
-
.h4 {
|
203 |
-
font-size: 18px;
|
204 |
-
}
|
205 |
-
h5,
|
206 |
-
.h5 {
|
207 |
-
font-size: 14px;
|
208 |
-
}
|
209 |
-
h6,
|
210 |
-
.h6 {
|
211 |
-
font-size: 12px;
|
212 |
-
}
|
213 |
-
p {
|
214 |
-
margin: 0 0 10px;
|
215 |
-
}
|
216 |
-
.lead {
|
217 |
-
margin-bottom: 20px;
|
218 |
-
font-size: 16px;
|
219 |
-
font-weight: 300;
|
220 |
-
line-height: 1.4;
|
221 |
-
}
|
222 |
-
@media (min-width: 768px) {
|
223 |
-
.lead {
|
224 |
-
font-size: 21px;
|
225 |
-
}
|
226 |
-
}
|
227 |
-
small,
|
228 |
-
.small {
|
229 |
-
font-size: 85%;
|
230 |
-
}
|
231 |
-
mark,
|
232 |
-
.mark {
|
233 |
-
background-color: #fcf8e3;
|
234 |
-
padding: .2em;
|
235 |
-
}
|
236 |
-
.text-left {
|
237 |
-
text-align: left;
|
238 |
-
}
|
239 |
-
.text-right {
|
240 |
-
text-align: right;
|
241 |
-
}
|
242 |
-
.text-center {
|
243 |
-
text-align: center;
|
244 |
-
}
|
245 |
-
.text-justify {
|
246 |
-
text-align: justify;
|
247 |
-
}
|
248 |
-
.text-nowrap {
|
249 |
-
white-space: nowrap;
|
250 |
-
}
|
251 |
-
.text-lowercase {
|
252 |
-
text-transform: lowercase;
|
253 |
-
}
|
254 |
-
.text-uppercase {
|
255 |
-
text-transform: uppercase;
|
256 |
-
}
|
257 |
-
.text-capitalize {
|
258 |
-
text-transform: capitalize;
|
259 |
-
}
|
260 |
-
.text-muted {
|
261 |
-
color: #777777;
|
262 |
-
}
|
263 |
-
.text-primary {
|
264 |
-
color: #337ab7;
|
265 |
-
}
|
266 |
-
a.text-primary:hover,
|
267 |
-
a.text-primary:focus {
|
268 |
-
color: #286090;
|
269 |
-
}
|
270 |
-
.text-success {
|
271 |
-
color: #3c763d;
|
272 |
-
}
|
273 |
-
a.text-success:hover,
|
274 |
-
a.text-success:focus {
|
275 |
-
color: #2b542c;
|
276 |
-
}
|
277 |
-
.text-info {
|
278 |
-
color: #31708f;
|
279 |
-
}
|
280 |
-
a.text-info:hover,
|
281 |
-
a.text-info:focus {
|
282 |
-
color: #245269;
|
283 |
-
}
|
284 |
-
.text-warning {
|
285 |
-
color: #8a6d3b;
|
286 |
-
}
|
287 |
-
a.text-warning:hover,
|
288 |
-
a.text-warning:focus {
|
289 |
-
color: #66512c;
|
290 |
-
}
|
291 |
-
.text-danger {
|
292 |
-
color: #a94442;
|
293 |
-
}
|
294 |
-
a.text-danger:hover,
|
295 |
-
a.text-danger:focus {
|
296 |
-
color: #843534;
|
297 |
-
}
|
298 |
-
.bg-primary {
|
299 |
-
color: #fff;
|
300 |
-
background-color: #337ab7;
|
301 |
-
}
|
302 |
-
a.bg-primary:hover,
|
303 |
-
a.bg-primary:focus {
|
304 |
-
background-color: #286090;
|
305 |
-
}
|
306 |
-
.bg-success {
|
307 |
-
background-color: #dff0d8;
|
308 |
-
}
|
309 |
-
a.bg-success:hover,
|
310 |
-
a.bg-success:focus {
|
311 |
-
background-color: #c1e2b3;
|
312 |
-
}
|
313 |
-
.bg-info {
|
314 |
-
background-color: #d9edf7;
|
315 |
-
}
|
316 |
-
a.bg-info:hover,
|
317 |
-
a.bg-info:focus {
|
318 |
-
background-color: #afd9ee;
|
319 |
-
}
|
320 |
-
.bg-warning {
|
321 |
-
background-color: #fcf8e3;
|
322 |
-
}
|
323 |
-
a.bg-warning:hover,
|
324 |
-
a.bg-warning:focus {
|
325 |
-
background-color: #f7ecb5;
|
326 |
-
}
|
327 |
-
.bg-danger {
|
328 |
-
background-color: #f2dede;
|
329 |
-
}
|
330 |
-
a.bg-danger:hover,
|
331 |
-
a.bg-danger:focus {
|
332 |
-
background-color: #e4b9b9;
|
333 |
-
}
|
334 |
-
.page-header {
|
335 |
-
padding-bottom: 9px;
|
336 |
-
margin: 40px 0 20px;
|
337 |
-
border-bottom: 1px solid #eeeeee;
|
338 |
-
}
|
339 |
-
ul,
|
340 |
-
ol {
|
341 |
-
margin-top: 0;
|
342 |
-
margin-bottom: 10px;
|
343 |
-
}
|
344 |
-
ul ul,
|
345 |
-
ol ul,
|
346 |
-
ul ol,
|
347 |
-
ol ol {
|
348 |
-
margin-bottom: 0;
|
349 |
-
}
|
350 |
-
.list-unstyled {
|
351 |
-
padding-left: 0;
|
352 |
-
list-style: none;
|
353 |
-
}
|
354 |
-
.list-inline {
|
355 |
-
padding-left: 0;
|
356 |
-
list-style: none;
|
357 |
-
margin-left: -5px;
|
358 |
-
}
|
359 |
-
.list-inline > li {
|
360 |
-
display: inline-block;
|
361 |
-
padding-left: 5px;
|
362 |
-
padding-right: 5px;
|
363 |
-
}
|
364 |
-
dl {
|
365 |
-
margin-top: 0;
|
366 |
-
margin-bottom: 20px;
|
367 |
-
}
|
368 |
-
dt,
|
369 |
-
dd {
|
370 |
-
line-height: 1.42857143;
|
371 |
-
}
|
372 |
-
dt {
|
373 |
-
font-weight: bold;
|
374 |
-
}
|
375 |
-
dd {
|
376 |
-
margin-left: 0;
|
377 |
-
}
|
378 |
-
@media (min-width: 768px) {
|
379 |
-
.dl-horizontal dt {
|
380 |
-
float: left;
|
381 |
-
width: 160px;
|
382 |
-
clear: left;
|
383 |
-
text-align: right;
|
384 |
-
overflow: hidden;
|
385 |
-
text-overflow: ellipsis;
|
386 |
-
white-space: nowrap;
|
387 |
-
}
|
388 |
-
.dl-horizontal dd {
|
389 |
-
margin-left: 180px;
|
390 |
-
}
|
391 |
-
}
|
392 |
-
abbr[title],
|
393 |
-
abbr[data-original-title] {
|
394 |
-
cursor: help;
|
395 |
-
border-bottom: 1px dotted #777777;
|
396 |
-
}
|
397 |
-
.initialism {
|
398 |
-
font-size: 90%;
|
399 |
-
text-transform: uppercase;
|
400 |
-
}
|
401 |
-
blockquote {
|
402 |
-
padding: 10px 20px;
|
403 |
-
margin: 0 0 20px;
|
404 |
-
font-size: 17.5px;
|
405 |
-
border-left: 5px solid #eeeeee;
|
406 |
-
}
|
407 |
-
blockquote p:last-child,
|
408 |
-
blockquote ul:last-child,
|
409 |
-
blockquote ol:last-child {
|
410 |
-
margin-bottom: 0;
|
411 |
-
}
|
412 |
-
blockquote footer,
|
413 |
-
blockquote small,
|
414 |
-
blockquote .small {
|
415 |
-
display: block;
|
416 |
-
font-size: 80%;
|
417 |
-
line-height: 1.42857143;
|
418 |
-
color: #777777;
|
419 |
-
}
|
420 |
-
blockquote footer:before,
|
421 |
-
blockquote small:before,
|
422 |
-
blockquote .small:before {
|
423 |
-
content: '\2014 \00A0';
|
424 |
-
}
|
425 |
-
.blockquote-reverse,
|
426 |
-
blockquote.pull-right {
|
427 |
-
padding-right: 15px;
|
428 |
-
padding-left: 0;
|
429 |
-
border-right: 5px solid #eeeeee;
|
430 |
-
border-left: 0;
|
431 |
-
text-align: right;
|
432 |
-
}
|
433 |
-
.blockquote-reverse footer:before,
|
434 |
-
blockquote.pull-right footer:before,
|
435 |
-
.blockquote-reverse small:before,
|
436 |
-
blockquote.pull-right small:before,
|
437 |
-
.blockquote-reverse .small:before,
|
438 |
-
blockquote.pull-right .small:before {
|
439 |
-
content: '';
|
440 |
-
}
|
441 |
-
.blockquote-reverse footer:after,
|
442 |
-
blockquote.pull-right footer:after,
|
443 |
-
.blockquote-reverse small:after,
|
444 |
-
blockquote.pull-right small:after,
|
445 |
-
.blockquote-reverse .small:after,
|
446 |
-
blockquote.pull-right .small:after {
|
447 |
-
content: '\00A0 \2014';
|
448 |
-
}
|
449 |
-
address {
|
450 |
-
margin-bottom: 20px;
|
451 |
-
font-style: normal;
|
452 |
-
line-height: 1.42857143;
|
453 |
-
}
|
454 |
-
table {
|
455 |
-
background-color: transparent;
|
456 |
-
}
|
457 |
-
caption {
|
458 |
-
padding-top: 8px;
|
459 |
-
padding-bottom: 8px;
|
460 |
-
color: #777777;
|
461 |
-
text-align: left;
|
462 |
-
}
|
463 |
-
th {
|
464 |
-
text-align: left;
|
465 |
-
}
|
466 |
-
.table {
|
467 |
-
width: 100%;
|
468 |
-
max-width: 100%;
|
469 |
-
margin-bottom: 20px;
|
470 |
-
}
|
471 |
-
.table > thead > tr > th,
|
472 |
-
.table > tbody > tr > th,
|
473 |
-
.table > tfoot > tr > th,
|
474 |
-
.table > thead > tr > td,
|
475 |
-
.table > tbody > tr > td,
|
476 |
-
.table > tfoot > tr > td {
|
477 |
-
padding: 8px;
|
478 |
-
line-height: 1.42857143;
|
479 |
-
vertical-align: top;
|
480 |
-
border-top: 1px solid #dddddd;
|
481 |
-
}
|
482 |
-
.table > thead > tr > th {
|
483 |
-
vertical-align: bottom;
|
484 |
-
border-bottom: 2px solid #dddddd;
|
485 |
-
}
|
486 |
-
.table > caption + thead > tr:first-child > th,
|
487 |
-
.table > colgroup + thead > tr:first-child > th,
|
488 |
-
.table > thead:first-child > tr:first-child > th,
|
489 |
-
.table > caption + thead > tr:first-child > td,
|
490 |
-
.table > colgroup + thead > tr:first-child > td,
|
491 |
-
.table > thead:first-child > tr:first-child > td {
|
492 |
-
border-top: 0;
|
493 |
-
}
|
494 |
-
.table > tbody + tbody {
|
495 |
-
border-top: 2px solid #dddddd;
|
496 |
-
}
|
497 |
-
.table .table {
|
498 |
-
background-color: #ffffff;
|
499 |
-
}
|
500 |
-
.table-condensed > thead > tr > th,
|
501 |
-
.table-condensed > tbody > tr > th,
|
502 |
-
.table-condensed > tfoot > tr > th,
|
503 |
-
.table-condensed > thead > tr > td,
|
504 |
-
.table-condensed > tbody > tr > td,
|
505 |
-
.table-condensed > tfoot > tr > td {
|
506 |
-
padding: 5px;
|
507 |
-
}
|
508 |
-
.table-bordered {
|
509 |
-
border: 1px solid #dddddd;
|
510 |
-
}
|
511 |
-
.table-bordered > thead > tr > th,
|
512 |
-
.table-bordered > tbody > tr > th,
|
513 |
-
.table-bordered > tfoot > tr > th,
|
514 |
-
.table-bordered > thead > tr > td,
|
515 |
-
.table-bordered > tbody > tr > td,
|
516 |
-
.table-bordered > tfoot > tr > td {
|
517 |
-
border: 1px solid #dddddd;
|
518 |
-
}
|
519 |
-
.table-bordered > thead > tr > th,
|
520 |
-
.table-bordered > thead > tr > td {
|
521 |
-
border-bottom-width: 2px;
|
522 |
-
}
|
523 |
-
.table-striped > tbody > tr:nth-of-type(odd) {
|
524 |
-
background-color: #f9f9f9;
|
525 |
-
}
|
526 |
-
.table-hover > tbody > tr:hover {
|
527 |
-
background-color: #f5f5f5;
|
528 |
-
}
|
529 |
-
table col[class*="col-"] {
|
530 |
-
position: static;
|
531 |
-
float: none;
|
532 |
-
display: table-column;
|
533 |
-
}
|
534 |
-
table td[class*="col-"],
|
535 |
-
table th[class*="col-"] {
|
536 |
-
position: static;
|
537 |
-
float: none;
|
538 |
-
display: table-cell;
|
539 |
-
}
|
540 |
-
.table > thead > tr > td.active,
|
541 |
-
.table > tbody > tr > td.active,
|
542 |
-
.table > tfoot > tr > td.active,
|
543 |
-
.table > thead > tr > th.active,
|
544 |
-
.table > tbody > tr > th.active,
|
545 |
-
.table > tfoot > tr > th.active,
|
546 |
-
.table > thead > tr.active > td,
|
547 |
-
.table > tbody > tr.active > td,
|
548 |
-
.table > tfoot > tr.active > td,
|
549 |
-
.table > thead > tr.active > th,
|
550 |
-
.table > tbody > tr.active > th,
|
551 |
-
.table > tfoot > tr.active > th {
|
552 |
-
background-color: #f5f5f5;
|
553 |
-
}
|
554 |
-
.table-hover > tbody > tr > td.active:hover,
|
555 |
-
.table-hover > tbody > tr > th.active:hover,
|
556 |
-
.table-hover > tbody > tr.active:hover > td,
|
557 |
-
.table-hover > tbody > tr:hover > .active,
|
558 |
-
.table-hover > tbody > tr.active:hover > th {
|
559 |
-
background-color: #e8e8e8;
|
560 |
-
}
|
561 |
-
.table > thead > tr > td.success,
|
562 |
-
.table > tbody > tr > td.success,
|
563 |
-
.table > tfoot > tr > td.success,
|
564 |
-
.table > thead > tr > th.success,
|
565 |
-
.table > tbody > tr > th.success,
|
566 |
-
.table > tfoot > tr > th.success,
|
567 |
-
.table > thead > tr.success > td,
|
568 |
-
.table > tbody > tr.success > td,
|
569 |
-
.table > tfoot > tr.success > td,
|
570 |
-
.table > thead > tr.success > th,
|
571 |
-
.table > tbody > tr.success > th,
|
572 |
-
.table > tfoot > tr.success > th {
|
573 |
-
background-color: #dff0d8;
|
574 |
-
}
|
575 |
-
.table-hover > tbody > tr > td.success:hover,
|
576 |
-
.table-hover > tbody > tr > th.success:hover,
|
577 |
-
.table-hover > tbody > tr.success:hover > td,
|
578 |
-
.table-hover > tbody > tr:hover > .success,
|
579 |
-
.table-hover > tbody > tr.success:hover > th {
|
580 |
-
background-color: #d0e9c6;
|
581 |
-
}
|
582 |
-
.table > thead > tr > td.info,
|
583 |
-
.table > tbody > tr > td.info,
|
584 |
-
.table > tfoot > tr > td.info,
|
585 |
-
.table > thead > tr > th.info,
|
586 |
-
.table > tbody > tr > th.info,
|
587 |
-
.table > tfoot > tr > th.info,
|
588 |
-
.table > thead > tr.info > td,
|
589 |
-
.table > tbody > tr.info > td,
|
590 |
-
.table > tfoot > tr.info > td,
|
591 |
-
.table > thead > tr.info > th,
|
592 |
-
.table > tbody > tr.info > th,
|
593 |
-
.table > tfoot > tr.info > th {
|
594 |
-
background-color: #d9edf7;
|
595 |
-
}
|
596 |
-
.table-hover > tbody > tr > td.info:hover,
|
597 |
-
.table-hover > tbody > tr > th.info:hover,
|
598 |
-
.table-hover > tbody > tr.info:hover > td,
|
599 |
-
.table-hover > tbody > tr:hover > .info,
|
600 |
-
.table-hover > tbody > tr.info:hover > th {
|
601 |
-
background-color: #c4e3f3;
|
602 |
-
}
|
603 |
-
.table > thead > tr > td.warning,
|
604 |
-
.table > tbody > tr > td.warning,
|
605 |
-
.table > tfoot > tr > td.warning,
|
606 |
-
.table > thead > tr > th.warning,
|
607 |
-
.table > tbody > tr > th.warning,
|
608 |
-
.table > tfoot > tr > th.warning,
|
609 |
-
.table > thead > tr.warning > td,
|
610 |
-
.table > tbody > tr.warning > td,
|
611 |
-
.table > tfoot > tr.warning > td,
|
612 |
-
.table > thead > tr.warning > th,
|
613 |
-
.table > tbody > tr.warning > th,
|
614 |
-
.table > tfoot > tr.warning > th {
|
615 |
-
background-color: #fcf8e3;
|
616 |
-
}
|
617 |
-
.table-hover > tbody > tr > td.warning:hover,
|
618 |
-
.table-hover > tbody > tr > th.warning:hover,
|
619 |
-
.table-hover > tbody > tr.warning:hover > td,
|
620 |
-
.table-hover > tbody > tr:hover > .warning,
|
621 |
-
.table-hover > tbody > tr.warning:hover > th {
|
622 |
-
background-color: #faf2cc;
|
623 |
-
}
|
624 |
-
.table > thead > tr > td.danger,
|
625 |
-
.table > tbody > tr > td.danger,
|
626 |
-
.table > tfoot > tr > td.danger,
|
627 |
-
.table > thead > tr > th.danger,
|
628 |
-
.table > tbody > tr > th.danger,
|
629 |
-
.table > tfoot > tr > th.danger,
|
630 |
-
.table > thead > tr.danger > td,
|
631 |
-
.table > tbody > tr.danger > td,
|
632 |
-
.table > tfoot > tr.danger > td,
|
633 |
-
.table > thead > tr.danger > th,
|
634 |
-
.table > tbody > tr.danger > th,
|
635 |
-
.table > tfoot > tr.danger > th {
|
636 |
-
background-color: #f2dede;
|
637 |
-
}
|
638 |
-
.table-hover > tbody > tr > td.danger:hover,
|
639 |
-
.table-hover > tbody > tr > th.danger:hover,
|
640 |
-
.table-hover > tbody > tr.danger:hover > td,
|
641 |
-
.table-hover > tbody > tr:hover > .danger,
|
642 |
-
.table-hover > tbody > tr.danger:hover > th {
|
643 |
-
background-color: #ebcccc;
|
644 |
-
}
|
645 |
-
.table-responsive {
|
646 |
-
overflow-x: auto;
|
647 |
-
min-height: 0.01%;
|
648 |
-
}
|
649 |
-
@media screen and (max-width: 767px) {
|
650 |
-
.table-responsive {
|
651 |
-
width: 100%;
|
652 |
-
margin-bottom: 15px;
|
653 |
-
overflow-y: hidden;
|
654 |
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
655 |
-
border: 1px solid #dddddd;
|
656 |
-
}
|
657 |
-
.table-responsive > .table {
|
658 |
-
margin-bottom: 0;
|
659 |
-
}
|
660 |
-
.table-responsive > .table > thead > tr > th,
|
661 |
-
.table-responsive > .table > tbody > tr > th,
|
662 |
-
.table-responsive > .table > tfoot > tr > th,
|
663 |
-
.table-responsive > .table > thead > tr > td,
|
664 |
-
.table-responsive > .table > tbody > tr > td,
|
665 |
-
.table-responsive > .table > tfoot > tr > td {
|
666 |
-
white-space: nowrap;
|
667 |
-
}
|
668 |
-
.table-responsive > .table-bordered {
|
669 |
-
border: 0;
|
670 |
-
}
|
671 |
-
.table-responsive > .table-bordered > thead > tr > th:first-child,
|
672 |
-
.table-responsive > .table-bordered > tbody > tr > th:first-child,
|
673 |
-
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
|
674 |
-
.table-responsive > .table-bordered > thead > tr > td:first-child,
|
675 |
-
.table-responsive > .table-bordered > tbody > tr > td:first-child,
|
676 |
-
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
|
677 |
-
border-left: 0;
|
678 |
-
}
|
679 |
-
.table-responsive > .table-bordered > thead > tr > th:last-child,
|
680 |
-
.table-responsive > .table-bordered > tbody > tr > th:last-child,
|
681 |
-
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
|
682 |
-
.table-responsive > .table-bordered > thead > tr > td:last-child,
|
683 |
-
.table-responsive > .table-bordered > tbody > tr > td:last-child,
|
684 |
-
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
|
685 |
-
border-right: 0;
|
686 |
-
}
|
687 |
-
.table-responsive > .table-bordered > tbody > tr:last-child > th,
|
688 |
-
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
|
689 |
-
.table-responsive > .table-bordered > tbody > tr:last-child > td,
|
690 |
-
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
|
691 |
-
border-bottom: 0;
|
692 |
-
}
|
693 |
-
}
|
694 |
-
.fade {
|
695 |
-
opacity: 0;
|
696 |
-
-webkit-transition: opacity 0.15s linear;
|
697 |
-
-o-transition: opacity 0.15s linear;
|
698 |
-
transition: opacity 0.15s linear;
|
699 |
-
}
|
700 |
-
.fade.in {
|
701 |
-
opacity: 1;
|
702 |
-
}
|
703 |
-
.collapse {
|
704 |
-
display: none;
|
705 |
-
}
|
706 |
-
.collapse.in {
|
707 |
-
display: block;
|
708 |
-
}
|
709 |
-
tr.collapse.in {
|
710 |
-
display: table-row;
|
711 |
-
}
|
712 |
-
tbody.collapse.in {
|
713 |
-
display: table-row-group;
|
714 |
-
}
|
715 |
-
.collapsing {
|
716 |
-
position: relative;
|
717 |
-
height: 0;
|
718 |
-
overflow: hidden;
|
719 |
-
-webkit-transition-property: height, visibility;
|
720 |
-
-o-transition-property: height, visibility;
|
721 |
-
transition-property: height, visibility;
|
722 |
-
-webkit-transition-duration: 0.35s;
|
723 |
-
-o-transition-duration: 0.35s;
|
724 |
-
transition-duration: 0.35s;
|
725 |
-
-webkit-transition-timing-function: ease;
|
726 |
-
-o-transition-timing-function: ease;
|
727 |
-
transition-timing-function: ease;
|
728 |
-
}
|
729 |
-
.nav {
|
730 |
-
margin-bottom: 0;
|
731 |
-
padding-left: 0;
|
732 |
-
list-style: none;
|
733 |
-
}
|
734 |
-
.nav > li {
|
735 |
-
position: relative;
|
736 |
-
display: block;
|
737 |
-
}
|
738 |
-
.nav > li > a {
|
739 |
-
position: relative;
|
740 |
-
display: block;
|
741 |
-
padding: 10px 15px;
|
742 |
-
}
|
743 |
-
.nav > li > a:hover,
|
744 |
-
.nav > li > a:focus {
|
745 |
-
text-decoration: none;
|
746 |
-
background-color: #eeeeee;
|
747 |
-
}
|
748 |
-
.nav > li.disabled > a {
|
749 |
-
color: #777777;
|
750 |
-
}
|
751 |
-
.nav > li.disabled > a:hover,
|
752 |
-
.nav > li.disabled > a:focus {
|
753 |
-
color: #777777;
|
754 |
-
text-decoration: none;
|
755 |
-
background-color: transparent;
|
756 |
-
cursor: not-allowed;
|
757 |
-
}
|
758 |
-
.nav .open > a,
|
759 |
-
.nav .open > a:hover,
|
760 |
-
.nav .open > a:focus {
|
761 |
-
background-color: #eeeeee;
|
762 |
-
border-color: #337ab7;
|
763 |
-
}
|
764 |
-
.nav .nav-divider {
|
765 |
-
height: 1px;
|
766 |
-
margin: 9px 0;
|
767 |
-
overflow: hidden;
|
768 |
-
background-color: #e5e5e5;
|
769 |
-
}
|
770 |
-
.nav > li > a > img {
|
771 |
-
max-width: none;
|
772 |
-
}
|
773 |
-
.nav-tabs {
|
774 |
-
border-bottom: 1px solid #dddddd;
|
775 |
-
}
|
776 |
-
.nav-tabs > li {
|
777 |
-
float: left;
|
778 |
-
margin-bottom: -1px;
|
779 |
-
}
|
780 |
-
.nav-tabs > li > a {
|
781 |
-
margin-right: 2px;
|
782 |
-
line-height: 1.42857143;
|
783 |
-
border: 1px solid transparent;
|
784 |
-
border-radius: 4px 4px 0 0;
|
785 |
-
}
|
786 |
-
.nav-tabs > li > a:hover {
|
787 |
-
border-color: #eeeeee #eeeeee #dddddd;
|
788 |
-
}
|
789 |
-
.nav-tabs > li.active > a,
|
790 |
-
.nav-tabs > li.active > a:hover,
|
791 |
-
.nav-tabs > li.active > a:focus {
|
792 |
-
color: #555555;
|
793 |
-
background-color: #ffffff;
|
794 |
-
border: 1px solid #dddddd;
|
795 |
-
border-bottom-color: transparent;
|
796 |
-
cursor: default;
|
797 |
-
}
|
798 |
-
.nav-tabs.nav-justified {
|
799 |
-
width: 100%;
|
800 |
-
border-bottom: 0;
|
801 |
-
}
|
802 |
-
.nav-tabs.nav-justified > li {
|
803 |
-
float: none;
|
804 |
-
}
|
805 |
-
.nav-tabs.nav-justified > li > a {
|
806 |
-
text-align: center;
|
807 |
-
margin-bottom: 5px;
|
808 |
-
}
|
809 |
-
.nav-tabs.nav-justified > .dropdown .dropdown-menu {
|
810 |
-
top: auto;
|
811 |
-
left: auto;
|
812 |
-
}
|
813 |
-
@media (min-width: 768px) {
|
814 |
-
.nav-tabs.nav-justified > li {
|
815 |
-
display: table-cell;
|
816 |
-
width: 1%;
|
817 |
-
}
|
818 |
-
.nav-tabs.nav-justified > li > a {
|
819 |
-
margin-bottom: 0;
|
820 |
-
}
|
821 |
-
}
|
822 |
-
.nav-tabs.nav-justified > li > a {
|
823 |
-
margin-right: 0;
|
824 |
-
border-radius: 4px;
|
825 |
-
}
|
826 |
-
.nav-tabs.nav-justified > .active > a,
|
827 |
-
.nav-tabs.nav-justified > .active > a:hover,
|
828 |
-
.nav-tabs.nav-justified > .active > a:focus {
|
829 |
-
border: 1px solid #dddddd;
|
830 |
-
}
|
831 |
-
@media (min-width: 768px) {
|
832 |
-
.nav-tabs.nav-justified > li > a {
|
833 |
-
border-bottom: 1px solid #dddddd;
|
834 |
-
border-radius: 4px 4px 0 0;
|
835 |
-
}
|
836 |
-
.nav-tabs.nav-justified > .active > a,
|
837 |
-
.nav-tabs.nav-justified > .active > a:hover,
|
838 |
-
.nav-tabs.nav-justified > .active > a:focus {
|
839 |
-
border-bottom-color: #ffffff;
|
840 |
-
}
|
841 |
-
}
|
842 |
-
.nav-pills > li {
|
843 |
-
float: left;
|
844 |
-
}
|
845 |
-
.nav-pills > li > a {
|
846 |
-
border-radius: 4px;
|
847 |
-
}
|
848 |
-
.nav-pills > li + li {
|
849 |
-
margin-left: 2px;
|
850 |
-
}
|
851 |
-
.nav-pills > li.active > a,
|
852 |
-
.nav-pills > li.active > a:hover,
|
853 |
-
.nav-pills > li.active > a:focus {
|
854 |
-
color: #ffffff;
|
855 |
-
background-color: #337ab7;
|
856 |
-
}
|
857 |
-
.nav-stacked > li {
|
858 |
-
float: none;
|
859 |
-
}
|
860 |
-
.nav-stacked > li + li {
|
861 |
-
margin-top: 2px;
|
862 |
-
margin-left: 0;
|
863 |
-
}
|
864 |
-
.nav-justified {
|
865 |
-
width: 100%;
|
866 |
-
}
|
867 |
-
.nav-justified > li {
|
868 |
-
float: none;
|
869 |
-
}
|
870 |
-
.nav-justified > li > a {
|
871 |
-
text-align: center;
|
872 |
-
margin-bottom: 5px;
|
873 |
-
}
|
874 |
-
.nav-justified > .dropdown .dropdown-menu {
|
875 |
-
top: auto;
|
876 |
-
left: auto;
|
877 |
-
}
|
878 |
-
@media (min-width: 768px) {
|
879 |
-
.nav-justified > li {
|
880 |
-
display: table-cell;
|
881 |
-
width: 1%;
|
882 |
-
}
|
883 |
-
.nav-justified > li > a {
|
884 |
-
margin-bottom: 0;
|
885 |
-
}
|
886 |
-
}
|
887 |
-
.nav-tabs-justified {
|
888 |
-
border-bottom: 0;
|
889 |
-
}
|
890 |
-
.nav-tabs-justified > li > a {
|
891 |
-
margin-right: 0;
|
892 |
-
border-radius: 4px;
|
893 |
-
}
|
894 |
-
.nav-tabs-justified > .active > a,
|
895 |
-
.nav-tabs-justified > .active > a:hover,
|
896 |
-
.nav-tabs-justified > .active > a:focus {
|
897 |
-
border: 1px solid #dddddd;
|
898 |
-
}
|
899 |
-
@media (min-width: 768px) {
|
900 |
-
.nav-tabs-justified > li > a {
|
901 |
-
border-bottom: 1px solid #dddddd;
|
902 |
-
border-radius: 4px 4px 0 0;
|
903 |
-
}
|
904 |
-
.nav-tabs-justified > .active > a,
|
905 |
-
.nav-tabs-justified > .active > a:hover,
|
906 |
-
.nav-tabs-justified > .active > a:focus {
|
907 |
-
border-bottom-color: #ffffff;
|
908 |
-
}
|
909 |
-
}
|
910 |
-
.tab-content > .tab-pane {
|
911 |
-
display: none;
|
912 |
-
}
|
913 |
-
.tab-content > .active {
|
914 |
-
display: block;
|
915 |
-
}
|
916 |
-
.nav-tabs .dropdown-menu {
|
917 |
-
margin-top: -1px;
|
918 |
-
border-top-right-radius: 0;
|
919 |
-
border-top-left-radius: 0;
|
920 |
-
}
|
921 |
-
.list-group {
|
922 |
-
margin-bottom: 20px;
|
923 |
-
padding-left: 0;
|
924 |
-
}
|
925 |
-
.list-group-item {
|
926 |
-
position: relative;
|
927 |
-
display: block;
|
928 |
-
padding: 10px 15px;
|
929 |
-
margin-bottom: -1px;
|
930 |
-
background-color: #ffffff;
|
931 |
-
border: 1px solid #dddddd;
|
932 |
-
}
|
933 |
-
.list-group-item:first-child {
|
934 |
-
border-top-right-radius: 4px;
|
935 |
-
border-top-left-radius: 4px;
|
936 |
-
}
|
937 |
-
.list-group-item:last-child {
|
938 |
-
margin-bottom: 0;
|
939 |
-
border-bottom-right-radius: 4px;
|
940 |
-
border-bottom-left-radius: 4px;
|
941 |
-
}
|
942 |
-
a.list-group-item,
|
943 |
-
button.list-group-item {
|
944 |
-
color: #555555;
|
945 |
-
}
|
946 |
-
a.list-group-item .list-group-item-heading,
|
947 |
-
button.list-group-item .list-group-item-heading {
|
948 |
-
color: #333333;
|
949 |
-
}
|
950 |
-
a.list-group-item:hover,
|
951 |
-
button.list-group-item:hover,
|
952 |
-
a.list-group-item:focus,
|
953 |
-
button.list-group-item:focus {
|
954 |
-
text-decoration: none;
|
955 |
-
color: #555555;
|
956 |
-
background-color: #f5f5f5;
|
957 |
-
}
|
958 |
-
button.list-group-item {
|
959 |
-
width: 100%;
|
960 |
-
text-align: left;
|
961 |
-
}
|
962 |
-
.list-group-item.disabled,
|
963 |
-
.list-group-item.disabled:hover,
|
964 |
-
.list-group-item.disabled:focus {
|
965 |
-
background-color: #eeeeee;
|
966 |
-
color: #777777;
|
967 |
-
cursor: not-allowed;
|
968 |
-
}
|
969 |
-
.list-group-item.disabled .list-group-item-heading,
|
970 |
-
.list-group-item.disabled:hover .list-group-item-heading,
|
971 |
-
.list-group-item.disabled:focus .list-group-item-heading {
|
972 |
-
color: inherit;
|
973 |
-
}
|
974 |
-
.list-group-item.disabled .list-group-item-text,
|
975 |
-
.list-group-item.disabled:hover .list-group-item-text,
|
976 |
-
.list-group-item.disabled:focus .list-group-item-text {
|
977 |
-
color: #777777;
|
978 |
-
}
|
979 |
-
.list-group-item.active,
|
980 |
-
.list-group-item.active:hover,
|
981 |
-
.list-group-item.active:focus {
|
982 |
-
z-index: 2;
|
983 |
-
color: #ffffff;
|
984 |
-
background-color: #337ab7;
|
985 |
-
border-color: #337ab7;
|
986 |
-
}
|
987 |
-
.list-group-item.active .list-group-item-heading,
|
988 |
-
.list-group-item.active:hover .list-group-item-heading,
|
989 |
-
.list-group-item.active:focus .list-group-item-heading,
|
990 |
-
.list-group-item.active .list-group-item-heading > small,
|
991 |
-
.list-group-item.active:hover .list-group-item-heading > small,
|
992 |
-
.list-group-item.active:focus .list-group-item-heading > small,
|
993 |
-
.list-group-item.active .list-group-item-heading > .small,
|
994 |
-
.list-group-item.active:hover .list-group-item-heading > .small,
|
995 |
-
.list-group-item.active:focus .list-group-item-heading > .small {
|
996 |
-
color: inherit;
|
997 |
-
}
|
998 |
-
.list-group-item.active .list-group-item-text,
|
999 |
-
.list-group-item.active:hover .list-group-item-text,
|
1000 |
-
.list-group-item.active:focus .list-group-item-text {
|
1001 |
-
color: #c7ddef;
|
1002 |
-
}
|
1003 |
-
.list-group-item-success {
|
1004 |
-
color: #3c763d;
|
1005 |
-
background-color: #dff0d8;
|
1006 |
-
}
|
1007 |
-
a.list-group-item-success,
|
1008 |
-
button.list-group-item-success {
|
1009 |
-
color: #3c763d;
|
1010 |
-
}
|
1011 |
-
a.list-group-item-success .list-group-item-heading,
|
1012 |
-
button.list-group-item-success .list-group-item-heading {
|
1013 |
-
color: inherit;
|
1014 |
-
}
|
1015 |
-
a.list-group-item-success:hover,
|
1016 |
-
button.list-group-item-success:hover,
|
1017 |
-
a.list-group-item-success:focus,
|
1018 |
-
button.list-group-item-success:focus {
|
1019 |
-
color: #3c763d;
|
1020 |
-
background-color: #d0e9c6;
|
1021 |
-
}
|
1022 |
-
a.list-group-item-success.active,
|
1023 |
-
button.list-group-item-success.active,
|
1024 |
-
a.list-group-item-success.active:hover,
|
1025 |
-
button.list-group-item-success.active:hover,
|
1026 |
-
a.list-group-item-success.active:focus,
|
1027 |
-
button.list-group-item-success.active:focus {
|
1028 |
-
color: #fff;
|
1029 |
-
background-color: #3c763d;
|
1030 |
-
border-color: #3c763d;
|
1031 |
-
}
|
1032 |
-
.list-group-item-info {
|
1033 |
-
color: #31708f;
|
1034 |
-
background-color: #d9edf7;
|
1035 |
-
}
|
1036 |
-
a.list-group-item-info,
|
1037 |
-
button.list-group-item-info {
|
1038 |
-
color: #31708f;
|
1039 |
-
}
|
1040 |
-
a.list-group-item-info .list-group-item-heading,
|
1041 |
-
button.list-group-item-info .list-group-item-heading {
|
1042 |
-
color: inherit;
|
1043 |
-
}
|
1044 |
-
a.list-group-item-info:hover,
|
1045 |
-
button.list-group-item-info:hover,
|
1046 |
-
a.list-group-item-info:focus,
|
1047 |
-
button.list-group-item-info:focus {
|
1048 |
-
color: #31708f;
|
1049 |
-
background-color: #c4e3f3;
|
1050 |
-
}
|
1051 |
-
a.list-group-item-info.active,
|
1052 |
-
button.list-group-item-info.active,
|
1053 |
-
a.list-group-item-info.active:hover,
|
1054 |
-
button.list-group-item-info.active:hover,
|
1055 |
-
a.list-group-item-info.active:focus,
|
1056 |
-
button.list-group-item-info.active:focus {
|
1057 |
-
color: #fff;
|
1058 |
-
background-color: #31708f;
|
1059 |
-
border-color: #31708f;
|
1060 |
-
}
|
1061 |
-
.list-group-item-warning {
|
1062 |
-
color: #8a6d3b;
|
1063 |
-
background-color: #fcf8e3;
|
1064 |
-
}
|
1065 |
-
a.list-group-item-warning,
|
1066 |
-
button.list-group-item-warning {
|
1067 |
-
color: #8a6d3b;
|
1068 |
-
}
|
1069 |
-
a.list-group-item-warning .list-group-item-heading,
|
1070 |
-
button.list-group-item-warning .list-group-item-heading {
|
1071 |
-
color: inherit;
|
1072 |
-
}
|
1073 |
-
a.list-group-item-warning:hover,
|
1074 |
-
button.list-group-item-warning:hover,
|
1075 |
-
a.list-group-item-warning:focus,
|
1076 |
-
button.list-group-item-warning:focus {
|
1077 |
-
color: #8a6d3b;
|
1078 |
-
background-color: #faf2cc;
|
1079 |
-
}
|
1080 |
-
a.list-group-item-warning.active,
|
1081 |
-
button.list-group-item-warning.active,
|
1082 |
-
a.list-group-item-warning.active:hover,
|
1083 |
-
button.list-group-item-warning.active:hover,
|
1084 |
-
a.list-group-item-warning.active:focus,
|
1085 |
-
button.list-group-item-warning.active:focus {
|
1086 |
-
color: #fff;
|
1087 |
-
background-color: #8a6d3b;
|
1088 |
-
border-color: #8a6d3b;
|
1089 |
-
}
|
1090 |
-
.list-group-item-danger {
|
1091 |
-
color: #a94442;
|
1092 |
-
background-color: #f2dede;
|
1093 |
-
}
|
1094 |
-
a.list-group-item-danger,
|
1095 |
-
button.list-group-item-danger {
|
1096 |
-
color: #a94442;
|
1097 |
-
}
|
1098 |
-
a.list-group-item-danger .list-group-item-heading,
|
1099 |
-
button.list-group-item-danger .list-group-item-heading {
|
1100 |
-
color: inherit;
|
1101 |
-
}
|
1102 |
-
a.list-group-item-danger:hover,
|
1103 |
-
button.list-group-item-danger:hover,
|
1104 |
-
a.list-group-item-danger:focus,
|
1105 |
-
button.list-group-item-danger:focus {
|
1106 |
-
color: #a94442;
|
1107 |
-
background-color: #ebcccc;
|
1108 |
-
}
|
1109 |
-
a.list-group-item-danger.active,
|
1110 |
-
button.list-group-item-danger.active,
|
1111 |
-
a.list-group-item-danger.active:hover,
|
1112 |
-
button.list-group-item-danger.active:hover,
|
1113 |
-
a.list-group-item-danger.active:focus,
|
1114 |
-
button.list-group-item-danger.active:focus {
|
1115 |
-
color: #fff;
|
1116 |
-
background-color: #a94442;
|
1117 |
-
border-color: #a94442;
|
1118 |
-
}
|
1119 |
-
.list-group-item-heading {
|
1120 |
-
margin-top: 0;
|
1121 |
-
margin-bottom: 5px;
|
1122 |
-
}
|
1123 |
-
.list-group-item-text {
|
1124 |
-
margin-bottom: 0;
|
1125 |
-
line-height: 1.3;
|
1126 |
-
}
|
1127 |
-
.clearfix:before,
|
1128 |
-
.clearfix:after,
|
1129 |
-
.dl-horizontal dd:before,
|
1130 |
-
.dl-horizontal dd:after,
|
1131 |
-
.nav:before,
|
1132 |
-
.nav:after {
|
1133 |
-
content: " ";
|
1134 |
-
display: table;
|
1135 |
-
}
|
1136 |
-
.clearfix:after,
|
1137 |
-
.dl-horizontal dd:after,
|
1138 |
-
.nav:after {
|
1139 |
-
clear: both;
|
1140 |
-
}
|
1141 |
-
.center-block {
|
1142 |
-
display: block;
|
1143 |
-
margin-left: auto;
|
1144 |
-
margin-right: auto;
|
1145 |
-
}
|
1146 |
-
.pull-right {
|
1147 |
-
float: right !important;
|
1148 |
-
}
|
1149 |
-
.pull-left {
|
1150 |
-
float: left !important;
|
1151 |
-
}
|
1152 |
-
.hide {
|
1153 |
-
display: none !important;
|
1154 |
-
}
|
1155 |
-
.show {
|
1156 |
-
display: block !important;
|
1157 |
-
}
|
1158 |
-
.invisible {
|
1159 |
-
visibility: hidden;
|
1160 |
-
}
|
1161 |
-
.text-hide {
|
1162 |
-
font: 0/0 a;
|
1163 |
-
color: transparent;
|
1164 |
-
text-shadow: none;
|
1165 |
-
background-color: transparent;
|
1166 |
-
border: 0;
|
1167 |
-
}
|
1168 |
-
.affix {
|
1169 |
-
position: fixed;
|
1170 |
-
}
|
1171 |
-
@-ms-viewport {
|
1172 |
-
width: device-width;
|
1173 |
-
}
|
1174 |
-
.visible-xs,
|
1175 |
-
.visible-sm,
|
1176 |
-
.visible-md,
|
1177 |
-
.visible-lg {
|
1178 |
-
display: none !important;
|
1179 |
-
}
|
1180 |
-
.visible-xs-block,
|
1181 |
-
.visible-xs-inline,
|
1182 |
-
.visible-xs-inline-block,
|
1183 |
-
.visible-sm-block,
|
1184 |
-
.visible-sm-inline,
|
1185 |
-
.visible-sm-inline-block,
|
1186 |
-
.visible-md-block,
|
1187 |
-
.visible-md-inline,
|
1188 |
-
.visible-md-inline-block,
|
1189 |
-
.visible-lg-block,
|
1190 |
-
.visible-lg-inline,
|
1191 |
-
.visible-lg-inline-block {
|
1192 |
-
display: none !important;
|
1193 |
-
}
|
1194 |
-
@media (max-width: 767px) {
|
1195 |
-
.visible-xs {
|
1196 |
-
display: block !important;
|
1197 |
-
}
|
1198 |
-
table.visible-xs {
|
1199 |
-
display: table !important;
|
1200 |
-
}
|
1201 |
-
tr.visible-xs {
|
1202 |
-
display: table-row !important;
|
1203 |
-
}
|
1204 |
-
th.visible-xs,
|
1205 |
-
td.visible-xs {
|
1206 |
-
display: table-cell !important;
|
1207 |
-
}
|
1208 |
-
}
|
1209 |
-
@media (max-width: 767px) {
|
1210 |
-
.visible-xs-block {
|
1211 |
-
display: block !important;
|
1212 |
-
}
|
1213 |
-
}
|
1214 |
-
@media (max-width: 767px) {
|
1215 |
-
.visible-xs-inline {
|
1216 |
-
display: inline !important;
|
1217 |
-
}
|
1218 |
-
}
|
1219 |
-
@media (max-width: 767px) {
|
1220 |
-
.visible-xs-inline-block {
|
1221 |
-
display: inline-block !important;
|
1222 |
-
}
|
1223 |
-
}
|
1224 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
1225 |
-
.visible-sm {
|
1226 |
-
display: block !important;
|
1227 |
-
}
|
1228 |
-
table.visible-sm {
|
1229 |
-
display: table !important;
|
1230 |
-
}
|
1231 |
-
tr.visible-sm {
|
1232 |
-
display: table-row !important;
|
1233 |
-
}
|
1234 |
-
th.visible-sm,
|
1235 |
-
td.visible-sm {
|
1236 |
-
display: table-cell !important;
|
1237 |
-
}
|
1238 |
-
}
|
1239 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
1240 |
-
.visible-sm-block {
|
1241 |
-
display: block !important;
|
1242 |
-
}
|
1243 |
-
}
|
1244 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
1245 |
-
.visible-sm-inline {
|
1246 |
-
display: inline !important;
|
1247 |
-
}
|
1248 |
-
}
|
1249 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
1250 |
-
.visible-sm-inline-block {
|
1251 |
-
display: inline-block !important;
|
1252 |
-
}
|
1253 |
-
}
|
1254 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
1255 |
-
.visible-md {
|
1256 |
-
display: block !important;
|
1257 |
-
}
|
1258 |
-
table.visible-md {
|
1259 |
-
display: table !important;
|
1260 |
-
}
|
1261 |
-
tr.visible-md {
|
1262 |
-
display: table-row !important;
|
1263 |
-
}
|
1264 |
-
th.visible-md,
|
1265 |
-
td.visible-md {
|
1266 |
-
display: table-cell !important;
|
1267 |
-
}
|
1268 |
-
}
|
1269 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
1270 |
-
.visible-md-block {
|
1271 |
-
display: block !important;
|
1272 |
-
}
|
1273 |
-
}
|
1274 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
1275 |
-
.visible-md-inline {
|
1276 |
-
display: inline !important;
|
1277 |
-
}
|
1278 |
-
}
|
1279 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
1280 |
-
.visible-md-inline-block {
|
1281 |
-
display: inline-block !important;
|
1282 |
-
}
|
1283 |
-
}
|
1284 |
-
@media (min-width: 1200px) {
|
1285 |
-
.visible-lg {
|
1286 |
-
display: block !important;
|
1287 |
-
}
|
1288 |
-
table.visible-lg {
|
1289 |
-
display: table !important;
|
1290 |
-
}
|
1291 |
-
tr.visible-lg {
|
1292 |
-
display: table-row !important;
|
1293 |
-
}
|
1294 |
-
th.visible-lg,
|
1295 |
-
td.visible-lg {
|
1296 |
-
display: table-cell !important;
|
1297 |
-
}
|
1298 |
-
}
|
1299 |
-
@media (min-width: 1200px) {
|
1300 |
-
.visible-lg-block {
|
1301 |
-
display: block !important;
|
1302 |
-
}
|
1303 |
-
}
|
1304 |
-
@media (min-width: 1200px) {
|
1305 |
-
.visible-lg-inline {
|
1306 |
-
display: inline !important;
|
1307 |
-
}
|
1308 |
-
}
|
1309 |
-
@media (min-width: 1200px) {
|
1310 |
-
.visible-lg-inline-block {
|
1311 |
-
display: inline-block !important;
|
1312 |
-
}
|
1313 |
-
}
|
1314 |
-
@media (max-width: 767px) {
|
1315 |
-
.hidden-xs {
|
1316 |
-
display: none !important;
|
1317 |
-
}
|
1318 |
-
}
|
1319 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
1320 |
-
.hidden-sm {
|
1321 |
-
display: none !important;
|
1322 |
-
}
|
1323 |
-
}
|
1324 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
1325 |
-
.hidden-md {
|
1326 |
-
display: none !important;
|
1327 |
-
}
|
1328 |
-
}
|
1329 |
-
@media (min-width: 1200px) {
|
1330 |
-
.hidden-lg {
|
1331 |
-
display: none !important;
|
1332 |
-
}
|
1333 |
-
}
|
1334 |
-
.visible-print {
|
1335 |
-
display: none !important;
|
1336 |
-
}
|
1337 |
-
@media print {
|
1338 |
-
.visible-print {
|
1339 |
-
display: block !important;
|
1340 |
-
}
|
1341 |
-
table.visible-print {
|
1342 |
-
display: table !important;
|
1343 |
-
}
|
1344 |
-
tr.visible-print {
|
1345 |
-
display: table-row !important;
|
1346 |
-
}
|
1347 |
-
th.visible-print,
|
1348 |
-
td.visible-print {
|
1349 |
-
display: table-cell !important;
|
1350 |
-
}
|
1351 |
-
}
|
1352 |
-
.visible-print-block {
|
1353 |
-
display: none !important;
|
1354 |
-
}
|
1355 |
-
@media print {
|
1356 |
-
.visible-print-block {
|
1357 |
-
display: block !important;
|
1358 |
-
}
|
1359 |
-
}
|
1360 |
-
.visible-print-inline {
|
1361 |
-
display: none !important;
|
1362 |
-
}
|
1363 |
-
@media print {
|
1364 |
-
.visible-print-inline {
|
1365 |
-
display: inline !important;
|
1366 |
-
}
|
1367 |
-
}
|
1368 |
-
.visible-print-inline-block {
|
1369 |
-
display: none !important;
|
1370 |
-
}
|
1371 |
-
@media print {
|
1372 |
-
.visible-print-inline-block {
|
1373 |
-
display: inline-block !important;
|
1374 |
-
}
|
1375 |
-
}
|
1376 |
-
@media print {
|
1377 |
-
.hidden-print {
|
1378 |
-
display: none !important;
|
1379 |
-
}
|
1380 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/vendors/bootstrap/bootstrap.js
DELETED
@@ -1,176 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
-
* Copyright 2011-2017 Twitter, Inc.
|
4 |
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
-
*/
|
6 |
-
|
7 |
-
/*!
|
8 |
-
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=9a4a9ed094de1e967118786cd36edf49)
|
9 |
-
* Config saved to config.json and https://gist.github.com/9a4a9ed094de1e967118786cd36edf49
|
10 |
-
*/
|
11 |
-
if (typeof jQuery === 'undefined') {
|
12 |
-
throw new Error('Bootstrap\'s JavaScript requires jQuery')
|
13 |
-
}
|
14 |
-
+function ($) {
|
15 |
-
'use strict';
|
16 |
-
var version = $.fn.jquery.split(' ')[0].split('.')
|
17 |
-
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {
|
18 |
-
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')
|
19 |
-
}
|
20 |
-
}(jQuery);
|
21 |
-
|
22 |
-
/* ========================================================================
|
23 |
-
* Bootstrap: tab.js v3.3.7
|
24 |
-
* http://getbootstrap.com/javascript/#tabs
|
25 |
-
* ========================================================================
|
26 |
-
* Copyright 2011-2016 Twitter, Inc.
|
27 |
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
28 |
-
* ======================================================================== */
|
29 |
-
|
30 |
-
|
31 |
-
+function ($) {
|
32 |
-
'use strict';
|
33 |
-
|
34 |
-
// TAB CLASS DEFINITION
|
35 |
-
// ====================
|
36 |
-
|
37 |
-
var Tab = function (element) {
|
38 |
-
// jscs:disable requireDollarBeforejQueryAssignment
|
39 |
-
this.element = $(element)
|
40 |
-
// jscs:enable requireDollarBeforejQueryAssignment
|
41 |
-
}
|
42 |
-
|
43 |
-
Tab.VERSION = '3.3.7'
|
44 |
-
|
45 |
-
Tab.TRANSITION_DURATION = 150
|
46 |
-
|
47 |
-
Tab.prototype.show = function () {
|
48 |
-
var $this = this.element
|
49 |
-
var $ul = $this.closest('ul:not(.dropdown-menu)')
|
50 |
-
var selector = $this.data('target')
|
51 |
-
|
52 |
-
if (!selector) {
|
53 |
-
selector = $this.attr('href')
|
54 |
-
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
55 |
-
}
|
56 |
-
|
57 |
-
if ($this.parent('li').hasClass('active')) return
|
58 |
-
|
59 |
-
var $previous = $ul.find('.active:last a')
|
60 |
-
var hideEvent = $.Event('hide.bs.tab', {
|
61 |
-
relatedTarget: $this[0]
|
62 |
-
})
|
63 |
-
var showEvent = $.Event('show.bs.tab', {
|
64 |
-
relatedTarget: $previous[0]
|
65 |
-
})
|
66 |
-
|
67 |
-
$previous.trigger(hideEvent)
|
68 |
-
$this.trigger(showEvent)
|
69 |
-
|
70 |
-
if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return
|
71 |
-
|
72 |
-
var $target = $(selector)
|
73 |
-
|
74 |
-
this.activate($this.closest('li'), $ul)
|
75 |
-
this.activate($target, $target.parent(), function () {
|
76 |
-
$previous.trigger({
|
77 |
-
type: 'hidden.bs.tab',
|
78 |
-
relatedTarget: $this[0]
|
79 |
-
})
|
80 |
-
$this.trigger({
|
81 |
-
type: 'shown.bs.tab',
|
82 |
-
relatedTarget: $previous[0]
|
83 |
-
})
|
84 |
-
})
|
85 |
-
}
|
86 |
-
|
87 |
-
Tab.prototype.activate = function (element, container, callback) {
|
88 |
-
var $active = container.find('> .active')
|
89 |
-
var transition = callback
|
90 |
-
&& $.support.transition
|
91 |
-
&& ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
|
92 |
-
|
93 |
-
function next() {
|
94 |
-
$active
|
95 |
-
.removeClass('active')
|
96 |
-
.find('> .dropdown-menu > .active')
|
97 |
-
.removeClass('active')
|
98 |
-
.end()
|
99 |
-
.find('[data-toggle="tab"]')
|
100 |
-
.attr('aria-expanded', false)
|
101 |
-
|
102 |
-
element
|
103 |
-
.addClass('active')
|
104 |
-
.find('[data-toggle="tab"]')
|
105 |
-
.attr('aria-expanded', true)
|
106 |
-
|
107 |
-
if (transition) {
|
108 |
-
element[0].offsetWidth // reflow for transition
|
109 |
-
element.addClass('in')
|
110 |
-
} else {
|
111 |
-
element.removeClass('fade')
|
112 |
-
}
|
113 |
-
|
114 |
-
if (element.parent('.dropdown-menu').length) {
|
115 |
-
element
|
116 |
-
.closest('li.dropdown')
|
117 |
-
.addClass('active')
|
118 |
-
.end()
|
119 |
-
.find('[data-toggle="tab"]')
|
120 |
-
.attr('aria-expanded', true)
|
121 |
-
}
|
122 |
-
|
123 |
-
callback && callback()
|
124 |
-
}
|
125 |
-
|
126 |
-
$active.length && transition ?
|
127 |
-
$active
|
128 |
-
.one('bsTransitionEnd', next)
|
129 |
-
.emulateTransitionEnd(Tab.TRANSITION_DURATION) :
|
130 |
-
next()
|
131 |
-
|
132 |
-
$active.removeClass('in')
|
133 |
-
}
|
134 |
-
|
135 |
-
|
136 |
-
// TAB PLUGIN DEFINITION
|
137 |
-
// =====================
|
138 |
-
|
139 |
-
function Plugin(option) {
|
140 |
-
return this.each(function () {
|
141 |
-
var $this = $(this)
|
142 |
-
var data = $this.data('bs.tab')
|
143 |
-
|
144 |
-
if (!data) $this.data('bs.tab', (data = new Tab(this)))
|
145 |
-
if (typeof option == 'string') data[option]()
|
146 |
-
})
|
147 |
-
}
|
148 |
-
|
149 |
-
var old = $.fn.tab
|
150 |
-
|
151 |
-
$.fn.tab = Plugin
|
152 |
-
$.fn.tab.Constructor = Tab
|
153 |
-
|
154 |
-
|
155 |
-
// TAB NO CONFLICT
|
156 |
-
// ===============
|
157 |
-
|
158 |
-
$.fn.tab.noConflict = function () {
|
159 |
-
$.fn.tab = old
|
160 |
-
return this
|
161 |
-
}
|
162 |
-
|
163 |
-
|
164 |
-
// TAB DATA-API
|
165 |
-
// ============
|
166 |
-
|
167 |
-
var clickHandler = function (e) {
|
168 |
-
e.preventDefault()
|
169 |
-
Plugin.call($(this), 'show')
|
170 |
-
}
|
171 |
-
|
172 |
-
$(document)
|
173 |
-
.on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler)
|
174 |
-
.on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler)
|
175 |
-
|
176 |
-
}(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/vendors/bootstrap/bootstrap.min.css
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
-
* Copyright 2011-2017 Twitter, Inc.
|
4 |
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
-
*//*!
|
6 |
-
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=9a4a9ed094de1e967118786cd36edf49)
|
7 |
-
* Config saved to config.json and https://gist.github.com/9a4a9ed094de1e967118786cd36edf49
|
8 |
-
*//*!
|
9 |
-
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
10 |
-
* Copyright 2011-2016 Twitter, Inc.
|
11 |
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
12 |
-
*/
|
13 |
-
/*!
|
14 |
-
* Custom version of bootstrap
|
15 |
-
*/.nav-justified>.dropdown .dropdown-menu,.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.list-inline,.list-unstyled{padding-left:0;list-style:none}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}dl,ol,ul{margin-top:0}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child,ol ol,ol ul,ul ol,ul ul{margin-bottom:0}ol,ul{margin-bottom:10px}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}.table,address{margin-bottom:20px}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}caption,th{text-align:left}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{font-style:normal;line-height:1.42857143}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777}.table{width:100%;max-width:100%}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.nav>li,.nav>li>a{display:block;position:relative}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px;margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-justified>li,.nav-stacked>li{float:none}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{text-decoration:none;color:#555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{background-color:#eee;color:#777;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.clearfix:after,.clearfix:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.nav:after,.nav:before{content:" ";display:table}.clearfix:after,.dl-horizontal dd:after,.nav:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}.visible-xs-block{display:block!important}.visible-xs-inline{display:inline!important}.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}.visible-sm-block{display:block!important}.visible-sm-inline{display:inline!important}.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}.visible-md-block{display:block!important}.visible-md-inline{display:inline!important}.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}.visible-lg-block{display:block!important}.visible-lg-inline{display:inline!important}.visible-lg-inline-block{display:inline-block!important}.hidden-lg{display:none!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}.hidden-print{display:none!important}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/vendors/bootstrap/bootstrap.min.js
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
-
* Copyright 2011-2017 Twitter, Inc.
|
4 |
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
-
*/
|
6 |
-
|
7 |
-
/*!
|
8 |
-
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=9a4a9ed094de1e967118786cd36edf49)
|
9 |
-
* Config saved to config.json and https://gist.github.com/9a4a9ed094de1e967118786cd36edf49
|
10 |
-
*/
|
11 |
-
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.tab");r||n.data("bs.tab",r=new a(this)),"string"==typeof e&&r[e]()})}var a=function(e){this.element=t(e)};a.VERSION="3.3.7",a.TRANSITION_DURATION=150,a.prototype.show=function(){var e=this.element,a=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=e.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=a.find(".active:last a"),i=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(i),e.trigger(s),!s.isDefaultPrevented()&&!i.isDefaultPrevented()){var o=t(n);this.activate(e.closest("li"),a),this.activate(o,o.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},a.prototype.activate=function(e,n,r){function i(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var s=n.find("> .active"),o=r&&t.support.transition&&(s.length&&s.hasClass("fade")||!!n.find("> .fade").length);s.length&&o?s.one("bsTransitionEnd",i).emulateTransitionEnd(a.TRANSITION_DURATION):i(),s.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=a,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var r=function(a){a.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/backend/kiwi-social-share-backend.php
CHANGED
@@ -23,10 +23,26 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
23 |
$post_types = Kiwi_Social_Share_Helper::get_custom_post_types();
|
24 |
$colors = Kiwi_Social_Share_Helper::get_network_colors();
|
25 |
$hash = '';
|
|
|
|
|
|
|
|
|
|
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
if ( ! empty( $_COOKIE ) && ! empty( $_COOKIE['tab'] ) ) {
|
29 |
-
$hash = $_COOKIE['tab'];
|
30 |
}
|
31 |
|
32 |
/**
|
@@ -58,6 +74,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
58 |
?>
|
59 |
<!-- End Tabs -->
|
60 |
</div>
|
61 |
-
<?php submit_button(
|
62 |
</form>
|
63 |
</div>
|
23 |
$post_types = Kiwi_Social_Share_Helper::get_custom_post_types();
|
24 |
$colors = Kiwi_Social_Share_Helper::get_network_colors();
|
25 |
$hash = '';
|
26 |
+
|
27 |
+
if ( ! empty( $_COOKIE ) && ! empty( $_COOKIE['tab'] ) ) {
|
28 |
+
|
29 |
+
// get tab cookie value
|
30 |
+
$hash = esc_html( $_COOKIE['tab'] );
|
31 |
|
32 |
+
// define allowed values for the tab cookie
|
33 |
+
$allowed_hash = array(
|
34 |
+
'sl-kiwi-tab-article-bar',
|
35 |
+
'sl-kiwi-tab-networks',
|
36 |
+
'sl-kiwi-tab-floating-bar',
|
37 |
+
'sl-kiwi-tab-socialIdentity',
|
38 |
+
'sl-kiwi-tab-advanced',
|
39 |
+
);
|
40 |
+
|
41 |
+
// clear if value not allowed
|
42 |
+
if ( ! in_array( $hash, $allowed_hash ) ) {
|
43 |
+
$hash = '';
|
44 |
+
}
|
45 |
|
|
|
|
|
46 |
}
|
47 |
|
48 |
/**
|
74 |
?>
|
75 |
<!-- End Tabs -->
|
76 |
</div>
|
77 |
+
<?php submit_button( esc_html__( 'Save changes', 'kiwi-social-share' ), 'primary', 'submit', true ); ?>
|
78 |
</form>
|
79 |
</div>
|
includes/backend/parts/epsilon-tabs.php
CHANGED
@@ -30,7 +30,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
30 |
<a href="#" data-tab="sl-kiwi-tab-advanced"><i class="dashicons dashicons-admin-settings"></i>
|
31 |
<?php echo esc_html__( 'Advanced', 'kiwi-social-share' ); ?>
|
32 |
</a>
|
33 |
-
<?php get_bloginfo();?>
|
34 |
</li>
|
35 |
</ul>
|
36 |
</div>
|
30 |
<a href="#" data-tab="sl-kiwi-tab-advanced"><i class="dashicons dashicons-admin-settings"></i>
|
31 |
<?php echo esc_html__( 'Advanced', 'kiwi-social-share' ); ?>
|
32 |
</a>
|
|
|
33 |
</li>
|
34 |
</ul>
|
35 |
</div>
|
includes/backend/parts/kiwi-tab-networks.php
CHANGED
@@ -158,21 +158,4 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
158 |
class="epsilon-ui-overlay networks <?php echo ( $styles_color === 'original' ) ? 'active' : ''; ?>"></div>
|
159 |
</div>
|
160 |
|
161 |
-
<!-- <div class="sl-kiwi-opt-group clearfix">-->
|
162 |
-
<!-- <div class="sl-kiwi-opt-description">-->
|
163 |
-
<!-- <h4>--><?php //echo esc_html__( 'Floating bar background', 'kiwi-social-share' ) ?><!--</h4>-->
|
164 |
-
<!-- <p>-->
|
165 |
-
<?php //echo esc_html__( 'Change the background color of the floating bar containerg.', 'kiwi-social-share' ) ?><!--</p>-->
|
166 |
-
<!-- </div>-->
|
167 |
-
<!---->
|
168 |
-
<!-- <div class="bottom-color-option">-->
|
169 |
-
<!-- <span class="epsilon-ui-color floating-bar-background">-->
|
170 |
-
<!-- <input data-color-custom="#272f32" name="kiwi_general_settings[floating_bar_color]"-->
|
171 |
-
<!-- value="-->
|
172 |
-
<?php //echo Kiwi_Social_Share_Helper::get_setting_value( 'floating_bar_color', '#272f32' ) ?><!--"/>-->
|
173 |
-
<!-- <em>-->
|
174 |
-
<?php //echo Kiwi_Social_Share_Helper::get_setting_value( 'floating_bar_color', '#272f32' ) ?><!--</em>-->
|
175 |
-
<!-- </span>-->
|
176 |
-
<!-- </div>-->
|
177 |
-
<!-- </div>-->
|
178 |
</div>
|
158 |
class="epsilon-ui-overlay networks <?php echo ( $styles_color === 'original' ) ? 'active' : ''; ?>"></div>
|
159 |
</div>
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
</div>
|
includes/class-kiwi-social-share-review.php
DELETED
@@ -1,182 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Kiwi_Social_Share_Review {
|
4 |
-
|
5 |
-
private static $instance;
|
6 |
-
private $when = array( 5, 15, 30 );
|
7 |
-
private $value;
|
8 |
-
private $messages;
|
9 |
-
private $link = 'https://wordpress.org/support/plugin/%s/reviews/#new-post';
|
10 |
-
private $slug = '';
|
11 |
-
private $option_name = '';
|
12 |
-
|
13 |
-
function __construct( $args ) {
|
14 |
-
|
15 |
-
if ( isset( $args['slug'] ) ) {
|
16 |
-
$this->slug = $args['slug'];
|
17 |
-
}
|
18 |
-
|
19 |
-
$this->value = $this->value();
|
20 |
-
|
21 |
-
$this->messages = array(
|
22 |
-
'notice' => __( "Hey, I noticed you have installed our plugin for %s day(s) - that's awesome! Could you please do me a BIG favor and give it a 5-star rating on WordPress? Just to help us spread the word and boost our motivation.", 'kiwi-social-share' ),
|
23 |
-
'rate' => __( 'Ok, you deserve it', 'kiwi-social-share' ),
|
24 |
-
'rated' => __( 'I already did', 'kiwi-social-share' ),
|
25 |
-
'no_rate' => __( 'No, not good enough', 'kiwi-social-share' ),
|
26 |
-
);
|
27 |
-
|
28 |
-
if ( isset( $args['messages'] ) ) {
|
29 |
-
$this->messages = wp_parse_args( $args['messages'], $this->messages );
|
30 |
-
}
|
31 |
-
|
32 |
-
$this->init();
|
33 |
-
|
34 |
-
}
|
35 |
-
|
36 |
-
public static function get_instance( $args ) {
|
37 |
-
if ( null === static::$instance ) {
|
38 |
-
static::$instance = new static( $args );
|
39 |
-
}
|
40 |
-
|
41 |
-
return static::$instance;
|
42 |
-
}
|
43 |
-
|
44 |
-
private function init() {
|
45 |
-
if ( ! is_admin() ) {
|
46 |
-
return;
|
47 |
-
}
|
48 |
-
|
49 |
-
add_action( 'wp_ajax_epsilon_review', array( $this, 'ajax' ) );
|
50 |
-
|
51 |
-
if ( $this->check() ) {
|
52 |
-
add_action( 'admin_notices', array( $this, 'five_star_wp_rate_notice' ) );
|
53 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
|
54 |
-
add_action( 'admin_print_footer_scripts', array( $this, 'ajax_script' ) );
|
55 |
-
}
|
56 |
-
|
57 |
-
}
|
58 |
-
|
59 |
-
private function check() {
|
60 |
-
|
61 |
-
$options = get_option( 'kiwi_general_settings' );
|
62 |
-
$option = isset( $options['givemereview'] ) ? $options['givemereview'] : '';
|
63 |
-
$currDate = date( 'Y-m-d' );
|
64 |
-
if ( 'already-rated' == $option ) {
|
65 |
-
return false;
|
66 |
-
}
|
67 |
-
|
68 |
-
if ( $this->value == $option ) {
|
69 |
-
return false;
|
70 |
-
}
|
71 |
-
|
72 |
-
if ( is_array( $this->when ) ) {
|
73 |
-
foreach ( $this->when as $et ) {
|
74 |
-
if ( date( 'Y-m-d', strtotime( $currDate . ' +' . $et . ' days' ) ) == $this->value ) {
|
75 |
-
return true;
|
76 |
-
}
|
77 |
-
|
78 |
-
}
|
79 |
-
}
|
80 |
-
|
81 |
-
}
|
82 |
-
|
83 |
-
private function value() {
|
84 |
-
|
85 |
-
$value = get_transient( 'kiwi_social_share_review' );
|
86 |
-
|
87 |
-
if ( $value ) {
|
88 |
-
$current_time = time(); // or your date as well
|
89 |
-
$trans_date = strtotime($value);
|
90 |
-
$date_diff = $current_time - $trans_date;
|
91 |
-
return round($date_diff / (60 * 60 * 24));
|
92 |
-
}
|
93 |
-
|
94 |
-
$date = date( 'Y-m-d' );
|
95 |
-
set_transient( 'kiwi_social_share_review', $date, 24 * 30 * HOUR_IN_SECONDS );
|
96 |
-
|
97 |
-
}
|
98 |
-
|
99 |
-
public function five_star_wp_rate_notice() {
|
100 |
-
|
101 |
-
$url = sprintf( $this->link, $this->slug );
|
102 |
-
|
103 |
-
?>
|
104 |
-
<div id="<?php echo $this->slug ?>-epsilon-review-notice" class="notice notice-success is-dismissible">
|
105 |
-
<p><?php echo sprintf( wp_kses_post( $this->messages['notice'] ), $this->value ); ?></p>
|
106 |
-
<p class="actions">
|
107 |
-
<a id="epsilon-rate" href="<?php echo esc_url( $url ) ?>"
|
108 |
-
class="button button-primary epsilon-review-button"><?php echo esc_html( $this->messages['rate'] ); ?></a>
|
109 |
-
<a id="epsilon-rated" href="#"
|
110 |
-
class="button button-secondary epsilon-review-button"><?php echo esc_html( $this->messages['rated'] ); ?></a>
|
111 |
-
<a id="epsilon-no-rate" href="#"
|
112 |
-
class="button button-secondary epsilon-review-button"><?php echo esc_html( $this->messages['no_rate'] ); ?></a>
|
113 |
-
</p>
|
114 |
-
</div>
|
115 |
-
<?php
|
116 |
-
}
|
117 |
-
|
118 |
-
public function ajax() {
|
119 |
-
|
120 |
-
check_ajax_referer( 'epsilon-review', 'security' );
|
121 |
-
|
122 |
-
$options = get_option( 'kiwi_general_settings', array() );
|
123 |
-
|
124 |
-
if ( isset( $_POST['epsilon-review'] ) ) {
|
125 |
-
$options['givemereview'] = 'already-rated';
|
126 |
-
} else {
|
127 |
-
$options['givemereview'] = $this->value;
|
128 |
-
}
|
129 |
-
|
130 |
-
update_option( 'kiwi_general_settings', $options );
|
131 |
-
|
132 |
-
wp_die( 'ok' );
|
133 |
-
|
134 |
-
}
|
135 |
-
|
136 |
-
public function enqueue() {
|
137 |
-
wp_enqueue_script( 'jquery' );
|
138 |
-
}
|
139 |
-
|
140 |
-
public function ajax_script() {
|
141 |
-
|
142 |
-
$ajax_nonce = wp_create_nonce( "epsilon-review" );
|
143 |
-
|
144 |
-
?>
|
145 |
-
|
146 |
-
<script type="text/javascript">
|
147 |
-
jQuery(document).ready(function ($) {
|
148 |
-
|
149 |
-
$('.epsilon-review-button').click(function (evt) {
|
150 |
-
var href = $(this).attr('href'),
|
151 |
-
id = $(this).attr('id');
|
152 |
-
|
153 |
-
evt.preventDefault();
|
154 |
-
|
155 |
-
var data = {
|
156 |
-
action: 'epsilon_review',
|
157 |
-
security: '<?php echo $ajax_nonce; ?>',
|
158 |
-
};
|
159 |
-
|
160 |
-
if ('epsilon-rated' === id) {
|
161 |
-
data['epsilon-review'] = 1;
|
162 |
-
}
|
163 |
-
|
164 |
-
$.post('<?php echo admin_url( 'admin-ajax.php' ) ?>', data, function (response) {
|
165 |
-
$('#<?php echo $this->slug ?>-epsilon-review-notice').slideUp('fast', function () {
|
166 |
-
$(this).remove();
|
167 |
-
});
|
168 |
-
|
169 |
-
if ('epsilon-rate' === id) {
|
170 |
-
window.location.href = href;
|
171 |
-
}
|
172 |
-
|
173 |
-
});
|
174 |
-
|
175 |
-
});
|
176 |
-
|
177 |
-
});
|
178 |
-
</script>
|
179 |
-
|
180 |
-
<?php
|
181 |
-
}
|
182 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-kiwi-social-share.php
CHANGED
@@ -224,7 +224,6 @@ class Kiwi_Social_Share {
|
|
224 |
// Add the color picker css file
|
225 |
if ( $hook == 'toplevel_page_kiwi_social_sharing_settings' || $hook == 'kiwi_page_kiwi-upgrade' ) {
|
226 |
wp_enqueue_style( 'wp-color-picker' );
|
227 |
-
wp_enqueue_style( 'bootstrap', esc_url( $this->assets_url ) . 'vendors/bootstrap/bootstrap' . $this->script_suffix . '.css', array(), $this->_version );
|
228 |
wp_enqueue_style( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:300,400,700,800', array(), $this->_version );
|
229 |
wp_enqueue_style( 'icomoon', esc_url( $this->assets_url ) . 'vendors/icomoon/style.css', array(), $this->_version );
|
230 |
wp_register_style( $this->_token . '-admin', esc_url( $this->assets_url ) . 'css/admin.css', array(), $this->_version );
|
@@ -245,12 +244,9 @@ class Kiwi_Social_Share {
|
|
245 |
*/
|
246 |
public function admin_enqueue_scripts( $hook = '' ) {
|
247 |
if ( $hook == 'toplevel_page_kiwi_social_sharing_settings' || $hook == 'plugins.php' ) {
|
248 |
-
wp_register_script( 'bootstrap', esc_url( $this->assets_url ) . 'vendors/bootstrap/bootstrap' . $this->script_suffix . '.js', array(
|
249 |
-
'jquery',
|
250 |
-
'jquery-ui-sortable'
|
251 |
-
), $this->_version, true );
|
252 |
wp_register_script( $this->_token . '-kiwi', esc_url( $this->assets_url ) . 'js/kiwi' . $this->script_suffix . '.js', array(
|
253 |
-
'
|
|
|
254 |
'wp-color-picker'
|
255 |
), $this->_version, true );
|
256 |
wp_register_script( $this->_token . '-admin', esc_url( $this->assets_url ) . 'js/admin.js', array( $this->_token . '-kiwi' ), $this->_version, true );
|
224 |
// Add the color picker css file
|
225 |
if ( $hook == 'toplevel_page_kiwi_social_sharing_settings' || $hook == 'kiwi_page_kiwi-upgrade' ) {
|
226 |
wp_enqueue_style( 'wp-color-picker' );
|
|
|
227 |
wp_enqueue_style( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:300,400,700,800', array(), $this->_version );
|
228 |
wp_enqueue_style( 'icomoon', esc_url( $this->assets_url ) . 'vendors/icomoon/style.css', array(), $this->_version );
|
229 |
wp_register_style( $this->_token . '-admin', esc_url( $this->assets_url ) . 'css/admin.css', array(), $this->_version );
|
244 |
*/
|
245 |
public function admin_enqueue_scripts( $hook = '' ) {
|
246 |
if ( $hook == 'toplevel_page_kiwi_social_sharing_settings' || $hook == 'plugins.php' ) {
|
|
|
|
|
|
|
|
|
247 |
wp_register_script( $this->_token . '-kiwi', esc_url( $this->assets_url ) . 'js/kiwi' . $this->script_suffix . '.js', array(
|
248 |
+
'jquery',
|
249 |
+
'jquery-ui-sortable',
|
250 |
'wp-color-picker'
|
251 |
), $this->_version, true );
|
252 |
wp_register_script( $this->_token . '-admin', esc_url( $this->assets_url ) . 'js/admin.js', array( $this->_token . '-kiwi' ), $this->_version, true );
|
includes/frontend/social-bars/class-kiwi-social-share-view-article-bar.php
CHANGED
@@ -49,10 +49,8 @@ final class Kiwi_Social_Share_View_Article_Bar extends Kiwi_Social_Share_View im
|
|
49 |
|
50 |
// render on the front
|
51 |
add_action('wp', array($this, 'check_front_page'));
|
52 |
-
add_action('wp', array($this, 'kiwi_check_if_amp'));
|
53 |
add_action('wp', array($this, 'check_if_woocommerce_product'));
|
54 |
-
add_action('the_content', array($this, 'display_bar'));
|
55 |
-
add_action('amp_post_template_css', 'kiwi_check_if_amp', 11);
|
56 |
}
|
57 |
|
58 |
/**
|
@@ -64,21 +62,6 @@ final class Kiwi_Social_Share_View_Article_Bar extends Kiwi_Social_Share_View im
|
|
64 |
$this->stop = is_front_page();
|
65 |
}
|
66 |
|
67 |
-
/*
|
68 |
-
* If AMP add extra CSS for formatting
|
69 |
-
*/
|
70 |
-
|
71 |
-
public function kiwi_check_if_amp()
|
72 |
-
{
|
73 |
-
if (function_exists('is_amp_endpoint') && is_amp_endpoint()) {
|
74 |
-
?>
|
75 |
-
<link rel="stylesheet" href="<?php echo KIWI_SOCIAL_SHARE_URL; ?>/assets/css/frontend.min.css">
|
76 |
-
<link rel="stylesheet" href="<?php echo KIWI_SOCIAL_SHARE_URL; ?>/assets/vendors/icomoon/style.css">
|
77 |
-
<link rel="stylesheet" href="<?php echo KIWI_SOCIAL_SHARE_URL; ?>/assets/css/kiwi.amp.css">
|
78 |
-
<?php
|
79 |
-
}
|
80 |
-
}
|
81 |
-
|
82 |
/*
|
83 |
* Remove displaying article share bar in products so it won't display two rows of buttons. The function is attached to woocommerce_share hook
|
84 |
*/
|
@@ -92,6 +75,16 @@ final class Kiwi_Social_Share_View_Article_Bar extends Kiwi_Social_Share_View im
|
|
92 |
}
|
93 |
}
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
/**
|
96 |
* Output contents in frontend
|
97 |
*
|
@@ -107,6 +100,10 @@ final class Kiwi_Social_Share_View_Article_Bar extends Kiwi_Social_Share_View im
|
|
107 |
}
|
108 |
/* end-pro-version */
|
109 |
|
|
|
|
|
|
|
|
|
110 |
if ((!is_single() && !is_page()) || $this->stop) {
|
111 |
return $content;
|
112 |
}
|
49 |
|
50 |
// render on the front
|
51 |
add_action('wp', array($this, 'check_front_page'));
|
|
|
52 |
add_action('wp', array($this, 'check_if_woocommerce_product'));
|
53 |
+
add_action('the_content', array($this, 'display_bar'));
|
|
|
54 |
}
|
55 |
|
56 |
/**
|
62 |
$this->stop = is_front_page();
|
63 |
}
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
/*
|
66 |
* Remove displaying article share bar in products so it won't display two rows of buttons. The function is attached to woocommerce_share hook
|
67 |
*/
|
75 |
}
|
76 |
}
|
77 |
|
78 |
+
public function check_if_amp() {
|
79 |
+
|
80 |
+
if ( function_exists('is_amp_endpoint') && is_amp_endpoint() ) {
|
81 |
+
return true;
|
82 |
+
} else {
|
83 |
+
return false;
|
84 |
+
}
|
85 |
+
|
86 |
+
}
|
87 |
+
|
88 |
/**
|
89 |
* Output contents in frontend
|
90 |
*
|
100 |
}
|
101 |
/* end-pro-version */
|
102 |
|
103 |
+
if ( $this->check_if_amp() ) {
|
104 |
+
return $content;
|
105 |
+
}
|
106 |
+
|
107 |
if ((!is_single() && !is_page()) || $this->stop) {
|
108 |
return $content;
|
109 |
}
|
includes/frontend/social-bars/class-kiwi-social-share-view-floating-bar.php
CHANGED
@@ -113,7 +113,7 @@ final class Kiwi_Social_Share_View_Floating_Bar extends Kiwi_Social_Share_View i
|
|
113 |
* Kiwi_Social_Share_Interface_Social::generate_output
|
114 |
*/
|
115 |
$output .= $html;
|
116 |
-
$output .= '<a data-class="popup" class="kiwi-nw-' . $network . ' network-label" data-network="' . esc_attr( $network ) . '" href="' . esc_url( $t->url ) . '">' . $network_labels[ $network ] . '</a>';
|
117 |
$output .= '</li>';
|
118 |
}
|
119 |
|
113 |
* Kiwi_Social_Share_Interface_Social::generate_output
|
114 |
*/
|
115 |
$output .= $html;
|
116 |
+
$output .= '<a data-class="popup" class="kiwi-nw-' . esc_attr( $network ) . ' network-label" data-network="' . esc_attr( $network ) . '" href="' . esc_url( $t->url ) . '">' . $network_labels[ $network ] . '</a>';
|
117 |
$output .= '</li>';
|
118 |
}
|
119 |
|
includes/frontend/social-buttons/class-kiwi-social-share-social-button-email.php
CHANGED
@@ -28,7 +28,7 @@ final class Kiwi_Social_Share_Social_Button_Email extends Kiwi_Social_Share_Soci
|
|
28 |
|
29 |
/* end-pro-version */
|
30 |
|
31 |
-
return 'mailto:?subject=' .
|
32 |
}
|
33 |
|
34 |
/**
|
28 |
|
29 |
/* end-pro-version */
|
30 |
|
31 |
+
return 'mailto:?subject=' . esc_attr( get_the_title() ) . '&body=' . rawurlencode( $url );
|
32 |
}
|
33 |
|
34 |
/**
|
includes/frontend/social-buttons/class-kiwi-social-share-social-button-telegram.php
CHANGED
@@ -39,12 +39,8 @@ final class Kiwi_Social_Share_Social_Button_Telegram extends Kiwi_Social_Share_S
|
|
39 |
* @return string
|
40 |
*/
|
41 |
public function generate_output() {
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
return '<a data-class="popup" data-network="' . esc_attr( $this->platform ) . '" class="' . esc_attr( $this->generate_anchor_class() ) . '" href="' . esc_url( $this->url ) . '" target="_blank" rel="nofollow">' . $this->generate_anchor_icon() . ' ' . $this->build_shared_count() . '</a>';
|
46 |
-
}
|
47 |
-
|
48 |
-
return '';
|
49 |
}
|
50 |
}
|
39 |
* @return string
|
40 |
*/
|
41 |
public function generate_output() {
|
42 |
+
|
43 |
+
return '<a data-class="popup" data-network="' . esc_attr( $this->platform ) . '" class="' . esc_attr( $this->generate_anchor_class() ) . '" href="' . esc_url( $this->url ) . '" target="_blank" rel="nofollow">' . $this->generate_anchor_icon() . ' ' . $this->build_shared_count() . '</a>';
|
44 |
+
|
|
|
|
|
|
|
|
|
45 |
}
|
46 |
}
|
includes/frontend/social-buttons/class-kiwi-social-share-social-button-whatsapp.php
CHANGED
@@ -33,16 +33,14 @@ final class Kiwi_Social_Share_Social_Button_WhatsApp extends Kiwi_Social_Share_S
|
|
33 |
|
34 |
/* end-pro-version */
|
35 |
|
36 |
-
|
37 |
-
|
38 |
}
|
39 |
|
40 |
/**
|
41 |
* @return string
|
42 |
*/
|
43 |
-
public function generate_output() {
|
44 |
-
$
|
45 |
-
|
46 |
-
return '<a data-class="popup" class="' . esc_attr( $this->generate_anchor_class() ) . ' ' . $additional . '" data-network="' . esc_attr( $this->platform ) . '" href="' . $this->url . '" target="_blank" rel="nofollow">' . $this->generate_anchor_icon() . ' ' . $this->build_shared_count() . '</a>';
|
47 |
}
|
48 |
}
|
33 |
|
34 |
/* end-pro-version */
|
35 |
|
36 |
+
return 'https://wa.me/?text=' . esc_html__( 'Look at this', 'kiwi-social-share' ) . ': ' . urlencode( $desc ) . ' - ' . rawurlencode( $url );
|
37 |
+
|
38 |
}
|
39 |
|
40 |
/**
|
41 |
* @return string
|
42 |
*/
|
43 |
+
public function generate_output() {
|
44 |
+
return '<a data-class="popup" class="' . esc_attr( $this->generate_anchor_class() ) . '" data-network="' . esc_attr( $this->platform ) . '" href="' . esc_url( $this->url ) . '" target="_blank" rel="nofollow">' . $this->generate_anchor_icon() . ' ' . $this->build_shared_count() . '</a>';
|
|
|
|
|
45 |
}
|
46 |
}
|
includes/lib/class-kiwi-social-share-click-to-tweet.php
CHANGED
@@ -51,7 +51,7 @@ class Kiwi_Social_Share_Click_To_Tweet {
|
|
51 |
global $typenow;
|
52 |
|
53 |
if ( empty( $typenow ) && ! empty( $_GET['post'] ) ) {
|
54 |
-
$post = get_post( $_GET['post'] );
|
55 |
$typenow = $post->post_type;
|
56 |
}
|
57 |
|
51 |
global $typenow;
|
52 |
|
53 |
if ( empty( $typenow ) && ! empty( $_GET['post'] ) ) {
|
54 |
+
$post = get_post( absint( $_GET['post'] ) );
|
55 |
$typenow = $post->post_type;
|
56 |
}
|
57 |
|
includes/lib/class-kiwi-social-share-settings.php
CHANGED
@@ -161,10 +161,10 @@ class Kiwi_Social_Share_Settings {
|
|
161 |
// Check posted/selected tab
|
162 |
$current_section = '';
|
163 |
if ( isset( $_POST['tab'] ) && $_POST['tab'] ) {
|
164 |
-
$current_section = $_POST['tab'];
|
165 |
} else {
|
166 |
if ( isset( $_GET['tab'] ) && $_GET['tab'] ) {
|
167 |
-
$current_section = $_GET['tab'];
|
168 |
}
|
169 |
}
|
170 |
|
161 |
// Check posted/selected tab
|
162 |
$current_section = '';
|
163 |
if ( isset( $_POST['tab'] ) && $_POST['tab'] ) {
|
164 |
+
$current_section = sanitize_text_field( $_POST['tab'] );
|
165 |
} else {
|
166 |
if ( isset( $_GET['tab'] ) && $_GET['tab'] ) {
|
167 |
+
$current_section = sanitize_text_field( $_GET['tab'] );
|
168 |
}
|
169 |
}
|
170 |
|
includes/lib/cmb2/CHANGELOG.md
CHANGED
@@ -2,8 +2,131 @@
|
|
2 |
All notable changes to this project will be documented in this file.
|
3 |
|
4 |
## Unreleased
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
### Enhancements
|
|
|
|
|
|
|
6 |
### Bug Fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
## [2.4.2 - 2018-05-25](https://github.com/CMB2/CMB2/releases/tag/v2.4.2)
|
9 |
|
@@ -23,8 +146,8 @@ All notable changes to this project will be documented in this file.
|
|
23 |
### Enhancements
|
24 |
|
25 |
* Enable linking options pages via tabbed-navigation. Will output tabbed navigation for options-pages which share the same `'tab_group'` CMB2 box property. [This snippet](https://github.com/CMB2/CMB2-Snippet-Library/blob/master/options-and-settings-pages/options-pages-with-tabs-and-submenus.php) demonstrates how to create a top-level menu options page with multiple submenu pages, each with the tabbed navigation. To specify a different tab title than the options-page title, set the `'tab_title'` CMB2 box property. See [#301](https://github.com/CMB2/CMB2/issues/301), [#627](https://github.com/CMB2/CMB2/issues/627).
|
26 |
-
* Complete the `zh-CN` translation. Props [@uicestone](https://github.com/uicestone) ([#1089](https://github.com/CMB2/CMB2/
|
27 |
-
* Update the `nl_NL` translation. Props [@tammohaannl](https://github.com/tammohaannl) ([#1101](https://github.com/CMB2/CMB2/
|
28 |
* Better display for white over transparent images (e.g. logos) by using a checkered background for images. ([#1103](https://github.com/CMB2/CMB2/issues/1103))
|
29 |
* Ability to disable the options [autoload parameter](https://codex.wordpress.org/Function_Reference/add_option#Parameters) via filter (`"cmb2_should_autoload_{$options_key}"`) or via a box parameter for `'options-page'` box registrations (`'autoload' => false,`). ([#1093](https://github.com/CMB2/CMB2/issues/1093))
|
30 |
* `'textarea_code'` field type now uses CodeMirror that is [used by WordPress](https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/) ([#1096](https://github.com/CMB2/CMB2/issues/1096)). A field can opt-out to return to the previous behavior by specifying an `'options'` parameter:
|
@@ -42,7 +165,7 @@ All notable changes to this project will be documented in this file.
|
|
42 |
```
|
43 |
* Improve/add comment info banners at top of CMB2 CSS files.
|
44 |
* Added `resetBoxes`/`resetBox` Javascript methods for resetting CMB2 box forms.
|
45 |
-
* Improved styles for
|
46 |
* New `CMB2_Boxes` methods for filtering instances of `CMB2`, `CMB2_Boxes::get_by( $property, $optional_compare )` and `CMB2_Boxes::filter_by( $property, $to_ignore = null )`.
|
47 |
|
48 |
### Bug Fixes
|
2 |
All notable changes to this project will be documented in this file.
|
3 |
|
4 |
## Unreleased
|
5 |
+
|
6 |
+
## [2.9.0 - 2020-03-21](https://github.com/CMB2/CMB2/releases/tag/v2.9.0)
|
7 |
+
|
8 |
+
### Enhancements
|
9 |
+
* Added `cmb2_tab_group_tabs` filter for adding arbitrary menu page urls to the cmb2 tabs, and move tab markup output to separate method, `CMB2_Options_Hookup::options_page_tab_nav_output()`. Fixes [#1407](https://github.com/CMB2/CMB2/issues/1407).
|
10 |
+
* Limit use of italic, including removing from field descriptions. Fixes [#1404](https://github.com/CMB2/CMB2/issues/1404).
|
11 |
+
* Add to list of valid image types from `get_allowed_mime_types()`, which makes SVGs more reliable when using the [Safe SVG](https://wordpress.org/plugins/safe-svg/) plugin. Fixes [#1223](https://github.com/CMB2/CMB2/issues/1223).
|
12 |
+
|
13 |
+
### Bug Fixes
|
14 |
+
* Fixes PHP warnings on repeatable ColorPicker with an array as default. Props [@rubengc](https://github.com/rubengc) ([#1340](https://github.com/CMB2/CMB2/pull/1340)).
|
15 |
+
* Address PHP 7.4, compatibility issues with `func_get_args()`. Fixes [#1389](https://github.com/CMB2/CMB2/issues/1389).
|
16 |
+
* Better generated array key for cached fields, fixes issue where wrong field is found. Fixes [#14053](https://github.com/CMB2/CMB2/issues/14053).
|
17 |
+
* Fix issue with options-pages being changed to register on a hook priority of `5` instead of the default `10`, causing some back-compatibility issues. Fixes [#1410](https://github.com/CMB2/CMB2/issues/1410).
|
18 |
+
|
19 |
+
## [2.8.0 - 2020-01-21](https://github.com/CMB2/CMB2/releases/tag/v2.8.0)
|
20 |
+
|
21 |
### Enhancements
|
22 |
+
* Added [CODE_OF_CONDUCT.md](https://github.com/CMB2/CMB2/blob/develop/CODE_OF_CONDUCT.md) file to meet GitHub Community standards. Props [@RubenMartins](https://github.com/RubenMartins) ([#1331](https://github.com/CMB2/CMB2/pull/1331)).
|
23 |
+
* Add ability to define the page-registration admin menu hook priority for options pages. Fixes [#1380](https://github.com/CMB2/CMB2/issues/1380).
|
24 |
+
|
25 |
### Bug Fixes
|
26 |
+
* Ensure `enqueue wp-color-picker` is enqueued for color fields. Props [@rubengc](https://github.com/rubengc) ([#1339](https://github.com/CMB2/CMB2/pull/1339)).
|
27 |
+
* Fix empty name/id attributes on `'file_list'` buttons. Props [@pgroot91](https://github.com/pgroot91) ([#1347](https://github.com/CMB2/CMB2/pull/1347)).
|
28 |
+
* Fix `wysiwyg` field type not working in a group, by ensuring scripts properly enqueued. Props [@yoren](https://github.com/yoren) ([#1361](https://github.com/CMB2/CMB2/pull/1361)).
|
29 |
+
* Fix `$object_id` doc block types in helper-functions.php. Fixes [#1365](https://github.com/CMB2/CMB2/issues/1365).
|
30 |
+
* Fix Metabox toggles visually broken with WP 5.5.x. Fixes [#1382](https://github.com/CMB2/CMB2/issues/1382).
|
31 |
+
* Fix `PHP Deprecated: Required parameter $field_id follows optional parameter $type`, due to changes in PHP 8.0. Fixes [#1396](https://github.com/CMB2/CMB2/issues/1396).
|
32 |
+
* Fix PHP notice caused by `deprecated_param` method in PHP 7.4. Props [@jonathanstegall](https://github.com/jonathanstegall) ([#1400](https://github.com/CMB2/CMB2/pull/1400)).
|
33 |
+
|
34 |
+
## [2.7.0 - 2020-01-21](https://github.com/CMB2/CMB2/releases/tag/v2.7.0)
|
35 |
+
|
36 |
+
### Enhancements
|
37 |
+
* Added support for sortable columns by default, with ability to disable with `'column' => array( 'disable_sortable' => true )`. Props [@RubenMartins](https://github.com/RubenMartins) ([#1281](https://github.com/CMB2/CMB2/pull/1281)).
|
38 |
+
* New field type, `'taxonomy_select_hierarchical'`. Fixes [#751](https://github.com/CMB2/CMB2/issues/751)
|
39 |
+
* New `text`, `textarea` and `wysiwyg` character counter options. For now, this feature is not available to `wysiwyg` field types within repeatable groups. Props [@gyrus](https://github.com/gyrus) ([#1276](https://github.com/CMB2/CMB2/pull/1276)).
|
40 |
+
- The new parameters:
|
41 |
+
- `'char_counter'` - Defaults to false, no counter. Set to true, or `words` to count words instead of characters.
|
42 |
+
- `'char_max'` - integer. When defined, counter shows remaining characters/words.
|
43 |
+
- `'char_max_enforce'` - boolean, default: false. Currently only applied (as maxlength attribute) to `text` and `textarea` fields which use `'characters'` for counter.
|
44 |
+
- You can also [override the default text strings](https://github.com/CMB2/CMB2/wiki/Field-Parameters#text) associated with these parameters:
|
45 |
+
- `'words_left_text'` - Default: "Words left"
|
46 |
+
- `'words_text'` - Default: "Words"
|
47 |
+
- `'characters_left_text'` - Default: "Characters left"
|
48 |
+
- `'characters_text'` - Default: "Characters"
|
49 |
+
- `'characters_truncated_text'` - Default: "Your text may be truncated."
|
50 |
+
* Update styling to be more compatible with WordPress 5.3. Props [@galengidman](https://github.com/galengidman) ([#1314](https://github.com/CMB2/CMB2/pull/1314))
|
51 |
+
* Add a new box parameter, `register_rest_field_cb`, which when used allows overriding the way CMB2 handles the `register_rest_field` callbacks, and defining your own REST prefix for your fields. See [this PR comment](https://github.com/CMB2/CMB2/pull/1240#issuecomment-552548488) for more context.
|
52 |
+
* Cleanup by renaming `CMB2_hookup` to `CMB2_Hookup`. Classes are case-insensitive, so this is a backwards-compatible change. Props [@szepeviktor](https://github.com/szepeviktor) ([#1330](https://github.com/CMB2/CMB2/pull/1330), [#1328](https://github.com/CMB2/CMB2/issues/1328)).
|
53 |
+
* Validate composer.json for Travis CI. Props [@szepeviktor](https://github.com/szepeviktor) ([#1326](https://github.com/CMB2/CMB2/pull/1326)).
|
54 |
+
* Added [LICENSE](https://github.com/CMB2/CMB2/blob/develop/LICENSE) file to meet GitHub Community standards. Props [@RubenMartins](https://github.com/RubenMartins) ([#1316](https://github.com/CMB2/CMB2/pull/1316)).
|
55 |
+
* Add new `"cmb2_display_class_{$fieldtype}"` filter and `'display_class'` field parameter to allow specifying the class to use to display the field (in admin columns, etc).
|
56 |
+
* Update `CMB2_Types::_id()` to allow not appending the iterator attribute if a repeatable field.
|
57 |
+
* Added `CMB2_Utils::concat_attrs()` test for nested arrays as data attributes.
|
58 |
+
* Various updates per [VIP feedback](https://github.com/CMB2/CMB2/issues/1260). Props [@kevinlangleyjr](https://github.com/kevinlangleyjr), [@mikeselander](https://github.com/mikeselander) ([#1255](https://github.com/CMB2/CMB2/pull/1255), [#1257](https://github.com/CMB2/CMB2/pull/1257), [#1259](https://github.com/CMB2/CMB2/pull/1259), [#1261](https://github.com/CMB2/CMB2/pull/1261) [#1262](https://github.com/CMB2/CMB2/pull/1262), and various direct commits. See [#1260](https://github.com/CMB2/CMB2/issues/1260)).
|
59 |
+
|
60 |
+
|
61 |
+
### Bug Fixes
|
62 |
+
* Fix some issues with Travis. Props [@anhskohbo](https://github.com/anhskohbo) ([#1220](https://github.com/CMB2/CMB2/pull/1220)).
|
63 |
+
* Javascript: Correctly pass the newly created row to the `cmb2_add_row` triggered event.
|
64 |
+
* Various code-formatting and code documentation improvements. Props [@tw2113](https://github.com/tw2113).
|
65 |
+
* Don't exclude composer.json from the distribution. Props [@johnbillion](https://github.com/johnbillion) ([#1225](https://github.com/CMB2/CMB2/pull/1225)).
|
66 |
+
* Ignore some more directories in the distribution package. Props [@johnbillion](https://github.com/johnbillion) ([#1226](https://github.com/CMB2/CMB2/pull/1226)).
|
67 |
+
* Use `CMB2_Field::get_rest_value()` to get values for fields in the post REST API endpoints ([#1284](https://github.com/CMB2/CMB2/issues/1284)).
|
68 |
+
* Fix issue where oEmbed fields' live-preview would not work if the field was added within a group, along with some other similarly related issues. Fixes [#1157](https://github.com/CMB2/CMB2/issues/1157).
|
69 |
+
* Fix issue when using REST API for `file` and `text_datetime_timestamp_timezone` field types, the supporting field data was not provided (e.g. the file id for `file` field, and the `utc` value for the `text_datetime_timestamp_timezone` field). Fixes [https://wordpress.org/support/topic/cmb2-rest-api-image-file-field-as-an-object/](https://wordpress.org/support/topic/cmb2-rest-api-image-file-field-as-an-object/).
|
70 |
+
* Escaping Improvements to File Base and File Fields. Props [@tomjn](https://github.com/tomjn) ([#1296](https://github.com/CMB2/CMB2/pull/1296), [#1297](https://github.com/CMB2/CMB2/pull/1297)).
|
71 |
+
* Fix issue where repeatable CodeMirror textareas could not be clicked/draggged to highlight text. Props [@JPry](https://github.com/JPry) ([#1300](https://github.com/CMB2/CMB2/pull/1300)).
|
72 |
+
* `taxonomy_select_hierarchical` now saves to the correct location, the term relationships table. Props [@latheva](https://github.com/latheva) ([#1307](https://github.com/CMB2/CMB2/pull/1307)).
|
73 |
+
* Fix issue ([#1158](https://github.com/CMB2/CMB2/issues/1158)) where default REST API endpoints (e.g. `/wp/v2/{post_type}`) would show all boxes for all custom post types even though not registered to the post-type. Props [@Mte90](https://github.com/Mte90) ([#1238](https://github.com/CMB2/CMB2/pull/1238)).
|
74 |
+
* Update and cull npm dependencis. Fixes [#1308](https://github.com/CMB2/CMB2/issues/1308).
|
75 |
+
* Fix some jshint issues.
|
76 |
+
* Updated the WordPress embeds URL references.
|
77 |
+
* Updates to account for WordPress 5.2 oEmbed changes.
|
78 |
+
* Fix to ensure date picker fields can have a default value. Fixes [#1245](https://github.com/CMB2/CMB2/issues/1245).
|
79 |
+
* Added `function_exists( 'add_action' )` check to bootstrap file to ensure compatibility with composer usage. Props [@salcode](https://github.com/salcode) ([#1271](https://github.com/CMB2/CMB2/pull/1271), [#1270](https://github.com/CMB2/CMB2/issues/1270))
|
80 |
+
* Corrected link to facetwp-cmb2 in README.md. Props [@marcelreschke](https://github.com/marcelreschke) ([#1248](https://github.com/CMB2/CMB2/pull/1248)).
|
81 |
+
* Use `get_user_locale()` in admin area instead of `get_locale()`. Fixes [#1267](https://github.com/CMB2/CMB2/issues/1267).
|
82 |
+
* `CMB2::is_box_type()` now also checks for taxonomies if box is registered to "term" object type. This should fix some issues where CMB2 term meta was not showing up in REST API requests to the term endpoints.
|
83 |
+
|
84 |
+
|
85 |
+
## [2.6.0 - 2019-01-18](https://github.com/CMB2/CMB2/releases/tag/v2.6.0)
|
86 |
+
|
87 |
+
### Enhancements
|
88 |
+
|
89 |
+
* Updated PHPUnit version in composer.json. Props [@slaFFik](https://github.com/slaFFik) ([#1204](https://github.com/CMB2/CMB2/pull/1204)).
|
90 |
+
* Package.json: fix the need of global (old) grunt. Props [@slaFFik](https://github.com/slaFFik) ([#1206](https://github.com/CMB2/CMB2/pull/1206)).
|
91 |
+
* Add optional confirmation dialog to group field's Remove button. Example [documented in the example functions file](https://github.com/CMB2/CMB2/blob/12036e2dcdeb5b019e844b814eca154bb0eee791/example-functions.php#L525). Props [@slaFFik](https://github.com/slaFFik) ([#1208](https://github.com/CMB2/CMB2/pull/1208)).
|
92 |
+
* Add 'id' attribute on group field `.postbox` divs to ensure compatibility with scripts which expect ids there. Props [@amans2k](https://github.com/amans2k) ([#1108](https://github.com/CMB2/CMB2/pull/1108)).
|
93 |
+
* Make `CMB2_Option` properties accessible. ([#1052](https://github.com/CMB2/CMB2/issues/1052))
|
94 |
+
* New Before/After row hooks: `'cmb2_before_field_row'`, `"cmb2_before_{$field_type}_field_row"`, `"cmb2_after_{$field_type}_field_row"`, `'cmb2_after_field_row'`. Props [@rubengc](https://github.com/rubengc) ([#953](https://github.com/CMB2/CMB2/pull/953)).
|
95 |
+
* Introduce three new filters to filter field arguments: `'cmb2_field_defaults'`, `'cmb2_field_arguments_raw'`, `'cmb2_field_arguments'`. Props [@jrfnl](https://github.com/jrfnl) ([#588](https://github.com/CMB2/CMB2/pull/588)).
|
96 |
+
|
97 |
+
|
98 |
+
### Bug Fixes
|
99 |
+
* Remove superfluous method definitions. Props [@tnorthcutt](https://github.com/tnorthcutt) ([#1200](https://github.com/CMB2/CMB2/pull/1200)).
|
100 |
+
* Fix `rest_value_cb` registering of filter. Props [@lipemat](https://github.com/lipemat) ([#1212](https://github.com/CMB2/CMB2/pull/1212)).
|
101 |
+
* Do not trigger tinyMCE editor save for the activeEditor. Prevents cursor jump in Gutenberg. Fixes [#1202](https://github.com/CMB2/CMB2/issues/1202)
|
102 |
+
* Fix issue where making a field repeatable would generate a Javascript error because of missing sortable library. Props [@slaFFik](https://github.com/slaFFik) ([#1216](https://github.com/CMB2/CMB2/pull/1216)).
|
103 |
+
* Ensure value passed to `CMB2_Utils::filter_empty` from `CMB2::save_group_field` is always an array. ([#1026](https://github.com/CMB2/CMB2/issues/1026))
|
104 |
+
* Fix potential issue with test path location. Props [@quasel](https://github.com/quasel) ([#463](https://github.com/CMB2/CMB2/pull/463)).
|
105 |
+
|
106 |
+
## [2.5.1 - 2018-12-10](https://github.com/CMB2/CMB2/releases/tag/v2.5.1)
|
107 |
+
|
108 |
+
### Bug Fixes
|
109 |
+
* Fix issue when the `core/editor` object does not exist (is undefined), causing incompatibility issues with Yoast and likely others. Fixes [#1197](https://github.com/CMB2/CMB2/issues/1197)
|
110 |
+
|
111 |
+
## [2.5.0 - 2018-12-08](https://github.com/CMB2/CMB2/releases/tag/v2.5.0)
|
112 |
+
|
113 |
+
### Enhancements
|
114 |
+
|
115 |
+
* Repeatable fields are now drag-sortable. Props [@lipemat](https://github.com/lipemat) ([#1142](https://github.com/CMB2/CMB2/pull/1142)).
|
116 |
+
* Update the `sv_SE` translation. Props [@edvind](https://github.com/edvind) ([#370](https://github.com/CMB2/CMB2/pull/370)).
|
117 |
+
* QA/PHPCS cleanup. Props [@tw2113](https://github.com/tw2113) ([#1179](https://github.com/CMB2/CMB2/pull/1179)).
|
118 |
+
* Add optional `'mb_callback_args'` CMB2 box property which allows defining the `$callback_args` passed into `add_meta_box()`. This allows using defining the new [Gutenberg/block-editor compatibility parameters](https://wordpress.org/gutenberg/handbook/extensibility/meta-box/). Fixes [#1191](https://github.com/CMB2/CMB2/issues/1191)
|
119 |
+
* Support any type of markup when customizing repeating group row. Props [@lipemat](https://github.com/lipemat) ([#1187](https://github.com/CMB2/CMB2/pull/1187)).
|
120 |
+
* Add `cmb_init_pickers` and `cmb_init_code_editors` Javascript events for allowing just-in-time configuration for pickers/editors.
|
121 |
+
* Fix field descriptions color contrast ratio for better accessibility. h/t [@rianrietveld](https://github.com/rianrietveld). Fixes [#1193](https://github.com/CMB2/CMB2/issues/1193).
|
122 |
+
* Add `CMB2_Field::get_rest_value()` method for sending value through several filters (`'cmb2_get_rest_value'`, `"cmb2_get_rest_value_{$field_type}"`, `"cmb2_get_rest_value_for_{$field_id}"` ) before sending to REST request.
|
123 |
+
|
124 |
+
### Bug Fixes
|
125 |
+
|
126 |
+
* Fix the options page errors when using CMB2 in WordPress prior to 4.7. Props [@manzoorwanijk](https://github.com/manzoorwanijk) ([#1166](https://github.com/CMB2/CMB2/pull/1166)).
|
127 |
+
* Fix occasonal fatal errors that can occur by using callback functions directly vs `call_user_func`. Props [@manzoorwanijk](https://github.com/manzoorwanijk) ([#1177](https://github.com/CMB2/CMB2/pull/1177)).
|
128 |
+
* Fix issue where `wysiwyg` fields' visual tab wouldn't save content on Gutenberg/block-editor posts. Props [@staurand](https://github.com/staurand) ([#1190](https://github.com/CMB2/CMB2/pull/1190) fixes [#1156](https://github.com/CMB2/CMB2/issues/1156)).
|
129 |
+
* Fix issue when `remove_default` wouldn't actually remove the default taxonomy metabox when box registration used an alternate box context. Props [@lipemat](https://github.com/lipemat) ([#1147](https://github.com/CMB2/CMB2/pull/1147)).
|
130 |
|
131 |
## [2.4.2 - 2018-05-25](https://github.com/CMB2/CMB2/releases/tag/v2.4.2)
|
132 |
|
146 |
### Enhancements
|
147 |
|
148 |
* Enable linking options pages via tabbed-navigation. Will output tabbed navigation for options-pages which share the same `'tab_group'` CMB2 box property. [This snippet](https://github.com/CMB2/CMB2-Snippet-Library/blob/master/options-and-settings-pages/options-pages-with-tabs-and-submenus.php) demonstrates how to create a top-level menu options page with multiple submenu pages, each with the tabbed navigation. To specify a different tab title than the options-page title, set the `'tab_title'` CMB2 box property. See [#301](https://github.com/CMB2/CMB2/issues/301), [#627](https://github.com/CMB2/CMB2/issues/627).
|
149 |
+
* Complete the `zh-CN` translation. Props [@uicestone](https://github.com/uicestone) ([#1089](https://github.com/CMB2/CMB2/pull/1089)).
|
150 |
+
* Update the `nl_NL` translation. Props [@tammohaannl](https://github.com/tammohaannl) ([#1101](https://github.com/CMB2/CMB2/pull/1101)).
|
151 |
* Better display for white over transparent images (e.g. logos) by using a checkered background for images. ([#1103](https://github.com/CMB2/CMB2/issues/1103))
|
152 |
* Ability to disable the options [autoload parameter](https://codex.wordpress.org/Function_Reference/add_option#Parameters) via filter (`"cmb2_should_autoload_{$options_key}"`) or via a box parameter for `'options-page'` box registrations (`'autoload' => false,`). ([#1093](https://github.com/CMB2/CMB2/issues/1093))
|
153 |
* `'textarea_code'` field type now uses CodeMirror that is [used by WordPress](https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/) ([#1096](https://github.com/CMB2/CMB2/issues/1096)). A field can opt-out to return to the previous behavior by specifying an `'options'` parameter:
|
165 |
```
|
166 |
* Improve/add comment info banners at top of CMB2 CSS files.
|
167 |
* Added `resetBoxes`/`resetBox` Javascript methods for resetting CMB2 box forms.
|
168 |
+
* Improved styles for fields in the new-term form.
|
169 |
* New `CMB2_Boxes` methods for filtering instances of `CMB2`, `CMB2_Boxes::get_by( $property, $optional_compare )` and `CMB2_Boxes::filter_by( $property, $to_ignore = null )`.
|
170 |
|
171 |
### Bug Fixes
|
includes/lib/cmb2/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributor Covenant Code of Conduct
|
2 |
+
|
3 |
+
## Our Pledge
|
4 |
+
|
5 |
+
In the interest of fostering an open and welcoming environment, we as
|
6 |
+
contributors and maintainers pledge to making participation in our project and
|
7 |
+
our community a harassment-free experience for everyone, regardless of age, body
|
8 |
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
9 |
+
level of experience, education, socio-economic status, nationality, personal
|
10 |
+
appearance, race, religion, or sexual identity and orientation.
|
11 |
+
|
12 |
+
## Our Standards
|
13 |
+
|
14 |
+
Examples of behavior that contributes to creating a positive environment
|
15 |
+
include:
|
16 |
+
|
17 |
+
* Using welcoming and inclusive language
|
18 |
+
* Being respectful of differing viewpoints and experiences
|
19 |
+
* Gracefully accepting constructive criticism
|
20 |
+
* Focusing on what is best for the community
|
21 |
+
* Showing empathy towards other community members
|
22 |
+
|
23 |
+
Examples of unacceptable behavior by participants include:
|
24 |
+
|
25 |
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26 |
+
advances
|
27 |
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28 |
+
* Public or private harassment
|
29 |
+
* Publishing others' private information, such as a physical or electronic
|
30 |
+
address, without explicit permission
|
31 |
+
* Other conduct which could reasonably be considered inappropriate in a
|
32 |
+
professional setting
|
33 |
+
|
34 |
+
## Our Responsibilities
|
35 |
+
|
36 |
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37 |
+
behavior and are expected to take appropriate and fair corrective action in
|
38 |
+
response to any instances of unacceptable behavior.
|
39 |
+
|
40 |
+
Project maintainers have the right and responsibility to remove, edit, or
|
41 |
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42 |
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43 |
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44 |
+
threatening, offensive, or harmful.
|
45 |
+
|
46 |
+
## Scope
|
47 |
+
|
48 |
+
This Code of Conduct applies both within project spaces and in public spaces
|
49 |
+
when an individual is representing the project or its community. Examples of
|
50 |
+
representing a project or community include using an official project e-mail
|
51 |
+
address, posting via an official social media account, or acting as an appointed
|
52 |
+
representative at an online or offline event. Representation of a project may be
|
53 |
+
further defined and clarified by project maintainers.
|
54 |
+
|
55 |
+
## Enforcement
|
56 |
+
|
57 |
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58 |
+
reported by contacting the project team at hello@cmb2.io. All
|
59 |
+
complaints will be reviewed and investigated and will result in a response that
|
60 |
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61 |
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62 |
+
Further details of specific enforcement policies may be posted separately.
|
63 |
+
|
64 |
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65 |
+
faith may face temporary or permanent repercussions as determined by other
|
66 |
+
members of the project's leadership.
|
67 |
+
|
68 |
+
## Attribution
|
69 |
+
|
70 |
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71 |
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
72 |
+
|
73 |
+
[homepage]: https://www.contributor-covenant.org
|
74 |
+
|
75 |
+
For answers to common questions about this code of conduct, see
|
76 |
+
https://www.contributor-covenant.org/faq
|
includes/lib/cmb2/CONTRIBUTING.md
CHANGED
@@ -9,7 +9,7 @@ Before reporting a bug
|
|
9 |
---
|
10 |
1. Please review the [documentation](https://github.com/CMB2/CMB2/wiki). Most questions revolve around the [field types](https://github.com/CMB2/CMB2/wiki/Field-Types), [field parameters](https://github.com/CMB2/CMB2/wiki/Field-Parameters), or are addressed in the [troubleshooting](https://github.com/CMB2/CMB2/wiki/Troubleshooting) section.
|
11 |
2. Search [issues](https://github.com/CMB2/CMB2/issues) to see if the issue has been previously reported.
|
12 |
-
3. Install the
|
13 |
|
14 |
|
15 |
How to report a bug
|
@@ -26,8 +26,8 @@ All contributions welcome. If you would like to submit a pull request, please fo
|
|
26 |
|
27 |
1. Make sure you have a GitHub account.
|
28 |
2. Fork the repository on GitHub.
|
29 |
-
3. **Check out the
|
30 |
-
4. **Verify your issue still exists in the
|
31 |
5. Make changes to your clone of the repository.
|
32 |
1. Please follow the [WordPress code standards](https://make.wordpress.org/core/handbook/coding-standards).
|
33 |
2. If possible, and if applicable, please also add/update unit tests for your changes.
|
@@ -41,6 +41,14 @@ Translations
|
|
41 |
---
|
42 |
If you are looking to provide language translation files, Please do so via [WordPress Plugin Translations](https://translate.wordpress.org/projects/wp-plugins/cmb2).
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
Additional Resources
|
45 |
---
|
46 |
|
9 |
---
|
10 |
1. Please review the [documentation](https://github.com/CMB2/CMB2/wiki). Most questions revolve around the [field types](https://github.com/CMB2/CMB2/wiki/Field-Types), [field parameters](https://github.com/CMB2/CMB2/wiki/Field-Parameters), or are addressed in the [troubleshooting](https://github.com/CMB2/CMB2/wiki/Troubleshooting) section.
|
11 |
2. Search [issues](https://github.com/CMB2/CMB2/issues) to see if the issue has been previously reported.
|
12 |
+
3. Install the [`develop`](https://github.com/CMB2/CMB2/tree/develop) version of CMB2 and test there.
|
13 |
|
14 |
|
15 |
How to report a bug
|
26 |
|
27 |
1. Make sure you have a GitHub account.
|
28 |
2. Fork the repository on GitHub.
|
29 |
+
3. **Check out the [`develop`](https://github.com/CMB2/CMB2/tree/develop) version of CMB2.** If you submit to the master branch, the PR will be closed with a link back to this document.
|
30 |
+
4. **Verify your issue still exists in the [`develop`](https://github.com/CMB2/CMB2/tree/develop) branch.**
|
31 |
5. Make changes to your clone of the repository.
|
32 |
1. Please follow the [WordPress code standards](https://make.wordpress.org/core/handbook/coding-standards).
|
33 |
2. If possible, and if applicable, please also add/update unit tests for your changes.
|
41 |
---
|
42 |
If you are looking to provide language translation files, Please do so via [WordPress Plugin Translations](https://translate.wordpress.org/projects/wp-plugins/cmb2).
|
43 |
|
44 |
+
Creating/Running Tests
|
45 |
+
---
|
46 |
+
We use PHPUnit and the WordPress test suite for our unit/integration tests.
|
47 |
+
|
48 |
+
1. You can install the WordPress test suite [using the installer](https://github.com/CMB2/CMB2/blob/develop/tests/bin/install-wp-tests.sh#L3): `bash tests/bin/install-wp-tests.sh wordpress_test root ''`. (this will install the test suite in the temp folder on your computer, using a test database with those given credentials)
|
49 |
+
1. Install PHPUnit via composer, `composer install`.
|
50 |
+
1. Once Composer and the WordPress test sutie are installed, you can run phpunit via `./vendor/bin/phpunit` in the CMB2 directory.
|
51 |
+
|
52 |
Additional Resources
|
53 |
---
|
54 |
|
includes/lib/cmb2/LICENSE
ADDED
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 3, 29 June 2007
|
3 |
+
|
4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
5 |
+
Everyone is permitted to copy and distribute verbatim copies
|
6 |
+
of this license document, but changing it is not allowed.
|
7 |
+
|
8 |
+
Preamble
|
9 |
+
|
10 |
+
The GNU General Public License is a free, copyleft license for
|
11 |
+
software and other kinds of works.
|
12 |
+
|
13 |
+
The licenses for most software and other practical works are designed
|
14 |
+
to take away your freedom to share and change the works. By contrast,
|
15 |
+
the GNU General Public License is intended to guarantee your freedom to
|
16 |
+
share and change all versions of a program--to make sure it remains free
|
17 |
+
software for all its users. We, the Free Software Foundation, use the
|
18 |
+
GNU General Public License for most of our software; it applies also to
|
19 |
+
any other work released this way by its authors. You can apply it to
|
20 |
+
your programs, too.
|
21 |
+
|
22 |
+
When we speak of free software, we are referring to freedom, not
|
23 |
+
price. Our General Public Licenses are designed to make sure that you
|
24 |
+
have the freedom to distribute copies of free software (and charge for
|
25 |
+
them if you wish), that you receive source code or can get it if you
|
26 |
+
want it, that you can change the software or use pieces of it in new
|
27 |
+
free programs, and that you know you can do these things.
|
28 |
+
|
29 |
+
To protect your rights, we need to prevent others from denying you
|
30 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
31 |
+
certain responsibilities if you distribute copies of the software, or if
|
32 |
+
you modify it: responsibilities to respect the freedom of others.
|
33 |
+
|
34 |
+
For example, if you distribute copies of such a program, whether
|
35 |
+
gratis or for a fee, you must pass on to the recipients the same
|
36 |
+
freedoms that you received. You must make sure that they, too, receive
|
37 |
+
or can get the source code. And you must show them these terms so they
|
38 |
+
know their rights.
|
39 |
+
|
40 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
41 |
+
(1) assert copyright on the software, and (2) offer you this License
|
42 |
+
giving you legal permission to copy, distribute and/or modify it.
|
43 |
+
|
44 |
+
For the developers' and authors' protection, the GPL clearly explains
|
45 |
+
that there is no warranty for this free software. For both users' and
|
46 |
+
authors' sake, the GPL requires that modified versions be marked as
|
47 |
+
changed, so that their problems will not be attributed erroneously to
|
48 |
+
authors of previous versions.
|
49 |
+
|
50 |
+
Some devices are designed to deny users access to install or run
|
51 |
+
modified versions of the software inside them, although the manufacturer
|
52 |
+
can do so. This is fundamentally incompatible with the aim of
|
53 |
+
protecting users' freedom to change the software. The systematic
|
54 |
+
pattern of such abuse occurs in the area of products for individuals to
|
55 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
56 |
+
have designed this version of the GPL to prohibit the practice for those
|
57 |
+
products. If such problems arise substantially in other domains, we
|
58 |
+
stand ready to extend this provision to those domains in future versions
|
59 |
+
of the GPL, as needed to protect the freedom of users.
|
60 |
+
|
61 |
+
Finally, every program is threatened constantly by software patents.
|
62 |
+
States should not allow patents to restrict development and use of
|
63 |
+
software on general-purpose computers, but in those that do, we wish to
|
64 |
+
avoid the special danger that patents applied to a free program could
|
65 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
66 |
+
patents cannot be used to render the program non-free.
|
67 |
+
|
68 |
+
The precise terms and conditions for copying, distribution and
|
69 |
+
modification follow.
|
70 |
+
|
71 |
+
TERMS AND CONDITIONS
|
72 |
+
|
73 |
+
0. Definitions.
|
74 |
+
|
75 |
+
"This License" refers to version 3 of the GNU General Public License.
|
76 |
+
|
77 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
78 |
+
works, such as semiconductor masks.
|
79 |
+
|
80 |
+
"The Program" refers to any copyrightable work licensed under this
|
81 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
82 |
+
"recipients" may be individuals or organizations.
|
83 |
+
|
84 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
85 |
+
in a fashion requiring copyright permission, other than the making of an
|
86 |
+
exact copy. The resulting work is called a "modified version" of the
|
87 |
+
earlier work or a work "based on" the earlier work.
|
88 |
+
|
89 |
+
A "covered work" means either the unmodified Program or a work based
|
90 |
+
on the Program.
|
91 |
+
|
92 |
+
To "propagate" a work means to do anything with it that, without
|
93 |
+
permission, would make you directly or secondarily liable for
|
94 |
+
infringement under applicable copyright law, except executing it on a
|
95 |
+
computer or modifying a private copy. Propagation includes copying,
|
96 |
+
distribution (with or without modification), making available to the
|
97 |
+
public, and in some countries other activities as well.
|
98 |
+
|
99 |
+
To "convey" a work means any kind of propagation that enables other
|
100 |
+
parties to make or receive copies. Mere interaction with a user through
|
101 |
+
a computer network, with no transfer of a copy, is not conveying.
|
102 |
+
|
103 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
104 |
+
to the extent that it includes a convenient and prominently visible
|
105 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
106 |
+
tells the user that there is no warranty for the work (except to the
|
107 |
+
extent that warranties are provided), that licensees may convey the
|
108 |
+
work under this License, and how to view a copy of this License. If
|
109 |
+
the interface presents a list of user commands or options, such as a
|
110 |
+
menu, a prominent item in the list meets this criterion.
|
111 |
+
|
112 |
+
1. Source Code.
|
113 |
+
|
114 |
+
The "source code" for a work means the preferred form of the work
|
115 |
+
for making modifications to it. "Object code" means any non-source
|
116 |
+
form of a work.
|
117 |
+
|
118 |
+
A "Standard Interface" means an interface that either is an official
|
119 |
+
standard defined by a recognized standards body, or, in the case of
|
120 |
+
interfaces specified for a particular programming language, one that
|
121 |
+
is widely used among developers working in that language.
|
122 |
+
|
123 |
+
The "System Libraries" of an executable work include anything, other
|
124 |
+
than the work as a whole, that (a) is included in the normal form of
|
125 |
+
packaging a Major Component, but which is not part of that Major
|
126 |
+
Component, and (b) serves only to enable use of the work with that
|
127 |
+
Major Component, or to implement a Standard Interface for which an
|
128 |
+
implementation is available to the public in source code form. A
|
129 |
+
"Major Component", in this context, means a major essential component
|
130 |
+
(kernel, window system, and so on) of the specific operating system
|
131 |
+
(if any) on which the executable work runs, or a compiler used to
|
132 |
+
produce the work, or an object code interpreter used to run it.
|
133 |
+
|
134 |
+
The "Corresponding Source" for a work in object code form means all
|
135 |
+
the source code needed to generate, install, and (for an executable
|
136 |
+
work) run the object code and to modify the work, including scripts to
|
137 |
+
control those activities. However, it does not include the work's
|
138 |
+
System Libraries, or general-purpose tools or generally available free
|
139 |
+
programs which are used unmodified in performing those activities but
|
140 |
+
which are not part of the work. For example, Corresponding Source
|
141 |
+
includes interface definition files associated with source files for
|
142 |
+
the work, and the source code for shared libraries and dynamically
|
143 |
+
linked subprograms that the work is specifically designed to require,
|
144 |
+
such as by intimate data communication or control flow between those
|
145 |
+
subprograms and other parts of the work.
|
146 |
+
|
147 |
+
The Corresponding Source need not include anything that users
|
148 |
+
can regenerate automatically from other parts of the Corresponding
|
149 |
+
Source.
|
150 |
+
|
151 |
+
The Corresponding Source for a work in source code form is that
|
152 |
+
same work.
|
153 |
+
|
154 |
+
2. Basic Permissions.
|
155 |
+
|
156 |
+
All rights granted under this License are granted for the term of
|
157 |
+
copyright on the Program, and are irrevocable provided the stated
|
158 |
+
conditions are met. This License explicitly affirms your unlimited
|
159 |
+
permission to run the unmodified Program. The output from running a
|
160 |
+
covered work is covered by this License only if the output, given its
|
161 |
+
content, constitutes a covered work. This License acknowledges your
|
162 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
163 |
+
|
164 |
+
You may make, run and propagate covered works that you do not
|
165 |
+
convey, without conditions so long as your license otherwise remains
|
166 |
+
in force. You may convey covered works to others for the sole purpose
|
167 |
+
of having them make modifications exclusively for you, or provide you
|
168 |
+
with facilities for running those works, provided that you comply with
|
169 |
+
the terms of this License in conveying all material for which you do
|
170 |
+
not control copyright. Those thus making or running the covered works
|
171 |
+
for you must do so exclusively on your behalf, under your direction
|
172 |
+
and control, on terms that prohibit them from making any copies of
|
173 |
+
your copyrighted material outside their relationship with you.
|
174 |
+
|
175 |
+
Conveying under any other circumstances is permitted solely under
|
176 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
177 |
+
makes it unnecessary.
|
178 |
+
|
179 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
180 |
+
|
181 |
+
No covered work shall be deemed part of an effective technological
|
182 |
+
measure under any applicable law fulfilling obligations under article
|
183 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
184 |
+
similar laws prohibiting or restricting circumvention of such
|
185 |
+
measures.
|
186 |
+
|
187 |
+
When you convey a covered work, you waive any legal power to forbid
|
188 |
+
circumvention of technological measures to the extent such circumvention
|
189 |
+
is effected by exercising rights under this License with respect to
|
190 |
+
the covered work, and you disclaim any intention to limit operation or
|
191 |
+
modification of the work as a means of enforcing, against the work's
|
192 |
+
users, your or third parties' legal rights to forbid circumvention of
|
193 |
+
technological measures.
|
194 |
+
|
195 |
+
4. Conveying Verbatim Copies.
|
196 |
+
|
197 |
+
You may convey verbatim copies of the Program's source code as you
|
198 |
+
receive it, in any medium, provided that you conspicuously and
|
199 |
+
appropriately publish on each copy an appropriate copyright notice;
|
200 |
+
keep intact all notices stating that this License and any
|
201 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
202 |
+
keep intact all notices of the absence of any warranty; and give all
|
203 |
+
recipients a copy of this License along with the Program.
|
204 |
+
|
205 |
+
You may charge any price or no price for each copy that you convey,
|
206 |
+
and you may offer support or warranty protection for a fee.
|
207 |
+
|
208 |
+
5. Conveying Modified Source Versions.
|
209 |
+
|
210 |
+
You may convey a work based on the Program, or the modifications to
|
211 |
+
produce it from the Program, in the form of source code under the
|
212 |
+
terms of section 4, provided that you also meet all of these conditions:
|
213 |
+
|
214 |
+
a) The work must carry prominent notices stating that you modified
|
215 |
+
it, and giving a relevant date.
|
216 |
+
|
217 |
+
b) The work must carry prominent notices stating that it is
|
218 |
+
released under this License and any conditions added under section
|
219 |
+
7. This requirement modifies the requirement in section 4 to
|
220 |
+
"keep intact all notices".
|
221 |
+
|
222 |
+
c) You must license the entire work, as a whole, under this
|
223 |
+
License to anyone who comes into possession of a copy. This
|
224 |
+
License will therefore apply, along with any applicable section 7
|
225 |
+
additional terms, to the whole of the work, and all its parts,
|
226 |
+
regardless of how they are packaged. This License gives no
|
227 |
+
permission to license the work in any other way, but it does not
|
228 |
+
invalidate such permission if you have separately received it.
|
229 |
+
|
230 |
+
d) If the work has interactive user interfaces, each must display
|
231 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
232 |
+
interfaces that do not display Appropriate Legal Notices, your
|
233 |
+
work need not make them do so.
|
234 |
+
|
235 |
+
A compilation of a covered work with other separate and independent
|
236 |
+
works, which are not by their nature extensions of the covered work,
|
237 |
+
and which are not combined with it such as to form a larger program,
|
238 |
+
in or on a volume of a storage or distribution medium, is called an
|
239 |
+
"aggregate" if the compilation and its resulting copyright are not
|
240 |
+
used to limit the access or legal rights of the compilation's users
|
241 |
+
beyond what the individual works permit. Inclusion of a covered work
|
242 |
+
in an aggregate does not cause this License to apply to the other
|
243 |
+
parts of the aggregate.
|
244 |
+
|
245 |
+
6. Conveying Non-Source Forms.
|
246 |
+
|
247 |
+
You may convey a covered work in object code form under the terms
|
248 |
+
of sections 4 and 5, provided that you also convey the
|
249 |
+
machine-readable Corresponding Source under the terms of this License,
|
250 |
+
in one of these ways:
|
251 |
+
|
252 |
+
a) Convey the object code in, or embodied in, a physical product
|
253 |
+
(including a physical distribution medium), accompanied by the
|
254 |
+
Corresponding Source fixed on a durable physical medium
|
255 |
+
customarily used for software interchange.
|
256 |
+
|
257 |
+
b) Convey the object code in, or embodied in, a physical product
|
258 |
+
(including a physical distribution medium), accompanied by a
|
259 |
+
written offer, valid for at least three years and valid for as
|
260 |
+
long as you offer spare parts or customer support for that product
|
261 |
+
model, to give anyone who possesses the object code either (1) a
|
262 |
+
copy of the Corresponding Source for all the software in the
|
263 |
+
product that is covered by this License, on a durable physical
|
264 |
+
medium customarily used for software interchange, for a price no
|
265 |
+
more than your reasonable cost of physically performing this
|
266 |
+
conveying of source, or (2) access to copy the
|
267 |
+
Corresponding Source from a network server at no charge.
|
268 |
+
|
269 |
+
c) Convey individual copies of the object code with a copy of the
|
270 |
+
written offer to provide the Corresponding Source. This
|
271 |
+
alternative is allowed only occasionally and noncommercially, and
|
272 |
+
only if you received the object code with such an offer, in accord
|
273 |
+
with subsection 6b.
|
274 |
+
|
275 |
+
d) Convey the object code by offering access from a designated
|
276 |
+
place (gratis or for a charge), and offer equivalent access to the
|
277 |
+
Corresponding Source in the same way through the same place at no
|
278 |
+
further charge. You need not require recipients to copy the
|
279 |
+
Corresponding Source along with the object code. If the place to
|
280 |
+
copy the object code is a network server, the Corresponding Source
|
281 |
+
may be on a different server (operated by you or a third party)
|
282 |
+
that supports equivalent copying facilities, provided you maintain
|
283 |
+
clear directions next to the object code saying where to find the
|
284 |
+
Corresponding Source. Regardless of what server hosts the
|
285 |
+
Corresponding Source, you remain obligated to ensure that it is
|
286 |
+
available for as long as needed to satisfy these requirements.
|
287 |
+
|
288 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
289 |
+
you inform other peers where the object code and Corresponding
|
290 |
+
Source of the work are being offered to the general public at no
|
291 |
+
charge under subsection 6d.
|
292 |
+
|
293 |
+
A separable portion of the object code, whose source code is excluded
|
294 |
+
from the Corresponding Source as a System Library, need not be
|
295 |
+
included in conveying the object code work.
|
296 |
+
|
297 |
+
A "User Product" is either (1) a "consumer product", which means any
|
298 |
+
tangible personal property which is normally used for personal, family,
|
299 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
300 |
+
into a dwelling. In determining whether a product is a consumer product,
|
301 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
302 |
+
product received by a particular user, "normally used" refers to a
|
303 |
+
typical or common use of that class of product, regardless of the status
|
304 |
+
of the particular user or of the way in which the particular user
|
305 |
+
actually uses, or expects or is expected to use, the product. A product
|
306 |
+
is a consumer product regardless of whether the product has substantial
|
307 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
308 |
+
the only significant mode of use of the product.
|
309 |
+
|
310 |
+
"Installation Information" for a User Product means any methods,
|
311 |
+
procedures, authorization keys, or other information required to install
|
312 |
+
and execute modified versions of a covered work in that User Product from
|
313 |
+
a modified version of its Corresponding Source. The information must
|
314 |
+
suffice to ensure that the continued functioning of the modified object
|
315 |
+
code is in no case prevented or interfered with solely because
|
316 |
+
modification has been made.
|
317 |
+
|
318 |
+
If you convey an object code work under this section in, or with, or
|
319 |
+
specifically for use in, a User Product, and the conveying occurs as
|
320 |
+
part of a transaction in which the right of possession and use of the
|
321 |
+
User Product is transferred to the recipient in perpetuity or for a
|
322 |
+
fixed term (regardless of how the transaction is characterized), the
|
323 |
+
Corresponding Source conveyed under this section must be accompanied
|
324 |
+
by the Installation Information. But this requirement does not apply
|
325 |
+
if neither you nor any third party retains the ability to install
|
326 |
+
modified object code on the User Product (for example, the work has
|
327 |
+
been installed in ROM).
|
328 |
+
|
329 |
+
The requirement to provide Installation Information does not include a
|
330 |
+
requirement to continue to provide support service, warranty, or updates
|
331 |
+
for a work that has been modified or installed by the recipient, or for
|
332 |
+
the User Product in which it has been modified or installed. Access to a
|
333 |
+
network may be denied when the modification itself materially and
|
334 |
+
adversely affects the operation of the network or violates the rules and
|
335 |
+
protocols for communication across the network.
|
336 |
+
|
337 |
+
Corresponding Source conveyed, and Installation Information provided,
|
338 |
+
in accord with this section must be in a format that is publicly
|
339 |
+
documented (and with an implementation available to the public in
|
340 |
+
source code form), and must require no special password or key for
|
341 |
+
unpacking, reading or copying.
|
342 |
+
|
343 |
+
7. Additional Terms.
|
344 |
+
|
345 |
+
"Additional permissions" are terms that supplement the terms of this
|
346 |
+
License by making exceptions from one or more of its conditions.
|
347 |
+
Additional permissions that are applicable to the entire Program shall
|
348 |
+
be treated as though they were included in this License, to the extent
|
349 |
+
that they are valid under applicable law. If additional permissions
|
350 |
+
apply only to part of the Program, that part may be used separately
|
351 |
+
under those permissions, but the entire Program remains governed by
|
352 |
+
this License without regard to the additional permissions.
|
353 |
+
|
354 |
+
When you convey a copy of a covered work, you may at your option
|
355 |
+
remove any additional permissions from that copy, or from any part of
|
356 |
+
it. (Additional permissions may be written to require their own
|
357 |
+
removal in certain cases when you modify the work.) You may place
|
358 |
+
additional permissions on material, added by you to a covered work,
|
359 |
+
for which you have or can give appropriate copyright permission.
|
360 |
+
|
361 |
+
Notwithstanding any other provision of this License, for material you
|
362 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
363 |
+
that material) supplement the terms of this License with terms:
|
364 |
+
|
365 |
+
a) Disclaiming warranty or limiting liability differently from the
|
366 |
+
terms of sections 15 and 16 of this License; or
|
367 |
+
|
368 |
+
b) Requiring preservation of specified reasonable legal notices or
|
369 |
+
author attributions in that material or in the Appropriate Legal
|
370 |
+
Notices displayed by works containing it; or
|
371 |
+
|
372 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
373 |
+
requiring that modified versions of such material be marked in
|
374 |
+
reasonable ways as different from the original version; or
|
375 |
+
|
376 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
377 |
+
authors of the material; or
|
378 |
+
|
379 |
+
e) Declining to grant rights under trademark law for use of some
|
380 |
+
trade names, trademarks, or service marks; or
|
381 |
+
|
382 |
+
f) Requiring indemnification of licensors and authors of that
|
383 |
+
material by anyone who conveys the material (or modified versions of
|
384 |
+
it) with contractual assumptions of liability to the recipient, for
|
385 |
+
any liability that these contractual assumptions directly impose on
|
386 |
+
those licensors and authors.
|
387 |
+
|
388 |
+
All other non-permissive additional terms are considered "further
|
389 |
+
restrictions" within the meaning of section 10. If the Program as you
|
390 |
+
received it, or any part of it, contains a notice stating that it is
|
391 |
+
governed by this License along with a term that is a further
|
392 |
+
restriction, you may remove that term. If a license document contains
|
393 |
+
a further restriction but permits relicensing or conveying under this
|
394 |
+
License, you may add to a covered work material governed by the terms
|
395 |
+
of that license document, provided that the further restriction does
|
396 |
+
not survive such relicensing or conveying.
|
397 |
+
|
398 |
+
If you add terms to a covered work in accord with this section, you
|
399 |
+
must place, in the relevant source files, a statement of the
|
400 |
+
additional terms that apply to those files, or a notice indicating
|
401 |
+
where to find the applicable terms.
|
402 |
+
|
403 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
404 |
+
form of a separately written license, or stated as exceptions;
|
405 |
+
the above requirements apply either way.
|
406 |
+
|
407 |
+
8. Termination.
|
408 |
+
|
409 |
+
You may not propagate or modify a covered work except as expressly
|
410 |
+
provided under this License. Any attempt otherwise to propagate or
|
411 |
+
modify it is void, and will automatically terminate your rights under
|
412 |
+
this License (including any patent licenses granted under the third
|
413 |
+
paragraph of section 11).
|
414 |
+
|
415 |
+
However, if you cease all violation of this License, then your
|
416 |
+
license from a particular copyright holder is reinstated (a)
|
417 |
+
provisionally, unless and until the copyright holder explicitly and
|
418 |
+
finally terminates your license, and (b) permanently, if the copyright
|
419 |
+
holder fails to notify you of the violation by some reasonable means
|
420 |
+
prior to 60 days after the cessation.
|
421 |
+
|
422 |
+
Moreover, your license from a particular copyright holder is
|
423 |
+
reinstated permanently if the copyright holder notifies you of the
|
424 |
+
violation by some reasonable means, this is the first time you have
|
425 |
+
received notice of violation of this License (for any work) from that
|
426 |
+
copyright holder, and you cure the violation prior to 30 days after
|
427 |
+
your receipt of the notice.
|
428 |
+
|
429 |
+
Termination of your rights under this section does not terminate the
|
430 |
+
licenses of parties who have received copies or rights from you under
|
431 |
+
this License. If your rights have been terminated and not permanently
|
432 |
+
reinstated, you do not qualify to receive new licenses for the same
|
433 |
+
material under section 10.
|
434 |
+
|
435 |
+
9. Acceptance Not Required for Having Copies.
|
436 |
+
|
437 |
+
You are not required to accept this License in order to receive or
|
438 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
439 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
440 |
+
to receive a copy likewise does not require acceptance. However,
|
441 |
+
nothing other than this License grants you permission to propagate or
|
442 |
+
modify any covered work. These actions infringe copyright if you do
|
443 |
+
not accept this License. Therefore, by modifying or propagating a
|
444 |
+
covered work, you indicate your acceptance of this License to do so.
|
445 |
+
|
446 |
+
10. Automatic Licensing of Downstream Recipients.
|
447 |
+
|
448 |
+
Each time you convey a covered work, the recipient automatically
|
449 |
+
receives a license from the original licensors, to run, modify and
|
450 |
+
propagate that work, subject to this License. You are not responsible
|
451 |
+
for enforcing compliance by third parties with this License.
|
452 |
+
|
453 |
+
An "entity transaction" is a transaction transferring control of an
|
454 |
+
organization, or substantially all assets of one, or subdividing an
|
455 |
+
organization, or merging organizations. If propagation of a covered
|
456 |
+
work results from an entity transaction, each party to that
|
457 |
+
transaction who receives a copy of the work also receives whatever
|
458 |
+
licenses to the work the party's predecessor in interest had or could
|
459 |
+
give under the previous paragraph, plus a right to possession of the
|
460 |
+
Corresponding Source of the work from the predecessor in interest, if
|
461 |
+
the predecessor has it or can get it with reasonable efforts.
|
462 |
+
|
463 |
+
You may not impose any further restrictions on the exercise of the
|
464 |
+
rights granted or affirmed under this License. For example, you may
|
465 |
+
not impose a license fee, royalty, or other charge for exercise of
|
466 |
+
rights granted under this License, and you may not initiate litigation
|
467 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
468 |
+
any patent claim is infringed by making, using, selling, offering for
|
469 |
+
sale, or importing the Program or any portion of it.
|
470 |
+
|
471 |
+
11. Patents.
|
472 |
+
|
473 |
+
A "contributor" is a copyright holder who authorizes use under this
|
474 |
+
License of the Program or a work on which the Program is based. The
|
475 |
+
work thus licensed is called the contributor's "contributor version".
|
476 |
+
|
477 |
+
A contributor's "essential patent claims" are all patent claims
|
478 |
+
owned or controlled by the contributor, whether already acquired or
|
479 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
480 |
+
by this License, of making, using, or selling its contributor version,
|
481 |
+
but do not include claims that would be infringed only as a
|
482 |
+
consequence of further modification of the contributor version. For
|
483 |
+
purposes of this definition, "control" includes the right to grant
|
484 |
+
patent sublicenses in a manner consistent with the requirements of
|
485 |
+
this License.
|
486 |
+
|
487 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
488 |
+
patent license under the contributor's essential patent claims, to
|
489 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
490 |
+
propagate the contents of its contributor version.
|
491 |
+
|
492 |
+
In the following three paragraphs, a "patent license" is any express
|
493 |
+
agreement or commitment, however denominated, not to enforce a patent
|
494 |
+
(such as an express permission to practice a patent or covenant not to
|
495 |
+
sue for patent infringement). To "grant" such a patent license to a
|
496 |
+
party means to make such an agreement or commitment not to enforce a
|
497 |
+
patent against the party.
|
498 |
+
|
499 |
+
If you convey a covered work, knowingly relying on a patent license,
|
500 |
+
and the Corresponding Source of the work is not available for anyone
|
501 |
+
to copy, free of charge and under the terms of this License, through a
|
502 |
+
publicly available network server or other readily accessible means,
|
503 |
+
then you must either (1) cause the Corresponding Source to be so
|
504 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
505 |
+
patent license for this particular work, or (3) arrange, in a manner
|
506 |
+
consistent with the requirements of this License, to extend the patent
|
507 |
+
license to downstream recipients. "Knowingly relying" means you have
|
508 |
+
actual knowledge that, but for the patent license, your conveying the
|
509 |
+
covered work in a country, or your recipient's use of the covered work
|
510 |
+
in a country, would infringe one or more identifiable patents in that
|
511 |
+
country that you have reason to believe are valid.
|
512 |
+
|
513 |
+
If, pursuant to or in connection with a single transaction or
|
514 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
515 |
+
covered work, and grant a patent license to some of the parties
|
516 |
+
receiving the covered work authorizing them to use, propagate, modify
|
517 |
+
or convey a specific copy of the covered work, then the patent license
|
518 |
+
you grant is automatically extended to all recipients of the covered
|
519 |
+
work and works based on it.
|
520 |
+
|
521 |
+
A patent license is "discriminatory" if it does not include within
|
522 |
+
the scope of its coverage, prohibits the exercise of, or is
|
523 |
+
conditioned on the non-exercise of one or more of the rights that are
|
524 |
+
specifically granted under this License. You may not convey a covered
|
525 |
+
work if you are a party to an arrangement with a third party that is
|
526 |
+
in the business of distributing software, under which you make payment
|
527 |
+
to the third party based on the extent of your activity of conveying
|
528 |
+
the work, and under which the third party grants, to any of the
|
529 |
+
parties who would receive the covered work from you, a discriminatory
|
530 |
+
patent license (a) in connection with copies of the covered work
|
531 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
532 |
+
for and in connection with specific products or compilations that
|
533 |
+
contain the covered work, unless you entered into that arrangement,
|
534 |
+
or that patent license was granted, prior to 28 March 2007.
|
535 |
+
|
536 |
+
Nothing in this License shall be construed as excluding or limiting
|
537 |
+
any implied license or other defenses to infringement that may
|
538 |
+
otherwise be available to you under applicable patent law.
|
539 |
+
|
540 |
+
12. No Surrender of Others' Freedom.
|
541 |
+
|
542 |
+
If conditions are imposed on you (whether by court order, agreement or
|
543 |
+
otherwise) that contradict the conditions of this License, they do not
|
544 |
+
excuse you from the conditions of this License. If you cannot convey a
|
545 |
+
covered work so as to satisfy simultaneously your obligations under this
|
546 |
+
License and any other pertinent obligations, then as a consequence you may
|
547 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
548 |
+
to collect a royalty for further conveying from those to whom you convey
|
549 |
+
the Program, the only way you could satisfy both those terms and this
|
550 |
+
License would be to refrain entirely from conveying the Program.
|
551 |
+
|
552 |
+
13. Use with the GNU Affero General Public License.
|
553 |
+
|
554 |
+
Notwithstanding any other provision of this License, you have
|
555 |
+
permission to link or combine any covered work with a work licensed
|
556 |
+
under version 3 of the GNU Affero General Public License into a single
|
557 |
+
combined work, and to convey the resulting work. The terms of this
|
558 |
+
License will continue to apply to the part which is the covered work,
|
559 |
+
but the special requirements of the GNU Affero General Public License,
|
560 |
+
section 13, concerning interaction through a network will apply to the
|
561 |
+
combination as such.
|
562 |
+
|
563 |
+
14. Revised Versions of this License.
|
564 |
+
|
565 |
+
The Free Software Foundation may publish revised and/or new versions of
|
566 |
+
the GNU General Public License from time to time. Such new versions will
|
567 |
+
be similar in spirit to the present version, but may differ in detail to
|
568 |
+
address new problems or concerns.
|
569 |
+
|
570 |
+
Each version is given a distinguishing version number. If the
|
571 |
+
Program specifies that a certain numbered version of the GNU General
|
572 |
+
Public License "or any later version" applies to it, you have the
|
573 |
+
option of following the terms and conditions either of that numbered
|
574 |
+
version or of any later version published by the Free Software
|
575 |
+
Foundation. If the Program does not specify a version number of the
|
576 |
+
GNU General Public License, you may choose any version ever published
|
577 |
+
by the Free Software Foundation.
|
578 |
+
|
579 |
+
If the Program specifies that a proxy can decide which future
|
580 |
+
versions of the GNU General Public License can be used, that proxy's
|
581 |
+
public statement of acceptance of a version permanently authorizes you
|
582 |
+
to choose that version for the Program.
|
583 |
+
|
584 |
+
Later license versions may give you additional or different
|
585 |
+
permissions. However, no additional obligations are imposed on any
|
586 |
+
author or copyright holder as a result of your choosing to follow a
|
587 |
+
later version.
|
588 |
+
|
589 |
+
15. Disclaimer of Warranty.
|
590 |
+
|
591 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
592 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
593 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
594 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
595 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
596 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
597 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
598 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
599 |
+
|
600 |
+
16. Limitation of Liability.
|
601 |
+
|
602 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
603 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
604 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
605 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
606 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
607 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
608 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
609 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
610 |
+
SUCH DAMAGES.
|
611 |
+
|
612 |
+
17. Interpretation of Sections 15 and 16.
|
613 |
+
|
614 |
+
If the disclaimer of warranty and limitation of liability provided
|
615 |
+
above cannot be given local legal effect according to their terms,
|
616 |
+
reviewing courts shall apply local law that most closely approximates
|
617 |
+
an absolute waiver of all civil liability in connection with the
|
618 |
+
Program, unless a warranty or assumption of liability accompanies a
|
619 |
+
copy of the Program in return for a fee.
|
620 |
+
|
621 |
+
END OF TERMS AND CONDITIONS
|
622 |
+
|
623 |
+
How to Apply These Terms to Your New Programs
|
624 |
+
|
625 |
+
If you develop a new program, and you want it to be of the greatest
|
626 |
+
possible use to the public, the best way to achieve this is to make it
|
627 |
+
free software which everyone can redistribute and change under these terms.
|
628 |
+
|
629 |
+
To do so, attach the following notices to the program. It is safest
|
630 |
+
to attach them to the start of each source file to most effectively
|
631 |
+
state the exclusion of warranty; and each file should have at least
|
632 |
+
the "copyright" line and a pointer to where the full notice is found.
|
633 |
+
|
634 |
+
<one line to give the program's name and a brief idea of what it does.>
|
635 |
+
Copyright (C) <year> <name of author>
|
636 |
+
|
637 |
+
This program is free software: you can redistribute it and/or modify
|
638 |
+
it under the terms of the GNU General Public License as published by
|
639 |
+
the Free Software Foundation, either version 3 of the License, or
|
640 |
+
(at your option) any later version.
|
641 |
+
|
642 |
+
This program is distributed in the hope that it will be useful,
|
643 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
644 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
645 |
+
GNU General Public License for more details.
|
646 |
+
|
647 |
+
You should have received a copy of the GNU General Public License
|
648 |
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
649 |
+
|
650 |
+
Also add information on how to contact you by electronic and paper mail.
|
651 |
+
|
652 |
+
If the program does terminal interaction, make it output a short
|
653 |
+
notice like this when it starts in an interactive mode:
|
654 |
+
|
655 |
+
<program> Copyright (C) <year> <name of author>
|
656 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
657 |
+
This is free software, and you are welcome to redistribute it
|
658 |
+
under certain conditions; type `show c' for details.
|
659 |
+
|
660 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
661 |
+
parts of the General Public License. Of course, your program's commands
|
662 |
+
might be different; for a GUI interface, you would use an "about box".
|
663 |
+
|
664 |
+
You should also get your employer (if you work as a programmer) or school,
|
665 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
666 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
667 |
+
<https://www.gnu.org/licenses/>.
|
668 |
+
|
669 |
+
The GNU General Public License does not permit incorporating your program
|
670 |
+
into proprietary programs. If your program is a subroutine library, you
|
671 |
+
may consider it more useful to permit linking proprietary applications with
|
672 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
673 |
+
Public License instead of this License. But first, please read
|
674 |
+
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
includes/lib/cmb2/bootstrap.php
CHANGED
@@ -50,7 +50,7 @@ function cmb2_bootstrap() {
|
|
50 |
do_action( 'cmb2_init_before_hookup' );
|
51 |
|
52 |
/**
|
53 |
-
* Get all created metaboxes, and instantiate
|
54 |
* on metaboxes which require it.
|
55 |
*
|
56 |
* @since 2.0.2
|
50 |
do_action( 'cmb2_init_before_hookup' );
|
51 |
|
52 |
/**
|
53 |
+
* Get all created metaboxes, and instantiate CMB2_Hookup
|
54 |
* on metaboxes which require it.
|
55 |
*
|
56 |
* @since 2.0.2
|
includes/lib/cmb2/css/cmb2-display-rtl.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*!
|
2 |
-
* CMB2 - v2.
|
3 |
* https://cmb2.io
|
4 |
-
* Copyright (c)
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
1 |
/*!
|
2 |
+
* CMB2 - v2.9.0 - 2021-03-03
|
3 |
* https://cmb2.io
|
4 |
+
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
includes/lib/cmb2/css/cmb2-display-rtl.min.css
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
/*! CMB2 - v2.4.2 - 2018-05-29 | https://cmb2.io | Copyright (c) 2018 CMB2 team | Licensed GPLv2 */
|
2 |
.cmb2-colorpicker-swatch span{display:inline-block;width:1em;height:1em;border-radius:1em;float:right;margin-top:3px;margin-left:2px}.cmb2-code{overflow:scroll}.cmb-image-display{max-width:100%;height:auto}.cmb2-display-file-list li{display:inline;margin:0 0 .5em .5em}.cmb2-oembed *{max-width:100%;height:auto}
|
|
|
1 |
.cmb2-colorpicker-swatch span{display:inline-block;width:1em;height:1em;border-radius:1em;float:right;margin-top:3px;margin-left:2px}.cmb2-code{overflow:scroll}.cmb-image-display{max-width:100%;height:auto}.cmb2-display-file-list li{display:inline;margin:0 0 .5em .5em}.cmb2-oembed *{max-width:100%;height:auto}
|
includes/lib/cmb2/css/cmb2-display.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*!
|
2 |
-
* CMB2 - v2.
|
3 |
* https://cmb2.io
|
4 |
-
* Copyright (c)
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
1 |
/*!
|
2 |
+
* CMB2 - v2.9.0 - 2021-03-03
|
3 |
* https://cmb2.io
|
4 |
+
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
includes/lib/cmb2/css/cmb2-display.min.css
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
/*! CMB2 - v2.4.2 - 2018-05-29 | https://cmb2.io | Copyright (c) 2018 CMB2 team | Licensed GPLv2 */
|
2 |
.cmb2-colorpicker-swatch span{display:inline-block;width:1em;height:1em;border-radius:1em;float:left;margin-top:3px;margin-right:2px}.cmb2-code{overflow:scroll}.cmb-image-display{max-width:100%;height:auto}.cmb2-display-file-list li{display:inline;margin:0 .5em .5em 0}.cmb2-oembed *{max-width:100%;height:auto}
|
|
|
1 |
.cmb2-colorpicker-swatch span{display:inline-block;width:1em;height:1em;border-radius:1em;float:left;margin-top:3px;margin-right:2px}.cmb2-code{overflow:scroll}.cmb-image-display{max-width:100%;height:auto}.cmb2-display-file-list li{display:inline;margin:0 .5em .5em 0}.cmb2-oembed *{max-width:100%;height:auto}
|
includes/lib/cmb2/css/cmb2-front-rtl.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*!
|
2 |
-
* CMB2 - v2.
|
3 |
* https://cmb2.io
|
4 |
-
* Copyright (c)
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
@@ -16,133 +16,143 @@
|
|
16 |
/* line 8, sass/partials/_main_wrap.scss */
|
17 |
.cmb2-wrap input,
|
18 |
.cmb2-wrap textarea {
|
19 |
-
font-size: 14px;
|
20 |
max-width: 100%;
|
21 |
-
padding: 5px;
|
22 |
}
|
23 |
-
/* line
|
24 |
-
.cmb2-wrap input[type=text].cmb2-oembed {
|
25 |
width: 100%;
|
26 |
}
|
27 |
-
/* line
|
28 |
.cmb2-wrap textarea {
|
29 |
width: 500px;
|
|
|
30 |
}
|
31 |
-
/* line
|
32 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
33 |
font-family: "Courier 10 Pitch", Courier, monospace;
|
34 |
line-height: 16px;
|
35 |
}
|
36 |
-
/* line
|
37 |
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
38 |
width: 100px;
|
39 |
}
|
40 |
-
/* line
|
41 |
.cmb2-wrap input.cmb2-text-money {
|
42 |
width: 90px;
|
43 |
}
|
44 |
-
/* line
|
45 |
.cmb2-wrap input.cmb2-text-medium {
|
46 |
width: 230px;
|
47 |
}
|
48 |
-
/* line
|
49 |
.cmb2-wrap input.cmb2-upload-file {
|
50 |
width: 65%;
|
51 |
}
|
52 |
-
/* line
|
53 |
.cmb2-wrap input.ed_button {
|
54 |
padding: 2px 4px;
|
55 |
}
|
56 |
-
/* line
|
57 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
58 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
59 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
60 |
margin-right: 20px;
|
61 |
}
|
62 |
-
/* line
|
63 |
.cmb2-wrap ul {
|
64 |
margin: 0;
|
65 |
}
|
66 |
-
/* line
|
67 |
.cmb2-wrap li {
|
68 |
font-size: 14px;
|
69 |
line-height: 16px;
|
70 |
margin: 1px 0 5px 0;
|
71 |
}
|
72 |
-
/* line
|
73 |
.cmb2-wrap select {
|
74 |
font-size: 14px;
|
75 |
margin-top: 3px;
|
76 |
}
|
77 |
-
/* line
|
78 |
.cmb2-wrap input:focus,
|
79 |
.cmb2-wrap textarea:focus {
|
80 |
background: #fffff8;
|
81 |
}
|
82 |
-
/* line
|
83 |
.cmb2-wrap input[type="radio"] {
|
84 |
margin: 0 0 0 5px;
|
85 |
padding: 0;
|
86 |
}
|
87 |
-
/* line
|
88 |
.cmb2-wrap input[type="checkbox"] {
|
89 |
margin: 0 0 0 5px;
|
90 |
padding: 0;
|
91 |
}
|
92 |
-
/* line
|
93 |
.cmb2-wrap button,
|
94 |
.cmb2-wrap .button-secondary {
|
95 |
white-space: nowrap;
|
96 |
}
|
97 |
-
/* line
|
98 |
.cmb2-wrap .mceLayout {
|
99 |
border: 1px solid #e9e9e9 !important;
|
100 |
}
|
101 |
-
/* line
|
102 |
.cmb2-wrap .mceIframeContainer {
|
103 |
background: #ffffff;
|
104 |
}
|
105 |
-
/* line
|
106 |
.cmb2-wrap .meta_mce {
|
107 |
width: 97%;
|
108 |
}
|
109 |
-
/* line
|
110 |
.cmb2-wrap .meta_mce textarea {
|
111 |
width: 100%;
|
112 |
}
|
113 |
-
/* line
|
114 |
-
.cmb2-wrap .
|
115 |
-
|
116 |
-
vertical-align: middle;
|
117 |
}
|
118 |
-
/* line
|
119 |
-
.cmb2-wrap .wp-
|
120 |
-
.cmb2-wrap .wp-picker-
|
121 |
-
margin:
|
|
|
122 |
}
|
123 |
-
/* line
|
124 |
.cmb2-wrap .cmb-row {
|
125 |
margin: 0;
|
126 |
}
|
127 |
-
/* line
|
128 |
.cmb2-wrap .cmb-row:after {
|
129 |
content: '';
|
130 |
clear: both;
|
131 |
display: block;
|
132 |
width: 100%;
|
133 |
}
|
134 |
-
/* line
|
135 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
136 |
padding-top: 0;
|
137 |
padding-bottom: 1em;
|
138 |
}
|
139 |
|
140 |
-
/* line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
.cmb2-metabox {
|
142 |
clear: both;
|
143 |
margin: 0;
|
144 |
}
|
145 |
-
/* line
|
146 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
147 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
148 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
@@ -150,47 +160,46 @@
|
|
150 |
border: 0;
|
151 |
}
|
152 |
|
153 |
-
/* line
|
154 |
.cmb-add-row {
|
155 |
margin: 1.8em 0 0;
|
156 |
}
|
157 |
|
158 |
-
/* line
|
159 |
.cmb-nested .cmb-td,
|
160 |
.cmb-repeatable-group .cmb-th,
|
161 |
.cmb-repeatable-group:first-of-type {
|
162 |
border: 0;
|
163 |
}
|
164 |
|
165 |
-
/* line
|
166 |
.cmb-row:last-of-type,
|
167 |
.cmb2-wrap .cmb-row:last-of-type,
|
168 |
.cmb-repeatable-group:last-of-type {
|
169 |
border-bottom: 0;
|
170 |
}
|
171 |
|
172 |
-
/* line
|
173 |
.cmb-repeatable-grouping {
|
174 |
border: 1px solid #e9e9e9;
|
175 |
padding: 0 1em;
|
176 |
}
|
177 |
-
/* line
|
178 |
.cmb-repeatable-grouping.cmb-row {
|
179 |
margin: 0 0 0.8em;
|
180 |
}
|
181 |
|
182 |
-
/* line
|
183 |
.cmb-th {
|
184 |
color: #222222;
|
185 |
float: right;
|
186 |
font-weight: 600;
|
187 |
-
line-height: 1.3;
|
188 |
padding: 20px 0 20px 10px;
|
189 |
vertical-align: top;
|
190 |
width: 200px;
|
191 |
}
|
192 |
@media (max-width: 450px) {
|
193 |
-
/* line
|
194 |
.cmb-th {
|
195 |
font-size: 1.2em;
|
196 |
display: block;
|
@@ -207,7 +216,7 @@
|
|
207 |
}
|
208 |
}
|
209 |
|
210 |
-
/* line
|
211 |
.cmb-td {
|
212 |
line-height: 1.3;
|
213 |
max-width: 100%;
|
@@ -215,43 +224,43 @@
|
|
215 |
vertical-align: middle;
|
216 |
}
|
217 |
|
218 |
-
/* line
|
219 |
.cmb-type-title .cmb-td {
|
220 |
padding: 0;
|
221 |
}
|
222 |
|
223 |
-
/* line
|
224 |
.cmb-th label {
|
225 |
display: block;
|
226 |
padding: 5px 0;
|
227 |
}
|
228 |
|
229 |
-
/* line
|
230 |
.cmb-th + .cmb-td {
|
231 |
float: right;
|
232 |
}
|
233 |
|
234 |
-
/* line
|
235 |
.cmb-td .cmb-td {
|
236 |
padding-bottom: 1em;
|
237 |
}
|
238 |
|
239 |
-
/* line
|
240 |
.cmb-remove-row {
|
241 |
text-align: left;
|
242 |
}
|
243 |
|
244 |
-
/* line
|
245 |
.empty-row.hidden {
|
246 |
display: none;
|
247 |
}
|
248 |
|
249 |
-
/* line
|
250 |
.cmb-repeat-table {
|
251 |
background-color: #fafafa;
|
252 |
border: 1px solid #e1e1e1;
|
253 |
}
|
254 |
-
/* line
|
255 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
256 |
position: relative;
|
257 |
counter-increment: el;
|
@@ -259,11 +268,15 @@
|
|
259 |
padding: 10px 50px 10px 10px;
|
260 |
border-bottom: none !important;
|
261 |
}
|
262 |
-
/* line
|
263 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
264 |
border-top: solid 1px #e9e9e9;
|
265 |
}
|
266 |
-
/* line
|
|
|
|
|
|
|
|
|
267 |
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
268 |
content: counter(el);
|
269 |
display: block;
|
@@ -273,20 +286,21 @@
|
|
273 |
width: 35px;
|
274 |
height: 100%;
|
275 |
line-height: 35px;
|
276 |
-
|
|
|
277 |
text-align: center;
|
278 |
border-left: solid 1px #e9e9e9;
|
279 |
}
|
280 |
-
/* line
|
281 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
282 |
margin: 0;
|
283 |
padding: 0;
|
284 |
}
|
285 |
-
/* line
|
286 |
.cmb-repeat-table + .cmb-add-row {
|
287 |
margin: 0;
|
288 |
}
|
289 |
-
/* line
|
290 |
.cmb-repeat-table + .cmb-add-row:before {
|
291 |
content: '';
|
292 |
width: 1px;
|
@@ -295,7 +309,7 @@
|
|
295 |
margin-right: 17px;
|
296 |
background-color: gainsboro;
|
297 |
}
|
298 |
-
/* line
|
299 |
.cmb-repeat-table .cmb-remove-row {
|
300 |
top: 7px;
|
301 |
left: 7px;
|
@@ -305,7 +319,7 @@
|
|
305 |
padding: 0 !important;
|
306 |
display: none;
|
307 |
}
|
308 |
-
/* line
|
309 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
310 |
font-size: 20px;
|
311 |
text-indent: -1000px;
|
@@ -315,7 +329,7 @@
|
|
315 |
line-height: 1;
|
316 |
padding: 0 10px 0;
|
317 |
}
|
318 |
-
/* line
|
319 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
320 |
content: "";
|
321 |
font-family: 'Dashicons';
|
@@ -334,16 +348,16 @@
|
|
334 |
height: 100%;
|
335 |
text-align: center;
|
336 |
}
|
337 |
-
/* line
|
338 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
339 |
display: block;
|
340 |
}
|
341 |
|
342 |
-
/* line
|
343 |
.cmb-repeatable-group .cmb-th {
|
344 |
padding: 5px;
|
345 |
}
|
346 |
-
/* line
|
347 |
.cmb-repeatable-group .cmb-group-title {
|
348 |
background-color: #e9e9e9;
|
349 |
padding: 8px 2.2em 8px 12px;
|
@@ -352,7 +366,7 @@
|
|
352 |
font-size: 14px;
|
353 |
line-height: 1.4;
|
354 |
}
|
355 |
-
/* line
|
356 |
.cmb-repeatable-group .cmb-group-title h4 {
|
357 |
border: 0;
|
358 |
margin: 0;
|
@@ -360,12 +374,12 @@
|
|
360 |
font-weight: 500;
|
361 |
padding: 0.5em 0.75em;
|
362 |
}
|
363 |
-
/* line
|
364 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
365 |
display: block;
|
366 |
width: 100%;
|
367 |
}
|
368 |
-
/* line
|
369 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
370 |
font-size: 1.2em;
|
371 |
display: block;
|
@@ -380,66 +394,61 @@
|
|
380 |
margin-top: 0;
|
381 |
margin-bottom: 0.5em;
|
382 |
}
|
383 |
-
/* line
|
384 |
.cmb-repeatable-group .cmb-shift-rows {
|
385 |
-
font-size: 1em;
|
386 |
margin-left: 1em;
|
387 |
-
text-decoration: none;
|
388 |
}
|
389 |
-
/* line
|
390 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons {
|
391 |
-
|
392 |
-
height: 1.5em;
|
393 |
-
line-height: 1.2em;
|
394 |
-
width: 1em;
|
395 |
}
|
396 |
-
/* line
|
397 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons
|
398 |
-
|
399 |
}
|
400 |
-
/* line
|
401 |
.cmb-repeatable-group .cmb2-upload-button {
|
402 |
float: left;
|
403 |
}
|
404 |
|
405 |
-
/* line
|
406 |
p.cmb2-metabox-description {
|
407 |
-
color: #
|
408 |
-
|
409 |
margin: 0;
|
410 |
padding-top: .5em;
|
411 |
}
|
412 |
|
413 |
-
/* line
|
414 |
span.cmb2-metabox-description {
|
415 |
-
color: #
|
416 |
-
|
417 |
}
|
418 |
|
419 |
-
/* line
|
420 |
.cmb2-metabox-title {
|
421 |
margin: 0 0 5px 0;
|
422 |
padding: 5px 0 0 0;
|
423 |
font-size: 14px;
|
424 |
}
|
425 |
|
426 |
-
/* line
|
427 |
.cmb-inline ul {
|
428 |
padding: 4px 0 0 0;
|
429 |
}
|
430 |
|
431 |
-
/* line
|
432 |
.cmb-inline li {
|
433 |
display: inline-block;
|
434 |
padding-left: 18px;
|
435 |
}
|
436 |
|
437 |
-
/* line
|
438 |
.cmb-type-textarea-code pre {
|
439 |
margin: 0;
|
440 |
}
|
441 |
|
442 |
-
/* line
|
443 |
.cmb2-media-status .img-status {
|
444 |
clear: none;
|
445 |
display: inline-block;
|
@@ -447,12 +456,12 @@ span.cmb2-metabox-description {
|
|
447 |
margin-left: 10px;
|
448 |
width: auto;
|
449 |
}
|
450 |
-
/* line
|
451 |
.cmb2-media-status .img-status img {
|
452 |
max-width: 350px;
|
453 |
height: auto;
|
454 |
}
|
455 |
-
/* line
|
456 |
.cmb2-media-status .img-status img,
|
457 |
.cmb2-media-status .embed-status {
|
458 |
background: #eee;
|
@@ -466,16 +475,16 @@ span.cmb2-metabox-description {
|
|
466 |
-moz-border-radius: 2px;
|
467 |
margin: 15px 0 0 0;
|
468 |
}
|
469 |
-
/* line
|
470 |
.cmb2-media-status .embed-status {
|
471 |
float: right;
|
472 |
max-width: 800px;
|
473 |
}
|
474 |
-
/* line
|
475 |
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
476 |
position: relative;
|
477 |
}
|
478 |
-
/* line
|
479 |
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
480 |
background: url(../images/ico-delete.png);
|
481 |
height: 16px;
|
@@ -485,20 +494,20 @@ span.cmb2-metabox-description {
|
|
485 |
top: -5px;
|
486 |
width: 16px;
|
487 |
}
|
488 |
-
/* line
|
489 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
490 |
top: 10px;
|
491 |
}
|
492 |
-
/* line
|
493 |
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
494 |
cursor: pointer;
|
495 |
}
|
496 |
-
/* line
|
497 |
.cmb2-media-status.cmb-attach-list .img-status img, .cmb2-media-status.cmb-attach-list .file-status > span {
|
498 |
cursor: move;
|
499 |
}
|
500 |
|
501 |
-
/* line
|
502 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
503 |
clear: none;
|
504 |
vertical-align: middle;
|
@@ -508,7 +517,7 @@ span.cmb2-metabox-description {
|
|
508 |
margin-top: 0;
|
509 |
}
|
510 |
|
511 |
-
/* line
|
512 |
.cmb-attach-list li {
|
513 |
clear: both;
|
514 |
display: inline-block;
|
@@ -516,29 +525,29 @@ span.cmb2-metabox-description {
|
|
516 |
margin-top: 5px;
|
517 |
margin-bottom: 10px;
|
518 |
}
|
519 |
-
/* line
|
520 |
.cmb-attach-list li img {
|
521 |
float: right;
|
522 |
margin-left: 10px;
|
523 |
}
|
524 |
|
525 |
-
/* line
|
526 |
.cmb2-remove-wrapper {
|
527 |
margin: 0;
|
528 |
}
|
529 |
|
530 |
-
/* line
|
531 |
.child-cmb2 .cmb-th {
|
532 |
text-align: right;
|
533 |
}
|
534 |
|
535 |
-
/* line
|
536 |
.cmb2-indented-hierarchy {
|
537 |
padding-right: 1.5em;
|
538 |
}
|
539 |
|
540 |
@media (max-width: 450px) {
|
541 |
-
/* line
|
542 |
.cmb-th,
|
543 |
.cmb-td,
|
544 |
.cmb-th + .cmb-td {
|
@@ -583,48 +592,49 @@ span.cmb2-metabox-description {
|
|
583 |
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
584 |
left: -1em;
|
585 |
position: relative;
|
|
|
586 |
}
|
587 |
-
/* line
|
588 |
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
589 |
padding: 0 1em;
|
590 |
max-width: 100%;
|
591 |
min-width: 1px !important;
|
592 |
}
|
593 |
-
/* line
|
594 |
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
595 |
padding-bottom: 0;
|
596 |
}
|
597 |
-
/* line
|
598 |
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
599 |
width: 18%;
|
600 |
padding: 0 0 0 2%;
|
601 |
}
|
602 |
-
/* line
|
603 |
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
604 |
margin-bottom: 0;
|
605 |
padding: 0;
|
606 |
line-height: 1.3;
|
607 |
}
|
608 |
-
/* line
|
609 |
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
610 |
width: 80%;
|
611 |
float: left;
|
612 |
}
|
613 |
-
/* line
|
614 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
615 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
616 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
617 |
border-bottom: 1px solid #e9e9e9;
|
618 |
}
|
619 |
@media (max-width: 450px) {
|
620 |
-
/* line
|
621 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
622 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
623 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
624 |
border-bottom: 0;
|
625 |
}
|
626 |
}
|
627 |
-
/* line
|
628 |
.cmb2-postbox .cmb-repeat-group-field,
|
629 |
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
630 |
.cmb-type-group .cmb-remove-field-row {
|
@@ -635,7 +645,11 @@ span.cmb2-metabox-description {
|
|
635 |
* Context Metaboxes
|
636 |
--------------------------------------------------------------*/
|
637 |
/* Metabox collapse arrow indicators */
|
638 |
-
/* line
|
|
|
|
|
|
|
|
|
639 |
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
640 |
content: "\f142";
|
641 |
display: inline-block;
|
@@ -645,79 +659,79 @@ span.cmb2-metabox-description {
|
|
645 |
-moz-osx-font-smoothing: grayscale;
|
646 |
text-decoration: none !important;
|
647 |
}
|
648 |
-
/* line
|
649 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
650 |
content: "\f140";
|
651 |
}
|
652 |
|
653 |
-
/* line
|
654 |
.cmb2-postbox.context-box {
|
655 |
margin-bottom: 10px;
|
656 |
}
|
657 |
-
/* line
|
658 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
659 |
margin-top: 10px;
|
660 |
}
|
661 |
-
/* line
|
662 |
.cmb2-postbox.context-box.context-after_title-box {
|
663 |
margin-top: 10px;
|
664 |
}
|
665 |
-
/* line
|
666 |
.cmb2-postbox.context-box.context-after_editor-box {
|
667 |
margin-top: 20px;
|
668 |
margin-bottom: 0;
|
669 |
}
|
670 |
-
/* line
|
671 |
.cmb2-postbox.context-box.context-form_top-box {
|
672 |
margin-top: 10px;
|
673 |
}
|
674 |
-
/* line
|
675 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
676 |
font-size: 14px;
|
677 |
padding: 8px 12px;
|
678 |
margin: 0;
|
679 |
line-height: 1.4;
|
680 |
}
|
681 |
-
/* line
|
682 |
.cmb2-postbox.context-box .hndle {
|
683 |
cursor: auto;
|
684 |
}
|
685 |
|
686 |
-
/* line
|
687 |
.cmb2-context-wrap {
|
688 |
margin-top: 10px;
|
689 |
}
|
690 |
-
/* line
|
691 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
692 |
margin-left: 300px;
|
693 |
width: auto;
|
694 |
}
|
695 |
-
/* line
|
696 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
697 |
padding: 10px;
|
698 |
}
|
699 |
-
/* line
|
700 |
.cmb2-context-wrap .cmb-th {
|
701 |
padding: 0 0 0 2%;
|
702 |
width: 18%;
|
703 |
}
|
704 |
-
/* line
|
705 |
.cmb2-context-wrap .cmb-td {
|
706 |
width: 80%;
|
707 |
padding: 0;
|
708 |
}
|
709 |
-
/* line
|
710 |
.cmb2-context-wrap .cmb-row {
|
711 |
margin-bottom: 10px;
|
712 |
}
|
713 |
-
/* line
|
714 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
715 |
margin-bottom: 0;
|
716 |
}
|
717 |
|
718 |
/* one column on the post write/edit screen */
|
719 |
@media only screen and (max-width: 850px) {
|
720 |
-
/* line
|
721 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
722 |
margin-left: 0;
|
723 |
}
|
@@ -757,7 +771,7 @@ span.cmb2-metabox-description {
|
|
757 |
--------------------------------------------------------------*/
|
758 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
759 |
.cmb2-metabox .cmbhandle {
|
760 |
-
color: #
|
761 |
float: left;
|
762 |
width: 27px;
|
763 |
height: 30px;
|
@@ -1263,6 +1277,35 @@ span.cmb2-metabox-description {
|
|
1263 |
color: #fff;
|
1264 |
}
|
1265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1266 |
/**
|
1267 |
* CMB2 Frontend
|
1268 |
*/
|
@@ -1322,4 +1365,9 @@ span.cmb2-metabox-description {
|
|
1322 |
margin: 4px 10px 0;
|
1323 |
}
|
1324 |
|
|
|
|
|
|
|
|
|
|
|
1325 |
/*# sourceMappingURL=cmb2-front.css.map */
|
1 |
/*!
|
2 |
+
* CMB2 - v2.9.0 - 2021-03-03
|
3 |
* https://cmb2.io
|
4 |
+
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
16 |
/* line 8, sass/partials/_main_wrap.scss */
|
17 |
.cmb2-wrap input,
|
18 |
.cmb2-wrap textarea {
|
|
|
19 |
max-width: 100%;
|
|
|
20 |
}
|
21 |
+
/* line 15, sass/partials/_main_wrap.scss */
|
22 |
+
.cmb2-wrap input[type="text"].cmb2-oembed {
|
23 |
width: 100%;
|
24 |
}
|
25 |
+
/* line 20, sass/partials/_main_wrap.scss */
|
26 |
.cmb2-wrap textarea {
|
27 |
width: 500px;
|
28 |
+
padding: 8px;
|
29 |
}
|
30 |
+
/* line 24, sass/partials/_main_wrap.scss */
|
31 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
32 |
font-family: "Courier 10 Pitch", Courier, monospace;
|
33 |
line-height: 16px;
|
34 |
}
|
35 |
+
/* line 32, sass/partials/_main_wrap.scss */
|
36 |
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
37 |
width: 100px;
|
38 |
}
|
39 |
+
/* line 38, sass/partials/_main_wrap.scss */
|
40 |
.cmb2-wrap input.cmb2-text-money {
|
41 |
width: 90px;
|
42 |
}
|
43 |
+
/* line 43, sass/partials/_main_wrap.scss */
|
44 |
.cmb2-wrap input.cmb2-text-medium {
|
45 |
width: 230px;
|
46 |
}
|
47 |
+
/* line 48, sass/partials/_main_wrap.scss */
|
48 |
.cmb2-wrap input.cmb2-upload-file {
|
49 |
width: 65%;
|
50 |
}
|
51 |
+
/* line 52, sass/partials/_main_wrap.scss */
|
52 |
.cmb2-wrap input.ed_button {
|
53 |
padding: 2px 4px;
|
54 |
}
|
55 |
+
/* line 57, sass/partials/_main_wrap.scss */
|
56 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
57 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
58 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
59 |
margin-right: 20px;
|
60 |
}
|
61 |
+
/* line 65, sass/partials/_main_wrap.scss */
|
62 |
.cmb2-wrap ul {
|
63 |
margin: 0;
|
64 |
}
|
65 |
+
/* line 69, sass/partials/_main_wrap.scss */
|
66 |
.cmb2-wrap li {
|
67 |
font-size: 14px;
|
68 |
line-height: 16px;
|
69 |
margin: 1px 0 5px 0;
|
70 |
}
|
71 |
+
/* line 80, sass/partials/_main_wrap.scss */
|
72 |
.cmb2-wrap select {
|
73 |
font-size: 14px;
|
74 |
margin-top: 3px;
|
75 |
}
|
76 |
+
/* line 85, sass/partials/_main_wrap.scss */
|
77 |
.cmb2-wrap input:focus,
|
78 |
.cmb2-wrap textarea:focus {
|
79 |
background: #fffff8;
|
80 |
}
|
81 |
+
/* line 90, sass/partials/_main_wrap.scss */
|
82 |
.cmb2-wrap input[type="radio"] {
|
83 |
margin: 0 0 0 5px;
|
84 |
padding: 0;
|
85 |
}
|
86 |
+
/* line 95, sass/partials/_main_wrap.scss */
|
87 |
.cmb2-wrap input[type="checkbox"] {
|
88 |
margin: 0 0 0 5px;
|
89 |
padding: 0;
|
90 |
}
|
91 |
+
/* line 100, sass/partials/_main_wrap.scss */
|
92 |
.cmb2-wrap button,
|
93 |
.cmb2-wrap .button-secondary {
|
94 |
white-space: nowrap;
|
95 |
}
|
96 |
+
/* line 105, sass/partials/_main_wrap.scss */
|
97 |
.cmb2-wrap .mceLayout {
|
98 |
border: 1px solid #e9e9e9 !important;
|
99 |
}
|
100 |
+
/* line 109, sass/partials/_main_wrap.scss */
|
101 |
.cmb2-wrap .mceIframeContainer {
|
102 |
background: #ffffff;
|
103 |
}
|
104 |
+
/* line 113, sass/partials/_main_wrap.scss */
|
105 |
.cmb2-wrap .meta_mce {
|
106 |
width: 97%;
|
107 |
}
|
108 |
+
/* line 116, sass/partials/_main_wrap.scss */
|
109 |
.cmb2-wrap .meta_mce textarea {
|
110 |
width: 100%;
|
111 |
}
|
112 |
+
/* line 122, sass/partials/_main_wrap.scss */
|
113 |
+
.cmb2-wrap .cmb-multicheck-toggle {
|
114 |
+
margin-top: -1em;
|
|
|
115 |
}
|
116 |
+
/* line 127, sass/partials/_main_wrap.scss */
|
117 |
+
.cmb2-wrap .wp-picker-clear.button,
|
118 |
+
.cmb2-wrap .wp-picker-default.button {
|
119 |
+
margin-right: 6px;
|
120 |
+
padding: 2px 8px;
|
121 |
}
|
122 |
+
/* line 133, sass/partials/_main_wrap.scss */
|
123 |
.cmb2-wrap .cmb-row {
|
124 |
margin: 0;
|
125 |
}
|
126 |
+
/* line 136, sass/partials/_main_wrap.scss */
|
127 |
.cmb2-wrap .cmb-row:after {
|
128 |
content: '';
|
129 |
clear: both;
|
130 |
display: block;
|
131 |
width: 100%;
|
132 |
}
|
133 |
+
/* line 143, sass/partials/_main_wrap.scss */
|
134 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
135 |
padding-top: 0;
|
136 |
padding-bottom: 1em;
|
137 |
}
|
138 |
|
139 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
140 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
141 |
+
margin: .1875rem;
|
142 |
+
}
|
143 |
+
@media screen and (max-width: 782px) {
|
144 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
145 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
146 |
+
margin: .4375rem;
|
147 |
+
}
|
148 |
+
}
|
149 |
+
|
150 |
+
/* line 162, sass/partials/_main_wrap.scss */
|
151 |
.cmb2-metabox {
|
152 |
clear: both;
|
153 |
margin: 0;
|
154 |
}
|
155 |
+
/* line 168, sass/partials/_main_wrap.scss */
|
156 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
157 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
158 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
160 |
border: 0;
|
161 |
}
|
162 |
|
163 |
+
/* line 175, sass/partials/_main_wrap.scss */
|
164 |
.cmb-add-row {
|
165 |
margin: 1.8em 0 0;
|
166 |
}
|
167 |
|
168 |
+
/* line 179, sass/partials/_main_wrap.scss */
|
169 |
.cmb-nested .cmb-td,
|
170 |
.cmb-repeatable-group .cmb-th,
|
171 |
.cmb-repeatable-group:first-of-type {
|
172 |
border: 0;
|
173 |
}
|
174 |
|
175 |
+
/* line 185, sass/partials/_main_wrap.scss */
|
176 |
.cmb-row:last-of-type,
|
177 |
.cmb2-wrap .cmb-row:last-of-type,
|
178 |
.cmb-repeatable-group:last-of-type {
|
179 |
border-bottom: 0;
|
180 |
}
|
181 |
|
182 |
+
/* line 191, sass/partials/_main_wrap.scss */
|
183 |
.cmb-repeatable-grouping {
|
184 |
border: 1px solid #e9e9e9;
|
185 |
padding: 0 1em;
|
186 |
}
|
187 |
+
/* line 195, sass/partials/_main_wrap.scss */
|
188 |
.cmb-repeatable-grouping.cmb-row {
|
189 |
margin: 0 0 0.8em;
|
190 |
}
|
191 |
|
192 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
193 |
.cmb-th {
|
194 |
color: #222222;
|
195 |
float: right;
|
196 |
font-weight: 600;
|
|
|
197 |
padding: 20px 0 20px 10px;
|
198 |
vertical-align: top;
|
199 |
width: 200px;
|
200 |
}
|
201 |
@media (max-width: 450px) {
|
202 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
203 |
.cmb-th {
|
204 |
font-size: 1.2em;
|
205 |
display: block;
|
216 |
}
|
217 |
}
|
218 |
|
219 |
+
/* line 216, sass/partials/_main_wrap.scss */
|
220 |
.cmb-td {
|
221 |
line-height: 1.3;
|
222 |
max-width: 100%;
|
224 |
vertical-align: middle;
|
225 |
}
|
226 |
|
227 |
+
/* line 225, sass/partials/_main_wrap.scss */
|
228 |
.cmb-type-title .cmb-td {
|
229 |
padding: 0;
|
230 |
}
|
231 |
|
232 |
+
/* line 230, sass/partials/_main_wrap.scss */
|
233 |
.cmb-th label {
|
234 |
display: block;
|
235 |
padding: 5px 0;
|
236 |
}
|
237 |
|
238 |
+
/* line 235, sass/partials/_main_wrap.scss */
|
239 |
.cmb-th + .cmb-td {
|
240 |
float: right;
|
241 |
}
|
242 |
|
243 |
+
/* line 239, sass/partials/_main_wrap.scss */
|
244 |
.cmb-td .cmb-td {
|
245 |
padding-bottom: 1em;
|
246 |
}
|
247 |
|
248 |
+
/* line 243, sass/partials/_main_wrap.scss */
|
249 |
.cmb-remove-row {
|
250 |
text-align: left;
|
251 |
}
|
252 |
|
253 |
+
/* line 247, sass/partials/_main_wrap.scss */
|
254 |
.empty-row.hidden {
|
255 |
display: none;
|
256 |
}
|
257 |
|
258 |
+
/* line 252, sass/partials/_main_wrap.scss */
|
259 |
.cmb-repeat-table {
|
260 |
background-color: #fafafa;
|
261 |
border: 1px solid #e1e1e1;
|
262 |
}
|
263 |
+
/* line 256, sass/partials/_main_wrap.scss */
|
264 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
265 |
position: relative;
|
266 |
counter-increment: el;
|
268 |
padding: 10px 50px 10px 10px;
|
269 |
border-bottom: none !important;
|
270 |
}
|
271 |
+
/* line 264, sass/partials/_main_wrap.scss */
|
272 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
273 |
border-top: solid 1px #e9e9e9;
|
274 |
}
|
275 |
+
/* line 268, sass/partials/_main_wrap.scss */
|
276 |
+
.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper {
|
277 |
+
outline: dashed 2px #e9e9e9 !important;
|
278 |
+
}
|
279 |
+
/* line 272, sass/partials/_main_wrap.scss */
|
280 |
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
281 |
content: counter(el);
|
282 |
display: block;
|
286 |
width: 35px;
|
287 |
height: 100%;
|
288 |
line-height: 35px;
|
289 |
+
cursor: move;
|
290 |
+
color: #757575;
|
291 |
text-align: center;
|
292 |
border-left: solid 1px #e9e9e9;
|
293 |
}
|
294 |
+
/* line 289, sass/partials/_main_wrap.scss */
|
295 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
296 |
margin: 0;
|
297 |
padding: 0;
|
298 |
}
|
299 |
+
/* line 296, sass/partials/_main_wrap.scss */
|
300 |
.cmb-repeat-table + .cmb-add-row {
|
301 |
margin: 0;
|
302 |
}
|
303 |
+
/* line 299, sass/partials/_main_wrap.scss */
|
304 |
.cmb-repeat-table + .cmb-add-row:before {
|
305 |
content: '';
|
306 |
width: 1px;
|
309 |
margin-right: 17px;
|
310 |
background-color: gainsboro;
|
311 |
}
|
312 |
+
/* line 309, sass/partials/_main_wrap.scss */
|
313 |
.cmb-repeat-table .cmb-remove-row {
|
314 |
top: 7px;
|
315 |
left: 7px;
|
319 |
padding: 0 !important;
|
320 |
display: none;
|
321 |
}
|
322 |
+
/* line 320, sass/partials/_main_wrap.scss */
|
323 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
324 |
font-size: 20px;
|
325 |
text-indent: -1000px;
|
329 |
line-height: 1;
|
330 |
padding: 0 10px 0;
|
331 |
}
|
332 |
+
/* line 331, sass/partials/_main_wrap.scss */
|
333 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
334 |
content: "";
|
335 |
font-family: 'Dashicons';
|
348 |
height: 100%;
|
349 |
text-align: center;
|
350 |
}
|
351 |
+
/* line 337, sass/partials/_main_wrap.scss */
|
352 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
353 |
display: block;
|
354 |
}
|
355 |
|
356 |
+
/* line 345, sass/partials/_main_wrap.scss */
|
357 |
.cmb-repeatable-group .cmb-th {
|
358 |
padding: 5px;
|
359 |
}
|
360 |
+
/* line 349, sass/partials/_main_wrap.scss */
|
361 |
.cmb-repeatable-group .cmb-group-title {
|
362 |
background-color: #e9e9e9;
|
363 |
padding: 8px 2.2em 8px 12px;
|
366 |
font-size: 14px;
|
367 |
line-height: 1.4;
|
368 |
}
|
369 |
+
/* line 357, sass/partials/_main_wrap.scss */
|
370 |
.cmb-repeatable-group .cmb-group-title h4 {
|
371 |
border: 0;
|
372 |
margin: 0;
|
374 |
font-weight: 500;
|
375 |
padding: 0.5em 0.75em;
|
376 |
}
|
377 |
+
/* line 365, sass/partials/_main_wrap.scss */
|
378 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
379 |
display: block;
|
380 |
width: 100%;
|
381 |
}
|
382 |
+
/* line 371, sass/partials/_main_wrap.scss */
|
383 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
384 |
font-size: 1.2em;
|
385 |
display: block;
|
394 |
margin-top: 0;
|
395 |
margin-bottom: 0.5em;
|
396 |
}
|
397 |
+
/* line 375, sass/partials/_main_wrap.scss */
|
398 |
.cmb-repeatable-group .cmb-shift-rows {
|
|
|
399 |
margin-left: 1em;
|
|
|
400 |
}
|
401 |
+
/* line 378, sass/partials/_main_wrap.scss */
|
402 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2 {
|
403 |
+
margin-top: .15em;
|
|
|
|
|
|
|
404 |
}
|
405 |
+
/* line 382, sass/partials/_main_wrap.scss */
|
406 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2 {
|
407 |
+
margin-top: .2em;
|
408 |
}
|
409 |
+
/* line 387, sass/partials/_main_wrap.scss */
|
410 |
.cmb-repeatable-group .cmb2-upload-button {
|
411 |
float: left;
|
412 |
}
|
413 |
|
414 |
+
/* line 393, sass/partials/_main_wrap.scss */
|
415 |
p.cmb2-metabox-description {
|
416 |
+
color: #666;
|
417 |
+
letter-spacing: 0.01em;
|
418 |
margin: 0;
|
419 |
padding-top: .5em;
|
420 |
}
|
421 |
|
422 |
+
/* line 400, sass/partials/_main_wrap.scss */
|
423 |
span.cmb2-metabox-description {
|
424 |
+
color: #666;
|
425 |
+
letter-spacing: 0.01em;
|
426 |
}
|
427 |
|
428 |
+
/* line 405, sass/partials/_main_wrap.scss */
|
429 |
.cmb2-metabox-title {
|
430 |
margin: 0 0 5px 0;
|
431 |
padding: 5px 0 0 0;
|
432 |
font-size: 14px;
|
433 |
}
|
434 |
|
435 |
+
/* line 411, sass/partials/_main_wrap.scss */
|
436 |
.cmb-inline ul {
|
437 |
padding: 4px 0 0 0;
|
438 |
}
|
439 |
|
440 |
+
/* line 415, sass/partials/_main_wrap.scss */
|
441 |
.cmb-inline li {
|
442 |
display: inline-block;
|
443 |
padding-left: 18px;
|
444 |
}
|
445 |
|
446 |
+
/* line 420, sass/partials/_main_wrap.scss */
|
447 |
.cmb-type-textarea-code pre {
|
448 |
margin: 0;
|
449 |
}
|
450 |
|
451 |
+
/* line 426, sass/partials/_main_wrap.scss */
|
452 |
.cmb2-media-status .img-status {
|
453 |
clear: none;
|
454 |
display: inline-block;
|
456 |
margin-left: 10px;
|
457 |
width: auto;
|
458 |
}
|
459 |
+
/* line 433, sass/partials/_main_wrap.scss */
|
460 |
.cmb2-media-status .img-status img {
|
461 |
max-width: 350px;
|
462 |
height: auto;
|
463 |
}
|
464 |
+
/* line 439, sass/partials/_main_wrap.scss */
|
465 |
.cmb2-media-status .img-status img,
|
466 |
.cmb2-media-status .embed-status {
|
467 |
background: #eee;
|
475 |
-moz-border-radius: 2px;
|
476 |
margin: 15px 0 0 0;
|
477 |
}
|
478 |
+
/* line 453, sass/partials/_main_wrap.scss */
|
479 |
.cmb2-media-status .embed-status {
|
480 |
float: right;
|
481 |
max-width: 800px;
|
482 |
}
|
483 |
+
/* line 458, sass/partials/_main_wrap.scss */
|
484 |
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
485 |
position: relative;
|
486 |
}
|
487 |
+
/* line 461, sass/partials/_main_wrap.scss */
|
488 |
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
489 |
background: url(../images/ico-delete.png);
|
490 |
height: 16px;
|
494 |
top: -5px;
|
495 |
width: 16px;
|
496 |
}
|
497 |
+
/* line 475, sass/partials/_main_wrap.scss */
|
498 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
499 |
top: 10px;
|
500 |
}
|
501 |
+
/* line 480, sass/partials/_main_wrap.scss */
|
502 |
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
503 |
cursor: pointer;
|
504 |
}
|
505 |
+
/* line 485, sass/partials/_main_wrap.scss */
|
506 |
.cmb2-media-status.cmb-attach-list .img-status img, .cmb2-media-status.cmb-attach-list .file-status > span {
|
507 |
cursor: move;
|
508 |
}
|
509 |
|
510 |
+
/* line 492, sass/partials/_main_wrap.scss */
|
511 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
512 |
clear: none;
|
513 |
vertical-align: middle;
|
517 |
margin-top: 0;
|
518 |
}
|
519 |
|
520 |
+
/* line 501, sass/partials/_main_wrap.scss */
|
521 |
.cmb-attach-list li {
|
522 |
clear: both;
|
523 |
display: inline-block;
|
525 |
margin-top: 5px;
|
526 |
margin-bottom: 10px;
|
527 |
}
|
528 |
+
/* line 507, sass/partials/_main_wrap.scss */
|
529 |
.cmb-attach-list li img {
|
530 |
float: right;
|
531 |
margin-left: 10px;
|
532 |
}
|
533 |
|
534 |
+
/* line 513, sass/partials/_main_wrap.scss */
|
535 |
.cmb2-remove-wrapper {
|
536 |
margin: 0;
|
537 |
}
|
538 |
|
539 |
+
/* line 517, sass/partials/_main_wrap.scss */
|
540 |
.child-cmb2 .cmb-th {
|
541 |
text-align: right;
|
542 |
}
|
543 |
|
544 |
+
/* line 521, sass/partials/_main_wrap.scss */
|
545 |
.cmb2-indented-hierarchy {
|
546 |
padding-right: 1.5em;
|
547 |
}
|
548 |
|
549 |
@media (max-width: 450px) {
|
550 |
+
/* line 526, sass/partials/_main_wrap.scss */
|
551 |
.cmb-th,
|
552 |
.cmb-td,
|
553 |
.cmb-th + .cmb-td {
|
592 |
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
593 |
left: -1em;
|
594 |
position: relative;
|
595 |
+
color: #222222;
|
596 |
}
|
597 |
+
/* line 43, sass/partials/_post_metaboxes.scss */
|
598 |
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
599 |
padding: 0 1em;
|
600 |
max-width: 100%;
|
601 |
min-width: 1px !important;
|
602 |
}
|
603 |
+
/* line 49, sass/partials/_post_metaboxes.scss */
|
604 |
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
605 |
padding-bottom: 0;
|
606 |
}
|
607 |
+
/* line 53, sass/partials/_post_metaboxes.scss */
|
608 |
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
609 |
width: 18%;
|
610 |
padding: 0 0 0 2%;
|
611 |
}
|
612 |
+
/* line 59, sass/partials/_post_metaboxes.scss */
|
613 |
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
614 |
margin-bottom: 0;
|
615 |
padding: 0;
|
616 |
line-height: 1.3;
|
617 |
}
|
618 |
+
/* line 65, sass/partials/_post_metaboxes.scss */
|
619 |
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
620 |
width: 80%;
|
621 |
float: left;
|
622 |
}
|
623 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
624 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
625 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
626 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
627 |
border-bottom: 1px solid #e9e9e9;
|
628 |
}
|
629 |
@media (max-width: 450px) {
|
630 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
631 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
632 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
633 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
634 |
border-bottom: 0;
|
635 |
}
|
636 |
}
|
637 |
+
/* line 79, sass/partials/_post_metaboxes.scss */
|
638 |
.cmb2-postbox .cmb-repeat-group-field,
|
639 |
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
640 |
.cmb-type-group .cmb-remove-field-row {
|
645 |
* Context Metaboxes
|
646 |
--------------------------------------------------------------*/
|
647 |
/* Metabox collapse arrow indicators */
|
648 |
+
/* line 8, sass/partials/_context_metaboxes.scss */
|
649 |
+
.js .cmb2-postbox.context-box .handlediv {
|
650 |
+
text-align: center;
|
651 |
+
}
|
652 |
+
/* line 13, sass/partials/_context_metaboxes.scss */
|
653 |
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
654 |
content: "\f142";
|
655 |
display: inline-block;
|
659 |
-moz-osx-font-smoothing: grayscale;
|
660 |
text-decoration: none !important;
|
661 |
}
|
662 |
+
/* line 26, sass/partials/_context_metaboxes.scss */
|
663 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
664 |
content: "\f140";
|
665 |
}
|
666 |
|
667 |
+
/* line 34, sass/partials/_context_metaboxes.scss */
|
668 |
.cmb2-postbox.context-box {
|
669 |
margin-bottom: 10px;
|
670 |
}
|
671 |
+
/* line 38, sass/partials/_context_metaboxes.scss */
|
672 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
673 |
margin-top: 10px;
|
674 |
}
|
675 |
+
/* line 42, sass/partials/_context_metaboxes.scss */
|
676 |
.cmb2-postbox.context-box.context-after_title-box {
|
677 |
margin-top: 10px;
|
678 |
}
|
679 |
+
/* line 46, sass/partials/_context_metaboxes.scss */
|
680 |
.cmb2-postbox.context-box.context-after_editor-box {
|
681 |
margin-top: 20px;
|
682 |
margin-bottom: 0;
|
683 |
}
|
684 |
+
/* line 51, sass/partials/_context_metaboxes.scss */
|
685 |
.cmb2-postbox.context-box.context-form_top-box {
|
686 |
margin-top: 10px;
|
687 |
}
|
688 |
+
/* line 55, sass/partials/_context_metaboxes.scss */
|
689 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
690 |
font-size: 14px;
|
691 |
padding: 8px 12px;
|
692 |
margin: 0;
|
693 |
line-height: 1.4;
|
694 |
}
|
695 |
+
/* line 63, sass/partials/_context_metaboxes.scss */
|
696 |
.cmb2-postbox.context-box .hndle {
|
697 |
cursor: auto;
|
698 |
}
|
699 |
|
700 |
+
/* line 68, sass/partials/_context_metaboxes.scss */
|
701 |
.cmb2-context-wrap {
|
702 |
margin-top: 10px;
|
703 |
}
|
704 |
+
/* line 72, sass/partials/_context_metaboxes.scss */
|
705 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
706 |
margin-left: 300px;
|
707 |
width: auto;
|
708 |
}
|
709 |
+
/* line 79, sass/partials/_context_metaboxes.scss */
|
710 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
711 |
padding: 10px;
|
712 |
}
|
713 |
+
/* line 84, sass/partials/_context_metaboxes.scss */
|
714 |
.cmb2-context-wrap .cmb-th {
|
715 |
padding: 0 0 0 2%;
|
716 |
width: 18%;
|
717 |
}
|
718 |
+
/* line 89, sass/partials/_context_metaboxes.scss */
|
719 |
.cmb2-context-wrap .cmb-td {
|
720 |
width: 80%;
|
721 |
padding: 0;
|
722 |
}
|
723 |
+
/* line 94, sass/partials/_context_metaboxes.scss */
|
724 |
.cmb2-context-wrap .cmb-row {
|
725 |
margin-bottom: 10px;
|
726 |
}
|
727 |
+
/* line 97, sass/partials/_context_metaboxes.scss */
|
728 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
729 |
margin-bottom: 0;
|
730 |
}
|
731 |
|
732 |
/* one column on the post write/edit screen */
|
733 |
@media only screen and (max-width: 850px) {
|
734 |
+
/* line 107, sass/partials/_context_metaboxes.scss */
|
735 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
736 |
margin-left: 0;
|
737 |
}
|
771 |
--------------------------------------------------------------*/
|
772 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
773 |
.cmb2-metabox .cmbhandle {
|
774 |
+
color: #757575;
|
775 |
float: left;
|
776 |
width: 27px;
|
777 |
height: 30px;
|
1277 |
color: #fff;
|
1278 |
}
|
1279 |
|
1280 |
+
/*--------------------------------------------------------------
|
1281 |
+
* Character counter
|
1282 |
+
--------------------------------------------------------------*/
|
1283 |
+
/* line 5, sass/partials/_char_counter.scss */
|
1284 |
+
.cmb2-char-counter-wrap {
|
1285 |
+
margin: .5em 0 1em;
|
1286 |
+
}
|
1287 |
+
/* line 8, sass/partials/_char_counter.scss */
|
1288 |
+
.cmb2-char-counter-wrap input[type="text"] {
|
1289 |
+
font-size: 12px;
|
1290 |
+
width: 25px;
|
1291 |
+
}
|
1292 |
+
/* line 14, sass/partials/_char_counter.scss */
|
1293 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded input[type="text"] {
|
1294 |
+
border-color: #a00 !important;
|
1295 |
+
}
|
1296 |
+
/* line 17, sass/partials/_char_counter.scss */
|
1297 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg {
|
1298 |
+
display: inline-block;
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
/* line 23, sass/partials/_char_counter.scss */
|
1302 |
+
.cmb2-char-max-msg {
|
1303 |
+
color: #a00;
|
1304 |
+
display: none;
|
1305 |
+
font-weight: 600;
|
1306 |
+
margin-right: 1em;
|
1307 |
+
}
|
1308 |
+
|
1309 |
/**
|
1310 |
* CMB2 Frontend
|
1311 |
*/
|
1365 |
margin: 4px 10px 0;
|
1366 |
}
|
1367 |
|
1368 |
+
/* line 58, sass/partials/_front.scss */
|
1369 |
+
.cmb2-char-max-msg {
|
1370 |
+
display: none;
|
1371 |
+
}
|
1372 |
+
|
1373 |
/*# sourceMappingURL=cmb2-front.css.map */
|
includes/lib/cmb2/css/cmb2-front-rtl.min.css
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
/*! CMB2 - v2.4.2 - 2018-05-29 | https://cmb2.io | Copyright (c) 2018 CMB2 team | Licensed GPLv2 */
|
2 |
-
@charset "UTF-8";.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{font-size:14px;max-width:100%;padding:5px}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-right:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=checkbox],.cmb2-wrap input[type=radio]{margin:0 0 0 5px;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-input-wrap{vertical-align:middle}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-container{margin:0 0 0 10px}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:right;font-weight:600;line-height:1.3;padding:20px 0 20px 10px;vertical-align:top;width:200px}@media (max-width:450px){.cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:right;width:100%}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:right}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:left}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 50px 10px 10px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;right:0;position:absolute;width:35px;height:100%;line-height:35px;color:#aaa;text-align:center;border-left:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-right:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;left:7px;position:absolute;width:auto;margin-right:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;right:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 2.2em 8px 12px;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:right;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{font-size:1em;margin-left:1em;text-decoration:none}.cmb-repeatable-group .cmb-shift-rows .dashicons{font-size:1.5em;height:1.5em;line-height:1.2em;width:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2{line-height:1.3em}.cmb-repeatable-group .cmb2-upload-button{float:left}p.cmb2-metabox-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#aaa;font-style:italic}.cmb2-metabox-title{margin:0 0 5px;padding:5px 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0}.cmb-inline li{display:inline-block;padding-left:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-left:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0}.cmb2-media-status .embed-status{float:right;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;right:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-left:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:right;margin-left:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:right}.cmb2-indented-hierarchy{padding-right:1.5em}@media (max-width:450px){.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}}#poststuff .cmb-group-title{margin-right:-1em;margin-left:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-right:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{left:-1em;position:relative}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 0 0 2%}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:left}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}@media (max-width:450px){.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-after_title-box,.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 0 0 2%;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:0}}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:right;display:none}.cmb-spinner.is-active{display:block}.cmb2-metabox .cmbhandle{color:#aaa;float:left;width:27px;height:30px;cursor:pointer;left:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';left:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:none!important;border:none!important;position:absolute;right:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:400 20px/34px dashicons;padding-right:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:right;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:right;clear:right;padding:0 5px 0 0}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 40% 10px 10px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:right}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .4em .4em .6em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}.closed .inside{display:none}.cmb-repeatable-grouping{position:relative}.cmb-repeatable-grouping .cmb-group-title{margin-right:-1em;margin-left:-1em;min-height:1.5em}.cmb-repeatable-grouping h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb-repeatable-group.repeatable .cmb-group-title{padding-right:2.2em}.cmb-repeatable-group.non-repeatable .cmb-group-title{padding-right:12px}.cmb-type-group .cmb-row .cmbhandle{left:0;position:absolute}.cmb-spinner{background:url(/wp-admin/images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:none;float:left;vertical-align:middle;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:4px 10px 0}
|
1 |
+
@charset "UTF-8";.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{max-width:100%}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px;padding:8px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-right:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px 0}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=radio]{margin:0 0 0 5px;padding:0}.cmb2-wrap input[type=checkbox]{margin:0 0 0 5px;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .cmb-multicheck-toggle{margin-top:-1em}.cmb2-wrap .wp-picker-clear.button,.cmb2-wrap .wp-picker-default.button{margin-right:6px;padding:2px 8px}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.1875rem}@media screen and (max-width:782px){body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.4375rem}}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:right;font-weight:600;padding:20px 0 20px 10px;vertical-align:top;width:200px}@media (max-width:450px){.cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:right;width:100%}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:right}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:left}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 50px 10px 10px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper{outline:dashed 2px #e9e9e9!important}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;right:0;position:absolute;width:35px;height:100%;line-height:35px;cursor:move;color:#757575;text-align:center;border-left:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-right:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;left:7px;position:absolute;width:auto;margin-right:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px 0}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;right:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 2.2em 8px 12px;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:right;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{margin-left:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2{margin-top:.15em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2{margin-top:.2em}.cmb-repeatable-group .cmb2-upload-button{float:left}p.cmb2-metabox-description{color:#666;letter-spacing:.01em;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#666;letter-spacing:.01em}.cmb2-metabox-title{margin:0 0 5px 0;padding:5px 0 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0 0}.cmb-inline li{display:inline-block;padding-left:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-left:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0 0}.cmb2-media-status .embed-status{float:right;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;right:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-left:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:right;margin-left:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:right}.cmb2-indented-hierarchy{padding-right:1.5em}@media (max-width:450px){.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}}#poststuff .cmb-group-title{margin-right:-1em;margin-left:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-right:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{left:-1em;position:relative;color:#222}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 0 0 2%}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:left}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}@media (max-width:450px){.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .handlediv{text-align:center}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_title-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 0 0 2%;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:0}}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:right;display:none}.cmb-spinner{display:none}.cmb-spinner.is-active{display:block}.cmb2-metabox .cmbhandle{color:#757575;float:left;width:27px;height:30px;cursor:pointer;left:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';left:12px;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:0 0!important;border:none!important;position:absolute;right:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background-image:none;border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:normal 20px/34px dashicons;padding-right:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:right;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:right;clear:right;padding:0 5px 0 0}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 40% 10px 10px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:right}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .4em .4em .6em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}.cmb2-char-counter-wrap{margin:.5em 0 1em}.cmb2-char-counter-wrap input[type=text]{font-size:12px;width:25px}.cmb2-char-counter-wrap.cmb2-max-exceeded input[type=text]{border-color:#a00!important}.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg{display:inline-block}.cmb2-char-max-msg{color:#a00;display:none;font-weight:600;margin-right:1em}.closed .inside{display:none}.cmb-repeatable-grouping{position:relative}.cmb-repeatable-grouping .cmb-group-title{margin-right:-1em;margin-left:-1em;min-height:1.5em}.cmb-repeatable-grouping h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb-repeatable-group.repeatable .cmb-group-title{padding-right:2.2em}.cmb-repeatable-group.non-repeatable .cmb-group-title{padding-right:12px}.cmb-type-group .cmb-row .cmbhandle{left:0;position:absolute}.cmb-spinner{background:url(/wp-admin/images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:none;float:left;vertical-align:middle;opacity:.7;width:20px;height:20px;margin:4px 10px 0}.cmb2-char-max-msg{display:none}
|
|
includes/lib/cmb2/css/cmb2-front.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*!
|
2 |
-
* CMB2 - v2.
|
3 |
* https://cmb2.io
|
4 |
-
* Copyright (c)
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
@@ -16,133 +16,143 @@
|
|
16 |
/* line 8, sass/partials/_main_wrap.scss */
|
17 |
.cmb2-wrap input,
|
18 |
.cmb2-wrap textarea {
|
19 |
-
font-size: 14px;
|
20 |
max-width: 100%;
|
21 |
-
padding: 5px;
|
22 |
}
|
23 |
-
/* line
|
24 |
-
.cmb2-wrap input[type=text].cmb2-oembed {
|
25 |
width: 100%;
|
26 |
}
|
27 |
-
/* line
|
28 |
.cmb2-wrap textarea {
|
29 |
width: 500px;
|
|
|
30 |
}
|
31 |
-
/* line
|
32 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
33 |
font-family: "Courier 10 Pitch", Courier, monospace;
|
34 |
line-height: 16px;
|
35 |
}
|
36 |
-
/* line
|
37 |
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
38 |
width: 100px;
|
39 |
}
|
40 |
-
/* line
|
41 |
.cmb2-wrap input.cmb2-text-money {
|
42 |
width: 90px;
|
43 |
}
|
44 |
-
/* line
|
45 |
.cmb2-wrap input.cmb2-text-medium {
|
46 |
width: 230px;
|
47 |
}
|
48 |
-
/* line
|
49 |
.cmb2-wrap input.cmb2-upload-file {
|
50 |
width: 65%;
|
51 |
}
|
52 |
-
/* line
|
53 |
.cmb2-wrap input.ed_button {
|
54 |
padding: 2px 4px;
|
55 |
}
|
56 |
-
/* line
|
57 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
58 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
59 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
60 |
margin-left: 20px;
|
61 |
}
|
62 |
-
/* line
|
63 |
.cmb2-wrap ul {
|
64 |
margin: 0;
|
65 |
}
|
66 |
-
/* line
|
67 |
.cmb2-wrap li {
|
68 |
font-size: 14px;
|
69 |
line-height: 16px;
|
70 |
margin: 1px 0 5px 0;
|
71 |
}
|
72 |
-
/* line
|
73 |
.cmb2-wrap select {
|
74 |
font-size: 14px;
|
75 |
margin-top: 3px;
|
76 |
}
|
77 |
-
/* line
|
78 |
.cmb2-wrap input:focus,
|
79 |
.cmb2-wrap textarea:focus {
|
80 |
background: #fffff8;
|
81 |
}
|
82 |
-
/* line
|
83 |
.cmb2-wrap input[type="radio"] {
|
84 |
margin: 0 5px 0 0;
|
85 |
padding: 0;
|
86 |
}
|
87 |
-
/* line
|
88 |
.cmb2-wrap input[type="checkbox"] {
|
89 |
margin: 0 5px 0 0;
|
90 |
padding: 0;
|
91 |
}
|
92 |
-
/* line
|
93 |
.cmb2-wrap button,
|
94 |
.cmb2-wrap .button-secondary {
|
95 |
white-space: nowrap;
|
96 |
}
|
97 |
-
/* line
|
98 |
.cmb2-wrap .mceLayout {
|
99 |
border: 1px solid #e9e9e9 !important;
|
100 |
}
|
101 |
-
/* line
|
102 |
.cmb2-wrap .mceIframeContainer {
|
103 |
background: #ffffff;
|
104 |
}
|
105 |
-
/* line
|
106 |
.cmb2-wrap .meta_mce {
|
107 |
width: 97%;
|
108 |
}
|
109 |
-
/* line
|
110 |
.cmb2-wrap .meta_mce textarea {
|
111 |
width: 100%;
|
112 |
}
|
113 |
-
/* line
|
114 |
-
.cmb2-wrap .
|
115 |
-
|
116 |
-
vertical-align: middle;
|
117 |
}
|
118 |
-
/* line
|
119 |
-
.cmb2-wrap .wp-
|
120 |
-
.cmb2-wrap .wp-picker-
|
121 |
-
margin:
|
|
|
122 |
}
|
123 |
-
/* line
|
124 |
.cmb2-wrap .cmb-row {
|
125 |
margin: 0;
|
126 |
}
|
127 |
-
/* line
|
128 |
.cmb2-wrap .cmb-row:after {
|
129 |
content: '';
|
130 |
clear: both;
|
131 |
display: block;
|
132 |
width: 100%;
|
133 |
}
|
134 |
-
/* line
|
135 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
136 |
padding-top: 0;
|
137 |
padding-bottom: 1em;
|
138 |
}
|
139 |
|
140 |
-
/* line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
.cmb2-metabox {
|
142 |
clear: both;
|
143 |
margin: 0;
|
144 |
}
|
145 |
-
/* line
|
146 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
147 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
148 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
@@ -150,47 +160,46 @@
|
|
150 |
border: 0;
|
151 |
}
|
152 |
|
153 |
-
/* line
|
154 |
.cmb-add-row {
|
155 |
margin: 1.8em 0 0;
|
156 |
}
|
157 |
|
158 |
-
/* line
|
159 |
.cmb-nested .cmb-td,
|
160 |
.cmb-repeatable-group .cmb-th,
|
161 |
.cmb-repeatable-group:first-of-type {
|
162 |
border: 0;
|
163 |
}
|
164 |
|
165 |
-
/* line
|
166 |
.cmb-row:last-of-type,
|
167 |
.cmb2-wrap .cmb-row:last-of-type,
|
168 |
.cmb-repeatable-group:last-of-type {
|
169 |
border-bottom: 0;
|
170 |
}
|
171 |
|
172 |
-
/* line
|
173 |
.cmb-repeatable-grouping {
|
174 |
border: 1px solid #e9e9e9;
|
175 |
padding: 0 1em;
|
176 |
}
|
177 |
-
/* line
|
178 |
.cmb-repeatable-grouping.cmb-row {
|
179 |
margin: 0 0 0.8em;
|
180 |
}
|
181 |
|
182 |
-
/* line
|
183 |
.cmb-th {
|
184 |
color: #222222;
|
185 |
float: left;
|
186 |
font-weight: 600;
|
187 |
-
line-height: 1.3;
|
188 |
padding: 20px 10px 20px 0;
|
189 |
vertical-align: top;
|
190 |
width: 200px;
|
191 |
}
|
192 |
@media (max-width: 450px) {
|
193 |
-
/* line
|
194 |
.cmb-th {
|
195 |
font-size: 1.2em;
|
196 |
display: block;
|
@@ -207,7 +216,7 @@
|
|
207 |
}
|
208 |
}
|
209 |
|
210 |
-
/* line
|
211 |
.cmb-td {
|
212 |
line-height: 1.3;
|
213 |
max-width: 100%;
|
@@ -215,43 +224,43 @@
|
|
215 |
vertical-align: middle;
|
216 |
}
|
217 |
|
218 |
-
/* line
|
219 |
.cmb-type-title .cmb-td {
|
220 |
padding: 0;
|
221 |
}
|
222 |
|
223 |
-
/* line
|
224 |
.cmb-th label {
|
225 |
display: block;
|
226 |
padding: 5px 0;
|
227 |
}
|
228 |
|
229 |
-
/* line
|
230 |
.cmb-th + .cmb-td {
|
231 |
float: left;
|
232 |
}
|
233 |
|
234 |
-
/* line
|
235 |
.cmb-td .cmb-td {
|
236 |
padding-bottom: 1em;
|
237 |
}
|
238 |
|
239 |
-
/* line
|
240 |
.cmb-remove-row {
|
241 |
text-align: right;
|
242 |
}
|
243 |
|
244 |
-
/* line
|
245 |
.empty-row.hidden {
|
246 |
display: none;
|
247 |
}
|
248 |
|
249 |
-
/* line
|
250 |
.cmb-repeat-table {
|
251 |
background-color: #fafafa;
|
252 |
border: 1px solid #e1e1e1;
|
253 |
}
|
254 |
-
/* line
|
255 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
256 |
position: relative;
|
257 |
counter-increment: el;
|
@@ -259,11 +268,15 @@
|
|
259 |
padding: 10px 10px 10px 50px;
|
260 |
border-bottom: none !important;
|
261 |
}
|
262 |
-
/* line
|
263 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
264 |
border-top: solid 1px #e9e9e9;
|
265 |
}
|
266 |
-
/* line
|
|
|
|
|
|
|
|
|
267 |
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
268 |
content: counter(el);
|
269 |
display: block;
|
@@ -273,20 +286,21 @@
|
|
273 |
width: 35px;
|
274 |
height: 100%;
|
275 |
line-height: 35px;
|
276 |
-
|
|
|
277 |
text-align: center;
|
278 |
border-right: solid 1px #e9e9e9;
|
279 |
}
|
280 |
-
/* line
|
281 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
282 |
margin: 0;
|
283 |
padding: 0;
|
284 |
}
|
285 |
-
/* line
|
286 |
.cmb-repeat-table + .cmb-add-row {
|
287 |
margin: 0;
|
288 |
}
|
289 |
-
/* line
|
290 |
.cmb-repeat-table + .cmb-add-row:before {
|
291 |
content: '';
|
292 |
width: 1px;
|
@@ -295,7 +309,7 @@
|
|
295 |
margin-left: 17px;
|
296 |
background-color: gainsboro;
|
297 |
}
|
298 |
-
/* line
|
299 |
.cmb-repeat-table .cmb-remove-row {
|
300 |
top: 7px;
|
301 |
right: 7px;
|
@@ -305,7 +319,7 @@
|
|
305 |
padding: 0 !important;
|
306 |
display: none;
|
307 |
}
|
308 |
-
/* line
|
309 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
310 |
font-size: 20px;
|
311 |
text-indent: -1000px;
|
@@ -315,7 +329,7 @@
|
|
315 |
line-height: 1;
|
316 |
padding: 0 10px 0;
|
317 |
}
|
318 |
-
/* line
|
319 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
320 |
content: "";
|
321 |
font-family: 'Dashicons';
|
@@ -334,16 +348,16 @@
|
|
334 |
height: 100%;
|
335 |
text-align: center;
|
336 |
}
|
337 |
-
/* line
|
338 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
339 |
display: block;
|
340 |
}
|
341 |
|
342 |
-
/* line
|
343 |
.cmb-repeatable-group .cmb-th {
|
344 |
padding: 5px;
|
345 |
}
|
346 |
-
/* line
|
347 |
.cmb-repeatable-group .cmb-group-title {
|
348 |
background-color: #e9e9e9;
|
349 |
padding: 8px 12px 8px 2.2em;
|
@@ -352,7 +366,7 @@
|
|
352 |
font-size: 14px;
|
353 |
line-height: 1.4;
|
354 |
}
|
355 |
-
/* line
|
356 |
.cmb-repeatable-group .cmb-group-title h4 {
|
357 |
border: 0;
|
358 |
margin: 0;
|
@@ -360,12 +374,12 @@
|
|
360 |
font-weight: 500;
|
361 |
padding: 0.5em 0.75em;
|
362 |
}
|
363 |
-
/* line
|
364 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
365 |
display: block;
|
366 |
width: 100%;
|
367 |
}
|
368 |
-
/* line
|
369 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
370 |
font-size: 1.2em;
|
371 |
display: block;
|
@@ -380,66 +394,61 @@
|
|
380 |
margin-top: 0;
|
381 |
margin-bottom: 0.5em;
|
382 |
}
|
383 |
-
/* line
|
384 |
.cmb-repeatable-group .cmb-shift-rows {
|
385 |
-
font-size: 1em;
|
386 |
margin-right: 1em;
|
387 |
-
text-decoration: none;
|
388 |
}
|
389 |
-
/* line
|
390 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons {
|
391 |
-
|
392 |
-
height: 1.5em;
|
393 |
-
line-height: 1.2em;
|
394 |
-
width: 1em;
|
395 |
}
|
396 |
-
/* line
|
397 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons
|
398 |
-
|
399 |
}
|
400 |
-
/* line
|
401 |
.cmb-repeatable-group .cmb2-upload-button {
|
402 |
float: right;
|
403 |
}
|
404 |
|
405 |
-
/* line
|
406 |
p.cmb2-metabox-description {
|
407 |
-
color: #
|
408 |
-
|
409 |
margin: 0;
|
410 |
padding-top: .5em;
|
411 |
}
|
412 |
|
413 |
-
/* line
|
414 |
span.cmb2-metabox-description {
|
415 |
-
color: #
|
416 |
-
|
417 |
}
|
418 |
|
419 |
-
/* line
|
420 |
.cmb2-metabox-title {
|
421 |
margin: 0 0 5px 0;
|
422 |
padding: 5px 0 0 0;
|
423 |
font-size: 14px;
|
424 |
}
|
425 |
|
426 |
-
/* line
|
427 |
.cmb-inline ul {
|
428 |
padding: 4px 0 0 0;
|
429 |
}
|
430 |
|
431 |
-
/* line
|
432 |
.cmb-inline li {
|
433 |
display: inline-block;
|
434 |
padding-right: 18px;
|
435 |
}
|
436 |
|
437 |
-
/* line
|
438 |
.cmb-type-textarea-code pre {
|
439 |
margin: 0;
|
440 |
}
|
441 |
|
442 |
-
/* line
|
443 |
.cmb2-media-status .img-status {
|
444 |
clear: none;
|
445 |
display: inline-block;
|
@@ -447,12 +456,12 @@ span.cmb2-metabox-description {
|
|
447 |
margin-right: 10px;
|
448 |
width: auto;
|
449 |
}
|
450 |
-
/* line
|
451 |
.cmb2-media-status .img-status img {
|
452 |
max-width: 350px;
|
453 |
height: auto;
|
454 |
}
|
455 |
-
/* line
|
456 |
.cmb2-media-status .img-status img,
|
457 |
.cmb2-media-status .embed-status {
|
458 |
background: #eee;
|
@@ -466,16 +475,16 @@ span.cmb2-metabox-description {
|
|
466 |
-moz-border-radius: 2px;
|
467 |
margin: 15px 0 0 0;
|
468 |
}
|
469 |
-
/* line
|
470 |
.cmb2-media-status .embed-status {
|
471 |
float: left;
|
472 |
max-width: 800px;
|
473 |
}
|
474 |
-
/* line
|
475 |
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
476 |
position: relative;
|
477 |
}
|
478 |
-
/* line
|
479 |
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
480 |
background: url(../images/ico-delete.png);
|
481 |
height: 16px;
|
@@ -485,20 +494,20 @@ span.cmb2-metabox-description {
|
|
485 |
top: -5px;
|
486 |
width: 16px;
|
487 |
}
|
488 |
-
/* line
|
489 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
490 |
top: 10px;
|
491 |
}
|
492 |
-
/* line
|
493 |
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
494 |
cursor: pointer;
|
495 |
}
|
496 |
-
/* line
|
497 |
.cmb2-media-status.cmb-attach-list .img-status img, .cmb2-media-status.cmb-attach-list .file-status > span {
|
498 |
cursor: move;
|
499 |
}
|
500 |
|
501 |
-
/* line
|
502 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
503 |
clear: none;
|
504 |
vertical-align: middle;
|
@@ -508,7 +517,7 @@ span.cmb2-metabox-description {
|
|
508 |
margin-top: 0;
|
509 |
}
|
510 |
|
511 |
-
/* line
|
512 |
.cmb-attach-list li {
|
513 |
clear: both;
|
514 |
display: inline-block;
|
@@ -516,29 +525,29 @@ span.cmb2-metabox-description {
|
|
516 |
margin-top: 5px;
|
517 |
margin-bottom: 10px;
|
518 |
}
|
519 |
-
/* line
|
520 |
.cmb-attach-list li img {
|
521 |
float: left;
|
522 |
margin-right: 10px;
|
523 |
}
|
524 |
|
525 |
-
/* line
|
526 |
.cmb2-remove-wrapper {
|
527 |
margin: 0;
|
528 |
}
|
529 |
|
530 |
-
/* line
|
531 |
.child-cmb2 .cmb-th {
|
532 |
text-align: left;
|
533 |
}
|
534 |
|
535 |
-
/* line
|
536 |
.cmb2-indented-hierarchy {
|
537 |
padding-left: 1.5em;
|
538 |
}
|
539 |
|
540 |
@media (max-width: 450px) {
|
541 |
-
/* line
|
542 |
.cmb-th,
|
543 |
.cmb-td,
|
544 |
.cmb-th + .cmb-td {
|
@@ -583,48 +592,49 @@ span.cmb2-metabox-description {
|
|
583 |
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
584 |
right: -1em;
|
585 |
position: relative;
|
|
|
586 |
}
|
587 |
-
/* line
|
588 |
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
589 |
padding: 0 1em;
|
590 |
max-width: 100%;
|
591 |
min-width: 1px !important;
|
592 |
}
|
593 |
-
/* line
|
594 |
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
595 |
padding-bottom: 0;
|
596 |
}
|
597 |
-
/* line
|
598 |
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
599 |
width: 18%;
|
600 |
padding: 0 2% 0 0;
|
601 |
}
|
602 |
-
/* line
|
603 |
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
604 |
margin-bottom: 0;
|
605 |
padding: 0;
|
606 |
line-height: 1.3;
|
607 |
}
|
608 |
-
/* line
|
609 |
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
610 |
width: 80%;
|
611 |
float: right;
|
612 |
}
|
613 |
-
/* line
|
614 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
615 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
616 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
617 |
border-bottom: 1px solid #e9e9e9;
|
618 |
}
|
619 |
@media (max-width: 450px) {
|
620 |
-
/* line
|
621 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
622 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
623 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
624 |
border-bottom: 0;
|
625 |
}
|
626 |
}
|
627 |
-
/* line
|
628 |
.cmb2-postbox .cmb-repeat-group-field,
|
629 |
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
630 |
.cmb-type-group .cmb-remove-field-row {
|
@@ -635,7 +645,11 @@ span.cmb2-metabox-description {
|
|
635 |
* Context Metaboxes
|
636 |
--------------------------------------------------------------*/
|
637 |
/* Metabox collapse arrow indicators */
|
638 |
-
/* line
|
|
|
|
|
|
|
|
|
639 |
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
640 |
content: "\f142";
|
641 |
display: inline-block;
|
@@ -645,79 +659,79 @@ span.cmb2-metabox-description {
|
|
645 |
-moz-osx-font-smoothing: grayscale;
|
646 |
text-decoration: none !important;
|
647 |
}
|
648 |
-
/* line
|
649 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
650 |
content: "\f140";
|
651 |
}
|
652 |
|
653 |
-
/* line
|
654 |
.cmb2-postbox.context-box {
|
655 |
margin-bottom: 10px;
|
656 |
}
|
657 |
-
/* line
|
658 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
659 |
margin-top: 10px;
|
660 |
}
|
661 |
-
/* line
|
662 |
.cmb2-postbox.context-box.context-after_title-box {
|
663 |
margin-top: 10px;
|
664 |
}
|
665 |
-
/* line
|
666 |
.cmb2-postbox.context-box.context-after_editor-box {
|
667 |
margin-top: 20px;
|
668 |
margin-bottom: 0;
|
669 |
}
|
670 |
-
/* line
|
671 |
.cmb2-postbox.context-box.context-form_top-box {
|
672 |
margin-top: 10px;
|
673 |
}
|
674 |
-
/* line
|
675 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
676 |
font-size: 14px;
|
677 |
padding: 8px 12px;
|
678 |
margin: 0;
|
679 |
line-height: 1.4;
|
680 |
}
|
681 |
-
/* line
|
682 |
.cmb2-postbox.context-box .hndle {
|
683 |
cursor: auto;
|
684 |
}
|
685 |
|
686 |
-
/* line
|
687 |
.cmb2-context-wrap {
|
688 |
margin-top: 10px;
|
689 |
}
|
690 |
-
/* line
|
691 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
692 |
margin-right: 300px;
|
693 |
width: auto;
|
694 |
}
|
695 |
-
/* line
|
696 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
697 |
padding: 10px;
|
698 |
}
|
699 |
-
/* line
|
700 |
.cmb2-context-wrap .cmb-th {
|
701 |
padding: 0 2% 0 0;
|
702 |
width: 18%;
|
703 |
}
|
704 |
-
/* line
|
705 |
.cmb2-context-wrap .cmb-td {
|
706 |
width: 80%;
|
707 |
padding: 0;
|
708 |
}
|
709 |
-
/* line
|
710 |
.cmb2-context-wrap .cmb-row {
|
711 |
margin-bottom: 10px;
|
712 |
}
|
713 |
-
/* line
|
714 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
715 |
margin-bottom: 0;
|
716 |
}
|
717 |
|
718 |
/* one column on the post write/edit screen */
|
719 |
@media only screen and (max-width: 850px) {
|
720 |
-
/* line
|
721 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
722 |
margin-right: 0;
|
723 |
}
|
@@ -757,7 +771,7 @@ span.cmb2-metabox-description {
|
|
757 |
--------------------------------------------------------------*/
|
758 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
759 |
.cmb2-metabox .cmbhandle {
|
760 |
-
color: #
|
761 |
float: right;
|
762 |
width: 27px;
|
763 |
height: 30px;
|
@@ -1263,6 +1277,35 @@ span.cmb2-metabox-description {
|
|
1263 |
color: #fff;
|
1264 |
}
|
1265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1266 |
/**
|
1267 |
* CMB2 Frontend
|
1268 |
*/
|
@@ -1322,4 +1365,9 @@ span.cmb2-metabox-description {
|
|
1322 |
margin: 4px 10px 0;
|
1323 |
}
|
1324 |
|
|
|
|
|
|
|
|
|
|
|
1325 |
/*# sourceMappingURL=cmb2-front.css.map */
|
1 |
/*!
|
2 |
+
* CMB2 - v2.9.0 - 2021-03-03
|
3 |
* https://cmb2.io
|
4 |
+
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
16 |
/* line 8, sass/partials/_main_wrap.scss */
|
17 |
.cmb2-wrap input,
|
18 |
.cmb2-wrap textarea {
|
|
|
19 |
max-width: 100%;
|
|
|
20 |
}
|
21 |
+
/* line 15, sass/partials/_main_wrap.scss */
|
22 |
+
.cmb2-wrap input[type="text"].cmb2-oembed {
|
23 |
width: 100%;
|
24 |
}
|
25 |
+
/* line 20, sass/partials/_main_wrap.scss */
|
26 |
.cmb2-wrap textarea {
|
27 |
width: 500px;
|
28 |
+
padding: 8px;
|
29 |
}
|
30 |
+
/* line 24, sass/partials/_main_wrap.scss */
|
31 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
32 |
font-family: "Courier 10 Pitch", Courier, monospace;
|
33 |
line-height: 16px;
|
34 |
}
|
35 |
+
/* line 32, sass/partials/_main_wrap.scss */
|
36 |
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
37 |
width: 100px;
|
38 |
}
|
39 |
+
/* line 38, sass/partials/_main_wrap.scss */
|
40 |
.cmb2-wrap input.cmb2-text-money {
|
41 |
width: 90px;
|
42 |
}
|
43 |
+
/* line 43, sass/partials/_main_wrap.scss */
|
44 |
.cmb2-wrap input.cmb2-text-medium {
|
45 |
width: 230px;
|
46 |
}
|
47 |
+
/* line 48, sass/partials/_main_wrap.scss */
|
48 |
.cmb2-wrap input.cmb2-upload-file {
|
49 |
width: 65%;
|
50 |
}
|
51 |
+
/* line 52, sass/partials/_main_wrap.scss */
|
52 |
.cmb2-wrap input.ed_button {
|
53 |
padding: 2px 4px;
|
54 |
}
|
55 |
+
/* line 57, sass/partials/_main_wrap.scss */
|
56 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
57 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
58 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
59 |
margin-left: 20px;
|
60 |
}
|
61 |
+
/* line 65, sass/partials/_main_wrap.scss */
|
62 |
.cmb2-wrap ul {
|
63 |
margin: 0;
|
64 |
}
|
65 |
+
/* line 69, sass/partials/_main_wrap.scss */
|
66 |
.cmb2-wrap li {
|
67 |
font-size: 14px;
|
68 |
line-height: 16px;
|
69 |
margin: 1px 0 5px 0;
|
70 |
}
|
71 |
+
/* line 80, sass/partials/_main_wrap.scss */
|
72 |
.cmb2-wrap select {
|
73 |
font-size: 14px;
|
74 |
margin-top: 3px;
|
75 |
}
|
76 |
+
/* line 85, sass/partials/_main_wrap.scss */
|
77 |
.cmb2-wrap input:focus,
|
78 |
.cmb2-wrap textarea:focus {
|
79 |
background: #fffff8;
|
80 |
}
|
81 |
+
/* line 90, sass/partials/_main_wrap.scss */
|
82 |
.cmb2-wrap input[type="radio"] {
|
83 |
margin: 0 5px 0 0;
|
84 |
padding: 0;
|
85 |
}
|
86 |
+
/* line 95, sass/partials/_main_wrap.scss */
|
87 |
.cmb2-wrap input[type="checkbox"] {
|
88 |
margin: 0 5px 0 0;
|
89 |
padding: 0;
|
90 |
}
|
91 |
+
/* line 100, sass/partials/_main_wrap.scss */
|
92 |
.cmb2-wrap button,
|
93 |
.cmb2-wrap .button-secondary {
|
94 |
white-space: nowrap;
|
95 |
}
|
96 |
+
/* line 105, sass/partials/_main_wrap.scss */
|
97 |
.cmb2-wrap .mceLayout {
|
98 |
border: 1px solid #e9e9e9 !important;
|
99 |
}
|
100 |
+
/* line 109, sass/partials/_main_wrap.scss */
|
101 |
.cmb2-wrap .mceIframeContainer {
|
102 |
background: #ffffff;
|
103 |
}
|
104 |
+
/* line 113, sass/partials/_main_wrap.scss */
|
105 |
.cmb2-wrap .meta_mce {
|
106 |
width: 97%;
|
107 |
}
|
108 |
+
/* line 116, sass/partials/_main_wrap.scss */
|
109 |
.cmb2-wrap .meta_mce textarea {
|
110 |
width: 100%;
|
111 |
}
|
112 |
+
/* line 122, sass/partials/_main_wrap.scss */
|
113 |
+
.cmb2-wrap .cmb-multicheck-toggle {
|
114 |
+
margin-top: -1em;
|
|
|
115 |
}
|
116 |
+
/* line 127, sass/partials/_main_wrap.scss */
|
117 |
+
.cmb2-wrap .wp-picker-clear.button,
|
118 |
+
.cmb2-wrap .wp-picker-default.button {
|
119 |
+
margin-left: 6px;
|
120 |
+
padding: 2px 8px;
|
121 |
}
|
122 |
+
/* line 133, sass/partials/_main_wrap.scss */
|
123 |
.cmb2-wrap .cmb-row {
|
124 |
margin: 0;
|
125 |
}
|
126 |
+
/* line 136, sass/partials/_main_wrap.scss */
|
127 |
.cmb2-wrap .cmb-row:after {
|
128 |
content: '';
|
129 |
clear: both;
|
130 |
display: block;
|
131 |
width: 100%;
|
132 |
}
|
133 |
+
/* line 143, sass/partials/_main_wrap.scss */
|
134 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
135 |
padding-top: 0;
|
136 |
padding-bottom: 1em;
|
137 |
}
|
138 |
|
139 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
140 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
141 |
+
margin: .1875rem;
|
142 |
+
}
|
143 |
+
@media screen and (max-width: 782px) {
|
144 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
145 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
146 |
+
margin: .4375rem;
|
147 |
+
}
|
148 |
+
}
|
149 |
+
|
150 |
+
/* line 162, sass/partials/_main_wrap.scss */
|
151 |
.cmb2-metabox {
|
152 |
clear: both;
|
153 |
margin: 0;
|
154 |
}
|
155 |
+
/* line 168, sass/partials/_main_wrap.scss */
|
156 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
157 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
158 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
160 |
border: 0;
|
161 |
}
|
162 |
|
163 |
+
/* line 175, sass/partials/_main_wrap.scss */
|
164 |
.cmb-add-row {
|
165 |
margin: 1.8em 0 0;
|
166 |
}
|
167 |
|
168 |
+
/* line 179, sass/partials/_main_wrap.scss */
|
169 |
.cmb-nested .cmb-td,
|
170 |
.cmb-repeatable-group .cmb-th,
|
171 |
.cmb-repeatable-group:first-of-type {
|
172 |
border: 0;
|
173 |
}
|
174 |
|
175 |
+
/* line 185, sass/partials/_main_wrap.scss */
|
176 |
.cmb-row:last-of-type,
|
177 |
.cmb2-wrap .cmb-row:last-of-type,
|
178 |
.cmb-repeatable-group:last-of-type {
|
179 |
border-bottom: 0;
|
180 |
}
|
181 |
|
182 |
+
/* line 191, sass/partials/_main_wrap.scss */
|
183 |
.cmb-repeatable-grouping {
|
184 |
border: 1px solid #e9e9e9;
|
185 |
padding: 0 1em;
|
186 |
}
|
187 |
+
/* line 195, sass/partials/_main_wrap.scss */
|
188 |
.cmb-repeatable-grouping.cmb-row {
|
189 |
margin: 0 0 0.8em;
|
190 |
}
|
191 |
|
192 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
193 |
.cmb-th {
|
194 |
color: #222222;
|
195 |
float: left;
|
196 |
font-weight: 600;
|
|
|
197 |
padding: 20px 10px 20px 0;
|
198 |
vertical-align: top;
|
199 |
width: 200px;
|
200 |
}
|
201 |
@media (max-width: 450px) {
|
202 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
203 |
.cmb-th {
|
204 |
font-size: 1.2em;
|
205 |
display: block;
|
216 |
}
|
217 |
}
|
218 |
|
219 |
+
/* line 216, sass/partials/_main_wrap.scss */
|
220 |
.cmb-td {
|
221 |
line-height: 1.3;
|
222 |
max-width: 100%;
|
224 |
vertical-align: middle;
|
225 |
}
|
226 |
|
227 |
+
/* line 225, sass/partials/_main_wrap.scss */
|
228 |
.cmb-type-title .cmb-td {
|
229 |
padding: 0;
|
230 |
}
|
231 |
|
232 |
+
/* line 230, sass/partials/_main_wrap.scss */
|
233 |
.cmb-th label {
|
234 |
display: block;
|
235 |
padding: 5px 0;
|
236 |
}
|
237 |
|
238 |
+
/* line 235, sass/partials/_main_wrap.scss */
|
239 |
.cmb-th + .cmb-td {
|
240 |
float: left;
|
241 |
}
|
242 |
|
243 |
+
/* line 239, sass/partials/_main_wrap.scss */
|
244 |
.cmb-td .cmb-td {
|
245 |
padding-bottom: 1em;
|
246 |
}
|
247 |
|
248 |
+
/* line 243, sass/partials/_main_wrap.scss */
|
249 |
.cmb-remove-row {
|
250 |
text-align: right;
|
251 |
}
|
252 |
|
253 |
+
/* line 247, sass/partials/_main_wrap.scss */
|
254 |
.empty-row.hidden {
|
255 |
display: none;
|
256 |
}
|
257 |
|
258 |
+
/* line 252, sass/partials/_main_wrap.scss */
|
259 |
.cmb-repeat-table {
|
260 |
background-color: #fafafa;
|
261 |
border: 1px solid #e1e1e1;
|
262 |
}
|
263 |
+
/* line 256, sass/partials/_main_wrap.scss */
|
264 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
265 |
position: relative;
|
266 |
counter-increment: el;
|
268 |
padding: 10px 10px 10px 50px;
|
269 |
border-bottom: none !important;
|
270 |
}
|
271 |
+
/* line 264, sass/partials/_main_wrap.scss */
|
272 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
273 |
border-top: solid 1px #e9e9e9;
|
274 |
}
|
275 |
+
/* line 268, sass/partials/_main_wrap.scss */
|
276 |
+
.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper {
|
277 |
+
outline: dashed 2px #e9e9e9 !important;
|
278 |
+
}
|
279 |
+
/* line 272, sass/partials/_main_wrap.scss */
|
280 |
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
281 |
content: counter(el);
|
282 |
display: block;
|
286 |
width: 35px;
|
287 |
height: 100%;
|
288 |
line-height: 35px;
|
289 |
+
cursor: move;
|
290 |
+
color: #757575;
|
291 |
text-align: center;
|
292 |
border-right: solid 1px #e9e9e9;
|
293 |
}
|
294 |
+
/* line 289, sass/partials/_main_wrap.scss */
|
295 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
296 |
margin: 0;
|
297 |
padding: 0;
|
298 |
}
|
299 |
+
/* line 296, sass/partials/_main_wrap.scss */
|
300 |
.cmb-repeat-table + .cmb-add-row {
|
301 |
margin: 0;
|
302 |
}
|
303 |
+
/* line 299, sass/partials/_main_wrap.scss */
|
304 |
.cmb-repeat-table + .cmb-add-row:before {
|
305 |
content: '';
|
306 |
width: 1px;
|
309 |
margin-left: 17px;
|
310 |
background-color: gainsboro;
|
311 |
}
|
312 |
+
/* line 309, sass/partials/_main_wrap.scss */
|
313 |
.cmb-repeat-table .cmb-remove-row {
|
314 |
top: 7px;
|
315 |
right: 7px;
|
319 |
padding: 0 !important;
|
320 |
display: none;
|
321 |
}
|
322 |
+
/* line 320, sass/partials/_main_wrap.scss */
|
323 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
324 |
font-size: 20px;
|
325 |
text-indent: -1000px;
|
329 |
line-height: 1;
|
330 |
padding: 0 10px 0;
|
331 |
}
|
332 |
+
/* line 331, sass/partials/_main_wrap.scss */
|
333 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
334 |
content: "";
|
335 |
font-family: 'Dashicons';
|
348 |
height: 100%;
|
349 |
text-align: center;
|
350 |
}
|
351 |
+
/* line 337, sass/partials/_main_wrap.scss */
|
352 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
353 |
display: block;
|
354 |
}
|
355 |
|
356 |
+
/* line 345, sass/partials/_main_wrap.scss */
|
357 |
.cmb-repeatable-group .cmb-th {
|
358 |
padding: 5px;
|
359 |
}
|
360 |
+
/* line 349, sass/partials/_main_wrap.scss */
|
361 |
.cmb-repeatable-group .cmb-group-title {
|
362 |
background-color: #e9e9e9;
|
363 |
padding: 8px 12px 8px 2.2em;
|
366 |
font-size: 14px;
|
367 |
line-height: 1.4;
|
368 |
}
|
369 |
+
/* line 357, sass/partials/_main_wrap.scss */
|
370 |
.cmb-repeatable-group .cmb-group-title h4 {
|
371 |
border: 0;
|
372 |
margin: 0;
|
374 |
font-weight: 500;
|
375 |
padding: 0.5em 0.75em;
|
376 |
}
|
377 |
+
/* line 365, sass/partials/_main_wrap.scss */
|
378 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
379 |
display: block;
|
380 |
width: 100%;
|
381 |
}
|
382 |
+
/* line 371, sass/partials/_main_wrap.scss */
|
383 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
384 |
font-size: 1.2em;
|
385 |
display: block;
|
394 |
margin-top: 0;
|
395 |
margin-bottom: 0.5em;
|
396 |
}
|
397 |
+
/* line 375, sass/partials/_main_wrap.scss */
|
398 |
.cmb-repeatable-group .cmb-shift-rows {
|
|
|
399 |
margin-right: 1em;
|
|
|
400 |
}
|
401 |
+
/* line 378, sass/partials/_main_wrap.scss */
|
402 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2 {
|
403 |
+
margin-top: .15em;
|
|
|
|
|
|
|
404 |
}
|
405 |
+
/* line 382, sass/partials/_main_wrap.scss */
|
406 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2 {
|
407 |
+
margin-top: .2em;
|
408 |
}
|
409 |
+
/* line 387, sass/partials/_main_wrap.scss */
|
410 |
.cmb-repeatable-group .cmb2-upload-button {
|
411 |
float: right;
|
412 |
}
|
413 |
|
414 |
+
/* line 393, sass/partials/_main_wrap.scss */
|
415 |
p.cmb2-metabox-description {
|
416 |
+
color: #666;
|
417 |
+
letter-spacing: 0.01em;
|
418 |
margin: 0;
|
419 |
padding-top: .5em;
|
420 |
}
|
421 |
|
422 |
+
/* line 400, sass/partials/_main_wrap.scss */
|
423 |
span.cmb2-metabox-description {
|
424 |
+
color: #666;
|
425 |
+
letter-spacing: 0.01em;
|
426 |
}
|
427 |
|
428 |
+
/* line 405, sass/partials/_main_wrap.scss */
|
429 |
.cmb2-metabox-title {
|
430 |
margin: 0 0 5px 0;
|
431 |
padding: 5px 0 0 0;
|
432 |
font-size: 14px;
|
433 |
}
|
434 |
|
435 |
+
/* line 411, sass/partials/_main_wrap.scss */
|
436 |
.cmb-inline ul {
|
437 |
padding: 4px 0 0 0;
|
438 |
}
|
439 |
|
440 |
+
/* line 415, sass/partials/_main_wrap.scss */
|
441 |
.cmb-inline li {
|
442 |
display: inline-block;
|
443 |
padding-right: 18px;
|
444 |
}
|
445 |
|
446 |
+
/* line 420, sass/partials/_main_wrap.scss */
|
447 |
.cmb-type-textarea-code pre {
|
448 |
margin: 0;
|
449 |
}
|
450 |
|
451 |
+
/* line 426, sass/partials/_main_wrap.scss */
|
452 |
.cmb2-media-status .img-status {
|
453 |
clear: none;
|
454 |
display: inline-block;
|
456 |
margin-right: 10px;
|
457 |
width: auto;
|
458 |
}
|
459 |
+
/* line 433, sass/partials/_main_wrap.scss */
|
460 |
.cmb2-media-status .img-status img {
|
461 |
max-width: 350px;
|
462 |
height: auto;
|
463 |
}
|
464 |
+
/* line 439, sass/partials/_main_wrap.scss */
|
465 |
.cmb2-media-status .img-status img,
|
466 |
.cmb2-media-status .embed-status {
|
467 |
background: #eee;
|
475 |
-moz-border-radius: 2px;
|
476 |
margin: 15px 0 0 0;
|
477 |
}
|
478 |
+
/* line 453, sass/partials/_main_wrap.scss */
|
479 |
.cmb2-media-status .embed-status {
|
480 |
float: left;
|
481 |
max-width: 800px;
|
482 |
}
|
483 |
+
/* line 458, sass/partials/_main_wrap.scss */
|
484 |
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
485 |
position: relative;
|
486 |
}
|
487 |
+
/* line 461, sass/partials/_main_wrap.scss */
|
488 |
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
489 |
background: url(../images/ico-delete.png);
|
490 |
height: 16px;
|
494 |
top: -5px;
|
495 |
width: 16px;
|
496 |
}
|
497 |
+
/* line 475, sass/partials/_main_wrap.scss */
|
498 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
499 |
top: 10px;
|
500 |
}
|
501 |
+
/* line 480, sass/partials/_main_wrap.scss */
|
502 |
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
503 |
cursor: pointer;
|
504 |
}
|
505 |
+
/* line 485, sass/partials/_main_wrap.scss */
|
506 |
.cmb2-media-status.cmb-attach-list .img-status img, .cmb2-media-status.cmb-attach-list .file-status > span {
|
507 |
cursor: move;
|
508 |
}
|
509 |
|
510 |
+
/* line 492, sass/partials/_main_wrap.scss */
|
511 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
512 |
clear: none;
|
513 |
vertical-align: middle;
|
517 |
margin-top: 0;
|
518 |
}
|
519 |
|
520 |
+
/* line 501, sass/partials/_main_wrap.scss */
|
521 |
.cmb-attach-list li {
|
522 |
clear: both;
|
523 |
display: inline-block;
|
525 |
margin-top: 5px;
|
526 |
margin-bottom: 10px;
|
527 |
}
|
528 |
+
/* line 507, sass/partials/_main_wrap.scss */
|
529 |
.cmb-attach-list li img {
|
530 |
float: left;
|
531 |
margin-right: 10px;
|
532 |
}
|
533 |
|
534 |
+
/* line 513, sass/partials/_main_wrap.scss */
|
535 |
.cmb2-remove-wrapper {
|
536 |
margin: 0;
|
537 |
}
|
538 |
|
539 |
+
/* line 517, sass/partials/_main_wrap.scss */
|
540 |
.child-cmb2 .cmb-th {
|
541 |
text-align: left;
|
542 |
}
|
543 |
|
544 |
+
/* line 521, sass/partials/_main_wrap.scss */
|
545 |
.cmb2-indented-hierarchy {
|
546 |
padding-left: 1.5em;
|
547 |
}
|
548 |
|
549 |
@media (max-width: 450px) {
|
550 |
+
/* line 526, sass/partials/_main_wrap.scss */
|
551 |
.cmb-th,
|
552 |
.cmb-td,
|
553 |
.cmb-th + .cmb-td {
|
592 |
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
593 |
right: -1em;
|
594 |
position: relative;
|
595 |
+
color: #222222;
|
596 |
}
|
597 |
+
/* line 43, sass/partials/_post_metaboxes.scss */
|
598 |
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
599 |
padding: 0 1em;
|
600 |
max-width: 100%;
|
601 |
min-width: 1px !important;
|
602 |
}
|
603 |
+
/* line 49, sass/partials/_post_metaboxes.scss */
|
604 |
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
605 |
padding-bottom: 0;
|
606 |
}
|
607 |
+
/* line 53, sass/partials/_post_metaboxes.scss */
|
608 |
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
609 |
width: 18%;
|
610 |
padding: 0 2% 0 0;
|
611 |
}
|
612 |
+
/* line 59, sass/partials/_post_metaboxes.scss */
|
613 |
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
614 |
margin-bottom: 0;
|
615 |
padding: 0;
|
616 |
line-height: 1.3;
|
617 |
}
|
618 |
+
/* line 65, sass/partials/_post_metaboxes.scss */
|
619 |
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
620 |
width: 80%;
|
621 |
float: right;
|
622 |
}
|
623 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
624 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
625 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
626 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
627 |
border-bottom: 1px solid #e9e9e9;
|
628 |
}
|
629 |
@media (max-width: 450px) {
|
630 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
631 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
632 |
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
633 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
634 |
border-bottom: 0;
|
635 |
}
|
636 |
}
|
637 |
+
/* line 79, sass/partials/_post_metaboxes.scss */
|
638 |
.cmb2-postbox .cmb-repeat-group-field,
|
639 |
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
640 |
.cmb-type-group .cmb-remove-field-row {
|
645 |
* Context Metaboxes
|
646 |
--------------------------------------------------------------*/
|
647 |
/* Metabox collapse arrow indicators */
|
648 |
+
/* line 8, sass/partials/_context_metaboxes.scss */
|
649 |
+
.js .cmb2-postbox.context-box .handlediv {
|
650 |
+
text-align: center;
|
651 |
+
}
|
652 |
+
/* line 13, sass/partials/_context_metaboxes.scss */
|
653 |
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
654 |
content: "\f142";
|
655 |
display: inline-block;
|
659 |
-moz-osx-font-smoothing: grayscale;
|
660 |
text-decoration: none !important;
|
661 |
}
|
662 |
+
/* line 26, sass/partials/_context_metaboxes.scss */
|
663 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
664 |
content: "\f140";
|
665 |
}
|
666 |
|
667 |
+
/* line 34, sass/partials/_context_metaboxes.scss */
|
668 |
.cmb2-postbox.context-box {
|
669 |
margin-bottom: 10px;
|
670 |
}
|
671 |
+
/* line 38, sass/partials/_context_metaboxes.scss */
|
672 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
673 |
margin-top: 10px;
|
674 |
}
|
675 |
+
/* line 42, sass/partials/_context_metaboxes.scss */
|
676 |
.cmb2-postbox.context-box.context-after_title-box {
|
677 |
margin-top: 10px;
|
678 |
}
|
679 |
+
/* line 46, sass/partials/_context_metaboxes.scss */
|
680 |
.cmb2-postbox.context-box.context-after_editor-box {
|
681 |
margin-top: 20px;
|
682 |
margin-bottom: 0;
|
683 |
}
|
684 |
+
/* line 51, sass/partials/_context_metaboxes.scss */
|
685 |
.cmb2-postbox.context-box.context-form_top-box {
|
686 |
margin-top: 10px;
|
687 |
}
|
688 |
+
/* line 55, sass/partials/_context_metaboxes.scss */
|
689 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
690 |
font-size: 14px;
|
691 |
padding: 8px 12px;
|
692 |
margin: 0;
|
693 |
line-height: 1.4;
|
694 |
}
|
695 |
+
/* line 63, sass/partials/_context_metaboxes.scss */
|
696 |
.cmb2-postbox.context-box .hndle {
|
697 |
cursor: auto;
|
698 |
}
|
699 |
|
700 |
+
/* line 68, sass/partials/_context_metaboxes.scss */
|
701 |
.cmb2-context-wrap {
|
702 |
margin-top: 10px;
|
703 |
}
|
704 |
+
/* line 72, sass/partials/_context_metaboxes.scss */
|
705 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
706 |
margin-right: 300px;
|
707 |
width: auto;
|
708 |
}
|
709 |
+
/* line 79, sass/partials/_context_metaboxes.scss */
|
710 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
711 |
padding: 10px;
|
712 |
}
|
713 |
+
/* line 84, sass/partials/_context_metaboxes.scss */
|
714 |
.cmb2-context-wrap .cmb-th {
|
715 |
padding: 0 2% 0 0;
|
716 |
width: 18%;
|
717 |
}
|
718 |
+
/* line 89, sass/partials/_context_metaboxes.scss */
|
719 |
.cmb2-context-wrap .cmb-td {
|
720 |
width: 80%;
|
721 |
padding: 0;
|
722 |
}
|
723 |
+
/* line 94, sass/partials/_context_metaboxes.scss */
|
724 |
.cmb2-context-wrap .cmb-row {
|
725 |
margin-bottom: 10px;
|
726 |
}
|
727 |
+
/* line 97, sass/partials/_context_metaboxes.scss */
|
728 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
729 |
margin-bottom: 0;
|
730 |
}
|
731 |
|
732 |
/* one column on the post write/edit screen */
|
733 |
@media only screen and (max-width: 850px) {
|
734 |
+
/* line 107, sass/partials/_context_metaboxes.scss */
|
735 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
736 |
margin-right: 0;
|
737 |
}
|
771 |
--------------------------------------------------------------*/
|
772 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
773 |
.cmb2-metabox .cmbhandle {
|
774 |
+
color: #757575;
|
775 |
float: right;
|
776 |
width: 27px;
|
777 |
height: 30px;
|
1277 |
color: #fff;
|
1278 |
}
|
1279 |
|
1280 |
+
/*--------------------------------------------------------------
|
1281 |
+
* Character counter
|
1282 |
+
--------------------------------------------------------------*/
|
1283 |
+
/* line 5, sass/partials/_char_counter.scss */
|
1284 |
+
.cmb2-char-counter-wrap {
|
1285 |
+
margin: .5em 0 1em;
|
1286 |
+
}
|
1287 |
+
/* line 8, sass/partials/_char_counter.scss */
|
1288 |
+
.cmb2-char-counter-wrap input[type="text"] {
|
1289 |
+
font-size: 12px;
|
1290 |
+
width: 25px;
|
1291 |
+
}
|
1292 |
+
/* line 14, sass/partials/_char_counter.scss */
|
1293 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded input[type="text"] {
|
1294 |
+
border-color: #a00 !important;
|
1295 |
+
}
|
1296 |
+
/* line 17, sass/partials/_char_counter.scss */
|
1297 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg {
|
1298 |
+
display: inline-block;
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
/* line 23, sass/partials/_char_counter.scss */
|
1302 |
+
.cmb2-char-max-msg {
|
1303 |
+
color: #a00;
|
1304 |
+
display: none;
|
1305 |
+
font-weight: 600;
|
1306 |
+
margin-left: 1em;
|
1307 |
+
}
|
1308 |
+
|
1309 |
/**
|
1310 |
* CMB2 Frontend
|
1311 |
*/
|
1365 |
margin: 4px 10px 0;
|
1366 |
}
|
1367 |
|
1368 |
+
/* line 58, sass/partials/_front.scss */
|
1369 |
+
.cmb2-char-max-msg {
|
1370 |
+
display: none;
|
1371 |
+
}
|
1372 |
+
|
1373 |
/*# sourceMappingURL=cmb2-front.css.map */
|
includes/lib/cmb2/css/cmb2-front.css.map
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"version": 3,
|
3 |
-
"mappings": "AAAA;;GAEG;ACFH;;gEAEgE;;AAEhE,UAAW;EACV,MAAM,EAAE,CAAC;;;AAET;mBACS;EACR,SAAS,ECEK,IAAI;EDDlB,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,GAAG;;;AAMZ,uCAAc;EACb,KAAK,EAAE,IAAI;;;AAIb,mBAAS;EACR,KAAK,EAAE,KAAK;;;AAEZ,sCAAqB;EACpB,WAAW,EChBE,sCAAsC;EDiBnD,WAAW,EAAE,IAAI;;;AAMlB,kEACkB;EACjB,KAAK,EAAE,KAAK;;;AAIb,gCAAkB;EACjB,KAAK,EAAE,IAAI;;;AAIZ,iCAAmB;EAClB,KAAK,EAAE,KAAK;;;AAIb,iCAAmB;EAClB,KAAK,EAAE,GAAG;;;AAGX,0BAAY;EACX,OAAO,EAAE,OAAO;;;AAIhB;;8CAES;EACR,WAAW,EAAE,IAAI;;;AAKpB,aAAG;EACF,MAAM,EAAE,CAAC;;;AAGV,aAAG;EACF,SAAS,EC5DK,IAAI;ED6DlB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,WAAW;;;AAQpB,iBAAO;EACN,SAAS,ECvEK,IAAI;EDwElB,UAAU,EAAE,GAAG;;;AAGhB;yBACe;EACd,UAAU,ECtEI,OAAO;;;ADyEtB,8BAAoB;EACnB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;;;AAGX,iCAAuB;EACtB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;;;AAGX;4BACkB;EACjB,WAAW,EAAE,MAAM;;;AAGpB,qBAAW;EACV,MAAM,EAAE,4BAAgC;;;AAGzC,8BAAoB;EACnB,UAAU,EAAE,IAAI;;;AAGjB,oBAAU;EACT,KAAK,EAAE,GAAG;;;AAEV,6BAAS;EACR,KAAK,EAAE,IAAI;;;AAOb;gCACsB;EACrB,cAAc,EAAE,MAAM;;;AAGvB;+BACqB;EACpB,MAAM,EAAE,UAAU;;;AAGnB,mBAAS;EACR,MAAM,EAAE,CAAC;;;AAET,yBAAQ;EACP,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAGZ,kCAAiB;EAChB,OAAO,EAAE,SAAS;;;AAElB,gDAAgB;EACf,OAAO,EAAE,CAAC;;;AAIZ,wDAAuC;EACtC,WAAW,EAAE,CAAC;EACd,cAAc,EAAE,KAAK;;;;AAKxB,aAAc;EACb,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,CAAC;;;AAIR;;;gEACQ;EACP,MAAM,EAAE,CAAC;;;AAKV,6DAAqC;EACpC,aAAa,EAAE,IAAI;EACnB,UAAU,EAAE,UAAU;EACtB,KAAK,EAAE,IAAI;;;;AAKd,YAAa;EACZ,MAAM,EAAE,SAAS;;;;AAGlB;;mCAEoC;EACnC,MAAM,EAAE,CAAC;;;;AAGV;;kCAEmC;EAClC,aAAa,EAAE,CAAC;;;;AAGjB,wBAAyB;EACxB,MAAM,EAAE,iBAAqB;EAC7B,OAAO,EAAE,KAAK;EACd,SAAS,EAAE,MAAM;;;AACjB,gCAAU;EACT,MAAM,EAAE,SAAS;;;;AAMnB,OAAQ;EACP,KAAK,ECnMU,OAAO;EDoMtB,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,GAAG;EAChB,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,gBAAgB;EACzB,cAAc,EAAE,GAAG;EACnB,KAAK,EAAE,KAAK;;AAEZ,yBAAkC;;EATnC,OAAQ;IE3MP,SAAS,EAAE,KAAK;IAehB,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,cAAc,EAAE,GAAG;IACnB,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,IAAI;;;EAEX,aAAM;IACL,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,GAAG;IACf,cAAc,EAAE,GAAG;;;EAEnB,mBAAQ;IACP,aAAa,EAAE,iBAAqB;IACpC,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,KAAK;IACd,WAAW,EAAE,IAAI;;;;;AF0LpB,OAAQ;EACP,WAAW,EAAE,GAAG;EAChB,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,SAAS;EAClB,cAAc,EAAE,MAAM;;;;AAKtB,uBAAQ;EACP,OAAO,EAAE,CAAC;;;;AAIZ,aAAc;EACb,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,KAAK;;;;AAGf,iBAAkB;EACjB,KAAK,EAAE,IAAI;;;;AAGZ,eAAgB;EACf,cAAc,EAAE,GAAG;;;;AAGpB,eAAgB;EACf,UAAU,EAAE,KAAK;;;;AAGlB,iBAAkB;EACjB,OAAO,EAAE,IAAI;;;;AAKb,6BAAQ;EACP,OAAO,EAAE,GAAG;;;AAGb,sCAAiB;EAChB,gBAAgB,ECxPF,OAAO;EDyPrB,OAAO,EAAE,kBAAkB;EAC3B,MAAM,EAAE,MAAM;EACd,UAAU,EAAE,KAAK;EACjB,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,GAAG;;;AAEhB,yCAAG;EACF,MAAM,EAAE,CAAC;EACT,MAAM,EAAE,CAAC;EACT,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,YAAY;;;AAGtB,8CAAQ;EACP,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAIb,oDAA+B;EExR/B,SAAS,EAAE,KAAK;EAehB,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,cAAc,EAAE,GAAG;EACnB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;;;AAEX,0DAAM;EACL,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,GAAG;EACf,cAAc,EAAE,GAAG;;;AAEnB,gEAAQ;EACP,aAAa,EAAE,iBAAqB;EACpC,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;;;AF6PnB,qCAAgB;EACf,SAAS,EAAE,GAAG;EACd,YAAY,EAAE,GAAG;EACjB,eAAe,EAAE,IAAI;;;AAErB,gDAAW;EACV,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,KAAK;EACb,WAAW,EAAE,KAAK;EAClB,KAAK,EAAE,GAAG;;;AAEV,0EAA4B;EAC3B,WAAW,EAAE,KAAK;;;AAMrB,yCAAoB;EACnB,KAAK,EAAE,KAAK;;;;AAKd,0BAA2B;EAC1B,KAAK,EC3SU,OAAO;ED4StB,UAAU,EAAE,MAAM;EAClB,MAAM,EAAE,CAAC;EACT,WAAW,EAAE,IAAI;;;;AAGlB,6BAA8B;EAC7B,KAAK,EClTU,OAAO;EDmTtB,UAAU,EAAE,MAAM;;;;AAGnB,mBAAoB;EACnB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,SAAS;EAClB,SAAS,EAAE,IAAI;;;;AAGhB,cAAe;EACd,OAAO,EAAE,SAAS;;;;AAGnB,cAAe;EACd,OAAO,EAAE,YAAY;EACrB,aAAa,EAAE,IAAI;;;;AAGpB,2BAA4B;EAC3B,MAAM,EAAE,CAAC;;;;AAKT,8BAAY;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,cAAc,EAAE,MAAM;EACtB,YAAY,EAAE,IAAI;EAClB,KAAK,EAAE,IAAI;;;AAEX,kCAAI;EACH,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,IAAI;;;AAId;gCACc;EACb,UAAU,ECtVI,OAAO;EDuVrB,MAAM,EAAE,iBAAqB;EAC7B,aAAa,EAAE,GAAG;EAClB,kBAAkB,EAAE,GAAG;EACtB,MAAM,EAAE,UAAU;EACnB,OAAO,EAAE,GAAG;;;AAGb,gCAAc;EACb,KAAK,EAAE,IAAI;EACX,SAAS,EAAE,KAAK;;;AAGjB,gEAA2B;EAC1B,QAAQ,EAAE,QAAQ;;;AAElB,kHAAyB;EACxB,UAAU,EAAE,6BAA6B;EACzC,MAAM,EAAE,IAAI;EACZ,IAAI,EAAE,IAAI;EACV,QAAQ,EAAE,QAAQ;EAClB,WAAW,EAAE,OAAO;EACpB,GAAG,EAAE,IAAI;EACT,KAAK,EAAE,IAAI;;;AAOZ,uDAAyB;EACxB,GAAG,EAAE,IAAI;;;AAIX,0EAAqC;EACpC,MAAM,EAAE,OAAO;;;;AAKjB,kDAAmD;EAClD,KAAK,EAAE,IAAI;EACX,cAAc,EAAE,MAAM;EACtB,KAAK,EAAE,IAAI;EACX,YAAY,EAAE,IAAI;EAClB,aAAa,EAAE,IAAI;EACnB,UAAU,EAAE,CAAC;;;;AAGd,mBAAoB;EACnB,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,GAAG;EACf,aAAa,EAAE,IAAI;;;AAEnB,uBAAI;EACH,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,YAAY,EAAE,IAAI;;;;AAIpB,oBAAqB;EACpB,MAAM,EAAE,CAAC;;;;AAGV,mBAAoB;EACnB,UAAU,EAAE,IAAI;;;AAGjB,yBAAkC;;EACjC;;mBAEkB;IACjB,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;;;AGvbb;;gEAEgE;;AAChE,2BAA4B;EAC3B,WAAW,EAAE,IAAI;EACjB,YAAY,EAAE,IAAI;EAClB,UAAU,EAAE,KAAK;;;;AAGlB,uCAAwC;EACvC,YAAY,EAAE,KAAK;;;;AAKnB,oDAAW;EACV,MAAM,EAAE,CAAC;;;AAET,8GAA6B;EAC5B,OAAO,EAAE,OAAO;;;AAKhB,8GAAc;EACb,KAAK,EAAE,IAAI;;;AAKd,gDAAS;EACR,OAAO,EAAE,SAAS;EAClB,MAAM,EAAE,SAAS;;;AAEjB,sEAAW;EACV,KAAK,EAAE,IAAI;EACX,QAAQ,EAAE,QAAQ;;;AAIpB,gFAAyB;EACxB,OAAO,EAAE,KAAK;EACd,SAAS,EAAE,IAAI;EACf,SAAS,EAAE,cAAc;;;AAG1B,gGAAiC;EAChC,cAAc,EAAE,CAAC;;;AAGlB,8CAAQ;EACP,KAAK,EAAE,GAAG;EACV,OAAO,EAAE,QAAQ;;;AAIlB,8CAAQ;EACP,aAAa,EAAE,CAAC;EAChB,OAAO,EAAE,CAAC;EACV,WAAW,EAAE,GAAG;;;AAGjB,8EAAwB;EACvB,cAAc,EAAE,KAAK;;;AAGtB,kEAAkB;EACjB,KAAK,EAAE,GAAG;EACV,KAAK,EAAE,KAAK;;;AAGb;;wDACyC;EACxC,aAAa,EAAE,iBAAqB;;AAEpC,yBAAkC;;EAJnC;;0DACyC;IAIvC,aAAa,EAAE,CAAC;;;;AAIlB;;qCACsB;EACrB,WAAW,EAAE,KAAK;;;AAKjB,4VAA6B;EAC5B,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAEX,waAAmB;EAClB,KAAK,EAAE,IAAI;;;AAGZ,ofAAsC;EACrC,OAAO,EAAE,SAAS;;;AAGnB,4XAAQ;EACP,OAAO,EAAE,UAAU;EACnB,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;;;AAGZ,gfAAqC;EACpC,WAAW,EAAE,KAAK;;;AAGnB,wbAAuB;EACtB,aAAa,EAAE,CAAC;;;AC9GrB;;gEAEgE;AAEhE,uCAAuC;;AAIrC,sDAAS;EACR,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,YAAY;EACrB,IAAI,EAAE,uBAAuB;EAC7B,KAAK,EAAE,IAAI;EACX,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EAClC,eAAe,EAAE,eAAe;;;AAMhC,6DAAS;EACR,OAAO,EAAE,OAAO;;;;AAOpB,yBAA0B;EAEzB,aAAa,EAAE,IAAI;;;AAEnB,sDAA+B;EAC9B,UAAU,EAAE,IAAI;;;AAGjB,iDAA0B;EACzB,UAAU,EAAE,IAAI;;;AAGjB,kDAA2B;EAC1B,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,CAAC;;;AAGjB,8CAAuB;EAEtB,UAAU,EAAE,IAAI;;;AAEhB,qDAAO;EACN,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,QAAQ;EACjB,MAAM,EAAE,CAAC;EACT,WAAW,EAAE,GAAG;;;AAIlB,gCAAO;EACN,MAAM,EAAE,IAAI;;;;AAId,kBAAmB;EAElB,UAAU,EAAE,IAAI;;;AAEhB,6CAA6B;EAC5B,YAAY,EAAE,KAAK;EACnB,KAAK,EAAE,IAAI;;;AAKX,2DAAc;EACb,OAAO,EAAE,IAAI;;;AAIf,0BAAQ;EACP,OAAO,EAAE,QAAQ;EACjB,KAAK,EAAE,GAAG;;;AAGX,0BAAQ;EACP,KAAK,EAAE,GAAG;EACV,OAAO,EAAE,CAAC;;;AAGX,2BAAS;EACR,aAAa,EAAE,IAAI;;;AAEnB,wCAAe;EACd,aAAa,EAAE,CAAC;;;AAMnB,8CAA8C;AAC9C,yCAA0C;;EAEzC,6CAA8C;IAC7C,YAAY,EAAE,CAAC;;;ACvGjB;;gEAEgE;;AAEhE,mCAAoC;EACnC,MAAM,EAAE,CAAC;;;;AAMT;;kCAAoB;EACnB,SAAS,EAAE,KAAK;;;;AAKjB,sCAAoB;EACnB,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,KAAK;;;AACb,mEAA6B;EAC5B,UAAU,EAAE,MAAM;EAClB,aAAa,EAAE,IAAI;;;;AAKrB,0DAAa;EACZ,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,IAAI;;;;AAGf,YAAa;EACZ,OAAO,EAAE,IAAI;;;AACb,sBAAY;EACX,OAAO,EAAE,KAAK;;;ACnChB;;gEAEgE;;AAO9D;uDAA6B;EAC5B,OAAO,EAAE,OAAO;;;AAKhB;iEAAqC;EACpC,KAAK,EAAE,IAAI;;;AAGZ;;yCAA0C;EACzC,WAAW,EAAE,CAAC;EACd,UAAU,EAAE,GAAG;EACf,OAAO,EAAE,KAAK;;;AAGf;gDAAkB;EACjB,SAAS,EAAE,GAAG;;;AACd;4EAA4B;EAC3B,OAAO,EAAE,KAAK;;;AAKjB;gCAAM;EACL,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,OAAO;;;AAKlB;wBAAS;EACR,SAAS,EAAE,GAAG;;;AAGf;qCAAsB;EACrB,aAAa,EAAE,iBAAqB;;;AAGrC;iEAAkD;EACjD,aAAa,EAAE,CAAC;EAChB,aAAa,EAAE,MAAM;;;AAGtB;;;;;iCAEkB;EACjB,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAGZ;+BAAgB;EACf,OAAO,EAAE,IAAI;;;AAGd;+BAAgB;EACf,cAAc,EAAE,GAAG;;;AAGpB;uBAAQ;EJlDR,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,cAAc,EAAE,GAAG;EACnB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;EIgDV,YAAY,EAAE,CAAC;EACf,aAAa,EAAE,CAAC;;;AJ/CjB;6BAAM;EACL,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,GAAG;EACf,cAAc,EAAE,GAAG;;;AAEnB;mCAAQ;EACP,aAAa,EAAE,iBAAqB;EACpC,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;;;AAvBnB;6BAAM;EACL,SAAS,EDHK,IAAI;ECIlB,WAAW,EAAE,KAAK;;;AI8DlB;8CAAQ;EACP,WAAW,EAAE,CAAC;;;AAEf;gEAA0B;EACzB,OAAO,EAAE,CAAC;;;AAMX;wCAAQ;EACP,OAAO,EAAE,CAAC;;;AAKX;mEAA2B;EAC1B,UAAU,EAAE,GAAG;;;AAQf;;;oDAAI;EACH,SAAS,EAAE,GAAG;EAEd,MAAM,EAAE,IAAI;;;AAKf;gCAAiB;EAChB,OAAO,EAAE,MAAM;EACf,WAAW,EAAE,MAAM;;;AAGpB;yCAA0B;EACzB,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,OAAO;;;AAKhB;;;4DAC0B;EACzB,WAAW,EAAE,MAAM;EACnB,OAAO,EAAE,MAAM;;;AAIjB;kDAAmC;EAClC,cAAc,EAAE,KAAK;;;AAGtB;mCAAoB;EACnB,SAAS,EAAE,KAAK;EAChB,UAAU,EAAE,MAAM;;;AAGnB;+BAAgB;EACf,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,IAAI;EACjB,cAAc,EAAE,CAAC;;;AAIjB;6DAAQ;EACP,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,CAAC;;;AACd;4EAAiB;EAChB,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,CAAC;;;AAKZ;mCAAoB;EACnB,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,IAAI;;;;AC9JjB,6BAAgB;EACf,SAAS,EAAE,MAAM;;;AAElB,wBAAW;EACV,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,KAAK;EACZ,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,IAAI;EACX,QAAQ,EAAE,QAAQ;;;AAClB,+BAAS;EACR,OAAO,EAAE,OAAO;EAChB,KAAK,EAAE,IAAI;EACX,IAAI,EAAE,yBAAyB;EAC/B,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,QAAQ;EACjB,GAAG,EAAE,CAAC;EACN,QAAQ,EAAE,QAAQ;EAClB,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EAClC,eAAe,EAAE,eAAe;;;AAMhC,+CAAS;EACR,OAAO,EAAE,OAAO;;;AAKnB,2EAA8D;EAC7D,kBAAkB,EAAE,eAAe;EACnC,UAAU,EAAE,eAAe;EAC3B,MAAM,EAAE,eAAe;EACvB,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,CAAC;EACP,GAAG,EAAE,IAAI;EACT,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,WAAW;EACpB,OAAO,EAAE,EAAE;;;AACX,2FAAkB;EACjB,MAAM,EAAE,OAAO;EACf,KAAK,EN1BQ,IAAI;EM2BjB,OAAO,EAAE,CAAC;;;AACV,iGAAQ;EACP,KAAK,EN9BO,IAAI;;;AOpBpB;;;;;;;;;;;;GAYG;;AAEH,uCAAwC;EACvC,MAAM,EAAC,EAAE;;;;AAQV,yDAA0D;EACzD,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;EACT,qBAAqB,EAAE,CAAC;EACxB,kBAAkB,EAAE,CAAC;EACrB,aAAa,EAAE,CAAC;EAChB,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,iBAAiB;EACzB,UAAU,EAAE,IAAI;EAChB,kBAAkB,EAAE,8BAA8B;EAClD,UAAU,EAAE,8BAA8B;EAC1C,SAAS,EAAE,IAAI;EACf,KAAK,EAAE,IAAI;EA6KX,0BAA0B;;;AA3K1B,6DAAE;EACD,OAAO,EAAE,CAAC;EACV,WAAW,EAAE,uBAAuB;EACpC,qBAAqB,EAAE,CAAC;EACxB,kBAAkB,EAAE,CAAC;EACrB,aAAa,EAAE,CAAC;;;AAGjB,qEAAM;EACL,SAAS,EAAE,IAAI;EACf,MAAM,EAAE,CAAC;EACT,MAAM,EAAE,IAAI;EACZ,eAAe,EAAE,QAAQ;;;AAG1B;;kDACsB;EACrB,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,MAAM;;;AAGpB,qIAAsC;EACrC,UAAU,EAAE,WAAW;EACvB,YAAY,EAAE,WAAW;EACzB,MAAM,EAAE,OAAO;;;AAGhB,mGAAqB;EACpB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,MAAM;EACf,KAAK,EAAE,IAAI;EACX,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,MAAM;;;AAElB,iHAAO;EACN,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,IAAI;;;AAIrB;;gDACoB;EACnB,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,CAAC;EACN,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGZ;;+DACmC;EAClC,MAAM,EAAE,IAAI;;;AAGb;;sDAC0B;EACzB,IAAI,EAAE,CAAC;;;AAGR;;sDAC0B;EACzB,KAAK,EAAE,CAAC;;;AAGT;;qDACyB;EACxB,OAAO,EAAE,IAAI;;;AAGd,iGAAoB;EACnB,KAAK,EAAE,IAAI;;;AAGZ,iGAAoB;EACnB,KAAK,EAAE,KAAK;;;AAGb;;uDAC2B;EAC1B,IAAI,EAAE,4BAA4B;EAClC,YAAY,EAAE,GAAG;EACjB,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EAClC,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;;;AAGb,+GAA2B;EAC1B,OAAO,EAAE,OAAO;;;AAGjB,+GAA2B;EAC1B,OAAO,EAAE,OAAO;;;AAGjB;;6DACiC;EAChC,OAAO,EAAE,GAAG;;;AAGb;;sDAC0B;EACzB,KAAK,EAAE,GAAG;EACV,UAAU,EAAE,WAAW;EACvB,YAAY,EAAE,WAAW;EACzB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;;;AACX;;6DAAO;EACN,KAAK,EAAE,IAAI;;;AAIb,qEAAM;EACL,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,GAAG;;;AAChB,2EAAG;EACF,WAAW,EAAE,MAAM;;;AAIrB,+DAAG;EACF,OAAO,EAAE,IAAI;;;AAGd,+DAAG;EACF,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,iBAAkB;;;AAG3B,mHAA6B;EAC5B,MAAM,EAAE,WAAW;;;AAGpB,6GAA0B;EACzB,gBAAgB,EA7JR,OAAO;EA8Jf,MAAM,EAAE,iBAAkB;;;AAC1B,qJAAsB;EACrB,kBAAkB,EAAE,wCAAwC;EAC5D,eAAe,EAAE,wCAAwC;EACzD,UAAU,EAAE,wCAAwC;;;AAItD,uGAAuB;EACtB,gBAAgB,EAAE,OAAO;;;AAG1B,mHAA6B;EAC5B,UAAU,EAAE,OAAO;;;AAGpB,mGAAqB;EACpB,UAAU,EAAE,WAAW;EACvB,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,MAAM;EAClB,eAAe,EAAE,IAAI;EACrB,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,QAAQ;EACjB,WAAW,EAAE,MAAM;EACnB,KAAK,EAAE,IAAI;;;AAGZ,uIAAuC;EACtC,OAAO,EAAE,GAAG;;;AAIb;;kDACsB;EACrB,UAAU,EAhMA,OAAO;;;AAmMlB,qEAAM;EACL,UAAU,EAnMA,OAAO;;;AAsMlB,kMAAwC;EACvC,UAAU,EAtMI,OAAO;EAuMrB,KAAK,EAAE,IAAI;;;AAGZ,+FAAmB;EAClB,SAAS,EAAE,IAAI;;;AACf,qGAAG;EACF,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,MAAM;;;AACf,2GAAG;EACF,KAAK,EAAE,IAAI;EACX,KAAK,EAAC,IAAI;EACV,OAAO,EAAE,SAAS;;;AAEnB,2GAAG;EACF,MAAM,EAAE,eAAe;;;AACvB,yHAAO;EACN,KAAK,EAAE,IAAI;;;AAKd,uJAA4B;EAC3B,OAAO,EAAE,IAAI;EACb,UAAU,EAAE,IAAI;;;AAEhB,oXAAmC;EAClC,OAAO,EAAE,UAAU;EACnB,qBAAqB,EAAE,GAAG;EAC1B,kBAAkB,EAAE,GAAG;EACvB,aAAa,EAAE,GAAG;EAClB,MAAM,EAAE,gBAAgB;;;;AAS1B;;qEACsB;EACrB,UAAU,EAlPD,OAAO;;;AAqPjB,2GAAM;EACL,UAAU,EArPD,OAAO;;;AAwPjB,qIAAmB;EAClB,UAAU,EAxPG,OAAO;EAyPpB,KAAK,EAAE,IAAI;;;;AAMZ;;oEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,yGAAM;EACL,UAAU,EAAE,OAAO;;;AAQnB,0QAAkC;EACjC,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;AAGZ,2IAAsB;EACrB,UAAU,EAAE,IAAI;;;;AAQlB;;sEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,6GAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,uIAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;yEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,mHAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,6IAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;wEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,iHAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,2IAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;qEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,2GAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,qIAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;;;uFAEsC;EACrC,UAAU,EAAE,OAAO;;;AAGpB,yGAAG;EACF,YAAY,EAAE,OAAO;EACrB,UAAU,EAAE,OAAO;;;AAGpB,yIAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;qEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB;;yEAC0B;EACzB,KAAK,EAAE,IAAI;;;AAGZ,2GAAM;EACL,UAAU,EAAE,IAAI;;;AAGjB;;;;;;0EAG2B;EAC1B,KAAK,EAAE,IAAI;;;AAIX,8QAAkC;EACjC,UAAU,EAAE,IAAI;;;AAGjB,6IAAsB;EACrB,UAAU,EAAE,IAAI;;;;AAOlB;;6EACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,2HAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,qJAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;wEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,iHAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,2IAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;ACncd;;GAEG;;ACJH,eAAgB;EACf,OAAO,EAAE,IAAI;;;;AAGd,wBAAyB;EACxB,QAAQ,EAAE,QAAQ;;;AAElB,yCAAiB;EAChB,WAAW,EAAE,IAAI;EACjB,YAAY,EAAE,IAAI;EAClB,UAAU,EAAE,KAAK;;;AAGlB,2BAAG;EACF,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,QAAQ;EACjB,MAAM,EAAE,CAAC;EACT,WAAW,EAAE,GAAG;;;;AAOjB,iDAA8B;EAC7B,YAAY,EAAE,KAAK;;;AAGpB,qDAAkC;EACjC,YAAY,EAAE,IAAI;;;;AAKpB,mCAAoC;EACnC,KAAK,EAAE,CAAC;EACR,QAAQ,EAAE,QAAQ;;;;AAGnB,YAAa;EACZ,UAAU,EAAE,2CAA2C;EACvD,uBAAuB,EAAE,SAAS;EAClC,eAAe,EAAE,SAAS;EAC1B,OAAO,EAAE,IAAI;EACb,KAAK,EAAE,KAAK;EACZ,cAAc,EAAE,MAAM;EACtB,OAAO,EAAE,GAAG;EACZ,MAAM,EAAE,iBAAiB;EACzB,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,UAAU",
|
4 |
-
"sources": ["sass/cmb2.scss","sass/partials/_main_wrap.scss","sass/partials/_variables.scss","sass/partials/_mixins.scss","sass/partials/_post_metaboxes.scss","sass/partials/_context_metaboxes.scss","sass/partials/_misc.scss","sass/partials/_sidebar_placements.scss","sass/partials/_collapsible_ui.scss","sass/partials/_jquery_ui.scss","sass/cmb2-front.scss","sass/partials/_front.scss"],
|
5 |
-
"names": [],
|
6 |
-
"file": "cmb2-front.css"
|
7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/cmb2-front.min.css
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
/*! CMB2 - v2.4.2 - 2018-05-29 | https://cmb2.io | Copyright (c) 2018 CMB2 team | Licensed GPLv2 */
|
2 |
-
@charset "UTF-8";.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{font-size:14px;max-width:100%;padding:5px}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-left:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=checkbox],.cmb2-wrap input[type=radio]{margin:0 5px 0 0;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-input-wrap{vertical-align:middle}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-container{margin:0 10px 0 0}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:left;font-weight:600;line-height:1.3;padding:20px 10px 20px 0;vertical-align:top;width:200px}@media (max-width:450px){.cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:left;width:100%}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:left}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:right}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 10px 10px 50px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;left:0;position:absolute;width:35px;height:100%;line-height:35px;color:#aaa;text-align:center;border-right:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-left:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;right:7px;position:absolute;width:auto;margin-left:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 12px 8px 2.2em;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:left;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{font-size:1em;margin-right:1em;text-decoration:none}.cmb-repeatable-group .cmb-shift-rows .dashicons{font-size:1.5em;height:1.5em;line-height:1.2em;width:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2{line-height:1.3em}.cmb-repeatable-group .cmb2-upload-button{float:right}p.cmb2-metabox-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#aaa;font-style:italic}.cmb2-metabox-title{margin:0 0 5px;padding:5px 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0}.cmb-inline li{display:inline-block;padding-right:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-right:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0}.cmb2-media-status .embed-status{float:left;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;left:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-right:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:left;margin-right:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:left}.cmb2-indented-hierarchy{padding-left:1.5em}@media (max-width:450px){.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}}#poststuff .cmb-group-title{margin-left:-1em;margin-right:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-left:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{right:-1em;position:relative}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 2% 0 0}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:right}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}@media (max-width:450px){.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-after_title-box,.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 2% 0 0;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:0}}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:left;display:none}.cmb-spinner.is-active{display:block}.cmb2-metabox .cmbhandle{color:#aaa;float:right;width:27px;height:30px;cursor:pointer;right:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';right:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:none!important;border:none!important;position:absolute;left:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:400 20px/34px dashicons;padding-left:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:left;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 10px 10px 40%}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:left}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .6em .4em .4em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}.closed .inside{display:none}.cmb-repeatable-grouping{position:relative}.cmb-repeatable-grouping .cmb-group-title{margin-left:-1em;margin-right:-1em;min-height:1.5em}.cmb-repeatable-grouping h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb-repeatable-group.repeatable .cmb-group-title{padding-left:2.2em}.cmb-repeatable-group.non-repeatable .cmb-group-title{padding-left:12px}.cmb-type-group .cmb-row .cmbhandle{right:0;position:absolute}.cmb-spinner{background:url(/wp-admin/images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:none;float:right;vertical-align:middle;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:4px 10px 0}
|
1 |
+
@charset "UTF-8";.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{max-width:100%}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px;padding:8px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-left:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px 0}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=radio]{margin:0 5px 0 0;padding:0}.cmb2-wrap input[type=checkbox]{margin:0 5px 0 0;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .cmb-multicheck-toggle{margin-top:-1em}.cmb2-wrap .wp-picker-clear.button,.cmb2-wrap .wp-picker-default.button{margin-left:6px;padding:2px 8px}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.1875rem}@media screen and (max-width:782px){body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.4375rem}}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:left;font-weight:600;padding:20px 10px 20px 0;vertical-align:top;width:200px}@media (max-width:450px){.cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:left;width:100%}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:left}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:right}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 10px 10px 50px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper{outline:dashed 2px #e9e9e9!important}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;left:0;position:absolute;width:35px;height:100%;line-height:35px;cursor:move;color:#757575;text-align:center;border-right:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-left:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;right:7px;position:absolute;width:auto;margin-left:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px 0}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 12px 8px 2.2em;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:left;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{margin-right:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2{margin-top:.15em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2{margin-top:.2em}.cmb-repeatable-group .cmb2-upload-button{float:right}p.cmb2-metabox-description{color:#666;letter-spacing:.01em;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#666;letter-spacing:.01em}.cmb2-metabox-title{margin:0 0 5px 0;padding:5px 0 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0 0}.cmb-inline li{display:inline-block;padding-right:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-right:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0 0}.cmb2-media-status .embed-status{float:left;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;left:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-right:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:left;margin-right:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:left}.cmb2-indented-hierarchy{padding-left:1.5em}@media (max-width:450px){.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}}#poststuff .cmb-group-title{margin-left:-1em;margin-right:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-left:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{right:-1em;position:relative;color:#222}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 2% 0 0}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:right}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}@media (max-width:450px){.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .handlediv{text-align:center}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_title-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 2% 0 0;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:0}}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:left;display:none}.cmb-spinner{display:none}.cmb-spinner.is-active{display:block}.cmb2-metabox .cmbhandle{color:#757575;float:right;width:27px;height:30px;cursor:pointer;right:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';right:12px;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:0 0!important;border:none!important;position:absolute;left:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background-image:none;border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:normal 20px/34px dashicons;padding-left:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:left;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 10px 10px 40%}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:left}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .6em .4em .4em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}.cmb2-char-counter-wrap{margin:.5em 0 1em}.cmb2-char-counter-wrap input[type=text]{font-size:12px;width:25px}.cmb2-char-counter-wrap.cmb2-max-exceeded input[type=text]{border-color:#a00!important}.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg{display:inline-block}.cmb2-char-max-msg{color:#a00;display:none;font-weight:600;margin-left:1em}.closed .inside{display:none}.cmb-repeatable-grouping{position:relative}.cmb-repeatable-grouping .cmb-group-title{margin-left:-1em;margin-right:-1em;min-height:1.5em}.cmb-repeatable-grouping h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb-repeatable-group.repeatable .cmb-group-title{padding-left:2.2em}.cmb-repeatable-group.non-repeatable .cmb-group-title{padding-left:12px}.cmb-type-group .cmb-row .cmbhandle{right:0;position:absolute}.cmb-spinner{background:url(/wp-admin/images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:none;float:right;vertical-align:middle;opacity:.7;width:20px;height:20px;margin:4px 10px 0}.cmb2-char-max-msg{display:none}
|
|
includes/lib/cmb2/css/cmb2-rtl.css
CHANGED
@@ -1,1350 +1,1090 @@
|
|
1 |
/*!
|
2 |
-
* CMB2 - v2.
|
3 |
* https://cmb2.io
|
4 |
-
* Copyright (c)
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
|
|
8 |
/*--------------------------------------------------------------
|
9 |
* Main Wrap
|
10 |
--------------------------------------------------------------*/
|
11 |
-
|
12 |
/* line 5, sass/partials/_main_wrap.scss */
|
13 |
-
|
14 |
.cmb2-wrap {
|
15 |
-
|
16 |
}
|
17 |
-
|
18 |
/* line 8, sass/partials/_main_wrap.scss */
|
19 |
-
|
20 |
.cmb2-wrap input,
|
21 |
.cmb2-wrap textarea {
|
22 |
-
|
23 |
-
max-width: 100%;
|
24 |
-
padding: 5px;
|
25 |
}
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
.cmb2-wrap input[type=text].cmb2-oembed {
|
30 |
-
width: 100%;
|
31 |
}
|
32 |
-
|
33 |
-
/* line 23, sass/partials/_main_wrap.scss */
|
34 |
-
|
35 |
.cmb2-wrap textarea {
|
36 |
-
|
|
|
37 |
}
|
38 |
-
|
39 |
-
/* line 26, sass/partials/_main_wrap.scss */
|
40 |
-
|
41 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
42 |
-
|
43 |
-
|
44 |
}
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
.cmb2-wrap input.cmb2-text-small,
|
49 |
-
.cmb2-wrap input.cmb2-timepicker {
|
50 |
-
width: 100px;
|
51 |
}
|
52 |
-
|
53 |
-
/* line 40, sass/partials/_main_wrap.scss */
|
54 |
-
|
55 |
.cmb2-wrap input.cmb2-text-money {
|
56 |
-
|
57 |
}
|
58 |
-
|
59 |
-
/* line 45, sass/partials/_main_wrap.scss */
|
60 |
-
|
61 |
.cmb2-wrap input.cmb2-text-medium {
|
62 |
-
|
63 |
}
|
64 |
-
|
65 |
-
/* line 50, sass/partials/_main_wrap.scss */
|
66 |
-
|
67 |
.cmb2-wrap input.cmb2-upload-file {
|
68 |
-
|
69 |
}
|
70 |
-
|
71 |
-
/* line 54, sass/partials/_main_wrap.scss */
|
72 |
-
|
73 |
.cmb2-wrap input.ed_button {
|
74 |
-
|
75 |
}
|
76 |
-
|
77 |
-
/* line 59, sass/partials/_main_wrap.scss */
|
78 |
-
|
79 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
80 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
81 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
82 |
-
|
83 |
}
|
84 |
-
|
85 |
-
/* line 67, sass/partials/_main_wrap.scss */
|
86 |
-
|
87 |
.cmb2-wrap ul {
|
88 |
-
|
89 |
}
|
90 |
-
|
91 |
-
/* line 71, sass/partials/_main_wrap.scss */
|
92 |
-
|
93 |
.cmb2-wrap li {
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
}
|
98 |
-
|
99 |
-
/* line 82, sass/partials/_main_wrap.scss */
|
100 |
-
|
101 |
.cmb2-wrap select {
|
102 |
-
|
103 |
-
|
104 |
}
|
105 |
-
|
106 |
-
/* line 87, sass/partials/_main_wrap.scss */
|
107 |
-
|
108 |
.cmb2-wrap input:focus,
|
109 |
.cmb2-wrap textarea:focus {
|
110 |
-
|
111 |
}
|
112 |
-
|
113 |
-
/* line 92, sass/partials/_main_wrap.scss */
|
114 |
-
|
115 |
.cmb2-wrap input[type="radio"] {
|
116 |
-
|
117 |
-
|
118 |
}
|
119 |
-
|
120 |
-
/* line 97, sass/partials/_main_wrap.scss */
|
121 |
-
|
122 |
.cmb2-wrap input[type="checkbox"] {
|
123 |
-
|
124 |
-
|
125 |
}
|
126 |
-
|
127 |
-
/* line 102, sass/partials/_main_wrap.scss */
|
128 |
-
|
129 |
.cmb2-wrap button,
|
130 |
.cmb2-wrap .button-secondary {
|
131 |
-
|
132 |
}
|
133 |
-
|
134 |
-
/* line 107, sass/partials/_main_wrap.scss */
|
135 |
-
|
136 |
.cmb2-wrap .mceLayout {
|
137 |
-
|
138 |
}
|
139 |
-
|
140 |
-
/* line 111, sass/partials/_main_wrap.scss */
|
141 |
-
|
142 |
.cmb2-wrap .mceIframeContainer {
|
143 |
-
|
144 |
}
|
145 |
-
|
146 |
-
/* line 115, sass/partials/_main_wrap.scss */
|
147 |
-
|
148 |
.cmb2-wrap .meta_mce {
|
149 |
-
|
150 |
}
|
151 |
-
|
152 |
-
/* line 118, sass/partials/_main_wrap.scss */
|
153 |
-
|
154 |
.cmb2-wrap .meta_mce textarea {
|
155 |
-
|
156 |
}
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
.cmb2-wrap .wp-color-result,
|
161 |
-
.cmb2-wrap .wp-picker-input-wrap {
|
162 |
-
vertical-align: middle;
|
163 |
}
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
margin: 0 0 0 10px;
|
170 |
}
|
171 |
-
|
172 |
-
/* line 134, sass/partials/_main_wrap.scss */
|
173 |
-
|
174 |
.cmb2-wrap .cmb-row {
|
175 |
-
|
176 |
}
|
177 |
-
|
178 |
-
/* line 137, sass/partials/_main_wrap.scss */
|
179 |
-
|
180 |
.cmb2-wrap .cmb-row:after {
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
}
|
186 |
-
|
187 |
-
/* line 144, sass/partials/_main_wrap.scss */
|
188 |
-
|
189 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
190 |
-
|
191 |
-
|
192 |
}
|
193 |
|
194 |
-
/* line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
|
|
|
196 |
.cmb2-metabox {
|
197 |
-
|
198 |
-
|
199 |
}
|
200 |
-
|
201 |
-
/* line 158, sass/partials/_main_wrap.scss */
|
202 |
-
|
203 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
204 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
205 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
206 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-th {
|
207 |
-
|
208 |
}
|
209 |
|
210 |
-
/* line
|
211 |
-
|
212 |
.cmb-add-row {
|
213 |
-
|
214 |
}
|
215 |
|
216 |
-
/* line
|
217 |
-
|
218 |
.cmb-nested .cmb-td,
|
219 |
.cmb-repeatable-group .cmb-th,
|
220 |
.cmb-repeatable-group:first-of-type {
|
221 |
-
|
222 |
}
|
223 |
|
224 |
-
/* line
|
225 |
-
|
226 |
.cmb-row:last-of-type,
|
227 |
.cmb2-wrap .cmb-row:last-of-type,
|
228 |
.cmb-repeatable-group:last-of-type {
|
229 |
-
|
230 |
}
|
231 |
|
232 |
-
/* line
|
233 |
-
|
234 |
.cmb-repeatable-grouping {
|
235 |
-
|
236 |
-
|
237 |
}
|
238 |
-
|
239 |
-
/* line 185, sass/partials/_main_wrap.scss */
|
240 |
-
|
241 |
.cmb-repeatable-grouping.cmb-row {
|
242 |
-
|
243 |
}
|
244 |
|
245 |
-
/* line
|
246 |
-
|
247 |
.cmb-th {
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
width: 200px;
|
255 |
}
|
256 |
-
|
257 |
-
/* line
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
}
|
265 |
|
266 |
/* line 216, sass/partials/_main_wrap.scss */
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
|
|
|
268 |
.cmb-type-title .cmb-td {
|
269 |
-
|
270 |
}
|
271 |
|
272 |
-
/* line
|
273 |
-
|
274 |
.cmb-th label {
|
275 |
-
|
276 |
-
|
277 |
}
|
278 |
|
279 |
-
/* line
|
280 |
-
|
281 |
.cmb-th + .cmb-td {
|
282 |
-
|
283 |
}
|
284 |
|
285 |
-
/* line
|
286 |
-
|
287 |
.cmb-td .cmb-td {
|
288 |
-
|
289 |
}
|
290 |
|
291 |
-
/* line
|
292 |
-
|
293 |
.cmb-remove-row {
|
294 |
-
|
295 |
}
|
296 |
|
297 |
-
/* line
|
298 |
-
|
299 |
.empty-row.hidden {
|
300 |
-
|
301 |
}
|
302 |
|
303 |
-
/* line
|
304 |
-
|
305 |
.cmb-repeat-table {
|
306 |
-
|
307 |
-
|
308 |
}
|
309 |
-
|
310 |
-
/* line 247, sass/partials/_main_wrap.scss */
|
311 |
-
|
312 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
}
|
319 |
-
|
320 |
-
/* line 255, sass/partials/_main_wrap.scss */
|
321 |
-
|
322 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
323 |
-
|
324 |
}
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
329 |
-
content: counter(el);
|
330 |
-
display: block;
|
331 |
-
top: 0;
|
332 |
-
right: 0;
|
333 |
-
position: absolute;
|
334 |
-
width: 35px;
|
335 |
-
height: 100%;
|
336 |
-
line-height: 35px;
|
337 |
-
color: #aaaaaa;
|
338 |
-
text-align: center;
|
339 |
-
border-left: solid 1px #e9e9e9;
|
340 |
}
|
341 |
-
|
342 |
-
|
343 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
345 |
-
|
346 |
-
|
347 |
}
|
348 |
-
|
349 |
-
/* line 283, sass/partials/_main_wrap.scss */
|
350 |
-
|
351 |
.cmb-repeat-table + .cmb-add-row {
|
352 |
-
|
353 |
}
|
354 |
-
|
355 |
-
/* line 286, sass/partials/_main_wrap.scss */
|
356 |
-
|
357 |
.cmb-repeat-table + .cmb-add-row:before {
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
}
|
365 |
-
|
366 |
-
/* line 296, sass/partials/_main_wrap.scss */
|
367 |
-
|
368 |
.cmb-repeat-table .cmb-remove-row {
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
}
|
377 |
-
|
378 |
-
/* line 307, sass/partials/_main_wrap.scss */
|
379 |
-
|
380 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
}
|
389 |
-
|
390 |
-
/* line 318, sass/partials/_main_wrap.scss */
|
391 |
-
|
392 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
}
|
410 |
-
|
411 |
-
/* line 324, sass/partials/_main_wrap.scss */
|
412 |
-
|
413 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
414 |
-
|
415 |
}
|
416 |
|
417 |
-
/* line
|
418 |
-
|
419 |
.cmb-repeatable-group .cmb-th {
|
420 |
-
|
421 |
}
|
422 |
-
|
423 |
-
/* line 336, sass/partials/_main_wrap.scss */
|
424 |
-
|
425 |
.cmb-repeatable-group .cmb-group-title {
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
}
|
433 |
-
|
434 |
-
/* line 344, sass/partials/_main_wrap.scss */
|
435 |
-
|
436 |
.cmb-repeatable-group .cmb-group-title h4 {
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
}
|
443 |
-
|
444 |
-
/* line 352, sass/partials/_main_wrap.scss */
|
445 |
-
|
446 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
447 |
-
|
448 |
-
|
449 |
}
|
450 |
-
|
451 |
-
/* line 358, sass/partials/_main_wrap.scss */
|
452 |
-
|
453 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
}
|
461 |
-
|
462 |
/* line 27, sass/partials/_mixins.scss */
|
463 |
-
|
464 |
.cmb-repeatable-group .cmb-group-description .cmb-th label {
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
}
|
469 |
-
|
470 |
-
/* line 362, sass/partials/_main_wrap.scss */
|
471 |
-
|
472 |
.cmb-repeatable-group .cmb-shift-rows {
|
473 |
-
|
474 |
-
margin-left: 1em;
|
475 |
-
text-decoration: none;
|
476 |
}
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons {
|
481 |
-
font-size: 1.5em;
|
482 |
-
height: 1.5em;
|
483 |
-
line-height: 1.2em;
|
484 |
-
width: 1em;
|
485 |
}
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2 {
|
490 |
-
line-height: 1.3em;
|
491 |
}
|
492 |
-
|
493 |
-
/* line 380, sass/partials/_main_wrap.scss */
|
494 |
-
|
495 |
.cmb-repeatable-group .cmb2-upload-button {
|
496 |
-
|
497 |
}
|
498 |
|
499 |
-
/* line
|
500 |
-
|
501 |
p.cmb2-metabox-description {
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
}
|
507 |
|
508 |
-
/* line
|
509 |
-
|
510 |
span.cmb2-metabox-description {
|
511 |
-
|
512 |
-
|
513 |
}
|
514 |
|
515 |
-
/* line
|
516 |
-
|
517 |
.cmb2-metabox-title {
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
}
|
522 |
|
523 |
-
/* line
|
524 |
-
|
525 |
.cmb-inline ul {
|
526 |
-
|
527 |
}
|
528 |
|
529 |
-
/* line
|
530 |
-
|
531 |
.cmb-inline li {
|
532 |
-
|
533 |
-
|
534 |
}
|
535 |
|
536 |
-
/* line
|
537 |
-
|
538 |
.cmb-type-textarea-code pre {
|
539 |
-
|
540 |
}
|
541 |
|
542 |
-
/* line
|
543 |
-
|
544 |
.cmb2-media-status .img-status {
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
}
|
551 |
-
|
552 |
-
/* line 426, sass/partials/_main_wrap.scss */
|
553 |
-
|
554 |
.cmb2-media-status .img-status img {
|
555 |
-
|
556 |
-
|
557 |
}
|
558 |
-
|
559 |
-
/* line 432, sass/partials/_main_wrap.scss */
|
560 |
-
|
561 |
.cmb2-media-status .img-status img,
|
562 |
.cmb2-media-status .embed-status {
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
}
|
574 |
-
|
575 |
-
/* line 446, sass/partials/_main_wrap.scss */
|
576 |
-
|
577 |
-
.cmb2-media-status .embed-status {
|
578 |
-
float: right;
|
579 |
-
max-width: 800px;
|
580 |
-
}
|
581 |
-
|
582 |
-
/* line 451, sass/partials/_main_wrap.scss */
|
583 |
-
|
584 |
-
.cmb2-media-status .img-status,
|
585 |
.cmb2-media-status .embed-status {
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
/* line
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
605 |
-
|
606 |
}
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
.cmb2-media-status .img-status img,
|
611 |
-
.cmb2-media-status .file-status > span {
|
612 |
-
cursor: pointer;
|
613 |
}
|
614 |
-
|
615 |
-
/* line 478, sass/partials/_main_wrap.scss */
|
616 |
-
|
617 |
-
.cmb2-media-status.cmb-attach-list .img-status img,
|
618 |
-
.cmb2-media-status.cmb-attach-list .file-status > span {
|
619 |
-
cursor: move;
|
620 |
-
}
|
621 |
-
|
622 |
/* line 485, sass/partials/_main_wrap.scss */
|
|
|
|
|
|
|
623 |
|
|
|
624 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
}
|
632 |
|
633 |
-
/* line
|
634 |
-
|
635 |
.cmb-attach-list li {
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
}
|
642 |
-
|
643 |
-
/* line 500, sass/partials/_main_wrap.scss */
|
644 |
-
|
645 |
.cmb-attach-list li img {
|
646 |
-
|
647 |
-
|
648 |
}
|
649 |
|
650 |
-
/* line
|
651 |
-
|
652 |
.cmb2-remove-wrapper {
|
653 |
-
|
654 |
}
|
655 |
|
656 |
-
/* line
|
657 |
-
|
658 |
.child-cmb2 .cmb-th {
|
659 |
-
|
660 |
}
|
661 |
|
662 |
-
/* line
|
663 |
-
|
664 |
.cmb2-indented-hierarchy {
|
665 |
-
|
666 |
}
|
667 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
668 |
/*--------------------------------------------------------------
|
669 |
* Post Metaboxes
|
670 |
--------------------------------------------------------------*/
|
671 |
-
|
672 |
/* line 5, sass/partials/_post_metaboxes.scss */
|
673 |
-
|
674 |
#poststuff .cmb-group-title {
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
}
|
679 |
|
680 |
/* line 11, sass/partials/_post_metaboxes.scss */
|
681 |
-
|
682 |
#poststuff .repeatable .cmb-group-title {
|
683 |
-
|
684 |
}
|
685 |
|
686 |
/* line 17, sass/partials/_post_metaboxes.scss */
|
687 |
-
|
688 |
-
|
689 |
-
.cmb-type-group .cmb2-wrap {
|
690 |
-
margin: 0;
|
691 |
}
|
692 |
-
|
693 |
/* line 20, sass/partials/_post_metaboxes.scss */
|
694 |
-
|
695 |
-
|
696 |
-
.cmb-type-group .cmb2-wrap > .cmb-field-list > .cmb-row {
|
697 |
-
padding: 1.8em 0;
|
698 |
}
|
699 |
-
|
700 |
/* line 26, sass/partials/_post_metaboxes.scss */
|
701 |
-
|
702 |
-
|
703 |
-
.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed {
|
704 |
-
width: 100%;
|
705 |
}
|
706 |
-
|
707 |
/* line 32, sass/partials/_post_metaboxes.scss */
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
padding: 0 0 1.8em;
|
712 |
-
margin: 0 0 0.8em;
|
713 |
}
|
714 |
-
|
715 |
/* line 36, sass/partials/_post_metaboxes.scss */
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
}
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
/* line
|
748 |
-
|
749 |
-
.cmb2-postbox .cmb-td,
|
750 |
-
.cmb-type-group .cmb-td {
|
751 |
-
margin-bottom: 0;
|
752 |
-
padding: 0;
|
753 |
-
line-height: 1.3;
|
754 |
-
}
|
755 |
-
|
756 |
-
/* line 64, sass/partials/_post_metaboxes.scss */
|
757 |
-
|
758 |
-
.cmb2-postbox .cmb-th + .cmb-td,
|
759 |
-
.cmb-type-group .cmb-th + .cmb-td {
|
760 |
-
width: 80%;
|
761 |
-
float: left;
|
762 |
-
}
|
763 |
-
|
764 |
-
/* line 69, sass/partials/_post_metaboxes.scss */
|
765 |
-
|
766 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
767 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),
|
768 |
-
.cmb-type-group .cmb-row:not(:last-of-type),
|
769 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
770 |
-
|
771 |
}
|
772 |
-
|
773 |
-
/* line
|
774 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
775 |
.cmb2-postbox .cmb-repeat-group-field,
|
776 |
-
.cmb2-postbox .cmb-remove-field-row,
|
777 |
-
.cmb-type-group .cmb-repeat-group-field,
|
778 |
.cmb-type-group .cmb-remove-field-row {
|
779 |
-
|
780 |
}
|
781 |
|
782 |
/*--------------------------------------------------------------
|
783 |
* Context Metaboxes
|
784 |
--------------------------------------------------------------*/
|
785 |
-
|
786 |
/* Metabox collapse arrow indicators */
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
791 |
-
content: "\f142";
|
792 |
-
display: inline-block;
|
793 |
-
font: normal 20px/1 dashicons;
|
794 |
-
speak: none;
|
795 |
-
-webkit-font-smoothing: antialiased;
|
796 |
-
-moz-osx-font-smoothing: grayscale;
|
797 |
-
text-decoration: none !important;
|
798 |
}
|
799 |
-
|
800 |
-
|
801 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
802 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
803 |
-
|
804 |
}
|
805 |
|
806 |
-
/* line
|
807 |
-
|
808 |
.cmb2-postbox.context-box {
|
809 |
-
|
810 |
}
|
811 |
-
|
812 |
-
/* line 34, sass/partials/_context_metaboxes.scss */
|
813 |
-
|
814 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
815 |
-
|
816 |
}
|
817 |
-
|
818 |
-
/* line 38, sass/partials/_context_metaboxes.scss */
|
819 |
-
|
820 |
.cmb2-postbox.context-box.context-after_title-box {
|
821 |
-
|
822 |
}
|
823 |
-
|
824 |
-
/* line 42, sass/partials/_context_metaboxes.scss */
|
825 |
-
|
826 |
.cmb2-postbox.context-box.context-after_editor-box {
|
827 |
-
|
828 |
-
|
829 |
}
|
830 |
-
|
831 |
-
/* line 47, sass/partials/_context_metaboxes.scss */
|
832 |
-
|
833 |
.cmb2-postbox.context-box.context-form_top-box {
|
834 |
-
|
835 |
}
|
836 |
-
|
837 |
-
/* line 51, sass/partials/_context_metaboxes.scss */
|
838 |
-
|
839 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
}
|
845 |
-
|
846 |
-
/* line 59, sass/partials/_context_metaboxes.scss */
|
847 |
-
|
848 |
.cmb2-postbox.context-box .hndle {
|
849 |
-
|
850 |
}
|
851 |
|
852 |
-
/* line
|
853 |
-
|
854 |
.cmb2-context-wrap {
|
855 |
-
|
856 |
}
|
857 |
-
|
858 |
-
/* line 68, sass/partials/_context_metaboxes.scss */
|
859 |
-
|
860 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
861 |
-
|
862 |
-
|
863 |
}
|
864 |
-
|
865 |
-
/* line 75, sass/partials/_context_metaboxes.scss */
|
866 |
-
|
867 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
868 |
-
|
869 |
}
|
870 |
-
|
871 |
-
/* line 80, sass/partials/_context_metaboxes.scss */
|
872 |
-
|
873 |
.cmb2-context-wrap .cmb-th {
|
874 |
-
|
875 |
-
|
876 |
}
|
877 |
-
|
878 |
-
/* line 85, sass/partials/_context_metaboxes.scss */
|
879 |
-
|
880 |
.cmb2-context-wrap .cmb-td {
|
881 |
-
|
882 |
-
|
883 |
}
|
884 |
-
|
885 |
-
/* line 90, sass/partials/_context_metaboxes.scss */
|
886 |
-
|
887 |
.cmb2-context-wrap .cmb-row {
|
888 |
-
|
889 |
}
|
890 |
-
|
891 |
-
/* line 93, sass/partials/_context_metaboxes.scss */
|
892 |
-
|
893 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
894 |
-
|
895 |
}
|
896 |
|
897 |
/* one column on the post write/edit screen */
|
898 |
-
|
|
|
|
|
|
|
|
|
|
|
899 |
/*--------------------------------------------------------------
|
900 |
* Options page
|
901 |
--------------------------------------------------------------*/
|
902 |
-
|
903 |
/* line 5, sass/partials/_options-page.scss */
|
904 |
-
|
905 |
.cmb2-options-page {
|
906 |
-
|
907 |
}
|
908 |
-
|
909 |
/* line 8, sass/partials/_options-page.scss */
|
910 |
-
|
911 |
.cmb2-options-page.wrap > h2 {
|
912 |
-
|
913 |
}
|
914 |
-
|
915 |
/* line 12, sass/partials/_options-page.scss */
|
916 |
-
|
917 |
.cmb2-options-page .cmb2-metabox > .cmb-row {
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
}
|
924 |
-
|
925 |
/* line 19, sass/partials/_options-page.scss */
|
926 |
-
|
927 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th {
|
928 |
-
|
929 |
-
|
930 |
}
|
931 |
-
|
932 |
/* line 24, sass/partials/_options-page.scss */
|
933 |
-
|
934 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
935 |
-
|
936 |
-
|
937 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
938 |
}
|
939 |
-
|
940 |
/* line 37, sass/partials/_options-page.scss */
|
941 |
-
|
942 |
.cmb2-options-page .cmb2-wrap .cmb-type-title {
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
}
|
947 |
-
|
948 |
/* line 42, sass/partials/_options-page.scss */
|
949 |
-
|
950 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title {
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
}
|
956 |
-
|
957 |
/* line 49, sass/partials/_options-page.scss */
|
958 |
-
|
959 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description {
|
960 |
-
|
961 |
}
|
962 |
-
|
963 |
/* line 55, sass/partials/_options-page.scss */
|
964 |
-
|
965 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th {
|
966 |
-
|
967 |
}
|
968 |
-
|
969 |
/* line 59, sass/partials/_options-page.scss */
|
970 |
-
|
971 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-name {
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
}
|
976 |
-
|
977 |
/* line 65, sass/partials/_options-page.scss */
|
978 |
-
|
979 |
.cmb2-options-page .cmb-repeatable-group .cmb-th > .cmb2-metabox-description {
|
980 |
-
|
981 |
-
|
982 |
}
|
983 |
|
984 |
/*--------------------------------------------------------------
|
985 |
* New-Term Page
|
986 |
--------------------------------------------------------------*/
|
987 |
-
|
988 |
/* line 6, sass/partials/_new_term.scss */
|
989 |
-
|
990 |
#addtag .cmb-th {
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
}
|
995 |
-
|
996 |
/* line 12, sass/partials/_new_term.scss */
|
997 |
-
|
998 |
#addtag .cmb-td {
|
999 |
-
|
1000 |
}
|
1001 |
-
|
1002 |
/* line 16, sass/partials/_new_term.scss */
|
1003 |
-
|
1004 |
#addtag .cmb-th + .cmb-td {
|
1005 |
-
|
1006 |
}
|
1007 |
-
|
1008 |
/* line 20, sass/partials/_new_term.scss */
|
1009 |
-
|
1010 |
#addtag select {
|
1011 |
-
|
1012 |
}
|
1013 |
-
|
1014 |
/* line 24, sass/partials/_new_term.scss */
|
1015 |
-
|
1016 |
#addtag .cmb2-metabox {
|
1017 |
-
|
1018 |
}
|
1019 |
-
|
1020 |
/* line 28, sass/partials/_new_term.scss */
|
1021 |
-
|
1022 |
#addtag .cmb-row li label {
|
1023 |
-
|
1024 |
}
|
1025 |
|
1026 |
/*--------------------------------------------------------------
|
1027 |
* Misc.
|
1028 |
--------------------------------------------------------------*/
|
1029 |
-
|
1030 |
/* line 5, sass/partials/_misc.scss */
|
1031 |
-
|
1032 |
#poststuff .cmb-repeatable-group h2 {
|
1033 |
-
|
1034 |
}
|
1035 |
|
1036 |
/* line 12, sass/partials/_misc.scss */
|
1037 |
-
|
1038 |
.edit-tags-php .cmb2-metabox-title,
|
1039 |
.profile-php .cmb2-metabox-title,
|
1040 |
.user-edit-php .cmb2-metabox-title {
|
1041 |
-
|
1042 |
}
|
1043 |
|
1044 |
/* line 18, sass/partials/_misc.scss */
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
float: right;
|
1049 |
-
display: none;
|
1050 |
}
|
1051 |
|
1052 |
/* line 24, sass/partials/_misc.scss */
|
1053 |
-
|
1054 |
.cmb-spinner {
|
1055 |
-
|
1056 |
}
|
1057 |
-
|
1058 |
/* line 26, sass/partials/_misc.scss */
|
1059 |
-
|
1060 |
.cmb-spinner.is-active {
|
1061 |
-
|
1062 |
}
|
1063 |
|
1064 |
/*--------------------------------------------------------------
|
1065 |
* Sidebar Placement Adjustments
|
1066 |
--------------------------------------------------------------*/
|
1067 |
-
|
1068 |
/* line 10, sass/partials/_sidebar_placements.scss */
|
1069 |
-
|
1070 |
.inner-sidebar .cmb2-wrap > .cmb-field-list > .cmb-row,
|
1071 |
#side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row {
|
1072 |
-
|
1073 |
}
|
1074 |
-
|
1075 |
/* line 16, sass/partials/_sidebar_placements.scss */
|
1076 |
-
|
1077 |
.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker),
|
1078 |
#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker) {
|
1079 |
-
|
1080 |
}
|
1081 |
-
|
1082 |
/* line 20, sass/partials/_sidebar_placements.scss */
|
1083 |
-
|
1084 |
-
.inner-sidebar .cmb2-wrap input + input:not(.wp-picker-clear),
|
1085 |
-
.inner-sidebar .cmb2-wrap input + select,
|
1086 |
#side-sortables .cmb2-wrap input + input:not(.wp-picker-clear),
|
1087 |
#side-sortables .cmb2-wrap input + select {
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
}
|
1092 |
-
|
1093 |
/* line 26, sass/partials/_sidebar_placements.scss */
|
1094 |
-
|
1095 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money,
|
1096 |
#side-sortables .cmb2-wrap input.cmb2-text-money {
|
1097 |
-
|
1098 |
}
|
1099 |
-
|
1100 |
/* line 28, sass/partials/_sidebar_placements.scss */
|
1101 |
-
|
1102 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description,
|
1103 |
#side-sortables .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description {
|
1104 |
-
|
1105 |
}
|
1106 |
-
|
1107 |
/* line 34, sass/partials/_sidebar_placements.scss */
|
1108 |
-
|
1109 |
.inner-sidebar .cmb2-wrap label,
|
1110 |
#side-sortables .cmb2-wrap label {
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
}
|
1115 |
-
|
1116 |
/* line 42, sass/partials/_sidebar_placements.scss */
|
1117 |
-
|
1118 |
.inner-sidebar textarea,
|
1119 |
#side-sortables textarea {
|
1120 |
-
|
1121 |
}
|
1122 |
-
|
1123 |
/* line 46, sass/partials/_sidebar_placements.scss */
|
1124 |
-
|
1125 |
.inner-sidebar .cmb-repeatable-group,
|
1126 |
#side-sortables .cmb-repeatable-group {
|
1127 |
-
|
1128 |
}
|
1129 |
-
|
1130 |
/* line 50, sass/partials/_sidebar_placements.scss */
|
1131 |
-
|
1132 |
.inner-sidebar .cmb-type-group > .cmb-td > .cmb-repeatable-group,
|
1133 |
#side-sortables .cmb-type-group > .cmb-td > .cmb-repeatable-group {
|
1134 |
-
|
1135 |
-
|
1136 |
}
|
1137 |
-
|
1138 |
/* line 55, sass/partials/_sidebar_placements.scss */
|
1139 |
-
|
1140 |
.inner-sidebar .cmb-th,
|
1141 |
.inner-sidebar .cmb-td:not(.cmb-remove-row),
|
1142 |
.inner-sidebar .cmb-th + .cmb-td,
|
1143 |
#side-sortables .cmb-th,
|
1144 |
#side-sortables .cmb-td:not(.cmb-remove-row),
|
1145 |
#side-sortables .cmb-th + .cmb-td {
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
}
|
1150 |
-
|
1151 |
/* line 63, sass/partials/_sidebar_placements.scss */
|
1152 |
-
|
1153 |
.inner-sidebar .closed .inside,
|
1154 |
#side-sortables .closed .inside {
|
1155 |
-
|
1156 |
}
|
1157 |
-
|
1158 |
/* line 67, sass/partials/_sidebar_placements.scss */
|
1159 |
-
|
1160 |
.inner-sidebar .cmb-th,
|
1161 |
#side-sortables .cmb-th {
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
}
|
1170 |
-
|
1171 |
/* line 27, sass/partials/_mixins.scss */
|
1172 |
-
|
1173 |
.inner-sidebar .cmb-th label,
|
1174 |
#side-sortables .cmb-th label {
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
}
|
1179 |
-
|
1180 |
/* line 14, sass/partials/_mixins.scss */
|
1181 |
-
|
1182 |
.inner-sidebar .cmb-th label,
|
1183 |
#side-sortables .cmb-th label {
|
1184 |
-
|
1185 |
-
|
1186 |
}
|
1187 |
-
|
1188 |
/* line 74, sass/partials/_sidebar_placements.scss */
|
1189 |
-
|
1190 |
.inner-sidebar .cmb-group-description .cmb-th,
|
1191 |
#side-sortables .cmb-group-description .cmb-th {
|
1192 |
-
|
1193 |
}
|
1194 |
-
|
1195 |
/* line 77, sass/partials/_sidebar_placements.scss */
|
1196 |
-
|
1197 |
.inner-sidebar .cmb-group-description .cmb2-metabox-description,
|
1198 |
#side-sortables .cmb-group-description .cmb2-metabox-description {
|
1199 |
-
|
1200 |
}
|
1201 |
-
|
1202 |
/* line 84, sass/partials/_sidebar_placements.scss */
|
1203 |
-
|
1204 |
.inner-sidebar .cmb-group-title .cmb-th,
|
1205 |
#side-sortables .cmb-group-title .cmb-th {
|
1206 |
-
|
1207 |
}
|
1208 |
-
|
1209 |
/* line 90, sass/partials/_sidebar_placements.scss */
|
1210 |
-
|
1211 |
.inner-sidebar .cmb-repeatable-grouping + .cmb-repeatable-grouping,
|
1212 |
#side-sortables .cmb-repeatable-grouping + .cmb-repeatable-grouping {
|
1213 |
-
|
1214 |
}
|
1215 |
-
|
1216 |
/* line 99, sass/partials/_sidebar_placements.scss */
|
1217 |
-
|
1218 |
.inner-sidebar .cmb2-media-status .img-status img,
|
1219 |
.inner-sidebar .cmb2-media-status .embed-status img,
|
1220 |
#side-sortables .cmb2-media-status .img-status img,
|
1221 |
#side-sortables .cmb2-media-status .embed-status img {
|
1222 |
-
|
1223 |
-
|
1224 |
}
|
1225 |
-
|
1226 |
/* line 107, sass/partials/_sidebar_placements.scss */
|
1227 |
-
|
1228 |
.inner-sidebar .cmb2-list label,
|
1229 |
#side-sortables .cmb2-list label {
|
1230 |
-
|
1231 |
-
|
1232 |
}
|
1233 |
-
|
1234 |
/* line 112, sass/partials/_sidebar_placements.scss */
|
1235 |
-
|
1236 |
.inner-sidebar .cmb2-metabox-description,
|
1237 |
#side-sortables .cmb2-metabox-description {
|
1238 |
-
|
1239 |
-
|
1240 |
}
|
1241 |
-
|
1242 |
/* line 119, sass/partials/_sidebar_placements.scss */
|
1243 |
-
|
1244 |
.inner-sidebar .cmb-type-checkbox .cmb-td label,
|
1245 |
.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description,
|
1246 |
#side-sortables .cmb-type-checkbox .cmb-td label,
|
1247 |
#side-sortables .cmb-type-checkbox .cmb2-metabox-description {
|
1248 |
-
|
1249 |
-
|
1250 |
}
|
1251 |
-
|
1252 |
/* line 126, sass/partials/_sidebar_placements.scss */
|
1253 |
-
|
1254 |
.inner-sidebar .cmb-row .cmb2-metabox-description,
|
1255 |
#side-sortables .cmb-row .cmb2-metabox-description {
|
1256 |
-
|
1257 |
}
|
1258 |
-
|
1259 |
/* line 130, sass/partials/_sidebar_placements.scss */
|
1260 |
-
|
1261 |
.inner-sidebar .cmb2-metabox-title,
|
1262 |
#side-sortables .cmb2-metabox-title {
|
1263 |
-
|
1264 |
-
|
1265 |
}
|
1266 |
-
|
1267 |
/* line 135, sass/partials/_sidebar_placements.scss */
|
1268 |
-
|
1269 |
.inner-sidebar .cmb-remove-row,
|
1270 |
#side-sortables .cmb-remove-row {
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
}
|
1275 |
-
|
1276 |
/* line 141, sass/partials/_sidebar_placements.scss */
|
1277 |
-
|
1278 |
.inner-sidebar .cmb2-upload-button,
|
1279 |
#side-sortables .cmb2-upload-button {
|
1280 |
-
|
1281 |
-
|
1282 |
}
|
1283 |
|
1284 |
/*--------------------------------------------------------------
|
1285 |
* Collapsible UI
|
1286 |
--------------------------------------------------------------*/
|
1287 |
-
|
1288 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
1289 |
-
|
1290 |
.cmb2-metabox .cmbhandle {
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
}
|
1299 |
-
|
1300 |
/* line 14, sass/partials/_collapsible_ui.scss */
|
1301 |
-
|
1302 |
.cmb2-metabox .cmbhandle:before {
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
}
|
1315 |
-
|
1316 |
/* line 31, sass/partials/_collapsible_ui.scss */
|
1317 |
-
|
1318 |
.cmb2-metabox .postbox.closed .cmbhandle:before {
|
1319 |
-
|
1320 |
}
|
1321 |
-
|
1322 |
/* line 37, sass/partials/_collapsible_ui.scss */
|
1323 |
-
|
1324 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
}
|
1335 |
-
|
1336 |
/* line 47, sass/partials/_collapsible_ui.scss */
|
1337 |
-
|
1338 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) {
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
}
|
1343 |
-
|
1344 |
/* line 51, sass/partials/_collapsible_ui.scss */
|
1345 |
-
|
1346 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover {
|
1347 |
-
|
1348 |
}
|
1349 |
|
1350 |
/*
|
@@ -1360,731 +1100,477 @@ span.cmb2-metabox-description {
|
|
1360 |
* https://github.com/stuttter/wp-datepicker-styling
|
1361 |
*
|
1362 |
*/
|
1363 |
-
|
1364 |
/* line 15, sass/partials/_jquery_ui.scss */
|
1365 |
-
|
1366 |
* html .cmb2-element.ui-helper-clearfix {
|
1367 |
-
|
1368 |
}
|
1369 |
|
1370 |
/* line 24, sass/partials/_jquery_ui.scss */
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
width: auto; /* Default Color Scheme */
|
1386 |
}
|
1387 |
-
|
1388 |
/* line 38, sass/partials/_jquery_ui.scss */
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
-moz-border-radius: 0;
|
1396 |
-
border-radius: 0;
|
1397 |
}
|
1398 |
-
|
1399 |
/* line 46, sass/partials/_jquery_ui.scss */
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
border: none;
|
1406 |
-
border-collapse: collapse;
|
1407 |
}
|
1408 |
-
|
1409 |
/* line 53, sass/partials/_jquery_ui.scss */
|
1410 |
-
|
1411 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1412 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header,
|
1413 |
-
.cmb2-element .ui-datepicker .ui-widget-header,
|
1414 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
}
|
1420 |
-
|
1421 |
/* line 61, sass/partials/_jquery_ui.scss */
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
border-color: transparent;
|
1427 |
-
cursor: pointer;
|
1428 |
}
|
1429 |
-
|
1430 |
/* line 67, sass/partials/_jquery_ui.scss */
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
line-height: 14px;
|
1439 |
-
text-align: center;
|
1440 |
}
|
1441 |
-
|
1442 |
/* line 75, sass/partials/_jquery_ui.scss */
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
margin-top: -8px;
|
1447 |
-
margin-bottom: -8px;
|
1448 |
}
|
1449 |
-
|
1450 |
/* line 81, sass/partials/_jquery_ui.scss */
|
1451 |
-
|
1452 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1453 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
1454 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev,
|
1455 |
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
}
|
1461 |
-
|
1462 |
/* line 89, sass/partials/_jquery_ui.scss */
|
1463 |
-
|
1464 |
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
1465 |
-
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,
|
1466 |
-
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
1467 |
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next {
|
1468 |
-
|
1469 |
}
|
1470 |
-
|
1471 |
/* line 94, sass/partials/_jquery_ui.scss */
|
1472 |
-
|
1473 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1474 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover,
|
1475 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev,
|
1476 |
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover {
|
1477 |
-
|
1478 |
}
|
1479 |
-
|
1480 |
/* line 99, sass/partials/_jquery_ui.scss */
|
1481 |
-
|
1482 |
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
1483 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover,
|
1484 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next,
|
1485 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover {
|
1486 |
-
|
1487 |
}
|
1488 |
-
|
1489 |
/* line 104, sass/partials/_jquery_ui.scss */
|
1490 |
-
|
1491 |
.cmb2-element.ui-datepicker .ui-datepicker-next span,
|
1492 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev span,
|
1493 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next span,
|
1494 |
.cmb2-element .ui-datepicker .ui-datepicker-prev span {
|
1495 |
-
|
1496 |
}
|
1497 |
-
|
1498 |
/* line 109, sass/partials/_jquery_ui.scss */
|
1499 |
-
|
1500 |
-
|
1501 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev {
|
1502 |
-
float: right;
|
1503 |
}
|
1504 |
-
|
1505 |
/* line 113, sass/partials/_jquery_ui.scss */
|
1506 |
-
|
1507 |
-
|
1508 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
1509 |
-
float: left;
|
1510 |
}
|
1511 |
-
|
1512 |
/* line 117, sass/partials/_jquery_ui.scss */
|
1513 |
-
|
1514 |
.cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1515 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next:before,
|
1516 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
1517 |
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
}
|
1527 |
-
|
1528 |
/* line 129, sass/partials/_jquery_ui.scss */
|
1529 |
-
|
1530 |
-
|
1531 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev:before {
|
1532 |
-
content: '\f341';
|
1533 |
}
|
1534 |
-
|
1535 |
/* line 133, sass/partials/_jquery_ui.scss */
|
1536 |
-
|
1537 |
-
|
1538 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1539 |
-
content: '\f345';
|
1540 |
}
|
1541 |
-
|
1542 |
/* line 137, sass/partials/_jquery_ui.scss */
|
1543 |
-
|
1544 |
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before,
|
1545 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,
|
1546 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,
|
1547 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before {
|
1548 |
-
|
1549 |
}
|
1550 |
-
|
1551 |
/* line 142, sass/partials/_jquery_ui.scss */
|
1552 |
-
|
1553 |
.cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1554 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year,
|
1555 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-month,
|
1556 |
.cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
}
|
1563 |
-
|
1564 |
/* line 149, sass/partials/_jquery_ui.scss */
|
1565 |
-
|
1566 |
.cmb2-element.ui-datepicker select.ui-datepicker-month option,
|
1567 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year option,
|
1568 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-month option,
|
1569 |
.cmb2-element .ui-datepicker select.ui-datepicker-year option {
|
1570 |
-
|
1571 |
}
|
1572 |
-
|
1573 |
/* line 154, sass/partials/_jquery_ui.scss */
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
color: #fff;
|
1578 |
-
font-weight: 600;
|
1579 |
}
|
1580 |
-
|
1581 |
/* line 157, sass/partials/_jquery_ui.scss */
|
1582 |
-
|
1583 |
-
|
1584 |
-
.cmb2-element .ui-datepicker thead th {
|
1585 |
-
font-weight: normal;
|
1586 |
}
|
1587 |
-
|
1588 |
/* line 162, sass/partials/_jquery_ui.scss */
|
1589 |
-
|
1590 |
-
|
1591 |
-
.cmb2-element .ui-datepicker th {
|
1592 |
-
padding: 10px;
|
1593 |
}
|
1594 |
-
|
1595 |
/* line 166, sass/partials/_jquery_ui.scss */
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
padding: 0;
|
1600 |
-
border: 1px solid #f4f4f4;
|
1601 |
}
|
1602 |
-
|
1603 |
/* line 171, sass/partials/_jquery_ui.scss */
|
1604 |
-
|
1605 |
-
|
1606 |
-
.cmb2-element .ui-datepicker td.ui-datepicker-other-month {
|
1607 |
-
border: transparent;
|
1608 |
}
|
1609 |
-
|
1610 |
/* line 175, sass/partials/_jquery_ui.scss */
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
background-color: #f4f4f4;
|
1615 |
-
border: 1px solid #f4f4f4;
|
1616 |
}
|
1617 |
-
|
1618 |
/* line 178, sass/partials/_jquery_ui.scss */
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1624 |
-
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1625 |
}
|
1626 |
-
|
1627 |
/* line 185, sass/partials/_jquery_ui.scss */
|
1628 |
-
|
1629 |
-
|
1630 |
-
.cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1631 |
-
background-color: #f0f0c0;
|
1632 |
}
|
1633 |
-
|
1634 |
/* line 189, sass/partials/_jquery_ui.scss */
|
1635 |
-
|
1636 |
-
|
1637 |
-
.cmb2-element .ui-datepicker td.ui-datepicker-current-day {
|
1638 |
-
background: #bbdd88;
|
1639 |
}
|
1640 |
-
|
1641 |
/* line 193, sass/partials/_jquery_ui.scss */
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
font-weight: normal;
|
1653 |
-
color: #444;
|
1654 |
}
|
1655 |
-
|
1656 |
/* line 205, sass/partials/_jquery_ui.scss */
|
1657 |
-
|
1658 |
-
|
1659 |
-
.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default {
|
1660 |
-
opacity: 0.5;
|
1661 |
}
|
1662 |
-
|
1663 |
/* line 210, sass/partials/_jquery_ui.scss */
|
1664 |
-
|
1665 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1666 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header,
|
1667 |
-
.cmb2-element .ui-datepicker .ui-widget-header,
|
1668 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1669 |
-
|
1670 |
}
|
1671 |
-
|
1672 |
/* line 215, sass/partials/_jquery_ui.scss */
|
1673 |
-
|
1674 |
-
|
1675 |
-
.cmb2-element .ui-datepicker thead {
|
1676 |
-
background: #32373c;
|
1677 |
}
|
1678 |
-
|
1679 |
/* line 219, sass/partials/_jquery_ui.scss */
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
.cmb2-element .ui-datepicker td .ui-state-hover,
|
1684 |
-
.cmb2-element .ui-datepicker td .ui-state-active {
|
1685 |
-
background: #0073aa;
|
1686 |
-
color: #fff;
|
1687 |
}
|
1688 |
-
|
1689 |
/* line 224, sass/partials/_jquery_ui.scss */
|
1690 |
-
|
1691 |
-
|
1692 |
-
.cmb2-element .ui-datepicker .ui-timepicker-div {
|
1693 |
-
font-size: 14px;
|
1694 |
}
|
1695 |
-
|
1696 |
/* line 226, sass/partials/_jquery_ui.scss */
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
text-align: right;
|
1701 |
-
padding: 0 .6em;
|
1702 |
}
|
1703 |
-
|
1704 |
/* line 229, sass/partials/_jquery_ui.scss */
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
clear: right;
|
1710 |
-
padding: 0 5px 0 0;
|
1711 |
}
|
1712 |
-
|
1713 |
/* line 234, sass/partials/_jquery_ui.scss */
|
1714 |
-
|
1715 |
-
|
1716 |
-
.cmb2-element .ui-datepicker .ui-timepicker-div dl dd {
|
1717 |
-
margin: 0 40% 10px 10px;
|
1718 |
}
|
1719 |
-
|
1720 |
/* line 236, sass/partials/_jquery_ui.scss */
|
1721 |
-
|
1722 |
-
|
1723 |
-
.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select {
|
1724 |
-
width: 100%;
|
1725 |
}
|
1726 |
-
|
1727 |
/* line 242, sass/partials/_jquery_ui.scss */
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
padding: .6em;
|
1732 |
-
text-align: right;
|
1733 |
}
|
1734 |
-
|
1735 |
/* line 246, sass/partials/_jquery_ui.scss */
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
-webkit-border-radius: 3px;
|
1743 |
-
-moz-border-radius: 3px;
|
1744 |
-
border-radius: 3px;
|
1745 |
-
margin: 0 .4em .4em .6em;
|
1746 |
}
|
1747 |
|
1748 |
/* line 260, sass/partials/_jquery_ui.scss */
|
1749 |
-
|
1750 |
.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header,
|
1751 |
-
.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1752 |
-
.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,
|
1753 |
.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1754 |
-
|
1755 |
}
|
1756 |
-
|
1757 |
/* line 265, sass/partials/_jquery_ui.scss */
|
1758 |
-
|
1759 |
-
|
1760 |
-
.admin-color-fresh .cmb2-element .ui-datepicker thead {
|
1761 |
-
background: #32373c;
|
1762 |
}
|
1763 |
-
|
1764 |
/* line 269, sass/partials/_jquery_ui.scss */
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
background: #0073aa;
|
1769 |
-
color: #fff;
|
1770 |
}
|
1771 |
|
1772 |
/* line 277, sass/partials/_jquery_ui.scss */
|
1773 |
-
|
1774 |
.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header,
|
1775 |
-
.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1776 |
-
.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,
|
1777 |
.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1778 |
-
|
1779 |
}
|
1780 |
-
|
1781 |
/* line 282, sass/partials/_jquery_ui.scss */
|
1782 |
-
|
1783 |
-
|
1784 |
-
.admin-color-blue .cmb2-element .ui-datepicker thead {
|
1785 |
-
background: #4796b3;
|
1786 |
}
|
1787 |
-
|
1788 |
/* line 291, sass/partials/_jquery_ui.scss */
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,
|
1793 |
-
.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active {
|
1794 |
-
background: #096484;
|
1795 |
-
color: #fff;
|
1796 |
}
|
1797 |
-
|
1798 |
/* line 296, sass/partials/_jquery_ui.scss */
|
1799 |
-
|
1800 |
-
|
1801 |
-
.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1802 |
-
background: #eee;
|
1803 |
}
|
1804 |
|
1805 |
/* line 305, sass/partials/_jquery_ui.scss */
|
1806 |
-
|
1807 |
.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header,
|
1808 |
-
.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1809 |
-
.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,
|
1810 |
.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1811 |
-
|
1812 |
}
|
1813 |
-
|
1814 |
/* line 310, sass/partials/_jquery_ui.scss */
|
1815 |
-
|
1816 |
-
|
1817 |
-
.admin-color-coffee .cmb2-element .ui-datepicker thead {
|
1818 |
-
background: #46403c;
|
1819 |
}
|
1820 |
-
|
1821 |
/* line 314, sass/partials/_jquery_ui.scss */
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
background: #c7a589;
|
1826 |
-
color: #fff;
|
1827 |
}
|
1828 |
|
1829 |
/* line 322, sass/partials/_jquery_ui.scss */
|
1830 |
-
|
1831 |
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header,
|
1832 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1833 |
-
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,
|
1834 |
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1835 |
-
|
1836 |
}
|
1837 |
-
|
1838 |
/* line 327, sass/partials/_jquery_ui.scss */
|
1839 |
-
|
1840 |
-
|
1841 |
-
.admin-color-ectoplasm .cmb2-element .ui-datepicker thead {
|
1842 |
-
background: #413256;
|
1843 |
}
|
1844 |
-
|
1845 |
/* line 331, sass/partials/_jquery_ui.scss */
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
background: #a3b745;
|
1850 |
-
color: #fff;
|
1851 |
}
|
1852 |
|
1853 |
/* line 339, sass/partials/_jquery_ui.scss */
|
1854 |
-
|
1855 |
.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header,
|
1856 |
-
.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1857 |
-
.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,
|
1858 |
.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1859 |
-
|
1860 |
}
|
1861 |
-
|
1862 |
/* line 344, sass/partials/_jquery_ui.scss */
|
1863 |
-
|
1864 |
-
|
1865 |
-
.admin-color-midnight .cmb2-element .ui-datepicker thead {
|
1866 |
-
background: #26292c;
|
1867 |
}
|
1868 |
-
|
1869 |
/* line 348, sass/partials/_jquery_ui.scss */
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
background: #e14d43;
|
1874 |
-
color: #fff;
|
1875 |
}
|
1876 |
|
1877 |
/* line 356, sass/partials/_jquery_ui.scss */
|
1878 |
-
|
1879 |
.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header,
|
1880 |
-
.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1881 |
-
.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,
|
1882 |
.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1883 |
-
|
1884 |
}
|
1885 |
-
|
1886 |
/* line 361, sass/partials/_jquery_ui.scss */
|
1887 |
-
|
1888 |
-
|
1889 |
-
.admin-color-ocean .cmb2-element .ui-datepicker thead {
|
1890 |
-
background: #627c83;
|
1891 |
}
|
1892 |
-
|
1893 |
/* line 365, sass/partials/_jquery_ui.scss */
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
background: #9ebaa0;
|
1898 |
-
color: #fff;
|
1899 |
}
|
1900 |
|
1901 |
/* line 373, sass/partials/_jquery_ui.scss */
|
1902 |
-
|
1903 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header,
|
1904 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1905 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,
|
1906 |
-
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,
|
1907 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,
|
1908 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
1909 |
-
|
1910 |
}
|
1911 |
-
|
1912 |
/* line 379, sass/partials/_jquery_ui.scss */
|
1913 |
-
|
1914 |
-
|
1915 |
-
|
1916 |
-
border-color: #be3631;
|
1917 |
-
background: #be3631;
|
1918 |
}
|
1919 |
-
|
1920 |
/* line 384, sass/partials/_jquery_ui.scss */
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
background: #dd823b;
|
1925 |
-
color: #fff;
|
1926 |
}
|
1927 |
|
1928 |
/* line 392, sass/partials/_jquery_ui.scss */
|
1929 |
-
|
1930 |
.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header,
|
1931 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1932 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,
|
1933 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1934 |
-
|
1935 |
}
|
1936 |
-
|
1937 |
/* line 397, sass/partials/_jquery_ui.scss */
|
1938 |
-
|
1939 |
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1940 |
-
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year,
|
1941 |
-
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
1942 |
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1943 |
-
|
1944 |
}
|
1945 |
-
|
1946 |
/* line 402, sass/partials/_jquery_ui.scss */
|
1947 |
-
|
1948 |
-
|
1949 |
-
.admin-color-light .cmb2-element .ui-datepicker thead {
|
1950 |
-
background: #888;
|
1951 |
}
|
1952 |
-
|
1953 |
/* line 406, sass/partials/_jquery_ui.scss */
|
1954 |
-
|
1955 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,
|
1956 |
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default,
|
1957 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1958 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,
|
1959 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,
|
1960 |
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,
|
1961 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
1962 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1963 |
-
|
1964 |
}
|
1965 |
-
|
1966 |
/* line 414, sass/partials/_jquery_ui.scss */
|
1967 |
-
|
1968 |
-
|
1969 |
-
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,
|
1970 |
-
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,
|
1971 |
-
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active {
|
1972 |
-
background: #ccc;
|
1973 |
}
|
1974 |
-
|
1975 |
/* line 418, sass/partials/_jquery_ui.scss */
|
1976 |
-
|
1977 |
-
|
1978 |
-
.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1979 |
-
background: #eee;
|
1980 |
}
|
1981 |
|
1982 |
/* line 426, sass/partials/_jquery_ui.scss */
|
1983 |
-
|
1984 |
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header,
|
1985 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1986 |
-
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,
|
1987 |
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1988 |
-
|
1989 |
}
|
1990 |
-
|
1991 |
/* line 431, sass/partials/_jquery_ui.scss */
|
1992 |
-
|
1993 |
-
|
1994 |
-
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead {
|
1995 |
-
background: #36533f;
|
1996 |
}
|
1997 |
-
|
1998 |
/* line 435, sass/partials/_jquery_ui.scss */
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
background: #446950;
|
2003 |
-
color: #fff;
|
2004 |
}
|
2005 |
|
2006 |
/* line 443, sass/partials/_jquery_ui.scss */
|
2007 |
-
|
2008 |
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header,
|
2009 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,
|
2010 |
-
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,
|
2011 |
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header {
|
2012 |
-
|
2013 |
}
|
2014 |
-
|
2015 |
/* line 448, sass/partials/_jquery_ui.scss */
|
2016 |
-
|
2017 |
-
|
2018 |
-
.admin-color-bbp-mint .cmb2-element .ui-datepicker thead {
|
2019 |
-
background: #4f6d59;
|
2020 |
}
|
2021 |
-
|
2022 |
/* line 452, sass/partials/_jquery_ui.scss */
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
background: #5fb37c;
|
2027 |
-
color: #fff;
|
2028 |
-
}
|
2029 |
-
|
2030 |
-
/*# sourceMappingURL=cmb2.css.map */
|
2031 |
-
|
2032 |
-
@media only screen and (max-width: 850px) {
|
2033 |
-
|
2034 |
-
/* line 103, sass/partials/_context_metaboxes.scss */
|
2035 |
-
|
2036 |
-
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
2037 |
-
margin-left: 0;
|
2038 |
-
}
|
2039 |
-
|
2040 |
-
}
|
2041 |
-
|
2042 |
-
@media (max-width: 450px) {
|
2043 |
-
|
2044 |
-
/* line 193, sass/partials/_main_wrap.scss */
|
2045 |
-
|
2046 |
-
.cmb-th {
|
2047 |
-
font-size: 1.2em;
|
2048 |
-
display: block;
|
2049 |
-
float: none;
|
2050 |
-
padding-bottom: 1em;
|
2051 |
-
text-align: right;
|
2052 |
-
width: 100%;
|
2053 |
}
|
2054 |
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
|
2061 |
}
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
.cmb-td,
|
2067 |
-
.cmb-th + .cmb-td {
|
2068 |
-
display: block;
|
2069 |
-
float: none;
|
2070 |
-
width: 100%;
|
2071 |
}
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
.cmb2-postbox .cmb-row:not(:last-of-type),
|
2076 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),
|
2077 |
-
.cmb-type-group .cmb-row:not(:last-of-type),
|
2078 |
-
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
2079 |
-
border-bottom: 0;
|
2080 |
}
|
2081 |
-
|
2082 |
-
|
2083 |
-
|
2084 |
-
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
2085 |
-
padding: 0;
|
2086 |
-
margin-right: 0;
|
2087 |
}
|
2088 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2089 |
}
|
2090 |
|
|
1 |
/*!
|
2 |
+
* CMB2 - v2.9.0 - 2021-03-03
|
3 |
* https://cmb2.io
|
4 |
+
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
8 |
+
@charset "UTF-8";
|
9 |
/*--------------------------------------------------------------
|
10 |
* Main Wrap
|
11 |
--------------------------------------------------------------*/
|
|
|
12 |
/* line 5, sass/partials/_main_wrap.scss */
|
|
|
13 |
.cmb2-wrap {
|
14 |
+
margin: 0;
|
15 |
}
|
|
|
16 |
/* line 8, sass/partials/_main_wrap.scss */
|
|
|
17 |
.cmb2-wrap input,
|
18 |
.cmb2-wrap textarea {
|
19 |
+
max-width: 100%;
|
|
|
|
|
20 |
}
|
21 |
+
/* line 15, sass/partials/_main_wrap.scss */
|
22 |
+
.cmb2-wrap input[type="text"].cmb2-oembed {
|
23 |
+
width: 100%;
|
|
|
|
|
24 |
}
|
25 |
+
/* line 20, sass/partials/_main_wrap.scss */
|
|
|
|
|
26 |
.cmb2-wrap textarea {
|
27 |
+
width: 500px;
|
28 |
+
padding: 8px;
|
29 |
}
|
30 |
+
/* line 24, sass/partials/_main_wrap.scss */
|
|
|
|
|
31 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
32 |
+
font-family: "Courier 10 Pitch", Courier, monospace;
|
33 |
+
line-height: 16px;
|
34 |
}
|
35 |
+
/* line 32, sass/partials/_main_wrap.scss */
|
36 |
+
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
37 |
+
width: 100px;
|
|
|
|
|
|
|
38 |
}
|
39 |
+
/* line 38, sass/partials/_main_wrap.scss */
|
|
|
|
|
40 |
.cmb2-wrap input.cmb2-text-money {
|
41 |
+
width: 90px;
|
42 |
}
|
43 |
+
/* line 43, sass/partials/_main_wrap.scss */
|
|
|
|
|
44 |
.cmb2-wrap input.cmb2-text-medium {
|
45 |
+
width: 230px;
|
46 |
}
|
47 |
+
/* line 48, sass/partials/_main_wrap.scss */
|
|
|
|
|
48 |
.cmb2-wrap input.cmb2-upload-file {
|
49 |
+
width: 65%;
|
50 |
}
|
51 |
+
/* line 52, sass/partials/_main_wrap.scss */
|
|
|
|
|
52 |
.cmb2-wrap input.ed_button {
|
53 |
+
padding: 2px 4px;
|
54 |
}
|
55 |
+
/* line 57, sass/partials/_main_wrap.scss */
|
|
|
|
|
56 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
57 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
58 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
59 |
+
margin-right: 20px;
|
60 |
}
|
61 |
+
/* line 65, sass/partials/_main_wrap.scss */
|
|
|
|
|
62 |
.cmb2-wrap ul {
|
63 |
+
margin: 0;
|
64 |
}
|
65 |
+
/* line 69, sass/partials/_main_wrap.scss */
|
|
|
|
|
66 |
.cmb2-wrap li {
|
67 |
+
font-size: 14px;
|
68 |
+
line-height: 16px;
|
69 |
+
margin: 1px 0 5px 0;
|
70 |
}
|
71 |
+
/* line 80, sass/partials/_main_wrap.scss */
|
|
|
|
|
72 |
.cmb2-wrap select {
|
73 |
+
font-size: 14px;
|
74 |
+
margin-top: 3px;
|
75 |
}
|
76 |
+
/* line 85, sass/partials/_main_wrap.scss */
|
|
|
|
|
77 |
.cmb2-wrap input:focus,
|
78 |
.cmb2-wrap textarea:focus {
|
79 |
+
background: #fffff8;
|
80 |
}
|
81 |
+
/* line 90, sass/partials/_main_wrap.scss */
|
|
|
|
|
82 |
.cmb2-wrap input[type="radio"] {
|
83 |
+
margin: 0 0 0 5px;
|
84 |
+
padding: 0;
|
85 |
}
|
86 |
+
/* line 95, sass/partials/_main_wrap.scss */
|
|
|
|
|
87 |
.cmb2-wrap input[type="checkbox"] {
|
88 |
+
margin: 0 0 0 5px;
|
89 |
+
padding: 0;
|
90 |
}
|
91 |
+
/* line 100, sass/partials/_main_wrap.scss */
|
|
|
|
|
92 |
.cmb2-wrap button,
|
93 |
.cmb2-wrap .button-secondary {
|
94 |
+
white-space: nowrap;
|
95 |
}
|
96 |
+
/* line 105, sass/partials/_main_wrap.scss */
|
|
|
|
|
97 |
.cmb2-wrap .mceLayout {
|
98 |
+
border: 1px solid #e9e9e9 !important;
|
99 |
}
|
100 |
+
/* line 109, sass/partials/_main_wrap.scss */
|
|
|
|
|
101 |
.cmb2-wrap .mceIframeContainer {
|
102 |
+
background: #ffffff;
|
103 |
}
|
104 |
+
/* line 113, sass/partials/_main_wrap.scss */
|
|
|
|
|
105 |
.cmb2-wrap .meta_mce {
|
106 |
+
width: 97%;
|
107 |
}
|
108 |
+
/* line 116, sass/partials/_main_wrap.scss */
|
|
|
|
|
109 |
.cmb2-wrap .meta_mce textarea {
|
110 |
+
width: 100%;
|
111 |
}
|
112 |
+
/* line 122, sass/partials/_main_wrap.scss */
|
113 |
+
.cmb2-wrap .cmb-multicheck-toggle {
|
114 |
+
margin-top: -1em;
|
|
|
|
|
|
|
115 |
}
|
116 |
+
/* line 127, sass/partials/_main_wrap.scss */
|
117 |
+
.cmb2-wrap .wp-picker-clear.button,
|
118 |
+
.cmb2-wrap .wp-picker-default.button {
|
119 |
+
margin-right: 6px;
|
120 |
+
padding: 2px 8px;
|
|
|
121 |
}
|
122 |
+
/* line 133, sass/partials/_main_wrap.scss */
|
|
|
|
|
123 |
.cmb2-wrap .cmb-row {
|
124 |
+
margin: 0;
|
125 |
}
|
126 |
+
/* line 136, sass/partials/_main_wrap.scss */
|
|
|
|
|
127 |
.cmb2-wrap .cmb-row:after {
|
128 |
+
content: '';
|
129 |
+
clear: both;
|
130 |
+
display: block;
|
131 |
+
width: 100%;
|
132 |
}
|
133 |
+
/* line 143, sass/partials/_main_wrap.scss */
|
|
|
|
|
134 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
135 |
+
padding-top: 0;
|
136 |
+
padding-bottom: 1em;
|
137 |
}
|
138 |
|
139 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
140 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
141 |
+
margin: .1875rem;
|
142 |
+
}
|
143 |
+
@media screen and (max-width: 782px) {
|
144 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
145 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
146 |
+
margin: .4375rem;
|
147 |
+
}
|
148 |
+
}
|
149 |
|
150 |
+
/* line 162, sass/partials/_main_wrap.scss */
|
151 |
.cmb2-metabox {
|
152 |
+
clear: both;
|
153 |
+
margin: 0;
|
154 |
}
|
155 |
+
/* line 168, sass/partials/_main_wrap.scss */
|
|
|
|
|
156 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
157 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
158 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
159 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-th {
|
160 |
+
border: 0;
|
161 |
}
|
162 |
|
163 |
+
/* line 175, sass/partials/_main_wrap.scss */
|
|
|
164 |
.cmb-add-row {
|
165 |
+
margin: 1.8em 0 0;
|
166 |
}
|
167 |
|
168 |
+
/* line 179, sass/partials/_main_wrap.scss */
|
|
|
169 |
.cmb-nested .cmb-td,
|
170 |
.cmb-repeatable-group .cmb-th,
|
171 |
.cmb-repeatable-group:first-of-type {
|
172 |
+
border: 0;
|
173 |
}
|
174 |
|
175 |
+
/* line 185, sass/partials/_main_wrap.scss */
|
|
|
176 |
.cmb-row:last-of-type,
|
177 |
.cmb2-wrap .cmb-row:last-of-type,
|
178 |
.cmb-repeatable-group:last-of-type {
|
179 |
+
border-bottom: 0;
|
180 |
}
|
181 |
|
182 |
+
/* line 191, sass/partials/_main_wrap.scss */
|
|
|
183 |
.cmb-repeatable-grouping {
|
184 |
+
border: 1px solid #e9e9e9;
|
185 |
+
padding: 0 1em;
|
186 |
}
|
187 |
+
/* line 195, sass/partials/_main_wrap.scss */
|
|
|
|
|
188 |
.cmb-repeatable-grouping.cmb-row {
|
189 |
+
margin: 0 0 0.8em;
|
190 |
}
|
191 |
|
192 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
|
|
193 |
.cmb-th {
|
194 |
+
color: #222222;
|
195 |
+
float: right;
|
196 |
+
font-weight: 600;
|
197 |
+
padding: 20px 0 20px 10px;
|
198 |
+
vertical-align: top;
|
199 |
+
width: 200px;
|
|
|
200 |
}
|
201 |
+
@media (max-width: 450px) {
|
202 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
203 |
+
.cmb-th {
|
204 |
+
font-size: 1.2em;
|
205 |
+
display: block;
|
206 |
+
float: none;
|
207 |
+
padding-bottom: 1em;
|
208 |
+
text-align: right;
|
209 |
+
width: 100%;
|
210 |
+
}
|
211 |
+
/* line 27, sass/partials/_mixins.scss */
|
212 |
+
.cmb-th label {
|
213 |
+
display: block;
|
214 |
+
margin-top: 0;
|
215 |
+
margin-bottom: 0.5em;
|
216 |
+
}
|
217 |
}
|
218 |
|
219 |
/* line 216, sass/partials/_main_wrap.scss */
|
220 |
+
.cmb-td {
|
221 |
+
line-height: 1.3;
|
222 |
+
max-width: 100%;
|
223 |
+
padding: 15px 10px;
|
224 |
+
vertical-align: middle;
|
225 |
+
}
|
226 |
|
227 |
+
/* line 225, sass/partials/_main_wrap.scss */
|
228 |
.cmb-type-title .cmb-td {
|
229 |
+
padding: 0;
|
230 |
}
|
231 |
|
232 |
+
/* line 230, sass/partials/_main_wrap.scss */
|
|
|
233 |
.cmb-th label {
|
234 |
+
display: block;
|
235 |
+
padding: 5px 0;
|
236 |
}
|
237 |
|
238 |
+
/* line 235, sass/partials/_main_wrap.scss */
|
|
|
239 |
.cmb-th + .cmb-td {
|
240 |
+
float: right;
|
241 |
}
|
242 |
|
243 |
+
/* line 239, sass/partials/_main_wrap.scss */
|
|
|
244 |
.cmb-td .cmb-td {
|
245 |
+
padding-bottom: 1em;
|
246 |
}
|
247 |
|
248 |
+
/* line 243, sass/partials/_main_wrap.scss */
|
|
|
249 |
.cmb-remove-row {
|
250 |
+
text-align: left;
|
251 |
}
|
252 |
|
253 |
+
/* line 247, sass/partials/_main_wrap.scss */
|
|
|
254 |
.empty-row.hidden {
|
255 |
+
display: none;
|
256 |
}
|
257 |
|
258 |
+
/* line 252, sass/partials/_main_wrap.scss */
|
|
|
259 |
.cmb-repeat-table {
|
260 |
+
background-color: #fafafa;
|
261 |
+
border: 1px solid #e1e1e1;
|
262 |
}
|
263 |
+
/* line 256, sass/partials/_main_wrap.scss */
|
|
|
|
|
264 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
265 |
+
position: relative;
|
266 |
+
counter-increment: el;
|
267 |
+
margin: 0;
|
268 |
+
padding: 10px 50px 10px 10px;
|
269 |
+
border-bottom: none !important;
|
270 |
}
|
271 |
+
/* line 264, sass/partials/_main_wrap.scss */
|
|
|
|
|
272 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
273 |
+
border-top: solid 1px #e9e9e9;
|
274 |
}
|
275 |
+
/* line 268, sass/partials/_main_wrap.scss */
|
276 |
+
.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper {
|
277 |
+
outline: dashed 2px #e9e9e9 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
}
|
279 |
+
/* line 272, sass/partials/_main_wrap.scss */
|
280 |
+
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
281 |
+
content: counter(el);
|
282 |
+
display: block;
|
283 |
+
top: 0;
|
284 |
+
right: 0;
|
285 |
+
position: absolute;
|
286 |
+
width: 35px;
|
287 |
+
height: 100%;
|
288 |
+
line-height: 35px;
|
289 |
+
cursor: move;
|
290 |
+
color: #757575;
|
291 |
+
text-align: center;
|
292 |
+
border-left: solid 1px #e9e9e9;
|
293 |
+
}
|
294 |
+
/* line 289, sass/partials/_main_wrap.scss */
|
295 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
296 |
+
margin: 0;
|
297 |
+
padding: 0;
|
298 |
}
|
299 |
+
/* line 296, sass/partials/_main_wrap.scss */
|
|
|
|
|
300 |
.cmb-repeat-table + .cmb-add-row {
|
301 |
+
margin: 0;
|
302 |
}
|
303 |
+
/* line 299, sass/partials/_main_wrap.scss */
|
|
|
|
|
304 |
.cmb-repeat-table + .cmb-add-row:before {
|
305 |
+
content: '';
|
306 |
+
width: 1px;
|
307 |
+
height: 1.6em;
|
308 |
+
display: block;
|
309 |
+
margin-right: 17px;
|
310 |
+
background-color: gainsboro;
|
311 |
+
}
|
312 |
+
/* line 309, sass/partials/_main_wrap.scss */
|
|
|
|
|
313 |
.cmb-repeat-table .cmb-remove-row {
|
314 |
+
top: 7px;
|
315 |
+
left: 7px;
|
316 |
+
position: absolute;
|
317 |
+
width: auto;
|
318 |
+
margin-right: 0;
|
319 |
+
padding: 0 !important;
|
320 |
+
display: none;
|
321 |
+
}
|
322 |
+
/* line 320, sass/partials/_main_wrap.scss */
|
|
|
|
|
323 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
324 |
+
font-size: 20px;
|
325 |
+
text-indent: -1000px;
|
326 |
+
overflow: hidden;
|
327 |
+
position: relative;
|
328 |
+
height: auto;
|
329 |
+
line-height: 1;
|
330 |
+
padding: 0 10px 0;
|
331 |
+
}
|
332 |
+
/* line 331, sass/partials/_main_wrap.scss */
|
|
|
|
|
333 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
334 |
+
content: "";
|
335 |
+
font-family: 'Dashicons';
|
336 |
+
speak: none;
|
337 |
+
font-weight: normal;
|
338 |
+
font-variant: normal;
|
339 |
+
text-transform: none;
|
340 |
+
line-height: 1;
|
341 |
+
-webkit-font-smoothing: antialiased;
|
342 |
+
margin: 0;
|
343 |
+
text-indent: 0;
|
344 |
+
position: absolute;
|
345 |
+
top: 0;
|
346 |
+
right: 0;
|
347 |
+
width: 100%;
|
348 |
+
height: 100%;
|
349 |
+
text-align: center;
|
350 |
+
}
|
351 |
+
/* line 337, sass/partials/_main_wrap.scss */
|
|
|
|
|
352 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
353 |
+
display: block;
|
354 |
}
|
355 |
|
356 |
+
/* line 345, sass/partials/_main_wrap.scss */
|
|
|
357 |
.cmb-repeatable-group .cmb-th {
|
358 |
+
padding: 5px;
|
359 |
}
|
360 |
+
/* line 349, sass/partials/_main_wrap.scss */
|
|
|
|
|
361 |
.cmb-repeatable-group .cmb-group-title {
|
362 |
+
background-color: #e9e9e9;
|
363 |
+
padding: 8px 2.2em 8px 12px;
|
364 |
+
margin: 0 -1em;
|
365 |
+
min-height: 1.5em;
|
366 |
+
font-size: 14px;
|
367 |
+
line-height: 1.4;
|
368 |
+
}
|
369 |
+
/* line 357, sass/partials/_main_wrap.scss */
|
|
|
|
|
370 |
.cmb-repeatable-group .cmb-group-title h4 {
|
371 |
+
border: 0;
|
372 |
+
margin: 0;
|
373 |
+
font-size: 1.2em;
|
374 |
+
font-weight: 500;
|
375 |
+
padding: 0.5em 0.75em;
|
376 |
}
|
377 |
+
/* line 365, sass/partials/_main_wrap.scss */
|
|
|
|
|
378 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
379 |
+
display: block;
|
380 |
+
width: 100%;
|
381 |
}
|
382 |
+
/* line 371, sass/partials/_main_wrap.scss */
|
|
|
|
|
383 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
384 |
+
font-size: 1.2em;
|
385 |
+
display: block;
|
386 |
+
float: none;
|
387 |
+
padding-bottom: 1em;
|
388 |
+
text-align: right;
|
389 |
+
width: 100%;
|
390 |
}
|
|
|
391 |
/* line 27, sass/partials/_mixins.scss */
|
|
|
392 |
.cmb-repeatable-group .cmb-group-description .cmb-th label {
|
393 |
+
display: block;
|
394 |
+
margin-top: 0;
|
395 |
+
margin-bottom: 0.5em;
|
396 |
}
|
397 |
+
/* line 375, sass/partials/_main_wrap.scss */
|
|
|
|
|
398 |
.cmb-repeatable-group .cmb-shift-rows {
|
399 |
+
margin-left: 1em;
|
|
|
|
|
400 |
}
|
401 |
+
/* line 378, sass/partials/_main_wrap.scss */
|
402 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2 {
|
403 |
+
margin-top: .15em;
|
|
|
|
|
|
|
|
|
|
|
404 |
}
|
405 |
+
/* line 382, sass/partials/_main_wrap.scss */
|
406 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2 {
|
407 |
+
margin-top: .2em;
|
|
|
|
|
408 |
}
|
409 |
+
/* line 387, sass/partials/_main_wrap.scss */
|
|
|
|
|
410 |
.cmb-repeatable-group .cmb2-upload-button {
|
411 |
+
float: left;
|
412 |
}
|
413 |
|
414 |
+
/* line 393, sass/partials/_main_wrap.scss */
|
|
|
415 |
p.cmb2-metabox-description {
|
416 |
+
color: #666;
|
417 |
+
letter-spacing: 0.01em;
|
418 |
+
margin: 0;
|
419 |
+
padding-top: .5em;
|
420 |
}
|
421 |
|
422 |
+
/* line 400, sass/partials/_main_wrap.scss */
|
|
|
423 |
span.cmb2-metabox-description {
|
424 |
+
color: #666;
|
425 |
+
letter-spacing: 0.01em;
|
426 |
}
|
427 |
|
428 |
+
/* line 405, sass/partials/_main_wrap.scss */
|
|
|
429 |
.cmb2-metabox-title {
|
430 |
+
margin: 0 0 5px 0;
|
431 |
+
padding: 5px 0 0 0;
|
432 |
+
font-size: 14px;
|
433 |
}
|
434 |
|
435 |
+
/* line 411, sass/partials/_main_wrap.scss */
|
|
|
436 |
.cmb-inline ul {
|
437 |
+
padding: 4px 0 0 0;
|
438 |
}
|
439 |
|
440 |
+
/* line 415, sass/partials/_main_wrap.scss */
|
|
|
441 |
.cmb-inline li {
|
442 |
+
display: inline-block;
|
443 |
+
padding-left: 18px;
|
444 |
}
|
445 |
|
446 |
+
/* line 420, sass/partials/_main_wrap.scss */
|
|
|
447 |
.cmb-type-textarea-code pre {
|
448 |
+
margin: 0;
|
449 |
}
|
450 |
|
451 |
+
/* line 426, sass/partials/_main_wrap.scss */
|
|
|
452 |
.cmb2-media-status .img-status {
|
453 |
+
clear: none;
|
454 |
+
display: inline-block;
|
455 |
+
vertical-align: middle;
|
456 |
+
margin-left: 10px;
|
457 |
+
width: auto;
|
458 |
}
|
459 |
+
/* line 433, sass/partials/_main_wrap.scss */
|
|
|
|
|
460 |
.cmb2-media-status .img-status img {
|
461 |
+
max-width: 350px;
|
462 |
+
height: auto;
|
463 |
}
|
464 |
+
/* line 439, sass/partials/_main_wrap.scss */
|
|
|
|
|
465 |
.cmb2-media-status .img-status img,
|
466 |
.cmb2-media-status .embed-status {
|
467 |
+
background: #eee;
|
468 |
+
border: 5px solid #ffffff;
|
469 |
+
outline: 1px solid #e9e9e9;
|
470 |
+
box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
|
471 |
+
background-image: linear-gradient(45deg, #d0d0d0 25%, transparent 25%, transparent 75%, #d0d0d0 75%, #d0d0d0), linear-gradient(45deg, #d0d0d0 25%, transparent 25%, transparent 75%, #d0d0d0 75%, #d0d0d0);
|
472 |
+
background-position: 0 0, 10px 10px;
|
473 |
+
background-size: 20px 20px;
|
474 |
+
border-radius: 2px;
|
475 |
+
-moz-border-radius: 2px;
|
476 |
+
margin: 15px 0 0 0;
|
477 |
+
}
|
478 |
+
/* line 453, sass/partials/_main_wrap.scss */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
479 |
.cmb2-media-status .embed-status {
|
480 |
+
float: right;
|
481 |
+
max-width: 800px;
|
482 |
+
}
|
483 |
+
/* line 458, sass/partials/_main_wrap.scss */
|
484 |
+
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
485 |
+
position: relative;
|
486 |
+
}
|
487 |
+
/* line 461, sass/partials/_main_wrap.scss */
|
488 |
+
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
489 |
+
background: url(../images/ico-delete.png);
|
490 |
+
height: 16px;
|
491 |
+
right: -5px;
|
492 |
+
position: absolute;
|
493 |
+
text-indent: -9999px;
|
494 |
+
top: -5px;
|
495 |
+
width: 16px;
|
496 |
+
}
|
497 |
+
/* line 475, sass/partials/_main_wrap.scss */
|
498 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
499 |
+
top: 10px;
|
500 |
}
|
501 |
+
/* line 480, sass/partials/_main_wrap.scss */
|
502 |
+
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
503 |
+
cursor: pointer;
|
|
|
|
|
|
|
504 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
505 |
/* line 485, sass/partials/_main_wrap.scss */
|
506 |
+
.cmb2-media-status.cmb-attach-list .img-status img, .cmb2-media-status.cmb-attach-list .file-status > span {
|
507 |
+
cursor: move;
|
508 |
+
}
|
509 |
|
510 |
+
/* line 492, sass/partials/_main_wrap.scss */
|
511 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
512 |
+
clear: none;
|
513 |
+
vertical-align: middle;
|
514 |
+
width: auto;
|
515 |
+
margin-left: 10px;
|
516 |
+
margin-bottom: 10px;
|
517 |
+
margin-top: 0;
|
518 |
}
|
519 |
|
520 |
+
/* line 501, sass/partials/_main_wrap.scss */
|
|
|
521 |
.cmb-attach-list li {
|
522 |
+
clear: both;
|
523 |
+
display: inline-block;
|
524 |
+
width: 100%;
|
525 |
+
margin-top: 5px;
|
526 |
+
margin-bottom: 10px;
|
527 |
}
|
528 |
+
/* line 507, sass/partials/_main_wrap.scss */
|
|
|
|
|
529 |
.cmb-attach-list li img {
|
530 |
+
float: right;
|
531 |
+
margin-left: 10px;
|
532 |
}
|
533 |
|
534 |
+
/* line 513, sass/partials/_main_wrap.scss */
|
|
|
535 |
.cmb2-remove-wrapper {
|
536 |
+
margin: 0;
|
537 |
}
|
538 |
|
539 |
+
/* line 517, sass/partials/_main_wrap.scss */
|
|
|
540 |
.child-cmb2 .cmb-th {
|
541 |
+
text-align: right;
|
542 |
}
|
543 |
|
544 |
+
/* line 521, sass/partials/_main_wrap.scss */
|
|
|
545 |
.cmb2-indented-hierarchy {
|
546 |
+
padding-right: 1.5em;
|
547 |
}
|
548 |
|
549 |
+
@media (max-width: 450px) {
|
550 |
+
/* line 526, sass/partials/_main_wrap.scss */
|
551 |
+
.cmb-th,
|
552 |
+
.cmb-td,
|
553 |
+
.cmb-th + .cmb-td {
|
554 |
+
display: block;
|
555 |
+
float: none;
|
556 |
+
width: 100%;
|
557 |
+
}
|
558 |
+
}
|
559 |
/*--------------------------------------------------------------
|
560 |
* Post Metaboxes
|
561 |
--------------------------------------------------------------*/
|
|
|
562 |
/* line 5, sass/partials/_post_metaboxes.scss */
|
|
|
563 |
#poststuff .cmb-group-title {
|
564 |
+
margin-right: -1em;
|
565 |
+
margin-left: -1em;
|
566 |
+
min-height: 1.5em;
|
567 |
}
|
568 |
|
569 |
/* line 11, sass/partials/_post_metaboxes.scss */
|
|
|
570 |
#poststuff .repeatable .cmb-group-title {
|
571 |
+
padding-right: 2.2em;
|
572 |
}
|
573 |
|
574 |
/* line 17, sass/partials/_post_metaboxes.scss */
|
575 |
+
.cmb2-postbox .cmb2-wrap, .cmb-type-group .cmb2-wrap {
|
576 |
+
margin: 0;
|
|
|
|
|
577 |
}
|
|
|
578 |
/* line 20, sass/partials/_post_metaboxes.scss */
|
579 |
+
.cmb2-postbox .cmb2-wrap > .cmb-field-list > .cmb-row, .cmb-type-group .cmb2-wrap > .cmb-field-list > .cmb-row {
|
580 |
+
padding: 1.8em 0;
|
|
|
|
|
581 |
}
|
|
|
582 |
/* line 26, sass/partials/_post_metaboxes.scss */
|
583 |
+
.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed, .cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed {
|
584 |
+
width: 100%;
|
|
|
|
|
585 |
}
|
|
|
586 |
/* line 32, sass/partials/_post_metaboxes.scss */
|
587 |
+
.cmb2-postbox .cmb-row, .cmb-type-group .cmb-row {
|
588 |
+
padding: 0 0 1.8em;
|
589 |
+
margin: 0 0 0.8em;
|
|
|
|
|
590 |
}
|
|
|
591 |
/* line 36, sass/partials/_post_metaboxes.scss */
|
592 |
+
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
593 |
+
left: -1em;
|
594 |
+
position: relative;
|
595 |
+
color: #222222;
|
596 |
+
}
|
597 |
+
/* line 43, sass/partials/_post_metaboxes.scss */
|
598 |
+
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
599 |
+
padding: 0 1em;
|
600 |
+
max-width: 100%;
|
601 |
+
min-width: 1px !important;
|
602 |
+
}
|
603 |
+
/* line 49, sass/partials/_post_metaboxes.scss */
|
604 |
+
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
605 |
+
padding-bottom: 0;
|
606 |
+
}
|
607 |
+
/* line 53, sass/partials/_post_metaboxes.scss */
|
608 |
+
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
609 |
+
width: 18%;
|
610 |
+
padding: 0 0 0 2%;
|
611 |
+
}
|
612 |
+
/* line 59, sass/partials/_post_metaboxes.scss */
|
613 |
+
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
614 |
+
margin-bottom: 0;
|
615 |
+
padding: 0;
|
616 |
+
line-height: 1.3;
|
617 |
+
}
|
618 |
+
/* line 65, sass/partials/_post_metaboxes.scss */
|
619 |
+
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
620 |
+
width: 80%;
|
621 |
+
float: left;
|
622 |
+
}
|
623 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
624 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
625 |
+
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
|
|
626 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
627 |
+
border-bottom: 1px solid #e9e9e9;
|
628 |
}
|
629 |
+
@media (max-width: 450px) {
|
630 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
631 |
+
.cmb2-postbox .cmb-row:not(:last-of-type),
|
632 |
+
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
633 |
+
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
634 |
+
border-bottom: 0;
|
635 |
+
}
|
636 |
+
}
|
637 |
+
/* line 79, sass/partials/_post_metaboxes.scss */
|
638 |
.cmb2-postbox .cmb-repeat-group-field,
|
639 |
+
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
|
|
640 |
.cmb-type-group .cmb-remove-field-row {
|
641 |
+
padding-top: 1.8em;
|
642 |
}
|
643 |
|
644 |
/*--------------------------------------------------------------
|
645 |
* Context Metaboxes
|
646 |
--------------------------------------------------------------*/
|
|
|
647 |
/* Metabox collapse arrow indicators */
|
648 |
+
/* line 8, sass/partials/_context_metaboxes.scss */
|
649 |
+
.js .cmb2-postbox.context-box .handlediv {
|
650 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
651 |
}
|
652 |
+
/* line 13, sass/partials/_context_metaboxes.scss */
|
653 |
+
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
654 |
+
content: "\f142";
|
655 |
+
display: inline-block;
|
656 |
+
font: normal 20px/1 dashicons;
|
657 |
+
speak: none;
|
658 |
+
-webkit-font-smoothing: antialiased;
|
659 |
+
-moz-osx-font-smoothing: grayscale;
|
660 |
+
text-decoration: none !important;
|
661 |
+
}
|
662 |
+
/* line 26, sass/partials/_context_metaboxes.scss */
|
663 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
664 |
+
content: "\f140";
|
665 |
}
|
666 |
|
667 |
+
/* line 34, sass/partials/_context_metaboxes.scss */
|
|
|
668 |
.cmb2-postbox.context-box {
|
669 |
+
margin-bottom: 10px;
|
670 |
}
|
671 |
+
/* line 38, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
672 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
673 |
+
margin-top: 10px;
|
674 |
}
|
675 |
+
/* line 42, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
676 |
.cmb2-postbox.context-box.context-after_title-box {
|
677 |
+
margin-top: 10px;
|
678 |
}
|
679 |
+
/* line 46, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
680 |
.cmb2-postbox.context-box.context-after_editor-box {
|
681 |
+
margin-top: 20px;
|
682 |
+
margin-bottom: 0;
|
683 |
}
|
684 |
+
/* line 51, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
685 |
.cmb2-postbox.context-box.context-form_top-box {
|
686 |
+
margin-top: 10px;
|
687 |
}
|
688 |
+
/* line 55, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
689 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
690 |
+
font-size: 14px;
|
691 |
+
padding: 8px 12px;
|
692 |
+
margin: 0;
|
693 |
+
line-height: 1.4;
|
694 |
}
|
695 |
+
/* line 63, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
696 |
.cmb2-postbox.context-box .hndle {
|
697 |
+
cursor: auto;
|
698 |
}
|
699 |
|
700 |
+
/* line 68, sass/partials/_context_metaboxes.scss */
|
|
|
701 |
.cmb2-context-wrap {
|
702 |
+
margin-top: 10px;
|
703 |
}
|
704 |
+
/* line 72, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
705 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
706 |
+
margin-left: 300px;
|
707 |
+
width: auto;
|
708 |
}
|
709 |
+
/* line 79, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
710 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
711 |
+
padding: 10px;
|
712 |
}
|
713 |
+
/* line 84, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
714 |
.cmb2-context-wrap .cmb-th {
|
715 |
+
padding: 0 0 0 2%;
|
716 |
+
width: 18%;
|
717 |
}
|
718 |
+
/* line 89, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
719 |
.cmb2-context-wrap .cmb-td {
|
720 |
+
width: 80%;
|
721 |
+
padding: 0;
|
722 |
}
|
723 |
+
/* line 94, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
724 |
.cmb2-context-wrap .cmb-row {
|
725 |
+
margin-bottom: 10px;
|
726 |
}
|
727 |
+
/* line 97, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
728 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
729 |
+
margin-bottom: 0;
|
730 |
}
|
731 |
|
732 |
/* one column on the post write/edit screen */
|
733 |
+
@media only screen and (max-width: 850px) {
|
734 |
+
/* line 107, sass/partials/_context_metaboxes.scss */
|
735 |
+
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
736 |
+
margin-left: 0;
|
737 |
+
}
|
738 |
+
}
|
739 |
/*--------------------------------------------------------------
|
740 |
* Options page
|
741 |
--------------------------------------------------------------*/
|
|
|
742 |
/* line 5, sass/partials/_options-page.scss */
|
|
|
743 |
.cmb2-options-page {
|
744 |
+
max-width: 1200px;
|
745 |
}
|
|
|
746 |
/* line 8, sass/partials/_options-page.scss */
|
|
|
747 |
.cmb2-options-page.wrap > h2 {
|
748 |
+
margin-bottom: 1em;
|
749 |
}
|
|
|
750 |
/* line 12, sass/partials/_options-page.scss */
|
|
|
751 |
.cmb2-options-page .cmb2-metabox > .cmb-row {
|
752 |
+
padding: 1em;
|
753 |
+
margin-top: -1px;
|
754 |
+
background: #ffffff;
|
755 |
+
border: 1px solid #e9e9e9;
|
756 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
757 |
}
|
|
|
758 |
/* line 19, sass/partials/_options-page.scss */
|
|
|
759 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th {
|
760 |
+
padding: 0;
|
761 |
+
font-weight: initial;
|
762 |
}
|
|
|
763 |
/* line 24, sass/partials/_options-page.scss */
|
|
|
764 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
765 |
+
float: none;
|
766 |
+
padding: 0 1em 0 0;
|
767 |
+
margin-right: 200px;
|
768 |
+
}
|
769 |
+
@media (max-width: 450px) {
|
770 |
+
/* line 24, sass/partials/_options-page.scss */
|
771 |
+
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
772 |
+
padding: 0;
|
773 |
+
margin-right: 0;
|
774 |
+
}
|
775 |
}
|
|
|
776 |
/* line 37, sass/partials/_options-page.scss */
|
|
|
777 |
.cmb2-options-page .cmb2-wrap .cmb-type-title {
|
778 |
+
margin-top: 1em;
|
779 |
+
padding: 0.6em 1em;
|
780 |
+
background-color: #fafafa;
|
781 |
}
|
|
|
782 |
/* line 42, sass/partials/_options-page.scss */
|
|
|
783 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title {
|
784 |
+
font-size: 12px;
|
785 |
+
margin-top: 0;
|
786 |
+
margin-bottom: 0;
|
787 |
+
text-transform: uppercase;
|
788 |
}
|
|
|
789 |
/* line 49, sass/partials/_options-page.scss */
|
|
|
790 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description {
|
791 |
+
padding-top: 0.25em;
|
792 |
}
|
|
|
793 |
/* line 55, sass/partials/_options-page.scss */
|
|
|
794 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th {
|
795 |
+
padding: 0 0 0.8em 0;
|
796 |
}
|
|
|
797 |
/* line 59, sass/partials/_options-page.scss */
|
|
|
798 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-name {
|
799 |
+
font-size: 16px;
|
800 |
+
margin-top: 0;
|
801 |
+
margin-bottom: 0;
|
802 |
}
|
|
|
803 |
/* line 65, sass/partials/_options-page.scss */
|
|
|
804 |
.cmb2-options-page .cmb-repeatable-group .cmb-th > .cmb2-metabox-description {
|
805 |
+
font-weight: 400;
|
806 |
+
padding-bottom: 0 !important;
|
807 |
}
|
808 |
|
809 |
/*--------------------------------------------------------------
|
810 |
* New-Term Page
|
811 |
--------------------------------------------------------------*/
|
|
|
812 |
/* line 6, sass/partials/_new_term.scss */
|
|
|
813 |
#addtag .cmb-th {
|
814 |
+
float: none;
|
815 |
+
width: auto;
|
816 |
+
padding: 20px 0 0;
|
817 |
}
|
|
|
818 |
/* line 12, sass/partials/_new_term.scss */
|
|
|
819 |
#addtag .cmb-td {
|
820 |
+
padding: 0;
|
821 |
}
|
|
|
822 |
/* line 16, sass/partials/_new_term.scss */
|
|
|
823 |
#addtag .cmb-th + .cmb-td {
|
824 |
+
float: none;
|
825 |
}
|
|
|
826 |
/* line 20, sass/partials/_new_term.scss */
|
|
|
827 |
#addtag select {
|
828 |
+
max-width: 100%;
|
829 |
}
|
|
|
830 |
/* line 24, sass/partials/_new_term.scss */
|
|
|
831 |
#addtag .cmb2-metabox {
|
832 |
+
padding-bottom: 20px;
|
833 |
}
|
|
|
834 |
/* line 28, sass/partials/_new_term.scss */
|
|
|
835 |
#addtag .cmb-row li label {
|
836 |
+
display: inline;
|
837 |
}
|
838 |
|
839 |
/*--------------------------------------------------------------
|
840 |
* Misc.
|
841 |
--------------------------------------------------------------*/
|
|
|
842 |
/* line 5, sass/partials/_misc.scss */
|
|
|
843 |
#poststuff .cmb-repeatable-group h2 {
|
844 |
+
margin: 0;
|
845 |
}
|
846 |
|
847 |
/* line 12, sass/partials/_misc.scss */
|
|
|
848 |
.edit-tags-php .cmb2-metabox-title,
|
849 |
.profile-php .cmb2-metabox-title,
|
850 |
.user-edit-php .cmb2-metabox-title {
|
851 |
+
font-size: 1.4em;
|
852 |
}
|
853 |
|
854 |
/* line 18, sass/partials/_misc.scss */
|
855 |
+
.cmb2-postbox .cmb-spinner, .cmb2-no-box-wrap .cmb-spinner {
|
856 |
+
float: right;
|
857 |
+
display: none;
|
|
|
|
|
858 |
}
|
859 |
|
860 |
/* line 24, sass/partials/_misc.scss */
|
|
|
861 |
.cmb-spinner {
|
862 |
+
display: none;
|
863 |
}
|
|
|
864 |
/* line 26, sass/partials/_misc.scss */
|
|
|
865 |
.cmb-spinner.is-active {
|
866 |
+
display: block;
|
867 |
}
|
868 |
|
869 |
/*--------------------------------------------------------------
|
870 |
* Sidebar Placement Adjustments
|
871 |
--------------------------------------------------------------*/
|
|
|
872 |
/* line 10, sass/partials/_sidebar_placements.scss */
|
|
|
873 |
.inner-sidebar .cmb2-wrap > .cmb-field-list > .cmb-row,
|
874 |
#side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row {
|
875 |
+
padding: 1.4em 0;
|
876 |
}
|
|
|
877 |
/* line 16, sass/partials/_sidebar_placements.scss */
|
|
|
878 |
.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker),
|
879 |
#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker) {
|
880 |
+
width: 100%;
|
881 |
}
|
|
|
882 |
/* line 20, sass/partials/_sidebar_placements.scss */
|
883 |
+
.inner-sidebar .cmb2-wrap input + input:not(.wp-picker-clear), .inner-sidebar .cmb2-wrap input + select,
|
|
|
|
|
884 |
#side-sortables .cmb2-wrap input + input:not(.wp-picker-clear),
|
885 |
#side-sortables .cmb2-wrap input + select {
|
886 |
+
margin-right: 0;
|
887 |
+
margin-top: 1em;
|
888 |
+
display: block;
|
889 |
}
|
|
|
890 |
/* line 26, sass/partials/_sidebar_placements.scss */
|
|
|
891 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money,
|
892 |
#side-sortables .cmb2-wrap input.cmb2-text-money {
|
893 |
+
max-width: 70%;
|
894 |
}
|
|
|
895 |
/* line 28, sass/partials/_sidebar_placements.scss */
|
|
|
896 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description,
|
897 |
#side-sortables .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description {
|
898 |
+
display: block;
|
899 |
}
|
|
|
900 |
/* line 34, sass/partials/_sidebar_placements.scss */
|
|
|
901 |
.inner-sidebar .cmb2-wrap label,
|
902 |
#side-sortables .cmb2-wrap label {
|
903 |
+
display: block;
|
904 |
+
font-weight: 700;
|
905 |
+
padding: 0 0 5px;
|
906 |
}
|
|
|
907 |
/* line 42, sass/partials/_sidebar_placements.scss */
|
|
|
908 |
.inner-sidebar textarea,
|
909 |
#side-sortables textarea {
|
910 |
+
max-width: 99%;
|
911 |
}
|
|
|
912 |
/* line 46, sass/partials/_sidebar_placements.scss */
|
|
|
913 |
.inner-sidebar .cmb-repeatable-group,
|
914 |
#side-sortables .cmb-repeatable-group {
|
915 |
+
border-bottom: 1px solid #e9e9e9;
|
916 |
}
|
|
|
917 |
/* line 50, sass/partials/_sidebar_placements.scss */
|
|
|
918 |
.inner-sidebar .cmb-type-group > .cmb-td > .cmb-repeatable-group,
|
919 |
#side-sortables .cmb-type-group > .cmb-td > .cmb-repeatable-group {
|
920 |
+
border-bottom: 0;
|
921 |
+
margin-bottom: -1.4em;
|
922 |
}
|
|
|
923 |
/* line 55, sass/partials/_sidebar_placements.scss */
|
|
|
924 |
.inner-sidebar .cmb-th,
|
925 |
.inner-sidebar .cmb-td:not(.cmb-remove-row),
|
926 |
.inner-sidebar .cmb-th + .cmb-td,
|
927 |
#side-sortables .cmb-th,
|
928 |
#side-sortables .cmb-td:not(.cmb-remove-row),
|
929 |
#side-sortables .cmb-th + .cmb-td {
|
930 |
+
width: 100%;
|
931 |
+
display: block;
|
932 |
+
float: none;
|
933 |
}
|
|
|
934 |
/* line 63, sass/partials/_sidebar_placements.scss */
|
|
|
935 |
.inner-sidebar .closed .inside,
|
936 |
#side-sortables .closed .inside {
|
937 |
+
display: none;
|
938 |
}
|
|
|
939 |
/* line 67, sass/partials/_sidebar_placements.scss */
|
|
|
940 |
.inner-sidebar .cmb-th,
|
941 |
#side-sortables .cmb-th {
|
942 |
+
display: block;
|
943 |
+
float: none;
|
944 |
+
padding-bottom: 1em;
|
945 |
+
text-align: right;
|
946 |
+
width: 100%;
|
947 |
+
padding-right: 0;
|
948 |
+
padding-left: 0;
|
949 |
}
|
|
|
950 |
/* line 27, sass/partials/_mixins.scss */
|
|
|
951 |
.inner-sidebar .cmb-th label,
|
952 |
#side-sortables .cmb-th label {
|
953 |
+
display: block;
|
954 |
+
margin-top: 0;
|
955 |
+
margin-bottom: 0.5em;
|
956 |
}
|
|
|
957 |
/* line 14, sass/partials/_mixins.scss */
|
|
|
958 |
.inner-sidebar .cmb-th label,
|
959 |
#side-sortables .cmb-th label {
|
960 |
+
font-size: 14px;
|
961 |
+
line-height: 1.4em;
|
962 |
}
|
|
|
963 |
/* line 74, sass/partials/_sidebar_placements.scss */
|
|
|
964 |
.inner-sidebar .cmb-group-description .cmb-th,
|
965 |
#side-sortables .cmb-group-description .cmb-th {
|
966 |
+
padding-top: 0;
|
967 |
}
|
|
|
968 |
/* line 77, sass/partials/_sidebar_placements.scss */
|
|
|
969 |
.inner-sidebar .cmb-group-description .cmb2-metabox-description,
|
970 |
#side-sortables .cmb-group-description .cmb2-metabox-description {
|
971 |
+
padding: 0;
|
972 |
}
|
|
|
973 |
/* line 84, sass/partials/_sidebar_placements.scss */
|
|
|
974 |
.inner-sidebar .cmb-group-title .cmb-th,
|
975 |
#side-sortables .cmb-group-title .cmb-th {
|
976 |
+
padding: 0;
|
977 |
}
|
|
|
978 |
/* line 90, sass/partials/_sidebar_placements.scss */
|
|
|
979 |
.inner-sidebar .cmb-repeatable-grouping + .cmb-repeatable-grouping,
|
980 |
#side-sortables .cmb-repeatable-grouping + .cmb-repeatable-grouping {
|
981 |
+
margin-top: 1em;
|
982 |
}
|
|
|
983 |
/* line 99, sass/partials/_sidebar_placements.scss */
|
|
|
984 |
.inner-sidebar .cmb2-media-status .img-status img,
|
985 |
.inner-sidebar .cmb2-media-status .embed-status img,
|
986 |
#side-sortables .cmb2-media-status .img-status img,
|
987 |
#side-sortables .cmb2-media-status .embed-status img {
|
988 |
+
max-width: 90%;
|
989 |
+
height: auto;
|
990 |
}
|
|
|
991 |
/* line 107, sass/partials/_sidebar_placements.scss */
|
|
|
992 |
.inner-sidebar .cmb2-list label,
|
993 |
#side-sortables .cmb2-list label {
|
994 |
+
display: inline;
|
995 |
+
font-weight: normal;
|
996 |
}
|
|
|
997 |
/* line 112, sass/partials/_sidebar_placements.scss */
|
|
|
998 |
.inner-sidebar .cmb2-metabox-description,
|
999 |
#side-sortables .cmb2-metabox-description {
|
1000 |
+
display: block;
|
1001 |
+
padding: 7px 0 0;
|
1002 |
}
|
|
|
1003 |
/* line 119, sass/partials/_sidebar_placements.scss */
|
|
|
1004 |
.inner-sidebar .cmb-type-checkbox .cmb-td label,
|
1005 |
.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description,
|
1006 |
#side-sortables .cmb-type-checkbox .cmb-td label,
|
1007 |
#side-sortables .cmb-type-checkbox .cmb2-metabox-description {
|
1008 |
+
font-weight: normal;
|
1009 |
+
display: inline;
|
1010 |
}
|
|
|
1011 |
/* line 126, sass/partials/_sidebar_placements.scss */
|
|
|
1012 |
.inner-sidebar .cmb-row .cmb2-metabox-description,
|
1013 |
#side-sortables .cmb-row .cmb2-metabox-description {
|
1014 |
+
padding-bottom: 1.8em;
|
1015 |
}
|
|
|
1016 |
/* line 130, sass/partials/_sidebar_placements.scss */
|
|
|
1017 |
.inner-sidebar .cmb2-metabox-title,
|
1018 |
#side-sortables .cmb2-metabox-title {
|
1019 |
+
font-size: 1.2em;
|
1020 |
+
font-style: italic;
|
1021 |
}
|
|
|
1022 |
/* line 135, sass/partials/_sidebar_placements.scss */
|
|
|
1023 |
.inner-sidebar .cmb-remove-row,
|
1024 |
#side-sortables .cmb-remove-row {
|
1025 |
+
clear: both;
|
1026 |
+
padding-top: 12px;
|
1027 |
+
padding-bottom: 0;
|
1028 |
}
|
|
|
1029 |
/* line 141, sass/partials/_sidebar_placements.scss */
|
|
|
1030 |
.inner-sidebar .cmb2-upload-button,
|
1031 |
#side-sortables .cmb2-upload-button {
|
1032 |
+
clear: both;
|
1033 |
+
margin-top: 12px;
|
1034 |
}
|
1035 |
|
1036 |
/*--------------------------------------------------------------
|
1037 |
* Collapsible UI
|
1038 |
--------------------------------------------------------------*/
|
|
|
1039 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
|
|
1040 |
.cmb2-metabox .cmbhandle {
|
1041 |
+
color: #757575;
|
1042 |
+
float: left;
|
1043 |
+
width: 27px;
|
1044 |
+
height: 30px;
|
1045 |
+
cursor: pointer;
|
1046 |
+
left: -1em;
|
1047 |
+
position: relative;
|
1048 |
}
|
|
|
1049 |
/* line 14, sass/partials/_collapsible_ui.scss */
|
|
|
1050 |
.cmb2-metabox .cmbhandle:before {
|
1051 |
+
content: '\f142';
|
1052 |
+
left: 12px;
|
1053 |
+
font: normal 20px/1 'dashicons';
|
1054 |
+
speak: none;
|
1055 |
+
display: inline-block;
|
1056 |
+
padding: 8px 10px;
|
1057 |
+
top: 0;
|
1058 |
+
position: relative;
|
1059 |
+
-webkit-font-smoothing: antialiased;
|
1060 |
+
-moz-osx-font-smoothing: grayscale;
|
1061 |
+
text-decoration: none !important;
|
1062 |
}
|
|
|
1063 |
/* line 31, sass/partials/_collapsible_ui.scss */
|
|
|
1064 |
.cmb2-metabox .postbox.closed .cmbhandle:before {
|
1065 |
+
content: '\f140';
|
1066 |
}
|
|
|
1067 |
/* line 37, sass/partials/_collapsible_ui.scss */
|
|
|
1068 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
|
1069 |
+
-webkit-appearance: none !important;
|
1070 |
+
background: none !important;
|
1071 |
+
border: none !important;
|
1072 |
+
position: absolute;
|
1073 |
+
right: 0;
|
1074 |
+
top: .5em;
|
1075 |
+
line-height: 1em;
|
1076 |
+
padding: 2px 6px 3px;
|
1077 |
+
opacity: .5;
|
1078 |
}
|
|
|
1079 |
/* line 47, sass/partials/_collapsible_ui.scss */
|
|
|
1080 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) {
|
1081 |
+
cursor: pointer;
|
1082 |
+
color: #a00;
|
1083 |
+
opacity: 1;
|
1084 |
}
|
|
|
1085 |
/* line 51, sass/partials/_collapsible_ui.scss */
|
|
|
1086 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover {
|
1087 |
+
color: #f00;
|
1088 |
}
|
1089 |
|
1090 |
/*
|
1100 |
* https://github.com/stuttter/wp-datepicker-styling
|
1101 |
*
|
1102 |
*/
|
|
|
1103 |
/* line 15, sass/partials/_jquery_ui.scss */
|
|
|
1104 |
* html .cmb2-element.ui-helper-clearfix {
|
1105 |
+
height: 1%;
|
1106 |
}
|
1107 |
|
1108 |
/* line 24, sass/partials/_jquery_ui.scss */
|
1109 |
+
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
1110 |
+
padding: 0;
|
1111 |
+
margin: 0;
|
1112 |
+
-webkit-border-radius: 0;
|
1113 |
+
-moz-border-radius: 0;
|
1114 |
+
border-radius: 0;
|
1115 |
+
background-color: #fff;
|
1116 |
+
border: 1px solid #dfdfdf;
|
1117 |
+
border-top: none;
|
1118 |
+
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
1119 |
+
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
1120 |
+
min-width: 17em;
|
1121 |
+
width: auto;
|
1122 |
+
/* Default Color Scheme */
|
|
|
1123 |
}
|
|
|
1124 |
/* line 38, sass/partials/_jquery_ui.scss */
|
1125 |
+
.cmb2-element.ui-datepicker *, .cmb2-element .ui-datepicker * {
|
1126 |
+
padding: 0;
|
1127 |
+
font-family: "Open Sans", sans-serif;
|
1128 |
+
-webkit-border-radius: 0;
|
1129 |
+
-moz-border-radius: 0;
|
1130 |
+
border-radius: 0;
|
|
|
|
|
1131 |
}
|
|
|
1132 |
/* line 46, sass/partials/_jquery_ui.scss */
|
1133 |
+
.cmb2-element.ui-datepicker table, .cmb2-element .ui-datepicker table {
|
1134 |
+
font-size: 13px;
|
1135 |
+
margin: 0;
|
1136 |
+
border: none;
|
1137 |
+
border-collapse: collapse;
|
|
|
|
|
1138 |
}
|
|
|
1139 |
/* line 53, sass/partials/_jquery_ui.scss */
|
|
|
1140 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1141 |
+
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1142 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1143 |
+
background-image: none;
|
1144 |
+
border: none;
|
1145 |
+
color: #fff;
|
1146 |
+
font-weight: normal;
|
1147 |
}
|
|
|
1148 |
/* line 61, sass/partials/_jquery_ui.scss */
|
1149 |
+
.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
1150 |
+
background: transparent;
|
1151 |
+
border-color: transparent;
|
1152 |
+
cursor: pointer;
|
|
|
|
|
1153 |
}
|
|
|
1154 |
/* line 67, sass/partials/_jquery_ui.scss */
|
1155 |
+
.cmb2-element.ui-datepicker .ui-datepicker-title, .cmb2-element .ui-datepicker .ui-datepicker-title {
|
1156 |
+
margin: 0;
|
1157 |
+
padding: 10px 0;
|
1158 |
+
color: #fff;
|
1159 |
+
font-size: 14px;
|
1160 |
+
line-height: 14px;
|
1161 |
+
text-align: center;
|
|
|
|
|
1162 |
}
|
|
|
1163 |
/* line 75, sass/partials/_jquery_ui.scss */
|
1164 |
+
.cmb2-element.ui-datepicker .ui-datepicker-title select, .cmb2-element .ui-datepicker .ui-datepicker-title select {
|
1165 |
+
margin-top: -8px;
|
1166 |
+
margin-bottom: -8px;
|
|
|
|
|
1167 |
}
|
|
|
1168 |
/* line 81, sass/partials/_jquery_ui.scss */
|
|
|
1169 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1170 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
|
|
1171 |
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
1172 |
+
position: relative;
|
1173 |
+
top: 0;
|
1174 |
+
height: 34px;
|
1175 |
+
width: 34px;
|
1176 |
}
|
|
|
1177 |
/* line 89, sass/partials/_jquery_ui.scss */
|
|
|
1178 |
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
1179 |
+
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next, .cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
|
|
1180 |
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next {
|
1181 |
+
border: none;
|
1182 |
}
|
|
|
1183 |
/* line 94, sass/partials/_jquery_ui.scss */
|
|
|
1184 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1185 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
|
|
1186 |
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover {
|
1187 |
+
right: 0;
|
1188 |
}
|
|
|
1189 |
/* line 99, sass/partials/_jquery_ui.scss */
|
|
|
1190 |
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
1191 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next-hover, .cmb2-element .ui-datepicker .ui-datepicker-next,
|
|
|
1192 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover {
|
1193 |
+
left: 0;
|
1194 |
}
|
|
|
1195 |
/* line 104, sass/partials/_jquery_ui.scss */
|
|
|
1196 |
.cmb2-element.ui-datepicker .ui-datepicker-next span,
|
1197 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev span, .cmb2-element .ui-datepicker .ui-datepicker-next span,
|
|
|
1198 |
.cmb2-element .ui-datepicker .ui-datepicker-prev span {
|
1199 |
+
display: none;
|
1200 |
}
|
|
|
1201 |
/* line 109, sass/partials/_jquery_ui.scss */
|
1202 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev, .cmb2-element .ui-datepicker .ui-datepicker-prev {
|
1203 |
+
float: right;
|
|
|
|
|
1204 |
}
|
|
|
1205 |
/* line 113, sass/partials/_jquery_ui.scss */
|
1206 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-next {
|
1207 |
+
float: left;
|
|
|
|
|
1208 |
}
|
|
|
1209 |
/* line 117, sass/partials/_jquery_ui.scss */
|
|
|
1210 |
.cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1211 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
|
|
1212 |
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1213 |
+
font: normal 20px/34px 'dashicons';
|
1214 |
+
padding-right: 7px;
|
1215 |
+
color: #fff;
|
1216 |
+
speak: none;
|
1217 |
+
-webkit-font-smoothing: antialiased;
|
1218 |
+
-moz-osx-font-smoothing: grayscale;
|
1219 |
+
width: 34px;
|
1220 |
+
height: 34px;
|
1221 |
}
|
|
|
1222 |
/* line 129, sass/partials/_jquery_ui.scss */
|
1223 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before {
|
1224 |
+
content: '\f341';
|
|
|
|
|
1225 |
}
|
|
|
1226 |
/* line 133, sass/partials/_jquery_ui.scss */
|
1227 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1228 |
+
content: '\f345';
|
|
|
|
|
1229 |
}
|
|
|
1230 |
/* line 137, sass/partials/_jquery_ui.scss */
|
|
|
1231 |
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before,
|
1232 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before, .cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,
|
|
|
1233 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before {
|
1234 |
+
opacity: 0.7;
|
1235 |
}
|
|
|
1236 |
/* line 142, sass/partials/_jquery_ui.scss */
|
|
|
1237 |
.cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1238 |
+
.cmb2-element.ui-datepicker select.ui-datepicker-year, .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
|
|
1239 |
.cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1240 |
+
width: 33%;
|
1241 |
+
background: transparent;
|
1242 |
+
border-color: transparent;
|
1243 |
+
box-shadow: none;
|
1244 |
+
color: #fff;
|
1245 |
}
|
|
|
1246 |
/* line 149, sass/partials/_jquery_ui.scss */
|
|
|
1247 |
.cmb2-element.ui-datepicker select.ui-datepicker-month option,
|
1248 |
+
.cmb2-element.ui-datepicker select.ui-datepicker-year option, .cmb2-element .ui-datepicker select.ui-datepicker-month option,
|
|
|
1249 |
.cmb2-element .ui-datepicker select.ui-datepicker-year option {
|
1250 |
+
color: #333;
|
1251 |
}
|
|
|
1252 |
/* line 154, sass/partials/_jquery_ui.scss */
|
1253 |
+
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
1254 |
+
color: #fff;
|
1255 |
+
font-weight: 600;
|
|
|
|
|
1256 |
}
|
|
|
1257 |
/* line 157, sass/partials/_jquery_ui.scss */
|
1258 |
+
.cmb2-element.ui-datepicker thead th, .cmb2-element .ui-datepicker thead th {
|
1259 |
+
font-weight: normal;
|
|
|
|
|
1260 |
}
|
|
|
1261 |
/* line 162, sass/partials/_jquery_ui.scss */
|
1262 |
+
.cmb2-element.ui-datepicker th, .cmb2-element .ui-datepicker th {
|
1263 |
+
padding: 10px;
|
|
|
|
|
1264 |
}
|
|
|
1265 |
/* line 166, sass/partials/_jquery_ui.scss */
|
1266 |
+
.cmb2-element.ui-datepicker td, .cmb2-element .ui-datepicker td {
|
1267 |
+
padding: 0;
|
1268 |
+
border: 1px solid #f4f4f4;
|
|
|
|
|
1269 |
}
|
|
|
1270 |
/* line 171, sass/partials/_jquery_ui.scss */
|
1271 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-other-month, .cmb2-element .ui-datepicker td.ui-datepicker-other-month {
|
1272 |
+
border: transparent;
|
|
|
|
|
1273 |
}
|
|
|
1274 |
/* line 175, sass/partials/_jquery_ui.scss */
|
1275 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-week-end, .cmb2-element .ui-datepicker td.ui-datepicker-week-end {
|
1276 |
+
background-color: #f4f4f4;
|
1277 |
+
border: 1px solid #f4f4f4;
|
|
|
|
|
1278 |
}
|
|
|
1279 |
/* line 178, sass/partials/_jquery_ui.scss */
|
1280 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today {
|
1281 |
+
-webkit-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1282 |
+
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1283 |
+
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
|
|
|
|
1284 |
}
|
|
|
1285 |
/* line 185, sass/partials/_jquery_ui.scss */
|
1286 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1287 |
+
background-color: #f0f0c0;
|
|
|
|
|
1288 |
}
|
|
|
1289 |
/* line 189, sass/partials/_jquery_ui.scss */
|
1290 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-current-day, .cmb2-element .ui-datepicker td.ui-datepicker-current-day {
|
1291 |
+
background: #bbdd88;
|
|
|
|
|
1292 |
}
|
|
|
1293 |
/* line 193, sass/partials/_jquery_ui.scss */
|
1294 |
+
.cmb2-element.ui-datepicker td .ui-state-default, .cmb2-element .ui-datepicker td .ui-state-default {
|
1295 |
+
background: transparent;
|
1296 |
+
border: none;
|
1297 |
+
text-align: center;
|
1298 |
+
text-decoration: none;
|
1299 |
+
width: auto;
|
1300 |
+
display: block;
|
1301 |
+
padding: 5px 10px;
|
1302 |
+
font-weight: normal;
|
1303 |
+
color: #444;
|
|
|
|
|
1304 |
}
|
|
|
1305 |
/* line 205, sass/partials/_jquery_ui.scss */
|
1306 |
+
.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default, .cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default {
|
1307 |
+
opacity: 0.5;
|
|
|
|
|
1308 |
}
|
|
|
1309 |
/* line 210, sass/partials/_jquery_ui.scss */
|
|
|
1310 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1311 |
+
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1312 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1313 |
+
background: #00a0d2;
|
1314 |
}
|
|
|
1315 |
/* line 215, sass/partials/_jquery_ui.scss */
|
1316 |
+
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
1317 |
+
background: #32373c;
|
|
|
|
|
1318 |
}
|
|
|
1319 |
/* line 219, sass/partials/_jquery_ui.scss */
|
1320 |
+
.cmb2-element.ui-datepicker td .ui-state-hover, .cmb2-element.ui-datepicker td .ui-state-active, .cmb2-element .ui-datepicker td .ui-state-hover, .cmb2-element .ui-datepicker td .ui-state-active {
|
1321 |
+
background: #0073aa;
|
1322 |
+
color: #fff;
|
|
|
|
|
|
|
|
|
1323 |
}
|
|
|
1324 |
/* line 224, sass/partials/_jquery_ui.scss */
|
1325 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div, .cmb2-element .ui-datepicker .ui-timepicker-div {
|
1326 |
+
font-size: 14px;
|
|
|
|
|
1327 |
}
|
|
|
1328 |
/* line 226, sass/partials/_jquery_ui.scss */
|
1329 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl, .cmb2-element .ui-datepicker .ui-timepicker-div dl {
|
1330 |
+
text-align: right;
|
1331 |
+
padding: 0 .6em;
|
|
|
|
|
1332 |
}
|
|
|
1333 |
/* line 229, sass/partials/_jquery_ui.scss */
|
1334 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl dt, .cmb2-element .ui-datepicker .ui-timepicker-div dl dt {
|
1335 |
+
float: right;
|
1336 |
+
clear: right;
|
1337 |
+
padding: 0 5px 0 0;
|
|
|
|
|
1338 |
}
|
|
|
1339 |
/* line 234, sass/partials/_jquery_ui.scss */
|
1340 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd {
|
1341 |
+
margin: 0 40% 10px 10px;
|
|
|
|
|
1342 |
}
|
|
|
1343 |
/* line 236, sass/partials/_jquery_ui.scss */
|
1344 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd select {
|
1345 |
+
width: 100%;
|
|
|
|
|
1346 |
}
|
|
|
1347 |
/* line 242, sass/partials/_jquery_ui.scss */
|
1348 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane {
|
1349 |
+
padding: .6em;
|
1350 |
+
text-align: right;
|
|
|
|
|
1351 |
}
|
|
|
1352 |
/* line 246, sass/partials/_jquery_ui.scss */
|
1353 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary {
|
1354 |
+
padding: 0 10px 1px;
|
1355 |
+
-webkit-border-radius: 3px;
|
1356 |
+
-moz-border-radius: 3px;
|
1357 |
+
border-radius: 3px;
|
1358 |
+
margin: 0 .4em .4em .6em;
|
|
|
|
|
|
|
|
|
1359 |
}
|
1360 |
|
1361 |
/* line 260, sass/partials/_jquery_ui.scss */
|
|
|
1362 |
.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header,
|
1363 |
+
.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1364 |
.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1365 |
+
background: #00a0d2;
|
1366 |
}
|
|
|
1367 |
/* line 265, sass/partials/_jquery_ui.scss */
|
1368 |
+
.admin-color-fresh .cmb2-element.ui-datepicker thead, .admin-color-fresh .cmb2-element .ui-datepicker thead {
|
1369 |
+
background: #32373c;
|
|
|
|
|
1370 |
}
|
|
|
1371 |
/* line 269, sass/partials/_jquery_ui.scss */
|
1372 |
+
.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover {
|
1373 |
+
background: #0073aa;
|
1374 |
+
color: #fff;
|
|
|
|
|
1375 |
}
|
1376 |
|
1377 |
/* line 277, sass/partials/_jquery_ui.scss */
|
|
|
1378 |
.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header,
|
1379 |
+
.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1380 |
.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1381 |
+
background: #52accc;
|
1382 |
}
|
|
|
1383 |
/* line 282, sass/partials/_jquery_ui.scss */
|
1384 |
+
.admin-color-blue .cmb2-element.ui-datepicker thead, .admin-color-blue .cmb2-element .ui-datepicker thead {
|
1385 |
+
background: #4796b3;
|
|
|
|
|
1386 |
}
|
|
|
1387 |
/* line 291, sass/partials/_jquery_ui.scss */
|
1388 |
+
.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active {
|
1389 |
+
background: #096484;
|
1390 |
+
color: #fff;
|
|
|
|
|
|
|
|
|
1391 |
}
|
|
|
1392 |
/* line 296, sass/partials/_jquery_ui.scss */
|
1393 |
+
.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1394 |
+
background: #eee;
|
|
|
|
|
1395 |
}
|
1396 |
|
1397 |
/* line 305, sass/partials/_jquery_ui.scss */
|
|
|
1398 |
.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header,
|
1399 |
+
.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1400 |
.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1401 |
+
background: #59524c;
|
1402 |
}
|
|
|
1403 |
/* line 310, sass/partials/_jquery_ui.scss */
|
1404 |
+
.admin-color-coffee .cmb2-element.ui-datepicker thead, .admin-color-coffee .cmb2-element .ui-datepicker thead {
|
1405 |
+
background: #46403c;
|
|
|
|
|
1406 |
}
|
|
|
1407 |
/* line 314, sass/partials/_jquery_ui.scss */
|
1408 |
+
.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover {
|
1409 |
+
background: #c7a589;
|
1410 |
+
color: #fff;
|
|
|
|
|
1411 |
}
|
1412 |
|
1413 |
/* line 322, sass/partials/_jquery_ui.scss */
|
|
|
1414 |
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header,
|
1415 |
+
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1416 |
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1417 |
+
background: #523f6d;
|
1418 |
}
|
|
|
1419 |
/* line 327, sass/partials/_jquery_ui.scss */
|
1420 |
+
.admin-color-ectoplasm .cmb2-element.ui-datepicker thead, .admin-color-ectoplasm .cmb2-element .ui-datepicker thead {
|
1421 |
+
background: #413256;
|
|
|
|
|
1422 |
}
|
|
|
1423 |
/* line 331, sass/partials/_jquery_ui.scss */
|
1424 |
+
.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover {
|
1425 |
+
background: #a3b745;
|
1426 |
+
color: #fff;
|
|
|
|
|
1427 |
}
|
1428 |
|
1429 |
/* line 339, sass/partials/_jquery_ui.scss */
|
|
|
1430 |
.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header,
|
1431 |
+
.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1432 |
.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1433 |
+
background: #363b3f;
|
1434 |
}
|
|
|
1435 |
/* line 344, sass/partials/_jquery_ui.scss */
|
1436 |
+
.admin-color-midnight .cmb2-element.ui-datepicker thead, .admin-color-midnight .cmb2-element .ui-datepicker thead {
|
1437 |
+
background: #26292c;
|
|
|
|
|
1438 |
}
|
|
|
1439 |
/* line 348, sass/partials/_jquery_ui.scss */
|
1440 |
+
.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover {
|
1441 |
+
background: #e14d43;
|
1442 |
+
color: #fff;
|
|
|
|
|
1443 |
}
|
1444 |
|
1445 |
/* line 356, sass/partials/_jquery_ui.scss */
|
|
|
1446 |
.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header,
|
1447 |
+
.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1448 |
.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1449 |
+
background: #738e96;
|
1450 |
}
|
|
|
1451 |
/* line 361, sass/partials/_jquery_ui.scss */
|
1452 |
+
.admin-color-ocean .cmb2-element.ui-datepicker thead, .admin-color-ocean .cmb2-element .ui-datepicker thead {
|
1453 |
+
background: #627c83;
|
|
|
|
|
1454 |
}
|
|
|
1455 |
/* line 365, sass/partials/_jquery_ui.scss */
|
1456 |
+
.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover {
|
1457 |
+
background: #9ebaa0;
|
1458 |
+
color: #fff;
|
|
|
|
|
1459 |
}
|
1460 |
|
1461 |
/* line 373, sass/partials/_jquery_ui.scss */
|
|
|
1462 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header,
|
1463 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1464 |
+
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1465 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,
|
1466 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
1467 |
+
background: #cf4944;
|
1468 |
}
|
|
|
1469 |
/* line 379, sass/partials/_jquery_ui.scss */
|
1470 |
+
.admin-color-sunrise .cmb2-element.ui-datepicker th, .admin-color-sunrise .cmb2-element .ui-datepicker th {
|
1471 |
+
border-color: #be3631;
|
1472 |
+
background: #be3631;
|
|
|
|
|
1473 |
}
|
|
|
1474 |
/* line 384, sass/partials/_jquery_ui.scss */
|
1475 |
+
.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover {
|
1476 |
+
background: #dd823b;
|
1477 |
+
color: #fff;
|
|
|
|
|
1478 |
}
|
1479 |
|
1480 |
/* line 392, sass/partials/_jquery_ui.scss */
|
|
|
1481 |
.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header,
|
1482 |
+
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1483 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1484 |
+
background: #e5e5e5;
|
1485 |
}
|
|
|
1486 |
/* line 397, sass/partials/_jquery_ui.scss */
|
|
|
1487 |
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1488 |
+
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year, .admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
|
|
1489 |
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1490 |
+
color: #555;
|
1491 |
}
|
|
|
1492 |
/* line 402, sass/partials/_jquery_ui.scss */
|
1493 |
+
.admin-color-light .cmb2-element.ui-datepicker thead, .admin-color-light .cmb2-element .ui-datepicker thead {
|
1494 |
+
background: #888;
|
|
|
|
|
1495 |
}
|
|
|
1496 |
/* line 406, sass/partials/_jquery_ui.scss */
|
|
|
1497 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,
|
1498 |
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default,
|
1499 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1500 |
+
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before, .admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,
|
|
|
1501 |
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,
|
1502 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
1503 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1504 |
+
color: #555;
|
1505 |
}
|
|
|
1506 |
/* line 414, sass/partials/_jquery_ui.scss */
|
1507 |
+
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-active {
|
1508 |
+
background: #ccc;
|
|
|
|
|
|
|
|
|
1509 |
}
|
|
|
1510 |
/* line 418, sass/partials/_jquery_ui.scss */
|
1511 |
+
.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1512 |
+
background: #eee;
|
|
|
|
|
1513 |
}
|
1514 |
|
1515 |
/* line 426, sass/partials/_jquery_ui.scss */
|
|
|
1516 |
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header,
|
1517 |
+
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1518 |
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1519 |
+
background: #56b274;
|
1520 |
}
|
|
|
1521 |
/* line 431, sass/partials/_jquery_ui.scss */
|
1522 |
+
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead {
|
1523 |
+
background: #36533f;
|
|
|
|
|
1524 |
}
|
|
|
1525 |
/* line 435, sass/partials/_jquery_ui.scss */
|
1526 |
+
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover {
|
1527 |
+
background: #446950;
|
1528 |
+
color: #fff;
|
|
|
|
|
1529 |
}
|
1530 |
|
1531 |
/* line 443, sass/partials/_jquery_ui.scss */
|
|
|
1532 |
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header,
|
1533 |
+
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1534 |
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1535 |
+
background: #4ca26a;
|
1536 |
}
|
|
|
1537 |
/* line 448, sass/partials/_jquery_ui.scss */
|
1538 |
+
.admin-color-bbp-mint .cmb2-element.ui-datepicker thead, .admin-color-bbp-mint .cmb2-element .ui-datepicker thead {
|
1539 |
+
background: #4f6d59;
|
|
|
|
|
1540 |
}
|
|
|
1541 |
/* line 452, sass/partials/_jquery_ui.scss */
|
1542 |
+
.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover {
|
1543 |
+
background: #5fb37c;
|
1544 |
+
color: #fff;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1545 |
}
|
1546 |
|
1547 |
+
/*--------------------------------------------------------------
|
1548 |
+
* Character counter
|
1549 |
+
--------------------------------------------------------------*/
|
1550 |
+
/* line 5, sass/partials/_char_counter.scss */
|
1551 |
+
.cmb2-char-counter-wrap {
|
1552 |
+
margin: .5em 0 1em;
|
1553 |
}
|
1554 |
+
/* line 8, sass/partials/_char_counter.scss */
|
1555 |
+
.cmb2-char-counter-wrap input[type="text"] {
|
1556 |
+
font-size: 12px;
|
1557 |
+
width: 25px;
|
|
|
|
|
|
|
|
|
|
|
1558 |
}
|
1559 |
+
/* line 14, sass/partials/_char_counter.scss */
|
1560 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded input[type="text"] {
|
1561 |
+
border-color: #a00 !important;
|
|
|
|
|
|
|
|
|
|
|
1562 |
}
|
1563 |
+
/* line 17, sass/partials/_char_counter.scss */
|
1564 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg {
|
1565 |
+
display: inline-block;
|
|
|
|
|
|
|
1566 |
}
|
1567 |
|
1568 |
+
/* line 23, sass/partials/_char_counter.scss */
|
1569 |
+
.cmb2-char-max-msg {
|
1570 |
+
color: #a00;
|
1571 |
+
display: none;
|
1572 |
+
font-weight: 600;
|
1573 |
+
margin-right: 1em;
|
1574 |
}
|
1575 |
|
1576 |
+
/*# sourceMappingURL=cmb2.css.map */
|
includes/lib/cmb2/css/cmb2-rtl.min.css
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
/*! CMB2 - v2.4.2 - 2018-05-29 | https://cmb2.io | Copyright (c) 2018 CMB2 team | Licensed GPLv2 */
|
2 |
-
.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{font-size:14px;max-width:100%;padding:5px}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-right:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=checkbox],.cmb2-wrap input[type=radio]{margin:0 0 0 5px;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-input-wrap{vertical-align:middle}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-container{margin:0 0 0 10px}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:right;font-weight:600;line-height:1.3;padding:20px 0 20px 10px;vertical-align:top;width:200px}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:right}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:left}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 50px 10px 10px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;right:0;position:absolute;width:35px;height:100%;line-height:35px;color:#aaa;text-align:center;border-left:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-right:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;left:7px;position:absolute;width:auto;margin-right:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;right:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 2.2em 8px 12px;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:right;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{font-size:1em;margin-left:1em;text-decoration:none}.cmb-repeatable-group .cmb-shift-rows .dashicons{font-size:1.5em;height:1.5em;line-height:1.2em;width:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2{line-height:1.3em}.cmb-repeatable-group .cmb2-upload-button{float:left}p.cmb2-metabox-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#aaa;font-style:italic}.cmb2-metabox-title{margin:0 0 5px;padding:5px 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0}.cmb-inline li{display:inline-block;padding-left:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-left:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0}.cmb2-media-status .embed-status{float:right;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;right:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-left:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:right;margin-left:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:right}.cmb2-indented-hierarchy{padding-right:1.5em}#poststuff .cmb-group-title{margin-right:-1em;margin-left:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-right:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{left:-1em;position:relative}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 0 0 2%}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:left}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-after_title-box,.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 0 0 2%;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}.cmb2-options-page{max-width:1200px}.cmb2-options-page.wrap>h2{margin-bottom:1em}.cmb2-options-page .cmb2-metabox>.cmb-row{padding:1em;margin-top:-1px;background:#fff;border:1px solid #e9e9e9;box-shadow:0 1px 1px rgba(0,0,0,.05)}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th{padding:0;font-weight:initial}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{float:none;padding:0 1em 0 0;margin-right:200px}.cmb2-options-page .cmb2-wrap .cmb-type-title{margin-top:1em;padding:.6em 1em;background-color:#fafafa}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title{font-size:12px;margin-top:0;margin-bottom:0;text-transform:uppercase}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description{padding-top:.25em}.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th{padding:0 0 .8em}.cmb2-options-page .cmb-repeatable-group .cmb-group-name{font-size:16px;margin-top:0;margin-bottom:0}.cmb2-options-page .cmb-repeatable-group .cmb-th>.cmb2-metabox-description{font-weight:400;padding-bottom:0!important}#addtag .cmb-th{float:none;width:auto;padding:20px 0 0}#addtag .cmb-td{padding:0}#addtag .cmb-th+.cmb-td{float:none}#addtag select{max-width:100%}#addtag .cmb2-metabox{padding-bottom:20px}#addtag .cmb-row li label{display:inline}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:right;display:none}.cmb-spinner{display:none}.cmb-spinner.is-active{display:block}#side-sortables .cmb2-wrap>.cmb-field-list>.cmb-row,.inner-sidebar .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.4em 0}#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker),.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker){width:100%}#side-sortables .cmb2-wrap input+input:not(.wp-picker-clear),#side-sortables .cmb2-wrap input+select,.inner-sidebar .cmb2-wrap input+input:not(.wp-picker-clear),.inner-sidebar .cmb2-wrap input+select{margin-right:0;margin-top:1em;display:block}#side-sortables .cmb2-wrap input.cmb2-text-money,.inner-sidebar .cmb2-wrap input.cmb2-text-money{max-width:70%}#side-sortables .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description,.inner-sidebar .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description{display:block}#side-sortables .cmb2-wrap label,.inner-sidebar .cmb2-wrap label{display:block;font-weight:700;padding:0 0 5px}#side-sortables textarea,.inner-sidebar textarea{max-width:99%}#side-sortables .cmb-repeatable-group,.inner-sidebar .cmb-repeatable-group{border-bottom:1px solid #e9e9e9}#side-sortables .cmb-type-group>.cmb-td>.cmb-repeatable-group,.inner-sidebar .cmb-type-group>.cmb-td>.cmb-repeatable-group{border-bottom:0;margin-bottom:-1.4em}#side-sortables .cmb-td:not(.cmb-remove-row),#side-sortables .cmb-th,#side-sortables .cmb-th+.cmb-td,.inner-sidebar .cmb-td:not(.cmb-remove-row),.inner-sidebar .cmb-th,.inner-sidebar .cmb-th+.cmb-td{width:100%;display:block;float:none}#side-sortables .closed .inside,.inner-sidebar .closed .inside{display:none}#side-sortables .cmb-th,.inner-sidebar .cmb-th{display:block;float:none;padding-bottom:1em;text-align:right;width:100%;padding-right:0;padding-left:0}#side-sortables .cmb-th label,.inner-sidebar .cmb-th label{display:block;margin-top:0;margin-bottom:.5em;font-size:14px;line-height:1.4em}#side-sortables .cmb-group-description .cmb-th,.inner-sidebar .cmb-group-description .cmb-th{padding-top:0}#side-sortables .cmb-group-description .cmb2-metabox-description,#side-sortables .cmb-group-title .cmb-th,.inner-sidebar .cmb-group-description .cmb2-metabox-description,.inner-sidebar .cmb-group-title .cmb-th{padding:0}#side-sortables .cmb-repeatable-grouping+.cmb-repeatable-grouping,.inner-sidebar .cmb-repeatable-grouping+.cmb-repeatable-grouping{margin-top:1em}#side-sortables .cmb2-media-status .embed-status img,#side-sortables .cmb2-media-status .img-status img,.inner-sidebar .cmb2-media-status .embed-status img,.inner-sidebar .cmb2-media-status .img-status img{max-width:90%;height:auto}#side-sortables .cmb2-list label,.inner-sidebar .cmb2-list label{display:inline;font-weight:400}#side-sortables .cmb2-metabox-description,.inner-sidebar .cmb2-metabox-description{display:block;padding:7px 0 0}#side-sortables .cmb-type-checkbox .cmb-td label,#side-sortables .cmb-type-checkbox .cmb2-metabox-description,.inner-sidebar .cmb-type-checkbox .cmb-td label,.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description{font-weight:400;display:inline}#side-sortables .cmb-row .cmb2-metabox-description,.inner-sidebar .cmb-row .cmb2-metabox-description{padding-bottom:1.8em}#side-sortables .cmb2-metabox-title,.inner-sidebar .cmb2-metabox-title{font-size:1.2em;font-style:italic}#side-sortables .cmb-remove-row,.inner-sidebar .cmb-remove-row{clear:both;padding-top:12px;padding-bottom:0}#side-sortables .cmb2-upload-button,.inner-sidebar .cmb2-upload-button{clear:both;margin-top:12px}.cmb2-metabox .cmbhandle{color:#aaa;float:left;width:27px;height:30px;cursor:pointer;left:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';left:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:none!important;border:none!important;position:absolute;right:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:400 20px/34px dashicons;padding-right:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:right;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:right;clear:right;padding:0 5px 0 0}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 40% 10px 10px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:right}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .4em .4em .6em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:0}}@media (max-width:450px){.cmb-th{font-size:1.2em;padding-bottom:1em;text-align:right}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{padding:0;margin-right:0}}
|
1 |
+
@charset "UTF-8";.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{max-width:100%}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px;padding:8px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-right:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px 0}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=radio]{margin:0 0 0 5px;padding:0}.cmb2-wrap input[type=checkbox]{margin:0 0 0 5px;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .cmb-multicheck-toggle{margin-top:-1em}.cmb2-wrap .wp-picker-clear.button,.cmb2-wrap .wp-picker-default.button{margin-right:6px;padding:2px 8px}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.1875rem}@media screen and (max-width:782px){body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.4375rem}}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:right;font-weight:600;padding:20px 0 20px 10px;vertical-align:top;width:200px}@media (max-width:450px){.cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:right;width:100%}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:right}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:left}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 50px 10px 10px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper{outline:dashed 2px #e9e9e9!important}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;right:0;position:absolute;width:35px;height:100%;line-height:35px;cursor:move;color:#757575;text-align:center;border-left:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-right:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;left:7px;position:absolute;width:auto;margin-right:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px 0}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;right:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 2.2em 8px 12px;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:right;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{margin-left:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2{margin-top:.15em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2{margin-top:.2em}.cmb-repeatable-group .cmb2-upload-button{float:left}p.cmb2-metabox-description{color:#666;letter-spacing:.01em;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#666;letter-spacing:.01em}.cmb2-metabox-title{margin:0 0 5px 0;padding:5px 0 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0 0}.cmb-inline li{display:inline-block;padding-left:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-left:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0 0}.cmb2-media-status .embed-status{float:right;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;right:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-left:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:right;margin-left:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:right}.cmb2-indented-hierarchy{padding-right:1.5em}@media (max-width:450px){.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}}#poststuff .cmb-group-title{margin-right:-1em;margin-left:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-right:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{left:-1em;position:relative;color:#222}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 0 0 2%}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:left}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}@media (max-width:450px){.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .handlediv{text-align:center}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_title-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 0 0 2%;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-left:0}}.cmb2-options-page{max-width:1200px}.cmb2-options-page.wrap>h2{margin-bottom:1em}.cmb2-options-page .cmb2-metabox>.cmb-row{padding:1em;margin-top:-1px;background:#fff;border:1px solid #e9e9e9;box-shadow:0 1px 1px rgba(0,0,0,.05)}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th{padding:0;font-weight:initial}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{float:none;padding:0 1em 0 0;margin-right:200px}@media (max-width:450px){.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{padding:0;margin-right:0}}.cmb2-options-page .cmb2-wrap .cmb-type-title{margin-top:1em;padding:.6em 1em;background-color:#fafafa}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title{font-size:12px;margin-top:0;margin-bottom:0;text-transform:uppercase}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description{padding-top:.25em}.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th{padding:0 0 .8em 0}.cmb2-options-page .cmb-repeatable-group .cmb-group-name{font-size:16px;margin-top:0;margin-bottom:0}.cmb2-options-page .cmb-repeatable-group .cmb-th>.cmb2-metabox-description{font-weight:400;padding-bottom:0!important}#addtag .cmb-th{float:none;width:auto;padding:20px 0 0}#addtag .cmb-td{padding:0}#addtag .cmb-th+.cmb-td{float:none}#addtag select{max-width:100%}#addtag .cmb2-metabox{padding-bottom:20px}#addtag .cmb-row li label{display:inline}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:right;display:none}.cmb-spinner{display:none}.cmb-spinner.is-active{display:block}#side-sortables .cmb2-wrap>.cmb-field-list>.cmb-row,.inner-sidebar .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.4em 0}#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker),.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker){width:100%}#side-sortables .cmb2-wrap input+input:not(.wp-picker-clear),#side-sortables .cmb2-wrap input+select,.inner-sidebar .cmb2-wrap input+input:not(.wp-picker-clear),.inner-sidebar .cmb2-wrap input+select{margin-right:0;margin-top:1em;display:block}#side-sortables .cmb2-wrap input.cmb2-text-money,.inner-sidebar .cmb2-wrap input.cmb2-text-money{max-width:70%}#side-sortables .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description,.inner-sidebar .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description{display:block}#side-sortables .cmb2-wrap label,.inner-sidebar .cmb2-wrap label{display:block;font-weight:700;padding:0 0 5px}#side-sortables textarea,.inner-sidebar textarea{max-width:99%}#side-sortables .cmb-repeatable-group,.inner-sidebar .cmb-repeatable-group{border-bottom:1px solid #e9e9e9}#side-sortables .cmb-type-group>.cmb-td>.cmb-repeatable-group,.inner-sidebar .cmb-type-group>.cmb-td>.cmb-repeatable-group{border-bottom:0;margin-bottom:-1.4em}#side-sortables .cmb-td:not(.cmb-remove-row),#side-sortables .cmb-th,#side-sortables .cmb-th+.cmb-td,.inner-sidebar .cmb-td:not(.cmb-remove-row),.inner-sidebar .cmb-th,.inner-sidebar .cmb-th+.cmb-td{width:100%;display:block;float:none}#side-sortables .closed .inside,.inner-sidebar .closed .inside{display:none}#side-sortables .cmb-th,.inner-sidebar .cmb-th{display:block;float:none;padding-bottom:1em;text-align:right;width:100%;padding-right:0;padding-left:0}#side-sortables .cmb-th label,.inner-sidebar .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}#side-sortables .cmb-th label,.inner-sidebar .cmb-th label{font-size:14px;line-height:1.4em}#side-sortables .cmb-group-description .cmb-th,.inner-sidebar .cmb-group-description .cmb-th{padding-top:0}#side-sortables .cmb-group-description .cmb2-metabox-description,.inner-sidebar .cmb-group-description .cmb2-metabox-description{padding:0}#side-sortables .cmb-group-title .cmb-th,.inner-sidebar .cmb-group-title .cmb-th{padding:0}#side-sortables .cmb-repeatable-grouping+.cmb-repeatable-grouping,.inner-sidebar .cmb-repeatable-grouping+.cmb-repeatable-grouping{margin-top:1em}#side-sortables .cmb2-media-status .embed-status img,#side-sortables .cmb2-media-status .img-status img,.inner-sidebar .cmb2-media-status .embed-status img,.inner-sidebar .cmb2-media-status .img-status img{max-width:90%;height:auto}#side-sortables .cmb2-list label,.inner-sidebar .cmb2-list label{display:inline;font-weight:400}#side-sortables .cmb2-metabox-description,.inner-sidebar .cmb2-metabox-description{display:block;padding:7px 0 0}#side-sortables .cmb-type-checkbox .cmb-td label,#side-sortables .cmb-type-checkbox .cmb2-metabox-description,.inner-sidebar .cmb-type-checkbox .cmb-td label,.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description{font-weight:400;display:inline}#side-sortables .cmb-row .cmb2-metabox-description,.inner-sidebar .cmb-row .cmb2-metabox-description{padding-bottom:1.8em}#side-sortables .cmb2-metabox-title,.inner-sidebar .cmb2-metabox-title{font-size:1.2em;font-style:italic}#side-sortables .cmb-remove-row,.inner-sidebar .cmb-remove-row{clear:both;padding-top:12px;padding-bottom:0}#side-sortables .cmb2-upload-button,.inner-sidebar .cmb2-upload-button{clear:both;margin-top:12px}.cmb2-metabox .cmbhandle{color:#757575;float:left;width:27px;height:30px;cursor:pointer;left:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';left:12px;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:0 0!important;border:none!important;position:absolute;right:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background-image:none;border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:normal 20px/34px dashicons;padding-right:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:right;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:right;clear:right;padding:0 5px 0 0}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 40% 10px 10px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:right}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .4em .4em .6em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}.cmb2-char-counter-wrap{margin:.5em 0 1em}.cmb2-char-counter-wrap input[type=text]{font-size:12px;width:25px}.cmb2-char-counter-wrap.cmb2-max-exceeded input[type=text]{border-color:#a00!important}.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg{display:inline-block}.cmb2-char-max-msg{color:#a00;display:none;font-weight:600;margin-right:1em}
|
|
includes/lib/cmb2/css/cmb2.css
CHANGED
@@ -1,1350 +1,1090 @@
|
|
1 |
/*!
|
2 |
-
* CMB2 - v2.
|
3 |
* https://cmb2.io
|
4 |
-
* Copyright (c)
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
|
|
8 |
/*--------------------------------------------------------------
|
9 |
* Main Wrap
|
10 |
--------------------------------------------------------------*/
|
11 |
-
|
12 |
/* line 5, sass/partials/_main_wrap.scss */
|
13 |
-
|
14 |
.cmb2-wrap {
|
15 |
-
|
16 |
}
|
17 |
-
|
18 |
/* line 8, sass/partials/_main_wrap.scss */
|
19 |
-
|
20 |
.cmb2-wrap input,
|
21 |
.cmb2-wrap textarea {
|
22 |
-
|
23 |
-
max-width: 100%;
|
24 |
-
padding: 5px;
|
25 |
}
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
.cmb2-wrap input[type=text].cmb2-oembed {
|
30 |
-
width: 100%;
|
31 |
}
|
32 |
-
|
33 |
-
/* line 23, sass/partials/_main_wrap.scss */
|
34 |
-
|
35 |
.cmb2-wrap textarea {
|
36 |
-
|
|
|
37 |
}
|
38 |
-
|
39 |
-
/* line 26, sass/partials/_main_wrap.scss */
|
40 |
-
|
41 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
42 |
-
|
43 |
-
|
44 |
}
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
.cmb2-wrap input.cmb2-text-small,
|
49 |
-
.cmb2-wrap input.cmb2-timepicker {
|
50 |
-
width: 100px;
|
51 |
}
|
52 |
-
|
53 |
-
/* line 40, sass/partials/_main_wrap.scss */
|
54 |
-
|
55 |
.cmb2-wrap input.cmb2-text-money {
|
56 |
-
|
57 |
}
|
58 |
-
|
59 |
-
/* line 45, sass/partials/_main_wrap.scss */
|
60 |
-
|
61 |
.cmb2-wrap input.cmb2-text-medium {
|
62 |
-
|
63 |
}
|
64 |
-
|
65 |
-
/* line 50, sass/partials/_main_wrap.scss */
|
66 |
-
|
67 |
.cmb2-wrap input.cmb2-upload-file {
|
68 |
-
|
69 |
}
|
70 |
-
|
71 |
-
/* line 54, sass/partials/_main_wrap.scss */
|
72 |
-
|
73 |
.cmb2-wrap input.ed_button {
|
74 |
-
|
75 |
}
|
76 |
-
|
77 |
-
/* line 59, sass/partials/_main_wrap.scss */
|
78 |
-
|
79 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
80 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
81 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
82 |
-
|
83 |
}
|
84 |
-
|
85 |
-
/* line 67, sass/partials/_main_wrap.scss */
|
86 |
-
|
87 |
.cmb2-wrap ul {
|
88 |
-
|
89 |
}
|
90 |
-
|
91 |
-
/* line 71, sass/partials/_main_wrap.scss */
|
92 |
-
|
93 |
.cmb2-wrap li {
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
}
|
98 |
-
|
99 |
-
/* line 82, sass/partials/_main_wrap.scss */
|
100 |
-
|
101 |
.cmb2-wrap select {
|
102 |
-
|
103 |
-
|
104 |
}
|
105 |
-
|
106 |
-
/* line 87, sass/partials/_main_wrap.scss */
|
107 |
-
|
108 |
.cmb2-wrap input:focus,
|
109 |
.cmb2-wrap textarea:focus {
|
110 |
-
|
111 |
}
|
112 |
-
|
113 |
-
/* line 92, sass/partials/_main_wrap.scss */
|
114 |
-
|
115 |
.cmb2-wrap input[type="radio"] {
|
116 |
-
|
117 |
-
|
118 |
}
|
119 |
-
|
120 |
-
/* line 97, sass/partials/_main_wrap.scss */
|
121 |
-
|
122 |
.cmb2-wrap input[type="checkbox"] {
|
123 |
-
|
124 |
-
|
125 |
}
|
126 |
-
|
127 |
-
/* line 102, sass/partials/_main_wrap.scss */
|
128 |
-
|
129 |
.cmb2-wrap button,
|
130 |
.cmb2-wrap .button-secondary {
|
131 |
-
|
132 |
}
|
133 |
-
|
134 |
-
/* line 107, sass/partials/_main_wrap.scss */
|
135 |
-
|
136 |
.cmb2-wrap .mceLayout {
|
137 |
-
|
138 |
}
|
139 |
-
|
140 |
-
/* line 111, sass/partials/_main_wrap.scss */
|
141 |
-
|
142 |
.cmb2-wrap .mceIframeContainer {
|
143 |
-
|
144 |
}
|
145 |
-
|
146 |
-
/* line 115, sass/partials/_main_wrap.scss */
|
147 |
-
|
148 |
.cmb2-wrap .meta_mce {
|
149 |
-
|
150 |
}
|
151 |
-
|
152 |
-
/* line 118, sass/partials/_main_wrap.scss */
|
153 |
-
|
154 |
.cmb2-wrap .meta_mce textarea {
|
155 |
-
|
156 |
}
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
.cmb2-wrap .wp-color-result,
|
161 |
-
.cmb2-wrap .wp-picker-input-wrap {
|
162 |
-
vertical-align: middle;
|
163 |
}
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
margin: 0 10px 0 0;
|
170 |
}
|
171 |
-
|
172 |
-
/* line 134, sass/partials/_main_wrap.scss */
|
173 |
-
|
174 |
.cmb2-wrap .cmb-row {
|
175 |
-
|
176 |
}
|
177 |
-
|
178 |
-
/* line 137, sass/partials/_main_wrap.scss */
|
179 |
-
|
180 |
.cmb2-wrap .cmb-row:after {
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
}
|
186 |
-
|
187 |
-
/* line 144, sass/partials/_main_wrap.scss */
|
188 |
-
|
189 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
190 |
-
|
191 |
-
|
192 |
}
|
193 |
|
194 |
-
/* line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
|
|
|
196 |
.cmb2-metabox {
|
197 |
-
|
198 |
-
|
199 |
}
|
200 |
-
|
201 |
-
/* line 158, sass/partials/_main_wrap.scss */
|
202 |
-
|
203 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
204 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
205 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
206 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-th {
|
207 |
-
|
208 |
}
|
209 |
|
210 |
-
/* line
|
211 |
-
|
212 |
.cmb-add-row {
|
213 |
-
|
214 |
}
|
215 |
|
216 |
-
/* line
|
217 |
-
|
218 |
.cmb-nested .cmb-td,
|
219 |
.cmb-repeatable-group .cmb-th,
|
220 |
.cmb-repeatable-group:first-of-type {
|
221 |
-
|
222 |
}
|
223 |
|
224 |
-
/* line
|
225 |
-
|
226 |
.cmb-row:last-of-type,
|
227 |
.cmb2-wrap .cmb-row:last-of-type,
|
228 |
.cmb-repeatable-group:last-of-type {
|
229 |
-
|
230 |
}
|
231 |
|
232 |
-
/* line
|
233 |
-
|
234 |
.cmb-repeatable-grouping {
|
235 |
-
|
236 |
-
|
237 |
}
|
238 |
-
|
239 |
-
/* line 185, sass/partials/_main_wrap.scss */
|
240 |
-
|
241 |
.cmb-repeatable-grouping.cmb-row {
|
242 |
-
|
243 |
}
|
244 |
|
245 |
-
/* line
|
246 |
-
|
247 |
.cmb-th {
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
width: 200px;
|
255 |
}
|
256 |
-
|
257 |
-
/* line
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
}
|
265 |
|
266 |
/* line 216, sass/partials/_main_wrap.scss */
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
|
|
|
268 |
.cmb-type-title .cmb-td {
|
269 |
-
|
270 |
}
|
271 |
|
272 |
-
/* line
|
273 |
-
|
274 |
.cmb-th label {
|
275 |
-
|
276 |
-
|
277 |
}
|
278 |
|
279 |
-
/* line
|
280 |
-
|
281 |
.cmb-th + .cmb-td {
|
282 |
-
|
283 |
}
|
284 |
|
285 |
-
/* line
|
286 |
-
|
287 |
.cmb-td .cmb-td {
|
288 |
-
|
289 |
}
|
290 |
|
291 |
-
/* line
|
292 |
-
|
293 |
.cmb-remove-row {
|
294 |
-
|
295 |
}
|
296 |
|
297 |
-
/* line
|
298 |
-
|
299 |
.empty-row.hidden {
|
300 |
-
|
301 |
}
|
302 |
|
303 |
-
/* line
|
304 |
-
|
305 |
.cmb-repeat-table {
|
306 |
-
|
307 |
-
|
308 |
}
|
309 |
-
|
310 |
-
/* line 247, sass/partials/_main_wrap.scss */
|
311 |
-
|
312 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
}
|
319 |
-
|
320 |
-
/* line 255, sass/partials/_main_wrap.scss */
|
321 |
-
|
322 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
323 |
-
|
324 |
}
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
329 |
-
content: counter(el);
|
330 |
-
display: block;
|
331 |
-
top: 0;
|
332 |
-
left: 0;
|
333 |
-
position: absolute;
|
334 |
-
width: 35px;
|
335 |
-
height: 100%;
|
336 |
-
line-height: 35px;
|
337 |
-
color: #aaaaaa;
|
338 |
-
text-align: center;
|
339 |
-
border-right: solid 1px #e9e9e9;
|
340 |
}
|
341 |
-
|
342 |
-
|
343 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
345 |
-
|
346 |
-
|
347 |
}
|
348 |
-
|
349 |
-
/* line 283, sass/partials/_main_wrap.scss */
|
350 |
-
|
351 |
.cmb-repeat-table + .cmb-add-row {
|
352 |
-
|
353 |
}
|
354 |
-
|
355 |
-
/* line 286, sass/partials/_main_wrap.scss */
|
356 |
-
|
357 |
.cmb-repeat-table + .cmb-add-row:before {
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
}
|
365 |
-
|
366 |
-
/* line 296, sass/partials/_main_wrap.scss */
|
367 |
-
|
368 |
.cmb-repeat-table .cmb-remove-row {
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
}
|
377 |
-
|
378 |
-
/* line 307, sass/partials/_main_wrap.scss */
|
379 |
-
|
380 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
}
|
389 |
-
|
390 |
-
/* line 318, sass/partials/_main_wrap.scss */
|
391 |
-
|
392 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
}
|
410 |
-
|
411 |
-
/* line 324, sass/partials/_main_wrap.scss */
|
412 |
-
|
413 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
414 |
-
|
415 |
}
|
416 |
|
417 |
-
/* line
|
418 |
-
|
419 |
.cmb-repeatable-group .cmb-th {
|
420 |
-
|
421 |
}
|
422 |
-
|
423 |
-
/* line 336, sass/partials/_main_wrap.scss */
|
424 |
-
|
425 |
.cmb-repeatable-group .cmb-group-title {
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
}
|
433 |
-
|
434 |
-
/* line 344, sass/partials/_main_wrap.scss */
|
435 |
-
|
436 |
.cmb-repeatable-group .cmb-group-title h4 {
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
}
|
443 |
-
|
444 |
-
/* line 352, sass/partials/_main_wrap.scss */
|
445 |
-
|
446 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
447 |
-
|
448 |
-
|
449 |
}
|
450 |
-
|
451 |
-
/* line 358, sass/partials/_main_wrap.scss */
|
452 |
-
|
453 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
}
|
461 |
-
|
462 |
/* line 27, sass/partials/_mixins.scss */
|
463 |
-
|
464 |
.cmb-repeatable-group .cmb-group-description .cmb-th label {
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
}
|
469 |
-
|
470 |
-
/* line 362, sass/partials/_main_wrap.scss */
|
471 |
-
|
472 |
.cmb-repeatable-group .cmb-shift-rows {
|
473 |
-
|
474 |
-
margin-right: 1em;
|
475 |
-
text-decoration: none;
|
476 |
}
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons {
|
481 |
-
font-size: 1.5em;
|
482 |
-
height: 1.5em;
|
483 |
-
line-height: 1.2em;
|
484 |
-
width: 1em;
|
485 |
}
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2 {
|
490 |
-
line-height: 1.3em;
|
491 |
}
|
492 |
-
|
493 |
-
/* line 380, sass/partials/_main_wrap.scss */
|
494 |
-
|
495 |
.cmb-repeatable-group .cmb2-upload-button {
|
496 |
-
|
497 |
}
|
498 |
|
499 |
-
/* line
|
500 |
-
|
501 |
p.cmb2-metabox-description {
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
}
|
507 |
|
508 |
-
/* line
|
509 |
-
|
510 |
span.cmb2-metabox-description {
|
511 |
-
|
512 |
-
|
513 |
}
|
514 |
|
515 |
-
/* line
|
516 |
-
|
517 |
.cmb2-metabox-title {
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
}
|
522 |
|
523 |
-
/* line
|
524 |
-
|
525 |
.cmb-inline ul {
|
526 |
-
|
527 |
}
|
528 |
|
529 |
-
/* line
|
530 |
-
|
531 |
.cmb-inline li {
|
532 |
-
|
533 |
-
|
534 |
}
|
535 |
|
536 |
-
/* line
|
537 |
-
|
538 |
.cmb-type-textarea-code pre {
|
539 |
-
|
540 |
}
|
541 |
|
542 |
-
/* line
|
543 |
-
|
544 |
.cmb2-media-status .img-status {
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
}
|
551 |
-
|
552 |
-
/* line 426, sass/partials/_main_wrap.scss */
|
553 |
-
|
554 |
.cmb2-media-status .img-status img {
|
555 |
-
|
556 |
-
|
557 |
}
|
558 |
-
|
559 |
-
/* line 432, sass/partials/_main_wrap.scss */
|
560 |
-
|
561 |
.cmb2-media-status .img-status img,
|
562 |
.cmb2-media-status .embed-status {
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
}
|
574 |
-
|
575 |
-
/* line 446, sass/partials/_main_wrap.scss */
|
576 |
-
|
577 |
-
.cmb2-media-status .embed-status {
|
578 |
-
float: left;
|
579 |
-
max-width: 800px;
|
580 |
-
}
|
581 |
-
|
582 |
-
/* line 451, sass/partials/_main_wrap.scss */
|
583 |
-
|
584 |
-
.cmb2-media-status .img-status,
|
585 |
.cmb2-media-status .embed-status {
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
/* line
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
605 |
-
|
606 |
}
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
.cmb2-media-status .img-status img,
|
611 |
-
.cmb2-media-status .file-status > span {
|
612 |
-
cursor: pointer;
|
613 |
}
|
614 |
-
|
615 |
-
/* line 478, sass/partials/_main_wrap.scss */
|
616 |
-
|
617 |
-
.cmb2-media-status.cmb-attach-list .img-status img,
|
618 |
-
.cmb2-media-status.cmb-attach-list .file-status > span {
|
619 |
-
cursor: move;
|
620 |
-
}
|
621 |
-
|
622 |
/* line 485, sass/partials/_main_wrap.scss */
|
|
|
|
|
|
|
623 |
|
|
|
624 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
}
|
632 |
|
633 |
-
/* line
|
634 |
-
|
635 |
.cmb-attach-list li {
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
}
|
642 |
-
|
643 |
-
/* line 500, sass/partials/_main_wrap.scss */
|
644 |
-
|
645 |
.cmb-attach-list li img {
|
646 |
-
|
647 |
-
|
648 |
}
|
649 |
|
650 |
-
/* line
|
651 |
-
|
652 |
.cmb2-remove-wrapper {
|
653 |
-
|
654 |
}
|
655 |
|
656 |
-
/* line
|
657 |
-
|
658 |
.child-cmb2 .cmb-th {
|
659 |
-
|
660 |
}
|
661 |
|
662 |
-
/* line
|
663 |
-
|
664 |
.cmb2-indented-hierarchy {
|
665 |
-
|
666 |
}
|
667 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
668 |
/*--------------------------------------------------------------
|
669 |
* Post Metaboxes
|
670 |
--------------------------------------------------------------*/
|
671 |
-
|
672 |
/* line 5, sass/partials/_post_metaboxes.scss */
|
673 |
-
|
674 |
#poststuff .cmb-group-title {
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
}
|
679 |
|
680 |
/* line 11, sass/partials/_post_metaboxes.scss */
|
681 |
-
|
682 |
#poststuff .repeatable .cmb-group-title {
|
683 |
-
|
684 |
}
|
685 |
|
686 |
/* line 17, sass/partials/_post_metaboxes.scss */
|
687 |
-
|
688 |
-
|
689 |
-
.cmb-type-group .cmb2-wrap {
|
690 |
-
margin: 0;
|
691 |
}
|
692 |
-
|
693 |
/* line 20, sass/partials/_post_metaboxes.scss */
|
694 |
-
|
695 |
-
|
696 |
-
.cmb-type-group .cmb2-wrap > .cmb-field-list > .cmb-row {
|
697 |
-
padding: 1.8em 0;
|
698 |
}
|
699 |
-
|
700 |
/* line 26, sass/partials/_post_metaboxes.scss */
|
701 |
-
|
702 |
-
|
703 |
-
.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed {
|
704 |
-
width: 100%;
|
705 |
}
|
706 |
-
|
707 |
/* line 32, sass/partials/_post_metaboxes.scss */
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
padding: 0 0 1.8em;
|
712 |
-
margin: 0 0 0.8em;
|
713 |
}
|
714 |
-
|
715 |
/* line 36, sass/partials/_post_metaboxes.scss */
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
}
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
/* line
|
748 |
-
|
749 |
-
.cmb2-postbox .cmb-td,
|
750 |
-
.cmb-type-group .cmb-td {
|
751 |
-
margin-bottom: 0;
|
752 |
-
padding: 0;
|
753 |
-
line-height: 1.3;
|
754 |
-
}
|
755 |
-
|
756 |
-
/* line 64, sass/partials/_post_metaboxes.scss */
|
757 |
-
|
758 |
-
.cmb2-postbox .cmb-th + .cmb-td,
|
759 |
-
.cmb-type-group .cmb-th + .cmb-td {
|
760 |
-
width: 80%;
|
761 |
-
float: right;
|
762 |
-
}
|
763 |
-
|
764 |
-
/* line 69, sass/partials/_post_metaboxes.scss */
|
765 |
-
|
766 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
767 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),
|
768 |
-
.cmb-type-group .cmb-row:not(:last-of-type),
|
769 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
770 |
-
|
771 |
}
|
772 |
-
|
773 |
-
/* line
|
774 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
775 |
.cmb2-postbox .cmb-repeat-group-field,
|
776 |
-
.cmb2-postbox .cmb-remove-field-row,
|
777 |
-
.cmb-type-group .cmb-repeat-group-field,
|
778 |
.cmb-type-group .cmb-remove-field-row {
|
779 |
-
|
780 |
}
|
781 |
|
782 |
/*--------------------------------------------------------------
|
783 |
* Context Metaboxes
|
784 |
--------------------------------------------------------------*/
|
785 |
-
|
786 |
/* Metabox collapse arrow indicators */
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
791 |
-
content: "\f142";
|
792 |
-
display: inline-block;
|
793 |
-
font: normal 20px/1 dashicons;
|
794 |
-
speak: none;
|
795 |
-
-webkit-font-smoothing: antialiased;
|
796 |
-
-moz-osx-font-smoothing: grayscale;
|
797 |
-
text-decoration: none !important;
|
798 |
}
|
799 |
-
|
800 |
-
|
801 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
802 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
803 |
-
|
804 |
}
|
805 |
|
806 |
-
/* line
|
807 |
-
|
808 |
.cmb2-postbox.context-box {
|
809 |
-
|
810 |
}
|
811 |
-
|
812 |
-
/* line 34, sass/partials/_context_metaboxes.scss */
|
813 |
-
|
814 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
815 |
-
|
816 |
}
|
817 |
-
|
818 |
-
/* line 38, sass/partials/_context_metaboxes.scss */
|
819 |
-
|
820 |
.cmb2-postbox.context-box.context-after_title-box {
|
821 |
-
|
822 |
}
|
823 |
-
|
824 |
-
/* line 42, sass/partials/_context_metaboxes.scss */
|
825 |
-
|
826 |
.cmb2-postbox.context-box.context-after_editor-box {
|
827 |
-
|
828 |
-
|
829 |
}
|
830 |
-
|
831 |
-
/* line 47, sass/partials/_context_metaboxes.scss */
|
832 |
-
|
833 |
.cmb2-postbox.context-box.context-form_top-box {
|
834 |
-
|
835 |
}
|
836 |
-
|
837 |
-
/* line 51, sass/partials/_context_metaboxes.scss */
|
838 |
-
|
839 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
}
|
845 |
-
|
846 |
-
/* line 59, sass/partials/_context_metaboxes.scss */
|
847 |
-
|
848 |
.cmb2-postbox.context-box .hndle {
|
849 |
-
|
850 |
}
|
851 |
|
852 |
-
/* line
|
853 |
-
|
854 |
.cmb2-context-wrap {
|
855 |
-
|
856 |
}
|
857 |
-
|
858 |
-
/* line 68, sass/partials/_context_metaboxes.scss */
|
859 |
-
|
860 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
861 |
-
|
862 |
-
|
863 |
}
|
864 |
-
|
865 |
-
/* line 75, sass/partials/_context_metaboxes.scss */
|
866 |
-
|
867 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
868 |
-
|
869 |
}
|
870 |
-
|
871 |
-
/* line 80, sass/partials/_context_metaboxes.scss */
|
872 |
-
|
873 |
.cmb2-context-wrap .cmb-th {
|
874 |
-
|
875 |
-
|
876 |
}
|
877 |
-
|
878 |
-
/* line 85, sass/partials/_context_metaboxes.scss */
|
879 |
-
|
880 |
.cmb2-context-wrap .cmb-td {
|
881 |
-
|
882 |
-
|
883 |
}
|
884 |
-
|
885 |
-
/* line 90, sass/partials/_context_metaboxes.scss */
|
886 |
-
|
887 |
.cmb2-context-wrap .cmb-row {
|
888 |
-
|
889 |
}
|
890 |
-
|
891 |
-
/* line 93, sass/partials/_context_metaboxes.scss */
|
892 |
-
|
893 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
894 |
-
|
895 |
}
|
896 |
|
897 |
/* one column on the post write/edit screen */
|
898 |
-
|
|
|
|
|
|
|
|
|
|
|
899 |
/*--------------------------------------------------------------
|
900 |
* Options page
|
901 |
--------------------------------------------------------------*/
|
902 |
-
|
903 |
/* line 5, sass/partials/_options-page.scss */
|
904 |
-
|
905 |
.cmb2-options-page {
|
906 |
-
|
907 |
}
|
908 |
-
|
909 |
/* line 8, sass/partials/_options-page.scss */
|
910 |
-
|
911 |
.cmb2-options-page.wrap > h2 {
|
912 |
-
|
913 |
}
|
914 |
-
|
915 |
/* line 12, sass/partials/_options-page.scss */
|
916 |
-
|
917 |
.cmb2-options-page .cmb2-metabox > .cmb-row {
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
}
|
924 |
-
|
925 |
/* line 19, sass/partials/_options-page.scss */
|
926 |
-
|
927 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th {
|
928 |
-
|
929 |
-
|
930 |
}
|
931 |
-
|
932 |
/* line 24, sass/partials/_options-page.scss */
|
933 |
-
|
934 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
935 |
-
|
936 |
-
|
937 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
938 |
}
|
939 |
-
|
940 |
/* line 37, sass/partials/_options-page.scss */
|
941 |
-
|
942 |
.cmb2-options-page .cmb2-wrap .cmb-type-title {
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
}
|
947 |
-
|
948 |
/* line 42, sass/partials/_options-page.scss */
|
949 |
-
|
950 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title {
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
}
|
956 |
-
|
957 |
/* line 49, sass/partials/_options-page.scss */
|
958 |
-
|
959 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description {
|
960 |
-
|
961 |
}
|
962 |
-
|
963 |
/* line 55, sass/partials/_options-page.scss */
|
964 |
-
|
965 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th {
|
966 |
-
|
967 |
}
|
968 |
-
|
969 |
/* line 59, sass/partials/_options-page.scss */
|
970 |
-
|
971 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-name {
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
}
|
976 |
-
|
977 |
/* line 65, sass/partials/_options-page.scss */
|
978 |
-
|
979 |
.cmb2-options-page .cmb-repeatable-group .cmb-th > .cmb2-metabox-description {
|
980 |
-
|
981 |
-
|
982 |
}
|
983 |
|
984 |
/*--------------------------------------------------------------
|
985 |
* New-Term Page
|
986 |
--------------------------------------------------------------*/
|
987 |
-
|
988 |
/* line 6, sass/partials/_new_term.scss */
|
989 |
-
|
990 |
#addtag .cmb-th {
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
}
|
995 |
-
|
996 |
/* line 12, sass/partials/_new_term.scss */
|
997 |
-
|
998 |
#addtag .cmb-td {
|
999 |
-
|
1000 |
}
|
1001 |
-
|
1002 |
/* line 16, sass/partials/_new_term.scss */
|
1003 |
-
|
1004 |
#addtag .cmb-th + .cmb-td {
|
1005 |
-
|
1006 |
}
|
1007 |
-
|
1008 |
/* line 20, sass/partials/_new_term.scss */
|
1009 |
-
|
1010 |
#addtag select {
|
1011 |
-
|
1012 |
}
|
1013 |
-
|
1014 |
/* line 24, sass/partials/_new_term.scss */
|
1015 |
-
|
1016 |
#addtag .cmb2-metabox {
|
1017 |
-
|
1018 |
}
|
1019 |
-
|
1020 |
/* line 28, sass/partials/_new_term.scss */
|
1021 |
-
|
1022 |
#addtag .cmb-row li label {
|
1023 |
-
|
1024 |
}
|
1025 |
|
1026 |
/*--------------------------------------------------------------
|
1027 |
* Misc.
|
1028 |
--------------------------------------------------------------*/
|
1029 |
-
|
1030 |
/* line 5, sass/partials/_misc.scss */
|
1031 |
-
|
1032 |
#poststuff .cmb-repeatable-group h2 {
|
1033 |
-
|
1034 |
}
|
1035 |
|
1036 |
/* line 12, sass/partials/_misc.scss */
|
1037 |
-
|
1038 |
.edit-tags-php .cmb2-metabox-title,
|
1039 |
.profile-php .cmb2-metabox-title,
|
1040 |
.user-edit-php .cmb2-metabox-title {
|
1041 |
-
|
1042 |
}
|
1043 |
|
1044 |
/* line 18, sass/partials/_misc.scss */
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
float: left;
|
1049 |
-
display: none;
|
1050 |
}
|
1051 |
|
1052 |
/* line 24, sass/partials/_misc.scss */
|
1053 |
-
|
1054 |
.cmb-spinner {
|
1055 |
-
|
1056 |
}
|
1057 |
-
|
1058 |
/* line 26, sass/partials/_misc.scss */
|
1059 |
-
|
1060 |
.cmb-spinner.is-active {
|
1061 |
-
|
1062 |
}
|
1063 |
|
1064 |
/*--------------------------------------------------------------
|
1065 |
* Sidebar Placement Adjustments
|
1066 |
--------------------------------------------------------------*/
|
1067 |
-
|
1068 |
/* line 10, sass/partials/_sidebar_placements.scss */
|
1069 |
-
|
1070 |
.inner-sidebar .cmb2-wrap > .cmb-field-list > .cmb-row,
|
1071 |
#side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row {
|
1072 |
-
|
1073 |
}
|
1074 |
-
|
1075 |
/* line 16, sass/partials/_sidebar_placements.scss */
|
1076 |
-
|
1077 |
.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker),
|
1078 |
#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker) {
|
1079 |
-
|
1080 |
}
|
1081 |
-
|
1082 |
/* line 20, sass/partials/_sidebar_placements.scss */
|
1083 |
-
|
1084 |
-
.inner-sidebar .cmb2-wrap input + input:not(.wp-picker-clear),
|
1085 |
-
.inner-sidebar .cmb2-wrap input + select,
|
1086 |
#side-sortables .cmb2-wrap input + input:not(.wp-picker-clear),
|
1087 |
#side-sortables .cmb2-wrap input + select {
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
}
|
1092 |
-
|
1093 |
/* line 26, sass/partials/_sidebar_placements.scss */
|
1094 |
-
|
1095 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money,
|
1096 |
#side-sortables .cmb2-wrap input.cmb2-text-money {
|
1097 |
-
|
1098 |
}
|
1099 |
-
|
1100 |
/* line 28, sass/partials/_sidebar_placements.scss */
|
1101 |
-
|
1102 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description,
|
1103 |
#side-sortables .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description {
|
1104 |
-
|
1105 |
}
|
1106 |
-
|
1107 |
/* line 34, sass/partials/_sidebar_placements.scss */
|
1108 |
-
|
1109 |
.inner-sidebar .cmb2-wrap label,
|
1110 |
#side-sortables .cmb2-wrap label {
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
}
|
1115 |
-
|
1116 |
/* line 42, sass/partials/_sidebar_placements.scss */
|
1117 |
-
|
1118 |
.inner-sidebar textarea,
|
1119 |
#side-sortables textarea {
|
1120 |
-
|
1121 |
}
|
1122 |
-
|
1123 |
/* line 46, sass/partials/_sidebar_placements.scss */
|
1124 |
-
|
1125 |
.inner-sidebar .cmb-repeatable-group,
|
1126 |
#side-sortables .cmb-repeatable-group {
|
1127 |
-
|
1128 |
}
|
1129 |
-
|
1130 |
/* line 50, sass/partials/_sidebar_placements.scss */
|
1131 |
-
|
1132 |
.inner-sidebar .cmb-type-group > .cmb-td > .cmb-repeatable-group,
|
1133 |
#side-sortables .cmb-type-group > .cmb-td > .cmb-repeatable-group {
|
1134 |
-
|
1135 |
-
|
1136 |
}
|
1137 |
-
|
1138 |
/* line 55, sass/partials/_sidebar_placements.scss */
|
1139 |
-
|
1140 |
.inner-sidebar .cmb-th,
|
1141 |
.inner-sidebar .cmb-td:not(.cmb-remove-row),
|
1142 |
.inner-sidebar .cmb-th + .cmb-td,
|
1143 |
#side-sortables .cmb-th,
|
1144 |
#side-sortables .cmb-td:not(.cmb-remove-row),
|
1145 |
#side-sortables .cmb-th + .cmb-td {
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
}
|
1150 |
-
|
1151 |
/* line 63, sass/partials/_sidebar_placements.scss */
|
1152 |
-
|
1153 |
.inner-sidebar .closed .inside,
|
1154 |
#side-sortables .closed .inside {
|
1155 |
-
|
1156 |
}
|
1157 |
-
|
1158 |
/* line 67, sass/partials/_sidebar_placements.scss */
|
1159 |
-
|
1160 |
.inner-sidebar .cmb-th,
|
1161 |
#side-sortables .cmb-th {
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
}
|
1170 |
-
|
1171 |
/* line 27, sass/partials/_mixins.scss */
|
1172 |
-
|
1173 |
.inner-sidebar .cmb-th label,
|
1174 |
#side-sortables .cmb-th label {
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
}
|
1179 |
-
|
1180 |
/* line 14, sass/partials/_mixins.scss */
|
1181 |
-
|
1182 |
.inner-sidebar .cmb-th label,
|
1183 |
#side-sortables .cmb-th label {
|
1184 |
-
|
1185 |
-
|
1186 |
}
|
1187 |
-
|
1188 |
/* line 74, sass/partials/_sidebar_placements.scss */
|
1189 |
-
|
1190 |
.inner-sidebar .cmb-group-description .cmb-th,
|
1191 |
#side-sortables .cmb-group-description .cmb-th {
|
1192 |
-
|
1193 |
}
|
1194 |
-
|
1195 |
/* line 77, sass/partials/_sidebar_placements.scss */
|
1196 |
-
|
1197 |
.inner-sidebar .cmb-group-description .cmb2-metabox-description,
|
1198 |
#side-sortables .cmb-group-description .cmb2-metabox-description {
|
1199 |
-
|
1200 |
}
|
1201 |
-
|
1202 |
/* line 84, sass/partials/_sidebar_placements.scss */
|
1203 |
-
|
1204 |
.inner-sidebar .cmb-group-title .cmb-th,
|
1205 |
#side-sortables .cmb-group-title .cmb-th {
|
1206 |
-
|
1207 |
}
|
1208 |
-
|
1209 |
/* line 90, sass/partials/_sidebar_placements.scss */
|
1210 |
-
|
1211 |
.inner-sidebar .cmb-repeatable-grouping + .cmb-repeatable-grouping,
|
1212 |
#side-sortables .cmb-repeatable-grouping + .cmb-repeatable-grouping {
|
1213 |
-
|
1214 |
}
|
1215 |
-
|
1216 |
/* line 99, sass/partials/_sidebar_placements.scss */
|
1217 |
-
|
1218 |
.inner-sidebar .cmb2-media-status .img-status img,
|
1219 |
.inner-sidebar .cmb2-media-status .embed-status img,
|
1220 |
#side-sortables .cmb2-media-status .img-status img,
|
1221 |
#side-sortables .cmb2-media-status .embed-status img {
|
1222 |
-
|
1223 |
-
|
1224 |
}
|
1225 |
-
|
1226 |
/* line 107, sass/partials/_sidebar_placements.scss */
|
1227 |
-
|
1228 |
.inner-sidebar .cmb2-list label,
|
1229 |
#side-sortables .cmb2-list label {
|
1230 |
-
|
1231 |
-
|
1232 |
}
|
1233 |
-
|
1234 |
/* line 112, sass/partials/_sidebar_placements.scss */
|
1235 |
-
|
1236 |
.inner-sidebar .cmb2-metabox-description,
|
1237 |
#side-sortables .cmb2-metabox-description {
|
1238 |
-
|
1239 |
-
|
1240 |
}
|
1241 |
-
|
1242 |
/* line 119, sass/partials/_sidebar_placements.scss */
|
1243 |
-
|
1244 |
.inner-sidebar .cmb-type-checkbox .cmb-td label,
|
1245 |
.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description,
|
1246 |
#side-sortables .cmb-type-checkbox .cmb-td label,
|
1247 |
#side-sortables .cmb-type-checkbox .cmb2-metabox-description {
|
1248 |
-
|
1249 |
-
|
1250 |
}
|
1251 |
-
|
1252 |
/* line 126, sass/partials/_sidebar_placements.scss */
|
1253 |
-
|
1254 |
.inner-sidebar .cmb-row .cmb2-metabox-description,
|
1255 |
#side-sortables .cmb-row .cmb2-metabox-description {
|
1256 |
-
|
1257 |
}
|
1258 |
-
|
1259 |
/* line 130, sass/partials/_sidebar_placements.scss */
|
1260 |
-
|
1261 |
.inner-sidebar .cmb2-metabox-title,
|
1262 |
#side-sortables .cmb2-metabox-title {
|
1263 |
-
|
1264 |
-
|
1265 |
}
|
1266 |
-
|
1267 |
/* line 135, sass/partials/_sidebar_placements.scss */
|
1268 |
-
|
1269 |
.inner-sidebar .cmb-remove-row,
|
1270 |
#side-sortables .cmb-remove-row {
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
}
|
1275 |
-
|
1276 |
/* line 141, sass/partials/_sidebar_placements.scss */
|
1277 |
-
|
1278 |
.inner-sidebar .cmb2-upload-button,
|
1279 |
#side-sortables .cmb2-upload-button {
|
1280 |
-
|
1281 |
-
|
1282 |
}
|
1283 |
|
1284 |
/*--------------------------------------------------------------
|
1285 |
* Collapsible UI
|
1286 |
--------------------------------------------------------------*/
|
1287 |
-
|
1288 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
1289 |
-
|
1290 |
.cmb2-metabox .cmbhandle {
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
}
|
1299 |
-
|
1300 |
/* line 14, sass/partials/_collapsible_ui.scss */
|
1301 |
-
|
1302 |
.cmb2-metabox .cmbhandle:before {
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
}
|
1315 |
-
|
1316 |
/* line 31, sass/partials/_collapsible_ui.scss */
|
1317 |
-
|
1318 |
.cmb2-metabox .postbox.closed .cmbhandle:before {
|
1319 |
-
|
1320 |
}
|
1321 |
-
|
1322 |
/* line 37, sass/partials/_collapsible_ui.scss */
|
1323 |
-
|
1324 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
}
|
1335 |
-
|
1336 |
/* line 47, sass/partials/_collapsible_ui.scss */
|
1337 |
-
|
1338 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) {
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
}
|
1343 |
-
|
1344 |
/* line 51, sass/partials/_collapsible_ui.scss */
|
1345 |
-
|
1346 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover {
|
1347 |
-
|
1348 |
}
|
1349 |
|
1350 |
/*
|
@@ -1360,731 +1100,477 @@ span.cmb2-metabox-description {
|
|
1360 |
* https://github.com/stuttter/wp-datepicker-styling
|
1361 |
*
|
1362 |
*/
|
1363 |
-
|
1364 |
/* line 15, sass/partials/_jquery_ui.scss */
|
1365 |
-
|
1366 |
* html .cmb2-element.ui-helper-clearfix {
|
1367 |
-
|
1368 |
}
|
1369 |
|
1370 |
/* line 24, sass/partials/_jquery_ui.scss */
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
width: auto; /* Default Color Scheme */
|
1386 |
}
|
1387 |
-
|
1388 |
/* line 38, sass/partials/_jquery_ui.scss */
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
-moz-border-radius: 0;
|
1396 |
-
border-radius: 0;
|
1397 |
}
|
1398 |
-
|
1399 |
/* line 46, sass/partials/_jquery_ui.scss */
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
border: none;
|
1406 |
-
border-collapse: collapse;
|
1407 |
}
|
1408 |
-
|
1409 |
/* line 53, sass/partials/_jquery_ui.scss */
|
1410 |
-
|
1411 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1412 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header,
|
1413 |
-
.cmb2-element .ui-datepicker .ui-widget-header,
|
1414 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
}
|
1420 |
-
|
1421 |
/* line 61, sass/partials/_jquery_ui.scss */
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
border-color: transparent;
|
1427 |
-
cursor: pointer;
|
1428 |
}
|
1429 |
-
|
1430 |
/* line 67, sass/partials/_jquery_ui.scss */
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
line-height: 14px;
|
1439 |
-
text-align: center;
|
1440 |
}
|
1441 |
-
|
1442 |
/* line 75, sass/partials/_jquery_ui.scss */
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
margin-top: -8px;
|
1447 |
-
margin-bottom: -8px;
|
1448 |
}
|
1449 |
-
|
1450 |
/* line 81, sass/partials/_jquery_ui.scss */
|
1451 |
-
|
1452 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1453 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
1454 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev,
|
1455 |
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
}
|
1461 |
-
|
1462 |
/* line 89, sass/partials/_jquery_ui.scss */
|
1463 |
-
|
1464 |
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
1465 |
-
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,
|
1466 |
-
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
1467 |
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next {
|
1468 |
-
|
1469 |
}
|
1470 |
-
|
1471 |
/* line 94, sass/partials/_jquery_ui.scss */
|
1472 |
-
|
1473 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1474 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover,
|
1475 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev,
|
1476 |
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover {
|
1477 |
-
|
1478 |
}
|
1479 |
-
|
1480 |
/* line 99, sass/partials/_jquery_ui.scss */
|
1481 |
-
|
1482 |
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
1483 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover,
|
1484 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next,
|
1485 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover {
|
1486 |
-
|
1487 |
}
|
1488 |
-
|
1489 |
/* line 104, sass/partials/_jquery_ui.scss */
|
1490 |
-
|
1491 |
.cmb2-element.ui-datepicker .ui-datepicker-next span,
|
1492 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev span,
|
1493 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next span,
|
1494 |
.cmb2-element .ui-datepicker .ui-datepicker-prev span {
|
1495 |
-
|
1496 |
}
|
1497 |
-
|
1498 |
/* line 109, sass/partials/_jquery_ui.scss */
|
1499 |
-
|
1500 |
-
|
1501 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev {
|
1502 |
-
float: left;
|
1503 |
}
|
1504 |
-
|
1505 |
/* line 113, sass/partials/_jquery_ui.scss */
|
1506 |
-
|
1507 |
-
|
1508 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
1509 |
-
float: right;
|
1510 |
}
|
1511 |
-
|
1512 |
/* line 117, sass/partials/_jquery_ui.scss */
|
1513 |
-
|
1514 |
.cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1515 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next:before,
|
1516 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
1517 |
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
}
|
1527 |
-
|
1528 |
/* line 129, sass/partials/_jquery_ui.scss */
|
1529 |
-
|
1530 |
-
|
1531 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev:before {
|
1532 |
-
content: '\f341';
|
1533 |
}
|
1534 |
-
|
1535 |
/* line 133, sass/partials/_jquery_ui.scss */
|
1536 |
-
|
1537 |
-
|
1538 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1539 |
-
content: '\f345';
|
1540 |
}
|
1541 |
-
|
1542 |
/* line 137, sass/partials/_jquery_ui.scss */
|
1543 |
-
|
1544 |
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before,
|
1545 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,
|
1546 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,
|
1547 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before {
|
1548 |
-
|
1549 |
}
|
1550 |
-
|
1551 |
/* line 142, sass/partials/_jquery_ui.scss */
|
1552 |
-
|
1553 |
.cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1554 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year,
|
1555 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-month,
|
1556 |
.cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
}
|
1563 |
-
|
1564 |
/* line 149, sass/partials/_jquery_ui.scss */
|
1565 |
-
|
1566 |
.cmb2-element.ui-datepicker select.ui-datepicker-month option,
|
1567 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year option,
|
1568 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-month option,
|
1569 |
.cmb2-element .ui-datepicker select.ui-datepicker-year option {
|
1570 |
-
|
1571 |
}
|
1572 |
-
|
1573 |
/* line 154, sass/partials/_jquery_ui.scss */
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
color: #fff;
|
1578 |
-
font-weight: 600;
|
1579 |
}
|
1580 |
-
|
1581 |
/* line 157, sass/partials/_jquery_ui.scss */
|
1582 |
-
|
1583 |
-
|
1584 |
-
.cmb2-element .ui-datepicker thead th {
|
1585 |
-
font-weight: normal;
|
1586 |
}
|
1587 |
-
|
1588 |
/* line 162, sass/partials/_jquery_ui.scss */
|
1589 |
-
|
1590 |
-
|
1591 |
-
.cmb2-element .ui-datepicker th {
|
1592 |
-
padding: 10px;
|
1593 |
}
|
1594 |
-
|
1595 |
/* line 166, sass/partials/_jquery_ui.scss */
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
padding: 0;
|
1600 |
-
border: 1px solid #f4f4f4;
|
1601 |
}
|
1602 |
-
|
1603 |
/* line 171, sass/partials/_jquery_ui.scss */
|
1604 |
-
|
1605 |
-
|
1606 |
-
.cmb2-element .ui-datepicker td.ui-datepicker-other-month {
|
1607 |
-
border: transparent;
|
1608 |
}
|
1609 |
-
|
1610 |
/* line 175, sass/partials/_jquery_ui.scss */
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
background-color: #f4f4f4;
|
1615 |
-
border: 1px solid #f4f4f4;
|
1616 |
}
|
1617 |
-
|
1618 |
/* line 178, sass/partials/_jquery_ui.scss */
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1624 |
-
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1625 |
}
|
1626 |
-
|
1627 |
/* line 185, sass/partials/_jquery_ui.scss */
|
1628 |
-
|
1629 |
-
|
1630 |
-
.cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1631 |
-
background-color: #f0f0c0;
|
1632 |
}
|
1633 |
-
|
1634 |
/* line 189, sass/partials/_jquery_ui.scss */
|
1635 |
-
|
1636 |
-
|
1637 |
-
.cmb2-element .ui-datepicker td.ui-datepicker-current-day {
|
1638 |
-
background: #bbdd88;
|
1639 |
}
|
1640 |
-
|
1641 |
/* line 193, sass/partials/_jquery_ui.scss */
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
font-weight: normal;
|
1653 |
-
color: #444;
|
1654 |
}
|
1655 |
-
|
1656 |
/* line 205, sass/partials/_jquery_ui.scss */
|
1657 |
-
|
1658 |
-
|
1659 |
-
.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default {
|
1660 |
-
opacity: 0.5;
|
1661 |
}
|
1662 |
-
|
1663 |
/* line 210, sass/partials/_jquery_ui.scss */
|
1664 |
-
|
1665 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1666 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header,
|
1667 |
-
.cmb2-element .ui-datepicker .ui-widget-header,
|
1668 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1669 |
-
|
1670 |
}
|
1671 |
-
|
1672 |
/* line 215, sass/partials/_jquery_ui.scss */
|
1673 |
-
|
1674 |
-
|
1675 |
-
.cmb2-element .ui-datepicker thead {
|
1676 |
-
background: #32373c;
|
1677 |
}
|
1678 |
-
|
1679 |
/* line 219, sass/partials/_jquery_ui.scss */
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
.cmb2-element .ui-datepicker td .ui-state-hover,
|
1684 |
-
.cmb2-element .ui-datepicker td .ui-state-active {
|
1685 |
-
background: #0073aa;
|
1686 |
-
color: #fff;
|
1687 |
}
|
1688 |
-
|
1689 |
/* line 224, sass/partials/_jquery_ui.scss */
|
1690 |
-
|
1691 |
-
|
1692 |
-
.cmb2-element .ui-datepicker .ui-timepicker-div {
|
1693 |
-
font-size: 14px;
|
1694 |
}
|
1695 |
-
|
1696 |
/* line 226, sass/partials/_jquery_ui.scss */
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
text-align: left;
|
1701 |
-
padding: 0 .6em;
|
1702 |
}
|
1703 |
-
|
1704 |
/* line 229, sass/partials/_jquery_ui.scss */
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
clear: left;
|
1710 |
-
padding: 0 0 0 5px;
|
1711 |
}
|
1712 |
-
|
1713 |
/* line 234, sass/partials/_jquery_ui.scss */
|
1714 |
-
|
1715 |
-
|
1716 |
-
.cmb2-element .ui-datepicker .ui-timepicker-div dl dd {
|
1717 |
-
margin: 0 10px 10px 40%;
|
1718 |
}
|
1719 |
-
|
1720 |
/* line 236, sass/partials/_jquery_ui.scss */
|
1721 |
-
|
1722 |
-
|
1723 |
-
.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select {
|
1724 |
-
width: 100%;
|
1725 |
}
|
1726 |
-
|
1727 |
/* line 242, sass/partials/_jquery_ui.scss */
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
padding: .6em;
|
1732 |
-
text-align: left;
|
1733 |
}
|
1734 |
-
|
1735 |
/* line 246, sass/partials/_jquery_ui.scss */
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
-webkit-border-radius: 3px;
|
1743 |
-
-moz-border-radius: 3px;
|
1744 |
-
border-radius: 3px;
|
1745 |
-
margin: 0 .6em .4em .4em;
|
1746 |
}
|
1747 |
|
1748 |
/* line 260, sass/partials/_jquery_ui.scss */
|
1749 |
-
|
1750 |
.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header,
|
1751 |
-
.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1752 |
-
.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,
|
1753 |
.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1754 |
-
|
1755 |
}
|
1756 |
-
|
1757 |
/* line 265, sass/partials/_jquery_ui.scss */
|
1758 |
-
|
1759 |
-
|
1760 |
-
.admin-color-fresh .cmb2-element .ui-datepicker thead {
|
1761 |
-
background: #32373c;
|
1762 |
}
|
1763 |
-
|
1764 |
/* line 269, sass/partials/_jquery_ui.scss */
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
background: #0073aa;
|
1769 |
-
color: #fff;
|
1770 |
}
|
1771 |
|
1772 |
/* line 277, sass/partials/_jquery_ui.scss */
|
1773 |
-
|
1774 |
.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header,
|
1775 |
-
.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1776 |
-
.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,
|
1777 |
.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1778 |
-
|
1779 |
}
|
1780 |
-
|
1781 |
/* line 282, sass/partials/_jquery_ui.scss */
|
1782 |
-
|
1783 |
-
|
1784 |
-
.admin-color-blue .cmb2-element .ui-datepicker thead {
|
1785 |
-
background: #4796b3;
|
1786 |
}
|
1787 |
-
|
1788 |
/* line 291, sass/partials/_jquery_ui.scss */
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,
|
1793 |
-
.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active {
|
1794 |
-
background: #096484;
|
1795 |
-
color: #fff;
|
1796 |
}
|
1797 |
-
|
1798 |
/* line 296, sass/partials/_jquery_ui.scss */
|
1799 |
-
|
1800 |
-
|
1801 |
-
.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1802 |
-
background: #eee;
|
1803 |
}
|
1804 |
|
1805 |
/* line 305, sass/partials/_jquery_ui.scss */
|
1806 |
-
|
1807 |
.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header,
|
1808 |
-
.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1809 |
-
.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,
|
1810 |
.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1811 |
-
|
1812 |
}
|
1813 |
-
|
1814 |
/* line 310, sass/partials/_jquery_ui.scss */
|
1815 |
-
|
1816 |
-
|
1817 |
-
.admin-color-coffee .cmb2-element .ui-datepicker thead {
|
1818 |
-
background: #46403c;
|
1819 |
}
|
1820 |
-
|
1821 |
/* line 314, sass/partials/_jquery_ui.scss */
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
background: #c7a589;
|
1826 |
-
color: #fff;
|
1827 |
}
|
1828 |
|
1829 |
/* line 322, sass/partials/_jquery_ui.scss */
|
1830 |
-
|
1831 |
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header,
|
1832 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1833 |
-
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,
|
1834 |
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1835 |
-
|
1836 |
}
|
1837 |
-
|
1838 |
/* line 327, sass/partials/_jquery_ui.scss */
|
1839 |
-
|
1840 |
-
|
1841 |
-
.admin-color-ectoplasm .cmb2-element .ui-datepicker thead {
|
1842 |
-
background: #413256;
|
1843 |
}
|
1844 |
-
|
1845 |
/* line 331, sass/partials/_jquery_ui.scss */
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
background: #a3b745;
|
1850 |
-
color: #fff;
|
1851 |
}
|
1852 |
|
1853 |
/* line 339, sass/partials/_jquery_ui.scss */
|
1854 |
-
|
1855 |
.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header,
|
1856 |
-
.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1857 |
-
.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,
|
1858 |
.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1859 |
-
|
1860 |
}
|
1861 |
-
|
1862 |
/* line 344, sass/partials/_jquery_ui.scss */
|
1863 |
-
|
1864 |
-
|
1865 |
-
.admin-color-midnight .cmb2-element .ui-datepicker thead {
|
1866 |
-
background: #26292c;
|
1867 |
}
|
1868 |
-
|
1869 |
/* line 348, sass/partials/_jquery_ui.scss */
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
background: #e14d43;
|
1874 |
-
color: #fff;
|
1875 |
}
|
1876 |
|
1877 |
/* line 356, sass/partials/_jquery_ui.scss */
|
1878 |
-
|
1879 |
.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header,
|
1880 |
-
.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1881 |
-
.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,
|
1882 |
.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1883 |
-
|
1884 |
}
|
1885 |
-
|
1886 |
/* line 361, sass/partials/_jquery_ui.scss */
|
1887 |
-
|
1888 |
-
|
1889 |
-
.admin-color-ocean .cmb2-element .ui-datepicker thead {
|
1890 |
-
background: #627c83;
|
1891 |
}
|
1892 |
-
|
1893 |
/* line 365, sass/partials/_jquery_ui.scss */
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
background: #9ebaa0;
|
1898 |
-
color: #fff;
|
1899 |
}
|
1900 |
|
1901 |
/* line 373, sass/partials/_jquery_ui.scss */
|
1902 |
-
|
1903 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header,
|
1904 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1905 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,
|
1906 |
-
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,
|
1907 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,
|
1908 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
1909 |
-
|
1910 |
}
|
1911 |
-
|
1912 |
/* line 379, sass/partials/_jquery_ui.scss */
|
1913 |
-
|
1914 |
-
|
1915 |
-
|
1916 |
-
border-color: #be3631;
|
1917 |
-
background: #be3631;
|
1918 |
}
|
1919 |
-
|
1920 |
/* line 384, sass/partials/_jquery_ui.scss */
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
background: #dd823b;
|
1925 |
-
color: #fff;
|
1926 |
}
|
1927 |
|
1928 |
/* line 392, sass/partials/_jquery_ui.scss */
|
1929 |
-
|
1930 |
.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header,
|
1931 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1932 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,
|
1933 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1934 |
-
|
1935 |
}
|
1936 |
-
|
1937 |
/* line 397, sass/partials/_jquery_ui.scss */
|
1938 |
-
|
1939 |
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1940 |
-
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year,
|
1941 |
-
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
1942 |
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1943 |
-
|
1944 |
}
|
1945 |
-
|
1946 |
/* line 402, sass/partials/_jquery_ui.scss */
|
1947 |
-
|
1948 |
-
|
1949 |
-
.admin-color-light .cmb2-element .ui-datepicker thead {
|
1950 |
-
background: #888;
|
1951 |
}
|
1952 |
-
|
1953 |
/* line 406, sass/partials/_jquery_ui.scss */
|
1954 |
-
|
1955 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,
|
1956 |
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default,
|
1957 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1958 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,
|
1959 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,
|
1960 |
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,
|
1961 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
1962 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1963 |
-
|
1964 |
}
|
1965 |
-
|
1966 |
/* line 414, sass/partials/_jquery_ui.scss */
|
1967 |
-
|
1968 |
-
|
1969 |
-
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,
|
1970 |
-
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,
|
1971 |
-
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active {
|
1972 |
-
background: #ccc;
|
1973 |
}
|
1974 |
-
|
1975 |
/* line 418, sass/partials/_jquery_ui.scss */
|
1976 |
-
|
1977 |
-
|
1978 |
-
.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1979 |
-
background: #eee;
|
1980 |
}
|
1981 |
|
1982 |
/* line 426, sass/partials/_jquery_ui.scss */
|
1983 |
-
|
1984 |
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header,
|
1985 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1986 |
-
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,
|
1987 |
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1988 |
-
|
1989 |
}
|
1990 |
-
|
1991 |
/* line 431, sass/partials/_jquery_ui.scss */
|
1992 |
-
|
1993 |
-
|
1994 |
-
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead {
|
1995 |
-
background: #36533f;
|
1996 |
}
|
1997 |
-
|
1998 |
/* line 435, sass/partials/_jquery_ui.scss */
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
background: #446950;
|
2003 |
-
color: #fff;
|
2004 |
}
|
2005 |
|
2006 |
/* line 443, sass/partials/_jquery_ui.scss */
|
2007 |
-
|
2008 |
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header,
|
2009 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,
|
2010 |
-
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,
|
2011 |
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header {
|
2012 |
-
|
2013 |
}
|
2014 |
-
|
2015 |
/* line 448, sass/partials/_jquery_ui.scss */
|
2016 |
-
|
2017 |
-
|
2018 |
-
.admin-color-bbp-mint .cmb2-element .ui-datepicker thead {
|
2019 |
-
background: #4f6d59;
|
2020 |
}
|
2021 |
-
|
2022 |
/* line 452, sass/partials/_jquery_ui.scss */
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
background: #5fb37c;
|
2027 |
-
color: #fff;
|
2028 |
-
}
|
2029 |
-
|
2030 |
-
/*# sourceMappingURL=cmb2.css.map */
|
2031 |
-
|
2032 |
-
@media only screen and (max-width: 850px) {
|
2033 |
-
|
2034 |
-
/* line 103, sass/partials/_context_metaboxes.scss */
|
2035 |
-
|
2036 |
-
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
2037 |
-
margin-right: 0;
|
2038 |
-
}
|
2039 |
-
|
2040 |
-
}
|
2041 |
-
|
2042 |
-
@media (max-width: 450px) {
|
2043 |
-
|
2044 |
-
/* line 193, sass/partials/_main_wrap.scss */
|
2045 |
-
|
2046 |
-
.cmb-th {
|
2047 |
-
font-size: 1.2em;
|
2048 |
-
display: block;
|
2049 |
-
float: none;
|
2050 |
-
padding-bottom: 1em;
|
2051 |
-
text-align: left;
|
2052 |
-
width: 100%;
|
2053 |
}
|
2054 |
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
|
2061 |
}
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
.cmb-td,
|
2067 |
-
.cmb-th + .cmb-td {
|
2068 |
-
display: block;
|
2069 |
-
float: none;
|
2070 |
-
width: 100%;
|
2071 |
}
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
.cmb2-postbox .cmb-row:not(:last-of-type),
|
2076 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),
|
2077 |
-
.cmb-type-group .cmb-row:not(:last-of-type),
|
2078 |
-
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
2079 |
-
border-bottom: 0;
|
2080 |
}
|
2081 |
-
|
2082 |
-
|
2083 |
-
|
2084 |
-
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
2085 |
-
padding: 0;
|
2086 |
-
margin-left: 0;
|
2087 |
}
|
2088 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2089 |
}
|
2090 |
|
|
1 |
/*!
|
2 |
+
* CMB2 - v2.9.0 - 2021-03-03
|
3 |
* https://cmb2.io
|
4 |
+
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
8 |
+
@charset "UTF-8";
|
9 |
/*--------------------------------------------------------------
|
10 |
* Main Wrap
|
11 |
--------------------------------------------------------------*/
|
|
|
12 |
/* line 5, sass/partials/_main_wrap.scss */
|
|
|
13 |
.cmb2-wrap {
|
14 |
+
margin: 0;
|
15 |
}
|
|
|
16 |
/* line 8, sass/partials/_main_wrap.scss */
|
|
|
17 |
.cmb2-wrap input,
|
18 |
.cmb2-wrap textarea {
|
19 |
+
max-width: 100%;
|
|
|
|
|
20 |
}
|
21 |
+
/* line 15, sass/partials/_main_wrap.scss */
|
22 |
+
.cmb2-wrap input[type="text"].cmb2-oembed {
|
23 |
+
width: 100%;
|
|
|
|
|
24 |
}
|
25 |
+
/* line 20, sass/partials/_main_wrap.scss */
|
|
|
|
|
26 |
.cmb2-wrap textarea {
|
27 |
+
width: 500px;
|
28 |
+
padding: 8px;
|
29 |
}
|
30 |
+
/* line 24, sass/partials/_main_wrap.scss */
|
|
|
|
|
31 |
.cmb2-wrap textarea.cmb2-textarea-code {
|
32 |
+
font-family: "Courier 10 Pitch", Courier, monospace;
|
33 |
+
line-height: 16px;
|
34 |
}
|
35 |
+
/* line 32, sass/partials/_main_wrap.scss */
|
36 |
+
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
37 |
+
width: 100px;
|
|
|
|
|
|
|
38 |
}
|
39 |
+
/* line 38, sass/partials/_main_wrap.scss */
|
|
|
|
|
40 |
.cmb2-wrap input.cmb2-text-money {
|
41 |
+
width: 90px;
|
42 |
}
|
43 |
+
/* line 43, sass/partials/_main_wrap.scss */
|
|
|
|
|
44 |
.cmb2-wrap input.cmb2-text-medium {
|
45 |
+
width: 230px;
|
46 |
}
|
47 |
+
/* line 48, sass/partials/_main_wrap.scss */
|
|
|
|
|
48 |
.cmb2-wrap input.cmb2-upload-file {
|
49 |
+
width: 65%;
|
50 |
}
|
51 |
+
/* line 52, sass/partials/_main_wrap.scss */
|
|
|
|
|
52 |
.cmb2-wrap input.ed_button {
|
53 |
+
padding: 2px 4px;
|
54 |
}
|
55 |
+
/* line 57, sass/partials/_main_wrap.scss */
|
|
|
|
|
56 |
.cmb2-wrap input:not([type="hidden"]) + input,
|
57 |
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
58 |
.cmb2-wrap input:not([type="hidden"]) + select {
|
59 |
+
margin-left: 20px;
|
60 |
}
|
61 |
+
/* line 65, sass/partials/_main_wrap.scss */
|
|
|
|
|
62 |
.cmb2-wrap ul {
|
63 |
+
margin: 0;
|
64 |
}
|
65 |
+
/* line 69, sass/partials/_main_wrap.scss */
|
|
|
|
|
66 |
.cmb2-wrap li {
|
67 |
+
font-size: 14px;
|
68 |
+
line-height: 16px;
|
69 |
+
margin: 1px 0 5px 0;
|
70 |
}
|
71 |
+
/* line 80, sass/partials/_main_wrap.scss */
|
|
|
|
|
72 |
.cmb2-wrap select {
|
73 |
+
font-size: 14px;
|
74 |
+
margin-top: 3px;
|
75 |
}
|
76 |
+
/* line 85, sass/partials/_main_wrap.scss */
|
|
|
|
|
77 |
.cmb2-wrap input:focus,
|
78 |
.cmb2-wrap textarea:focus {
|
79 |
+
background: #fffff8;
|
80 |
}
|
81 |
+
/* line 90, sass/partials/_main_wrap.scss */
|
|
|
|
|
82 |
.cmb2-wrap input[type="radio"] {
|
83 |
+
margin: 0 5px 0 0;
|
84 |
+
padding: 0;
|
85 |
}
|
86 |
+
/* line 95, sass/partials/_main_wrap.scss */
|
|
|
|
|
87 |
.cmb2-wrap input[type="checkbox"] {
|
88 |
+
margin: 0 5px 0 0;
|
89 |
+
padding: 0;
|
90 |
}
|
91 |
+
/* line 100, sass/partials/_main_wrap.scss */
|
|
|
|
|
92 |
.cmb2-wrap button,
|
93 |
.cmb2-wrap .button-secondary {
|
94 |
+
white-space: nowrap;
|
95 |
}
|
96 |
+
/* line 105, sass/partials/_main_wrap.scss */
|
|
|
|
|
97 |
.cmb2-wrap .mceLayout {
|
98 |
+
border: 1px solid #e9e9e9 !important;
|
99 |
}
|
100 |
+
/* line 109, sass/partials/_main_wrap.scss */
|
|
|
|
|
101 |
.cmb2-wrap .mceIframeContainer {
|
102 |
+
background: #ffffff;
|
103 |
}
|
104 |
+
/* line 113, sass/partials/_main_wrap.scss */
|
|
|
|
|
105 |
.cmb2-wrap .meta_mce {
|
106 |
+
width: 97%;
|
107 |
}
|
108 |
+
/* line 116, sass/partials/_main_wrap.scss */
|
|
|
|
|
109 |
.cmb2-wrap .meta_mce textarea {
|
110 |
+
width: 100%;
|
111 |
}
|
112 |
+
/* line 122, sass/partials/_main_wrap.scss */
|
113 |
+
.cmb2-wrap .cmb-multicheck-toggle {
|
114 |
+
margin-top: -1em;
|
|
|
|
|
|
|
115 |
}
|
116 |
+
/* line 127, sass/partials/_main_wrap.scss */
|
117 |
+
.cmb2-wrap .wp-picker-clear.button,
|
118 |
+
.cmb2-wrap .wp-picker-default.button {
|
119 |
+
margin-left: 6px;
|
120 |
+
padding: 2px 8px;
|
|
|
121 |
}
|
122 |
+
/* line 133, sass/partials/_main_wrap.scss */
|
|
|
|
|
123 |
.cmb2-wrap .cmb-row {
|
124 |
+
margin: 0;
|
125 |
}
|
126 |
+
/* line 136, sass/partials/_main_wrap.scss */
|
|
|
|
|
127 |
.cmb2-wrap .cmb-row:after {
|
128 |
+
content: '';
|
129 |
+
clear: both;
|
130 |
+
display: block;
|
131 |
+
width: 100%;
|
132 |
}
|
133 |
+
/* line 143, sass/partials/_main_wrap.scss */
|
|
|
|
|
134 |
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
135 |
+
padding-top: 0;
|
136 |
+
padding-bottom: 1em;
|
137 |
}
|
138 |
|
139 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
140 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
141 |
+
margin: .1875rem;
|
142 |
+
}
|
143 |
+
@media screen and (max-width: 782px) {
|
144 |
+
/* line 154, sass/partials/_main_wrap.scss */
|
145 |
+
body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type="radio"]::before {
|
146 |
+
margin: .4375rem;
|
147 |
+
}
|
148 |
+
}
|
149 |
|
150 |
+
/* line 162, sass/partials/_main_wrap.scss */
|
151 |
.cmb2-metabox {
|
152 |
+
clear: both;
|
153 |
+
margin: 0;
|
154 |
}
|
155 |
+
/* line 168, sass/partials/_main_wrap.scss */
|
|
|
|
|
156 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
157 |
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
158 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
159 |
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-th {
|
160 |
+
border: 0;
|
161 |
}
|
162 |
|
163 |
+
/* line 175, sass/partials/_main_wrap.scss */
|
|
|
164 |
.cmb-add-row {
|
165 |
+
margin: 1.8em 0 0;
|
166 |
}
|
167 |
|
168 |
+
/* line 179, sass/partials/_main_wrap.scss */
|
|
|
169 |
.cmb-nested .cmb-td,
|
170 |
.cmb-repeatable-group .cmb-th,
|
171 |
.cmb-repeatable-group:first-of-type {
|
172 |
+
border: 0;
|
173 |
}
|
174 |
|
175 |
+
/* line 185, sass/partials/_main_wrap.scss */
|
|
|
176 |
.cmb-row:last-of-type,
|
177 |
.cmb2-wrap .cmb-row:last-of-type,
|
178 |
.cmb-repeatable-group:last-of-type {
|
179 |
+
border-bottom: 0;
|
180 |
}
|
181 |
|
182 |
+
/* line 191, sass/partials/_main_wrap.scss */
|
|
|
183 |
.cmb-repeatable-grouping {
|
184 |
+
border: 1px solid #e9e9e9;
|
185 |
+
padding: 0 1em;
|
186 |
}
|
187 |
+
/* line 195, sass/partials/_main_wrap.scss */
|
|
|
|
|
188 |
.cmb-repeatable-grouping.cmb-row {
|
189 |
+
margin: 0 0 0.8em;
|
190 |
}
|
191 |
|
192 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
|
|
193 |
.cmb-th {
|
194 |
+
color: #222222;
|
195 |
+
float: left;
|
196 |
+
font-weight: 600;
|
197 |
+
padding: 20px 10px 20px 0;
|
198 |
+
vertical-align: top;
|
199 |
+
width: 200px;
|
|
|
200 |
}
|
201 |
+
@media (max-width: 450px) {
|
202 |
+
/* line 203, sass/partials/_main_wrap.scss */
|
203 |
+
.cmb-th {
|
204 |
+
font-size: 1.2em;
|
205 |
+
display: block;
|
206 |
+
float: none;
|
207 |
+
padding-bottom: 1em;
|
208 |
+
text-align: left;
|
209 |
+
width: 100%;
|
210 |
+
}
|
211 |
+
/* line 27, sass/partials/_mixins.scss */
|
212 |
+
.cmb-th label {
|
213 |
+
display: block;
|
214 |
+
margin-top: 0;
|
215 |
+
margin-bottom: 0.5em;
|
216 |
+
}
|
217 |
}
|
218 |
|
219 |
/* line 216, sass/partials/_main_wrap.scss */
|
220 |
+
.cmb-td {
|
221 |
+
line-height: 1.3;
|
222 |
+
max-width: 100%;
|
223 |
+
padding: 15px 10px;
|
224 |
+
vertical-align: middle;
|
225 |
+
}
|
226 |
|
227 |
+
/* line 225, sass/partials/_main_wrap.scss */
|
228 |
.cmb-type-title .cmb-td {
|
229 |
+
padding: 0;
|
230 |
}
|
231 |
|
232 |
+
/* line 230, sass/partials/_main_wrap.scss */
|
|
|
233 |
.cmb-th label {
|
234 |
+
display: block;
|
235 |
+
padding: 5px 0;
|
236 |
}
|
237 |
|
238 |
+
/* line 235, sass/partials/_main_wrap.scss */
|
|
|
239 |
.cmb-th + .cmb-td {
|
240 |
+
float: left;
|
241 |
}
|
242 |
|
243 |
+
/* line 239, sass/partials/_main_wrap.scss */
|
|
|
244 |
.cmb-td .cmb-td {
|
245 |
+
padding-bottom: 1em;
|
246 |
}
|
247 |
|
248 |
+
/* line 243, sass/partials/_main_wrap.scss */
|
|
|
249 |
.cmb-remove-row {
|
250 |
+
text-align: right;
|
251 |
}
|
252 |
|
253 |
+
/* line 247, sass/partials/_main_wrap.scss */
|
|
|
254 |
.empty-row.hidden {
|
255 |
+
display: none;
|
256 |
}
|
257 |
|
258 |
+
/* line 252, sass/partials/_main_wrap.scss */
|
|
|
259 |
.cmb-repeat-table {
|
260 |
+
background-color: #fafafa;
|
261 |
+
border: 1px solid #e1e1e1;
|
262 |
}
|
263 |
+
/* line 256, sass/partials/_main_wrap.scss */
|
|
|
|
|
264 |
.cmb-repeat-table .cmb-row.cmb-repeat-row {
|
265 |
+
position: relative;
|
266 |
+
counter-increment: el;
|
267 |
+
margin: 0;
|
268 |
+
padding: 10px 10px 10px 50px;
|
269 |
+
border-bottom: none !important;
|
270 |
}
|
271 |
+
/* line 264, sass/partials/_main_wrap.scss */
|
|
|
|
|
272 |
.cmb-repeat-table .cmb-row.cmb-repeat-row + .cmb-repeat-row {
|
273 |
+
border-top: solid 1px #e9e9e9;
|
274 |
}
|
275 |
+
/* line 268, sass/partials/_main_wrap.scss */
|
276 |
+
.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper {
|
277 |
+
outline: dashed 2px #e9e9e9 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
}
|
279 |
+
/* line 272, sass/partials/_main_wrap.scss */
|
280 |
+
.cmb-repeat-table .cmb-row.cmb-repeat-row:before {
|
281 |
+
content: counter(el);
|
282 |
+
display: block;
|
283 |
+
top: 0;
|
284 |
+
left: 0;
|
285 |
+
position: absolute;
|
286 |
+
width: 35px;
|
287 |
+
height: 100%;
|
288 |
+
line-height: 35px;
|
289 |
+
cursor: move;
|
290 |
+
color: #757575;
|
291 |
+
text-align: center;
|
292 |
+
border-right: solid 1px #e9e9e9;
|
293 |
+
}
|
294 |
+
/* line 289, sass/partials/_main_wrap.scss */
|
295 |
.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td {
|
296 |
+
margin: 0;
|
297 |
+
padding: 0;
|
298 |
}
|
299 |
+
/* line 296, sass/partials/_main_wrap.scss */
|
|
|
|
|
300 |
.cmb-repeat-table + .cmb-add-row {
|
301 |
+
margin: 0;
|
302 |
}
|
303 |
+
/* line 299, sass/partials/_main_wrap.scss */
|
|
|
|
|
304 |
.cmb-repeat-table + .cmb-add-row:before {
|
305 |
+
content: '';
|
306 |
+
width: 1px;
|
307 |
+
height: 1.6em;
|
308 |
+
display: block;
|
309 |
+
margin-left: 17px;
|
310 |
+
background-color: gainsboro;
|
311 |
+
}
|
312 |
+
/* line 309, sass/partials/_main_wrap.scss */
|
|
|
|
|
313 |
.cmb-repeat-table .cmb-remove-row {
|
314 |
+
top: 7px;
|
315 |
+
right: 7px;
|
316 |
+
position: absolute;
|
317 |
+
width: auto;
|
318 |
+
margin-left: 0;
|
319 |
+
padding: 0 !important;
|
320 |
+
display: none;
|
321 |
+
}
|
322 |
+
/* line 320, sass/partials/_main_wrap.scss */
|
|
|
|
|
323 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button {
|
324 |
+
font-size: 20px;
|
325 |
+
text-indent: -1000px;
|
326 |
+
overflow: hidden;
|
327 |
+
position: relative;
|
328 |
+
height: auto;
|
329 |
+
line-height: 1;
|
330 |
+
padding: 0 10px 0;
|
331 |
+
}
|
332 |
+
/* line 331, sass/partials/_main_wrap.scss */
|
|
|
|
|
333 |
.cmb-repeat-table .cmb-remove-row > .cmb-remove-row-button:before {
|
334 |
+
content: "";
|
335 |
+
font-family: 'Dashicons';
|
336 |
+
speak: none;
|
337 |
+
font-weight: normal;
|
338 |
+
font-variant: normal;
|
339 |
+
text-transform: none;
|
340 |
+
line-height: 1;
|
341 |
+
-webkit-font-smoothing: antialiased;
|
342 |
+
margin: 0;
|
343 |
+
text-indent: 0;
|
344 |
+
position: absolute;
|
345 |
+
top: 0;
|
346 |
+
left: 0;
|
347 |
+
width: 100%;
|
348 |
+
height: 100%;
|
349 |
+
text-align: center;
|
350 |
+
}
|
351 |
+
/* line 337, sass/partials/_main_wrap.scss */
|
|
|
|
|
352 |
.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row {
|
353 |
+
display: block;
|
354 |
}
|
355 |
|
356 |
+
/* line 345, sass/partials/_main_wrap.scss */
|
|
|
357 |
.cmb-repeatable-group .cmb-th {
|
358 |
+
padding: 5px;
|
359 |
}
|
360 |
+
/* line 349, sass/partials/_main_wrap.scss */
|
|
|
|
|
361 |
.cmb-repeatable-group .cmb-group-title {
|
362 |
+
background-color: #e9e9e9;
|
363 |
+
padding: 8px 12px 8px 2.2em;
|
364 |
+
margin: 0 -1em;
|
365 |
+
min-height: 1.5em;
|
366 |
+
font-size: 14px;
|
367 |
+
line-height: 1.4;
|
368 |
+
}
|
369 |
+
/* line 357, sass/partials/_main_wrap.scss */
|
|
|
|
|
370 |
.cmb-repeatable-group .cmb-group-title h4 {
|
371 |
+
border: 0;
|
372 |
+
margin: 0;
|
373 |
+
font-size: 1.2em;
|
374 |
+
font-weight: 500;
|
375 |
+
padding: 0.5em 0.75em;
|
376 |
}
|
377 |
+
/* line 365, sass/partials/_main_wrap.scss */
|
|
|
|
|
378 |
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
379 |
+
display: block;
|
380 |
+
width: 100%;
|
381 |
}
|
382 |
+
/* line 371, sass/partials/_main_wrap.scss */
|
|
|
|
|
383 |
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
384 |
+
font-size: 1.2em;
|
385 |
+
display: block;
|
386 |
+
float: none;
|
387 |
+
padding-bottom: 1em;
|
388 |
+
text-align: left;
|
389 |
+
width: 100%;
|
390 |
}
|
|
|
391 |
/* line 27, sass/partials/_mixins.scss */
|
|
|
392 |
.cmb-repeatable-group .cmb-group-description .cmb-th label {
|
393 |
+
display: block;
|
394 |
+
margin-top: 0;
|
395 |
+
margin-bottom: 0.5em;
|
396 |
}
|
397 |
+
/* line 375, sass/partials/_main_wrap.scss */
|
|
|
|
|
398 |
.cmb-repeatable-group .cmb-shift-rows {
|
399 |
+
margin-right: 1em;
|
|
|
|
|
400 |
}
|
401 |
+
/* line 378, sass/partials/_main_wrap.scss */
|
402 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2 {
|
403 |
+
margin-top: .15em;
|
|
|
|
|
|
|
|
|
|
|
404 |
}
|
405 |
+
/* line 382, sass/partials/_main_wrap.scss */
|
406 |
+
.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2 {
|
407 |
+
margin-top: .2em;
|
|
|
|
|
408 |
}
|
409 |
+
/* line 387, sass/partials/_main_wrap.scss */
|
|
|
|
|
410 |
.cmb-repeatable-group .cmb2-upload-button {
|
411 |
+
float: right;
|
412 |
}
|
413 |
|
414 |
+
/* line 393, sass/partials/_main_wrap.scss */
|
|
|
415 |
p.cmb2-metabox-description {
|
416 |
+
color: #666;
|
417 |
+
letter-spacing: 0.01em;
|
418 |
+
margin: 0;
|
419 |
+
padding-top: .5em;
|
420 |
}
|
421 |
|
422 |
+
/* line 400, sass/partials/_main_wrap.scss */
|
|
|
423 |
span.cmb2-metabox-description {
|
424 |
+
color: #666;
|
425 |
+
letter-spacing: 0.01em;
|
426 |
}
|
427 |
|
428 |
+
/* line 405, sass/partials/_main_wrap.scss */
|
|
|
429 |
.cmb2-metabox-title {
|
430 |
+
margin: 0 0 5px 0;
|
431 |
+
padding: 5px 0 0 0;
|
432 |
+
font-size: 14px;
|
433 |
}
|
434 |
|
435 |
+
/* line 411, sass/partials/_main_wrap.scss */
|
|
|
436 |
.cmb-inline ul {
|
437 |
+
padding: 4px 0 0 0;
|
438 |
}
|
439 |
|
440 |
+
/* line 415, sass/partials/_main_wrap.scss */
|
|
|
441 |
.cmb-inline li {
|
442 |
+
display: inline-block;
|
443 |
+
padding-right: 18px;
|
444 |
}
|
445 |
|
446 |
+
/* line 420, sass/partials/_main_wrap.scss */
|
|
|
447 |
.cmb-type-textarea-code pre {
|
448 |
+
margin: 0;
|
449 |
}
|
450 |
|
451 |
+
/* line 426, sass/partials/_main_wrap.scss */
|
|
|
452 |
.cmb2-media-status .img-status {
|
453 |
+
clear: none;
|
454 |
+
display: inline-block;
|
455 |
+
vertical-align: middle;
|
456 |
+
margin-right: 10px;
|
457 |
+
width: auto;
|
458 |
}
|
459 |
+
/* line 433, sass/partials/_main_wrap.scss */
|
|
|
|
|
460 |
.cmb2-media-status .img-status img {
|
461 |
+
max-width: 350px;
|
462 |
+
height: auto;
|
463 |
}
|
464 |
+
/* line 439, sass/partials/_main_wrap.scss */
|
|
|
|
|
465 |
.cmb2-media-status .img-status img,
|
466 |
.cmb2-media-status .embed-status {
|
467 |
+
background: #eee;
|
468 |
+
border: 5px solid #ffffff;
|
469 |
+
outline: 1px solid #e9e9e9;
|
470 |
+
box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
|
471 |
+
background-image: linear-gradient(45deg, #d0d0d0 25%, transparent 25%, transparent 75%, #d0d0d0 75%, #d0d0d0), linear-gradient(45deg, #d0d0d0 25%, transparent 25%, transparent 75%, #d0d0d0 75%, #d0d0d0);
|
472 |
+
background-position: 0 0, 10px 10px;
|
473 |
+
background-size: 20px 20px;
|
474 |
+
border-radius: 2px;
|
475 |
+
-moz-border-radius: 2px;
|
476 |
+
margin: 15px 0 0 0;
|
477 |
+
}
|
478 |
+
/* line 453, sass/partials/_main_wrap.scss */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
479 |
.cmb2-media-status .embed-status {
|
480 |
+
float: left;
|
481 |
+
max-width: 800px;
|
482 |
+
}
|
483 |
+
/* line 458, sass/partials/_main_wrap.scss */
|
484 |
+
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
485 |
+
position: relative;
|
486 |
+
}
|
487 |
+
/* line 461, sass/partials/_main_wrap.scss */
|
488 |
+
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
489 |
+
background: url(../images/ico-delete.png);
|
490 |
+
height: 16px;
|
491 |
+
left: -5px;
|
492 |
+
position: absolute;
|
493 |
+
text-indent: -9999px;
|
494 |
+
top: -5px;
|
495 |
+
width: 16px;
|
496 |
+
}
|
497 |
+
/* line 475, sass/partials/_main_wrap.scss */
|
498 |
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
499 |
+
top: 10px;
|
500 |
}
|
501 |
+
/* line 480, sass/partials/_main_wrap.scss */
|
502 |
+
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
503 |
+
cursor: pointer;
|
|
|
|
|
|
|
504 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
505 |
/* line 485, sass/partials/_main_wrap.scss */
|
506 |
+
.cmb2-media-status.cmb-attach-list .img-status img, .cmb2-media-status.cmb-attach-list .file-status > span {
|
507 |
+
cursor: move;
|
508 |
+
}
|
509 |
|
510 |
+
/* line 492, sass/partials/_main_wrap.scss */
|
511 |
.cmb-type-file-list .cmb2-media-status .img-status {
|
512 |
+
clear: none;
|
513 |
+
vertical-align: middle;
|
514 |
+
width: auto;
|
515 |
+
margin-right: 10px;
|
516 |
+
margin-bottom: 10px;
|
517 |
+
margin-top: 0;
|
518 |
}
|
519 |
|
520 |
+
/* line 501, sass/partials/_main_wrap.scss */
|
|
|
521 |
.cmb-attach-list li {
|
522 |
+
clear: both;
|
523 |
+
display: inline-block;
|
524 |
+
width: 100%;
|
525 |
+
margin-top: 5px;
|
526 |
+
margin-bottom: 10px;
|
527 |
}
|
528 |
+
/* line 507, sass/partials/_main_wrap.scss */
|
|
|
|
|
529 |
.cmb-attach-list li img {
|
530 |
+
float: left;
|
531 |
+
margin-right: 10px;
|
532 |
}
|
533 |
|
534 |
+
/* line 513, sass/partials/_main_wrap.scss */
|
|
|
535 |
.cmb2-remove-wrapper {
|
536 |
+
margin: 0;
|
537 |
}
|
538 |
|
539 |
+
/* line 517, sass/partials/_main_wrap.scss */
|
|
|
540 |
.child-cmb2 .cmb-th {
|
541 |
+
text-align: left;
|
542 |
}
|
543 |
|
544 |
+
/* line 521, sass/partials/_main_wrap.scss */
|
|
|
545 |
.cmb2-indented-hierarchy {
|
546 |
+
padding-left: 1.5em;
|
547 |
}
|
548 |
|
549 |
+
@media (max-width: 450px) {
|
550 |
+
/* line 526, sass/partials/_main_wrap.scss */
|
551 |
+
.cmb-th,
|
552 |
+
.cmb-td,
|
553 |
+
.cmb-th + .cmb-td {
|
554 |
+
display: block;
|
555 |
+
float: none;
|
556 |
+
width: 100%;
|
557 |
+
}
|
558 |
+
}
|
559 |
/*--------------------------------------------------------------
|
560 |
* Post Metaboxes
|
561 |
--------------------------------------------------------------*/
|
|
|
562 |
/* line 5, sass/partials/_post_metaboxes.scss */
|
|
|
563 |
#poststuff .cmb-group-title {
|
564 |
+
margin-left: -1em;
|
565 |
+
margin-right: -1em;
|
566 |
+
min-height: 1.5em;
|
567 |
}
|
568 |
|
569 |
/* line 11, sass/partials/_post_metaboxes.scss */
|
|
|
570 |
#poststuff .repeatable .cmb-group-title {
|
571 |
+
padding-left: 2.2em;
|
572 |
}
|
573 |
|
574 |
/* line 17, sass/partials/_post_metaboxes.scss */
|
575 |
+
.cmb2-postbox .cmb2-wrap, .cmb-type-group .cmb2-wrap {
|
576 |
+
margin: 0;
|
|
|
|
|
577 |
}
|
|
|
578 |
/* line 20, sass/partials/_post_metaboxes.scss */
|
579 |
+
.cmb2-postbox .cmb2-wrap > .cmb-field-list > .cmb-row, .cmb-type-group .cmb2-wrap > .cmb-field-list > .cmb-row {
|
580 |
+
padding: 1.8em 0;
|
|
|
|
|
581 |
}
|
|
|
582 |
/* line 26, sass/partials/_post_metaboxes.scss */
|
583 |
+
.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed, .cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed {
|
584 |
+
width: 100%;
|
|
|
|
|
585 |
}
|
|
|
586 |
/* line 32, sass/partials/_post_metaboxes.scss */
|
587 |
+
.cmb2-postbox .cmb-row, .cmb-type-group .cmb-row {
|
588 |
+
padding: 0 0 1.8em;
|
589 |
+
margin: 0 0 0.8em;
|
|
|
|
|
590 |
}
|
|
|
591 |
/* line 36, sass/partials/_post_metaboxes.scss */
|
592 |
+
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
593 |
+
right: -1em;
|
594 |
+
position: relative;
|
595 |
+
color: #222222;
|
596 |
+
}
|
597 |
+
/* line 43, sass/partials/_post_metaboxes.scss */
|
598 |
+
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
599 |
+
padding: 0 1em;
|
600 |
+
max-width: 100%;
|
601 |
+
min-width: 1px !important;
|
602 |
+
}
|
603 |
+
/* line 49, sass/partials/_post_metaboxes.scss */
|
604 |
+
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
605 |
+
padding-bottom: 0;
|
606 |
+
}
|
607 |
+
/* line 53, sass/partials/_post_metaboxes.scss */
|
608 |
+
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
609 |
+
width: 18%;
|
610 |
+
padding: 0 2% 0 0;
|
611 |
+
}
|
612 |
+
/* line 59, sass/partials/_post_metaboxes.scss */
|
613 |
+
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
614 |
+
margin-bottom: 0;
|
615 |
+
padding: 0;
|
616 |
+
line-height: 1.3;
|
617 |
+
}
|
618 |
+
/* line 65, sass/partials/_post_metaboxes.scss */
|
619 |
+
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
620 |
+
width: 80%;
|
621 |
+
float: right;
|
622 |
+
}
|
623 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
624 |
.cmb2-postbox .cmb-row:not(:last-of-type),
|
625 |
+
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
|
|
626 |
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
627 |
+
border-bottom: 1px solid #e9e9e9;
|
628 |
}
|
629 |
+
@media (max-width: 450px) {
|
630 |
+
/* line 70, sass/partials/_post_metaboxes.scss */
|
631 |
+
.cmb2-postbox .cmb-row:not(:last-of-type),
|
632 |
+
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
633 |
+
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
634 |
+
border-bottom: 0;
|
635 |
+
}
|
636 |
+
}
|
637 |
+
/* line 79, sass/partials/_post_metaboxes.scss */
|
638 |
.cmb2-postbox .cmb-repeat-group-field,
|
639 |
+
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
|
|
640 |
.cmb-type-group .cmb-remove-field-row {
|
641 |
+
padding-top: 1.8em;
|
642 |
}
|
643 |
|
644 |
/*--------------------------------------------------------------
|
645 |
* Context Metaboxes
|
646 |
--------------------------------------------------------------*/
|
|
|
647 |
/* Metabox collapse arrow indicators */
|
648 |
+
/* line 8, sass/partials/_context_metaboxes.scss */
|
649 |
+
.js .cmb2-postbox.context-box .handlediv {
|
650 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
651 |
}
|
652 |
+
/* line 13, sass/partials/_context_metaboxes.scss */
|
653 |
+
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
654 |
+
content: "\f142";
|
655 |
+
display: inline-block;
|
656 |
+
font: normal 20px/1 dashicons;
|
657 |
+
speak: none;
|
658 |
+
-webkit-font-smoothing: antialiased;
|
659 |
+
-moz-osx-font-smoothing: grayscale;
|
660 |
+
text-decoration: none !important;
|
661 |
+
}
|
662 |
+
/* line 26, sass/partials/_context_metaboxes.scss */
|
663 |
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
664 |
+
content: "\f140";
|
665 |
}
|
666 |
|
667 |
+
/* line 34, sass/partials/_context_metaboxes.scss */
|
|
|
668 |
.cmb2-postbox.context-box {
|
669 |
+
margin-bottom: 10px;
|
670 |
}
|
671 |
+
/* line 38, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
672 |
.cmb2-postbox.context-box.context-before_permalink-box {
|
673 |
+
margin-top: 10px;
|
674 |
}
|
675 |
+
/* line 42, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
676 |
.cmb2-postbox.context-box.context-after_title-box {
|
677 |
+
margin-top: 10px;
|
678 |
}
|
679 |
+
/* line 46, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
680 |
.cmb2-postbox.context-box.context-after_editor-box {
|
681 |
+
margin-top: 20px;
|
682 |
+
margin-bottom: 0;
|
683 |
}
|
684 |
+
/* line 51, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
685 |
.cmb2-postbox.context-box.context-form_top-box {
|
686 |
+
margin-top: 10px;
|
687 |
}
|
688 |
+
/* line 55, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
689 |
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
690 |
+
font-size: 14px;
|
691 |
+
padding: 8px 12px;
|
692 |
+
margin: 0;
|
693 |
+
line-height: 1.4;
|
694 |
}
|
695 |
+
/* line 63, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
696 |
.cmb2-postbox.context-box .hndle {
|
697 |
+
cursor: auto;
|
698 |
}
|
699 |
|
700 |
+
/* line 68, sass/partials/_context_metaboxes.scss */
|
|
|
701 |
.cmb2-context-wrap {
|
702 |
+
margin-top: 10px;
|
703 |
}
|
704 |
+
/* line 72, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
705 |
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
706 |
+
margin-right: 300px;
|
707 |
+
width: auto;
|
708 |
}
|
709 |
+
/* line 79, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
710 |
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
711 |
+
padding: 10px;
|
712 |
}
|
713 |
+
/* line 84, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
714 |
.cmb2-context-wrap .cmb-th {
|
715 |
+
padding: 0 2% 0 0;
|
716 |
+
width: 18%;
|
717 |
}
|
718 |
+
/* line 89, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
719 |
.cmb2-context-wrap .cmb-td {
|
720 |
+
width: 80%;
|
721 |
+
padding: 0;
|
722 |
}
|
723 |
+
/* line 94, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
724 |
.cmb2-context-wrap .cmb-row {
|
725 |
+
margin-bottom: 10px;
|
726 |
}
|
727 |
+
/* line 97, sass/partials/_context_metaboxes.scss */
|
|
|
|
|
728 |
.cmb2-context-wrap .cmb-row:last-of-type {
|
729 |
+
margin-bottom: 0;
|
730 |
}
|
731 |
|
732 |
/* one column on the post write/edit screen */
|
733 |
+
@media only screen and (max-width: 850px) {
|
734 |
+
/* line 107, sass/partials/_context_metaboxes.scss */
|
735 |
+
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
736 |
+
margin-right: 0;
|
737 |
+
}
|
738 |
+
}
|
739 |
/*--------------------------------------------------------------
|
740 |
* Options page
|
741 |
--------------------------------------------------------------*/
|
|
|
742 |
/* line 5, sass/partials/_options-page.scss */
|
|
|
743 |
.cmb2-options-page {
|
744 |
+
max-width: 1200px;
|
745 |
}
|
|
|
746 |
/* line 8, sass/partials/_options-page.scss */
|
|
|
747 |
.cmb2-options-page.wrap > h2 {
|
748 |
+
margin-bottom: 1em;
|
749 |
}
|
|
|
750 |
/* line 12, sass/partials/_options-page.scss */
|
|
|
751 |
.cmb2-options-page .cmb2-metabox > .cmb-row {
|
752 |
+
padding: 1em;
|
753 |
+
margin-top: -1px;
|
754 |
+
background: #ffffff;
|
755 |
+
border: 1px solid #e9e9e9;
|
756 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
757 |
}
|
|
|
758 |
/* line 19, sass/partials/_options-page.scss */
|
|
|
759 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th {
|
760 |
+
padding: 0;
|
761 |
+
font-weight: initial;
|
762 |
}
|
|
|
763 |
/* line 24, sass/partials/_options-page.scss */
|
|
|
764 |
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
765 |
+
float: none;
|
766 |
+
padding: 0 0 0 1em;
|
767 |
+
margin-left: 200px;
|
768 |
+
}
|
769 |
+
@media (max-width: 450px) {
|
770 |
+
/* line 24, sass/partials/_options-page.scss */
|
771 |
+
.cmb2-options-page .cmb2-metabox > .cmb-row > .cmb-th + .cmb-td {
|
772 |
+
padding: 0;
|
773 |
+
margin-left: 0;
|
774 |
+
}
|
775 |
}
|
|
|
776 |
/* line 37, sass/partials/_options-page.scss */
|
|
|
777 |
.cmb2-options-page .cmb2-wrap .cmb-type-title {
|
778 |
+
margin-top: 1em;
|
779 |
+
padding: 0.6em 1em;
|
780 |
+
background-color: #fafafa;
|
781 |
}
|
|
|
782 |
/* line 42, sass/partials/_options-page.scss */
|
|
|
783 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title {
|
784 |
+
font-size: 12px;
|
785 |
+
margin-top: 0;
|
786 |
+
margin-bottom: 0;
|
787 |
+
text-transform: uppercase;
|
788 |
}
|
|
|
789 |
/* line 49, sass/partials/_options-page.scss */
|
|
|
790 |
.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description {
|
791 |
+
padding-top: 0.25em;
|
792 |
}
|
|
|
793 |
/* line 55, sass/partials/_options-page.scss */
|
|
|
794 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th {
|
795 |
+
padding: 0 0 0.8em 0;
|
796 |
}
|
|
|
797 |
/* line 59, sass/partials/_options-page.scss */
|
|
|
798 |
.cmb2-options-page .cmb-repeatable-group .cmb-group-name {
|
799 |
+
font-size: 16px;
|
800 |
+
margin-top: 0;
|
801 |
+
margin-bottom: 0;
|
802 |
}
|
|
|
803 |
/* line 65, sass/partials/_options-page.scss */
|
|
|
804 |
.cmb2-options-page .cmb-repeatable-group .cmb-th > .cmb2-metabox-description {
|
805 |
+
font-weight: 400;
|
806 |
+
padding-bottom: 0 !important;
|
807 |
}
|
808 |
|
809 |
/*--------------------------------------------------------------
|
810 |
* New-Term Page
|
811 |
--------------------------------------------------------------*/
|
|
|
812 |
/* line 6, sass/partials/_new_term.scss */
|
|
|
813 |
#addtag .cmb-th {
|
814 |
+
float: none;
|
815 |
+
width: auto;
|
816 |
+
padding: 20px 0 0;
|
817 |
}
|
|
|
818 |
/* line 12, sass/partials/_new_term.scss */
|
|
|
819 |
#addtag .cmb-td {
|
820 |
+
padding: 0;
|
821 |
}
|
|
|
822 |
/* line 16, sass/partials/_new_term.scss */
|
|
|
823 |
#addtag .cmb-th + .cmb-td {
|
824 |
+
float: none;
|
825 |
}
|
|
|
826 |
/* line 20, sass/partials/_new_term.scss */
|
|
|
827 |
#addtag select {
|
828 |
+
max-width: 100%;
|
829 |
}
|
|
|
830 |
/* line 24, sass/partials/_new_term.scss */
|
|
|
831 |
#addtag .cmb2-metabox {
|
832 |
+
padding-bottom: 20px;
|
833 |
}
|
|
|
834 |
/* line 28, sass/partials/_new_term.scss */
|
|
|
835 |
#addtag .cmb-row li label {
|
836 |
+
display: inline;
|
837 |
}
|
838 |
|
839 |
/*--------------------------------------------------------------
|
840 |
* Misc.
|
841 |
--------------------------------------------------------------*/
|
|
|
842 |
/* line 5, sass/partials/_misc.scss */
|
|
|
843 |
#poststuff .cmb-repeatable-group h2 {
|
844 |
+
margin: 0;
|
845 |
}
|
846 |
|
847 |
/* line 12, sass/partials/_misc.scss */
|
|
|
848 |
.edit-tags-php .cmb2-metabox-title,
|
849 |
.profile-php .cmb2-metabox-title,
|
850 |
.user-edit-php .cmb2-metabox-title {
|
851 |
+
font-size: 1.4em;
|
852 |
}
|
853 |
|
854 |
/* line 18, sass/partials/_misc.scss */
|
855 |
+
.cmb2-postbox .cmb-spinner, .cmb2-no-box-wrap .cmb-spinner {
|
856 |
+
float: left;
|
857 |
+
display: none;
|
|
|
|
|
858 |
}
|
859 |
|
860 |
/* line 24, sass/partials/_misc.scss */
|
|
|
861 |
.cmb-spinner {
|
862 |
+
display: none;
|
863 |
}
|
|
|
864 |
/* line 26, sass/partials/_misc.scss */
|
|
|
865 |
.cmb-spinner.is-active {
|
866 |
+
display: block;
|
867 |
}
|
868 |
|
869 |
/*--------------------------------------------------------------
|
870 |
* Sidebar Placement Adjustments
|
871 |
--------------------------------------------------------------*/
|
|
|
872 |
/* line 10, sass/partials/_sidebar_placements.scss */
|
|
|
873 |
.inner-sidebar .cmb2-wrap > .cmb-field-list > .cmb-row,
|
874 |
#side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row {
|
875 |
+
padding: 1.4em 0;
|
876 |
}
|
|
|
877 |
/* line 16, sass/partials/_sidebar_placements.scss */
|
|
|
878 |
.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker),
|
879 |
#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker) {
|
880 |
+
width: 100%;
|
881 |
}
|
|
|
882 |
/* line 20, sass/partials/_sidebar_placements.scss */
|
883 |
+
.inner-sidebar .cmb2-wrap input + input:not(.wp-picker-clear), .inner-sidebar .cmb2-wrap input + select,
|
|
|
|
|
884 |
#side-sortables .cmb2-wrap input + input:not(.wp-picker-clear),
|
885 |
#side-sortables .cmb2-wrap input + select {
|
886 |
+
margin-left: 0;
|
887 |
+
margin-top: 1em;
|
888 |
+
display: block;
|
889 |
}
|
|
|
890 |
/* line 26, sass/partials/_sidebar_placements.scss */
|
|
|
891 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money,
|
892 |
#side-sortables .cmb2-wrap input.cmb2-text-money {
|
893 |
+
max-width: 70%;
|
894 |
}
|
|
|
895 |
/* line 28, sass/partials/_sidebar_placements.scss */
|
|
|
896 |
.inner-sidebar .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description,
|
897 |
#side-sortables .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description {
|
898 |
+
display: block;
|
899 |
}
|
|
|
900 |
/* line 34, sass/partials/_sidebar_placements.scss */
|
|
|
901 |
.inner-sidebar .cmb2-wrap label,
|
902 |
#side-sortables .cmb2-wrap label {
|
903 |
+
display: block;
|
904 |
+
font-weight: 700;
|
905 |
+
padding: 0 0 5px;
|
906 |
}
|
|
|
907 |
/* line 42, sass/partials/_sidebar_placements.scss */
|
|
|
908 |
.inner-sidebar textarea,
|
909 |
#side-sortables textarea {
|
910 |
+
max-width: 99%;
|
911 |
}
|
|
|
912 |
/* line 46, sass/partials/_sidebar_placements.scss */
|
|
|
913 |
.inner-sidebar .cmb-repeatable-group,
|
914 |
#side-sortables .cmb-repeatable-group {
|
915 |
+
border-bottom: 1px solid #e9e9e9;
|
916 |
}
|
|
|
917 |
/* line 50, sass/partials/_sidebar_placements.scss */
|
|
|
918 |
.inner-sidebar .cmb-type-group > .cmb-td > .cmb-repeatable-group,
|
919 |
#side-sortables .cmb-type-group > .cmb-td > .cmb-repeatable-group {
|
920 |
+
border-bottom: 0;
|
921 |
+
margin-bottom: -1.4em;
|
922 |
}
|
|
|
923 |
/* line 55, sass/partials/_sidebar_placements.scss */
|
|
|
924 |
.inner-sidebar .cmb-th,
|
925 |
.inner-sidebar .cmb-td:not(.cmb-remove-row),
|
926 |
.inner-sidebar .cmb-th + .cmb-td,
|
927 |
#side-sortables .cmb-th,
|
928 |
#side-sortables .cmb-td:not(.cmb-remove-row),
|
929 |
#side-sortables .cmb-th + .cmb-td {
|
930 |
+
width: 100%;
|
931 |
+
display: block;
|
932 |
+
float: none;
|
933 |
}
|
|
|
934 |
/* line 63, sass/partials/_sidebar_placements.scss */
|
|
|
935 |
.inner-sidebar .closed .inside,
|
936 |
#side-sortables .closed .inside {
|
937 |
+
display: none;
|
938 |
}
|
|
|
939 |
/* line 67, sass/partials/_sidebar_placements.scss */
|
|
|
940 |
.inner-sidebar .cmb-th,
|
941 |
#side-sortables .cmb-th {
|
942 |
+
display: block;
|
943 |
+
float: none;
|
944 |
+
padding-bottom: 1em;
|
945 |
+
text-align: left;
|
946 |
+
width: 100%;
|
947 |
+
padding-left: 0;
|
948 |
+
padding-right: 0;
|
949 |
}
|
|
|
950 |
/* line 27, sass/partials/_mixins.scss */
|
|
|
951 |
.inner-sidebar .cmb-th label,
|
952 |
#side-sortables .cmb-th label {
|
953 |
+
display: block;
|
954 |
+
margin-top: 0;
|
955 |
+
margin-bottom: 0.5em;
|
956 |
}
|
|
|
957 |
/* line 14, sass/partials/_mixins.scss */
|
|
|
958 |
.inner-sidebar .cmb-th label,
|
959 |
#side-sortables .cmb-th label {
|
960 |
+
font-size: 14px;
|
961 |
+
line-height: 1.4em;
|
962 |
}
|
|
|
963 |
/* line 74, sass/partials/_sidebar_placements.scss */
|
|
|
964 |
.inner-sidebar .cmb-group-description .cmb-th,
|
965 |
#side-sortables .cmb-group-description .cmb-th {
|
966 |
+
padding-top: 0;
|
967 |
}
|
|
|
968 |
/* line 77, sass/partials/_sidebar_placements.scss */
|
|
|
969 |
.inner-sidebar .cmb-group-description .cmb2-metabox-description,
|
970 |
#side-sortables .cmb-group-description .cmb2-metabox-description {
|
971 |
+
padding: 0;
|
972 |
}
|
|
|
973 |
/* line 84, sass/partials/_sidebar_placements.scss */
|
|
|
974 |
.inner-sidebar .cmb-group-title .cmb-th,
|
975 |
#side-sortables .cmb-group-title .cmb-th {
|
976 |
+
padding: 0;
|
977 |
}
|
|
|
978 |
/* line 90, sass/partials/_sidebar_placements.scss */
|
|
|
979 |
.inner-sidebar .cmb-repeatable-grouping + .cmb-repeatable-grouping,
|
980 |
#side-sortables .cmb-repeatable-grouping + .cmb-repeatable-grouping {
|
981 |
+
margin-top: 1em;
|
982 |
}
|
|
|
983 |
/* line 99, sass/partials/_sidebar_placements.scss */
|
|
|
984 |
.inner-sidebar .cmb2-media-status .img-status img,
|
985 |
.inner-sidebar .cmb2-media-status .embed-status img,
|
986 |
#side-sortables .cmb2-media-status .img-status img,
|
987 |
#side-sortables .cmb2-media-status .embed-status img {
|
988 |
+
max-width: 90%;
|
989 |
+
height: auto;
|
990 |
}
|
|
|
991 |
/* line 107, sass/partials/_sidebar_placements.scss */
|
|
|
992 |
.inner-sidebar .cmb2-list label,
|
993 |
#side-sortables .cmb2-list label {
|
994 |
+
display: inline;
|
995 |
+
font-weight: normal;
|
996 |
}
|
|
|
997 |
/* line 112, sass/partials/_sidebar_placements.scss */
|
|
|
998 |
.inner-sidebar .cmb2-metabox-description,
|
999 |
#side-sortables .cmb2-metabox-description {
|
1000 |
+
display: block;
|
1001 |
+
padding: 7px 0 0;
|
1002 |
}
|
|
|
1003 |
/* line 119, sass/partials/_sidebar_placements.scss */
|
|
|
1004 |
.inner-sidebar .cmb-type-checkbox .cmb-td label,
|
1005 |
.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description,
|
1006 |
#side-sortables .cmb-type-checkbox .cmb-td label,
|
1007 |
#side-sortables .cmb-type-checkbox .cmb2-metabox-description {
|
1008 |
+
font-weight: normal;
|
1009 |
+
display: inline;
|
1010 |
}
|
|
|
1011 |
/* line 126, sass/partials/_sidebar_placements.scss */
|
|
|
1012 |
.inner-sidebar .cmb-row .cmb2-metabox-description,
|
1013 |
#side-sortables .cmb-row .cmb2-metabox-description {
|
1014 |
+
padding-bottom: 1.8em;
|
1015 |
}
|
|
|
1016 |
/* line 130, sass/partials/_sidebar_placements.scss */
|
|
|
1017 |
.inner-sidebar .cmb2-metabox-title,
|
1018 |
#side-sortables .cmb2-metabox-title {
|
1019 |
+
font-size: 1.2em;
|
1020 |
+
font-style: italic;
|
1021 |
}
|
|
|
1022 |
/* line 135, sass/partials/_sidebar_placements.scss */
|
|
|
1023 |
.inner-sidebar .cmb-remove-row,
|
1024 |
#side-sortables .cmb-remove-row {
|
1025 |
+
clear: both;
|
1026 |
+
padding-top: 12px;
|
1027 |
+
padding-bottom: 0;
|
1028 |
}
|
|
|
1029 |
/* line 141, sass/partials/_sidebar_placements.scss */
|
|
|
1030 |
.inner-sidebar .cmb2-upload-button,
|
1031 |
#side-sortables .cmb2-upload-button {
|
1032 |
+
clear: both;
|
1033 |
+
margin-top: 12px;
|
1034 |
}
|
1035 |
|
1036 |
/*--------------------------------------------------------------
|
1037 |
* Collapsible UI
|
1038 |
--------------------------------------------------------------*/
|
|
|
1039 |
/* line 6, sass/partials/_collapsible_ui.scss */
|
|
|
1040 |
.cmb2-metabox .cmbhandle {
|
1041 |
+
color: #757575;
|
1042 |
+
float: right;
|
1043 |
+
width: 27px;
|
1044 |
+
height: 30px;
|
1045 |
+
cursor: pointer;
|
1046 |
+
right: -1em;
|
1047 |
+
position: relative;
|
1048 |
}
|
|
|
1049 |
/* line 14, sass/partials/_collapsible_ui.scss */
|
|
|
1050 |
.cmb2-metabox .cmbhandle:before {
|
1051 |
+
content: '\f142';
|
1052 |
+
right: 12px;
|
1053 |
+
font: normal 20px/1 'dashicons';
|
1054 |
+
speak: none;
|
1055 |
+
display: inline-block;
|
1056 |
+
padding: 8px 10px;
|
1057 |
+
top: 0;
|
1058 |
+
position: relative;
|
1059 |
+
-webkit-font-smoothing: antialiased;
|
1060 |
+
-moz-osx-font-smoothing: grayscale;
|
1061 |
+
text-decoration: none !important;
|
1062 |
}
|
|
|
1063 |
/* line 31, sass/partials/_collapsible_ui.scss */
|
|
|
1064 |
.cmb2-metabox .postbox.closed .cmbhandle:before {
|
1065 |
+
content: '\f140';
|
1066 |
}
|
|
|
1067 |
/* line 37, sass/partials/_collapsible_ui.scss */
|
|
|
1068 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
|
1069 |
+
-webkit-appearance: none !important;
|
1070 |
+
background: none !important;
|
1071 |
+
border: none !important;
|
1072 |
+
position: absolute;
|
1073 |
+
left: 0;
|
1074 |
+
top: .5em;
|
1075 |
+
line-height: 1em;
|
1076 |
+
padding: 2px 6px 3px;
|
1077 |
+
opacity: .5;
|
1078 |
}
|
|
|
1079 |
/* line 47, sass/partials/_collapsible_ui.scss */
|
|
|
1080 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) {
|
1081 |
+
cursor: pointer;
|
1082 |
+
color: #a00;
|
1083 |
+
opacity: 1;
|
1084 |
}
|
|
|
1085 |
/* line 51, sass/partials/_collapsible_ui.scss */
|
|
|
1086 |
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover {
|
1087 |
+
color: #f00;
|
1088 |
}
|
1089 |
|
1090 |
/*
|
1100 |
* https://github.com/stuttter/wp-datepicker-styling
|
1101 |
*
|
1102 |
*/
|
|
|
1103 |
/* line 15, sass/partials/_jquery_ui.scss */
|
|
|
1104 |
* html .cmb2-element.ui-helper-clearfix {
|
1105 |
+
height: 1%;
|
1106 |
}
|
1107 |
|
1108 |
/* line 24, sass/partials/_jquery_ui.scss */
|
1109 |
+
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
1110 |
+
padding: 0;
|
1111 |
+
margin: 0;
|
1112 |
+
-webkit-border-radius: 0;
|
1113 |
+
-moz-border-radius: 0;
|
1114 |
+
border-radius: 0;
|
1115 |
+
background-color: #fff;
|
1116 |
+
border: 1px solid #dfdfdf;
|
1117 |
+
border-top: none;
|
1118 |
+
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
1119 |
+
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
1120 |
+
min-width: 17em;
|
1121 |
+
width: auto;
|
1122 |
+
/* Default Color Scheme */
|
|
|
1123 |
}
|
|
|
1124 |
/* line 38, sass/partials/_jquery_ui.scss */
|
1125 |
+
.cmb2-element.ui-datepicker *, .cmb2-element .ui-datepicker * {
|
1126 |
+
padding: 0;
|
1127 |
+
font-family: "Open Sans", sans-serif;
|
1128 |
+
-webkit-border-radius: 0;
|
1129 |
+
-moz-border-radius: 0;
|
1130 |
+
border-radius: 0;
|
|
|
|
|
1131 |
}
|
|
|
1132 |
/* line 46, sass/partials/_jquery_ui.scss */
|
1133 |
+
.cmb2-element.ui-datepicker table, .cmb2-element .ui-datepicker table {
|
1134 |
+
font-size: 13px;
|
1135 |
+
margin: 0;
|
1136 |
+
border: none;
|
1137 |
+
border-collapse: collapse;
|
|
|
|
|
1138 |
}
|
|
|
1139 |
/* line 53, sass/partials/_jquery_ui.scss */
|
|
|
1140 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1141 |
+
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1142 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1143 |
+
background-image: none;
|
1144 |
+
border: none;
|
1145 |
+
color: #fff;
|
1146 |
+
font-weight: normal;
|
1147 |
}
|
|
|
1148 |
/* line 61, sass/partials/_jquery_ui.scss */
|
1149 |
+
.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
1150 |
+
background: transparent;
|
1151 |
+
border-color: transparent;
|
1152 |
+
cursor: pointer;
|
|
|
|
|
1153 |
}
|
|
|
1154 |
/* line 67, sass/partials/_jquery_ui.scss */
|
1155 |
+
.cmb2-element.ui-datepicker .ui-datepicker-title, .cmb2-element .ui-datepicker .ui-datepicker-title {
|
1156 |
+
margin: 0;
|
1157 |
+
padding: 10px 0;
|
1158 |
+
color: #fff;
|
1159 |
+
font-size: 14px;
|
1160 |
+
line-height: 14px;
|
1161 |
+
text-align: center;
|
|
|
|
|
1162 |
}
|
|
|
1163 |
/* line 75, sass/partials/_jquery_ui.scss */
|
1164 |
+
.cmb2-element.ui-datepicker .ui-datepicker-title select, .cmb2-element .ui-datepicker .ui-datepicker-title select {
|
1165 |
+
margin-top: -8px;
|
1166 |
+
margin-bottom: -8px;
|
|
|
|
|
1167 |
}
|
|
|
1168 |
/* line 81, sass/partials/_jquery_ui.scss */
|
|
|
1169 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1170 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
|
|
1171 |
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
1172 |
+
position: relative;
|
1173 |
+
top: 0;
|
1174 |
+
height: 34px;
|
1175 |
+
width: 34px;
|
1176 |
}
|
|
|
1177 |
/* line 89, sass/partials/_jquery_ui.scss */
|
|
|
1178 |
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
1179 |
+
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next, .cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
|
|
1180 |
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next {
|
1181 |
+
border: none;
|
1182 |
}
|
|
|
1183 |
/* line 94, sass/partials/_jquery_ui.scss */
|
|
|
1184 |
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
1185 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
|
|
1186 |
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover {
|
1187 |
+
left: 0;
|
1188 |
}
|
|
|
1189 |
/* line 99, sass/partials/_jquery_ui.scss */
|
|
|
1190 |
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
1191 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next-hover, .cmb2-element .ui-datepicker .ui-datepicker-next,
|
|
|
1192 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover {
|
1193 |
+
right: 0;
|
1194 |
}
|
|
|
1195 |
/* line 104, sass/partials/_jquery_ui.scss */
|
|
|
1196 |
.cmb2-element.ui-datepicker .ui-datepicker-next span,
|
1197 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev span, .cmb2-element .ui-datepicker .ui-datepicker-next span,
|
|
|
1198 |
.cmb2-element .ui-datepicker .ui-datepicker-prev span {
|
1199 |
+
display: none;
|
1200 |
}
|
|
|
1201 |
/* line 109, sass/partials/_jquery_ui.scss */
|
1202 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev, .cmb2-element .ui-datepicker .ui-datepicker-prev {
|
1203 |
+
float: left;
|
|
|
|
|
1204 |
}
|
|
|
1205 |
/* line 113, sass/partials/_jquery_ui.scss */
|
1206 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-next {
|
1207 |
+
float: right;
|
|
|
|
|
1208 |
}
|
|
|
1209 |
/* line 117, sass/partials/_jquery_ui.scss */
|
|
|
1210 |
.cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1211 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
|
|
1212 |
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1213 |
+
font: normal 20px/34px 'dashicons';
|
1214 |
+
padding-left: 7px;
|
1215 |
+
color: #fff;
|
1216 |
+
speak: none;
|
1217 |
+
-webkit-font-smoothing: antialiased;
|
1218 |
+
-moz-osx-font-smoothing: grayscale;
|
1219 |
+
width: 34px;
|
1220 |
+
height: 34px;
|
1221 |
}
|
|
|
1222 |
/* line 129, sass/partials/_jquery_ui.scss */
|
1223 |
+
.cmb2-element.ui-datepicker .ui-datepicker-prev:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before {
|
1224 |
+
content: '\f341';
|
|
|
|
|
1225 |
}
|
|
|
1226 |
/* line 133, sass/partials/_jquery_ui.scss */
|
1227 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1228 |
+
content: '\f345';
|
|
|
|
|
1229 |
}
|
|
|
1230 |
/* line 137, sass/partials/_jquery_ui.scss */
|
|
|
1231 |
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before,
|
1232 |
+
.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before, .cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,
|
|
|
1233 |
.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before {
|
1234 |
+
opacity: 0.7;
|
1235 |
}
|
|
|
1236 |
/* line 142, sass/partials/_jquery_ui.scss */
|
|
|
1237 |
.cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1238 |
+
.cmb2-element.ui-datepicker select.ui-datepicker-year, .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
|
|
1239 |
.cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1240 |
+
width: 33%;
|
1241 |
+
background: transparent;
|
1242 |
+
border-color: transparent;
|
1243 |
+
box-shadow: none;
|
1244 |
+
color: #fff;
|
1245 |
}
|
|
|
1246 |
/* line 149, sass/partials/_jquery_ui.scss */
|
|
|
1247 |
.cmb2-element.ui-datepicker select.ui-datepicker-month option,
|
1248 |
+
.cmb2-element.ui-datepicker select.ui-datepicker-year option, .cmb2-element .ui-datepicker select.ui-datepicker-month option,
|
|
|
1249 |
.cmb2-element .ui-datepicker select.ui-datepicker-year option {
|
1250 |
+
color: #333;
|
1251 |
}
|
|
|
1252 |
/* line 154, sass/partials/_jquery_ui.scss */
|
1253 |
+
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
1254 |
+
color: #fff;
|
1255 |
+
font-weight: 600;
|
|
|
|
|
1256 |
}
|
|
|
1257 |
/* line 157, sass/partials/_jquery_ui.scss */
|
1258 |
+
.cmb2-element.ui-datepicker thead th, .cmb2-element .ui-datepicker thead th {
|
1259 |
+
font-weight: normal;
|
|
|
|
|
1260 |
}
|
|
|
1261 |
/* line 162, sass/partials/_jquery_ui.scss */
|
1262 |
+
.cmb2-element.ui-datepicker th, .cmb2-element .ui-datepicker th {
|
1263 |
+
padding: 10px;
|
|
|
|
|
1264 |
}
|
|
|
1265 |
/* line 166, sass/partials/_jquery_ui.scss */
|
1266 |
+
.cmb2-element.ui-datepicker td, .cmb2-element .ui-datepicker td {
|
1267 |
+
padding: 0;
|
1268 |
+
border: 1px solid #f4f4f4;
|
|
|
|
|
1269 |
}
|
|
|
1270 |
/* line 171, sass/partials/_jquery_ui.scss */
|
1271 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-other-month, .cmb2-element .ui-datepicker td.ui-datepicker-other-month {
|
1272 |
+
border: transparent;
|
|
|
|
|
1273 |
}
|
|
|
1274 |
/* line 175, sass/partials/_jquery_ui.scss */
|
1275 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-week-end, .cmb2-element .ui-datepicker td.ui-datepicker-week-end {
|
1276 |
+
background-color: #f4f4f4;
|
1277 |
+
border: 1px solid #f4f4f4;
|
|
|
|
|
1278 |
}
|
|
|
1279 |
/* line 178, sass/partials/_jquery_ui.scss */
|
1280 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today {
|
1281 |
+
-webkit-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1282 |
+
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
1283 |
+
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
|
|
|
|
1284 |
}
|
|
|
1285 |
/* line 185, sass/partials/_jquery_ui.scss */
|
1286 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1287 |
+
background-color: #f0f0c0;
|
|
|
|
|
1288 |
}
|
|
|
1289 |
/* line 189, sass/partials/_jquery_ui.scss */
|
1290 |
+
.cmb2-element.ui-datepicker td.ui-datepicker-current-day, .cmb2-element .ui-datepicker td.ui-datepicker-current-day {
|
1291 |
+
background: #bbdd88;
|
|
|
|
|
1292 |
}
|
|
|
1293 |
/* line 193, sass/partials/_jquery_ui.scss */
|
1294 |
+
.cmb2-element.ui-datepicker td .ui-state-default, .cmb2-element .ui-datepicker td .ui-state-default {
|
1295 |
+
background: transparent;
|
1296 |
+
border: none;
|
1297 |
+
text-align: center;
|
1298 |
+
text-decoration: none;
|
1299 |
+
width: auto;
|
1300 |
+
display: block;
|
1301 |
+
padding: 5px 10px;
|
1302 |
+
font-weight: normal;
|
1303 |
+
color: #444;
|
|
|
|
|
1304 |
}
|
|
|
1305 |
/* line 205, sass/partials/_jquery_ui.scss */
|
1306 |
+
.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default, .cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default {
|
1307 |
+
opacity: 0.5;
|
|
|
|
|
1308 |
}
|
|
|
1309 |
/* line 210, sass/partials/_jquery_ui.scss */
|
|
|
1310 |
.cmb2-element.ui-datepicker .ui-widget-header,
|
1311 |
+
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1312 |
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
1313 |
+
background: #00a0d2;
|
1314 |
}
|
|
|
1315 |
/* line 215, sass/partials/_jquery_ui.scss */
|
1316 |
+
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
1317 |
+
background: #32373c;
|
|
|
|
|
1318 |
}
|
|
|
1319 |
/* line 219, sass/partials/_jquery_ui.scss */
|
1320 |
+
.cmb2-element.ui-datepicker td .ui-state-hover, .cmb2-element.ui-datepicker td .ui-state-active, .cmb2-element .ui-datepicker td .ui-state-hover, .cmb2-element .ui-datepicker td .ui-state-active {
|
1321 |
+
background: #0073aa;
|
1322 |
+
color: #fff;
|
|
|
|
|
|
|
|
|
1323 |
}
|
|
|
1324 |
/* line 224, sass/partials/_jquery_ui.scss */
|
1325 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div, .cmb2-element .ui-datepicker .ui-timepicker-div {
|
1326 |
+
font-size: 14px;
|
|
|
|
|
1327 |
}
|
|
|
1328 |
/* line 226, sass/partials/_jquery_ui.scss */
|
1329 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl, .cmb2-element .ui-datepicker .ui-timepicker-div dl {
|
1330 |
+
text-align: left;
|
1331 |
+
padding: 0 .6em;
|
|
|
|
|
1332 |
}
|
|
|
1333 |
/* line 229, sass/partials/_jquery_ui.scss */
|
1334 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl dt, .cmb2-element .ui-datepicker .ui-timepicker-div dl dt {
|
1335 |
+
float: left;
|
1336 |
+
clear: left;
|
1337 |
+
padding: 0 0 0 5px;
|
|
|
|
|
1338 |
}
|
|
|
1339 |
/* line 234, sass/partials/_jquery_ui.scss */
|
1340 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd {
|
1341 |
+
margin: 0 10px 10px 40%;
|
|
|
|
|
1342 |
}
|
|
|
1343 |
/* line 236, sass/partials/_jquery_ui.scss */
|
1344 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd select {
|
1345 |
+
width: 100%;
|
|
|
|
|
1346 |
}
|
|
|
1347 |
/* line 242, sass/partials/_jquery_ui.scss */
|
1348 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane {
|
1349 |
+
padding: .6em;
|
1350 |
+
text-align: left;
|
|
|
|
|
1351 |
}
|
|
|
1352 |
/* line 246, sass/partials/_jquery_ui.scss */
|
1353 |
+
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary {
|
1354 |
+
padding: 0 10px 1px;
|
1355 |
+
-webkit-border-radius: 3px;
|
1356 |
+
-moz-border-radius: 3px;
|
1357 |
+
border-radius: 3px;
|
1358 |
+
margin: 0 .6em .4em .4em;
|
|
|
|
|
|
|
|
|
1359 |
}
|
1360 |
|
1361 |
/* line 260, sass/partials/_jquery_ui.scss */
|
|
|
1362 |
.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header,
|
1363 |
+
.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1364 |
.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1365 |
+
background: #00a0d2;
|
1366 |
}
|
|
|
1367 |
/* line 265, sass/partials/_jquery_ui.scss */
|
1368 |
+
.admin-color-fresh .cmb2-element.ui-datepicker thead, .admin-color-fresh .cmb2-element .ui-datepicker thead {
|
1369 |
+
background: #32373c;
|
|
|
|
|
1370 |
}
|
|
|
1371 |
/* line 269, sass/partials/_jquery_ui.scss */
|
1372 |
+
.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover {
|
1373 |
+
background: #0073aa;
|
1374 |
+
color: #fff;
|
|
|
|
|
1375 |
}
|
1376 |
|
1377 |
/* line 277, sass/partials/_jquery_ui.scss */
|
|
|
1378 |
.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header,
|
1379 |
+
.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1380 |
.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1381 |
+
background: #52accc;
|
1382 |
}
|
|
|
1383 |
/* line 282, sass/partials/_jquery_ui.scss */
|
1384 |
+
.admin-color-blue .cmb2-element.ui-datepicker thead, .admin-color-blue .cmb2-element .ui-datepicker thead {
|
1385 |
+
background: #4796b3;
|
|
|
|
|
1386 |
}
|
|
|
1387 |
/* line 291, sass/partials/_jquery_ui.scss */
|
1388 |
+
.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active {
|
1389 |
+
background: #096484;
|
1390 |
+
color: #fff;
|
|
|
|
|
|
|
|
|
1391 |
}
|
|
|
1392 |
/* line 296, sass/partials/_jquery_ui.scss */
|
1393 |
+
.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1394 |
+
background: #eee;
|
|
|
|
|
1395 |
}
|
1396 |
|
1397 |
/* line 305, sass/partials/_jquery_ui.scss */
|
|
|
1398 |
.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header,
|
1399 |
+
.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1400 |
.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1401 |
+
background: #59524c;
|
1402 |
}
|
|
|
1403 |
/* line 310, sass/partials/_jquery_ui.scss */
|
1404 |
+
.admin-color-coffee .cmb2-element.ui-datepicker thead, .admin-color-coffee .cmb2-element .ui-datepicker thead {
|
1405 |
+
background: #46403c;
|
|
|
|
|
1406 |
}
|
|
|
1407 |
/* line 314, sass/partials/_jquery_ui.scss */
|
1408 |
+
.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover {
|
1409 |
+
background: #c7a589;
|
1410 |
+
color: #fff;
|
|
|
|
|
1411 |
}
|
1412 |
|
1413 |
/* line 322, sass/partials/_jquery_ui.scss */
|
|
|
1414 |
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header,
|
1415 |
+
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1416 |
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1417 |
+
background: #523f6d;
|
1418 |
}
|
|
|
1419 |
/* line 327, sass/partials/_jquery_ui.scss */
|
1420 |
+
.admin-color-ectoplasm .cmb2-element.ui-datepicker thead, .admin-color-ectoplasm .cmb2-element .ui-datepicker thead {
|
1421 |
+
background: #413256;
|
|
|
|
|
1422 |
}
|
|
|
1423 |
/* line 331, sass/partials/_jquery_ui.scss */
|
1424 |
+
.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover {
|
1425 |
+
background: #a3b745;
|
1426 |
+
color: #fff;
|
|
|
|
|
1427 |
}
|
1428 |
|
1429 |
/* line 339, sass/partials/_jquery_ui.scss */
|
|
|
1430 |
.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header,
|
1431 |
+
.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1432 |
.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1433 |
+
background: #363b3f;
|
1434 |
}
|
|
|
1435 |
/* line 344, sass/partials/_jquery_ui.scss */
|
1436 |
+
.admin-color-midnight .cmb2-element.ui-datepicker thead, .admin-color-midnight .cmb2-element .ui-datepicker thead {
|
1437 |
+
background: #26292c;
|
|
|
|
|
1438 |
}
|
|
|
1439 |
/* line 348, sass/partials/_jquery_ui.scss */
|
1440 |
+
.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover {
|
1441 |
+
background: #e14d43;
|
1442 |
+
color: #fff;
|
|
|
|
|
1443 |
}
|
1444 |
|
1445 |
/* line 356, sass/partials/_jquery_ui.scss */
|
|
|
1446 |
.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header,
|
1447 |
+
.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1448 |
.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1449 |
+
background: #738e96;
|
1450 |
}
|
|
|
1451 |
/* line 361, sass/partials/_jquery_ui.scss */
|
1452 |
+
.admin-color-ocean .cmb2-element.ui-datepicker thead, .admin-color-ocean .cmb2-element .ui-datepicker thead {
|
1453 |
+
background: #627c83;
|
|
|
|
|
1454 |
}
|
|
|
1455 |
/* line 365, sass/partials/_jquery_ui.scss */
|
1456 |
+
.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover {
|
1457 |
+
background: #9ebaa0;
|
1458 |
+
color: #fff;
|
|
|
|
|
1459 |
}
|
1460 |
|
1461 |
/* line 373, sass/partials/_jquery_ui.scss */
|
|
|
1462 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header,
|
1463 |
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,
|
1464 |
+
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1465 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,
|
1466 |
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
1467 |
+
background: #cf4944;
|
1468 |
}
|
|
|
1469 |
/* line 379, sass/partials/_jquery_ui.scss */
|
1470 |
+
.admin-color-sunrise .cmb2-element.ui-datepicker th, .admin-color-sunrise .cmb2-element .ui-datepicker th {
|
1471 |
+
border-color: #be3631;
|
1472 |
+
background: #be3631;
|
|
|
|
|
1473 |
}
|
|
|
1474 |
/* line 384, sass/partials/_jquery_ui.scss */
|
1475 |
+
.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover {
|
1476 |
+
background: #dd823b;
|
1477 |
+
color: #fff;
|
|
|
|
|
1478 |
}
|
1479 |
|
1480 |
/* line 392, sass/partials/_jquery_ui.scss */
|
|
|
1481 |
.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header,
|
1482 |
+
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1483 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1484 |
+
background: #e5e5e5;
|
1485 |
}
|
|
|
1486 |
/* line 397, sass/partials/_jquery_ui.scss */
|
|
|
1487 |
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,
|
1488 |
+
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year, .admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
|
|
1489 |
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year {
|
1490 |
+
color: #555;
|
1491 |
}
|
|
|
1492 |
/* line 402, sass/partials/_jquery_ui.scss */
|
1493 |
+
.admin-color-light .cmb2-element.ui-datepicker thead, .admin-color-light .cmb2-element .ui-datepicker thead {
|
1494 |
+
background: #888;
|
|
|
|
|
1495 |
}
|
|
|
1496 |
/* line 406, sass/partials/_jquery_ui.scss */
|
|
|
1497 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,
|
1498 |
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default,
|
1499 |
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
1500 |
+
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before, .admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,
|
|
|
1501 |
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,
|
1502 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
1503 |
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
1504 |
+
color: #555;
|
1505 |
}
|
|
|
1506 |
/* line 414, sass/partials/_jquery_ui.scss */
|
1507 |
+
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-active {
|
1508 |
+
background: #ccc;
|
|
|
|
|
|
|
|
|
1509 |
}
|
|
|
1510 |
/* line 418, sass/partials/_jquery_ui.scss */
|
1511 |
+
.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
1512 |
+
background: #eee;
|
|
|
|
|
1513 |
}
|
1514 |
|
1515 |
/* line 426, sass/partials/_jquery_ui.scss */
|
|
|
1516 |
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header,
|
1517 |
+
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1518 |
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1519 |
+
background: #56b274;
|
1520 |
}
|
|
|
1521 |
/* line 431, sass/partials/_jquery_ui.scss */
|
1522 |
+
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead {
|
1523 |
+
background: #36533f;
|
|
|
|
|
1524 |
}
|
|
|
1525 |
/* line 435, sass/partials/_jquery_ui.scss */
|
1526 |
+
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover {
|
1527 |
+
background: #446950;
|
1528 |
+
color: #fff;
|
|
|
|
|
1529 |
}
|
1530 |
|
1531 |
/* line 443, sass/partials/_jquery_ui.scss */
|
|
|
1532 |
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header,
|
1533 |
+
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,
|
|
|
1534 |
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header {
|
1535 |
+
background: #4ca26a;
|
1536 |
}
|
|
|
1537 |
/* line 448, sass/partials/_jquery_ui.scss */
|
1538 |
+
.admin-color-bbp-mint .cmb2-element.ui-datepicker thead, .admin-color-bbp-mint .cmb2-element .ui-datepicker thead {
|
1539 |
+
background: #4f6d59;
|
|
|
|
|
1540 |
}
|
|
|
1541 |
/* line 452, sass/partials/_jquery_ui.scss */
|
1542 |
+
.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover {
|
1543 |
+
background: #5fb37c;
|
1544 |
+
color: #fff;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1545 |
}
|
1546 |
|
1547 |
+
/*--------------------------------------------------------------
|
1548 |
+
* Character counter
|
1549 |
+
--------------------------------------------------------------*/
|
1550 |
+
/* line 5, sass/partials/_char_counter.scss */
|
1551 |
+
.cmb2-char-counter-wrap {
|
1552 |
+
margin: .5em 0 1em;
|
1553 |
}
|
1554 |
+
/* line 8, sass/partials/_char_counter.scss */
|
1555 |
+
.cmb2-char-counter-wrap input[type="text"] {
|
1556 |
+
font-size: 12px;
|
1557 |
+
width: 25px;
|
|
|
|
|
|
|
|
|
|
|
1558 |
}
|
1559 |
+
/* line 14, sass/partials/_char_counter.scss */
|
1560 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded input[type="text"] {
|
1561 |
+
border-color: #a00 !important;
|
|
|
|
|
|
|
|
|
|
|
1562 |
}
|
1563 |
+
/* line 17, sass/partials/_char_counter.scss */
|
1564 |
+
.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg {
|
1565 |
+
display: inline-block;
|
|
|
|
|
|
|
1566 |
}
|
1567 |
|
1568 |
+
/* line 23, sass/partials/_char_counter.scss */
|
1569 |
+
.cmb2-char-max-msg {
|
1570 |
+
color: #a00;
|
1571 |
+
display: none;
|
1572 |
+
font-weight: 600;
|
1573 |
+
margin-left: 1em;
|
1574 |
}
|
1575 |
|
1576 |
+
/*# sourceMappingURL=cmb2.css.map */
|
includes/lib/cmb2/css/cmb2.css.map
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"version": 3,
|
3 |
-
"mappings": "AAAA;;GAEG;ACFH;;gEAEgE;;AAEhE,UAAW;EACV,MAAM,EAAE,CAAC;;;AAET;mBACS;EACR,SAAS,ECEK,IAAI;EDDlB,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,GAAG;;;AAMZ,uCAAc;EACb,KAAK,EAAE,IAAI;;;AAIb,mBAAS;EACR,KAAK,EAAE,KAAK;;;AAEZ,sCAAqB;EACpB,WAAW,EChBE,sCAAsC;EDiBnD,WAAW,EAAE,IAAI;;;AAMlB,kEACkB;EACjB,KAAK,EAAE,KAAK;;;AAIb,gCAAkB;EACjB,KAAK,EAAE,IAAI;;;AAIZ,iCAAmB;EAClB,KAAK,EAAE,KAAK;;;AAIb,iCAAmB;EAClB,KAAK,EAAE,GAAG;;;AAGX,0BAAY;EACX,OAAO,EAAE,OAAO;;;AAIhB;;8CAES;EACR,WAAW,EAAE,IAAI;;;AAKpB,aAAG;EACF,MAAM,EAAE,CAAC;;;AAGV,aAAG;EACF,SAAS,EC5DK,IAAI;ED6DlB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,WAAW;;;AAQpB,iBAAO;EACN,SAAS,ECvEK,IAAI;EDwElB,UAAU,EAAE,GAAG;;;AAGhB;yBACe;EACd,UAAU,ECtEI,OAAO;;;ADyEtB,8BAAoB;EACnB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;;;AAGX,iCAAuB;EACtB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;;;AAGX;4BACkB;EACjB,WAAW,EAAE,MAAM;;;AAGpB,qBAAW;EACV,MAAM,EAAE,4BAAgC;;;AAGzC,8BAAoB;EACnB,UAAU,EAAE,IAAI;;;AAGjB,oBAAU;EACT,KAAK,EAAE,GAAG;;;AAEV,6BAAS;EACR,KAAK,EAAE,IAAI;;;AAOb;gCACsB;EACrB,cAAc,EAAE,MAAM;;;AAGvB;+BACqB;EACpB,MAAM,EAAE,UAAU;;;AAGnB,mBAAS;EACR,MAAM,EAAE,CAAC;;;AAET,yBAAQ;EACP,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAGZ,kCAAiB;EAChB,OAAO,EAAE,SAAS;;;AAElB,gDAAgB;EACf,OAAO,EAAE,CAAC;;;AAIZ,wDAAuC;EACtC,WAAW,EAAE,CAAC;EACd,cAAc,EAAE,KAAK;;;;AAKxB,aAAc;EACb,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,CAAC;;;AAIR;;;gEACQ;EACP,MAAM,EAAE,CAAC;;;AAKV,6DAAqC;EACpC,aAAa,EAAE,IAAI;EACnB,UAAU,EAAE,UAAU;EACtB,KAAK,EAAE,IAAI;;;;AAKd,YAAa;EACZ,MAAM,EAAE,SAAS;;;;AAGlB;;mCAEoC;EACnC,MAAM,EAAE,CAAC;;;;AAGV;;kCAEmC;EAClC,aAAa,EAAE,CAAC;;;;AAGjB,wBAAyB;EACxB,MAAM,EAAE,iBAAqB;EAC7B,OAAO,EAAE,KAAK;EACd,SAAS,EAAE,MAAM;;;AACjB,gCAAU;EACT,MAAM,EAAE,SAAS;;;;AAMnB,OAAQ;EACP,KAAK,ECnMU,OAAO;EDoMtB,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,GAAG;EAChB,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,gBAAgB;EACzB,cAAc,EAAE,GAAG;EACnB,KAAK,EAAE,KAAK;;AAEZ,yBAAkC;;EATnC,OAAQ;IE3MP,SAAS,EAAE,KAAK;IAehB,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,cAAc,EAAE,GAAG;IACnB,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,IAAI;;;EAEX,aAAM;IACL,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,GAAG;IACf,cAAc,EAAE,GAAG;;;EAEnB,mBAAQ;IACP,aAAa,EAAE,iBAAqB;IACpC,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,KAAK;IACd,WAAW,EAAE,IAAI;;;;;AF0LpB,OAAQ;EACP,WAAW,EAAE,GAAG;EAChB,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,SAAS;EAClB,cAAc,EAAE,MAAM;;;;AAKtB,uBAAQ;EACP,OAAO,EAAE,CAAC;;;;AAIZ,aAAc;EACb,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,KAAK;;;;AAGf,iBAAkB;EACjB,KAAK,EAAE,IAAI;;;;AAGZ,eAAgB;EACf,cAAc,EAAE,GAAG;;;;AAGpB,eAAgB;EACf,UAAU,EAAE,KAAK;;;;AAGlB,iBAAkB;EACjB,OAAO,EAAE,IAAI;;;;AAKb,6BAAQ;EACP,OAAO,EAAE,GAAG;;;AAGb,sCAAiB;EAChB,gBAAgB,ECxPF,OAAO;EDyPrB,OAAO,EAAE,kBAAkB;EAC3B,MAAM,EAAE,MAAM;EACd,UAAU,EAAE,KAAK;EACjB,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,GAAG;;;AAEhB,yCAAG;EACF,MAAM,EAAE,CAAC;EACT,MAAM,EAAE,CAAC;EACT,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,YAAY;;;AAGtB,8CAAQ;EACP,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAIb,oDAA+B;EExR/B,SAAS,EAAE,KAAK;EAehB,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,cAAc,EAAE,GAAG;EACnB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;;;AAEX,0DAAM;EACL,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,GAAG;EACf,cAAc,EAAE,GAAG;;;AAEnB,gEAAQ;EACP,aAAa,EAAE,iBAAqB;EACpC,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;;;AF6PnB,qCAAgB;EACf,SAAS,EAAE,GAAG;EACd,YAAY,EAAE,GAAG;EACjB,eAAe,EAAE,IAAI;;;AAErB,gDAAW;EACV,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,KAAK;EACb,WAAW,EAAE,KAAK;EAClB,KAAK,EAAE,GAAG;;;AAEV,0EAA4B;EAC3B,WAAW,EAAE,KAAK;;;AAMrB,yCAAoB;EACnB,KAAK,EAAE,KAAK;;;;AAKd,0BAA2B;EAC1B,KAAK,EC3SU,OAAO;ED4StB,UAAU,EAAE,MAAM;EAClB,MAAM,EAAE,CAAC;EACT,WAAW,EAAE,IAAI;;;;AAGlB,6BAA8B;EAC7B,KAAK,EClTU,OAAO;EDmTtB,UAAU,EAAE,MAAM;;;;AAGnB,mBAAoB;EACnB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,SAAS;EAClB,SAAS,EAAE,IAAI;;;;AAGhB,cAAe;EACd,OAAO,EAAE,SAAS;;;;AAGnB,cAAe;EACd,OAAO,EAAE,YAAY;EACrB,aAAa,EAAE,IAAI;;;;AAGpB,2BAA4B;EAC3B,MAAM,EAAE,CAAC;;;;AAKT,8BAAY;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,cAAc,EAAE,MAAM;EACtB,YAAY,EAAE,IAAI;EAClB,KAAK,EAAE,IAAI;;;AAEX,kCAAI;EACH,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,IAAI;;;AAId;gCACc;EACb,UAAU,ECtVI,OAAO;EDuVrB,MAAM,EAAE,iBAAqB;EAC7B,aAAa,EAAE,GAAG;EAClB,kBAAkB,EAAE,GAAG;EACtB,MAAM,EAAE,UAAU;EACnB,OAAO,EAAE,GAAG;;;AAGb,gCAAc;EACb,KAAK,EAAE,IAAI;EACX,SAAS,EAAE,KAAK;;;AAGjB,gEAA2B;EAC1B,QAAQ,EAAE,QAAQ;;;AAElB,kHAAyB;EACxB,UAAU,EAAE,6BAA6B;EACzC,MAAM,EAAE,IAAI;EACZ,IAAI,EAAE,IAAI;EACV,QAAQ,EAAE,QAAQ;EAClB,WAAW,EAAE,OAAO;EACpB,GAAG,EAAE,IAAI;EACT,KAAK,EAAE,IAAI;;;AAOZ,uDAAyB;EACxB,GAAG,EAAE,IAAI;;;AAIX,0EAAqC;EACpC,MAAM,EAAE,OAAO;;;;AAKjB,kDAAmD;EAClD,KAAK,EAAE,IAAI;EACX,cAAc,EAAE,MAAM;EACtB,KAAK,EAAE,IAAI;EACX,YAAY,EAAE,IAAI;EAClB,aAAa,EAAE,IAAI;EACnB,UAAU,EAAE,CAAC;;;;AAGd,mBAAoB;EACnB,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,GAAG;EACf,aAAa,EAAE,IAAI;;;AAEnB,uBAAI;EACH,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,YAAY,EAAE,IAAI;;;;AAIpB,oBAAqB;EACpB,MAAM,EAAE,CAAC;;;;AAGV,mBAAoB;EACnB,UAAU,EAAE,IAAI;;;AAGjB,yBAAkC;;EACjC;;mBAEkB;IACjB,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;;;AGvbb;;gEAEgE;;AAChE,2BAA4B;EAC3B,WAAW,EAAE,IAAI;EACjB,YAAY,EAAE,IAAI;EAClB,UAAU,EAAE,KAAK;;;;AAGlB,uCAAwC;EACvC,YAAY,EAAE,KAAK;;;;AAKnB,oDAAW;EACV,MAAM,EAAE,CAAC;;;AAET,8GAA6B;EAC5B,OAAO,EAAE,OAAO;;;AAKhB,8GAAc;EACb,KAAK,EAAE,IAAI;;;AAKd,gDAAS;EACR,OAAO,EAAE,SAAS;EAClB,MAAM,EAAE,SAAS;;;AAEjB,sEAAW;EACV,KAAK,EAAE,IAAI;EACX,QAAQ,EAAE,QAAQ;;;AAIpB,gFAAyB;EACxB,OAAO,EAAE,KAAK;EACd,SAAS,EAAE,IAAI;EACf,SAAS,EAAE,cAAc;;;AAG1B,gGAAiC;EAChC,cAAc,EAAE,CAAC;;;AAGlB,8CAAQ;EACP,KAAK,EAAE,GAAG;EACV,OAAO,EAAE,QAAQ;;;AAIlB,8CAAQ;EACP,aAAa,EAAE,CAAC;EAChB,OAAO,EAAE,CAAC;EACV,WAAW,EAAE,GAAG;;;AAGjB,8EAAwB;EACvB,cAAc,EAAE,KAAK;;;AAGtB,kEAAkB;EACjB,KAAK,EAAE,GAAG;EACV,KAAK,EAAE,KAAK;;;AAGb;;wDACyC;EACxC,aAAa,EAAE,iBAAqB;;AAEpC,yBAAkC;;EAJnC;;0DACyC;IAIvC,aAAa,EAAE,CAAC;;;;AAIlB;;qCACsB;EACrB,WAAW,EAAE,KAAK;;;AAKjB,4VAA6B;EAC5B,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAEX,waAAmB;EAClB,KAAK,EAAE,IAAI;;;AAGZ,ofAAsC;EACrC,OAAO,EAAE,SAAS;;;AAGnB,4XAAQ;EACP,OAAO,EAAE,UAAU;EACnB,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;;;AAGZ,gfAAqC;EACpC,WAAW,EAAE,KAAK;;;AAGnB,wbAAuB;EACtB,aAAa,EAAE,CAAC;;;AC9GrB;;gEAEgE;AAEhE,uCAAuC;;AAIrC,sDAAS;EACR,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,YAAY;EACrB,IAAI,EAAE,uBAAuB;EAC7B,KAAK,EAAE,IAAI;EACX,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EAClC,eAAe,EAAE,eAAe;;;AAMhC,6DAAS;EACR,OAAO,EAAE,OAAO;;;;AAOpB,yBAA0B;EAEzB,aAAa,EAAE,IAAI;;;AAEnB,sDAA+B;EAC9B,UAAU,EAAE,IAAI;;;AAGjB,iDAA0B;EACzB,UAAU,EAAE,IAAI;;;AAGjB,kDAA2B;EAC1B,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,CAAC;;;AAGjB,8CAAuB;EAEtB,UAAU,EAAE,IAAI;;;AAEhB,qDAAO;EACN,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,QAAQ;EACjB,MAAM,EAAE,CAAC;EACT,WAAW,EAAE,GAAG;;;AAIlB,gCAAO;EACN,MAAM,EAAE,IAAI;;;;AAId,kBAAmB;EAElB,UAAU,EAAE,IAAI;;;AAEhB,6CAA6B;EAC5B,YAAY,EAAE,KAAK;EACnB,KAAK,EAAE,IAAI;;;AAKX,2DAAc;EACb,OAAO,EAAE,IAAI;;;AAIf,0BAAQ;EACP,OAAO,EAAE,QAAQ;EACjB,KAAK,EAAE,GAAG;;;AAGX,0BAAQ;EACP,KAAK,EAAE,GAAG;EACV,OAAO,EAAE,CAAC;;;AAGX,2BAAS;EACR,aAAa,EAAE,IAAI;;;AAEnB,wCAAe;EACd,aAAa,EAAE,CAAC;;;AAMnB,8CAA8C;AAC9C,yCAA0C;;EAEzC,6CAA8C;IAC7C,YAAY,EAAE,CAAC;;;ACvGjB;;gEAEgE;;AAEhE,mCAAoC;EACnC,MAAM,EAAE,CAAC;;;;AAMT;;kCAAoB;EACnB,SAAS,EAAE,KAAK;;;;AAKjB,sCAAoB;EACnB,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,KAAK;;;AACb,mEAA6B;EAC5B,UAAU,EAAE,MAAM;EAClB,aAAa,EAAE,IAAI;;;;AAKrB,0DAAa;EACZ,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,IAAI;;;;AAGf,YAAa;EACZ,OAAO,EAAE,IAAI;;;AACb,sBAAY;EACX,OAAO,EAAE,KAAK;;;ACnChB;;gEAEgE;;AAO9D;uDAA6B;EAC5B,OAAO,EAAE,OAAO;;;AAKhB;iEAAqC;EACpC,KAAK,EAAE,IAAI;;;AAGZ;;yCAA0C;EACzC,WAAW,EAAE,CAAC;EACd,UAAU,EAAE,GAAG;EACf,OAAO,EAAE,KAAK;;;AAGf;gDAAkB;EACjB,SAAS,EAAE,GAAG;;;AACd;4EAA4B;EAC3B,OAAO,EAAE,KAAK;;;AAKjB;gCAAM;EACL,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,OAAO;;;AAKlB;wBAAS;EACR,SAAS,EAAE,GAAG;;;AAGf;qCAAsB;EACrB,aAAa,EAAE,iBAAqB;;;AAGrC;iEAAkD;EACjD,aAAa,EAAE,CAAC;EAChB,aAAa,EAAE,MAAM;;;AAGtB;;;;;iCAEkB;EACjB,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;;AAGZ;+BAAgB;EACf,OAAO,EAAE,IAAI;;;AAGd;+BAAgB;EACf,cAAc,EAAE,GAAG;;;AAGpB;uBAAQ;EJlDR,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,cAAc,EAAE,GAAG;EACnB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;EIgDV,YAAY,EAAE,CAAC;EACf,aAAa,EAAE,CAAC;;;AJ/CjB;6BAAM;EACL,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,GAAG;EACf,cAAc,EAAE,GAAG;;;AAEnB;mCAAQ;EACP,aAAa,EAAE,iBAAqB;EACpC,OAAO,EAAE,EAAE;EACX,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,WAAW,EAAE,IAAI;;;AAvBnB;6BAAM;EACL,SAAS,EDHK,IAAI;ECIlB,WAAW,EAAE,KAAK;;;AI8DlB;8CAAQ;EACP,WAAW,EAAE,CAAC;;;AAEf;gEAA0B;EACzB,OAAO,EAAE,CAAC;;;AAMX;wCAAQ;EACP,OAAO,EAAE,CAAC;;;AAKX;mEAA2B;EAC1B,UAAU,EAAE,GAAG;;;AAQf;;;oDAAI;EACH,SAAS,EAAE,GAAG;EAEd,MAAM,EAAE,IAAI;;;AAKf;gCAAiB;EAChB,OAAO,EAAE,MAAM;EACf,WAAW,EAAE,MAAM;;;AAGpB;yCAA0B;EACzB,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,OAAO;;;AAKhB;;;4DAC0B;EACzB,WAAW,EAAE,MAAM;EACnB,OAAO,EAAE,MAAM;;;AAIjB;kDAAmC;EAClC,cAAc,EAAE,KAAK;;;AAGtB;mCAAoB;EACnB,SAAS,EAAE,KAAK;EAChB,UAAU,EAAE,MAAM;;;AAGnB;+BAAgB;EACf,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,IAAI;EACjB,cAAc,EAAE,CAAC;;;AAIjB;6DAAQ;EACP,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,CAAC;;;AACd;4EAAiB;EAChB,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,CAAC;;;AAKZ;mCAAoB;EACnB,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,IAAI;;;;AC9JjB,6BAAgB;EACf,SAAS,EAAE,MAAM;;;AAElB,wBAAW;EACV,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,KAAK;EACZ,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,IAAI;EACX,QAAQ,EAAE,QAAQ;;;AAClB,+BAAS;EACR,OAAO,EAAE,OAAO;EAChB,KAAK,EAAE,IAAI;EACX,IAAI,EAAE,yBAAyB;EAC/B,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,QAAQ;EACjB,GAAG,EAAE,CAAC;EACN,QAAQ,EAAE,QAAQ;EAClB,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EAClC,eAAe,EAAE,eAAe;;;AAMhC,+CAAS;EACR,OAAO,EAAE,OAAO;;;AAKnB,2EAA8D;EAC7D,kBAAkB,EAAE,eAAe;EACnC,UAAU,EAAE,eAAe;EAC3B,MAAM,EAAE,eAAe;EACvB,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,CAAC;EACP,GAAG,EAAE,IAAI;EACT,WAAW,EAAE,GAAG;EAChB,OAAO,EAAE,WAAW;EACpB,OAAO,EAAE,EAAE;;;AACX,2FAAkB;EACjB,MAAM,EAAE,OAAO;EACf,KAAK,EN1BQ,IAAI;EM2BjB,OAAO,EAAE,CAAC;;;AACV,iGAAQ;EACP,KAAK,EN9BO,IAAI;;;AOpBpB;;;;;;;;;;;;GAYG;;AAEH,uCAAwC;EACvC,MAAM,EAAC,EAAE;;;;AAQV,yDAA0D;EACzD,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;EACT,qBAAqB,EAAE,CAAC;EACxB,kBAAkB,EAAE,CAAC;EACrB,aAAa,EAAE,CAAC;EAChB,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,iBAAiB;EACzB,UAAU,EAAE,IAAI;EAChB,kBAAkB,EAAE,8BAA8B;EAClD,UAAU,EAAE,8BAA8B;EAC1C,SAAS,EAAE,IAAI;EACf,KAAK,EAAE,IAAI;EA6KX,0BAA0B;;;AA3K1B,6DAAE;EACD,OAAO,EAAE,CAAC;EACV,WAAW,EAAE,uBAAuB;EACpC,qBAAqB,EAAE,CAAC;EACxB,kBAAkB,EAAE,CAAC;EACrB,aAAa,EAAE,CAAC;;;AAGjB,qEAAM;EACL,SAAS,EAAE,IAAI;EACf,MAAM,EAAE,CAAC;EACT,MAAM,EAAE,IAAI;EACZ,eAAe,EAAE,QAAQ;;;AAG1B;;kDACsB;EACrB,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,MAAM;;;AAGpB,qIAAsC;EACrC,UAAU,EAAE,WAAW;EACvB,YAAY,EAAE,WAAW;EACzB,MAAM,EAAE,OAAO;;;AAGhB,mGAAqB;EACpB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,MAAM;EACf,KAAK,EAAE,IAAI;EACX,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,MAAM;;;AAElB,iHAAO;EACN,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,IAAI;;;AAIrB;;gDACoB;EACnB,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,CAAC;EACN,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGZ;;+DACmC;EAClC,MAAM,EAAE,IAAI;;;AAGb;;sDAC0B;EACzB,IAAI,EAAE,CAAC;;;AAGR;;sDAC0B;EACzB,KAAK,EAAE,CAAC;;;AAGT;;qDACyB;EACxB,OAAO,EAAE,IAAI;;;AAGd,iGAAoB;EACnB,KAAK,EAAE,IAAI;;;AAGZ,iGAAoB;EACnB,KAAK,EAAE,KAAK;;;AAGb;;uDAC2B;EAC1B,IAAI,EAAE,4BAA4B;EAClC,YAAY,EAAE,GAAG;EACjB,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,sBAAsB,EAAE,WAAW;EACnC,uBAAuB,EAAE,SAAS;EAClC,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;;;AAGb,+GAA2B;EAC1B,OAAO,EAAE,OAAO;;;AAGjB,+GAA2B;EAC1B,OAAO,EAAE,OAAO;;;AAGjB;;6DACiC;EAChC,OAAO,EAAE,GAAG;;;AAGb;;sDAC0B;EACzB,KAAK,EAAE,GAAG;EACV,UAAU,EAAE,WAAW;EACvB,YAAY,EAAE,WAAW;EACzB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;;;AACX;;6DAAO;EACN,KAAK,EAAE,IAAI;;;AAIb,qEAAM;EACL,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,GAAG;;;AAChB,2EAAG;EACF,WAAW,EAAE,MAAM;;;AAIrB,+DAAG;EACF,OAAO,EAAE,IAAI;;;AAGd,+DAAG;EACF,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,iBAAkB;;;AAG3B,mHAA6B;EAC5B,MAAM,EAAE,WAAW;;;AAGpB,6GAA0B;EACzB,gBAAgB,EA7JR,OAAO;EA8Jf,MAAM,EAAE,iBAAkB;;;AAC1B,qJAAsB;EACrB,kBAAkB,EAAE,wCAAwC;EAC5D,eAAe,EAAE,wCAAwC;EACzD,UAAU,EAAE,wCAAwC;;;AAItD,uGAAuB;EACtB,gBAAgB,EAAE,OAAO;;;AAG1B,mHAA6B;EAC5B,UAAU,EAAE,OAAO;;;AAGpB,mGAAqB;EACpB,UAAU,EAAE,WAAW;EACvB,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,MAAM;EAClB,eAAe,EAAE,IAAI;EACrB,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,QAAQ;EACjB,WAAW,EAAE,MAAM;EACnB,KAAK,EAAE,IAAI;;;AAGZ,uIAAuC;EACtC,OAAO,EAAE,GAAG;;;AAIb;;kDACsB;EACrB,UAAU,EAhMA,OAAO;;;AAmMlB,qEAAM;EACL,UAAU,EAnMA,OAAO;;;AAsMlB,kMAAwC;EACvC,UAAU,EAtMI,OAAO;EAuMrB,KAAK,EAAE,IAAI;;;AAGZ,+FAAmB;EAClB,SAAS,EAAE,IAAI;;;AACf,qGAAG;EACF,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,MAAM;;;AACf,2GAAG;EACF,KAAK,EAAE,IAAI;EACX,KAAK,EAAC,IAAI;EACV,OAAO,EAAE,SAAS;;;AAEnB,2GAAG;EACF,MAAM,EAAE,eAAe;;;AACvB,yHAAO;EACN,KAAK,EAAE,IAAI;;;AAKd,uJAA4B;EAC3B,OAAO,EAAE,IAAI;EACb,UAAU,EAAE,IAAI;;;AAEhB,oXAAmC;EAClC,OAAO,EAAE,UAAU;EACnB,qBAAqB,EAAE,GAAG;EAC1B,kBAAkB,EAAE,GAAG;EACvB,aAAa,EAAE,GAAG;EAClB,MAAM,EAAE,gBAAgB;;;;AAS1B;;qEACsB;EACrB,UAAU,EAlPD,OAAO;;;AAqPjB,2GAAM;EACL,UAAU,EArPD,OAAO;;;AAwPjB,qIAAmB;EAClB,UAAU,EAxPG,OAAO;EAyPpB,KAAK,EAAE,IAAI;;;;AAMZ;;oEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,yGAAM;EACL,UAAU,EAAE,OAAO;;;AAQnB,0QAAkC;EACjC,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;AAGZ,2IAAsB;EACrB,UAAU,EAAE,IAAI;;;;AAQlB;;sEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,6GAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,uIAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;yEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,mHAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,6IAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;wEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,iHAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,2IAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;qEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,2GAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,qIAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;;;uFAEsC;EACrC,UAAU,EAAE,OAAO;;;AAGpB,yGAAG;EACF,YAAY,EAAE,OAAO;EACrB,UAAU,EAAE,OAAO;;;AAGpB,yIAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;qEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB;;yEAC0B;EACzB,KAAK,EAAE,IAAI;;;AAGZ,2GAAM;EACL,UAAU,EAAE,IAAI;;;AAGjB;;;;;;0EAG2B;EAC1B,KAAK,EAAE,IAAI;;;AAIX,8QAAkC;EACjC,UAAU,EAAE,IAAI;;;AAGjB,6IAAsB;EACrB,UAAU,EAAE,IAAI;;;;AAOlB;;6EACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,2HAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,qJAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI;;;;AAMZ;;wEACsB;EACrB,UAAU,EAAE,OAAO;;;AAGpB,iHAAM;EACL,UAAU,EAAE,OAAO;;;AAGpB,2IAAmB;EAClB,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,IAAI",
|
4 |
-
"sources": ["sass/cmb2.scss","sass/partials/_main_wrap.scss","sass/partials/_variables.scss","sass/partials/_mixins.scss","sass/partials/_post_metaboxes.scss","sass/partials/_context_metaboxes.scss","sass/partials/_misc.scss","sass/partials/_sidebar_placements.scss","sass/partials/_collapsible_ui.scss","sass/partials/_jquery_ui.scss"],
|
5 |
-
"names": [],
|
6 |
-
"file": "cmb2.css"
|
7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/cmb2.min.css
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
/*! CMB2 - v2.4.2 - 2018-05-29 | https://cmb2.io | Copyright (c) 2018 CMB2 team | Licensed GPLv2 */
|
2 |
-
.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{font-size:14px;max-width:100%;padding:5px}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-left:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=checkbox],.cmb2-wrap input[type=radio]{margin:0 5px 0 0;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-input-wrap{vertical-align:middle}.cmb2-wrap .wp-color-result,.cmb2-wrap .wp-picker-container{margin:0 10px 0 0}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:left;font-weight:600;line-height:1.3;padding:20px 10px 20px 0;vertical-align:top;width:200px}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:left}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:right}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 10px 10px 50px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;left:0;position:absolute;width:35px;height:100%;line-height:35px;color:#aaa;text-align:center;border-right:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-left:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;right:7px;position:absolute;width:auto;margin-left:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 12px 8px 2.2em;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:left;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{font-size:1em;margin-right:1em;text-decoration:none}.cmb-repeatable-group .cmb-shift-rows .dashicons{font-size:1.5em;height:1.5em;line-height:1.2em;width:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2{line-height:1.3em}.cmb-repeatable-group .cmb2-upload-button{float:right}p.cmb2-metabox-description{color:#aaa;font-style:italic;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#aaa;font-style:italic}.cmb2-metabox-title{margin:0 0 5px;padding:5px 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0}.cmb-inline li{display:inline-block;padding-right:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-right:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0}.cmb2-media-status .embed-status{float:left;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;left:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-right:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:left;margin-right:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:left}.cmb2-indented-hierarchy{padding-left:1.5em}#poststuff .cmb-group-title{margin-left:-1em;margin-right:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-left:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{right:-1em;position:relative}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 2% 0 0}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:right}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-after_title-box,.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 2% 0 0;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}.cmb2-options-page{max-width:1200px}.cmb2-options-page.wrap>h2{margin-bottom:1em}.cmb2-options-page .cmb2-metabox>.cmb-row{padding:1em;margin-top:-1px;background:#fff;border:1px solid #e9e9e9;box-shadow:0 1px 1px rgba(0,0,0,.05)}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th{padding:0;font-weight:initial}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{float:none;padding:0 0 0 1em;margin-left:200px}.cmb2-options-page .cmb2-wrap .cmb-type-title{margin-top:1em;padding:.6em 1em;background-color:#fafafa}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title{font-size:12px;margin-top:0;margin-bottom:0;text-transform:uppercase}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description{padding-top:.25em}.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th{padding:0 0 .8em}.cmb2-options-page .cmb-repeatable-group .cmb-group-name{font-size:16px;margin-top:0;margin-bottom:0}.cmb2-options-page .cmb-repeatable-group .cmb-th>.cmb2-metabox-description{font-weight:400;padding-bottom:0!important}#addtag .cmb-th{float:none;width:auto;padding:20px 0 0}#addtag .cmb-td{padding:0}#addtag .cmb-th+.cmb-td{float:none}#addtag select{max-width:100%}#addtag .cmb2-metabox{padding-bottom:20px}#addtag .cmb-row li label{display:inline}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:left;display:none}.cmb-spinner{display:none}.cmb-spinner.is-active{display:block}#side-sortables .cmb2-wrap>.cmb-field-list>.cmb-row,.inner-sidebar .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.4em 0}#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker),.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker){width:100%}#side-sortables .cmb2-wrap input+input:not(.wp-picker-clear),#side-sortables .cmb2-wrap input+select,.inner-sidebar .cmb2-wrap input+input:not(.wp-picker-clear),.inner-sidebar .cmb2-wrap input+select{margin-left:0;margin-top:1em;display:block}#side-sortables .cmb2-wrap input.cmb2-text-money,.inner-sidebar .cmb2-wrap input.cmb2-text-money{max-width:70%}#side-sortables .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description,.inner-sidebar .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description{display:block}#side-sortables .cmb2-wrap label,.inner-sidebar .cmb2-wrap label{display:block;font-weight:700;padding:0 0 5px}#side-sortables textarea,.inner-sidebar textarea{max-width:99%}#side-sortables .cmb-repeatable-group,.inner-sidebar .cmb-repeatable-group{border-bottom:1px solid #e9e9e9}#side-sortables .cmb-type-group>.cmb-td>.cmb-repeatable-group,.inner-sidebar .cmb-type-group>.cmb-td>.cmb-repeatable-group{border-bottom:0;margin-bottom:-1.4em}#side-sortables .cmb-td:not(.cmb-remove-row),#side-sortables .cmb-th,#side-sortables .cmb-th+.cmb-td,.inner-sidebar .cmb-td:not(.cmb-remove-row),.inner-sidebar .cmb-th,.inner-sidebar .cmb-th+.cmb-td{width:100%;display:block;float:none}#side-sortables .closed .inside,.inner-sidebar .closed .inside{display:none}#side-sortables .cmb-th,.inner-sidebar .cmb-th{display:block;float:none;padding-bottom:1em;text-align:left;width:100%;padding-left:0;padding-right:0}#side-sortables .cmb-th label,.inner-sidebar .cmb-th label{display:block;margin-top:0;margin-bottom:.5em;font-size:14px;line-height:1.4em}#side-sortables .cmb-group-description .cmb-th,.inner-sidebar .cmb-group-description .cmb-th{padding-top:0}#side-sortables .cmb-group-description .cmb2-metabox-description,#side-sortables .cmb-group-title .cmb-th,.inner-sidebar .cmb-group-description .cmb2-metabox-description,.inner-sidebar .cmb-group-title .cmb-th{padding:0}#side-sortables .cmb-repeatable-grouping+.cmb-repeatable-grouping,.inner-sidebar .cmb-repeatable-grouping+.cmb-repeatable-grouping{margin-top:1em}#side-sortables .cmb2-media-status .embed-status img,#side-sortables .cmb2-media-status .img-status img,.inner-sidebar .cmb2-media-status .embed-status img,.inner-sidebar .cmb2-media-status .img-status img{max-width:90%;height:auto}#side-sortables .cmb2-list label,.inner-sidebar .cmb2-list label{display:inline;font-weight:400}#side-sortables .cmb2-metabox-description,.inner-sidebar .cmb2-metabox-description{display:block;padding:7px 0 0}#side-sortables .cmb-type-checkbox .cmb-td label,#side-sortables .cmb-type-checkbox .cmb2-metabox-description,.inner-sidebar .cmb-type-checkbox .cmb-td label,.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description{font-weight:400;display:inline}#side-sortables .cmb-row .cmb2-metabox-description,.inner-sidebar .cmb-row .cmb2-metabox-description{padding-bottom:1.8em}#side-sortables .cmb2-metabox-title,.inner-sidebar .cmb2-metabox-title{font-size:1.2em;font-style:italic}#side-sortables .cmb-remove-row,.inner-sidebar .cmb-remove-row{clear:both;padding-top:12px;padding-bottom:0}#side-sortables .cmb2-upload-button,.inner-sidebar .cmb2-upload-button{clear:both;margin-top:12px}.cmb2-metabox .cmbhandle{color:#aaa;float:right;width:27px;height:30px;cursor:pointer;right:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';right:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:none!important;border:none!important;position:absolute;left:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:400 20px/34px dashicons;padding-left:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:left;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 10px 10px 40%}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:left}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .6em .4em .4em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:0}}@media (max-width:450px){.cmb-th{font-size:1.2em;padding-bottom:1em;text-align:left}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{padding:0;margin-left:0}}
|
1 |
+
@charset "UTF-8";.cmb2-wrap{margin:0}.cmb2-wrap input,.cmb2-wrap textarea{max-width:100%}.cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb2-wrap textarea{width:500px;padding:8px}.cmb2-wrap textarea.cmb2-textarea-code{font-family:"Courier 10 Pitch",Courier,monospace;line-height:16px}.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker{width:100px}.cmb2-wrap input.cmb2-text-money{width:90px}.cmb2-wrap input.cmb2-text-medium{width:230px}.cmb2-wrap input.cmb2-upload-file{width:65%}.cmb2-wrap input.ed_button{padding:2px 4px}.cmb2-wrap input:not([type=hidden])+.button-secondary,.cmb2-wrap input:not([type=hidden])+input,.cmb2-wrap input:not([type=hidden])+select{margin-left:20px}.cmb2-wrap ul{margin:0}.cmb2-wrap li{font-size:14px;line-height:16px;margin:1px 0 5px 0}.cmb2-wrap select{font-size:14px;margin-top:3px}.cmb2-wrap input:focus,.cmb2-wrap textarea:focus{background:#fffff8}.cmb2-wrap input[type=radio]{margin:0 5px 0 0;padding:0}.cmb2-wrap input[type=checkbox]{margin:0 5px 0 0;padding:0}.cmb2-wrap .button-secondary,.cmb2-wrap button{white-space:nowrap}.cmb2-wrap .mceLayout{border:1px solid #e9e9e9!important}.cmb2-wrap .mceIframeContainer{background:#fff}.cmb2-wrap .meta_mce{width:97%}.cmb2-wrap .meta_mce textarea{width:100%}.cmb2-wrap .cmb-multicheck-toggle{margin-top:-1em}.cmb2-wrap .wp-picker-clear.button,.cmb2-wrap .wp-picker-default.button{margin-left:6px;padding:2px 8px}.cmb2-wrap .cmb-row{margin:0}.cmb2-wrap .cmb-row:after{content:'';clear:both;display:block;width:100%}.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description{padding-top:0;padding-bottom:1em}body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.1875rem}@media screen and (max-width:782px){body.block-editor-page.branch-5-3 .cmb2-wrap .cmb-row .cmb2-radio-list input[type=radio]::before{margin:.4375rem}}.cmb2-metabox{clear:both;margin:0}.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox .cmb-field-list>.cmb-row:first-of-type>.cmb-th,.cmb2-metabox>.cmb-row:first-of-type>.cmb-td,.cmb2-metabox>.cmb-row:first-of-type>.cmb-th{border:0}.cmb-add-row{margin:1.8em 0 0}.cmb-nested .cmb-td,.cmb-repeatable-group .cmb-th,.cmb-repeatable-group:first-of-type{border:0}.cmb-repeatable-group:last-of-type,.cmb-row:last-of-type,.cmb2-wrap .cmb-row:last-of-type{border-bottom:0}.cmb-repeatable-grouping{border:1px solid #e9e9e9;padding:0 1em}.cmb-repeatable-grouping.cmb-row{margin:0 0 .8em}.cmb-th{color:#222;float:left;font-weight:600;padding:20px 10px 20px 0;vertical-align:top;width:200px}@media (max-width:450px){.cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:left;width:100%}.cmb-th label{display:block;margin-top:0;margin-bottom:.5em}}.cmb-td{line-height:1.3;max-width:100%;padding:15px 10px;vertical-align:middle}.cmb-type-title .cmb-td{padding:0}.cmb-th label{display:block;padding:5px 0}.cmb-th+.cmb-td{float:left}.cmb-td .cmb-td{padding-bottom:1em}.cmb-remove-row{text-align:right}.empty-row.hidden{display:none}.cmb-repeat-table{background-color:#fafafa;border:1px solid #e1e1e1}.cmb-repeat-table .cmb-row.cmb-repeat-row{position:relative;counter-increment:el;margin:0;padding:10px 10px 10px 50px;border-bottom:none!important}.cmb-repeat-table .cmb-row.cmb-repeat-row+.cmb-repeat-row{border-top:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row.ui-sortable-helper{outline:dashed 2px #e9e9e9!important}.cmb-repeat-table .cmb-row.cmb-repeat-row:before{content:counter(el);display:block;top:0;left:0;position:absolute;width:35px;height:100%;line-height:35px;cursor:move;color:#757575;text-align:center;border-right:solid 1px #e9e9e9}.cmb-repeat-table .cmb-row.cmb-repeat-row .cmb-td{margin:0;padding:0}.cmb-repeat-table+.cmb-add-row{margin:0}.cmb-repeat-table+.cmb-add-row:before{content:'';width:1px;height:1.6em;display:block;margin-left:17px;background-color:#dcdcdc}.cmb-repeat-table .cmb-remove-row{top:7px;right:7px;position:absolute;width:auto;margin-left:0;padding:0!important;display:none}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button{font-size:20px;text-indent:-1000px;overflow:hidden;position:relative;height:auto;line-height:1;padding:0 10px 0}.cmb-repeat-table .cmb-remove-row>.cmb-remove-row-button:before{content:"";font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.cmb-repeat-table .cmb-repeat-row:hover .cmb-remove-row{display:block}.cmb-repeatable-group .cmb-th{padding:5px}.cmb-repeatable-group .cmb-group-title{background-color:#e9e9e9;padding:8px 12px 8px 2.2em;margin:0 -1em;min-height:1.5em;font-size:14px;line-height:1.4}.cmb-repeatable-group .cmb-group-title h4{border:0;margin:0;font-size:1.2em;font-weight:500;padding:.5em .75em}.cmb-repeatable-group .cmb-group-title .cmb-th{display:block;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th{font-size:1.2em;display:block;float:none;padding-bottom:1em;text-align:left;width:100%}.cmb-repeatable-group .cmb-group-description .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}.cmb-repeatable-group .cmb-shift-rows{margin-right:1em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-up-alt2{margin-top:.15em}.cmb-repeatable-group .cmb-shift-rows .dashicons-arrow-down-alt2{margin-top:.2em}.cmb-repeatable-group .cmb2-upload-button{float:right}p.cmb2-metabox-description{color:#666;letter-spacing:.01em;margin:0;padding-top:.5em}span.cmb2-metabox-description{color:#666;letter-spacing:.01em}.cmb2-metabox-title{margin:0 0 5px 0;padding:5px 0 0 0;font-size:14px}.cmb-inline ul{padding:4px 0 0 0}.cmb-inline li{display:inline-block;padding-right:18px}.cmb-type-textarea-code pre{margin:0}.cmb2-media-status .img-status{clear:none;display:inline-block;vertical-align:middle;margin-right:10px;width:auto}.cmb2-media-status .img-status img{max-width:350px;height:auto}.cmb2-media-status .embed-status,.cmb2-media-status .img-status img{background:#eee;border:5px solid #fff;outline:1px solid #e9e9e9;box-shadow:inset 0 0 15px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.05);background-image:linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0),linear-gradient(45deg,#d0d0d0 25%,transparent 25%,transparent 75%,#d0d0d0 75%,#d0d0d0);background-position:0 0,10px 10px;background-size:20px 20px;border-radius:2px;-moz-border-radius:2px;margin:15px 0 0 0}.cmb2-media-status .embed-status{float:left;max-width:800px}.cmb2-media-status .embed-status,.cmb2-media-status .img-status{position:relative}.cmb2-media-status .embed-status .cmb2-remove-file-button,.cmb2-media-status .img-status .cmb2-remove-file-button{background:url(../images/ico-delete.png);height:16px;left:-5px;position:absolute;text-indent:-9999px;top:-5px;width:16px}.cmb2-media-status .img-status .cmb2-remove-file-button{top:10px}.cmb2-media-status .file-status>span,.cmb2-media-status .img-status img{cursor:pointer}.cmb2-media-status.cmb-attach-list .file-status>span,.cmb2-media-status.cmb-attach-list .img-status img{cursor:move}.cmb-type-file-list .cmb2-media-status .img-status{clear:none;vertical-align:middle;width:auto;margin-right:10px;margin-bottom:10px;margin-top:0}.cmb-attach-list li{clear:both;display:inline-block;width:100%;margin-top:5px;margin-bottom:10px}.cmb-attach-list li img{float:left;margin-right:10px}.cmb2-remove-wrapper{margin:0}.child-cmb2 .cmb-th{text-align:left}.cmb2-indented-hierarchy{padding-left:1.5em}@media (max-width:450px){.cmb-td,.cmb-th,.cmb-th+.cmb-td{display:block;float:none;width:100%}}#poststuff .cmb-group-title{margin-left:-1em;margin-right:-1em;min-height:1.5em}#poststuff .repeatable .cmb-group-title{padding-left:2.2em}.cmb-type-group .cmb2-wrap,.cmb2-postbox .cmb2-wrap{margin:0}.cmb-type-group .cmb2-wrap>.cmb-field-list>.cmb-row,.cmb2-postbox .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.8em 0}.cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed,.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed{width:100%}.cmb-type-group .cmb-row,.cmb2-postbox .cmb-row{padding:0 0 1.8em;margin:0 0 .8em}.cmb-type-group .cmb-row .cmbhandle,.cmb2-postbox .cmb-row .cmbhandle{right:-1em;position:relative;color:#222}.cmb-type-group .cmb-repeatable-grouping,.cmb2-postbox .cmb-repeatable-grouping{padding:0 1em;max-width:100%;min-width:1px!important}.cmb-type-group .cmb-repeatable-group>.cmb-row,.cmb2-postbox .cmb-repeatable-group>.cmb-row{padding-bottom:0}.cmb-type-group .cmb-th,.cmb2-postbox .cmb-th{width:18%;padding:0 2% 0 0}.cmb-type-group .cmb-td,.cmb2-postbox .cmb-td{margin-bottom:0;padding:0;line-height:1.3}.cmb-type-group .cmb-th+.cmb-td,.cmb2-postbox .cmb-th+.cmb-td{width:80%;float:right}.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:1px solid #e9e9e9}@media (max-width:450px){.cmb-type-group .cmb-repeatable-group:not(:last-of-type),.cmb-type-group .cmb-row:not(:last-of-type),.cmb2-postbox .cmb-repeatable-group:not(:last-of-type),.cmb2-postbox .cmb-row:not(:last-of-type){border-bottom:0}}.cmb-type-group .cmb-remove-field-row,.cmb-type-group .cmb-repeat-group-field,.cmb2-postbox .cmb-remove-field-row,.cmb2-postbox .cmb-repeat-group-field{padding-top:1.8em}.js .cmb2-postbox.context-box .handlediv{text-align:center}.js .cmb2-postbox.context-box .toggle-indicator:before{content:"\f142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .cmb2-postbox.context-box.closed .toggle-indicator:before{content:"\f140"}.cmb2-postbox.context-box{margin-bottom:10px}.cmb2-postbox.context-box.context-before_permalink-box{margin-top:10px}.cmb2-postbox.context-box.context-after_title-box{margin-top:10px}.cmb2-postbox.context-box.context-after_editor-box{margin-top:20px;margin-bottom:0}.cmb2-postbox.context-box.context-form_top-box{margin-top:10px}.cmb2-postbox.context-box.context-form_top-box .hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.cmb2-postbox.context-box .hndle{cursor:auto}.cmb2-context-wrap{margin-top:10px}.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:300px;width:auto}.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox{padding:10px}.cmb2-context-wrap .cmb-th{padding:0 2% 0 0;width:18%}.cmb2-context-wrap .cmb-td{width:80%;padding:0}.cmb2-context-wrap .cmb-row{margin-bottom:10px}.cmb2-context-wrap .cmb-row:last-of-type{margin-bottom:0}@media only screen and (max-width:850px){.cmb2-context-wrap.cmb2-context-wrap-form_top{margin-right:0}}.cmb2-options-page{max-width:1200px}.cmb2-options-page.wrap>h2{margin-bottom:1em}.cmb2-options-page .cmb2-metabox>.cmb-row{padding:1em;margin-top:-1px;background:#fff;border:1px solid #e9e9e9;box-shadow:0 1px 1px rgba(0,0,0,.05)}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th{padding:0;font-weight:initial}.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{float:none;padding:0 0 0 1em;margin-left:200px}@media (max-width:450px){.cmb2-options-page .cmb2-metabox>.cmb-row>.cmb-th+.cmb-td{padding:0;margin-left:0}}.cmb2-options-page .cmb2-wrap .cmb-type-title{margin-top:1em;padding:.6em 1em;background-color:#fafafa}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title{font-size:12px;margin-top:0;margin-bottom:0;text-transform:uppercase}.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-description{padding-top:.25em}.cmb2-options-page .cmb-repeatable-group .cmb-group-description .cmb-th{padding:0 0 .8em 0}.cmb2-options-page .cmb-repeatable-group .cmb-group-name{font-size:16px;margin-top:0;margin-bottom:0}.cmb2-options-page .cmb-repeatable-group .cmb-th>.cmb2-metabox-description{font-weight:400;padding-bottom:0!important}#addtag .cmb-th{float:none;width:auto;padding:20px 0 0}#addtag .cmb-td{padding:0}#addtag .cmb-th+.cmb-td{float:none}#addtag select{max-width:100%}#addtag .cmb2-metabox{padding-bottom:20px}#addtag .cmb-row li label{display:inline}#poststuff .cmb-repeatable-group h2{margin:0}.edit-tags-php .cmb2-metabox-title,.profile-php .cmb2-metabox-title,.user-edit-php .cmb2-metabox-title{font-size:1.4em}.cmb2-no-box-wrap .cmb-spinner,.cmb2-postbox .cmb-spinner{float:left;display:none}.cmb-spinner{display:none}.cmb-spinner.is-active{display:block}#side-sortables .cmb2-wrap>.cmb-field-list>.cmb-row,.inner-sidebar .cmb2-wrap>.cmb-field-list>.cmb-row{padding:1.4em 0}#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker),.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker){width:100%}#side-sortables .cmb2-wrap input+input:not(.wp-picker-clear),#side-sortables .cmb2-wrap input+select,.inner-sidebar .cmb2-wrap input+input:not(.wp-picker-clear),.inner-sidebar .cmb2-wrap input+select{margin-left:0;margin-top:1em;display:block}#side-sortables .cmb2-wrap input.cmb2-text-money,.inner-sidebar .cmb2-wrap input.cmb2-text-money{max-width:70%}#side-sortables .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description,.inner-sidebar .cmb2-wrap input.cmb2-text-money+.cmb2-metabox-description{display:block}#side-sortables .cmb2-wrap label,.inner-sidebar .cmb2-wrap label{display:block;font-weight:700;padding:0 0 5px}#side-sortables textarea,.inner-sidebar textarea{max-width:99%}#side-sortables .cmb-repeatable-group,.inner-sidebar .cmb-repeatable-group{border-bottom:1px solid #e9e9e9}#side-sortables .cmb-type-group>.cmb-td>.cmb-repeatable-group,.inner-sidebar .cmb-type-group>.cmb-td>.cmb-repeatable-group{border-bottom:0;margin-bottom:-1.4em}#side-sortables .cmb-td:not(.cmb-remove-row),#side-sortables .cmb-th,#side-sortables .cmb-th+.cmb-td,.inner-sidebar .cmb-td:not(.cmb-remove-row),.inner-sidebar .cmb-th,.inner-sidebar .cmb-th+.cmb-td{width:100%;display:block;float:none}#side-sortables .closed .inside,.inner-sidebar .closed .inside{display:none}#side-sortables .cmb-th,.inner-sidebar .cmb-th{display:block;float:none;padding-bottom:1em;text-align:left;width:100%;padding-left:0;padding-right:0}#side-sortables .cmb-th label,.inner-sidebar .cmb-th label{display:block;margin-top:0;margin-bottom:.5em}#side-sortables .cmb-th label,.inner-sidebar .cmb-th label{font-size:14px;line-height:1.4em}#side-sortables .cmb-group-description .cmb-th,.inner-sidebar .cmb-group-description .cmb-th{padding-top:0}#side-sortables .cmb-group-description .cmb2-metabox-description,.inner-sidebar .cmb-group-description .cmb2-metabox-description{padding:0}#side-sortables .cmb-group-title .cmb-th,.inner-sidebar .cmb-group-title .cmb-th{padding:0}#side-sortables .cmb-repeatable-grouping+.cmb-repeatable-grouping,.inner-sidebar .cmb-repeatable-grouping+.cmb-repeatable-grouping{margin-top:1em}#side-sortables .cmb2-media-status .embed-status img,#side-sortables .cmb2-media-status .img-status img,.inner-sidebar .cmb2-media-status .embed-status img,.inner-sidebar .cmb2-media-status .img-status img{max-width:90%;height:auto}#side-sortables .cmb2-list label,.inner-sidebar .cmb2-list label{display:inline;font-weight:400}#side-sortables .cmb2-metabox-description,.inner-sidebar .cmb2-metabox-description{display:block;padding:7px 0 0}#side-sortables .cmb-type-checkbox .cmb-td label,#side-sortables .cmb-type-checkbox .cmb2-metabox-description,.inner-sidebar .cmb-type-checkbox .cmb-td label,.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description{font-weight:400;display:inline}#side-sortables .cmb-row .cmb2-metabox-description,.inner-sidebar .cmb-row .cmb2-metabox-description{padding-bottom:1.8em}#side-sortables .cmb2-metabox-title,.inner-sidebar .cmb2-metabox-title{font-size:1.2em;font-style:italic}#side-sortables .cmb-remove-row,.inner-sidebar .cmb-remove-row{clear:both;padding-top:12px;padding-bottom:0}#side-sortables .cmb2-upload-button,.inner-sidebar .cmb2-upload-button{clear:both;margin-top:12px}.cmb2-metabox .cmbhandle{color:#757575;float:right;width:27px;height:30px;cursor:pointer;right:-1em;position:relative}.cmb2-metabox .cmbhandle:before{content:'\f142';right:12px;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.cmb2-metabox .postbox.closed .cmbhandle:before{content:'\f140'}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row{-webkit-appearance:none!important;background:0 0!important;border:none!important;position:absolute;left:0;top:.5em;line-height:1em;padding:2px 6px 3px;opacity:.5}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]){cursor:pointer;color:#a00;opacity:1}.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover{color:red}* html .cmb2-element.ui-helper-clearfix{height:1%}.cmb2-element .ui-datepicker,.cmb2-element.ui-datepicker{padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background-color:#fff;border:1px solid #dfdfdf;border-top:none;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.075);box-shadow:0 3px 6px rgba(0,0,0,.075);min-width:17em;width:auto}.cmb2-element .ui-datepicker *,.cmb2-element.ui-datepicker *{padding:0;font-family:"Open Sans",sans-serif;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.cmb2-element .ui-datepicker table,.cmb2-element.ui-datepicker table{font-size:13px;margin:0;border:none;border-collapse:collapse}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background-image:none;border:none;color:#fff;font-weight:400}.cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover{background:0 0;border-color:transparent;cursor:pointer}.cmb2-element .ui-datepicker .ui-datepicker-title,.cmb2-element.ui-datepicker .ui-datepicker-title{margin:0;padding:10px 0;color:#fff;font-size:14px;line-height:14px;text-align:center}.cmb2-element .ui-datepicker .ui-datepicker-title select,.cmb2-element.ui-datepicker .ui-datepicker-title select{margin-top:-8px;margin-bottom:-8px}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-prev{position:relative;top:0;height:34px;width:34px}.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next,.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev{border:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover,.cmb2-element.ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover{left:0}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element .ui-datepicker .ui-datepicker-next-hover,.cmb2-element.ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next-hover{right:0}.cmb2-element .ui-datepicker .ui-datepicker-next span,.cmb2-element .ui-datepicker .ui-datepicker-prev span,.cmb2-element.ui-datepicker .ui-datepicker-next span,.cmb2-element.ui-datepicker .ui-datepicker-prev span{display:none}.cmb2-element .ui-datepicker .ui-datepicker-prev,.cmb2-element.ui-datepicker .ui-datepicker-prev{float:left}.cmb2-element .ui-datepicker .ui-datepicker-next,.cmb2-element.ui-datepicker .ui-datepicker-next{float:right}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{font:normal 20px/34px dashicons;padding-left:7px;color:#fff;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:34px;height:34px}.cmb2-element .ui-datepicker .ui-datepicker-prev:before,.cmb2-element.ui-datepicker .ui-datepicker-prev:before{content:'\f341'}.cmb2-element .ui-datepicker .ui-datepicker-next:before,.cmb2-element.ui-datepicker .ui-datepicker-next:before{content:'\f345'}.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before,.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before{opacity:.7}.cmb2-element .ui-datepicker select.ui-datepicker-month,.cmb2-element .ui-datepicker select.ui-datepicker-year,.cmb2-element.ui-datepicker select.ui-datepicker-month,.cmb2-element.ui-datepicker select.ui-datepicker-year{width:33%;background:0 0;border-color:transparent;box-shadow:none;color:#fff}.cmb2-element .ui-datepicker select.ui-datepicker-month option,.cmb2-element .ui-datepicker select.ui-datepicker-year option,.cmb2-element.ui-datepicker select.ui-datepicker-month option,.cmb2-element.ui-datepicker select.ui-datepicker-year option{color:#333}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{color:#fff;font-weight:600}.cmb2-element .ui-datepicker thead th,.cmb2-element.ui-datepicker thead th{font-weight:400}.cmb2-element .ui-datepicker th,.cmb2-element.ui-datepicker th{padding:10px}.cmb2-element .ui-datepicker td,.cmb2-element.ui-datepicker td{padding:0;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-other-month,.cmb2-element.ui-datepicker td.ui-datepicker-other-month{border:transparent}.cmb2-element .ui-datepicker td.ui-datepicker-week-end,.cmb2-element.ui-datepicker td.ui-datepicker-week-end{background-color:#f4f4f4;border:1px solid #f4f4f4}.cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today{-webkit-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 1px 0 rgba(0,0,0,.1)}.cmb2-element .ui-datepicker td.ui-datepicker-today,.cmb2-element.ui-datepicker td.ui-datepicker-today{background-color:#f0f0c0}.cmb2-element .ui-datepicker td.ui-datepicker-current-day,.cmb2-element.ui-datepicker td.ui-datepicker-current-day{background:#bd8}.cmb2-element .ui-datepicker td .ui-state-default,.cmb2-element.ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;text-decoration:none;width:auto;display:block;padding:5px 10px;font-weight:400;color:#444}.cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default,.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default{opacity:.5}.cmb2-element .ui-datepicker .ui-datepicker-header,.cmb2-element .ui-datepicker .ui-widget-header,.cmb2-element.ui-datepicker .ui-datepicker-header,.cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.cmb2-element .ui-datepicker thead,.cmb2-element.ui-datepicker thead{background:#32373c}.cmb2-element .ui-datepicker td .ui-state-active,.cmb2-element .ui-datepicker td .ui-state-hover,.cmb2-element.ui-datepicker td .ui-state-active,.cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.cmb2-element .ui-datepicker .ui-timepicker-div,.cmb2-element.ui-datepicker .ui-timepicker-div{font-size:14px}.cmb2-element .ui-datepicker .ui-timepicker-div dl,.cmb2-element.ui-datepicker .ui-timepicker-div dl{text-align:left;padding:0 .6em}.cmb2-element .ui-datepicker .ui-timepicker-div dl dt,.cmb2-element.ui-datepicker .ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd{margin:0 10px 10px 40%}.cmb2-element .ui-datepicker .ui-timepicker-div dl dd select,.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select{width:100%}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane{padding:.6em;text-align:left}.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element .ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-primary,.cmb2-element.ui-datepicker .ui-timepicker-div+.ui-datepicker-buttonpane .button-secondary{padding:0 10px 1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 .6em .4em .4em}.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header{background:#00a0d2}.admin-color-fresh .cmb2-element .ui-datepicker thead,.admin-color-fresh .cmb2-element.ui-datepicker thead{background:#32373c}.admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover{background:#0073aa;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header{background:#52accc}.admin-color-blue .cmb2-element .ui-datepicker thead,.admin-color-blue .cmb2-element.ui-datepicker thead{background:#4796b3}.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover{background:#096484;color:#fff}.admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header{background:#59524c}.admin-color-coffee .cmb2-element .ui-datepicker thead,.admin-color-coffee .cmb2-element.ui-datepicker thead{background:#46403c}.admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover{background:#c7a589;color:#fff}.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header{background:#523f6d}.admin-color-ectoplasm .cmb2-element .ui-datepicker thead,.admin-color-ectoplasm .cmb2-element.ui-datepicker thead{background:#413256}.admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover{background:#a3b745;color:#fff}.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header{background:#363b3f}.admin-color-midnight .cmb2-element .ui-datepicker thead,.admin-color-midnight .cmb2-element.ui-datepicker thead{background:#26292c}.admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover{background:#e14d43;color:#fff}.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header{background:#738e96}.admin-color-ocean .cmb2-element .ui-datepicker thead,.admin-color-ocean .cmb2-element.ui-datepicker thead{background:#627c83}.admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover{background:#9ebaa0;color:#fff}.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header{background:#cf4944}.admin-color-sunrise .cmb2-element .ui-datepicker th,.admin-color-sunrise .cmb2-element.ui-datepicker th{border-color:#be3631;background:#be3631}.admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover{background:#dd823b;color:#fff}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header{background:#e5e5e5}.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year{color:#555}.admin-color-light .cmb2-element .ui-datepicker thead,.admin-color-light .cmb2-element.ui-datepicker thead{background:#888}.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default{color:#555}.admin-color-light .cmb2-element .ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-active,.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover{background:#ccc}.admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today,.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today{background:#eee}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header{background:#56b274}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead{background:#36533f}.admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover{background:#446950;color:#fff}.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header,.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header{background:#4ca26a}.admin-color-bbp-mint .cmb2-element .ui-datepicker thead,.admin-color-bbp-mint .cmb2-element.ui-datepicker thead{background:#4f6d59}.admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover,.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover{background:#5fb37c;color:#fff}.cmb2-char-counter-wrap{margin:.5em 0 1em}.cmb2-char-counter-wrap input[type=text]{font-size:12px;width:25px}.cmb2-char-counter-wrap.cmb2-max-exceeded input[type=text]{border-color:#a00!important}.cmb2-char-counter-wrap.cmb2-max-exceeded .cmb2-char-max-msg{display:inline-block}.cmb2-char-max-msg{color:#a00;display:none;font-weight:600;margin-left:1em}
|
|
includes/lib/cmb2/css/sass/cmb2-display.css
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* CMB2 Styling
|
3 |
-
*/
|
4 |
-
/**
|
5 |
-
* CMB2 Styling
|
6 |
-
*/
|
7 |
-
.cmb2-colorpicker-swatch span {
|
8 |
-
display: inline-block;
|
9 |
-
width: 1em;
|
10 |
-
height: 1em;
|
11 |
-
border-radius: 1em;
|
12 |
-
float: left;
|
13 |
-
margin-top: 3px;
|
14 |
-
margin-right: 2px; }
|
15 |
-
|
16 |
-
.cmb2-code {
|
17 |
-
overflow: scroll; }
|
18 |
-
|
19 |
-
.cmb-image-display {
|
20 |
-
max-width: 100%;
|
21 |
-
height: auto; }
|
22 |
-
|
23 |
-
.cmb2-display-file-list li {
|
24 |
-
display: inline;
|
25 |
-
margin: 0 .5em .5em 0; }
|
26 |
-
|
27 |
-
.cmb2-oembed * {
|
28 |
-
max-width: 100%;
|
29 |
-
height: auto; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/cmb2-display.scss
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* CMB2 Styling
|
3 |
-
*/
|
4 |
-
|
5 |
-
@import "partials/display";
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/cmb2-front.css
DELETED
@@ -1,983 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* CMB2 Styling
|
3 |
-
*/
|
4 |
-
/*--------------------------------------------------------------
|
5 |
-
Main Wrap
|
6 |
-
--------------------------------------------------------------*/
|
7 |
-
.cmb2-wrap {
|
8 |
-
margin: 0; }
|
9 |
-
.cmb2-wrap input,
|
10 |
-
.cmb2-wrap textarea {
|
11 |
-
font-size: 14px;
|
12 |
-
max-width: 100%;
|
13 |
-
padding: 5px; }
|
14 |
-
.cmb2-wrap input[type=text].cmb2-oembed {
|
15 |
-
width: 100%; }
|
16 |
-
.cmb2-wrap textarea {
|
17 |
-
width: 500px; }
|
18 |
-
.cmb2-wrap textarea.cmb2-textarea-code {
|
19 |
-
font-family: "Courier 10 Pitch", Courier, monospace;
|
20 |
-
line-height: 16px; }
|
21 |
-
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
22 |
-
width: 100px; }
|
23 |
-
.cmb2-wrap input.cmb2-text-money {
|
24 |
-
width: 90px; }
|
25 |
-
.cmb2-wrap input.cmb2-text-medium {
|
26 |
-
width: 230px; }
|
27 |
-
.cmb2-wrap input.cmb2-upload-file {
|
28 |
-
width: 65%; }
|
29 |
-
.cmb2-wrap input.ed_button {
|
30 |
-
padding: 2px 4px; }
|
31 |
-
.cmb2-wrap input:not([type="hidden"]) + input,
|
32 |
-
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
33 |
-
.cmb2-wrap input:not([type="hidden"]) + select {
|
34 |
-
margin-left: 20px; }
|
35 |
-
.cmb2-wrap ul {
|
36 |
-
margin: 0; }
|
37 |
-
.cmb2-wrap li {
|
38 |
-
font-size: 14px;
|
39 |
-
line-height: 16px;
|
40 |
-
margin: 1px 0 5px 0; }
|
41 |
-
.cmb2-wrap select {
|
42 |
-
font-size: 14px;
|
43 |
-
margin-top: 3px; }
|
44 |
-
.cmb2-wrap input:focus,
|
45 |
-
.cmb2-wrap textarea:focus {
|
46 |
-
background: #fffff8; }
|
47 |
-
.cmb2-wrap input[type="radio"] {
|
48 |
-
margin: 0 5px 0 0;
|
49 |
-
padding: 0; }
|
50 |
-
.cmb2-wrap input[type="checkbox"] {
|
51 |
-
margin: 0 5px 0 0;
|
52 |
-
padding: 0; }
|
53 |
-
.cmb2-wrap button,
|
54 |
-
.cmb2-wrap .button-secondary {
|
55 |
-
white-space: nowrap; }
|
56 |
-
.cmb2-wrap .mceLayout {
|
57 |
-
border: 1px solid #e9e9e9 !important; }
|
58 |
-
.cmb2-wrap .mceIframeContainer {
|
59 |
-
background: #fff; }
|
60 |
-
.cmb2-wrap .meta_mce {
|
61 |
-
width: 97%; }
|
62 |
-
.cmb2-wrap .meta_mce textarea {
|
63 |
-
width: 100%; }
|
64 |
-
.cmb2-wrap .wp-color-result,
|
65 |
-
.cmb2-wrap .wp-picker-input-wrap {
|
66 |
-
vertical-align: middle; }
|
67 |
-
.cmb2-wrap .wp-color-result,
|
68 |
-
.cmb2-wrap .wp-picker-container {
|
69 |
-
margin: 0 10px 0 0; }
|
70 |
-
.cmb2-wrap .cmb-row {
|
71 |
-
margin: 0; }
|
72 |
-
.cmb2-wrap .cmb-row:after {
|
73 |
-
content: '';
|
74 |
-
clear: both;
|
75 |
-
display: block;
|
76 |
-
width: 100%; }
|
77 |
-
.cmb2-wrap .cmb-row.cmb-repeat-row {
|
78 |
-
padding: 1.8em 0 0; }
|
79 |
-
.cmb2-wrap .cmb-row.cmb-repeat-row:first-of-type {
|
80 |
-
padding: 0; }
|
81 |
-
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
82 |
-
padding-top: 0;
|
83 |
-
padding-bottom: 1.8em; }
|
84 |
-
|
85 |
-
.cmb2-metabox {
|
86 |
-
clear: both;
|
87 |
-
margin: 0; }
|
88 |
-
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
89 |
-
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
90 |
-
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
91 |
-
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-th {
|
92 |
-
border: 0; }
|
93 |
-
.cmb2-metabox > .cmb-row .cmb-repeat-table .cmb-row > .cmb-td {
|
94 |
-
padding-right: 20px;
|
95 |
-
box-sizing: border-box;
|
96 |
-
float: left; }
|
97 |
-
|
98 |
-
.cmb-add-row {
|
99 |
-
margin: 1.8em 0 0; }
|
100 |
-
|
101 |
-
.cmb-nested .cmb-td,
|
102 |
-
.cmb-repeatable-group .cmb-th,
|
103 |
-
.cmb-repeatable-group:first-of-type {
|
104 |
-
border: 0; }
|
105 |
-
|
106 |
-
.cmb-row:last-of-type,
|
107 |
-
.cmb2-wrap .cmb-row:last-of-type,
|
108 |
-
.cmb-repeatable-group:last-of-type {
|
109 |
-
border-bottom: 0; }
|
110 |
-
|
111 |
-
.cmb-repeatable-grouping {
|
112 |
-
border: 1px solid #e9e9e9;
|
113 |
-
padding: 0 1em;
|
114 |
-
max-width: 1000px; }
|
115 |
-
.cmb-repeatable-grouping.cmb-row {
|
116 |
-
margin: 0 0 0.8em; }
|
117 |
-
|
118 |
-
.cmb-th {
|
119 |
-
color: #222222;
|
120 |
-
float: left;
|
121 |
-
font-weight: 600;
|
122 |
-
line-height: 1.3;
|
123 |
-
padding: 20px 10px 20px 0;
|
124 |
-
vertical-align: top;
|
125 |
-
width: 200px; }
|
126 |
-
@media (max-width: 450px) {
|
127 |
-
.cmb-th {
|
128 |
-
font-size: 1.2em;
|
129 |
-
display: block;
|
130 |
-
float: none;
|
131 |
-
padding-bottom: 1em;
|
132 |
-
text-align: left;
|
133 |
-
width: 100%; }
|
134 |
-
.cmb-th label {
|
135 |
-
display: block;
|
136 |
-
margin-top: 0em;
|
137 |
-
padding-bottom: 5px; }
|
138 |
-
.cmb-th label:after {
|
139 |
-
border-bottom: 1px solid #e9e9e9;
|
140 |
-
content: '';
|
141 |
-
clear: both;
|
142 |
-
display: block;
|
143 |
-
padding-top: .4em; } }
|
144 |
-
|
145 |
-
.cmb-td {
|
146 |
-
line-height: 1.3;
|
147 |
-
max-width: 100%;
|
148 |
-
padding: 15px 10px;
|
149 |
-
vertical-align: middle; }
|
150 |
-
|
151 |
-
.cmb-type-title .cmb-td {
|
152 |
-
padding: 0; }
|
153 |
-
|
154 |
-
.cmb-th label {
|
155 |
-
display: block;
|
156 |
-
padding: 5px 0; }
|
157 |
-
|
158 |
-
.cmb-th + .cmb-td {
|
159 |
-
float: left; }
|
160 |
-
|
161 |
-
.cmb-td .cmb-td {
|
162 |
-
padding-bottom: 1em; }
|
163 |
-
|
164 |
-
.cmb-remove-row {
|
165 |
-
text-align: right; }
|
166 |
-
|
167 |
-
.empty-row.hidden {
|
168 |
-
display: none; }
|
169 |
-
|
170 |
-
.cmb-repeatable-group .cmb-th {
|
171 |
-
padding: 5px; }
|
172 |
-
.cmb-repeatable-group .cmb-group-title {
|
173 |
-
background-color: #e9e9e9;
|
174 |
-
padding: 8px 12px 8px 2.2em;
|
175 |
-
margin: 0 -1em;
|
176 |
-
min-height: 1.5em;
|
177 |
-
font-size: 14px;
|
178 |
-
line-height: 1.4; }
|
179 |
-
.cmb-repeatable-group .cmb-group-title h4 {
|
180 |
-
border: 0;
|
181 |
-
margin: 0;
|
182 |
-
font-size: 1.2em;
|
183 |
-
font-weight: 500;
|
184 |
-
padding: 0.5em 0.75em; }
|
185 |
-
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
186 |
-
display: block;
|
187 |
-
width: 100%; }
|
188 |
-
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
189 |
-
font-size: 1.2em;
|
190 |
-
display: block;
|
191 |
-
float: none;
|
192 |
-
padding-bottom: 1em;
|
193 |
-
text-align: left;
|
194 |
-
width: 100%; }
|
195 |
-
.cmb-repeatable-group .cmb-group-description .cmb-th label {
|
196 |
-
display: block;
|
197 |
-
margin-top: 0em;
|
198 |
-
padding-bottom: 5px; }
|
199 |
-
.cmb-repeatable-group .cmb-group-description .cmb-th label:after {
|
200 |
-
border-bottom: 1px solid #e9e9e9;
|
201 |
-
content: '';
|
202 |
-
clear: both;
|
203 |
-
display: block;
|
204 |
-
padding-top: .4em; }
|
205 |
-
.cmb-repeatable-group .cmb-shift-rows {
|
206 |
-
font-size: 1em;
|
207 |
-
margin-right: 1em;
|
208 |
-
text-decoration: none; }
|
209 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons {
|
210 |
-
font-size: 1.5em;
|
211 |
-
height: 1.5em;
|
212 |
-
line-height: 1.2em;
|
213 |
-
width: 1em; }
|
214 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2 {
|
215 |
-
line-height: 1.3em; }
|
216 |
-
.cmb-repeatable-group .cmb2-upload-button {
|
217 |
-
float: right; }
|
218 |
-
|
219 |
-
p.cmb2-metabox-description {
|
220 |
-
color: #aaaaaa;
|
221 |
-
font-style: italic;
|
222 |
-
margin: 0;
|
223 |
-
padding-top: .5em; }
|
224 |
-
|
225 |
-
span.cmb2-metabox-description {
|
226 |
-
color: #aaaaaa;
|
227 |
-
font-style: italic; }
|
228 |
-
|
229 |
-
.cmb2-metabox-title {
|
230 |
-
margin: 0 0 5px 0;
|
231 |
-
padding: 5px 0 0 0;
|
232 |
-
font-size: 14px; }
|
233 |
-
|
234 |
-
.cmb-inline ul {
|
235 |
-
padding: 4px 0 0 0; }
|
236 |
-
|
237 |
-
.cmb-inline li {
|
238 |
-
display: inline-block;
|
239 |
-
padding-right: 18px; }
|
240 |
-
|
241 |
-
.cmb-type-textarea-code pre {
|
242 |
-
margin: 0; }
|
243 |
-
|
244 |
-
.cmb2-media-status .img-status {
|
245 |
-
clear: none;
|
246 |
-
display: inline-block;
|
247 |
-
vertical-align: middle;
|
248 |
-
margin-right: 10px;
|
249 |
-
width: auto; }
|
250 |
-
.cmb2-media-status .img-status img {
|
251 |
-
max-width: 350px;
|
252 |
-
height: auto; }
|
253 |
-
.cmb2-media-status .img-status img,
|
254 |
-
.cmb2-media-status .embed-status {
|
255 |
-
background: #ffffff;
|
256 |
-
border: 1px solid #e9e9e9;
|
257 |
-
border-radius: 2px;
|
258 |
-
-moz-border-radius: 2px;
|
259 |
-
margin: 15px 0 0 0;
|
260 |
-
padding: 5px; }
|
261 |
-
.cmb2-media-status .embed-status {
|
262 |
-
float: left;
|
263 |
-
max-width: 800px; }
|
264 |
-
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
265 |
-
position: relative; }
|
266 |
-
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
267 |
-
background: url(../images/ico-delete.png);
|
268 |
-
height: 16px;
|
269 |
-
left: -5px;
|
270 |
-
position: absolute;
|
271 |
-
text-indent: -9999px;
|
272 |
-
top: -5px;
|
273 |
-
width: 16px; }
|
274 |
-
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
275 |
-
top: 10px; }
|
276 |
-
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
277 |
-
cursor: pointer; }
|
278 |
-
|
279 |
-
.cmb-type-file-list .cmb2-media-status .img-status {
|
280 |
-
clear: none;
|
281 |
-
vertical-align: middle;
|
282 |
-
width: auto;
|
283 |
-
margin-right: 10px;
|
284 |
-
margin-bottom: 10px;
|
285 |
-
margin-top: 0; }
|
286 |
-
|
287 |
-
.cmb-attach-list li {
|
288 |
-
clear: both;
|
289 |
-
display: inline-block;
|
290 |
-
width: 100%;
|
291 |
-
margin-top: 5px;
|
292 |
-
margin-bottom: 10px; }
|
293 |
-
.cmb-attach-list li img {
|
294 |
-
cursor: move;
|
295 |
-
float: left;
|
296 |
-
margin-right: 10px; }
|
297 |
-
|
298 |
-
.cmb2-remove-wrapper {
|
299 |
-
margin: 0; }
|
300 |
-
|
301 |
-
.child-cmb2 .cmb-th {
|
302 |
-
text-align: left; }
|
303 |
-
|
304 |
-
@media (max-width: 450px) {
|
305 |
-
.cmb-th,
|
306 |
-
.cmb-td,
|
307 |
-
.cmb-th + .cmb-td {
|
308 |
-
display: block;
|
309 |
-
float: none;
|
310 |
-
width: 100%; } }
|
311 |
-
/*--------------------------------------------------------------
|
312 |
-
Post Metaboxes
|
313 |
-
--------------------------------------------------------------*/
|
314 |
-
#poststuff .cmb-group-title {
|
315 |
-
margin-left: -1em;
|
316 |
-
margin-right: -1em;
|
317 |
-
min-height: 1.5em; }
|
318 |
-
|
319 |
-
#poststuff .repeatable .cmb-group-title {
|
320 |
-
padding-left: 2.2em; }
|
321 |
-
|
322 |
-
.cmb2-postbox .cmb2-wrap, .cmb-type-group .cmb2-wrap {
|
323 |
-
margin: 0; }
|
324 |
-
.cmb2-postbox .cmb2-wrap > .cmb-field-list > .cmb-row, .cmb-type-group .cmb2-wrap > .cmb-field-list > .cmb-row {
|
325 |
-
padding: 1.8em 0; }
|
326 |
-
.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed, .cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed {
|
327 |
-
width: 100%; }
|
328 |
-
.cmb2-postbox .cmb-row, .cmb-type-group .cmb-row {
|
329 |
-
padding: 0 0 1.8em;
|
330 |
-
margin: 0 0 0.8em; }
|
331 |
-
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
332 |
-
right: -1em;
|
333 |
-
position: relative; }
|
334 |
-
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
335 |
-
padding: 0 1em;
|
336 |
-
max-width: 100%;
|
337 |
-
min-width: 1px !important; }
|
338 |
-
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
339 |
-
padding-bottom: 0; }
|
340 |
-
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
341 |
-
width: 18%;
|
342 |
-
padding: 0 2% 0 0; }
|
343 |
-
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
344 |
-
margin-bottom: 0;
|
345 |
-
padding: 0;
|
346 |
-
line-height: 1.3; }
|
347 |
-
.cmb2-postbox .cmb-repeat-row .cmb-td, .cmb-type-group .cmb-repeat-row .cmb-td {
|
348 |
-
padding-bottom: 1.8em; }
|
349 |
-
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
350 |
-
width: 80%;
|
351 |
-
float: right; }
|
352 |
-
.cmb2-postbox .cmb-row:not(:last-of-type),
|
353 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
354 |
-
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
355 |
-
border-bottom: 1px solid #e9e9e9; }
|
356 |
-
@media (max-width: 450px) {
|
357 |
-
.cmb2-postbox .cmb-row:not(:last-of-type),
|
358 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
359 |
-
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
360 |
-
border-bottom: 0; } }
|
361 |
-
.cmb2-postbox .cmb-repeat-group-field,
|
362 |
-
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
363 |
-
.cmb-type-group .cmb-remove-field-row {
|
364 |
-
padding-top: 1.8em; }
|
365 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody {
|
366 |
-
display: table;
|
367 |
-
width: 100%; }
|
368 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text {
|
369 |
-
width: 100%; }
|
370 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row), .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row), .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row), .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row) {
|
371 |
-
display: table-row; }
|
372 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td {
|
373 |
-
display: table-cell;
|
374 |
-
float: none;
|
375 |
-
width: 100%; }
|
376 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td {
|
377 |
-
padding-top: 1.8em; }
|
378 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row {
|
379 |
-
padding-right: 0; }
|
380 |
-
|
381 |
-
/*--------------------------------------------------------------
|
382 |
-
Context Metaboxes
|
383 |
-
--------------------------------------------------------------*/
|
384 |
-
/* Metabox collapse arrow indicators */
|
385 |
-
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
386 |
-
content: "\f142";
|
387 |
-
display: inline-block;
|
388 |
-
font: normal 20px/1 dashicons;
|
389 |
-
speak: none;
|
390 |
-
-webkit-font-smoothing: antialiased;
|
391 |
-
-moz-osx-font-smoothing: grayscale;
|
392 |
-
text-decoration: none !important; }
|
393 |
-
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
394 |
-
content: "\f140"; }
|
395 |
-
|
396 |
-
.cmb2-postbox.context-box {
|
397 |
-
margin-bottom: 10px; }
|
398 |
-
.cmb2-postbox.context-box.context-before_permalink-box {
|
399 |
-
margin-top: 10px; }
|
400 |
-
.cmb2-postbox.context-box.context-after_title-box {
|
401 |
-
margin-top: 10px; }
|
402 |
-
.cmb2-postbox.context-box.context-after_editor-box {
|
403 |
-
margin-top: 20px;
|
404 |
-
margin-bottom: 0; }
|
405 |
-
.cmb2-postbox.context-box.context-form_top-box {
|
406 |
-
margin-top: 10px; }
|
407 |
-
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
408 |
-
font-size: 14px;
|
409 |
-
padding: 8px 12px;
|
410 |
-
margin: 0;
|
411 |
-
line-height: 1.4; }
|
412 |
-
.cmb2-postbox.context-box .hndle {
|
413 |
-
cursor: auto; }
|
414 |
-
|
415 |
-
.cmb2-context-wrap {
|
416 |
-
margin-top: 10px; }
|
417 |
-
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
418 |
-
margin-right: 300px;
|
419 |
-
width: auto; }
|
420 |
-
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
421 |
-
padding: 10px; }
|
422 |
-
.cmb2-context-wrap .cmb-th {
|
423 |
-
padding: 0 2% 0 0;
|
424 |
-
width: 18%; }
|
425 |
-
.cmb2-context-wrap .cmb-td {
|
426 |
-
width: 80%;
|
427 |
-
padding: 0; }
|
428 |
-
.cmb2-context-wrap .cmb-row {
|
429 |
-
margin-bottom: 10px; }
|
430 |
-
.cmb2-context-wrap .cmb-row:last-of-type {
|
431 |
-
margin-bottom: 0; }
|
432 |
-
|
433 |
-
/* one column on the post write/edit screen */
|
434 |
-
@media only screen and (max-width: 850px) {
|
435 |
-
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
436 |
-
margin-right: 0; } }
|
437 |
-
/*--------------------------------------------------------------
|
438 |
-
Misc.
|
439 |
-
--------------------------------------------------------------*/
|
440 |
-
#poststuff .cmb-repeatable-group h2 {
|
441 |
-
margin: 0; }
|
442 |
-
|
443 |
-
.edit-tags-php .cmb2-metabox-title,
|
444 |
-
.profile-php .cmb2-metabox-title,
|
445 |
-
.user-edit-php .cmb2-metabox-title {
|
446 |
-
font-size: 1.4em; }
|
447 |
-
|
448 |
-
.cmb2-options-page .cmb2-metabox-title {
|
449 |
-
font-size: 1.3em;
|
450 |
-
margin: 1em 0; }
|
451 |
-
.cmb2-options-page .cmb2-metabox-title + p.cmb2-metabox-description {
|
452 |
-
margin-top: -1.6em;
|
453 |
-
margin-bottom: .8em; }
|
454 |
-
|
455 |
-
.cmb2-postbox .cmb-spinner, .cmb2-no-box-wrap .cmb-spinner {
|
456 |
-
float: left;
|
457 |
-
display: none; }
|
458 |
-
|
459 |
-
.cmb-spinner {
|
460 |
-
display: none; }
|
461 |
-
.cmb-spinner.is-active {
|
462 |
-
display: block; }
|
463 |
-
|
464 |
-
/*--------------------------------------------------------------
|
465 |
-
Sidebar Placement Adjustments
|
466 |
-
--------------------------------------------------------------*/
|
467 |
-
.inner-sidebar .cmb2-wrap > .cmb-field-list > .cmb-row,
|
468 |
-
#side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row {
|
469 |
-
padding: 1.4em 0; }
|
470 |
-
.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker),
|
471 |
-
#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker) {
|
472 |
-
width: 100%; }
|
473 |
-
.inner-sidebar .cmb2-wrap input + input:not(.wp-picker-clear), .inner-sidebar .cmb2-wrap input + select,
|
474 |
-
#side-sortables .cmb2-wrap input + input:not(.wp-picker-clear),
|
475 |
-
#side-sortables .cmb2-wrap input + select {
|
476 |
-
margin-left: 0;
|
477 |
-
margin-top: 1em;
|
478 |
-
display: block; }
|
479 |
-
.inner-sidebar .cmb2-wrap input.cmb2-text-money,
|
480 |
-
#side-sortables .cmb2-wrap input.cmb2-text-money {
|
481 |
-
max-width: 70%; }
|
482 |
-
.inner-sidebar .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description,
|
483 |
-
#side-sortables .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description {
|
484 |
-
display: block; }
|
485 |
-
.inner-sidebar .cmb2-wrap label,
|
486 |
-
#side-sortables .cmb2-wrap label {
|
487 |
-
display: block;
|
488 |
-
font-weight: 700;
|
489 |
-
padding: 0 0 5px; }
|
490 |
-
.inner-sidebar textarea,
|
491 |
-
#side-sortables textarea {
|
492 |
-
max-width: 99%; }
|
493 |
-
.inner-sidebar .cmb-repeatable-group,
|
494 |
-
#side-sortables .cmb-repeatable-group {
|
495 |
-
border-bottom: 1px solid #e9e9e9; }
|
496 |
-
.inner-sidebar .cmb-type-group > .cmb-td > .cmb-repeatable-group,
|
497 |
-
#side-sortables .cmb-type-group > .cmb-td > .cmb-repeatable-group {
|
498 |
-
border-bottom: 0;
|
499 |
-
margin-bottom: -1.4em; }
|
500 |
-
.inner-sidebar .cmb-th,
|
501 |
-
.inner-sidebar .cmb-td,
|
502 |
-
.inner-sidebar .cmb-th + .cmb-td,
|
503 |
-
#side-sortables .cmb-th,
|
504 |
-
#side-sortables .cmb-td,
|
505 |
-
#side-sortables .cmb-th + .cmb-td {
|
506 |
-
width: 100%;
|
507 |
-
display: block;
|
508 |
-
float: none; }
|
509 |
-
.inner-sidebar .closed .inside,
|
510 |
-
#side-sortables .closed .inside {
|
511 |
-
display: none; }
|
512 |
-
.inner-sidebar .cmb-td .cmb-td,
|
513 |
-
#side-sortables .cmb-td .cmb-td {
|
514 |
-
padding-bottom: 1em; }
|
515 |
-
.inner-sidebar .cmb-th,
|
516 |
-
#side-sortables .cmb-th {
|
517 |
-
display: block;
|
518 |
-
float: none;
|
519 |
-
padding-bottom: 1em;
|
520 |
-
text-align: left;
|
521 |
-
width: 100%;
|
522 |
-
padding-left: 0;
|
523 |
-
padding-right: 0; }
|
524 |
-
.inner-sidebar .cmb-th label,
|
525 |
-
#side-sortables .cmb-th label {
|
526 |
-
display: block;
|
527 |
-
margin-top: 0em;
|
528 |
-
padding-bottom: 5px; }
|
529 |
-
.inner-sidebar .cmb-th label:after,
|
530 |
-
#side-sortables .cmb-th label:after {
|
531 |
-
border-bottom: 1px solid #e9e9e9;
|
532 |
-
content: '';
|
533 |
-
clear: both;
|
534 |
-
display: block;
|
535 |
-
padding-top: .4em; }
|
536 |
-
.inner-sidebar .cmb-th label,
|
537 |
-
#side-sortables .cmb-th label {
|
538 |
-
font-size: 14px;
|
539 |
-
line-height: 1.4em; }
|
540 |
-
.inner-sidebar .cmb-group-description .cmb-th,
|
541 |
-
#side-sortables .cmb-group-description .cmb-th {
|
542 |
-
padding-top: 0; }
|
543 |
-
.inner-sidebar .cmb-group-description .cmb2-metabox-description,
|
544 |
-
#side-sortables .cmb-group-description .cmb2-metabox-description {
|
545 |
-
padding: 0; }
|
546 |
-
.inner-sidebar .cmb-group-title .cmb-th,
|
547 |
-
#side-sortables .cmb-group-title .cmb-th {
|
548 |
-
padding: 0; }
|
549 |
-
.inner-sidebar .cmb-repeatable-grouping + .cmb-repeatable-grouping,
|
550 |
-
#side-sortables .cmb-repeatable-grouping + .cmb-repeatable-grouping {
|
551 |
-
margin-top: 1em; }
|
552 |
-
.inner-sidebar .cmb2-media-status .img-status img,
|
553 |
-
.inner-sidebar .cmb2-media-status .embed-status img,
|
554 |
-
#side-sortables .cmb2-media-status .img-status img,
|
555 |
-
#side-sortables .cmb2-media-status .embed-status img {
|
556 |
-
max-width: 90%;
|
557 |
-
height: auto; }
|
558 |
-
.inner-sidebar .cmb2-list label,
|
559 |
-
#side-sortables .cmb2-list label {
|
560 |
-
display: inline;
|
561 |
-
font-weight: normal; }
|
562 |
-
.inner-sidebar .cmb2-metabox-description,
|
563 |
-
#side-sortables .cmb2-metabox-description {
|
564 |
-
display: block;
|
565 |
-
padding: 7px 0 0; }
|
566 |
-
.inner-sidebar .cmb-type-checkbox .cmb-td label,
|
567 |
-
.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description,
|
568 |
-
#side-sortables .cmb-type-checkbox .cmb-td label,
|
569 |
-
#side-sortables .cmb-type-checkbox .cmb2-metabox-description {
|
570 |
-
font-weight: normal;
|
571 |
-
display: inline; }
|
572 |
-
.inner-sidebar .cmb-row .cmb2-metabox-description,
|
573 |
-
#side-sortables .cmb-row .cmb2-metabox-description {
|
574 |
-
padding-bottom: 1.8em; }
|
575 |
-
.inner-sidebar .cmb2-metabox-title,
|
576 |
-
#side-sortables .cmb2-metabox-title {
|
577 |
-
font-size: 1.2em;
|
578 |
-
font-style: italic; }
|
579 |
-
.inner-sidebar .cmb-remove-row,
|
580 |
-
#side-sortables .cmb-remove-row {
|
581 |
-
clear: both;
|
582 |
-
padding-top: 12px;
|
583 |
-
padding-bottom: 0; }
|
584 |
-
.inner-sidebar .cmb-type-colorpicker .cmb-repeat-row .cmb-td,
|
585 |
-
#side-sortables .cmb-type-colorpicker .cmb-repeat-row .cmb-td {
|
586 |
-
width: auto;
|
587 |
-
clear: none;
|
588 |
-
float: left;
|
589 |
-
padding-top: 0; }
|
590 |
-
.inner-sidebar .cmb-type-colorpicker .cmb-repeat-row .cmb-td.cmb-remove-row,
|
591 |
-
#side-sortables .cmb-type-colorpicker .cmb-repeat-row .cmb-td.cmb-remove-row {
|
592 |
-
float: right;
|
593 |
-
margin: 0; }
|
594 |
-
.inner-sidebar .cmb2-upload-button,
|
595 |
-
#side-sortables .cmb2-upload-button {
|
596 |
-
clear: both;
|
597 |
-
margin-top: 12px; }
|
598 |
-
|
599 |
-
.cmb2-metabox .cmb-type-group {
|
600 |
-
max-width: 1000px; }
|
601 |
-
.cmb2-metabox .cmbhandle {
|
602 |
-
color: #aaa;
|
603 |
-
float: right;
|
604 |
-
width: 27px;
|
605 |
-
height: 30px;
|
606 |
-
cursor: pointer;
|
607 |
-
right: -1em;
|
608 |
-
position: relative; }
|
609 |
-
.cmb2-metabox .cmbhandle:before {
|
610 |
-
content: '\f142';
|
611 |
-
right: 12px;
|
612 |
-
font: normal 20px/1 'dashicons';
|
613 |
-
speak: none;
|
614 |
-
display: inline-block;
|
615 |
-
padding: 8px 10px;
|
616 |
-
top: 0;
|
617 |
-
position: relative;
|
618 |
-
-webkit-font-smoothing: antialiased;
|
619 |
-
-moz-osx-font-smoothing: grayscale;
|
620 |
-
text-decoration: none !important; }
|
621 |
-
.cmb2-metabox .postbox.closed .cmbhandle:before {
|
622 |
-
content: '\f140'; }
|
623 |
-
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
|
624 |
-
-webkit-appearance: none !important;
|
625 |
-
background: none !important;
|
626 |
-
border: none !important;
|
627 |
-
position: absolute;
|
628 |
-
left: 0;
|
629 |
-
top: .5em;
|
630 |
-
line-height: 1em;
|
631 |
-
padding: 2px 6px 3px;
|
632 |
-
opacity: .5; }
|
633 |
-
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) {
|
634 |
-
cursor: pointer;
|
635 |
-
color: #a00;
|
636 |
-
opacity: 1; }
|
637 |
-
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover {
|
638 |
-
color: #f00; }
|
639 |
-
|
640 |
-
/*
|
641 |
-
* jQuery UI CSS Framework 1.8.16
|
642 |
-
*
|
643 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
644 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
645 |
-
* http://jquery.org/license
|
646 |
-
*
|
647 |
-
* http://docs.jquery.com/UI/Theming/API
|
648 |
-
*
|
649 |
-
* WordPress Styles adopted from "jQuery UI Datepicker CSS for WordPress"
|
650 |
-
* https://github.com/stuttter/wp-datepicker-styling
|
651 |
-
*
|
652 |
-
*/
|
653 |
-
* html .cmb2-element.ui-helper-clearfix {
|
654 |
-
height: 1%; }
|
655 |
-
|
656 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
657 |
-
padding: 0;
|
658 |
-
margin: 0;
|
659 |
-
-webkit-border-radius: 0;
|
660 |
-
-moz-border-radius: 0;
|
661 |
-
border-radius: 0;
|
662 |
-
background-color: #fff;
|
663 |
-
border: 1px solid #dfdfdf;
|
664 |
-
border-top: none;
|
665 |
-
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
666 |
-
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
667 |
-
min-width: 17em;
|
668 |
-
width: auto;
|
669 |
-
/* Default Color Scheme */ }
|
670 |
-
.cmb2-element.ui-datepicker *, .cmb2-element .ui-datepicker * {
|
671 |
-
padding: 0;
|
672 |
-
font-family: "Open Sans", sans-serif;
|
673 |
-
-webkit-border-radius: 0;
|
674 |
-
-moz-border-radius: 0;
|
675 |
-
border-radius: 0; }
|
676 |
-
.cmb2-element.ui-datepicker table, .cmb2-element .ui-datepicker table {
|
677 |
-
font-size: 13px;
|
678 |
-
margin: 0;
|
679 |
-
border: none;
|
680 |
-
border-collapse: collapse; }
|
681 |
-
.cmb2-element.ui-datepicker .ui-widget-header,
|
682 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
683 |
-
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
684 |
-
background-image: none;
|
685 |
-
border: none;
|
686 |
-
color: #fff;
|
687 |
-
font-weight: normal; }
|
688 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
689 |
-
background: transparent;
|
690 |
-
border-color: transparent;
|
691 |
-
cursor: pointer; }
|
692 |
-
.cmb2-element.ui-datepicker .ui-datepicker-title, .cmb2-element .ui-datepicker .ui-datepicker-title {
|
693 |
-
margin: 0;
|
694 |
-
padding: 10px 0;
|
695 |
-
color: #fff;
|
696 |
-
font-size: 14px;
|
697 |
-
line-height: 14px;
|
698 |
-
text-align: center; }
|
699 |
-
.cmb2-element.ui-datepicker .ui-datepicker-title select, .cmb2-element .ui-datepicker .ui-datepicker-title select {
|
700 |
-
margin-top: -8px;
|
701 |
-
margin-bottom: -8px; }
|
702 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
703 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
704 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
705 |
-
position: relative;
|
706 |
-
top: 0;
|
707 |
-
height: 34px;
|
708 |
-
width: 34px; }
|
709 |
-
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
710 |
-
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next, .cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
711 |
-
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next {
|
712 |
-
border: none; }
|
713 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
714 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
715 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover {
|
716 |
-
left: 0; }
|
717 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
718 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover, .cmb2-element .ui-datepicker .ui-datepicker-next,
|
719 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next-hover {
|
720 |
-
right: 0; }
|
721 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next span,
|
722 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev span, .cmb2-element .ui-datepicker .ui-datepicker-next span,
|
723 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev span {
|
724 |
-
display: none; }
|
725 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev, .cmb2-element .ui-datepicker .ui-datepicker-prev {
|
726 |
-
float: left; }
|
727 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-next {
|
728 |
-
float: right; }
|
729 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
730 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
731 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
732 |
-
font: normal 20px/34px 'dashicons';
|
733 |
-
padding-left: 7px;
|
734 |
-
color: #fff;
|
735 |
-
speak: none;
|
736 |
-
-webkit-font-smoothing: antialiased;
|
737 |
-
-moz-osx-font-smoothing: grayscale;
|
738 |
-
width: 34px;
|
739 |
-
height: 34px; }
|
740 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before {
|
741 |
-
content: '\f341'; }
|
742 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
743 |
-
content: '\f345'; }
|
744 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before,
|
745 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before, .cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,
|
746 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before {
|
747 |
-
opacity: 0.7; }
|
748 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-month,
|
749 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year, .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
750 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-year {
|
751 |
-
width: 33%;
|
752 |
-
background: transparent;
|
753 |
-
border-color: transparent;
|
754 |
-
box-shadow: none;
|
755 |
-
color: #fff; }
|
756 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-month option,
|
757 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year option, .cmb2-element .ui-datepicker select.ui-datepicker-month option,
|
758 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-year option {
|
759 |
-
color: #333; }
|
760 |
-
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
761 |
-
color: #fff;
|
762 |
-
font-weight: 600; }
|
763 |
-
.cmb2-element.ui-datepicker thead th, .cmb2-element .ui-datepicker thead th {
|
764 |
-
font-weight: normal; }
|
765 |
-
.cmb2-element.ui-datepicker th, .cmb2-element .ui-datepicker th {
|
766 |
-
padding: 10px; }
|
767 |
-
.cmb2-element.ui-datepicker td, .cmb2-element .ui-datepicker td {
|
768 |
-
padding: 0;
|
769 |
-
border: 1px solid #f4f4f4; }
|
770 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-other-month, .cmb2-element .ui-datepicker td.ui-datepicker-other-month {
|
771 |
-
border: transparent; }
|
772 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-week-end, .cmb2-element .ui-datepicker td.ui-datepicker-week-end {
|
773 |
-
background-color: #f4f4f4;
|
774 |
-
border: 1px solid #f4f4f4; }
|
775 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today {
|
776 |
-
-webkit-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
777 |
-
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
778 |
-
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1); }
|
779 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
780 |
-
background-color: #f0f0c0; }
|
781 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-current-day, .cmb2-element .ui-datepicker td.ui-datepicker-current-day {
|
782 |
-
background: #bbdd88; }
|
783 |
-
.cmb2-element.ui-datepicker td .ui-state-default, .cmb2-element .ui-datepicker td .ui-state-default {
|
784 |
-
background: transparent;
|
785 |
-
border: none;
|
786 |
-
text-align: center;
|
787 |
-
text-decoration: none;
|
788 |
-
width: auto;
|
789 |
-
display: block;
|
790 |
-
padding: 5px 10px;
|
791 |
-
font-weight: normal;
|
792 |
-
color: #444; }
|
793 |
-
.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default, .cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default {
|
794 |
-
opacity: 0.5; }
|
795 |
-
.cmb2-element.ui-datepicker .ui-widget-header,
|
796 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
797 |
-
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
798 |
-
background: #00a0d2; }
|
799 |
-
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
800 |
-
background: #32373c; }
|
801 |
-
.cmb2-element.ui-datepicker td .ui-state-hover, .cmb2-element.ui-datepicker td .ui-state-active, .cmb2-element .ui-datepicker td .ui-state-hover, .cmb2-element .ui-datepicker td .ui-state-active {
|
802 |
-
background: #0073aa;
|
803 |
-
color: #fff; }
|
804 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div, .cmb2-element .ui-datepicker .ui-timepicker-div {
|
805 |
-
font-size: 14px; }
|
806 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl, .cmb2-element .ui-datepicker .ui-timepicker-div dl {
|
807 |
-
text-align: left;
|
808 |
-
padding: 0 .6em; }
|
809 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl dt, .cmb2-element .ui-datepicker .ui-timepicker-div dl dt {
|
810 |
-
float: left;
|
811 |
-
clear: left;
|
812 |
-
padding: 0 0 0 5px; }
|
813 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd {
|
814 |
-
margin: 0 10px 10px 40%; }
|
815 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd select {
|
816 |
-
width: 100%; }
|
817 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane {
|
818 |
-
padding: .6em;
|
819 |
-
text-align: left; }
|
820 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary {
|
821 |
-
padding: 0 10px 1px;
|
822 |
-
-webkit-border-radius: 3px;
|
823 |
-
-moz-border-radius: 3px;
|
824 |
-
border-radius: 3px;
|
825 |
-
margin: 0 .6em .4em .4em; }
|
826 |
-
|
827 |
-
.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header,
|
828 |
-
.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,
|
829 |
-
.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header {
|
830 |
-
background: #00a0d2; }
|
831 |
-
.admin-color-fresh .cmb2-element.ui-datepicker thead, .admin-color-fresh .cmb2-element .ui-datepicker thead {
|
832 |
-
background: #32373c; }
|
833 |
-
.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover {
|
834 |
-
background: #0073aa;
|
835 |
-
color: #fff; }
|
836 |
-
|
837 |
-
.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header,
|
838 |
-
.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,
|
839 |
-
.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header {
|
840 |
-
background: #52accc; }
|
841 |
-
.admin-color-blue .cmb2-element.ui-datepicker thead, .admin-color-blue .cmb2-element .ui-datepicker thead {
|
842 |
-
background: #4796b3; }
|
843 |
-
.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active {
|
844 |
-
background: #096484;
|
845 |
-
color: #fff; }
|
846 |
-
.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
847 |
-
background: #eee; }
|
848 |
-
|
849 |
-
.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header,
|
850 |
-
.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,
|
851 |
-
.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header {
|
852 |
-
background: #59524c; }
|
853 |
-
.admin-color-coffee .cmb2-element.ui-datepicker thead, .admin-color-coffee .cmb2-element .ui-datepicker thead {
|
854 |
-
background: #46403c; }
|
855 |
-
.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover {
|
856 |
-
background: #c7a589;
|
857 |
-
color: #fff; }
|
858 |
-
|
859 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header,
|
860 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,
|
861 |
-
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header {
|
862 |
-
background: #523f6d; }
|
863 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker thead, .admin-color-ectoplasm .cmb2-element .ui-datepicker thead {
|
864 |
-
background: #413256; }
|
865 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover {
|
866 |
-
background: #a3b745;
|
867 |
-
color: #fff; }
|
868 |
-
|
869 |
-
.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header,
|
870 |
-
.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,
|
871 |
-
.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header {
|
872 |
-
background: #363b3f; }
|
873 |
-
.admin-color-midnight .cmb2-element.ui-datepicker thead, .admin-color-midnight .cmb2-element .ui-datepicker thead {
|
874 |
-
background: #26292c; }
|
875 |
-
.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover {
|
876 |
-
background: #e14d43;
|
877 |
-
color: #fff; }
|
878 |
-
|
879 |
-
.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header,
|
880 |
-
.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,
|
881 |
-
.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header {
|
882 |
-
background: #738e96; }
|
883 |
-
.admin-color-ocean .cmb2-element.ui-datepicker thead, .admin-color-ocean .cmb2-element .ui-datepicker thead {
|
884 |
-
background: #627c83; }
|
885 |
-
.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover {
|
886 |
-
background: #9ebaa0;
|
887 |
-
color: #fff; }
|
888 |
-
|
889 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header,
|
890 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,
|
891 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,
|
892 |
-
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,
|
893 |
-
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
894 |
-
background: #cf4944; }
|
895 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker th, .admin-color-sunrise .cmb2-element .ui-datepicker th {
|
896 |
-
border-color: #be3631;
|
897 |
-
background: #be3631; }
|
898 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover {
|
899 |
-
background: #dd823b;
|
900 |
-
color: #fff; }
|
901 |
-
|
902 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header,
|
903 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,
|
904 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header {
|
905 |
-
background: #e5e5e5; }
|
906 |
-
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,
|
907 |
-
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year, .admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
908 |
-
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year {
|
909 |
-
color: #555; }
|
910 |
-
.admin-color-light .cmb2-element.ui-datepicker thead, .admin-color-light .cmb2-element .ui-datepicker thead {
|
911 |
-
background: #888; }
|
912 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,
|
913 |
-
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default,
|
914 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
915 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before, .admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,
|
916 |
-
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,
|
917 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
918 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
919 |
-
color: #555; }
|
920 |
-
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-active {
|
921 |
-
background: #ccc; }
|
922 |
-
.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
923 |
-
background: #eee; }
|
924 |
-
|
925 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header,
|
926 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,
|
927 |
-
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header {
|
928 |
-
background: #56b274; }
|
929 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead {
|
930 |
-
background: #36533f; }
|
931 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover {
|
932 |
-
background: #446950;
|
933 |
-
color: #fff; }
|
934 |
-
|
935 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header,
|
936 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,
|
937 |
-
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header {
|
938 |
-
background: #4ca26a; }
|
939 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker thead, .admin-color-bbp-mint .cmb2-element .ui-datepicker thead {
|
940 |
-
background: #4f6d59; }
|
941 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover {
|
942 |
-
background: #5fb37c;
|
943 |
-
color: #fff; }
|
944 |
-
|
945 |
-
/**
|
946 |
-
* CMB2 Frontend
|
947 |
-
*/
|
948 |
-
.closed .inside {
|
949 |
-
display: none; }
|
950 |
-
|
951 |
-
.cmb-repeatable-grouping {
|
952 |
-
position: relative; }
|
953 |
-
.cmb-repeatable-grouping .cmb-group-title {
|
954 |
-
margin-left: -1em;
|
955 |
-
margin-right: -1em;
|
956 |
-
min-height: 1.5em; }
|
957 |
-
.cmb-repeatable-grouping h3 {
|
958 |
-
font-size: 14px;
|
959 |
-
padding: 8px 12px;
|
960 |
-
margin: 0;
|
961 |
-
line-height: 1.4; }
|
962 |
-
|
963 |
-
.cmb-repeatable-group.repeatable .cmb-group-title {
|
964 |
-
padding-left: 2.2em; }
|
965 |
-
.cmb-repeatable-group.non-repeatable .cmb-group-title {
|
966 |
-
padding-left: 12px; }
|
967 |
-
|
968 |
-
.cmb-type-group .cmb-row .cmbhandle {
|
969 |
-
right: 0;
|
970 |
-
position: absolute; }
|
971 |
-
|
972 |
-
.cmb-spinner {
|
973 |
-
background: url(/wp-admin/images/spinner.gif) no-repeat;
|
974 |
-
-webkit-background-size: 20px 20px;
|
975 |
-
background-size: 20px 20px;
|
976 |
-
display: none;
|
977 |
-
float: right;
|
978 |
-
vertical-align: middle;
|
979 |
-
opacity: 0.7;
|
980 |
-
filter: alpha(opacity=70);
|
981 |
-
width: 20px;
|
982 |
-
height: 20px;
|
983 |
-
margin: 4px 10px 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/cmb2-front.scss
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
@import "cmb2.scss";
|
2 |
-
|
3 |
-
/**
|
4 |
-
* CMB2 Frontend
|
5 |
-
*/
|
6 |
-
@import "partials/front";
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/cmb2.css
DELETED
@@ -1,943 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* CMB2 Styling
|
3 |
-
*/
|
4 |
-
/*--------------------------------------------------------------
|
5 |
-
Main Wrap
|
6 |
-
--------------------------------------------------------------*/
|
7 |
-
.cmb2-wrap {
|
8 |
-
margin: 0; }
|
9 |
-
.cmb2-wrap input,
|
10 |
-
.cmb2-wrap textarea {
|
11 |
-
font-size: 14px;
|
12 |
-
max-width: 100%;
|
13 |
-
padding: 5px; }
|
14 |
-
.cmb2-wrap input[type=text].cmb2-oembed {
|
15 |
-
width: 100%; }
|
16 |
-
.cmb2-wrap textarea {
|
17 |
-
width: 500px; }
|
18 |
-
.cmb2-wrap textarea.cmb2-textarea-code {
|
19 |
-
font-family: "Courier 10 Pitch", Courier, monospace;
|
20 |
-
line-height: 16px; }
|
21 |
-
.cmb2-wrap input.cmb2-text-small, .cmb2-wrap input.cmb2-timepicker {
|
22 |
-
width: 100px; }
|
23 |
-
.cmb2-wrap input.cmb2-text-money {
|
24 |
-
width: 90px; }
|
25 |
-
.cmb2-wrap input.cmb2-text-medium {
|
26 |
-
width: 230px; }
|
27 |
-
.cmb2-wrap input.cmb2-upload-file {
|
28 |
-
width: 65%; }
|
29 |
-
.cmb2-wrap input.ed_button {
|
30 |
-
padding: 2px 4px; }
|
31 |
-
.cmb2-wrap input:not([type="hidden"]) + input,
|
32 |
-
.cmb2-wrap input:not([type="hidden"]) + .button-secondary,
|
33 |
-
.cmb2-wrap input:not([type="hidden"]) + select {
|
34 |
-
margin-left: 20px; }
|
35 |
-
.cmb2-wrap ul {
|
36 |
-
margin: 0; }
|
37 |
-
.cmb2-wrap li {
|
38 |
-
font-size: 14px;
|
39 |
-
line-height: 16px;
|
40 |
-
margin: 1px 0 5px 0; }
|
41 |
-
.cmb2-wrap select {
|
42 |
-
font-size: 14px;
|
43 |
-
margin-top: 3px; }
|
44 |
-
.cmb2-wrap input:focus,
|
45 |
-
.cmb2-wrap textarea:focus {
|
46 |
-
background: #fffff8; }
|
47 |
-
.cmb2-wrap input[type="radio"] {
|
48 |
-
margin: 0 5px 0 0;
|
49 |
-
padding: 0; }
|
50 |
-
.cmb2-wrap input[type="checkbox"] {
|
51 |
-
margin: 0 5px 0 0;
|
52 |
-
padding: 0; }
|
53 |
-
.cmb2-wrap button,
|
54 |
-
.cmb2-wrap .button-secondary {
|
55 |
-
white-space: nowrap; }
|
56 |
-
.cmb2-wrap .mceLayout {
|
57 |
-
border: 1px solid #e9e9e9 !important; }
|
58 |
-
.cmb2-wrap .mceIframeContainer {
|
59 |
-
background: #fff; }
|
60 |
-
.cmb2-wrap .meta_mce {
|
61 |
-
width: 97%; }
|
62 |
-
.cmb2-wrap .meta_mce textarea {
|
63 |
-
width: 100%; }
|
64 |
-
.cmb2-wrap .wp-color-result,
|
65 |
-
.cmb2-wrap .wp-picker-input-wrap {
|
66 |
-
vertical-align: middle; }
|
67 |
-
.cmb2-wrap .wp-color-result,
|
68 |
-
.cmb2-wrap .wp-picker-container {
|
69 |
-
margin: 0 10px 0 0; }
|
70 |
-
.cmb2-wrap .cmb-row {
|
71 |
-
margin: 0; }
|
72 |
-
.cmb2-wrap .cmb-row:after {
|
73 |
-
content: '';
|
74 |
-
clear: both;
|
75 |
-
display: block;
|
76 |
-
width: 100%; }
|
77 |
-
.cmb2-wrap .cmb-row.cmb-repeat-row {
|
78 |
-
padding: 1.8em 0 0; }
|
79 |
-
.cmb2-wrap .cmb-row.cmb-repeat-row:first-of-type {
|
80 |
-
padding: 0; }
|
81 |
-
.cmb2-wrap .cmb-row.cmb-repeat .cmb2-metabox-description {
|
82 |
-
padding-top: 0;
|
83 |
-
padding-bottom: 1.8em; }
|
84 |
-
|
85 |
-
.cmb2-metabox {
|
86 |
-
clear: both;
|
87 |
-
margin: 0; }
|
88 |
-
.cmb2-metabox > .cmb-row:first-of-type > .cmb-td,
|
89 |
-
.cmb2-metabox > .cmb-row:first-of-type > .cmb-th,
|
90 |
-
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-td,
|
91 |
-
.cmb2-metabox .cmb-field-list > .cmb-row:first-of-type > .cmb-th {
|
92 |
-
border: 0; }
|
93 |
-
.cmb2-metabox > .cmb-row .cmb-repeat-table .cmb-row > .cmb-td {
|
94 |
-
padding-right: 20px;
|
95 |
-
box-sizing: border-box;
|
96 |
-
float: left; }
|
97 |
-
|
98 |
-
.cmb-add-row {
|
99 |
-
margin: 1.8em 0 0; }
|
100 |
-
|
101 |
-
.cmb-nested .cmb-td,
|
102 |
-
.cmb-repeatable-group .cmb-th,
|
103 |
-
.cmb-repeatable-group:first-of-type {
|
104 |
-
border: 0; }
|
105 |
-
|
106 |
-
.cmb-row:last-of-type,
|
107 |
-
.cmb2-wrap .cmb-row:last-of-type,
|
108 |
-
.cmb-repeatable-group:last-of-type {
|
109 |
-
border-bottom: 0; }
|
110 |
-
|
111 |
-
.cmb-repeatable-grouping {
|
112 |
-
border: 1px solid #e9e9e9;
|
113 |
-
padding: 0 1em;
|
114 |
-
max-width: 1000px; }
|
115 |
-
.cmb-repeatable-grouping.cmb-row {
|
116 |
-
margin: 0 0 0.8em; }
|
117 |
-
|
118 |
-
.cmb-th {
|
119 |
-
color: #222222;
|
120 |
-
float: left;
|
121 |
-
font-weight: 600;
|
122 |
-
line-height: 1.3;
|
123 |
-
padding: 20px 10px 20px 0;
|
124 |
-
vertical-align: top;
|
125 |
-
width: 200px; }
|
126 |
-
@media (max-width: 450px) {
|
127 |
-
.cmb-th {
|
128 |
-
font-size: 1.2em;
|
129 |
-
display: block;
|
130 |
-
float: none;
|
131 |
-
padding-bottom: 1em;
|
132 |
-
text-align: left;
|
133 |
-
width: 100%; }
|
134 |
-
.cmb-th label {
|
135 |
-
display: block;
|
136 |
-
margin-top: 0em;
|
137 |
-
padding-bottom: 5px; }
|
138 |
-
.cmb-th label:after {
|
139 |
-
border-bottom: 1px solid #e9e9e9;
|
140 |
-
content: '';
|
141 |
-
clear: both;
|
142 |
-
display: block;
|
143 |
-
padding-top: .4em; } }
|
144 |
-
|
145 |
-
.cmb-td {
|
146 |
-
line-height: 1.3;
|
147 |
-
max-width: 100%;
|
148 |
-
padding: 15px 10px;
|
149 |
-
vertical-align: middle; }
|
150 |
-
|
151 |
-
.cmb-type-title .cmb-td {
|
152 |
-
padding: 0; }
|
153 |
-
|
154 |
-
.cmb-th label {
|
155 |
-
display: block;
|
156 |
-
padding: 5px 0; }
|
157 |
-
|
158 |
-
.cmb-th + .cmb-td {
|
159 |
-
float: left; }
|
160 |
-
|
161 |
-
.cmb-td .cmb-td {
|
162 |
-
padding-bottom: 1em; }
|
163 |
-
|
164 |
-
.cmb-remove-row {
|
165 |
-
text-align: right; }
|
166 |
-
|
167 |
-
.empty-row.hidden {
|
168 |
-
display: none; }
|
169 |
-
|
170 |
-
.cmb-repeatable-group .cmb-th {
|
171 |
-
padding: 5px; }
|
172 |
-
.cmb-repeatable-group .cmb-group-title {
|
173 |
-
background-color: #e9e9e9;
|
174 |
-
padding: 8px 12px 8px 2.2em;
|
175 |
-
margin: 0 -1em;
|
176 |
-
min-height: 1.5em;
|
177 |
-
font-size: 14px;
|
178 |
-
line-height: 1.4; }
|
179 |
-
.cmb-repeatable-group .cmb-group-title h4 {
|
180 |
-
border: 0;
|
181 |
-
margin: 0;
|
182 |
-
font-size: 1.2em;
|
183 |
-
font-weight: 500;
|
184 |
-
padding: 0.5em 0.75em; }
|
185 |
-
.cmb-repeatable-group .cmb-group-title .cmb-th {
|
186 |
-
display: block;
|
187 |
-
width: 100%; }
|
188 |
-
.cmb-repeatable-group .cmb-group-description .cmb-th {
|
189 |
-
font-size: 1.2em;
|
190 |
-
display: block;
|
191 |
-
float: none;
|
192 |
-
padding-bottom: 1em;
|
193 |
-
text-align: left;
|
194 |
-
width: 100%; }
|
195 |
-
.cmb-repeatable-group .cmb-group-description .cmb-th label {
|
196 |
-
display: block;
|
197 |
-
margin-top: 0em;
|
198 |
-
padding-bottom: 5px; }
|
199 |
-
.cmb-repeatable-group .cmb-group-description .cmb-th label:after {
|
200 |
-
border-bottom: 1px solid #e9e9e9;
|
201 |
-
content: '';
|
202 |
-
clear: both;
|
203 |
-
display: block;
|
204 |
-
padding-top: .4em; }
|
205 |
-
.cmb-repeatable-group .cmb-shift-rows {
|
206 |
-
font-size: 1em;
|
207 |
-
margin-right: 1em;
|
208 |
-
text-decoration: none; }
|
209 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons {
|
210 |
-
font-size: 1.5em;
|
211 |
-
height: 1.5em;
|
212 |
-
line-height: 1.2em;
|
213 |
-
width: 1em; }
|
214 |
-
.cmb-repeatable-group .cmb-shift-rows .dashicons.dashicons-arrow-down-alt2 {
|
215 |
-
line-height: 1.3em; }
|
216 |
-
.cmb-repeatable-group .cmb2-upload-button {
|
217 |
-
float: right; }
|
218 |
-
|
219 |
-
p.cmb2-metabox-description {
|
220 |
-
color: #aaaaaa;
|
221 |
-
font-style: italic;
|
222 |
-
margin: 0;
|
223 |
-
padding-top: .5em; }
|
224 |
-
|
225 |
-
span.cmb2-metabox-description {
|
226 |
-
color: #aaaaaa;
|
227 |
-
font-style: italic; }
|
228 |
-
|
229 |
-
.cmb2-metabox-title {
|
230 |
-
margin: 0 0 5px 0;
|
231 |
-
padding: 5px 0 0 0;
|
232 |
-
font-size: 14px; }
|
233 |
-
|
234 |
-
.cmb-inline ul {
|
235 |
-
padding: 4px 0 0 0; }
|
236 |
-
|
237 |
-
.cmb-inline li {
|
238 |
-
display: inline-block;
|
239 |
-
padding-right: 18px; }
|
240 |
-
|
241 |
-
.cmb-type-textarea-code pre {
|
242 |
-
margin: 0; }
|
243 |
-
|
244 |
-
.cmb2-media-status .img-status {
|
245 |
-
clear: none;
|
246 |
-
display: inline-block;
|
247 |
-
vertical-align: middle;
|
248 |
-
margin-right: 10px;
|
249 |
-
width: auto; }
|
250 |
-
.cmb2-media-status .img-status img {
|
251 |
-
max-width: 350px;
|
252 |
-
height: auto; }
|
253 |
-
.cmb2-media-status .img-status img,
|
254 |
-
.cmb2-media-status .embed-status {
|
255 |
-
background: #ffffff;
|
256 |
-
border: 1px solid #e9e9e9;
|
257 |
-
border-radius: 2px;
|
258 |
-
-moz-border-radius: 2px;
|
259 |
-
margin: 15px 0 0 0;
|
260 |
-
padding: 5px; }
|
261 |
-
.cmb2-media-status .embed-status {
|
262 |
-
float: left;
|
263 |
-
max-width: 800px; }
|
264 |
-
.cmb2-media-status .img-status, .cmb2-media-status .embed-status {
|
265 |
-
position: relative; }
|
266 |
-
.cmb2-media-status .img-status .cmb2-remove-file-button, .cmb2-media-status .embed-status .cmb2-remove-file-button {
|
267 |
-
background: url(../images/ico-delete.png);
|
268 |
-
height: 16px;
|
269 |
-
left: -5px;
|
270 |
-
position: absolute;
|
271 |
-
text-indent: -9999px;
|
272 |
-
top: -5px;
|
273 |
-
width: 16px; }
|
274 |
-
.cmb2-media-status .img-status .cmb2-remove-file-button {
|
275 |
-
top: 10px; }
|
276 |
-
.cmb2-media-status .img-status img, .cmb2-media-status .file-status > span {
|
277 |
-
cursor: pointer; }
|
278 |
-
|
279 |
-
.cmb-type-file-list .cmb2-media-status .img-status {
|
280 |
-
clear: none;
|
281 |
-
vertical-align: middle;
|
282 |
-
width: auto;
|
283 |
-
margin-right: 10px;
|
284 |
-
margin-bottom: 10px;
|
285 |
-
margin-top: 0; }
|
286 |
-
|
287 |
-
.cmb-attach-list li {
|
288 |
-
clear: both;
|
289 |
-
display: inline-block;
|
290 |
-
width: 100%;
|
291 |
-
margin-top: 5px;
|
292 |
-
margin-bottom: 10px; }
|
293 |
-
.cmb-attach-list li img {
|
294 |
-
cursor: move;
|
295 |
-
float: left;
|
296 |
-
margin-right: 10px; }
|
297 |
-
|
298 |
-
.cmb2-remove-wrapper {
|
299 |
-
margin: 0; }
|
300 |
-
|
301 |
-
.child-cmb2 .cmb-th {
|
302 |
-
text-align: left; }
|
303 |
-
|
304 |
-
@media (max-width: 450px) {
|
305 |
-
.cmb-th,
|
306 |
-
.cmb-td,
|
307 |
-
.cmb-th + .cmb-td {
|
308 |
-
display: block;
|
309 |
-
float: none;
|
310 |
-
width: 100%; } }
|
311 |
-
/*--------------------------------------------------------------
|
312 |
-
Post Metaboxes
|
313 |
-
--------------------------------------------------------------*/
|
314 |
-
#poststuff .cmb-group-title {
|
315 |
-
margin-left: -1em;
|
316 |
-
margin-right: -1em;
|
317 |
-
min-height: 1.5em; }
|
318 |
-
|
319 |
-
#poststuff .repeatable .cmb-group-title {
|
320 |
-
padding-left: 2.2em; }
|
321 |
-
|
322 |
-
.cmb2-postbox .cmb2-wrap, .cmb-type-group .cmb2-wrap {
|
323 |
-
margin: 0; }
|
324 |
-
.cmb2-postbox .cmb2-wrap > .cmb-field-list > .cmb-row, .cmb-type-group .cmb2-wrap > .cmb-field-list > .cmb-row {
|
325 |
-
padding: 1.8em 0; }
|
326 |
-
.cmb2-postbox .cmb2-wrap input[type=text].cmb2-oembed, .cmb-type-group .cmb2-wrap input[type=text].cmb2-oembed {
|
327 |
-
width: 100%; }
|
328 |
-
.cmb2-postbox .cmb-row, .cmb-type-group .cmb-row {
|
329 |
-
padding: 0 0 1.8em;
|
330 |
-
margin: 0 0 0.8em; }
|
331 |
-
.cmb2-postbox .cmb-row .cmbhandle, .cmb-type-group .cmb-row .cmbhandle {
|
332 |
-
right: -1em;
|
333 |
-
position: relative; }
|
334 |
-
.cmb2-postbox .cmb-repeatable-grouping, .cmb-type-group .cmb-repeatable-grouping {
|
335 |
-
padding: 0 1em;
|
336 |
-
max-width: 100%;
|
337 |
-
min-width: 1px !important; }
|
338 |
-
.cmb2-postbox .cmb-repeatable-group > .cmb-row, .cmb-type-group .cmb-repeatable-group > .cmb-row {
|
339 |
-
padding-bottom: 0; }
|
340 |
-
.cmb2-postbox .cmb-th, .cmb-type-group .cmb-th {
|
341 |
-
width: 18%;
|
342 |
-
padding: 0 2% 0 0; }
|
343 |
-
.cmb2-postbox .cmb-td, .cmb-type-group .cmb-td {
|
344 |
-
margin-bottom: 0;
|
345 |
-
padding: 0;
|
346 |
-
line-height: 1.3; }
|
347 |
-
.cmb2-postbox .cmb-repeat-row .cmb-td, .cmb-type-group .cmb-repeat-row .cmb-td {
|
348 |
-
padding-bottom: 1.8em; }
|
349 |
-
.cmb2-postbox .cmb-th + .cmb-td, .cmb-type-group .cmb-th + .cmb-td {
|
350 |
-
width: 80%;
|
351 |
-
float: right; }
|
352 |
-
.cmb2-postbox .cmb-row:not(:last-of-type),
|
353 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
354 |
-
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
355 |
-
border-bottom: 1px solid #e9e9e9; }
|
356 |
-
@media (max-width: 450px) {
|
357 |
-
.cmb2-postbox .cmb-row:not(:last-of-type),
|
358 |
-
.cmb2-postbox .cmb-repeatable-group:not(:last-of-type), .cmb-type-group .cmb-row:not(:last-of-type),
|
359 |
-
.cmb-type-group .cmb-repeatable-group:not(:last-of-type) {
|
360 |
-
border-bottom: 0; } }
|
361 |
-
.cmb2-postbox .cmb-repeat-group-field,
|
362 |
-
.cmb2-postbox .cmb-remove-field-row, .cmb-type-group .cmb-repeat-group-field,
|
363 |
-
.cmb-type-group .cmb-remove-field-row {
|
364 |
-
padding-top: 1.8em; }
|
365 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody {
|
366 |
-
display: table;
|
367 |
-
width: 100%; }
|
368 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody input.regular-text {
|
369 |
-
width: 100%; }
|
370 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row), .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row), .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row), .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(.hidden):not(.empty-row) {
|
371 |
-
display: table-row; }
|
372 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td {
|
373 |
-
display: table-cell;
|
374 |
-
float: none;
|
375 |
-
width: 100%; }
|
376 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-row:not(:first-of-type) .cmb-td {
|
377 |
-
padding-top: 1.8em; }
|
378 |
-
.cmb2-postbox .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row, .cmb2-postbox .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row, .cmb-type-group .cmb2-metabox > .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row, .cmb-type-group .cmb2-metabox > .cmb-row .cmb-row.table-layout .cmb-repeat-table .cmb-tbody .cmb-td.cmb-remove-row {
|
379 |
-
padding-right: 0; }
|
380 |
-
|
381 |
-
/*--------------------------------------------------------------
|
382 |
-
Context Metaboxes
|
383 |
-
--------------------------------------------------------------*/
|
384 |
-
/* Metabox collapse arrow indicators */
|
385 |
-
.js .cmb2-postbox.context-box .toggle-indicator:before {
|
386 |
-
content: "\f142";
|
387 |
-
display: inline-block;
|
388 |
-
font: normal 20px/1 dashicons;
|
389 |
-
speak: none;
|
390 |
-
-webkit-font-smoothing: antialiased;
|
391 |
-
-moz-osx-font-smoothing: grayscale;
|
392 |
-
text-decoration: none !important; }
|
393 |
-
.js .cmb2-postbox.context-box.closed .toggle-indicator:before {
|
394 |
-
content: "\f140"; }
|
395 |
-
|
396 |
-
.cmb2-postbox.context-box {
|
397 |
-
margin-bottom: 10px; }
|
398 |
-
.cmb2-postbox.context-box.context-before_permalink-box {
|
399 |
-
margin-top: 10px; }
|
400 |
-
.cmb2-postbox.context-box.context-after_title-box {
|
401 |
-
margin-top: 10px; }
|
402 |
-
.cmb2-postbox.context-box.context-after_editor-box {
|
403 |
-
margin-top: 20px;
|
404 |
-
margin-bottom: 0; }
|
405 |
-
.cmb2-postbox.context-box.context-form_top-box {
|
406 |
-
margin-top: 10px; }
|
407 |
-
.cmb2-postbox.context-box.context-form_top-box .hndle {
|
408 |
-
font-size: 14px;
|
409 |
-
padding: 8px 12px;
|
410 |
-
margin: 0;
|
411 |
-
line-height: 1.4; }
|
412 |
-
.cmb2-postbox.context-box .hndle {
|
413 |
-
cursor: auto; }
|
414 |
-
|
415 |
-
.cmb2-context-wrap {
|
416 |
-
margin-top: 10px; }
|
417 |
-
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
418 |
-
margin-right: 300px;
|
419 |
-
width: auto; }
|
420 |
-
.cmb2-context-wrap.cmb2-context-wrap-no-title .cmb2-metabox {
|
421 |
-
padding: 10px; }
|
422 |
-
.cmb2-context-wrap .cmb-th {
|
423 |
-
padding: 0 2% 0 0;
|
424 |
-
width: 18%; }
|
425 |
-
.cmb2-context-wrap .cmb-td {
|
426 |
-
width: 80%;
|
427 |
-
padding: 0; }
|
428 |
-
.cmb2-context-wrap .cmb-row {
|
429 |
-
margin-bottom: 10px; }
|
430 |
-
.cmb2-context-wrap .cmb-row:last-of-type {
|
431 |
-
margin-bottom: 0; }
|
432 |
-
|
433 |
-
/* one column on the post write/edit screen */
|
434 |
-
@media only screen and (max-width: 850px) {
|
435 |
-
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
436 |
-
margin-right: 0; } }
|
437 |
-
/*--------------------------------------------------------------
|
438 |
-
Misc.
|
439 |
-
--------------------------------------------------------------*/
|
440 |
-
#poststuff .cmb-repeatable-group h2 {
|
441 |
-
margin: 0; }
|
442 |
-
|
443 |
-
.edit-tags-php .cmb2-metabox-title,
|
444 |
-
.profile-php .cmb2-metabox-title,
|
445 |
-
.user-edit-php .cmb2-metabox-title {
|
446 |
-
font-size: 1.4em; }
|
447 |
-
|
448 |
-
.cmb2-options-page .cmb2-metabox-title {
|
449 |
-
font-size: 1.3em;
|
450 |
-
margin: 1em 0; }
|
451 |
-
.cmb2-options-page .cmb2-metabox-title + p.cmb2-metabox-description {
|
452 |
-
margin-top: -1.6em;
|
453 |
-
margin-bottom: .8em; }
|
454 |
-
|
455 |
-
.cmb2-postbox .cmb-spinner, .cmb2-no-box-wrap .cmb-spinner {
|
456 |
-
float: left;
|
457 |
-
display: none; }
|
458 |
-
|
459 |
-
.cmb-spinner {
|
460 |
-
display: none; }
|
461 |
-
.cmb-spinner.is-active {
|
462 |
-
display: block; }
|
463 |
-
|
464 |
-
/*--------------------------------------------------------------
|
465 |
-
Sidebar Placement Adjustments
|
466 |
-
--------------------------------------------------------------*/
|
467 |
-
.inner-sidebar .cmb2-wrap > .cmb-field-list > .cmb-row,
|
468 |
-
#side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row {
|
469 |
-
padding: 1.4em 0; }
|
470 |
-
.inner-sidebar .cmb2-wrap input[type=text]:not(.wp-color-picker),
|
471 |
-
#side-sortables .cmb2-wrap input[type=text]:not(.wp-color-picker) {
|
472 |
-
width: 100%; }
|
473 |
-
.inner-sidebar .cmb2-wrap input + input:not(.wp-picker-clear), .inner-sidebar .cmb2-wrap input + select,
|
474 |
-
#side-sortables .cmb2-wrap input + input:not(.wp-picker-clear),
|
475 |
-
#side-sortables .cmb2-wrap input + select {
|
476 |
-
margin-left: 0;
|
477 |
-
margin-top: 1em;
|
478 |
-
display: block; }
|
479 |
-
.inner-sidebar .cmb2-wrap input.cmb2-text-money,
|
480 |
-
#side-sortables .cmb2-wrap input.cmb2-text-money {
|
481 |
-
max-width: 70%; }
|
482 |
-
.inner-sidebar .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description,
|
483 |
-
#side-sortables .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description {
|
484 |
-
display: block; }
|
485 |
-
.inner-sidebar .cmb2-wrap label,
|
486 |
-
#side-sortables .cmb2-wrap label {
|
487 |
-
display: block;
|
488 |
-
font-weight: 700;
|
489 |
-
padding: 0 0 5px; }
|
490 |
-
.inner-sidebar textarea,
|
491 |
-
#side-sortables textarea {
|
492 |
-
max-width: 99%; }
|
493 |
-
.inner-sidebar .cmb-repeatable-group,
|
494 |
-
#side-sortables .cmb-repeatable-group {
|
495 |
-
border-bottom: 1px solid #e9e9e9; }
|
496 |
-
.inner-sidebar .cmb-type-group > .cmb-td > .cmb-repeatable-group,
|
497 |
-
#side-sortables .cmb-type-group > .cmb-td > .cmb-repeatable-group {
|
498 |
-
border-bottom: 0;
|
499 |
-
margin-bottom: -1.4em; }
|
500 |
-
.inner-sidebar .cmb-th,
|
501 |
-
.inner-sidebar .cmb-td,
|
502 |
-
.inner-sidebar .cmb-th + .cmb-td,
|
503 |
-
#side-sortables .cmb-th,
|
504 |
-
#side-sortables .cmb-td,
|
505 |
-
#side-sortables .cmb-th + .cmb-td {
|
506 |
-
width: 100%;
|
507 |
-
display: block;
|
508 |
-
float: none; }
|
509 |
-
.inner-sidebar .closed .inside,
|
510 |
-
#side-sortables .closed .inside {
|
511 |
-
display: none; }
|
512 |
-
.inner-sidebar .cmb-td .cmb-td,
|
513 |
-
#side-sortables .cmb-td .cmb-td {
|
514 |
-
padding-bottom: 1em; }
|
515 |
-
.inner-sidebar .cmb-th,
|
516 |
-
#side-sortables .cmb-th {
|
517 |
-
display: block;
|
518 |
-
float: none;
|
519 |
-
padding-bottom: 1em;
|
520 |
-
text-align: left;
|
521 |
-
width: 100%;
|
522 |
-
padding-left: 0;
|
523 |
-
padding-right: 0; }
|
524 |
-
.inner-sidebar .cmb-th label,
|
525 |
-
#side-sortables .cmb-th label {
|
526 |
-
display: block;
|
527 |
-
margin-top: 0em;
|
528 |
-
padding-bottom: 5px; }
|
529 |
-
.inner-sidebar .cmb-th label:after,
|
530 |
-
#side-sortables .cmb-th label:after {
|
531 |
-
border-bottom: 1px solid #e9e9e9;
|
532 |
-
content: '';
|
533 |
-
clear: both;
|
534 |
-
display: block;
|
535 |
-
padding-top: .4em; }
|
536 |
-
.inner-sidebar .cmb-th label,
|
537 |
-
#side-sortables .cmb-th label {
|
538 |
-
font-size: 14px;
|
539 |
-
line-height: 1.4em; }
|
540 |
-
.inner-sidebar .cmb-group-description .cmb-th,
|
541 |
-
#side-sortables .cmb-group-description .cmb-th {
|
542 |
-
padding-top: 0; }
|
543 |
-
.inner-sidebar .cmb-group-description .cmb2-metabox-description,
|
544 |
-
#side-sortables .cmb-group-description .cmb2-metabox-description {
|
545 |
-
padding: 0; }
|
546 |
-
.inner-sidebar .cmb-group-title .cmb-th,
|
547 |
-
#side-sortables .cmb-group-title .cmb-th {
|
548 |
-
padding: 0; }
|
549 |
-
.inner-sidebar .cmb-repeatable-grouping + .cmb-repeatable-grouping,
|
550 |
-
#side-sortables .cmb-repeatable-grouping + .cmb-repeatable-grouping {
|
551 |
-
margin-top: 1em; }
|
552 |
-
.inner-sidebar .cmb2-media-status .img-status img,
|
553 |
-
.inner-sidebar .cmb2-media-status .embed-status img,
|
554 |
-
#side-sortables .cmb2-media-status .img-status img,
|
555 |
-
#side-sortables .cmb2-media-status .embed-status img {
|
556 |
-
max-width: 90%;
|
557 |
-
height: auto; }
|
558 |
-
.inner-sidebar .cmb2-list label,
|
559 |
-
#side-sortables .cmb2-list label {
|
560 |
-
display: inline;
|
561 |
-
font-weight: normal; }
|
562 |
-
.inner-sidebar .cmb2-metabox-description,
|
563 |
-
#side-sortables .cmb2-metabox-description {
|
564 |
-
display: block;
|
565 |
-
padding: 7px 0 0; }
|
566 |
-
.inner-sidebar .cmb-type-checkbox .cmb-td label,
|
567 |
-
.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description,
|
568 |
-
#side-sortables .cmb-type-checkbox .cmb-td label,
|
569 |
-
#side-sortables .cmb-type-checkbox .cmb2-metabox-description {
|
570 |
-
font-weight: normal;
|
571 |
-
display: inline; }
|
572 |
-
.inner-sidebar .cmb-row .cmb2-metabox-description,
|
573 |
-
#side-sortables .cmb-row .cmb2-metabox-description {
|
574 |
-
padding-bottom: 1.8em; }
|
575 |
-
.inner-sidebar .cmb2-metabox-title,
|
576 |
-
#side-sortables .cmb2-metabox-title {
|
577 |
-
font-size: 1.2em;
|
578 |
-
font-style: italic; }
|
579 |
-
.inner-sidebar .cmb-remove-row,
|
580 |
-
#side-sortables .cmb-remove-row {
|
581 |
-
clear: both;
|
582 |
-
padding-top: 12px;
|
583 |
-
padding-bottom: 0; }
|
584 |
-
.inner-sidebar .cmb-type-colorpicker .cmb-repeat-row .cmb-td,
|
585 |
-
#side-sortables .cmb-type-colorpicker .cmb-repeat-row .cmb-td {
|
586 |
-
width: auto;
|
587 |
-
clear: none;
|
588 |
-
float: left;
|
589 |
-
padding-top: 0; }
|
590 |
-
.inner-sidebar .cmb-type-colorpicker .cmb-repeat-row .cmb-td.cmb-remove-row,
|
591 |
-
#side-sortables .cmb-type-colorpicker .cmb-repeat-row .cmb-td.cmb-remove-row {
|
592 |
-
float: right;
|
593 |
-
margin: 0; }
|
594 |
-
.inner-sidebar .cmb2-upload-button,
|
595 |
-
#side-sortables .cmb2-upload-button {
|
596 |
-
clear: both;
|
597 |
-
margin-top: 12px; }
|
598 |
-
|
599 |
-
.cmb2-metabox .cmb-type-group {
|
600 |
-
max-width: 1000px; }
|
601 |
-
.cmb2-metabox .cmbhandle {
|
602 |
-
color: #aaa;
|
603 |
-
float: right;
|
604 |
-
width: 27px;
|
605 |
-
height: 30px;
|
606 |
-
cursor: pointer;
|
607 |
-
right: -1em;
|
608 |
-
position: relative; }
|
609 |
-
.cmb2-metabox .cmbhandle:before {
|
610 |
-
content: '\f142';
|
611 |
-
right: 12px;
|
612 |
-
font: normal 20px/1 'dashicons';
|
613 |
-
speak: none;
|
614 |
-
display: inline-block;
|
615 |
-
padding: 8px 10px;
|
616 |
-
top: 0;
|
617 |
-
position: relative;
|
618 |
-
-webkit-font-smoothing: antialiased;
|
619 |
-
-moz-osx-font-smoothing: grayscale;
|
620 |
-
text-decoration: none !important; }
|
621 |
-
.cmb2-metabox .postbox.closed .cmbhandle:before {
|
622 |
-
content: '\f140'; }
|
623 |
-
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
|
624 |
-
-webkit-appearance: none !important;
|
625 |
-
background: none !important;
|
626 |
-
border: none !important;
|
627 |
-
position: absolute;
|
628 |
-
left: 0;
|
629 |
-
top: .5em;
|
630 |
-
line-height: 1em;
|
631 |
-
padding: 2px 6px 3px;
|
632 |
-
opacity: .5; }
|
633 |
-
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]) {
|
634 |
-
cursor: pointer;
|
635 |
-
color: #a00;
|
636 |
-
opacity: 1; }
|
637 |
-
.cmb2-metabox button.dashicons-before.dashicons-no-alt.cmb-remove-group-row:not([disabled]):hover {
|
638 |
-
color: #f00; }
|
639 |
-
|
640 |
-
/*
|
641 |
-
* jQuery UI CSS Framework 1.8.16
|
642 |
-
*
|
643 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
644 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
645 |
-
* http://jquery.org/license
|
646 |
-
*
|
647 |
-
* http://docs.jquery.com/UI/Theming/API
|
648 |
-
*
|
649 |
-
* WordPress Styles adopted from "jQuery UI Datepicker CSS for WordPress"
|
650 |
-
* https://github.com/stuttter/wp-datepicker-styling
|
651 |
-
*
|
652 |
-
*/
|
653 |
-
* html .cmb2-element.ui-helper-clearfix {
|
654 |
-
height: 1%; }
|
655 |
-
|
656 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
657 |
-
padding: 0;
|
658 |
-
margin: 0;
|
659 |
-
-webkit-border-radius: 0;
|
660 |
-
-moz-border-radius: 0;
|
661 |
-
border-radius: 0;
|
662 |
-
background-color: #fff;
|
663 |
-
border: 1px solid #dfdfdf;
|
664 |
-
border-top: none;
|
665 |
-
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
666 |
-
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
667 |
-
min-width: 17em;
|
668 |
-
width: auto;
|
669 |
-
/* Default Color Scheme */ }
|
670 |
-
.cmb2-element.ui-datepicker *, .cmb2-element .ui-datepicker * {
|
671 |
-
padding: 0;
|
672 |
-
font-family: "Open Sans", sans-serif;
|
673 |
-
-webkit-border-radius: 0;
|
674 |
-
-moz-border-radius: 0;
|
675 |
-
border-radius: 0; }
|
676 |
-
.cmb2-element.ui-datepicker table, .cmb2-element .ui-datepicker table {
|
677 |
-
font-size: 13px;
|
678 |
-
margin: 0;
|
679 |
-
border: none;
|
680 |
-
border-collapse: collapse; }
|
681 |
-
.cmb2-element.ui-datepicker .ui-widget-header,
|
682 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
683 |
-
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
684 |
-
background-image: none;
|
685 |
-
border: none;
|
686 |
-
color: #fff;
|
687 |
-
font-weight: normal; }
|
688 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
689 |
-
background: transparent;
|
690 |
-
border-color: transparent;
|
691 |
-
cursor: pointer; }
|
692 |
-
.cmb2-element.ui-datepicker .ui-datepicker-title, .cmb2-element .ui-datepicker .ui-datepicker-title {
|
693 |
-
margin: 0;
|
694 |
-
padding: 10px 0;
|
695 |
-
color: #fff;
|
696 |
-
font-size: 14px;
|
697 |
-
line-height: 14px;
|
698 |
-
text-align: center; }
|
699 |
-
.cmb2-element.ui-datepicker .ui-datepicker-title select, .cmb2-element .ui-datepicker .ui-datepicker-title select {
|
700 |
-
margin-top: -8px;
|
701 |
-
margin-bottom: -8px; }
|
702 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
703 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
704 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next {
|
705 |
-
position: relative;
|
706 |
-
top: 0;
|
707 |
-
height: 34px;
|
708 |
-
width: 34px; }
|
709 |
-
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
710 |
-
.cmb2-element.ui-datepicker .ui-state-hover.ui-datepicker-next, .cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-prev,
|
711 |
-
.cmb2-element .ui-datepicker .ui-state-hover.ui-datepicker-next {
|
712 |
-
border: none; }
|
713 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev,
|
714 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover, .cmb2-element .ui-datepicker .ui-datepicker-prev,
|
715 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev-hover {
|
716 |
-
left: 0; }
|
717 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next,
|
718 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover, .cmb2-element .ui-datepicker .ui-datepicker-next,
|
719 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next-hover {
|
720 |
-
right: 0; }
|
721 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next span,
|
722 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev span, .cmb2-element .ui-datepicker .ui-datepicker-next span,
|
723 |
-
.cmb2-element .ui-datepicker .ui-datepicker-prev span {
|
724 |
-
display: none; }
|
725 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev, .cmb2-element .ui-datepicker .ui-datepicker-prev {
|
726 |
-
float: left; }
|
727 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next, .cmb2-element .ui-datepicker .ui-datepicker-next {
|
728 |
-
float: right; }
|
729 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
730 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
731 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
732 |
-
font: normal 20px/34px 'dashicons';
|
733 |
-
padding-left: 7px;
|
734 |
-
color: #fff;
|
735 |
-
speak: none;
|
736 |
-
-webkit-font-smoothing: antialiased;
|
737 |
-
-moz-osx-font-smoothing: grayscale;
|
738 |
-
width: 34px;
|
739 |
-
height: 34px; }
|
740 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before {
|
741 |
-
content: '\f341'; }
|
742 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
743 |
-
content: '\f345'; }
|
744 |
-
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before,
|
745 |
-
.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before, .cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,
|
746 |
-
.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before {
|
747 |
-
opacity: 0.7; }
|
748 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-month,
|
749 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year, .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
750 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-year {
|
751 |
-
width: 33%;
|
752 |
-
background: transparent;
|
753 |
-
border-color: transparent;
|
754 |
-
box-shadow: none;
|
755 |
-
color: #fff; }
|
756 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-month option,
|
757 |
-
.cmb2-element.ui-datepicker select.ui-datepicker-year option, .cmb2-element .ui-datepicker select.ui-datepicker-month option,
|
758 |
-
.cmb2-element .ui-datepicker select.ui-datepicker-year option {
|
759 |
-
color: #333; }
|
760 |
-
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
761 |
-
color: #fff;
|
762 |
-
font-weight: 600; }
|
763 |
-
.cmb2-element.ui-datepicker thead th, .cmb2-element .ui-datepicker thead th {
|
764 |
-
font-weight: normal; }
|
765 |
-
.cmb2-element.ui-datepicker th, .cmb2-element .ui-datepicker th {
|
766 |
-
padding: 10px; }
|
767 |
-
.cmb2-element.ui-datepicker td, .cmb2-element .ui-datepicker td {
|
768 |
-
padding: 0;
|
769 |
-
border: 1px solid #f4f4f4; }
|
770 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-other-month, .cmb2-element .ui-datepicker td.ui-datepicker-other-month {
|
771 |
-
border: transparent; }
|
772 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-week-end, .cmb2-element .ui-datepicker td.ui-datepicker-week-end {
|
773 |
-
background-color: #f4f4f4;
|
774 |
-
border: 1px solid #f4f4f4; }
|
775 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-week-end.ui-datepicker-today {
|
776 |
-
-webkit-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
777 |
-
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
778 |
-
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1); }
|
779 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-today, .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
780 |
-
background-color: #f0f0c0; }
|
781 |
-
.cmb2-element.ui-datepicker td.ui-datepicker-current-day, .cmb2-element .ui-datepicker td.ui-datepicker-current-day {
|
782 |
-
background: #bbdd88; }
|
783 |
-
.cmb2-element.ui-datepicker td .ui-state-default, .cmb2-element .ui-datepicker td .ui-state-default {
|
784 |
-
background: transparent;
|
785 |
-
border: none;
|
786 |
-
text-align: center;
|
787 |
-
text-decoration: none;
|
788 |
-
width: auto;
|
789 |
-
display: block;
|
790 |
-
padding: 5px 10px;
|
791 |
-
font-weight: normal;
|
792 |
-
color: #444; }
|
793 |
-
.cmb2-element.ui-datepicker td.ui-state-disabled .ui-state-default, .cmb2-element .ui-datepicker td.ui-state-disabled .ui-state-default {
|
794 |
-
opacity: 0.5; }
|
795 |
-
.cmb2-element.ui-datepicker .ui-widget-header,
|
796 |
-
.cmb2-element.ui-datepicker .ui-datepicker-header, .cmb2-element .ui-datepicker .ui-widget-header,
|
797 |
-
.cmb2-element .ui-datepicker .ui-datepicker-header {
|
798 |
-
background: #00a0d2; }
|
799 |
-
.cmb2-element.ui-datepicker thead, .cmb2-element .ui-datepicker thead {
|
800 |
-
background: #32373c; }
|
801 |
-
.cmb2-element.ui-datepicker td .ui-state-hover, .cmb2-element.ui-datepicker td .ui-state-active, .cmb2-element .ui-datepicker td .ui-state-hover, .cmb2-element .ui-datepicker td .ui-state-active {
|
802 |
-
background: #0073aa;
|
803 |
-
color: #fff; }
|
804 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div, .cmb2-element .ui-datepicker .ui-timepicker-div {
|
805 |
-
font-size: 14px; }
|
806 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl, .cmb2-element .ui-datepicker .ui-timepicker-div dl {
|
807 |
-
text-align: left;
|
808 |
-
padding: 0 .6em; }
|
809 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl dt, .cmb2-element .ui-datepicker .ui-timepicker-div dl dt {
|
810 |
-
float: left;
|
811 |
-
clear: left;
|
812 |
-
padding: 0 0 0 5px; }
|
813 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd {
|
814 |
-
margin: 0 10px 10px 40%; }
|
815 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div dl dd select, .cmb2-element .ui-datepicker .ui-timepicker-div dl dd select {
|
816 |
-
width: 100%; }
|
817 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane {
|
818 |
-
padding: .6em;
|
819 |
-
text-align: left; }
|
820 |
-
.cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element.ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-primary, .cmb2-element .ui-datepicker .ui-timepicker-div + .ui-datepicker-buttonpane .button-secondary {
|
821 |
-
padding: 0 10px 1px;
|
822 |
-
-webkit-border-radius: 3px;
|
823 |
-
-moz-border-radius: 3px;
|
824 |
-
border-radius: 3px;
|
825 |
-
margin: 0 .6em .4em .4em; }
|
826 |
-
|
827 |
-
.admin-color-fresh .cmb2-element.ui-datepicker .ui-widget-header,
|
828 |
-
.admin-color-fresh .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-fresh .cmb2-element .ui-datepicker .ui-widget-header,
|
829 |
-
.admin-color-fresh .cmb2-element .ui-datepicker .ui-datepicker-header {
|
830 |
-
background: #00a0d2; }
|
831 |
-
.admin-color-fresh .cmb2-element.ui-datepicker thead, .admin-color-fresh .cmb2-element .ui-datepicker thead {
|
832 |
-
background: #32373c; }
|
833 |
-
.admin-color-fresh .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-fresh .cmb2-element .ui-datepicker td .ui-state-hover {
|
834 |
-
background: #0073aa;
|
835 |
-
color: #fff; }
|
836 |
-
|
837 |
-
.admin-color-blue .cmb2-element.ui-datepicker .ui-widget-header,
|
838 |
-
.admin-color-blue .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-blue .cmb2-element .ui-datepicker .ui-widget-header,
|
839 |
-
.admin-color-blue .cmb2-element .ui-datepicker .ui-datepicker-header {
|
840 |
-
background: #52accc; }
|
841 |
-
.admin-color-blue .cmb2-element.ui-datepicker thead, .admin-color-blue .cmb2-element .ui-datepicker thead {
|
842 |
-
background: #4796b3; }
|
843 |
-
.admin-color-blue .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-blue .cmb2-element .ui-datepicker td .ui-state-active {
|
844 |
-
background: #096484;
|
845 |
-
color: #fff; }
|
846 |
-
.admin-color-blue .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-blue .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
847 |
-
background: #eee; }
|
848 |
-
|
849 |
-
.admin-color-coffee .cmb2-element.ui-datepicker .ui-widget-header,
|
850 |
-
.admin-color-coffee .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-coffee .cmb2-element .ui-datepicker .ui-widget-header,
|
851 |
-
.admin-color-coffee .cmb2-element .ui-datepicker .ui-datepicker-header {
|
852 |
-
background: #59524c; }
|
853 |
-
.admin-color-coffee .cmb2-element.ui-datepicker thead, .admin-color-coffee .cmb2-element .ui-datepicker thead {
|
854 |
-
background: #46403c; }
|
855 |
-
.admin-color-coffee .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-coffee .cmb2-element .ui-datepicker td .ui-state-hover {
|
856 |
-
background: #c7a589;
|
857 |
-
color: #fff; }
|
858 |
-
|
859 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-widget-header,
|
860 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-widget-header,
|
861 |
-
.admin-color-ectoplasm .cmb2-element .ui-datepicker .ui-datepicker-header {
|
862 |
-
background: #523f6d; }
|
863 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker thead, .admin-color-ectoplasm .cmb2-element .ui-datepicker thead {
|
864 |
-
background: #413256; }
|
865 |
-
.admin-color-ectoplasm .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ectoplasm .cmb2-element .ui-datepicker td .ui-state-hover {
|
866 |
-
background: #a3b745;
|
867 |
-
color: #fff; }
|
868 |
-
|
869 |
-
.admin-color-midnight .cmb2-element.ui-datepicker .ui-widget-header,
|
870 |
-
.admin-color-midnight .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-midnight .cmb2-element .ui-datepicker .ui-widget-header,
|
871 |
-
.admin-color-midnight .cmb2-element .ui-datepicker .ui-datepicker-header {
|
872 |
-
background: #363b3f; }
|
873 |
-
.admin-color-midnight .cmb2-element.ui-datepicker thead, .admin-color-midnight .cmb2-element .ui-datepicker thead {
|
874 |
-
background: #26292c; }
|
875 |
-
.admin-color-midnight .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-midnight .cmb2-element .ui-datepicker td .ui-state-hover {
|
876 |
-
background: #e14d43;
|
877 |
-
color: #fff; }
|
878 |
-
|
879 |
-
.admin-color-ocean .cmb2-element.ui-datepicker .ui-widget-header,
|
880 |
-
.admin-color-ocean .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-ocean .cmb2-element .ui-datepicker .ui-widget-header,
|
881 |
-
.admin-color-ocean .cmb2-element .ui-datepicker .ui-datepicker-header {
|
882 |
-
background: #738e96; }
|
883 |
-
.admin-color-ocean .cmb2-element.ui-datepicker thead, .admin-color-ocean .cmb2-element .ui-datepicker thead {
|
884 |
-
background: #627c83; }
|
885 |
-
.admin-color-ocean .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-ocean .cmb2-element .ui-datepicker td .ui-state-hover {
|
886 |
-
background: #9ebaa0;
|
887 |
-
color: #fff; }
|
888 |
-
|
889 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-widget-header,
|
890 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header,
|
891 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker .ui-datepicker-header .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker .ui-widget-header,
|
892 |
-
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header,
|
893 |
-
.admin-color-sunrise .cmb2-element .ui-datepicker .ui-datepicker-header .ui-state-hover {
|
894 |
-
background: #cf4944; }
|
895 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker th, .admin-color-sunrise .cmb2-element .ui-datepicker th {
|
896 |
-
border-color: #be3631;
|
897 |
-
background: #be3631; }
|
898 |
-
.admin-color-sunrise .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-sunrise .cmb2-element .ui-datepicker td .ui-state-hover {
|
899 |
-
background: #dd823b;
|
900 |
-
color: #fff; }
|
901 |
-
|
902 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-widget-header,
|
903 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-light .cmb2-element .ui-datepicker .ui-widget-header,
|
904 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-header {
|
905 |
-
background: #e5e5e5; }
|
906 |
-
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-month,
|
907 |
-
.admin-color-light .cmb2-element.ui-datepicker select.ui-datepicker-year, .admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-month,
|
908 |
-
.admin-color-light .cmb2-element .ui-datepicker select.ui-datepicker-year {
|
909 |
-
color: #555; }
|
910 |
-
.admin-color-light .cmb2-element.ui-datepicker thead, .admin-color-light .cmb2-element .ui-datepicker thead {
|
911 |
-
background: #888; }
|
912 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-title,
|
913 |
-
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-default,
|
914 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-prev:before,
|
915 |
-
.admin-color-light .cmb2-element.ui-datepicker .ui-datepicker-next:before, .admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-title,
|
916 |
-
.admin-color-light .cmb2-element .ui-datepicker td .ui-state-default,
|
917 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
|
918 |
-
.admin-color-light .cmb2-element .ui-datepicker .ui-datepicker-next:before {
|
919 |
-
color: #555; }
|
920 |
-
.admin-color-light .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element.ui-datepicker td .ui-state-active, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-hover, .admin-color-light .cmb2-element .ui-datepicker td .ui-state-active {
|
921 |
-
background: #ccc; }
|
922 |
-
.admin-color-light .cmb2-element.ui-datepicker td.ui-datepicker-today, .admin-color-light .cmb2-element .ui-datepicker td.ui-datepicker-today {
|
923 |
-
background: #eee; }
|
924 |
-
|
925 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-widget-header,
|
926 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-widget-header,
|
927 |
-
.admin-color-bbp-evergreen .cmb2-element .ui-datepicker .ui-datepicker-header {
|
928 |
-
background: #56b274; }
|
929 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker thead, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker thead {
|
930 |
-
background: #36533f; }
|
931 |
-
.admin-color-bbp-evergreen .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-evergreen .cmb2-element .ui-datepicker td .ui-state-hover {
|
932 |
-
background: #446950;
|
933 |
-
color: #fff; }
|
934 |
-
|
935 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-widget-header,
|
936 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker .ui-datepicker-header, .admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-widget-header,
|
937 |
-
.admin-color-bbp-mint .cmb2-element .ui-datepicker .ui-datepicker-header {
|
938 |
-
background: #4ca26a; }
|
939 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker thead, .admin-color-bbp-mint .cmb2-element .ui-datepicker thead {
|
940 |
-
background: #4f6d59; }
|
941 |
-
.admin-color-bbp-mint .cmb2-element.ui-datepicker td .ui-state-hover, .admin-color-bbp-mint .cmb2-element .ui-datepicker td .ui-state-hover {
|
942 |
-
background: #5fb37c;
|
943 |
-
color: #fff; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/cmb2.scss
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* CMB2 Styling
|
3 |
-
*/
|
4 |
-
|
5 |
-
@import "partials/variables";
|
6 |
-
@import "partials/mixins";
|
7 |
-
|
8 |
-
@import "partials/main_wrap";
|
9 |
-
@import "partials/post_metaboxes";
|
10 |
-
@import "partials/context_metaboxes";
|
11 |
-
@import "partials/misc";
|
12 |
-
@import "partials/sidebar_placements";
|
13 |
-
@import "partials/collapsible_ui";
|
14 |
-
@import "partials/jquery_ui";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/index.php
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden
|
|
|
|
includes/lib/cmb2/css/sass/partials/_collapsible_ui.scss
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
.cmb2-metabox {
|
2 |
-
.cmb-type-group {
|
3 |
-
max-width: 1000px
|
4 |
-
}
|
5 |
-
.cmbhandle {
|
6 |
-
color: #aaa;
|
7 |
-
float: right;
|
8 |
-
width: 27px;
|
9 |
-
height: 30px;
|
10 |
-
cursor: pointer;
|
11 |
-
right: -1em;
|
12 |
-
position: relative;
|
13 |
-
&:before {
|
14 |
-
content: '\f142';
|
15 |
-
right: 12px;
|
16 |
-
font: normal 20px/1 'dashicons';
|
17 |
-
speak: none;
|
18 |
-
display: inline-block;
|
19 |
-
padding: 8px 10px;
|
20 |
-
top: 0;
|
21 |
-
position: relative;
|
22 |
-
-webkit-font-smoothing: antialiased;
|
23 |
-
-moz-osx-font-smoothing: grayscale;
|
24 |
-
text-decoration: none !important;
|
25 |
-
}
|
26 |
-
}
|
27 |
-
|
28 |
-
.postbox.closed {
|
29 |
-
.cmbhandle {
|
30 |
-
&:before {
|
31 |
-
content: '\f140';
|
32 |
-
}
|
33 |
-
}
|
34 |
-
}
|
35 |
-
|
36 |
-
button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
|
37 |
-
-webkit-appearance: none !important;
|
38 |
-
background: none !important;
|
39 |
-
border: none !important;
|
40 |
-
position: absolute;
|
41 |
-
left: 0;
|
42 |
-
top: .5em;
|
43 |
-
line-height: 1em;
|
44 |
-
padding: 2px 6px 3px;
|
45 |
-
opacity: .5;
|
46 |
-
&:not([disabled]) {
|
47 |
-
cursor: pointer;
|
48 |
-
color: $dark-red;
|
49 |
-
opacity: 1;
|
50 |
-
&:hover {
|
51 |
-
color: $red;
|
52 |
-
}
|
53 |
-
}
|
54 |
-
}
|
55 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_context_metaboxes.scss
DELETED
@@ -1,107 +0,0 @@
|
|
1 |
-
/*--------------------------------------------------------------
|
2 |
-
Context Metaboxes
|
3 |
-
--------------------------------------------------------------*/
|
4 |
-
|
5 |
-
/* Metabox collapse arrow indicators */
|
6 |
-
.js .cmb2-postbox.context-box {
|
7 |
-
|
8 |
-
.toggle-indicator {
|
9 |
-
&:before {
|
10 |
-
content: "\f142";
|
11 |
-
display: inline-block;
|
12 |
-
font: normal 20px/1 dashicons;
|
13 |
-
speak: none;
|
14 |
-
-webkit-font-smoothing: antialiased;
|
15 |
-
-moz-osx-font-smoothing: grayscale;
|
16 |
-
text-decoration: none !important;
|
17 |
-
}
|
18 |
-
}
|
19 |
-
|
20 |
-
&.closed {
|
21 |
-
.toggle-indicator {
|
22 |
-
&:before {
|
23 |
-
content: "\f140";
|
24 |
-
}
|
25 |
-
}
|
26 |
-
}
|
27 |
-
|
28 |
-
}
|
29 |
-
|
30 |
-
.cmb2-postbox.context-box {
|
31 |
-
|
32 |
-
margin-bottom: 10px;
|
33 |
-
|
34 |
-
&.context-before_permalink-box {
|
35 |
-
margin-top: 10px;
|
36 |
-
}
|
37 |
-
|
38 |
-
&.context-after_title-box {
|
39 |
-
margin-top: 10px;
|
40 |
-
}
|
41 |
-
|
42 |
-
&.context-after_editor-box {
|
43 |
-
margin-top: 20px;
|
44 |
-
margin-bottom: 0;
|
45 |
-
}
|
46 |
-
|
47 |
-
&.context-form_top-box {
|
48 |
-
|
49 |
-
margin-top: 10px;
|
50 |
-
|
51 |
-
.hndle {
|
52 |
-
font-size: 14px;
|
53 |
-
padding: 8px 12px;
|
54 |
-
margin: 0;
|
55 |
-
line-height: 1.4;
|
56 |
-
}
|
57 |
-
}
|
58 |
-
|
59 |
-
.hndle {
|
60 |
-
cursor: auto;
|
61 |
-
}
|
62 |
-
}
|
63 |
-
|
64 |
-
.cmb2-context-wrap {
|
65 |
-
|
66 |
-
margin-top: 10px;
|
67 |
-
|
68 |
-
&.cmb2-context-wrap-form_top {
|
69 |
-
margin-right: 300px;
|
70 |
-
width: auto;
|
71 |
-
}
|
72 |
-
|
73 |
-
&.cmb2-context-wrap-no-title {
|
74 |
-
|
75 |
-
.cmb2-metabox {
|
76 |
-
padding: 10px;
|
77 |
-
}
|
78 |
-
}
|
79 |
-
|
80 |
-
.cmb-th {
|
81 |
-
padding: 0 2% 0 0;
|
82 |
-
width: 18%;
|
83 |
-
}
|
84 |
-
|
85 |
-
.cmb-td {
|
86 |
-
width: 80%;
|
87 |
-
padding: 0;
|
88 |
-
}
|
89 |
-
|
90 |
-
.cmb-row {
|
91 |
-
margin-bottom: 10px;
|
92 |
-
|
93 |
-
&:last-of-type {
|
94 |
-
margin-bottom: 0;
|
95 |
-
}
|
96 |
-
}
|
97 |
-
|
98 |
-
}
|
99 |
-
|
100 |
-
/* one column on the post write/edit screen */
|
101 |
-
@media only screen and (max-width: 850px) {
|
102 |
-
|
103 |
-
.cmb2-context-wrap.cmb2-context-wrap-form_top {
|
104 |
-
margin-right: 0;
|
105 |
-
}
|
106 |
-
|
107 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_display.scss
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* CMB2 Styling
|
3 |
-
*/
|
4 |
-
|
5 |
-
.cmb2-colorpicker-swatch {
|
6 |
-
span {
|
7 |
-
display: inline-block;
|
8 |
-
width: 1em;
|
9 |
-
height: 1em;
|
10 |
-
border-radius: 1em;
|
11 |
-
float: left;
|
12 |
-
margin-top: 3px;
|
13 |
-
margin-right: 2px;
|
14 |
-
}
|
15 |
-
}
|
16 |
-
|
17 |
-
.cmb2-code {
|
18 |
-
overflow: scroll;
|
19 |
-
}
|
20 |
-
|
21 |
-
.cmb-image-display {
|
22 |
-
max-width: 100%;
|
23 |
-
height: auto;
|
24 |
-
}
|
25 |
-
|
26 |
-
.cmb2-display-file-list li {
|
27 |
-
display: inline;
|
28 |
-
margin: 0 .5em .5em 0;
|
29 |
-
}
|
30 |
-
|
31 |
-
.cmb2-oembed * {
|
32 |
-
max-width: 100%;
|
33 |
-
height: auto;
|
34 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_front.scss
DELETED
@@ -1,52 +0,0 @@
|
|
1 |
-
.closed .inside {
|
2 |
-
display: none;
|
3 |
-
}
|
4 |
-
|
5 |
-
.cmb-repeatable-grouping {
|
6 |
-
position: relative;
|
7 |
-
|
8 |
-
.cmb-group-title {
|
9 |
-
margin-left: -1em;
|
10 |
-
margin-right: -1em;
|
11 |
-
min-height: 1.5em;
|
12 |
-
}
|
13 |
-
|
14 |
-
h3 {
|
15 |
-
font-size: 14px;
|
16 |
-
padding: 8px 12px;
|
17 |
-
margin: 0;
|
18 |
-
line-height: 1.4;
|
19 |
-
}
|
20 |
-
|
21 |
-
}
|
22 |
-
|
23 |
-
.cmb-repeatable-group {
|
24 |
-
|
25 |
-
&.repeatable .cmb-group-title {
|
26 |
-
padding-left: 2.2em;
|
27 |
-
}
|
28 |
-
|
29 |
-
&.non-repeatable .cmb-group-title {
|
30 |
-
padding-left: 12px;
|
31 |
-
}
|
32 |
-
|
33 |
-
}
|
34 |
-
|
35 |
-
.cmb-type-group .cmb-row .cmbhandle {
|
36 |
-
right: 0;
|
37 |
-
position: absolute;
|
38 |
-
}
|
39 |
-
|
40 |
-
.cmb-spinner {
|
41 |
-
background: url(/wp-admin/images/spinner.gif) no-repeat;
|
42 |
-
-webkit-background-size: 20px 20px;
|
43 |
-
background-size: 20px 20px;
|
44 |
-
display: none;
|
45 |
-
float: right;
|
46 |
-
vertical-align: middle;
|
47 |
-
opacity: 0.7;
|
48 |
-
filter: alpha(opacity=70);
|
49 |
-
width: 20px;
|
50 |
-
height: 20px;
|
51 |
-
margin: 4px 10px 0;
|
52 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_jquery_ui.scss
DELETED
@@ -1,457 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* jQuery UI CSS Framework 1.8.16
|
3 |
-
*
|
4 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
-
* http://jquery.org/license
|
7 |
-
*
|
8 |
-
* http://docs.jquery.com/UI/Theming/API
|
9 |
-
*
|
10 |
-
* WordPress Styles adopted from "jQuery UI Datepicker CSS for WordPress"
|
11 |
-
* https://github.com/stuttter/wp-datepicker-styling
|
12 |
-
*
|
13 |
-
*/
|
14 |
-
|
15 |
-
* html .cmb2-element.ui-helper-clearfix {
|
16 |
-
height:1%;
|
17 |
-
}
|
18 |
-
|
19 |
-
$weekend: #f4f4f4;
|
20 |
-
$freshblue: #00a0d2;
|
21 |
-
$freshdark: #32373c;
|
22 |
-
$freshdarkblue: #0073aa;
|
23 |
-
|
24 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
25 |
-
padding: 0;
|
26 |
-
margin: 0;
|
27 |
-
-webkit-border-radius: 0;
|
28 |
-
-moz-border-radius: 0;
|
29 |
-
border-radius: 0;
|
30 |
-
background-color: #fff;
|
31 |
-
border: 1px solid #dfdfdf;
|
32 |
-
border-top: none;
|
33 |
-
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
34 |
-
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.075);
|
35 |
-
min-width: 17em;
|
36 |
-
width: auto;
|
37 |
-
|
38 |
-
* {
|
39 |
-
padding: 0;
|
40 |
-
font-family: "Open Sans", sans-serif;
|
41 |
-
-webkit-border-radius: 0;
|
42 |
-
-moz-border-radius: 0;
|
43 |
-
border-radius: 0;
|
44 |
-
}
|
45 |
-
|
46 |
-
table {
|
47 |
-
font-size: 13px;
|
48 |
-
margin: 0;
|
49 |
-
border: none;
|
50 |
-
border-collapse: collapse;
|
51 |
-
}
|
52 |
-
|
53 |
-
.ui-widget-header,
|
54 |
-
.ui-datepicker-header {
|
55 |
-
background-image: none;
|
56 |
-
border: none;
|
57 |
-
color: #fff;
|
58 |
-
font-weight: normal;
|
59 |
-
}
|
60 |
-
|
61 |
-
.ui-datepicker-header .ui-state-hover {
|
62 |
-
background: transparent;
|
63 |
-
border-color: transparent;
|
64 |
-
cursor: pointer;
|
65 |
-
}
|
66 |
-
|
67 |
-
.ui-datepicker-title {
|
68 |
-
margin: 0;
|
69 |
-
padding: 10px 0;
|
70 |
-
color: #fff;
|
71 |
-
font-size: 14px;
|
72 |
-
line-height: 14px;
|
73 |
-
text-align: center;
|
74 |
-
|
75 |
-
select {
|
76 |
-
margin-top: -8px;
|
77 |
-
margin-bottom: -8px;
|
78 |
-
}
|
79 |
-
}
|
80 |
-
|
81 |
-
.ui-datepicker-prev,
|
82 |
-
.ui-datepicker-next {
|
83 |
-
position: relative;
|
84 |
-
top: 0;
|
85 |
-
height: 34px;
|
86 |
-
width: 34px;
|
87 |
-
}
|
88 |
-
|
89 |
-
.ui-state-hover.ui-datepicker-prev,
|
90 |
-
.ui-state-hover.ui-datepicker-next {
|
91 |
-
border: none;
|
92 |
-
}
|
93 |
-
|
94 |
-
.ui-datepicker-prev,
|
95 |
-
.ui-datepicker-prev-hover {
|
96 |
-
left: 0;
|
97 |
-
}
|
98 |
-
|
99 |
-
.ui-datepicker-next,
|
100 |
-
.ui-datepicker-next-hover {
|
101 |
-
right: 0;
|
102 |
-
}
|
103 |
-
|
104 |
-
.ui-datepicker-next span,
|
105 |
-
.ui-datepicker-prev span {
|
106 |
-
display: none;
|
107 |
-
}
|
108 |
-
|
109 |
-
.ui-datepicker-prev {
|
110 |
-
float: left;
|
111 |
-
}
|
112 |
-
|
113 |
-
.ui-datepicker-next {
|
114 |
-
float: right;
|
115 |
-
}
|
116 |
-
|
117 |
-
.ui-datepicker-prev:before,
|
118 |
-
.ui-datepicker-next:before {
|
119 |
-
font: normal 20px/34px 'dashicons';
|
120 |
-
padding-left: 7px;
|
121 |
-
color: #fff;
|
122 |
-
speak: none;
|
123 |
-
-webkit-font-smoothing: antialiased;
|
124 |
-
-moz-osx-font-smoothing: grayscale;
|
125 |
-
width: 34px;
|
126 |
-
height: 34px;
|
127 |
-
}
|
128 |
-
|
129 |
-
.ui-datepicker-prev:before {
|
130 |
-
content: '\f341';
|
131 |
-
}
|
132 |
-
|
133 |
-
.ui-datepicker-next:before {
|
134 |
-
content: '\f345';
|
135 |
-
}
|
136 |
-
|
137 |
-
.ui-datepicker-prev-hover:before,
|
138 |
-
.ui-datepicker-next-hover:before {
|
139 |
-
opacity: 0.7;
|
140 |
-
}
|
141 |
-
|
142 |
-
select.ui-datepicker-month,
|
143 |
-
select.ui-datepicker-year {
|
144 |
-
width: 33%;
|
145 |
-
background: transparent;
|
146 |
-
border-color: transparent;
|
147 |
-
box-shadow: none;
|
148 |
-
color: #fff;
|
149 |
-
option {
|
150 |
-
color: #333;
|
151 |
-
}
|
152 |
-
}
|
153 |
-
|
154 |
-
thead {
|
155 |
-
color: #fff;
|
156 |
-
font-weight: 600;
|
157 |
-
th {
|
158 |
-
font-weight: normal;
|
159 |
-
}
|
160 |
-
}
|
161 |
-
|
162 |
-
th {
|
163 |
-
padding: 10px;
|
164 |
-
}
|
165 |
-
|
166 |
-
td {
|
167 |
-
padding: 0;
|
168 |
-
border: 1px solid $weekend;
|
169 |
-
}
|
170 |
-
|
171 |
-
td.ui-datepicker-other-month {
|
172 |
-
border: transparent;
|
173 |
-
}
|
174 |
-
|
175 |
-
td.ui-datepicker-week-end {
|
176 |
-
background-color: $weekend;
|
177 |
-
border: 1px solid $weekend;
|
178 |
-
&.ui-datepicker-today {
|
179 |
-
-webkit-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
180 |
-
-moz-box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
181 |
-
box-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
182 |
-
}
|
183 |
-
}
|
184 |
-
|
185 |
-
td.ui-datepicker-today {
|
186 |
-
background-color: #f0f0c0;
|
187 |
-
}
|
188 |
-
|
189 |
-
td.ui-datepicker-current-day {
|
190 |
-
background: #bbdd88;
|
191 |
-
}
|
192 |
-
|
193 |
-
td .ui-state-default {
|
194 |
-
background: transparent;
|
195 |
-
border: none;
|
196 |
-
text-align: center;
|
197 |
-
text-decoration: none;
|
198 |
-
width: auto;
|
199 |
-
display: block;
|
200 |
-
padding: 5px 10px;
|
201 |
-
font-weight: normal;
|
202 |
-
color: #444;
|
203 |
-
}
|
204 |
-
|
205 |
-
td.ui-state-disabled .ui-state-default {
|
206 |
-
opacity: 0.5;
|
207 |
-
}
|
208 |
-
|
209 |
-
/* Default Color Scheme */
|
210 |
-
.ui-widget-header,
|
211 |
-
.ui-datepicker-header {
|
212 |
-
background: $freshblue;
|
213 |
-
}
|
214 |
-
|
215 |
-
thead {
|
216 |
-
background: $freshdark;
|
217 |
-
}
|
218 |
-
|
219 |
-
td .ui-state-hover, td .ui-state-active {
|
220 |
-
background: $freshdarkblue;
|
221 |
-
color: #fff;
|
222 |
-
}
|
223 |
-
|
224 |
-
.ui-timepicker-div {
|
225 |
-
font-size: 14px;
|
226 |
-
dl {
|
227 |
-
text-align: left;
|
228 |
-
padding: 0 .6em;
|
229 |
-
dt {
|
230 |
-
float: left;
|
231 |
-
clear:left;
|
232 |
-
padding: 0 0 0 5px;
|
233 |
-
}
|
234 |
-
dd {
|
235 |
-
margin: 0 10px 10px 40%;
|
236 |
-
select {
|
237 |
-
width: 100%;
|
238 |
-
}
|
239 |
-
}
|
240 |
-
}
|
241 |
-
|
242 |
-
+ .ui-datepicker-buttonpane {
|
243 |
-
padding: .6em;
|
244 |
-
text-align: left;
|
245 |
-
|
246 |
-
.button-primary, .button-secondary {
|
247 |
-
padding: 0 10px 1px;
|
248 |
-
-webkit-border-radius: 3px;
|
249 |
-
-moz-border-radius: 3px;
|
250 |
-
border-radius: 3px;
|
251 |
-
margin: 0 .6em .4em .4em;
|
252 |
-
}
|
253 |
-
|
254 |
-
}
|
255 |
-
}
|
256 |
-
|
257 |
-
}
|
258 |
-
.admin-color-fresh {
|
259 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
260 |
-
.ui-widget-header,
|
261 |
-
.ui-datepicker-header {
|
262 |
-
background: $freshblue;
|
263 |
-
}
|
264 |
-
|
265 |
-
thead {
|
266 |
-
background: $freshdark;
|
267 |
-
}
|
268 |
-
|
269 |
-
td .ui-state-hover {
|
270 |
-
background: $freshdarkblue;
|
271 |
-
color: #fff;
|
272 |
-
}
|
273 |
-
}
|
274 |
-
}
|
275 |
-
.admin-color-blue {
|
276 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
277 |
-
.ui-widget-header,
|
278 |
-
.ui-datepicker-header {
|
279 |
-
background: #52accc;
|
280 |
-
}
|
281 |
-
|
282 |
-
thead {
|
283 |
-
background: #4796b3;
|
284 |
-
}
|
285 |
-
|
286 |
-
// td .ui-state-hover {
|
287 |
-
// background: #096484;
|
288 |
-
// }
|
289 |
-
|
290 |
-
td {
|
291 |
-
.ui-state-hover, .ui-state-active {
|
292 |
-
background: #096484;
|
293 |
-
color: #fff;
|
294 |
-
}
|
295 |
-
|
296 |
-
&.ui-datepicker-today {
|
297 |
-
background: #eee;
|
298 |
-
}
|
299 |
-
}
|
300 |
-
|
301 |
-
}
|
302 |
-
}
|
303 |
-
.admin-color-coffee {
|
304 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
305 |
-
.ui-widget-header,
|
306 |
-
.ui-datepicker-header {
|
307 |
-
background: #59524c;
|
308 |
-
}
|
309 |
-
|
310 |
-
thead {
|
311 |
-
background: #46403c;
|
312 |
-
}
|
313 |
-
|
314 |
-
td .ui-state-hover {
|
315 |
-
background: #c7a589;
|
316 |
-
color: #fff;
|
317 |
-
}
|
318 |
-
}
|
319 |
-
}
|
320 |
-
.admin-color-ectoplasm {
|
321 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
322 |
-
.ui-widget-header,
|
323 |
-
.ui-datepicker-header {
|
324 |
-
background: #523f6d;
|
325 |
-
}
|
326 |
-
|
327 |
-
thead {
|
328 |
-
background: #413256;
|
329 |
-
}
|
330 |
-
|
331 |
-
td .ui-state-hover {
|
332 |
-
background: #a3b745;
|
333 |
-
color: #fff;
|
334 |
-
}
|
335 |
-
}
|
336 |
-
}
|
337 |
-
.admin-color-midnight {
|
338 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
339 |
-
.ui-widget-header,
|
340 |
-
.ui-datepicker-header {
|
341 |
-
background: #363b3f;
|
342 |
-
}
|
343 |
-
|
344 |
-
thead {
|
345 |
-
background: #26292c;
|
346 |
-
}
|
347 |
-
|
348 |
-
td .ui-state-hover {
|
349 |
-
background: #e14d43;
|
350 |
-
color: #fff;
|
351 |
-
}
|
352 |
-
}
|
353 |
-
}
|
354 |
-
.admin-color-ocean {
|
355 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
356 |
-
.ui-widget-header,
|
357 |
-
.ui-datepicker-header {
|
358 |
-
background: #738e96;
|
359 |
-
}
|
360 |
-
|
361 |
-
thead {
|
362 |
-
background: #627c83;
|
363 |
-
}
|
364 |
-
|
365 |
-
td .ui-state-hover {
|
366 |
-
background: #9ebaa0;
|
367 |
-
color: #fff;
|
368 |
-
}
|
369 |
-
}
|
370 |
-
}
|
371 |
-
.admin-color-sunrise {
|
372 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
373 |
-
.ui-widget-header,
|
374 |
-
.ui-datepicker-header,
|
375 |
-
.ui-datepicker-header .ui-state-hover {
|
376 |
-
background: #cf4944;
|
377 |
-
}
|
378 |
-
|
379 |
-
th {
|
380 |
-
border-color: #be3631;
|
381 |
-
background: #be3631;
|
382 |
-
}
|
383 |
-
|
384 |
-
td .ui-state-hover {
|
385 |
-
background: #dd823b;
|
386 |
-
color: #fff;
|
387 |
-
}
|
388 |
-
}
|
389 |
-
}
|
390 |
-
.admin-color-light {
|
391 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
392 |
-
.ui-widget-header,
|
393 |
-
.ui-datepicker-header {
|
394 |
-
background: #e5e5e5;
|
395 |
-
}
|
396 |
-
|
397 |
-
select.ui-datepicker-month,
|
398 |
-
select.ui-datepicker-year {
|
399 |
-
color: #555;
|
400 |
-
}
|
401 |
-
|
402 |
-
thead {
|
403 |
-
background: #888;
|
404 |
-
}
|
405 |
-
|
406 |
-
.ui-datepicker-title,
|
407 |
-
td .ui-state-default,
|
408 |
-
.ui-datepicker-prev:before,
|
409 |
-
.ui-datepicker-next:before {
|
410 |
-
color: #555;
|
411 |
-
}
|
412 |
-
|
413 |
-
td {
|
414 |
-
.ui-state-hover, .ui-state-active {
|
415 |
-
background: #ccc;
|
416 |
-
}
|
417 |
-
|
418 |
-
&.ui-datepicker-today {
|
419 |
-
background: #eee;
|
420 |
-
}
|
421 |
-
}
|
422 |
-
}
|
423 |
-
}
|
424 |
-
.admin-color-bbp-evergreen {
|
425 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
426 |
-
.ui-widget-header,
|
427 |
-
.ui-datepicker-header {
|
428 |
-
background: #56b274;
|
429 |
-
}
|
430 |
-
|
431 |
-
thead {
|
432 |
-
background: #36533f;
|
433 |
-
}
|
434 |
-
|
435 |
-
td .ui-state-hover {
|
436 |
-
background: #446950;
|
437 |
-
color: #fff;
|
438 |
-
}
|
439 |
-
}
|
440 |
-
}
|
441 |
-
.admin-color-bbp-mint {
|
442 |
-
.cmb2-element.ui-datepicker, .cmb2-element .ui-datepicker {
|
443 |
-
.ui-widget-header,
|
444 |
-
.ui-datepicker-header {
|
445 |
-
background: #4ca26a;
|
446 |
-
}
|
447 |
-
|
448 |
-
thead {
|
449 |
-
background: #4f6d59;
|
450 |
-
}
|
451 |
-
|
452 |
-
td .ui-state-hover {
|
453 |
-
background: #5fb37c;
|
454 |
-
color: #fff;
|
455 |
-
}
|
456 |
-
}
|
457 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_main_wrap.scss
DELETED
@@ -1,442 +0,0 @@
|
|
1 |
-
/*--------------------------------------------------------------
|
2 |
-
Main Wrap
|
3 |
-
--------------------------------------------------------------*/
|
4 |
-
|
5 |
-
.cmb2-wrap {
|
6 |
-
margin: 0;
|
7 |
-
|
8 |
-
input,
|
9 |
-
textarea {
|
10 |
-
font-size: $font-size;
|
11 |
-
max-width: 100%;
|
12 |
-
padding: 5px;
|
13 |
-
|
14 |
-
}
|
15 |
-
|
16 |
-
input[type=text] {
|
17 |
-
|
18 |
-
&.cmb2-oembed {
|
19 |
-
width: 100%;
|
20 |
-
}
|
21 |
-
}
|
22 |
-
|
23 |
-
textarea {
|
24 |
-
width: 500px;
|
25 |
-
|
26 |
-
&.cmb2-textarea-code {
|
27 |
-
font-family: $font-mono;
|
28 |
-
line-height: 16px;
|
29 |
-
}
|
30 |
-
}
|
31 |
-
|
32 |
-
input {
|
33 |
-
|
34 |
-
&.cmb2-text-small,
|
35 |
-
&.cmb2-timepicker {
|
36 |
-
width: 100px;
|
37 |
-
// margin-right: 15px
|
38 |
-
}
|
39 |
-
|
40 |
-
&.cmb2-text-money {
|
41 |
-
width: 90px;
|
42 |
-
// margin-right: 15px
|
43 |
-
}
|
44 |
-
|
45 |
-
&.cmb2-text-medium {
|
46 |
-
width: 230px;
|
47 |
-
// margin-right: 15px
|
48 |
-
}
|
49 |
-
|
50 |
-
&.cmb2-upload-file {
|
51 |
-
width: 65%;
|
52 |
-
}
|
53 |
-
|
54 |
-
&.ed_button {
|
55 |
-
padding: 2px 4px;
|
56 |
-
}
|
57 |
-
|
58 |
-
&:not([type="hidden"]) {
|
59 |
-
+ input,
|
60 |
-
+ .button-secondary,
|
61 |
-
+ select {
|
62 |
-
margin-left: 20px;
|
63 |
-
}
|
64 |
-
}
|
65 |
-
}
|
66 |
-
|
67 |
-
ul {
|
68 |
-
margin: 0;
|
69 |
-
}
|
70 |
-
|
71 |
-
li {
|
72 |
-
font-size: $font-size;
|
73 |
-
line-height: 16px;
|
74 |
-
margin: 1px 0 5px 0;
|
75 |
-
}
|
76 |
-
|
77 |
-
// .cmb-field-list .cmb-field-list {
|
78 |
-
// padding-top:5px;
|
79 |
-
// margin: 0;
|
80 |
-
// }
|
81 |
-
|
82 |
-
select {
|
83 |
-
font-size: $font-size;
|
84 |
-
margin-top: 3px;
|
85 |
-
}
|
86 |
-
|
87 |
-
input:focus,
|
88 |
-
textarea:focus {
|
89 |
-
background: $light-yellow;
|
90 |
-
}
|
91 |
-
|
92 |
-
input[type="radio"] {
|
93 |
-
margin: 0 5px 0 0;
|
94 |
-
padding: 0
|
95 |
-
}
|
96 |
-
|
97 |
-
input[type="checkbox"] {
|
98 |
-
margin: 0 5px 0 0;
|
99 |
-
padding: 0;
|
100 |
-
}
|
101 |
-
|
102 |
-
button,
|
103 |
-
.button-secondary {
|
104 |
-
white-space: nowrap;
|
105 |
-
}
|
106 |
-
|
107 |
-
.mceLayout {
|
108 |
-
border: 1px solid $light-gray !important;
|
109 |
-
}
|
110 |
-
|
111 |
-
.mceIframeContainer {
|
112 |
-
background: #fff;
|
113 |
-
}
|
114 |
-
|
115 |
-
.meta_mce {
|
116 |
-
width: 97%;
|
117 |
-
|
118 |
-
textarea {
|
119 |
-
width: 100%;
|
120 |
-
}
|
121 |
-
}
|
122 |
-
|
123 |
-
// /**
|
124 |
-
// * Color picker
|
125 |
-
// */
|
126 |
-
.wp-color-result,
|
127 |
-
.wp-picker-input-wrap {
|
128 |
-
vertical-align: middle;
|
129 |
-
}
|
130 |
-
|
131 |
-
.wp-color-result,
|
132 |
-
.wp-picker-container {
|
133 |
-
margin: 0 10px 0 0;
|
134 |
-
}
|
135 |
-
|
136 |
-
.cmb-row {
|
137 |
-
margin: 0;
|
138 |
-
|
139 |
-
&:after {
|
140 |
-
content: '';
|
141 |
-
clear: both;
|
142 |
-
display: block;
|
143 |
-
width: 100%;
|
144 |
-
}
|
145 |
-
|
146 |
-
&.cmb-repeat-row {
|
147 |
-
padding: 1.8em 0 0;
|
148 |
-
|
149 |
-
&:first-of-type {
|
150 |
-
padding: 0;
|
151 |
-
}
|
152 |
-
}
|
153 |
-
|
154 |
-
&.cmb-repeat .cmb2-metabox-description {
|
155 |
-
padding-top: 0;
|
156 |
-
padding-bottom: 1.8em;
|
157 |
-
}
|
158 |
-
}
|
159 |
-
}
|
160 |
-
|
161 |
-
.cmb2-metabox {
|
162 |
-
clear: both;
|
163 |
-
margin: 0;
|
164 |
-
|
165 |
-
> .cmb-row:first-of-type >,
|
166 |
-
.cmb-field-list > .cmb-row:first-of-type > {
|
167 |
-
.cmb-td,
|
168 |
-
.cmb-th {
|
169 |
-
border: 0;
|
170 |
-
}
|
171 |
-
}
|
172 |
-
|
173 |
-
> .cmb-row {
|
174 |
-
.cmb-repeat-table .cmb-row > .cmb-td {
|
175 |
-
padding-right: 20px;
|
176 |
-
box-sizing: border-box;
|
177 |
-
float: left;
|
178 |
-
}
|
179 |
-
}
|
180 |
-
}
|
181 |
-
|
182 |
-
.cmb-add-row {
|
183 |
-
margin: 1.8em 0 0;
|
184 |
-
}
|
185 |
-
|
186 |
-
.cmb-nested .cmb-td,
|
187 |
-
.cmb-repeatable-group .cmb-th,
|
188 |
-
.cmb-repeatable-group:first-of-type {
|
189 |
-
border: 0;
|
190 |
-
}
|
191 |
-
|
192 |
-
.cmb-row:last-of-type,
|
193 |
-
.cmb2-wrap .cmb-row:last-of-type,
|
194 |
-
.cmb-repeatable-group:last-of-type {
|
195 |
-
border-bottom: 0;
|
196 |
-
}
|
197 |
-
|
198 |
-
.cmb-repeatable-grouping {
|
199 |
-
border: 1px solid $light-gray;
|
200 |
-
padding: 0 1em;
|
201 |
-
max-width: 1000px;
|
202 |
-
&.cmb-row {
|
203 |
-
margin: 0 0 0.8em;
|
204 |
-
}
|
205 |
-
+ .cmb-repeatable-grouping {
|
206 |
-
}
|
207 |
-
}
|
208 |
-
|
209 |
-
.cmb-th {
|
210 |
-
color: $dark-gray;
|
211 |
-
float: left;
|
212 |
-
font-weight: 600;
|
213 |
-
line-height: 1.3;
|
214 |
-
padding: 20px 10px 20px 0;
|
215 |
-
vertical-align: top;
|
216 |
-
width: 200px;
|
217 |
-
|
218 |
-
@media (max-width: $mobile-break) {
|
219 |
-
@include fullth;
|
220 |
-
}
|
221 |
-
}
|
222 |
-
|
223 |
-
.cmb-td {
|
224 |
-
line-height: 1.3;
|
225 |
-
max-width: 100%;
|
226 |
-
padding: 15px 10px;
|
227 |
-
vertical-align: middle;
|
228 |
-
}
|
229 |
-
|
230 |
-
.cmb-type-title {
|
231 |
-
|
232 |
-
.cmb-td {
|
233 |
-
padding: 0;
|
234 |
-
}
|
235 |
-
}
|
236 |
-
|
237 |
-
.cmb-th label {
|
238 |
-
display: block;
|
239 |
-
padding: 5px 0;
|
240 |
-
}
|
241 |
-
|
242 |
-
.cmb-th + .cmb-td {
|
243 |
-
float: left;
|
244 |
-
}
|
245 |
-
|
246 |
-
.cmb-td .cmb-td {
|
247 |
-
padding-bottom: 1em;
|
248 |
-
}
|
249 |
-
|
250 |
-
.cmb-remove-row {
|
251 |
-
text-align: right;
|
252 |
-
}
|
253 |
-
|
254 |
-
.empty-row.hidden {
|
255 |
-
display: none;
|
256 |
-
}
|
257 |
-
|
258 |
-
.cmb-repeatable-group {
|
259 |
-
|
260 |
-
.cmb-th {
|
261 |
-
padding: 5px;
|
262 |
-
}
|
263 |
-
|
264 |
-
.cmb-group-title {
|
265 |
-
background-color: $light-gray;
|
266 |
-
padding: 8px 12px 8px 2.2em;
|
267 |
-
margin: 0 -1em;
|
268 |
-
min-height: 1.5em;
|
269 |
-
font-size: 14px;
|
270 |
-
line-height: 1.4;
|
271 |
-
|
272 |
-
h4 {
|
273 |
-
border: 0;
|
274 |
-
margin: 0;
|
275 |
-
font-size: 1.2em;
|
276 |
-
font-weight: 500;
|
277 |
-
padding: 0.5em 0.75em;
|
278 |
-
}
|
279 |
-
|
280 |
-
.cmb-th {
|
281 |
-
display: block;
|
282 |
-
width: 100%;
|
283 |
-
}
|
284 |
-
}
|
285 |
-
|
286 |
-
.cmb-group-description .cmb-th {
|
287 |
-
@include fullth;
|
288 |
-
}
|
289 |
-
|
290 |
-
.cmb-shift-rows {
|
291 |
-
font-size: 1em;
|
292 |
-
margin-right: 1em;
|
293 |
-
text-decoration: none;
|
294 |
-
|
295 |
-
.dashicons {
|
296 |
-
font-size: 1.5em;
|
297 |
-
height: 1.5em;
|
298 |
-
line-height: 1.2em;
|
299 |
-
width: 1em;
|
300 |
-
|
301 |
-
&.dashicons-arrow-down-alt2 {
|
302 |
-
line-height: 1.3em;
|
303 |
-
|
304 |
-
}
|
305 |
-
}
|
306 |
-
}
|
307 |
-
|
308 |
-
.cmb2-upload-button {
|
309 |
-
float: right;
|
310 |
-
}
|
311 |
-
|
312 |
-
}
|
313 |
-
|
314 |
-
p.cmb2-metabox-description {
|
315 |
-
color: $gray;
|
316 |
-
font-style: italic;
|
317 |
-
margin: 0;
|
318 |
-
padding-top: .5em;
|
319 |
-
}
|
320 |
-
|
321 |
-
span.cmb2-metabox-description {
|
322 |
-
color: $gray;
|
323 |
-
font-style: italic;
|
324 |
-
}
|
325 |
-
|
326 |
-
.cmb2-metabox-title {
|
327 |
-
margin: 0 0 5px 0;
|
328 |
-
padding: 5px 0 0 0;
|
329 |
-
font-size: 14px;
|
330 |
-
}
|
331 |
-
|
332 |
-
.cmb-inline ul {
|
333 |
-
padding: 4px 0 0 0;
|
334 |
-
}
|
335 |
-
|
336 |
-
.cmb-inline li {
|
337 |
-
display: inline-block;
|
338 |
-
padding-right: 18px;
|
339 |
-
}
|
340 |
-
|
341 |
-
.cmb-type-textarea-code pre {
|
342 |
-
margin: 0;
|
343 |
-
}
|
344 |
-
|
345 |
-
.cmb2-media-status {
|
346 |
-
|
347 |
-
.img-status {
|
348 |
-
clear: none;
|
349 |
-
display: inline-block;
|
350 |
-
vertical-align: middle;
|
351 |
-
margin-right: 10px;
|
352 |
-
width: auto;
|
353 |
-
|
354 |
-
img {
|
355 |
-
max-width: 350px;
|
356 |
-
height: auto;
|
357 |
-
}
|
358 |
-
}
|
359 |
-
|
360 |
-
.img-status img,
|
361 |
-
.embed-status {
|
362 |
-
background: $white;
|
363 |
-
border: 1px solid $light-gray;
|
364 |
-
border-radius: 2px;
|
365 |
-
-moz-border-radius: 2px;
|
366 |
-
margin: 15px 0 0 0;
|
367 |
-
padding: 5px;
|
368 |
-
}
|
369 |
-
|
370 |
-
.embed-status {
|
371 |
-
float: left;
|
372 |
-
max-width: 800px;
|
373 |
-
}
|
374 |
-
|
375 |
-
.img-status, .embed-status {
|
376 |
-
position: relative;
|
377 |
-
|
378 |
-
.cmb2-remove-file-button {
|
379 |
-
background: url(../images/ico-delete.png);
|
380 |
-
height: 16px;
|
381 |
-
left: -5px;
|
382 |
-
position: absolute;
|
383 |
-
text-indent: -9999px;
|
384 |
-
top: -5px;
|
385 |
-
width: 16px;
|
386 |
-
}
|
387 |
-
|
388 |
-
}
|
389 |
-
|
390 |
-
.img-status {
|
391 |
-
|
392 |
-
.cmb2-remove-file-button {
|
393 |
-
top: 10px;
|
394 |
-
}
|
395 |
-
}
|
396 |
-
|
397 |
-
.img-status img, .file-status > span {
|
398 |
-
cursor: pointer;
|
399 |
-
}
|
400 |
-
|
401 |
-
}
|
402 |
-
|
403 |
-
.cmb-type-file-list .cmb2-media-status .img-status {
|
404 |
-
clear: none;
|
405 |
-
vertical-align: middle;
|
406 |
-
width: auto;
|
407 |
-
margin-right: 10px;
|
408 |
-
margin-bottom: 10px;
|
409 |
-
margin-top: 0;
|
410 |
-
}
|
411 |
-
|
412 |
-
.cmb-attach-list li {
|
413 |
-
clear: both;
|
414 |
-
display: inline-block;
|
415 |
-
width: 100%;
|
416 |
-
margin-top: 5px;
|
417 |
-
margin-bottom: 10px;
|
418 |
-
|
419 |
-
img {
|
420 |
-
cursor: move;
|
421 |
-
float: left;
|
422 |
-
margin-right: 10px;
|
423 |
-
}
|
424 |
-
}
|
425 |
-
|
426 |
-
.cmb2-remove-wrapper {
|
427 |
-
margin: 0;
|
428 |
-
}
|
429 |
-
|
430 |
-
.child-cmb2 .cmb-th {
|
431 |
-
text-align: left;
|
432 |
-
}
|
433 |
-
|
434 |
-
@media (max-width: $mobile-break) {
|
435 |
-
.cmb-th,
|
436 |
-
.cmb-td,
|
437 |
-
.cmb-th + .cmb-td {
|
438 |
-
display: block;
|
439 |
-
float: none;
|
440 |
-
width: 100%;
|
441 |
-
}
|
442 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_misc.scss
DELETED
@@ -1,38 +0,0 @@
|
|
1 |
-
/*--------------------------------------------------------------
|
2 |
-
Misc.
|
3 |
-
--------------------------------------------------------------*/
|
4 |
-
|
5 |
-
#poststuff .cmb-repeatable-group h2 {
|
6 |
-
margin: 0;
|
7 |
-
}
|
8 |
-
|
9 |
-
.edit-tags-php,
|
10 |
-
.profile-php,
|
11 |
-
.user-edit-php {
|
12 |
-
.cmb2-metabox-title {
|
13 |
-
font-size: 1.4em;
|
14 |
-
}
|
15 |
-
}
|
16 |
-
|
17 |
-
.cmb2-options-page {
|
18 |
-
.cmb2-metabox-title {
|
19 |
-
font-size: 1.3em;
|
20 |
-
margin: 1em 0;
|
21 |
-
+ p.cmb2-metabox-description {
|
22 |
-
margin-top: -1.6em;
|
23 |
-
margin-bottom: .8em;
|
24 |
-
}
|
25 |
-
}
|
26 |
-
}
|
27 |
-
.cmb2-postbox, .cmb2-no-box-wrap {
|
28 |
-
.cmb-spinner {
|
29 |
-
float: left;
|
30 |
-
display: none;
|
31 |
-
}
|
32 |
-
}
|
33 |
-
.cmb-spinner {
|
34 |
-
display: none;
|
35 |
-
&.is-active {
|
36 |
-
display: block;
|
37 |
-
}
|
38 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_mixins.scss
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
//--------------------------------------------------------------
|
2 |
-
// Mixins
|
3 |
-
//--------------------------------------------------------------
|
4 |
-
|
5 |
-
@mixin fullth() {
|
6 |
-
font-size: 1.2em;
|
7 |
-
@include _fullth;
|
8 |
-
}
|
9 |
-
|
10 |
-
@mixin fullth_side() {
|
11 |
-
|
12 |
-
@include _fullth;
|
13 |
-
|
14 |
-
label {
|
15 |
-
font-size: $font-size;
|
16 |
-
line-height: 1.4em;
|
17 |
-
}
|
18 |
-
}
|
19 |
-
|
20 |
-
@mixin _fullth() {
|
21 |
-
display: block;
|
22 |
-
float: none;
|
23 |
-
padding-bottom: 1em;
|
24 |
-
text-align: left;
|
25 |
-
width: 100%;
|
26 |
-
|
27 |
-
label {
|
28 |
-
display: block;
|
29 |
-
margin-top: 0em;
|
30 |
-
padding-bottom: 5px;
|
31 |
-
|
32 |
-
&:after {
|
33 |
-
border-bottom: 1px solid $light-gray;
|
34 |
-
content: '';
|
35 |
-
clear: both;
|
36 |
-
display: block;
|
37 |
-
padding-top: .4em;
|
38 |
-
}
|
39 |
-
}
|
40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_post_metaboxes.scss
DELETED
@@ -1,116 +0,0 @@
|
|
1 |
-
/*--------------------------------------------------------------
|
2 |
-
Post Metaboxes
|
3 |
-
--------------------------------------------------------------*/
|
4 |
-
#poststuff .cmb-group-title {
|
5 |
-
margin-left: -1em;
|
6 |
-
margin-right: -1em;
|
7 |
-
min-height: 1.5em;
|
8 |
-
}
|
9 |
-
|
10 |
-
#poststuff .repeatable .cmb-group-title {
|
11 |
-
padding-left: 2.2em;
|
12 |
-
}
|
13 |
-
|
14 |
-
.cmb2-postbox, .cmb-type-group {
|
15 |
-
|
16 |
-
.cmb2-wrap {
|
17 |
-
margin: 0;
|
18 |
-
|
19 |
-
> .cmb-field-list > .cmb-row {
|
20 |
-
padding: 1.8em 0;
|
21 |
-
}
|
22 |
-
|
23 |
-
input[type=text] {
|
24 |
-
|
25 |
-
&.cmb2-oembed {
|
26 |
-
width: 100%;
|
27 |
-
}
|
28 |
-
}
|
29 |
-
}
|
30 |
-
|
31 |
-
.cmb-row {
|
32 |
-
padding: 0 0 1.8em;
|
33 |
-
margin: 0 0 0.8em;
|
34 |
-
|
35 |
-
.cmbhandle {
|
36 |
-
right: -1em;
|
37 |
-
position: relative;
|
38 |
-
}
|
39 |
-
}
|
40 |
-
|
41 |
-
.cmb-repeatable-grouping {
|
42 |
-
padding: 0 1em;
|
43 |
-
max-width: 100%;
|
44 |
-
min-width: 1px !important;
|
45 |
-
}
|
46 |
-
|
47 |
-
.cmb-repeatable-group > .cmb-row {
|
48 |
-
padding-bottom: 0;
|
49 |
-
}
|
50 |
-
|
51 |
-
.cmb-th {
|
52 |
-
width: 18%;
|
53 |
-
padding: 0 2% 0 0;
|
54 |
-
// text-align: right;
|
55 |
-
}
|
56 |
-
|
57 |
-
.cmb-td {
|
58 |
-
margin-bottom: 0;
|
59 |
-
padding: 0;
|
60 |
-
line-height: 1.3;
|
61 |
-
}
|
62 |
-
|
63 |
-
.cmb-repeat-row .cmb-td {
|
64 |
-
padding-bottom: 1.8em;
|
65 |
-
}
|
66 |
-
|
67 |
-
.cmb-th + .cmb-td {
|
68 |
-
width: 80%;
|
69 |
-
float: right;
|
70 |
-
}
|
71 |
-
|
72 |
-
.cmb-row:not(:last-of-type),
|
73 |
-
.cmb-repeatable-group:not(:last-of-type) {
|
74 |
-
border-bottom: 1px solid $light-gray;
|
75 |
-
|
76 |
-
@media (max-width: $mobile-break) {
|
77 |
-
border-bottom: 0;
|
78 |
-
}
|
79 |
-
}
|
80 |
-
|
81 |
-
.cmb-repeat-group-field,
|
82 |
-
.cmb-remove-field-row {
|
83 |
-
padding-top: 1.8em;
|
84 |
-
}
|
85 |
-
|
86 |
-
.cmb2-metabox > .cmb-row {
|
87 |
-
&.table-layout, .cmb-row.table-layout {
|
88 |
-
.cmb-repeat-table .cmb-tbody {
|
89 |
-
display: table;
|
90 |
-
width: 100%;
|
91 |
-
|
92 |
-
input.regular-text {
|
93 |
-
width: 100%;
|
94 |
-
}
|
95 |
-
|
96 |
-
.cmb-row:not(.hidden):not(.empty-row) {
|
97 |
-
display: table-row;
|
98 |
-
}
|
99 |
-
|
100 |
-
.cmb-td {
|
101 |
-
display: table-cell;
|
102 |
-
float: none;
|
103 |
-
width: 100%;
|
104 |
-
}
|
105 |
-
|
106 |
-
.cmb-row:not(:first-of-type) .cmb-td {
|
107 |
-
padding-top: 1.8em;
|
108 |
-
}
|
109 |
-
|
110 |
-
.cmb-td.cmb-remove-row {
|
111 |
-
padding-right: 0;
|
112 |
-
}
|
113 |
-
}
|
114 |
-
}
|
115 |
-
}
|
116 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_sidebar_placements.scss
DELETED
@@ -1,164 +0,0 @@
|
|
1 |
-
/*--------------------------------------------------------------
|
2 |
-
Sidebar Placement Adjustments
|
3 |
-
--------------------------------------------------------------*/
|
4 |
-
|
5 |
-
.inner-sidebar,
|
6 |
-
#side-sortables {
|
7 |
-
|
8 |
-
.cmb2-wrap {
|
9 |
-
|
10 |
-
> .cmb-field-list > .cmb-row {
|
11 |
-
padding: 1.4em 0;
|
12 |
-
}
|
13 |
-
|
14 |
-
input {
|
15 |
-
|
16 |
-
&[type=text]:not( .wp-color-picker ) {
|
17 |
-
width: 100%;
|
18 |
-
}
|
19 |
-
|
20 |
-
+ input:not( .wp-picker-clear ), + select {
|
21 |
-
margin-left: 0;
|
22 |
-
margin-top: 1em;
|
23 |
-
display: block;
|
24 |
-
}
|
25 |
-
|
26 |
-
&.cmb2-text-money {
|
27 |
-
max-width: 70%;
|
28 |
-
+ .cmb2-metabox-description {
|
29 |
-
display: block;
|
30 |
-
}
|
31 |
-
}
|
32 |
-
}
|
33 |
-
|
34 |
-
label {
|
35 |
-
display: block;
|
36 |
-
font-weight: 700;
|
37 |
-
padding: 0 0 5px;
|
38 |
-
}
|
39 |
-
|
40 |
-
}
|
41 |
-
|
42 |
-
textarea {
|
43 |
-
max-width: 99%;
|
44 |
-
}
|
45 |
-
|
46 |
-
.cmb-repeatable-group {
|
47 |
-
border-bottom: 1px solid $light-gray;
|
48 |
-
}
|
49 |
-
|
50 |
-
.cmb-type-group > .cmb-td > .cmb-repeatable-group {
|
51 |
-
border-bottom: 0;
|
52 |
-
margin-bottom: -1.4em;
|
53 |
-
}
|
54 |
-
|
55 |
-
.cmb-th,
|
56 |
-
.cmb-td,
|
57 |
-
.cmb-th + .cmb-td {
|
58 |
-
width: 100%;
|
59 |
-
display: block;
|
60 |
-
float: none;
|
61 |
-
}
|
62 |
-
|
63 |
-
.closed .inside {
|
64 |
-
display: none;
|
65 |
-
}
|
66 |
-
|
67 |
-
.cmb-td .cmb-td {
|
68 |
-
padding-bottom: 1em;
|
69 |
-
}
|
70 |
-
|
71 |
-
.cmb-th {
|
72 |
-
@include fullth_side;
|
73 |
-
padding-left: 0;
|
74 |
-
padding-right: 0;
|
75 |
-
}
|
76 |
-
|
77 |
-
.cmb-group-description {
|
78 |
-
.cmb-th {
|
79 |
-
padding-top: 0;
|
80 |
-
}
|
81 |
-
.cmb2-metabox-description {
|
82 |
-
padding: 0;
|
83 |
-
}
|
84 |
-
}
|
85 |
-
|
86 |
-
.cmb-group-title {
|
87 |
-
// padding-bottom: 0;
|
88 |
-
.cmb-th {
|
89 |
-
padding: 0;
|
90 |
-
}
|
91 |
-
}
|
92 |
-
|
93 |
-
.cmb-repeatable-grouping {
|
94 |
-
+ .cmb-repeatable-grouping {
|
95 |
-
margin-top: 1em;
|
96 |
-
}
|
97 |
-
}
|
98 |
-
.cmb2-media-status {
|
99 |
-
|
100 |
-
.img-status,
|
101 |
-
.embed-status {
|
102 |
-
|
103 |
-
img {
|
104 |
-
max-width: 90%;
|
105 |
-
// width: auto;
|
106 |
-
height: auto;
|
107 |
-
}
|
108 |
-
}
|
109 |
-
}
|
110 |
-
|
111 |
-
.cmb2-list label {
|
112 |
-
display: inline;
|
113 |
-
font-weight: normal;
|
114 |
-
}
|
115 |
-
|
116 |
-
.cmb2-metabox-description {
|
117 |
-
display: block;
|
118 |
-
padding: 7px 0 0;
|
119 |
-
}
|
120 |
-
|
121 |
-
.cmb-type-checkbox {
|
122 |
-
|
123 |
-
.cmb-td label,
|
124 |
-
.cmb2-metabox-description {
|
125 |
-
font-weight: normal;
|
126 |
-
display: inline;
|
127 |
-
}
|
128 |
-
}
|
129 |
-
|
130 |
-
.cmb-row .cmb2-metabox-description {
|
131 |
-
padding-bottom: 1.8em;
|
132 |
-
}
|
133 |
-
|
134 |
-
.cmb2-metabox-title {
|
135 |
-
font-size: 1.2em;
|
136 |
-
font-style: italic;
|
137 |
-
}
|
138 |
-
|
139 |
-
.cmb-remove-row {
|
140 |
-
clear: both;
|
141 |
-
padding-top: 12px;
|
142 |
-
padding-bottom: 0;
|
143 |
-
}
|
144 |
-
|
145 |
-
.cmb-type-colorpicker .cmb-repeat-row {
|
146 |
-
.cmb-td {
|
147 |
-
width: auto;
|
148 |
-
clear: none;
|
149 |
-
float: left;
|
150 |
-
padding-top: 0;
|
151 |
-
&.cmb-remove-row {
|
152 |
-
float: right;
|
153 |
-
margin: 0;
|
154 |
-
}
|
155 |
-
}
|
156 |
-
}
|
157 |
-
|
158 |
-
.cmb2-upload-button {
|
159 |
-
clear: both;
|
160 |
-
margin-top: 12px;
|
161 |
-
}
|
162 |
-
|
163 |
-
}
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/_variables.scss
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
//--------------------------------------------------------------
|
2 |
-
// Variables
|
3 |
-
//--------------------------------------------------------------
|
4 |
-
|
5 |
-
// Mobile break-point
|
6 |
-
$mobile-break : 450px;
|
7 |
-
|
8 |
-
// Fonts
|
9 |
-
$font-sans : sans-serif;
|
10 |
-
$font-serif : Georgia, Times, "Times New Roman", serif;
|
11 |
-
$font-mono : "Courier 10 Pitch", Courier, monospace;
|
12 |
-
$font-size : 14px;
|
13 |
-
|
14 |
-
// Colors
|
15 |
-
$dark-gray : #222222;
|
16 |
-
$gray : #aaaaaa;
|
17 |
-
$light-gray : #e9e9e9;
|
18 |
-
$blue : #0063ce;
|
19 |
-
$light-yellow : #fffff8;
|
20 |
-
$white : #ffffff;
|
21 |
-
$red : #f00;
|
22 |
-
$dark-red : #a00;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/css/sass/partials/index.php
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden
|
|
|
|
includes/lib/cmb2/example-functions.php
DELETED
@@ -1,788 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Include and setup custom metaboxes and fields. (make sure you copy this file to outside the CMB2 directory)
|
4 |
-
*
|
5 |
-
* Be sure to replace all instances of 'yourprefix_' with your project's prefix.
|
6 |
-
* http://nacin.com/2010/05/11/in-wordpress-prefix-everything/
|
7 |
-
*
|
8 |
-
* @category YourThemeOrPlugin
|
9 |
-
* @package Demo_CMB2
|
10 |
-
* @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
|
11 |
-
* @link https://github.com/CMB2/CMB2
|
12 |
-
*/
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Get the bootstrap! If using the plugin from wordpress.org, REMOVE THIS!
|
16 |
-
*/
|
17 |
-
|
18 |
-
if ( file_exists( dirname( __FILE__ ) . '/cmb2/init.php' ) ) {
|
19 |
-
require_once dirname( __FILE__ ) . '/cmb2/init.php';
|
20 |
-
} elseif ( file_exists( dirname( __FILE__ ) . '/CMB2/init.php' ) ) {
|
21 |
-
require_once dirname( __FILE__ ) . '/CMB2/init.php';
|
22 |
-
}
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Conditionally displays a metabox when used as a callback in the 'show_on_cb' cmb2_box parameter
|
26 |
-
*
|
27 |
-
* @param CMB2 $cmb CMB2 object.
|
28 |
-
*
|
29 |
-
* @return bool True if metabox should show
|
30 |
-
*/
|
31 |
-
function yourprefix_show_if_front_page( $cmb ) {
|
32 |
-
// Don't show this metabox if it's not the front page template.
|
33 |
-
if ( get_option( 'page_on_front' ) !== $cmb->object_id ) {
|
34 |
-
return false;
|
35 |
-
}
|
36 |
-
return true;
|
37 |
-
}
|
38 |
-
|
39 |
-
/**
|
40 |
-
* Conditionally displays a field when used as a callback in the 'show_on_cb' field parameter
|
41 |
-
*
|
42 |
-
* @param CMB2_Field $field Field object.
|
43 |
-
*
|
44 |
-
* @return bool True if metabox should show
|
45 |
-
*/
|
46 |
-
function yourprefix_hide_if_no_cats( $field ) {
|
47 |
-
// Don't show this field if not in the cats category.
|
48 |
-
if ( ! has_tag( 'cats', $field->object_id ) ) {
|
49 |
-
return false;
|
50 |
-
}
|
51 |
-
return true;
|
52 |
-
}
|
53 |
-
|
54 |
-
/**
|
55 |
-
* Manually render a field.
|
56 |
-
*
|
57 |
-
* @param array $field_args Array of field arguments.
|
58 |
-
* @param CMB2_Field $field The field object.
|
59 |
-
*/
|
60 |
-
function yourprefix_render_row_cb( $field_args, $field ) {
|
61 |
-
$classes = $field->row_classes();
|
62 |
-
$id = $field->args( 'id' );
|
63 |
-
$label = $field->args( 'name' );
|
64 |
-
$name = $field->args( '_name' );
|
65 |
-
$value = $field->escaped_value();
|
66 |
-
$description = $field->args( 'description' );
|
67 |
-
?>
|
68 |
-
<div class="custom-field-row <?php echo esc_attr( $classes ); ?>">
|
69 |
-
<p><label for="<?php echo esc_attr( $id ); ?>"><?php echo esc_html( $label ); ?></label></p>
|
70 |
-
<p><input id="<?php echo esc_attr( $id ); ?>" type="text" name="<?php echo esc_attr( $name ); ?>" value="<?php echo $value; ?>"/></p>
|
71 |
-
<p class="description"><?php echo esc_html( $description ); ?></p>
|
72 |
-
</div>
|
73 |
-
<?php
|
74 |
-
}
|
75 |
-
|
76 |
-
/**
|
77 |
-
* Manually render a field column display.
|
78 |
-
*
|
79 |
-
* @param array $field_args Array of field arguments.
|
80 |
-
* @param CMB2_Field $field The field object.
|
81 |
-
*/
|
82 |
-
function yourprefix_display_text_small_column( $field_args, $field ) {
|
83 |
-
?>
|
84 |
-
<div class="custom-column-display <?php echo esc_attr( $field->row_classes() ); ?>">
|
85 |
-
<p><?php echo $field->escaped_value(); ?></p>
|
86 |
-
<p class="description"><?php echo esc_html( $field->args( 'description' ) ); ?></p>
|
87 |
-
</div>
|
88 |
-
<?php
|
89 |
-
}
|
90 |
-
|
91 |
-
/**
|
92 |
-
* Conditionally displays a message if the $post_id is 2
|
93 |
-
*
|
94 |
-
* @param array $field_args Array of field parameters.
|
95 |
-
* @param CMB2_Field $field Field object.
|
96 |
-
*/
|
97 |
-
function yourprefix_before_row_if_2( $field_args, $field ) {
|
98 |
-
if ( 2 == $field->object_id ) {
|
99 |
-
echo '<p>Testing <b>"before_row"</b> parameter (on $post_id 2)</p>';
|
100 |
-
} else {
|
101 |
-
echo '<p>Testing <b>"before_row"</b> parameter (<b>NOT</b> on $post_id 2)</p>';
|
102 |
-
}
|
103 |
-
}
|
104 |
-
|
105 |
-
add_action( 'cmb2_admin_init', 'yourprefix_register_demo_metabox' );
|
106 |
-
/**
|
107 |
-
* Hook in and add a demo metabox. Can only happen on the 'cmb2_admin_init' or 'cmb2_init' hook.
|
108 |
-
*/
|
109 |
-
function yourprefix_register_demo_metabox() {
|
110 |
-
$prefix = 'yourprefix_demo_';
|
111 |
-
|
112 |
-
/**
|
113 |
-
* Sample metabox to demonstrate each field type included
|
114 |
-
*/
|
115 |
-
$cmb_demo = new_cmb2_box( array(
|
116 |
-
'id' => $prefix . 'metabox',
|
117 |
-
'title' => esc_html__( 'Test Metabox', 'cmb2' ),
|
118 |
-
'object_types' => array( 'page' ), // Post type
|
119 |
-
// 'show_on_cb' => 'yourprefix_show_if_front_page', // function should return a bool value
|
120 |
-
// 'context' => 'normal',
|
121 |
-
// 'priority' => 'high',
|
122 |
-
// 'show_names' => true, // Show field names on the left
|
123 |
-
// 'cmb_styles' => false, // false to disable the CMB stylesheet
|
124 |
-
// 'closed' => true, // true to keep the metabox closed by default
|
125 |
-
// 'classes' => 'extra-class', // Extra cmb2-wrap classes
|
126 |
-
// 'classes_cb' => 'yourprefix_add_some_classes', // Add classes through a callback.
|
127 |
-
) );
|
128 |
-
|
129 |
-
$cmb_demo->add_field( array(
|
130 |
-
'name' => esc_html__( 'Test Text', 'cmb2' ),
|
131 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
132 |
-
'id' => $prefix . 'text',
|
133 |
-
'type' => 'text',
|
134 |
-
'show_on_cb' => 'yourprefix_hide_if_no_cats', // function should return a bool value
|
135 |
-
// 'sanitization_cb' => 'my_custom_sanitization', // custom sanitization callback parameter
|
136 |
-
// 'escape_cb' => 'my_custom_escaping', // custom escaping callback parameter
|
137 |
-
// 'on_front' => false, // Optionally designate a field to wp-admin only
|
138 |
-
// 'repeatable' => true,
|
139 |
-
// 'column' => true, // Display field value in the admin post-listing columns
|
140 |
-
) );
|
141 |
-
|
142 |
-
$cmb_demo->add_field( array(
|
143 |
-
'name' => esc_html__( 'Test Text Small', 'cmb2' ),
|
144 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
145 |
-
'id' => $prefix . 'textsmall',
|
146 |
-
'type' => 'text_small',
|
147 |
-
// 'repeatable' => true,
|
148 |
-
// 'column' => array(
|
149 |
-
// 'name' => esc_html__( 'Column Title', 'cmb2' ), // Set the admin column title
|
150 |
-
// 'position' => 2, // Set as the second column.
|
151 |
-
// );
|
152 |
-
// 'display_cb' => 'yourprefix_display_text_small_column', // Output the display of the column values through a callback.
|
153 |
-
) );
|
154 |
-
|
155 |
-
$cmb_demo->add_field( array(
|
156 |
-
'name' => esc_html__( 'Test Text Medium', 'cmb2' ),
|
157 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
158 |
-
'id' => $prefix . 'textmedium',
|
159 |
-
'type' => 'text_medium',
|
160 |
-
) );
|
161 |
-
|
162 |
-
$cmb_demo->add_field( array(
|
163 |
-
'name' => esc_html__( 'Read-only Disabled Field', 'cmb2' ),
|
164 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
165 |
-
'id' => $prefix . 'readonly',
|
166 |
-
'type' => 'text_medium',
|
167 |
-
'default' => esc_attr__( 'Hey there, I\'m a read-only field', 'cmb2' ),
|
168 |
-
'save_field' => false, // Disables the saving of this field.
|
169 |
-
'attributes' => array(
|
170 |
-
'disabled' => 'disabled',
|
171 |
-
'readonly' => 'readonly',
|
172 |
-
),
|
173 |
-
) );
|
174 |
-
|
175 |
-
$cmb_demo->add_field( array(
|
176 |
-
'name' => esc_html__( 'Custom Rendered Field', 'cmb2' ),
|
177 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
178 |
-
'id' => $prefix . 'render_row_cb',
|
179 |
-
'type' => 'text',
|
180 |
-
'render_row_cb' => 'yourprefix_render_row_cb',
|
181 |
-
) );
|
182 |
-
|
183 |
-
$cmb_demo->add_field( array(
|
184 |
-
'name' => esc_html__( 'Website URL', 'cmb2' ),
|
185 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
186 |
-
'id' => $prefix . 'url',
|
187 |
-
'type' => 'text_url',
|
188 |
-
// 'protocols' => array('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet'), // Array of allowed protocols
|
189 |
-
// 'repeatable' => true,
|
190 |
-
) );
|
191 |
-
|
192 |
-
$cmb_demo->add_field( array(
|
193 |
-
'name' => esc_html__( 'Test Text Email', 'cmb2' ),
|
194 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
195 |
-
'id' => $prefix . 'email',
|
196 |
-
'type' => 'text_email',
|
197 |
-
// 'repeatable' => true,
|
198 |
-
) );
|
199 |
-
|
200 |
-
$cmb_demo->add_field( array(
|
201 |
-
'name' => esc_html__( 'Test Time', 'cmb2' ),
|
202 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
203 |
-
'id' => $prefix . 'time',
|
204 |
-
'type' => 'text_time',
|
205 |
-
// 'time_format' => 'H:i', // Set to 24hr format
|
206 |
-
) );
|
207 |
-
|
208 |
-
$cmb_demo->add_field( array(
|
209 |
-
'name' => esc_html__( 'Time zone', 'cmb2' ),
|
210 |
-
'desc' => esc_html__( 'Time zone', 'cmb2' ),
|
211 |
-
'id' => $prefix . 'timezone',
|
212 |
-
'type' => 'select_timezone',
|
213 |
-
) );
|
214 |
-
|
215 |
-
$cmb_demo->add_field( array(
|
216 |
-
'name' => esc_html__( 'Test Date Picker', 'cmb2' ),
|
217 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
218 |
-
'id' => $prefix . 'textdate',
|
219 |
-
'type' => 'text_date',
|
220 |
-
// 'date_format' => 'Y-m-d',
|
221 |
-
) );
|
222 |
-
|
223 |
-
$cmb_demo->add_field( array(
|
224 |
-
'name' => esc_html__( 'Test Date Picker (UNIX timestamp)', 'cmb2' ),
|
225 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
226 |
-
'id' => $prefix . 'textdate_timestamp',
|
227 |
-
'type' => 'text_date_timestamp',
|
228 |
-
// 'timezone_meta_key' => $prefix . 'timezone', // Optionally make this field honor the timezone selected in the select_timezone specified above
|
229 |
-
) );
|
230 |
-
|
231 |
-
$cmb_demo->add_field( array(
|
232 |
-
'name' => esc_html__( 'Test Date/Time Picker Combo (UNIX timestamp)', 'cmb2' ),
|
233 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
234 |
-
'id' => $prefix . 'datetime_timestamp',
|
235 |
-
'type' => 'text_datetime_timestamp',
|
236 |
-
) );
|
237 |
-
|
238 |
-
// This text_datetime_timestamp_timezone field type
|
239 |
-
// is only compatible with PHP versions 5.3 or above.
|
240 |
-
// Feel free to uncomment and use if your server meets the requirement
|
241 |
-
// $cmb_demo->add_field( array(
|
242 |
-
// 'name' => esc_html__( 'Test Date/Time Picker/Time zone Combo (serialized DateTime object)', 'cmb2' ),
|
243 |
-
// 'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
244 |
-
// 'id' => $prefix . 'datetime_timestamp_timezone',
|
245 |
-
// 'type' => 'text_datetime_timestamp_timezone',
|
246 |
-
// ) );
|
247 |
-
|
248 |
-
$cmb_demo->add_field( array(
|
249 |
-
'name' => esc_html__( 'Test Money', 'cmb2' ),
|
250 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
251 |
-
'id' => $prefix . 'textmoney',
|
252 |
-
'type' => 'text_money',
|
253 |
-
// 'before_field' => '£', // override '$' symbol if needed
|
254 |
-
// 'repeatable' => true,
|
255 |
-
) );
|
256 |
-
|
257 |
-
$cmb_demo->add_field( array(
|
258 |
-
'name' => esc_html__( 'Test Color Picker', 'cmb2' ),
|
259 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
260 |
-
'id' => $prefix . 'colorpicker',
|
261 |
-
'type' => 'colorpicker',
|
262 |
-
'default' => '#ffffff',
|
263 |
-
// 'options' => array(
|
264 |
-
// 'alpha' => true, // Make this a rgba color picker.
|
265 |
-
// ),
|
266 |
-
// 'attributes' => array(
|
267 |
-
// 'data-colorpicker' => json_encode( array(
|
268 |
-
// 'palettes' => array( '#3dd0cc', '#ff834c', '#4fa2c0', '#0bc991', ),
|
269 |
-
// ) ),
|
270 |
-
// ),
|
271 |
-
) );
|
272 |
-
|
273 |
-
$cmb_demo->add_field( array(
|
274 |
-
'name' => esc_html__( 'Test Text Area', 'cmb2' ),
|
275 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
276 |
-
'id' => $prefix . 'textarea',
|
277 |
-
'type' => 'textarea',
|
278 |
-
) );
|
279 |
-
|
280 |
-
$cmb_demo->add_field( array(
|
281 |
-
'name' => esc_html__( 'Test Text Area Small', 'cmb2' ),
|
282 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
283 |
-
'id' => $prefix . 'textareasmall',
|
284 |
-
'type' => 'textarea_small',
|
285 |
-
) );
|
286 |
-
|
287 |
-
$cmb_demo->add_field( array(
|
288 |
-
'name' => esc_html__( 'Test Text Area for Code', 'cmb2' ),
|
289 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
290 |
-
'id' => $prefix . 'textarea_code',
|
291 |
-
'type' => 'textarea_code',
|
292 |
-
// 'attributes' => array(
|
293 |
-
// // Optionally override the code editor defaults.
|
294 |
-
// 'data-codeeditor' => json_encode( array(
|
295 |
-
// 'codemirror' => array(
|
296 |
-
// 'lineNumbers' => false,
|
297 |
-
// 'mode' => 'css',
|
298 |
-
// ),
|
299 |
-
// ) ),
|
300 |
-
// ),
|
301 |
-
// To keep the previous formatting, you can disable codemirror.
|
302 |
-
// 'options' => array( 'disable_codemirror' => true ),
|
303 |
-
) );
|
304 |
-
|
305 |
-
$cmb_demo->add_field( array(
|
306 |
-
'name' => esc_html__( 'Test Title Weeeee', 'cmb2' ),
|
307 |
-
'desc' => esc_html__( 'This is a title description', 'cmb2' ),
|
308 |
-
'id' => $prefix . 'title',
|
309 |
-
'type' => 'title',
|
310 |
-
) );
|
311 |
-
|
312 |
-
$cmb_demo->add_field( array(
|
313 |
-
'name' => esc_html__( 'Test Select', 'cmb2' ),
|
314 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
315 |
-
'id' => $prefix . 'select',
|
316 |
-
'type' => 'select',
|
317 |
-
'show_option_none' => true,
|
318 |
-
'options' => array(
|
319 |
-
'standard' => esc_html__( 'Option One', 'cmb2' ),
|
320 |
-
'custom' => esc_html__( 'Option Two', 'cmb2' ),
|
321 |
-
'none' => esc_html__( 'Option Three', 'cmb2' ),
|
322 |
-
),
|
323 |
-
) );
|
324 |
-
|
325 |
-
$cmb_demo->add_field( array(
|
326 |
-
'name' => esc_html__( 'Test Radio inline', 'cmb2' ),
|
327 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
328 |
-
'id' => $prefix . 'radio_inline',
|
329 |
-
'type' => 'radio_inline',
|
330 |
-
'show_option_none' => 'No Selection',
|
331 |
-
'options' => array(
|
332 |
-
'standard' => esc_html__( 'Option One', 'cmb2' ),
|
333 |
-
'custom' => esc_html__( 'Option Two', 'cmb2' ),
|
334 |
-
'none' => esc_html__( 'Option Three', 'cmb2' ),
|
335 |
-
),
|
336 |
-
) );
|
337 |
-
|
338 |
-
$cmb_demo->add_field( array(
|
339 |
-
'name' => esc_html__( 'Test Radio', 'cmb2' ),
|
340 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
341 |
-
'id' => $prefix . 'radio',
|
342 |
-
'type' => 'radio',
|
343 |
-
'options' => array(
|
344 |
-
'option1' => esc_html__( 'Option One', 'cmb2' ),
|
345 |
-
'option2' => esc_html__( 'Option Two', 'cmb2' ),
|
346 |
-
'option3' => esc_html__( 'Option Three', 'cmb2' ),
|
347 |
-
),
|
348 |
-
) );
|
349 |
-
|
350 |
-
$cmb_demo->add_field( array(
|
351 |
-
'name' => esc_html__( 'Test Taxonomy Radio', 'cmb2' ),
|
352 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
353 |
-
'id' => $prefix . 'text_taxonomy_radio',
|
354 |
-
'type' => 'taxonomy_radio', // Or `taxonomy_radio_inline`/`taxonomy_radio_hierarchical`
|
355 |
-
'taxonomy' => 'category', // Taxonomy Slug
|
356 |
-
// 'inline' => true, // Toggles display to inline
|
357 |
-
) );
|
358 |
-
|
359 |
-
$cmb_demo->add_field( array(
|
360 |
-
'name' => esc_html__( 'Test Taxonomy Select', 'cmb2' ),
|
361 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
362 |
-
'id' => $prefix . 'taxonomy_select',
|
363 |
-
'type' => 'taxonomy_select',
|
364 |
-
'taxonomy' => 'category', // Taxonomy Slug
|
365 |
-
) );
|
366 |
-
|
367 |
-
$cmb_demo->add_field( array(
|
368 |
-
'name' => esc_html__( 'Test Taxonomy Multi Checkbox', 'cmb2' ),
|
369 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
370 |
-
'id' => $prefix . 'multitaxonomy',
|
371 |
-
'type' => 'taxonomy_multicheck', // Or `taxonomy_multicheck_inline`/`taxonomy_multicheck_hierarchical`
|
372 |
-
'taxonomy' => 'post_tag', // Taxonomy Slug
|
373 |
-
// 'inline' => true, // Toggles display to inline
|
374 |
-
) );
|
375 |
-
|
376 |
-
$cmb_demo->add_field( array(
|
377 |
-
'name' => esc_html__( 'Test Checkbox', 'cmb2' ),
|
378 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
379 |
-
'id' => $prefix . 'checkbox',
|
380 |
-
'type' => 'checkbox',
|
381 |
-
) );
|
382 |
-
|
383 |
-
$cmb_demo->add_field( array(
|
384 |
-
'name' => esc_html__( 'Test Multi Checkbox', 'cmb2' ),
|
385 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
386 |
-
'id' => $prefix . 'multicheckbox',
|
387 |
-
'type' => 'multicheck',
|
388 |
-
// 'multiple' => true, // Store values in individual rows
|
389 |
-
'options' => array(
|
390 |
-
'check1' => esc_html__( 'Check One', 'cmb2' ),
|
391 |
-
'check2' => esc_html__( 'Check Two', 'cmb2' ),
|
392 |
-
'check3' => esc_html__( 'Check Three', 'cmb2' ),
|
393 |
-
),
|
394 |
-
// 'inline' => true, // Toggles display to inline
|
395 |
-
) );
|
396 |
-
|
397 |
-
$cmb_demo->add_field( array(
|
398 |
-
'name' => esc_html__( 'Test wysiwyg', 'cmb2' ),
|
399 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
400 |
-
'id' => $prefix . 'wysiwyg',
|
401 |
-
'type' => 'wysiwyg',
|
402 |
-
'options' => array(
|
403 |
-
'textarea_rows' => 5,
|
404 |
-
),
|
405 |
-
) );
|
406 |
-
|
407 |
-
$cmb_demo->add_field( array(
|
408 |
-
'name' => esc_html__( 'Test Image', 'cmb2' ),
|
409 |
-
'desc' => esc_html__( 'Upload an image or enter a URL.', 'cmb2' ),
|
410 |
-
'id' => $prefix . 'image',
|
411 |
-
'type' => 'file',
|
412 |
-
) );
|
413 |
-
|
414 |
-
$cmb_demo->add_field( array(
|
415 |
-
'name' => esc_html__( 'Multiple Files', 'cmb2' ),
|
416 |
-
'desc' => esc_html__( 'Upload or add multiple images/attachments.', 'cmb2' ),
|
417 |
-
'id' => $prefix . 'file_list',
|
418 |
-
'type' => 'file_list',
|
419 |
-
'preview_size' => array( 100, 100 ), // Default: array( 50, 50 )
|
420 |
-
) );
|
421 |
-
|
422 |
-
$cmb_demo->add_field( array(
|
423 |
-
'name' => esc_html__( 'oEmbed', 'cmb2' ),
|
424 |
-
'desc' => sprintf(
|
425 |
-
/* translators: %s: link to codex.wordpress.org/Embeds */
|
426 |
-
esc_html__( 'Enter a youtube, twitter, or instagram URL. Supports services listed at %s.', 'cmb2' ),
|
427 |
-
'<a href="https://codex.wordpress.org/Embeds">codex.wordpress.org/Embeds</a>'
|
428 |
-
),
|
429 |
-
'id' => $prefix . 'embed',
|
430 |
-
'type' => 'oembed',
|
431 |
-
) );
|
432 |
-
|
433 |
-
$cmb_demo->add_field( array(
|
434 |
-
'name' => 'Testing Field Parameters',
|
435 |
-
'id' => $prefix . 'parameters',
|
436 |
-
'type' => 'text',
|
437 |
-
'before_row' => 'yourprefix_before_row_if_2', // callback.
|
438 |
-
'before' => '<p>Testing <b>"before"</b> parameter</p>',
|
439 |
-
'before_field' => '<p>Testing <b>"before_field"</b> parameter</p>',
|
440 |
-
'after_field' => '<p>Testing <b>"after_field"</b> parameter</p>',
|
441 |
-
'after' => '<p>Testing <b>"after"</b> parameter</p>',
|
442 |
-
'after_row' => '<p>Testing <b>"after_row"</b> parameter</p>',
|
443 |
-
) );
|
444 |
-
|
445 |
-
}
|
446 |
-
|
447 |
-
add_action( 'cmb2_admin_init', 'yourprefix_register_about_page_metabox' );
|
448 |
-
/**
|
449 |
-
* Hook in and add a metabox that only appears on the 'About' page
|
450 |
-
*/
|
451 |
-
function yourprefix_register_about_page_metabox() {
|
452 |
-
$prefix = 'yourprefix_about_';
|
453 |
-
|
454 |
-
/**
|
455 |
-
* Metabox to be displayed on a single page ID
|
456 |
-
*/
|
457 |
-
$cmb_about_page = new_cmb2_box( array(
|
458 |
-
'id' => $prefix . 'metabox',
|
459 |
-
'title' => esc_html__( 'About Page Metabox', 'cmb2' ),
|
460 |
-
'object_types' => array( 'page' ), // Post type
|
461 |
-
'context' => 'normal',
|
462 |
-
'priority' => 'high',
|
463 |
-
'show_names' => true, // Show field names on the left
|
464 |
-
'show_on' => array(
|
465 |
-
'id' => array( 2 ),
|
466 |
-
), // Specific post IDs to display this metabox
|
467 |
-
) );
|
468 |
-
|
469 |
-
$cmb_about_page->add_field( array(
|
470 |
-
'name' => esc_html__( 'Test Text', 'cmb2' ),
|
471 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
472 |
-
'id' => $prefix . 'text',
|
473 |
-
'type' => 'text',
|
474 |
-
) );
|
475 |
-
|
476 |
-
}
|
477 |
-
|
478 |
-
add_action( 'cmb2_admin_init', 'yourprefix_register_repeatable_group_field_metabox' );
|
479 |
-
/**
|
480 |
-
* Hook in and add a metabox to demonstrate repeatable grouped fields
|
481 |
-
*/
|
482 |
-
function yourprefix_register_repeatable_group_field_metabox() {
|
483 |
-
$prefix = 'yourprefix_group_';
|
484 |
-
|
485 |
-
/**
|
486 |
-
* Repeatable Field Groups
|
487 |
-
*/
|
488 |
-
$cmb_group = new_cmb2_box( array(
|
489 |
-
'id' => $prefix . 'metabox',
|
490 |
-
'title' => esc_html__( 'Repeating Field Group', 'cmb2' ),
|
491 |
-
'object_types' => array( 'page' ),
|
492 |
-
) );
|
493 |
-
|
494 |
-
// $group_field_id is the field id string, so in this case: $prefix . 'demo'
|
495 |
-
$group_field_id = $cmb_group->add_field( array(
|
496 |
-
'id' => $prefix . 'demo',
|
497 |
-
'type' => 'group',
|
498 |
-
'description' => esc_html__( 'Generates reusable form entries', 'cmb2' ),
|
499 |
-
'options' => array(
|
500 |
-
'group_title' => esc_html__( 'Entry {#}', 'cmb2' ), // {#} gets replaced by row number
|
501 |
-
'add_button' => esc_html__( 'Add Another Entry', 'cmb2' ),
|
502 |
-
'remove_button' => esc_html__( 'Remove Entry', 'cmb2' ),
|
503 |
-
'sortable' => true,
|
504 |
-
// 'closed' => true, // true to have the groups closed by default
|
505 |
-
),
|
506 |
-
) );
|
507 |
-
|
508 |
-
/**
|
509 |
-
* Group fields works the same, except ids only need
|
510 |
-
* to be unique to the group. Prefix is not needed.
|
511 |
-
*
|
512 |
-
* The parent field's id needs to be passed as the first argument.
|
513 |
-
*/
|
514 |
-
$cmb_group->add_group_field( $group_field_id, array(
|
515 |
-
'name' => esc_html__( 'Entry Title', 'cmb2' ),
|
516 |
-
'id' => 'title',
|
517 |
-
'type' => 'text',
|
518 |
-
// 'repeatable' => true, // Repeatable fields are supported w/in repeatable groups (for most types)
|
519 |
-
) );
|
520 |
-
|
521 |
-
$cmb_group->add_group_field( $group_field_id, array(
|
522 |
-
'name' => esc_html__( 'Description', 'cmb2' ),
|
523 |
-
'description' => esc_html__( 'Write a short description for this entry', 'cmb2' ),
|
524 |
-
'id' => 'description',
|
525 |
-
'type' => 'textarea_small',
|
526 |
-
) );
|
527 |
-
|
528 |
-
$cmb_group->add_group_field( $group_field_id, array(
|
529 |
-
'name' => esc_html__( 'Entry Image', 'cmb2' ),
|
530 |
-
'id' => 'image',
|
531 |
-
'type' => 'file',
|
532 |
-
) );
|
533 |
-
|
534 |
-
$cmb_group->add_group_field( $group_field_id, array(
|
535 |
-
'name' => esc_html__( 'Image Caption', 'cmb2' ),
|
536 |
-
'id' => 'image_caption',
|
537 |
-
'type' => 'text',
|
538 |
-
) );
|
539 |
-
|
540 |
-
}
|
541 |
-
|
542 |
-
add_action( 'cmb2_admin_init', 'yourprefix_register_user_profile_metabox' );
|
543 |
-
/**
|
544 |
-
* Hook in and add a metabox to add fields to the user profile pages
|
545 |
-
*/
|
546 |
-
function yourprefix_register_user_profile_metabox() {
|
547 |
-
$prefix = 'yourprefix_user_';
|
548 |
-
|
549 |
-
/**
|
550 |
-
* Metabox for the user profile screen
|
551 |
-
*/
|
552 |
-
$cmb_user = new_cmb2_box( array(
|
553 |
-
'id' => $prefix . 'edit',
|
554 |
-
'title' => esc_html__( 'User Profile Metabox', 'cmb2' ), // Doesn't output for user boxes
|
555 |
-
'object_types' => array( 'user' ), // Tells CMB2 to use user_meta vs post_meta
|
556 |
-
'show_names' => true,
|
557 |
-
'new_user_section' => 'add-new-user', // where form will show on new user page. 'add-existing-user' is only other valid option.
|
558 |
-
) );
|
559 |
-
|
560 |
-
$cmb_user->add_field( array(
|
561 |
-
'name' => esc_html__( 'Extra Info', 'cmb2' ),
|
562 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
563 |
-
'id' => $prefix . 'extra_info',
|
564 |
-
'type' => 'title',
|
565 |
-
'on_front' => false,
|
566 |
-
) );
|
567 |
-
|
568 |
-
$cmb_user->add_field( array(
|
569 |
-
'name' => esc_html__( 'Avatar', 'cmb2' ),
|
570 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
571 |
-
'id' => $prefix . 'avatar',
|
572 |
-
'type' => 'file',
|
573 |
-
) );
|
574 |
-
|
575 |
-
$cmb_user->add_field( array(
|
576 |
-
'name' => esc_html__( 'Facebook URL', 'cmb2' ),
|
577 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
578 |
-
'id' => $prefix . 'facebookurl',
|
579 |
-
'type' => 'text_url',
|
580 |
-
) );
|
581 |
-
|
582 |
-
$cmb_user->add_field( array(
|
583 |
-
'name' => esc_html__( 'Twitter URL', 'cmb2' ),
|
584 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
585 |
-
'id' => $prefix . 'twitterurl',
|
586 |
-
'type' => 'text_url',
|
587 |
-
) );
|
588 |
-
|
589 |
-
$cmb_user->add_field( array(
|
590 |
-
'name' => esc_html__( 'Google+ URL', 'cmb2' ),
|
591 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
592 |
-
'id' => $prefix . 'googleplusurl',
|
593 |
-
'type' => 'text_url',
|
594 |
-
) );
|
595 |
-
|
596 |
-
$cmb_user->add_field( array(
|
597 |
-
'name' => esc_html__( 'Linkedin URL', 'cmb2' ),
|
598 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
599 |
-
'id' => $prefix . 'linkedinurl',
|
600 |
-
'type' => 'text_url',
|
601 |
-
) );
|
602 |
-
|
603 |
-
$cmb_user->add_field( array(
|
604 |
-
'name' => esc_html__( 'User Field', 'cmb2' ),
|
605 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
606 |
-
'id' => $prefix . 'user_text_field',
|
607 |
-
'type' => 'text',
|
608 |
-
) );
|
609 |
-
|
610 |
-
}
|
611 |
-
|
612 |
-
add_action( 'cmb2_admin_init', 'yourprefix_register_taxonomy_metabox' );
|
613 |
-
/**
|
614 |
-
* Hook in and add a metabox to add fields to taxonomy terms
|
615 |
-
*/
|
616 |
-
function yourprefix_register_taxonomy_metabox() {
|
617 |
-
$prefix = 'yourprefix_term_';
|
618 |
-
|
619 |
-
/**
|
620 |
-
* Metabox to add fields to categories and tags
|
621 |
-
*/
|
622 |
-
$cmb_term = new_cmb2_box( array(
|
623 |
-
'id' => $prefix . 'edit',
|
624 |
-
'title' => esc_html__( 'Category Metabox', 'cmb2' ), // Doesn't output for term boxes
|
625 |
-
'object_types' => array( 'term' ), // Tells CMB2 to use term_meta vs post_meta
|
626 |
-
'taxonomies' => array( 'category', 'post_tag' ), // Tells CMB2 which taxonomies should have these fields
|
627 |
-
// 'new_term_section' => true, // Will display in the "Add New Category" section
|
628 |
-
) );
|
629 |
-
|
630 |
-
$cmb_term->add_field( array(
|
631 |
-
'name' => esc_html__( 'Extra Info', 'cmb2' ),
|
632 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
633 |
-
'id' => $prefix . 'extra_info',
|
634 |
-
'type' => 'title',
|
635 |
-
'on_front' => false,
|
636 |
-
) );
|
637 |
-
|
638 |
-
$cmb_term->add_field( array(
|
639 |
-
'name' => esc_html__( 'Term Image', 'cmb2' ),
|
640 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
641 |
-
'id' => $prefix . 'avatar',
|
642 |
-
'type' => 'file',
|
643 |
-
) );
|
644 |
-
|
645 |
-
$cmb_term->add_field( array(
|
646 |
-
'name' => esc_html__( 'Arbitrary Term Field', 'cmb2' ),
|
647 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
648 |
-
'id' => $prefix . 'term_text_field',
|
649 |
-
'type' => 'text',
|
650 |
-
) );
|
651 |
-
|
652 |
-
}
|
653 |
-
|
654 |
-
add_action( 'cmb2_admin_init', 'yourprefix_register_theme_options_metabox' );
|
655 |
-
/**
|
656 |
-
* Hook in and register a metabox to handle a theme options page and adds a menu item.
|
657 |
-
*/
|
658 |
-
function yourprefix_register_theme_options_metabox() {
|
659 |
-
|
660 |
-
/**
|
661 |
-
* Registers options page menu item and form.
|
662 |
-
*/
|
663 |
-
$cmb_options = new_cmb2_box( array(
|
664 |
-
'id' => 'yourprefix_theme_options_page',
|
665 |
-
'title' => esc_html__( 'Theme Options', 'cmb2' ),
|
666 |
-
'object_types' => array( 'options-page' ),
|
667 |
-
|
668 |
-
/*
|
669 |
-
* The following parameters are specific to the options-page box
|
670 |
-
* Several of these parameters are passed along to add_menu_page()/add_submenu_page().
|
671 |
-
*/
|
672 |
-
|
673 |
-
'option_key' => 'yourprefix_theme_options', // The option key and admin menu page slug.
|
674 |
-
'icon_url' => 'dashicons-palmtree', // Menu icon. Only applicable if 'parent_slug' is left empty.
|
675 |
-
// 'menu_title' => esc_html__( 'Options', 'cmb2' ), // Falls back to 'title' (above).
|
676 |
-
// 'parent_slug' => 'themes.php', // Make options page a submenu item of the themes menu.
|
677 |
-
// 'capability' => 'manage_options', // Cap required to view options-page.
|
678 |
-
// 'position' => 1, // Menu position. Only applicable if 'parent_slug' is left empty.
|
679 |
-
// 'admin_menu_hook' => 'network_admin_menu', // 'network_admin_menu' to add network-level options page.
|
680 |
-
// 'display_cb' => false, // Override the options-page form output (CMB2_Hookup::options_page_output()).
|
681 |
-
// 'save_button' => esc_html__( 'Save Theme Options', 'cmb2' ), // The text for the options-page save button. Defaults to 'Save'.
|
682 |
-
// 'disable_settings_errors' => true, // On settings pages (not options-general.php sub-pages), allows disabling.
|
683 |
-
// 'message_cb' => 'yourprefix_options_page_message_callback',
|
684 |
-
// 'tab_group' => '', // Tab-group identifier, enables options page tab navigation.
|
685 |
-
// 'tab_title' => null, // Falls back to 'title' (above).
|
686 |
-
// 'autoload' => false, // Defaults to true, the options-page option will be autloaded.
|
687 |
-
) );
|
688 |
-
|
689 |
-
/**
|
690 |
-
* Options fields ids only need
|
691 |
-
* to be unique within this box.
|
692 |
-
* Prefix is not needed.
|
693 |
-
*/
|
694 |
-
$cmb_options->add_field( array(
|
695 |
-
'name' => esc_html__( 'Site Background Color', 'cmb2' ),
|
696 |
-
'desc' => esc_html__( 'field description (optional)', 'cmb2' ),
|
697 |
-
'id' => 'bg_color',
|
698 |
-
'type' => 'colorpicker',
|
699 |
-
'default' => '#ffffff',
|
700 |
-
) );
|
701 |
-
|
702 |
-
}
|
703 |
-
|
704 |
-
/**
|
705 |
-
* Callback to define the optionss-saved message.
|
706 |
-
*
|
707 |
-
* @param CMB2 $cmb The CMB2 object.
|
708 |
-
* @param array $args {
|
709 |
-
* An array of message arguments
|
710 |
-
*
|
711 |
-
* @type bool $is_options_page Whether current page is this options page.
|
712 |
-
* @type bool $should_notify Whether options were saved and we should be notified.
|
713 |
-
* @type bool $is_updated Whether options were updated with save (or stayed the same).
|
714 |
-
* @type string $setting For add_settings_error(), Slug title of the setting to which
|
715 |
-
* this error applies.
|
716 |
-
* @type string $code For add_settings_error(), Slug-name to identify the error.
|
717 |
-
* Used as part of 'id' attribute in HTML output.
|
718 |
-
* @type string $message For add_settings_error(), The formatted message text to display
|
719 |
-
* to the user (will be shown inside styled `<div>` and `<p>` tags).
|
720 |
-
* Will be 'Settings updated.' if $is_updated is true, else 'Nothing to update.'
|
721 |
-
* @type string $type For add_settings_error(), Message type, controls HTML class.
|
722 |
-
* Accepts 'error', 'updated', '', 'notice-warning', etc.
|
723 |
-
* Will be 'updated' if $is_updated is true, else 'notice-warning'.
|
724 |
-
* }
|
725 |
-
*/
|
726 |
-
function yourprefix_options_page_message_callback( $cmb, $args ) {
|
727 |
-
if ( ! empty( $args['should_notify'] ) ) {
|
728 |
-
|
729 |
-
if ( $args['is_updated'] ) {
|
730 |
-
|
731 |
-
// Modify the updated message.
|
732 |
-
$args['message'] = sprintf( esc_html__( '%s — Updated!', 'cmb2' ), $cmb->prop( 'title' ) );
|
733 |
-
}
|
734 |
-
|
735 |
-
add_settings_error( $args['setting'], $args['code'], $args['message'], $args['type'] );
|
736 |
-
}
|
737 |
-
}
|
738 |
-
|
739 |
-
/**
|
740 |
-
* Only show this box in the CMB2 REST API if the user is logged in.
|
741 |
-
*
|
742 |
-
* @param bool $is_allowed Whether this box and its fields are allowed to be viewed.
|
743 |
-
* @param CMB2_REST_Controller $cmb_controller The controller object.
|
744 |
-
* CMB2 object available via `$cmb_controller->rest_box->cmb`.
|
745 |
-
*
|
746 |
-
* @return bool Whether this box and its fields are allowed to be viewed.
|
747 |
-
*/
|
748 |
-
function yourprefix_limit_rest_view_to_logged_in_users( $is_allowed, $cmb_controller ) {
|
749 |
-
if ( ! is_user_logged_in() ) {
|
750 |
-
$is_allowed = false;
|
751 |
-
}
|
752 |
-
|
753 |
-
return $is_allowed;
|
754 |
-
}
|
755 |
-
|
756 |
-
add_action( 'cmb2_init', 'yourprefix_register_rest_api_box' );
|
757 |
-
/**
|
758 |
-
* Hook in and add a box to be available in the CMB2 REST API. Can only happen on the 'cmb2_init' hook.
|
759 |
-
* More info: https://github.com/CMB2/CMB2/wiki/REST-API
|
760 |
-
*/
|
761 |
-
function yourprefix_register_rest_api_box() {
|
762 |
-
$prefix = 'yourprefix_rest_';
|
763 |
-
|
764 |
-
$cmb_rest = new_cmb2_box( array(
|
765 |
-
'id' => $prefix . 'metabox',
|
766 |
-
'title' => esc_html__( 'REST Test Box', 'cmb2' ),
|
767 |
-
'object_types' => array( 'page' ), // Post type
|
768 |
-
'show_in_rest' => WP_REST_Server::ALLMETHODS, // WP_REST_Server::READABLE|WP_REST_Server::EDITABLE, // Determines which HTTP methods the box is visible in.
|
769 |
-
// Optional callback to limit box visibility.
|
770 |
-
// See: https://github.com/CMB2/CMB2/wiki/REST-API#permissions
|
771 |
-
// 'get_box_permissions_check_cb' => 'yourprefix_limit_rest_view_to_logged_in_users',
|
772 |
-
) );
|
773 |
-
|
774 |
-
$cmb_rest->add_field( array(
|
775 |
-
'name' => esc_html__( 'REST Test Text', 'cmb2' ),
|
776 |
-
'desc' => esc_html__( 'Will show in the REST API for this box and for pages.', 'cmb2' ),
|
777 |
-
'id' => $prefix . 'text',
|
778 |
-
'type' => 'text',
|
779 |
-
) );
|
780 |
-
|
781 |
-
$cmb_rest->add_field( array(
|
782 |
-
'name' => esc_html__( 'REST Editable Test Text', 'cmb2' ),
|
783 |
-
'desc' => esc_html__( 'Will show in REST API "editable" contexts only (`POST` requests).', 'cmb2' ),
|
784 |
-
'id' => $prefix . 'editable_text',
|
785 |
-
'type' => 'text',
|
786 |
-
'show_in_rest' => WP_REST_Server::EDITABLE,// WP_REST_Server::ALLMETHODS|WP_REST_Server::READABLE, // Determines which HTTP methods the field is visible in. Will override the cmb2_box 'show_in_rest' param.
|
787 |
-
) );
|
788 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/includes/CMB2.php
CHANGED
@@ -59,42 +59,42 @@ class CMB2 extends CMB2_Base {
|
|
59 |
* @since 1.0.1
|
60 |
*/
|
61 |
protected $mb_defaults = array(
|
62 |
-
'id'
|
63 |
-
'title'
|
64 |
// Post type slug, or 'user', 'term', 'comment', or 'options-page'.
|
65 |
-
'object_types'
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
*/
|
76 |
-
'context'
|
77 |
-
'priority'
|
78 |
-
'show_names'
|
79 |
-
'show_on_cb'
|
80 |
-
'show_on'
|
81 |
-
'cmb_styles'
|
82 |
-
'enqueue_js'
|
83 |
-
'fields'
|
84 |
|
85 |
-
|
86 |
* Handles hooking CMB2 forms/metaboxes into the post/attachement/user/options-page screens
|
87 |
-
|
88 |
*/
|
89 |
-
'hookup'
|
90 |
-
'save_fields'
|
91 |
-
'closed'
|
92 |
-
'taxonomies'
|
93 |
-
'new_user_section'
|
94 |
-
'new_term_section'
|
95 |
-
'show_in_rest'
|
96 |
-
'classes'
|
97 |
-
'classes_cb'
|
98 |
|
99 |
/*
|
100 |
* The following parameter is for post alternate-context metaboxes only.
|
@@ -102,28 +102,48 @@ class CMB2 extends CMB2_Base {
|
|
102 |
* To output the fields 'naked' (without a postbox wrapper/style), then
|
103 |
* add a `'remove_box_wrap' => true` to your metabox registration array.
|
104 |
*/
|
105 |
-
'remove_box_wrap'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
/*
|
108 |
* The following parameters are for options-page metaboxes,
|
109 |
* and several are passed along to add_menu_page()/add_submenu_page()
|
110 |
*/
|
111 |
|
112 |
-
// 'menu_title'
|
113 |
-
'message_cb'
|
114 |
-
'option_key'
|
115 |
-
'parent_slug'
|
116 |
-
'capability'
|
117 |
-
'icon_url'
|
118 |
-
'position'
|
119 |
-
|
120 |
-
'admin_menu_hook'
|
121 |
-
'display_cb'
|
122 |
-
'save_button'
|
123 |
'disable_settings_errors' => false, // On settings pages (not options-general.php sub-pages), allows disabling.
|
124 |
-
'tab_group'
|
125 |
-
// 'tab_title'
|
126 |
-
// 'autoload'
|
127 |
);
|
128 |
|
129 |
/**
|
@@ -184,10 +204,19 @@ class CMB2 extends CMB2_Base {
|
|
184 |
$this->meta_box['fields'] = array();
|
185 |
|
186 |
// Ensures object_types is an array.
|
187 |
-
$this->set_prop( 'object_types', $this->box_types() )
|
188 |
$this->object_id( $object_id );
|
189 |
|
190 |
if ( $this->is_options_page_mb() ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
$this->init_options_mb();
|
192 |
}
|
193 |
|
@@ -209,7 +238,7 @@ class CMB2 extends CMB2_Base {
|
|
209 |
do_action( "cmb2_init_{$this->cmb_id}", $this );
|
210 |
|
211 |
// Hook in the hookup... how meta.
|
212 |
-
add_action( "cmb2_init_hookup_{$this->cmb_id}", array( '
|
213 |
|
214 |
// Hook in the rest api functionality.
|
215 |
add_action( "cmb2_init_hookup_{$this->cmb_id}", array( 'CMB2_REST', 'maybe_init_and_hookup' ) );
|
@@ -258,8 +287,8 @@ class CMB2 extends CMB2_Base {
|
|
258 |
* @param array $cmb_id The current box ID.
|
259 |
* @param int $object_id The ID of the current object.
|
260 |
* @param string $object_type The type of object you are working with.
|
261 |
-
*
|
262 |
-
*
|
263 |
* @param array $cmb This CMB2 object.
|
264 |
*/
|
265 |
do_action( 'cmb2_before_form', $this->cmb_id, $object_id, $object_type, $this );
|
@@ -341,13 +370,19 @@ class CMB2 extends CMB2_Base {
|
|
341 |
*/
|
342 |
$classes = apply_filters( 'cmb2_wrap_classes', $classes, $this );
|
343 |
|
344 |
-
|
345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
|
347 |
// Remove any duplicates.
|
348 |
$classes = array_unique( $classes );
|
349 |
|
350 |
-
// Make a string.
|
351 |
return implode( ' ', $classes );
|
352 |
}
|
353 |
|
@@ -389,8 +424,8 @@ class CMB2 extends CMB2_Base {
|
|
389 |
* @param array $cmb_id The current box ID.
|
390 |
* @param int $object_id The ID of the current object.
|
391 |
* @param string $object_type The type of object you are working with.
|
392 |
-
*
|
393 |
-
*
|
394 |
* @param array $cmb This CMB2 object.
|
395 |
*/
|
396 |
do_action( 'cmb2_after_form', $this->cmb_id, $object_id, $object_type, $this );
|
@@ -441,7 +476,7 @@ class CMB2 extends CMB2_Base {
|
|
441 |
public function render_group( $args ) {
|
442 |
$field_group = false;
|
443 |
|
444 |
-
if ( $args instanceof CMB2_Field
|
445 |
$field_group = 'group' === $args->type() ? $args : false;
|
446 |
} elseif ( isset( $args['id'], $args['fields'] ) && is_array( $args['fields'] ) ) {
|
447 |
$field_group = $this->get_field( $args );
|
@@ -541,7 +576,6 @@ class CMB2 extends CMB2_Base {
|
|
541 |
* @since 2.2.2
|
542 |
*
|
543 |
* @param string $group_wrap_attributes Current attributes array.
|
544 |
-
*
|
545 |
* @param CMB2_Field $field_group The group CMB2_Field object.
|
546 |
*/
|
547 |
$group_wrap_attributes = apply_filters( 'cmb2_group_wrap_attributes', $group_wrap_attributes, $field_group );
|
@@ -552,7 +586,7 @@ class CMB2 extends CMB2_Base {
|
|
552 |
$att_value = htmlspecialchars( $att_value );
|
553 |
}
|
554 |
|
555 |
-
$atts[ sanitize_html_class( $att ) ] = sanitize_text_field(
|
556 |
}
|
557 |
|
558 |
return CMB2_Utils::concat_attrs( $atts );
|
@@ -569,13 +603,15 @@ class CMB2 extends CMB2_Base {
|
|
569 |
public function render_group_row( $field_group ) {
|
570 |
|
571 |
$field_group->peform_param_callback( 'before_group_row' );
|
572 |
-
$closed_class
|
|
|
|
|
573 |
|
574 |
echo '
|
575 |
-
<div class="postbox cmb-row cmb-repeatable-grouping', $closed_class, '" data-iterator="', $field_group->index, '">';
|
576 |
|
577 |
if ( $field_group->args( 'repeatable' ) ) {
|
578 |
-
echo '<button type="button" data-selector="', $field_group->id(), '_repeat" class="dashicons-before dashicons-no-alt cmb-remove-group-row" title="', esc_attr( $field_group->options( 'remove_button' ) ), '"></button>';
|
579 |
}
|
580 |
|
581 |
echo '
|
@@ -598,11 +634,12 @@ class CMB2 extends CMB2_Base {
|
|
598 |
$this->get_field( $field_args, $field_group )->render_field();
|
599 |
}
|
600 |
}
|
|
|
601 |
if ( $field_group->args( 'repeatable' ) ) {
|
602 |
echo '
|
603 |
<div class="cmb-row cmb-remove-field-row">
|
604 |
<div class="cmb-remove-row">
|
605 |
-
<button type="button" data-selector="', $field_group->id(), '_repeat" class="cmb-remove-group-row cmb-remove-group-row-button alignright button-secondary">', $field_group->options( 'remove_button' ), '</button>
|
606 |
</div>
|
607 |
</div>
|
608 |
';
|
@@ -618,11 +655,13 @@ class CMB2 extends CMB2_Base {
|
|
618 |
}
|
619 |
|
620 |
/**
|
621 |
-
* Add a hidden field to the list of hidden fields to be rendered later
|
622 |
*
|
623 |
* @since 2.0.0
|
|
|
624 |
* @param array $field_args Array of field arguments to be passed to CMB2_Field.
|
625 |
* @param CMB2_Field|null $field_group CMB2_Field group field object.
|
|
|
626 |
*/
|
627 |
public function add_hidden_field( $field_args, $field_group = null ) {
|
628 |
if ( isset( $field_args['field_args'] ) ) {
|
@@ -665,6 +704,7 @@ class CMB2 extends CMB2_Base {
|
|
665 |
*
|
666 |
* @since 2.0.3
|
667 |
* @param array $data_to_sanitize Array of field_id => value data for sanitizing (likely $_POST data).
|
|
|
668 |
*/
|
669 |
public function get_sanitized_values( array $data_to_sanitize ) {
|
670 |
$this->data_to_save = $data_to_sanitize;
|
@@ -787,7 +827,7 @@ class CMB2 extends CMB2_Base {
|
|
787 |
/**
|
788 |
* Fires the "cmb2_{$object_type}_process_fields_{$cmb_id}" action hook.
|
789 |
*
|
790 |
-
* @since
|
791 |
*
|
792 |
* @return CMB2
|
793 |
*/
|
@@ -828,8 +868,8 @@ class CMB2 extends CMB2_Base {
|
|
828 |
* Fires after all fields have been saved.
|
829 |
*
|
830 |
* The dynamic portion of the hook name, $object_type, refers to the metabox/form's object type
|
831 |
-
*
|
832 |
-
*
|
833 |
*
|
834 |
* @param int $object_id The ID of the current object
|
835 |
* @param array $cmb_id The current box ID
|
@@ -845,8 +885,8 @@ class CMB2 extends CMB2_Base {
|
|
845 |
* The dynamic portion of the hook name, $this->cmb_id, is the meta_box id.
|
846 |
*
|
847 |
* The dynamic portion of the hook name, $object_type, refers to the metabox/form's object type
|
848 |
-
*
|
849 |
-
*
|
850 |
*
|
851 |
* @param int $object_id The ID of the current object
|
852 |
* @param string $updated Array of field ids that were updated.
|
@@ -903,6 +943,9 @@ class CMB2 extends CMB2_Base {
|
|
903 |
|
904 |
$field = $this->get_new_field( $field_args, $field_group );
|
905 |
$sub_id = $field->id( true );
|
|
|
|
|
|
|
906 |
|
907 |
foreach ( (array) $group_vals as $field_group->index => $post_vals ) {
|
908 |
|
@@ -948,10 +991,10 @@ class CMB2 extends CMB2_Base {
|
|
948 |
// Add to `$saved` array.
|
949 |
$saved[ $field_group->index ][ $sub_id ] = $new_val;
|
950 |
|
951 |
-
}// End foreach
|
952 |
|
953 |
$saved[ $field_group->index ] = CMB2_Utils::filter_empty( $saved[ $field_group->index ] );
|
954 |
-
}// End foreach
|
955 |
|
956 |
$saved = CMB2_Utils::filter_empty( $saved );
|
957 |
|
@@ -980,17 +1023,17 @@ class CMB2 extends CMB2_Base {
|
|
980 |
// Try to get our object ID from the global space.
|
981 |
switch ( $this->object_type() ) {
|
982 |
case 'user':
|
983 |
-
$object_id = isset( $_REQUEST['user_id'] ) ? wp_unslash( $_REQUEST['user_id'] ) : $object_id;
|
984 |
$object_id = ! $object_id && 'user-new.php' !== $pagenow && isset( $GLOBALS['user_ID'] ) ? $GLOBALS['user_ID'] : $object_id;
|
985 |
break;
|
986 |
|
987 |
case 'comment':
|
988 |
-
$object_id = isset( $_REQUEST['c'] ) ? wp_unslash( $_REQUEST['c'] ) : $object_id;
|
989 |
$object_id = ! $object_id && isset( $GLOBALS['comments']->comment_ID ) ? $GLOBALS['comments']->comment_ID : $object_id;
|
990 |
break;
|
991 |
|
992 |
case 'term':
|
993 |
-
$object_id = isset( $_REQUEST['tag_ID'] ) ? wp_unslash( $_REQUEST['tag_ID'] ) : $object_id;
|
994 |
break;
|
995 |
|
996 |
case 'options-page':
|
@@ -1002,7 +1045,7 @@ class CMB2 extends CMB2_Base {
|
|
1002 |
|
1003 |
default:
|
1004 |
$object_id = isset( $GLOBALS['post']->ID ) ? $GLOBALS['post']->ID : $object_id;
|
1005 |
-
$object_id = isset( $_REQUEST['post'] ) ? wp_unslash( $_REQUEST['post'] ) : $object_id;
|
1006 |
break;
|
1007 |
}
|
1008 |
|
@@ -1071,6 +1114,30 @@ class CMB2 extends CMB2_Base {
|
|
1071 |
return CMB2_Utils::ensure_array( $this->prop( 'object_types' ), $fallback );
|
1072 |
}
|
1073 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1074 |
/**
|
1075 |
* Initates the object types and option key for an options page metabox.
|
1076 |
*
|
@@ -1095,7 +1162,7 @@ class CMB2 extends CMB2_Base {
|
|
1095 |
$this->set_prop( 'option_key', $keys );
|
1096 |
|
1097 |
// Reset the object types.
|
1098 |
-
$this->set_prop( 'object_types', array_unique( $types ) )
|
1099 |
}
|
1100 |
|
1101 |
/**
|
@@ -1103,6 +1170,7 @@ class CMB2 extends CMB2_Base {
|
|
1103 |
*
|
1104 |
* @since 2.2.5
|
1105 |
*
|
|
|
1106 |
* @return array
|
1107 |
*/
|
1108 |
protected function deinit_options_mb( $types ) {
|
@@ -1167,11 +1235,11 @@ class CMB2 extends CMB2_Base {
|
|
1167 |
}
|
1168 |
|
1169 |
if ( ! empty( $_GET['page'] ) && in_array( $_GET['page'], $keys ) ) {
|
1170 |
-
$found_key = $_GET['page'];
|
1171 |
}
|
1172 |
|
1173 |
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $keys ) ) {
|
1174 |
-
$found_key = $_POST['action'];
|
1175 |
}
|
1176 |
|
1177 |
return $found_key ? $found_key : false;
|
@@ -1194,8 +1262,8 @@ class CMB2 extends CMB2_Base {
|
|
1194 |
$values = $this->meta_box['show_on']['value'];
|
1195 |
} elseif ( ! empty( $this->meta_box['show_on']['options-page'] ) ) {
|
1196 |
$values = $this->meta_box['show_on']['options-page'];
|
1197 |
-
} elseif ( $this->prop( 'option_key') ) {
|
1198 |
-
$values = $this->prop( 'option_key');
|
1199 |
}
|
1200 |
|
1201 |
if ( $values ) {
|
@@ -1324,7 +1392,7 @@ class CMB2 extends CMB2_Base {
|
|
1324 |
|
1325 |
list( $field_id, $sub_field_id ) = $ids;
|
1326 |
|
1327 |
-
$index =
|
1328 |
|
1329 |
if ( array_key_exists( $index, $this->fields ) && ! $reset_cached ) {
|
1330 |
return $this->fields[ $index ];
|
@@ -1395,7 +1463,7 @@ class CMB2 extends CMB2_Base {
|
|
1395 |
* @since 2.1.0
|
1396 |
* @param array $fields Array of fields to add.
|
1397 |
* @param mixed $parent_field_id Parent field id or null.
|
1398 |
-
|
1399 |
* @return CMB2
|
1400 |
*/
|
1401 |
protected function add_fields( $fields, $parent_field_id = null ) {
|
@@ -1432,7 +1500,56 @@ class CMB2 extends CMB2_Base {
|
|
1432 |
return false;
|
1433 |
}
|
1434 |
|
1435 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1436 |
switch ( $field['type'] ) {
|
1437 |
case 'file':
|
1438 |
case 'file_list':
|
@@ -1442,7 +1559,6 @@ class CMB2 extends CMB2_Base {
|
|
1442 |
break;
|
1443 |
|
1444 |
case 'oembed':
|
1445 |
-
|
1446 |
// Initiate oembed Ajax hooks.
|
1447 |
cmb2_ajax();
|
1448 |
break;
|
@@ -1453,6 +1569,7 @@ class CMB2 extends CMB2_Base {
|
|
1453 |
}
|
1454 |
break;
|
1455 |
case 'colorpicker':
|
|
|
1456 |
// https://github.com/JayWood/CMB2_RGBa_Picker
|
1457 |
// Dequeue the rgba_colorpicker custom field script if it is used,
|
1458 |
// since we now enqueue our own more current version.
|
@@ -1468,13 +1585,7 @@ class CMB2 extends CMB2_Base {
|
|
1468 |
$this->tax_metaboxes_to_remove[ $field['taxonomy'] ] = $field['taxonomy'];
|
1469 |
}
|
1470 |
|
1471 |
-
$
|
1472 |
-
$field,
|
1473 |
-
$this->meta_box['fields'],
|
1474 |
-
$position
|
1475 |
-
);
|
1476 |
-
|
1477 |
-
return $field['id'];
|
1478 |
}
|
1479 |
|
1480 |
/**
|
@@ -1497,39 +1608,6 @@ class CMB2 extends CMB2_Base {
|
|
1497 |
return $field;
|
1498 |
}
|
1499 |
|
1500 |
-
/**
|
1501 |
-
* Add a field to a group
|
1502 |
-
*
|
1503 |
-
* @since 2.0.0
|
1504 |
-
* @param string $parent_field_id The field id of the group field to add the field.
|
1505 |
-
* @param array $field Metabox field config array.
|
1506 |
-
* @param int $position (optional) Position of metabox. 1 for first, etc.
|
1507 |
-
* @return mixed Array of parent/field ids or false.
|
1508 |
-
*/
|
1509 |
-
public function add_group_field( $parent_field_id, array $field, $position = 0 ) {
|
1510 |
-
if ( ! array_key_exists( $parent_field_id, $this->meta_box['fields'] ) ) {
|
1511 |
-
return false;
|
1512 |
-
}
|
1513 |
-
|
1514 |
-
$parent_field = $this->meta_box['fields'][ $parent_field_id ];
|
1515 |
-
|
1516 |
-
if ( 'group' !== $parent_field['type'] ) {
|
1517 |
-
return false;
|
1518 |
-
}
|
1519 |
-
|
1520 |
-
if ( ! isset( $parent_field['fields'] ) ) {
|
1521 |
-
$this->meta_box['fields'][ $parent_field_id ]['fields'] = array();
|
1522 |
-
}
|
1523 |
-
|
1524 |
-
$this->_add_field_to_array(
|
1525 |
-
$field,
|
1526 |
-
$this->meta_box['fields'][ $parent_field_id ]['fields'],
|
1527 |
-
$position
|
1528 |
-
);
|
1529 |
-
|
1530 |
-
return array( $parent_field_id, $field['id'] );
|
1531 |
-
}
|
1532 |
-
|
1533 |
/**
|
1534 |
* Add a field array to a fields array in desired position
|
1535 |
*
|
@@ -1539,6 +1617,8 @@ class CMB2 extends CMB2_Base {
|
|
1539 |
* @param integer $position Optionally specify a position in the array to be inserted.
|
1540 |
*/
|
1541 |
protected function _add_field_to_array( $field, &$fields, $position = 0 ) {
|
|
|
|
|
1542 |
if ( $position ) {
|
1543 |
CMB2_Utils::array_insert( $fields, array( $field['id'] => $field ), $position );
|
1544 |
} else {
|
@@ -1661,8 +1741,8 @@ class CMB2 extends CMB2_Base {
|
|
1661 |
/**
|
1662 |
* Handles metabox property callbacks, and passes this $cmb object as property.
|
1663 |
*
|
1664 |
-
* @since
|
1665 |
-
* @param callable $cb The callback method/function/closure
|
1666 |
* @param mixed $additional_params Any additoinal parameters which should be passed to the callback.
|
1667 |
* @return mixed Return of the callback function.
|
1668 |
*/
|
59 |
* @since 1.0.1
|
60 |
*/
|
61 |
protected $mb_defaults = array(
|
62 |
+
'id' => '',
|
63 |
+
'title' => '',
|
64 |
// Post type slug, or 'user', 'term', 'comment', or 'options-page'.
|
65 |
+
'object_types' => array(),
|
66 |
+
|
67 |
+
/**
|
68 |
+
* The context within the screen where the boxes should display. Available contexts vary
|
69 |
+
* from screen to screen. Post edit screen contexts include 'normal', 'side', and 'advanced'.
|
70 |
+
*
|
71 |
+
* For placement in locations outside of a metabox, other options include:
|
72 |
+
* 'form_top', 'before_permalink', 'after_title', 'after_editor'
|
73 |
+
*
|
74 |
+
* Comments screen contexts include 'normal' and 'side'. Default is 'normal'.
|
75 |
*/
|
76 |
+
'context' => 'normal',
|
77 |
+
'priority' => 'high', // Or 10 for options pages.
|
78 |
+
'show_names' => true, // Show field names on the left.
|
79 |
+
'show_on_cb' => null, // Callback to determine if metabox should display.
|
80 |
+
'show_on' => array(), // Post IDs or page templates to display this metabox. overrides 'show_on_cb'.
|
81 |
+
'cmb_styles' => true, // Include CMB2 stylesheet.
|
82 |
+
'enqueue_js' => true, // Include CMB2 JS.
|
83 |
+
'fields' => array(),
|
84 |
|
85 |
+
/**
|
86 |
* Handles hooking CMB2 forms/metaboxes into the post/attachement/user/options-page screens
|
87 |
+
* and handles hooking in and saving those fields.
|
88 |
*/
|
89 |
+
'hookup' => true,
|
90 |
+
'save_fields' => true, // Will not save during hookup if false.
|
91 |
+
'closed' => false, // Default metabox to being closed.
|
92 |
+
'taxonomies' => array(),
|
93 |
+
'new_user_section' => 'add-new-user', // or 'add-existing-user'.
|
94 |
+
'new_term_section' => true,
|
95 |
+
'show_in_rest' => false,
|
96 |
+
'classes' => null, // Optionally add classes to the CMB2 wrapper.
|
97 |
+
'classes_cb' => '', // Optionally add classes to the CMB2 wrapper (via a callback).
|
98 |
|
99 |
/*
|
100 |
* The following parameter is for post alternate-context metaboxes only.
|
102 |
* To output the fields 'naked' (without a postbox wrapper/style), then
|
103 |
* add a `'remove_box_wrap' => true` to your metabox registration array.
|
104 |
*/
|
105 |
+
'remove_box_wrap' => false,
|
106 |
+
|
107 |
+
/*
|
108 |
+
* The following parameter is any additional arguments passed as $callback_args
|
109 |
+
* to add_meta_box, if/when applicable.
|
110 |
+
*
|
111 |
+
* CMB2 does not use these arguments in the add_meta_box callback, however, these args
|
112 |
+
* are parsed for certain special properties, like determining Gutenberg/block-editor
|
113 |
+
* compatibility.
|
114 |
+
*
|
115 |
+
* Examples:
|
116 |
+
*
|
117 |
+
* - Make sure default editor is used as metabox is not compatible with block editor
|
118 |
+
* [ '__block_editor_compatible_meta_box' => false/true ]
|
119 |
+
*
|
120 |
+
* - Or declare this box exists for backwards compatibility
|
121 |
+
* [ '__back_compat_meta_box' => false ]
|
122 |
+
*
|
123 |
+
* More: https://wordpress.org/gutenberg/handbook/extensibility/meta-box/
|
124 |
+
*/
|
125 |
+
'mb_callback_args' => null,
|
126 |
|
127 |
/*
|
128 |
* The following parameters are for options-page metaboxes,
|
129 |
* and several are passed along to add_menu_page()/add_submenu_page()
|
130 |
*/
|
131 |
|
132 |
+
// 'menu_title' => null, // Falls back to 'title' (above). Do not define here so we can set a fallback.
|
133 |
+
'message_cb' => '', // Optionally define the options-save message (via a callback).
|
134 |
+
'option_key' => '', // The actual option key and admin menu page slug.
|
135 |
+
'parent_slug' => '', // Used as first param in add_submenu_page().
|
136 |
+
'capability' => 'manage_options', // Cap required to view options-page.
|
137 |
+
'icon_url' => '', // Menu icon. Only applicable if 'parent_slug' is left empty.
|
138 |
+
'position' => null, // Menu position. Only applicable if 'parent_slug' is left empty.
|
139 |
+
|
140 |
+
'admin_menu_hook' => 'admin_menu', // Alternately 'network_admin_menu' to add network-level options page.
|
141 |
+
'display_cb' => false, // Override the options-page form output (CMB2_Hookup::options_page_output()).
|
142 |
+
'save_button' => '', // The text for the options-page save button. Defaults to 'Save'.
|
143 |
'disable_settings_errors' => false, // On settings pages (not options-general.php sub-pages), allows disabling.
|
144 |
+
'tab_group' => '', // Tab-group identifier, enables options page tab navigation.
|
145 |
+
// 'tab_title' => null, // Falls back to 'title' (above). Do not define here so we can set a fallback.
|
146 |
+
// 'autoload' => true, // Defaults to true, the options-page option will be autloaded.
|
147 |
);
|
148 |
|
149 |
/**
|
204 |
$this->meta_box['fields'] = array();
|
205 |
|
206 |
// Ensures object_types is an array.
|
207 |
+
$this->set_prop( 'object_types', $this->box_types() );
|
208 |
$this->object_id( $object_id );
|
209 |
|
210 |
if ( $this->is_options_page_mb() ) {
|
211 |
+
|
212 |
+
// Check initial priority.
|
213 |
+
if ( empty( $config['priority'] ) ) {
|
214 |
+
|
215 |
+
// If not explicitly defined, Reset the priority to 10
|
216 |
+
// Fixes https://github.com/CMB2/CMB2/issues/1410.
|
217 |
+
$this->meta_box['priority'] = 10;
|
218 |
+
}
|
219 |
+
|
220 |
$this->init_options_mb();
|
221 |
}
|
222 |
|
238 |
do_action( "cmb2_init_{$this->cmb_id}", $this );
|
239 |
|
240 |
// Hook in the hookup... how meta.
|
241 |
+
add_action( "cmb2_init_hookup_{$this->cmb_id}", array( 'CMB2_Hookup', 'maybe_init_and_hookup' ) );
|
242 |
|
243 |
// Hook in the rest api functionality.
|
244 |
add_action( "cmb2_init_hookup_{$this->cmb_id}", array( 'CMB2_REST', 'maybe_init_and_hookup' ) );
|
287 |
* @param array $cmb_id The current box ID.
|
288 |
* @param int $object_id The ID of the current object.
|
289 |
* @param string $object_type The type of object you are working with.
|
290 |
+
* Usually `post` (this applies to all post-types).
|
291 |
+
* Could also be `comment`, `user` or `options-page`.
|
292 |
* @param array $cmb This CMB2 object.
|
293 |
*/
|
294 |
do_action( 'cmb2_before_form', $this->cmb_id, $object_id, $object_type, $this );
|
370 |
*/
|
371 |
$classes = apply_filters( 'cmb2_wrap_classes', $classes, $this );
|
372 |
|
373 |
+
$split = array();
|
374 |
+
foreach ( array_filter( $classes ) as $class ) {
|
375 |
+
foreach ( explode( ' ', $class ) as $_class ) {
|
376 |
+
// Clean up & sanitize.
|
377 |
+
$split[] = sanitize_html_class( strip_tags( $_class ) );
|
378 |
+
}
|
379 |
+
}
|
380 |
+
$classes = $split;
|
381 |
|
382 |
// Remove any duplicates.
|
383 |
$classes = array_unique( $classes );
|
384 |
|
385 |
+
// Make it a string.
|
386 |
return implode( ' ', $classes );
|
387 |
}
|
388 |
|
424 |
* @param array $cmb_id The current box ID.
|
425 |
* @param int $object_id The ID of the current object.
|
426 |
* @param string $object_type The type of object you are working with.
|
427 |
+
* Usually `post` (this applies to all post-types).
|
428 |
+
* Could also be `comment`, `user` or `options-page`.
|
429 |
* @param array $cmb This CMB2 object.
|
430 |
*/
|
431 |
do_action( 'cmb2_after_form', $this->cmb_id, $object_id, $object_type, $this );
|
476 |
public function render_group( $args ) {
|
477 |
$field_group = false;
|
478 |
|
479 |
+
if ( $args instanceof CMB2_Field ) {
|
480 |
$field_group = 'group' === $args->type() ? $args : false;
|
481 |
} elseif ( isset( $args['id'], $args['fields'] ) && is_array( $args['fields'] ) ) {
|
482 |
$field_group = $this->get_field( $args );
|
576 |
* @since 2.2.2
|
577 |
*
|
578 |
* @param string $group_wrap_attributes Current attributes array.
|
|
|
579 |
* @param CMB2_Field $field_group The group CMB2_Field object.
|
580 |
*/
|
581 |
$group_wrap_attributes = apply_filters( 'cmb2_group_wrap_attributes', $group_wrap_attributes, $field_group );
|
586 |
$att_value = htmlspecialchars( $att_value );
|
587 |
}
|
588 |
|
589 |
+
$atts[ sanitize_html_class( $att ) ] = sanitize_text_field( $att_value );
|
590 |
}
|
591 |
|
592 |
return CMB2_Utils::concat_attrs( $atts );
|
603 |
public function render_group_row( $field_group ) {
|
604 |
|
605 |
$field_group->peform_param_callback( 'before_group_row' );
|
606 |
+
$closed_class = $field_group->options( 'closed' ) ? ' closed' : '';
|
607 |
+
$confirm_deletion = $field_group->options( 'remove_confirm' );
|
608 |
+
$confirm_deletion = ! empty( $confirm_deletion ) ? $confirm_deletion : '';
|
609 |
|
610 |
echo '
|
611 |
+
<div id="cmb-group-', $field_group->id(), '-', $field_group->index, '" class="postbox cmb-row cmb-repeatable-grouping', $closed_class, '" data-iterator="', $field_group->index, '">';
|
612 |
|
613 |
if ( $field_group->args( 'repeatable' ) ) {
|
614 |
+
echo '<button type="button" data-selector="', $field_group->id(), '_repeat" data-confirm="', esc_attr( $confirm_deletion ), '" class="dashicons-before dashicons-no-alt cmb-remove-group-row" title="', esc_attr( $field_group->options( 'remove_button' ) ), '"></button>';
|
615 |
}
|
616 |
|
617 |
echo '
|
634 |
$this->get_field( $field_args, $field_group )->render_field();
|
635 |
}
|
636 |
}
|
637 |
+
|
638 |
if ( $field_group->args( 'repeatable' ) ) {
|
639 |
echo '
|
640 |
<div class="cmb-row cmb-remove-field-row">
|
641 |
<div class="cmb-remove-row">
|
642 |
+
<button type="button" data-selector="', $field_group->id(), '_repeat" data-confirm="', esc_attr( $confirm_deletion ), '" class="cmb-remove-group-row cmb-remove-group-row-button alignright button-secondary">', $field_group->options( 'remove_button' ), '</button>
|
643 |
</div>
|
644 |
</div>
|
645 |
';
|
655 |
}
|
656 |
|
657 |
/**
|
658 |
+
* Add a hidden field to the list of hidden fields to be rendered later.
|
659 |
*
|
660 |
* @since 2.0.0
|
661 |
+
*
|
662 |
* @param array $field_args Array of field arguments to be passed to CMB2_Field.
|
663 |
* @param CMB2_Field|null $field_group CMB2_Field group field object.
|
664 |
+
* @return CMB2_Field
|
665 |
*/
|
666 |
public function add_hidden_field( $field_args, $field_group = null ) {
|
667 |
if ( isset( $field_args['field_args'] ) ) {
|
704 |
*
|
705 |
* @since 2.0.3
|
706 |
* @param array $data_to_sanitize Array of field_id => value data for sanitizing (likely $_POST data).
|
707 |
+
* @return mixed
|
708 |
*/
|
709 |
public function get_sanitized_values( array $data_to_sanitize ) {
|
710 |
$this->data_to_save = $data_to_sanitize;
|
827 |
/**
|
828 |
* Fires the "cmb2_{$object_type}_process_fields_{$cmb_id}" action hook.
|
829 |
*
|
830 |
+
* @since 2.2.2
|
831 |
*
|
832 |
* @return CMB2
|
833 |
*/
|
868 |
* Fires after all fields have been saved.
|
869 |
*
|
870 |
* The dynamic portion of the hook name, $object_type, refers to the metabox/form's object type
|
871 |
+
* Usually `post` (this applies to all post-types).
|
872 |
+
* Could also be `comment`, `user` or `options-page`.
|
873 |
*
|
874 |
* @param int $object_id The ID of the current object
|
875 |
* @param array $cmb_id The current box ID
|
885 |
* The dynamic portion of the hook name, $this->cmb_id, is the meta_box id.
|
886 |
*
|
887 |
* The dynamic portion of the hook name, $object_type, refers to the metabox/form's object type
|
888 |
+
* Usually `post` (this applies to all post-types).
|
889 |
+
* Could also be `comment`, `user` or `options-page`.
|
890 |
*
|
891 |
* @param int $object_id The ID of the current object
|
892 |
* @param string $updated Array of field ids that were updated.
|
943 |
|
944 |
$field = $this->get_new_field( $field_args, $field_group );
|
945 |
$sub_id = $field->id( true );
|
946 |
+
if ( empty( $saved[ $field_group->index ] ) ) {
|
947 |
+
$saved[ $field_group->index ] = array();
|
948 |
+
}
|
949 |
|
950 |
foreach ( (array) $group_vals as $field_group->index => $post_vals ) {
|
951 |
|
991 |
// Add to `$saved` array.
|
992 |
$saved[ $field_group->index ][ $sub_id ] = $new_val;
|
993 |
|
994 |
+
}// End foreach.
|
995 |
|
996 |
$saved[ $field_group->index ] = CMB2_Utils::filter_empty( $saved[ $field_group->index ] );
|
997 |
+
}// End foreach.
|
998 |
|
999 |
$saved = CMB2_Utils::filter_empty( $saved );
|
1000 |
|
1023 |
// Try to get our object ID from the global space.
|
1024 |
switch ( $this->object_type() ) {
|
1025 |
case 'user':
|
1026 |
+
$object_id = isset( $_REQUEST['user_id'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['user_id'] ) ) : $object_id;
|
1027 |
$object_id = ! $object_id && 'user-new.php' !== $pagenow && isset( $GLOBALS['user_ID'] ) ? $GLOBALS['user_ID'] : $object_id;
|
1028 |
break;
|
1029 |
|
1030 |
case 'comment':
|
1031 |
+
$object_id = isset( $_REQUEST['c'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['c'] ) ) : $object_id;
|
1032 |
$object_id = ! $object_id && isset( $GLOBALS['comments']->comment_ID ) ? $GLOBALS['comments']->comment_ID : $object_id;
|
1033 |
break;
|
1034 |
|
1035 |
case 'term':
|
1036 |
+
$object_id = isset( $_REQUEST['tag_ID'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['tag_ID'] ) ) : $object_id;
|
1037 |
break;
|
1038 |
|
1039 |
case 'options-page':
|
1045 |
|
1046 |
default:
|
1047 |
$object_id = isset( $GLOBALS['post']->ID ) ? $GLOBALS['post']->ID : $object_id;
|
1048 |
+
$object_id = isset( $_REQUEST['post'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['post'] ) ) : $object_id;
|
1049 |
break;
|
1050 |
}
|
1051 |
|
1114 |
return CMB2_Utils::ensure_array( $this->prop( 'object_types' ), $fallback );
|
1115 |
}
|
1116 |
|
1117 |
+
/**
|
1118 |
+
* Check if given object_type(s) matches any of the registered object types or
|
1119 |
+
* taxonomies for this box.
|
1120 |
+
*
|
1121 |
+
* @since 2.7.0
|
1122 |
+
* @param string|array $object_types The object type(s) to check.
|
1123 |
+
* @param array $fallback Fallback object_types value.
|
1124 |
+
*
|
1125 |
+
* @return bool Whether given object type(s) are registered to this box.
|
1126 |
+
*/
|
1127 |
+
public function is_box_type( $object_types = array(), $fallback = array() ) {
|
1128 |
+
$object_types = (array) $object_types;
|
1129 |
+
$box_types = $this->box_types( $fallback );
|
1130 |
+
|
1131 |
+
if ( in_array( 'term', $box_types, true ) ) {
|
1132 |
+
$taxonomies = CMB2_Utils::ensure_array( $this->prop( 'taxonomies' ) );
|
1133 |
+
$box_types = array_merge( $box_types, $taxonomies );
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
$found = array_intersect( $object_types, $box_types );
|
1137 |
+
|
1138 |
+
return ! empty( $found );
|
1139 |
+
}
|
1140 |
+
|
1141 |
/**
|
1142 |
* Initates the object types and option key for an options page metabox.
|
1143 |
*
|
1162 |
$this->set_prop( 'option_key', $keys );
|
1163 |
|
1164 |
// Reset the object types.
|
1165 |
+
$this->set_prop( 'object_types', array_unique( $types ) );
|
1166 |
}
|
1167 |
|
1168 |
/**
|
1170 |
*
|
1171 |
* @since 2.2.5
|
1172 |
*
|
1173 |
+
* @param array $types Array of types.
|
1174 |
* @return array
|
1175 |
*/
|
1176 |
protected function deinit_options_mb( $types ) {
|
1235 |
}
|
1236 |
|
1237 |
if ( ! empty( $_GET['page'] ) && in_array( $_GET['page'], $keys ) ) {
|
1238 |
+
$found_key = sanitize_text_field( $_GET['page'] );
|
1239 |
}
|
1240 |
|
1241 |
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $keys ) ) {
|
1242 |
+
$found_key = sanitize_text_field( $_POST['action'] );
|
1243 |
}
|
1244 |
|
1245 |
return $found_key ? $found_key : false;
|
1262 |
$values = $this->meta_box['show_on']['value'];
|
1263 |
} elseif ( ! empty( $this->meta_box['show_on']['options-page'] ) ) {
|
1264 |
$values = $this->meta_box['show_on']['options-page'];
|
1265 |
+
} elseif ( $this->prop( 'option_key' ) ) {
|
1266 |
+
$values = $this->prop( 'option_key' );
|
1267 |
}
|
1268 |
|
1269 |
if ( $values ) {
|
1392 |
|
1393 |
list( $field_id, $sub_field_id ) = $ids;
|
1394 |
|
1395 |
+
$index = $field_id . ( $sub_field_id ? '|' . $sub_field_id : '' ) . ( $field_group ? '|' . $field_group->index : '' );
|
1396 |
|
1397 |
if ( array_key_exists( $index, $this->fields ) && ! $reset_cached ) {
|
1398 |
return $this->fields[ $index ];
|
1463 |
* @since 2.1.0
|
1464 |
* @param array $fields Array of fields to add.
|
1465 |
* @param mixed $parent_field_id Parent field id or null.
|
1466 |
+
*
|
1467 |
* @return CMB2
|
1468 |
*/
|
1469 |
protected function add_fields( $fields, $parent_field_id = null ) {
|
1500 |
return false;
|
1501 |
}
|
1502 |
|
1503 |
+
$this->_add_field_to_array(
|
1504 |
+
$field,
|
1505 |
+
$this->meta_box['fields'],
|
1506 |
+
$position
|
1507 |
+
);
|
1508 |
+
|
1509 |
+
return $field['id'];
|
1510 |
+
}
|
1511 |
+
|
1512 |
+
/**
|
1513 |
+
* Add a field to a group
|
1514 |
+
*
|
1515 |
+
* @since 2.0.0
|
1516 |
+
* @param string $parent_field_id The field id of the group field to add the field.
|
1517 |
+
* @param array $field Metabox field config array.
|
1518 |
+
* @param int $position (optional) Position of metabox. 1 for first, etc.
|
1519 |
+
* @return mixed Array of parent/field ids or false.
|
1520 |
+
*/
|
1521 |
+
public function add_group_field( $parent_field_id, array $field, $position = 0 ) {
|
1522 |
+
if ( ! array_key_exists( $parent_field_id, $this->meta_box['fields'] ) ) {
|
1523 |
+
return false;
|
1524 |
+
}
|
1525 |
+
|
1526 |
+
$parent_field = $this->meta_box['fields'][ $parent_field_id ];
|
1527 |
+
|
1528 |
+
if ( 'group' !== $parent_field['type'] ) {
|
1529 |
+
return false;
|
1530 |
+
}
|
1531 |
+
|
1532 |
+
if ( ! isset( $parent_field['fields'] ) ) {
|
1533 |
+
$this->meta_box['fields'][ $parent_field_id ]['fields'] = array();
|
1534 |
+
}
|
1535 |
+
|
1536 |
+
$this->_add_field_to_array(
|
1537 |
+
$field,
|
1538 |
+
$this->meta_box['fields'][ $parent_field_id ]['fields'],
|
1539 |
+
$position
|
1540 |
+
);
|
1541 |
+
|
1542 |
+
return array( $parent_field_id, $field['id'] );
|
1543 |
+
}
|
1544 |
+
|
1545 |
+
/**
|
1546 |
+
* Perform some field-type-specific initiation actions.
|
1547 |
+
*
|
1548 |
+
* @since 2.7.0
|
1549 |
+
* @param array $field Metabox field config array.
|
1550 |
+
* @return void
|
1551 |
+
*/
|
1552 |
+
protected function field_actions( $field ) {
|
1553 |
switch ( $field['type'] ) {
|
1554 |
case 'file':
|
1555 |
case 'file_list':
|
1559 |
break;
|
1560 |
|
1561 |
case 'oembed':
|
|
|
1562 |
// Initiate oembed Ajax hooks.
|
1563 |
cmb2_ajax();
|
1564 |
break;
|
1569 |
}
|
1570 |
break;
|
1571 |
case 'colorpicker':
|
1572 |
+
|
1573 |
// https://github.com/JayWood/CMB2_RGBa_Picker
|
1574 |
// Dequeue the rgba_colorpicker custom field script if it is used,
|
1575 |
// since we now enqueue our own more current version.
|
1585 |
$this->tax_metaboxes_to_remove[ $field['taxonomy'] ] = $field['taxonomy'];
|
1586 |
}
|
1587 |
|
1588 |
+
return $field;
|
|
|
|
|
|
|
|
|
|
|
|
|
1589 |
}
|
1590 |
|
1591 |
/**
|
1608 |
return $field;
|
1609 |
}
|
1610 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1611 |
/**
|
1612 |
* Add a field array to a fields array in desired position
|
1613 |
*
|
1617 |
* @param integer $position Optionally specify a position in the array to be inserted.
|
1618 |
*/
|
1619 |
protected function _add_field_to_array( $field, &$fields, $position = 0 ) {
|
1620 |
+
$field = $this->field_actions( $field );
|
1621 |
+
|
1622 |
if ( $position ) {
|
1623 |
CMB2_Utils::array_insert( $fields, array( $field['id'] => $field ), $position );
|
1624 |
} else {
|
1741 |
/**
|
1742 |
* Handles metabox property callbacks, and passes this $cmb object as property.
|
1743 |
*
|
1744 |
+
* @since 2.2.3
|
1745 |
+
* @param callable $cb The callback method/function/closure.
|
1746 |
* @param mixed $additional_params Any additoinal parameters which should be passed to the callback.
|
1747 |
* @return mixed Return of the callback function.
|
1748 |
*/
|
includes/lib/cmb2/includes/CMB2_Ajax.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
*/
|
14 |
class CMB2_Ajax {
|
15 |
|
16 |
-
// Whether to hijack the oembed cache system
|
17 |
protected $hijack = false;
|
18 |
protected $object_id = 0;
|
19 |
protected $embed_args = array();
|
@@ -21,7 +21,7 @@ class CMB2_Ajax {
|
|
21 |
protected $ajax_update = false;
|
22 |
|
23 |
/**
|
24 |
-
* Instance of this class
|
25 |
*
|
26 |
* @since 2.2.2
|
27 |
* @var object
|
@@ -29,7 +29,7 @@ class CMB2_Ajax {
|
|
29 |
protected static $instance;
|
30 |
|
31 |
/**
|
32 |
-
* Get the singleton instance of this class
|
33 |
*
|
34 |
* @since 2.2.2
|
35 |
* @return CMB2_Ajax
|
@@ -58,37 +58,37 @@ class CMB2_Ajax {
|
|
58 |
* Handles our oEmbed ajax request
|
59 |
*
|
60 |
* @since 0.9.5
|
61 |
-
* @return
|
62 |
*/
|
63 |
public function oembed_handler() {
|
64 |
|
65 |
-
// Verify our nonce
|
66 |
if ( ! ( isset( $_REQUEST['cmb2_ajax_nonce'], $_REQUEST['oembed_url'] ) && wp_verify_nonce( $_REQUEST['cmb2_ajax_nonce'], 'ajax_nonce' ) ) ) {
|
67 |
die();
|
68 |
}
|
69 |
|
70 |
-
// Sanitize our search string
|
71 |
$oembed_string = sanitize_text_field( $_REQUEST['oembed_url'] );
|
72 |
|
73 |
-
// Send back error if empty
|
74 |
if ( empty( $oembed_string ) ) {
|
75 |
wp_send_json_error( '<p class="ui-state-error-text">' . esc_html__( 'Please Try Again', 'cmb2' ) . '</p>' );
|
76 |
}
|
77 |
|
78 |
-
// Set width of embed
|
79 |
$embed_width = isset( $_REQUEST['oembed_width'] ) && intval( $_REQUEST['oembed_width'] ) < 640 ? intval( $_REQUEST['oembed_width'] ) : '640';
|
80 |
|
81 |
-
// Set url
|
82 |
$oembed_url = esc_url( $oembed_string );
|
83 |
|
84 |
-
// Set args
|
85 |
$embed_args = array(
|
86 |
'width' => $embed_width,
|
87 |
);
|
88 |
|
89 |
$this->ajax_update = true;
|
90 |
|
91 |
-
// Get embed code (or fallback link)
|
92 |
$html = $this->get_oembed( array(
|
93 |
'url' => $oembed_url,
|
94 |
'object_id' => $_REQUEST['object_id'],
|
@@ -104,15 +104,15 @@ class CMB2_Ajax {
|
|
104 |
* Retrieves oEmbed from url/object ID
|
105 |
*
|
106 |
* @since 0.9.5
|
107 |
-
* @param array $args
|
108 |
-
* @return
|
109 |
*/
|
110 |
public function get_oembed_no_edit( $args ) {
|
111 |
global $wp_embed;
|
112 |
|
113 |
$oembed_url = esc_url( $args['url'] );
|
114 |
|
115 |
-
// Sanitize object_id
|
116 |
$this->object_id = is_numeric( $args['object_id'] ) ? absint( $args['object_id'] ) : sanitize_text_field( $args['object_id'] );
|
117 |
|
118 |
$args = wp_parse_args( $args, array(
|
@@ -130,7 +130,7 @@ class CMB2_Ajax {
|
|
130 |
*/
|
131 |
$wp_embed->post_ID = $this->object_id;
|
132 |
|
133 |
-
// Special scenario if NOT a post object
|
134 |
if ( isset( $args['object_type'] ) && 'post' != $args['object_type'] ) {
|
135 |
|
136 |
if ( 'options-page' == $args['object_type'] ) {
|
@@ -139,14 +139,14 @@ class CMB2_Ajax {
|
|
139 |
$wp_embed->post_ID = 1987645321;
|
140 |
}
|
141 |
|
142 |
-
// Ok, we need to hijack the oembed cache system
|
143 |
$this->hijack = true;
|
144 |
$this->object_type = $args['object_type'];
|
145 |
|
146 |
-
// Gets ombed cache from our object's meta (vs postmeta)
|
147 |
add_filter( 'get_post_metadata', array( $this, 'hijack_oembed_cache_get' ), 10, 3 );
|
148 |
|
149 |
-
// Sets ombed cache in our object's meta (vs postmeta)
|
150 |
add_filter( 'update_post_metadata', array( $this, 'hijack_oembed_cache_set' ), 10, 4 );
|
151 |
|
152 |
}
|
@@ -157,10 +157,10 @@ class CMB2_Ajax {
|
|
157 |
$embed_args .= " $key=\"$val\"";
|
158 |
}
|
159 |
|
160 |
-
// Ping WordPress for an embed
|
161 |
$embed = $wp_embed->run_shortcode( '[embed' . $embed_args . ']' . $oembed_url . '[/embed]' );
|
162 |
|
163 |
-
// Fallback that WordPress creates when no oEmbed was found
|
164 |
$fallback = $wp_embed->maybe_make_link( $oembed_url );
|
165 |
|
166 |
return compact( 'embed', 'fallback', 'args' );
|
@@ -170,25 +170,25 @@ class CMB2_Ajax {
|
|
170 |
* Retrieves oEmbed from url/object ID
|
171 |
*
|
172 |
* @since 0.9.5
|
173 |
-
* @param array $args
|
174 |
-
* @return string
|
175 |
*/
|
176 |
public function get_oembed( $args ) {
|
177 |
$oembed = $this->get_oembed_no_edit( $args );
|
178 |
|
179 |
-
// Send back our embed
|
180 |
if ( $oembed['embed'] && $oembed['embed'] != $oembed['fallback'] ) {
|
181 |
return '<div class="cmb2-oembed embed-status">' . $oembed['embed'] . '<p class="cmb2-remove-wrapper"><a href="#" class="cmb2-remove-file-button" rel="' . $oembed['args']['field_id'] . '">' . esc_html__( 'Remove Embed', 'cmb2' ) . '</a></p></div>';
|
182 |
}
|
183 |
|
184 |
-
// Otherwise, send back error info that no oEmbeds were found
|
185 |
return sprintf(
|
186 |
'<p class="ui-state-error-text">%s</p>',
|
187 |
sprintf(
|
188 |
/* translators: 1: results for. 2: link to codex.wordpress.org/Embeds */
|
189 |
esc_html__( 'No oEmbed Results Found for %1$s. View more info at %2$s.', 'cmb2' ),
|
190 |
$oembed['fallback'],
|
191 |
-
'<a href="https://
|
192 |
)
|
193 |
);
|
194 |
}
|
@@ -198,10 +198,10 @@ class CMB2_Ajax {
|
|
198 |
* Returns cached data from relevant object metadata (vs postmeta)
|
199 |
*
|
200 |
* @since 0.9.5
|
201 |
-
* @param boolean $check Whether to retrieve postmeta or override
|
202 |
-
* @param int $object_id Object ID
|
203 |
-
* @param string $meta_key Object metakey
|
204 |
-
* @return mixed Object's oEmbed cached data
|
205 |
*/
|
206 |
public function hijack_oembed_cache_get( $check, $object_id, $meta_key ) {
|
207 |
if ( ! $this->hijack || ( $this->object_id != $object_id && 1987645321 !== $object_id ) ) {
|
@@ -220,18 +220,18 @@ class CMB2_Ajax {
|
|
220 |
* Saves cached data to relevant object metadata (vs postmeta)
|
221 |
*
|
222 |
* @since 0.9.5
|
223 |
-
* @param boolean $check Whether to continue setting postmeta
|
224 |
-
* @param int $object_id Object ID to get postmeta from
|
225 |
-
* @param string $meta_key Postmeta's key
|
226 |
-
* @param mixed $meta_value Value of the postmeta to be saved
|
227 |
-
* @return boolean Whether to continue setting
|
228 |
*/
|
229 |
public function hijack_oembed_cache_set( $check, $object_id, $meta_key, $meta_value ) {
|
230 |
|
231 |
if (
|
232 |
! $this->hijack
|
233 |
|| ( $this->object_id != $object_id && 1987645321 !== $object_id )
|
234 |
-
//
|
235 |
|| 0 !== strpos( $meta_key, '_oembed_' )
|
236 |
) {
|
237 |
return $check;
|
@@ -239,15 +239,17 @@ class CMB2_Ajax {
|
|
239 |
|
240 |
$this->cache_action( $meta_key, $meta_value );
|
241 |
|
242 |
-
// Anything other than `null` to cancel saving to postmeta
|
243 |
return true;
|
244 |
}
|
245 |
|
246 |
/**
|
247 |
-
* Gets/updates the cached oEmbed value from/to relevant object metadata (vs postmeta)
|
248 |
*
|
249 |
* @since 1.3.0
|
250 |
-
*
|
|
|
|
|
251 |
*/
|
252 |
protected function cache_action( $meta_key ) {
|
253 |
$func_args = func_get_args();
|
@@ -262,14 +264,14 @@ class CMB2_Ajax {
|
|
262 |
$args[] = true;
|
263 |
}
|
264 |
|
265 |
-
// Cache the result to our options
|
266 |
$status = call_user_func_array( array( cmb2_options( $this->object_id ), $action ), $args );
|
267 |
} else {
|
268 |
|
269 |
$args = array( $this->object_type, $this->object_id, $meta_key );
|
270 |
$args[] = 'update' === $action ? $func_args[1] : true;
|
271 |
|
272 |
-
// Cache the result to our metadata
|
273 |
$status = call_user_func_array( $action . '_metadata', $args );
|
274 |
}
|
275 |
|
@@ -281,7 +283,7 @@ class CMB2_Ajax {
|
|
281 |
* oembed cache data from the option value.
|
282 |
*
|
283 |
* @since 2.2.0
|
284 |
-
* @param string $option_key The options-page option key
|
285 |
* @return void
|
286 |
*/
|
287 |
public static function clean_stale_options_page_oembeds( $option_key ) {
|
@@ -293,7 +295,7 @@ class CMB2_Ajax {
|
|
293 |
$now = time();
|
294 |
|
295 |
foreach ( $options as $key => $value ) {
|
296 |
-
// Check for cached oembed data
|
297 |
if ( 0 === strpos( $key, '_oembed_time_' ) ) {
|
298 |
$cached_recently = ( $now - $value ) < $ttl;
|
299 |
|
@@ -303,7 +305,7 @@ class CMB2_Ajax {
|
|
303 |
unset( $options[ $key ] );
|
304 |
unset( $options[ str_replace( '_oembed_time_', '_oembed_', $key ) ] );
|
305 |
}
|
306 |
-
} // End if
|
307 |
// Remove the cached unknown values.
|
308 |
elseif ( '{{unknown}}' === $value ) {
|
309 |
$modified = true;
|
@@ -312,7 +314,7 @@ class CMB2_Ajax {
|
|
312 |
}
|
313 |
}
|
314 |
|
315 |
-
// Update the option and remove stale cache data
|
316 |
if ( $modified ) {
|
317 |
$updated = cmb2_options( $option_key )->set( $options );
|
318 |
}
|
13 |
*/
|
14 |
class CMB2_Ajax {
|
15 |
|
16 |
+
// Whether to hijack the oembed cache system.
|
17 |
protected $hijack = false;
|
18 |
protected $object_id = 0;
|
19 |
protected $embed_args = array();
|
21 |
protected $ajax_update = false;
|
22 |
|
23 |
/**
|
24 |
+
* Instance of this class.
|
25 |
*
|
26 |
* @since 2.2.2
|
27 |
* @var object
|
29 |
protected static $instance;
|
30 |
|
31 |
/**
|
32 |
+
* Get the singleton instance of this class.
|
33 |
*
|
34 |
* @since 2.2.2
|
35 |
* @return CMB2_Ajax
|
58 |
* Handles our oEmbed ajax request
|
59 |
*
|
60 |
* @since 0.9.5
|
61 |
+
* @return mixed oEmbed embed code | fallback | error message
|
62 |
*/
|
63 |
public function oembed_handler() {
|
64 |
|
65 |
+
// Verify our nonce.
|
66 |
if ( ! ( isset( $_REQUEST['cmb2_ajax_nonce'], $_REQUEST['oembed_url'] ) && wp_verify_nonce( $_REQUEST['cmb2_ajax_nonce'], 'ajax_nonce' ) ) ) {
|
67 |
die();
|
68 |
}
|
69 |
|
70 |
+
// Sanitize our search string.
|
71 |
$oembed_string = sanitize_text_field( $_REQUEST['oembed_url'] );
|
72 |
|
73 |
+
// Send back error if empty.
|
74 |
if ( empty( $oembed_string ) ) {
|
75 |
wp_send_json_error( '<p class="ui-state-error-text">' . esc_html__( 'Please Try Again', 'cmb2' ) . '</p>' );
|
76 |
}
|
77 |
|
78 |
+
// Set width of embed.
|
79 |
$embed_width = isset( $_REQUEST['oembed_width'] ) && intval( $_REQUEST['oembed_width'] ) < 640 ? intval( $_REQUEST['oembed_width'] ) : '640';
|
80 |
|
81 |
+
// Set url.
|
82 |
$oembed_url = esc_url( $oembed_string );
|
83 |
|
84 |
+
// Set args.
|
85 |
$embed_args = array(
|
86 |
'width' => $embed_width,
|
87 |
);
|
88 |
|
89 |
$this->ajax_update = true;
|
90 |
|
91 |
+
// Get embed code (or fallback link).
|
92 |
$html = $this->get_oembed( array(
|
93 |
'url' => $oembed_url,
|
94 |
'object_id' => $_REQUEST['object_id'],
|
104 |
* Retrieves oEmbed from url/object ID
|
105 |
*
|
106 |
* @since 0.9.5
|
107 |
+
* @param array $args Arguments for method.
|
108 |
+
* @return mixed HTML markup with embed or fallback.
|
109 |
*/
|
110 |
public function get_oembed_no_edit( $args ) {
|
111 |
global $wp_embed;
|
112 |
|
113 |
$oembed_url = esc_url( $args['url'] );
|
114 |
|
115 |
+
// Sanitize object_id.
|
116 |
$this->object_id = is_numeric( $args['object_id'] ) ? absint( $args['object_id'] ) : sanitize_text_field( $args['object_id'] );
|
117 |
|
118 |
$args = wp_parse_args( $args, array(
|
130 |
*/
|
131 |
$wp_embed->post_ID = $this->object_id;
|
132 |
|
133 |
+
// Special scenario if NOT a post object.
|
134 |
if ( isset( $args['object_type'] ) && 'post' != $args['object_type'] ) {
|
135 |
|
136 |
if ( 'options-page' == $args['object_type'] ) {
|
139 |
$wp_embed->post_ID = 1987645321;
|
140 |
}
|
141 |
|
142 |
+
// Ok, we need to hijack the oembed cache system.
|
143 |
$this->hijack = true;
|
144 |
$this->object_type = $args['object_type'];
|
145 |
|
146 |
+
// Gets ombed cache from our object's meta (vs postmeta).
|
147 |
add_filter( 'get_post_metadata', array( $this, 'hijack_oembed_cache_get' ), 10, 3 );
|
148 |
|
149 |
+
// Sets ombed cache in our object's meta (vs postmeta).
|
150 |
add_filter( 'update_post_metadata', array( $this, 'hijack_oembed_cache_set' ), 10, 4 );
|
151 |
|
152 |
}
|
157 |
$embed_args .= " $key=\"$val\"";
|
158 |
}
|
159 |
|
160 |
+
// Ping WordPress for an embed.
|
161 |
$embed = $wp_embed->run_shortcode( '[embed' . $embed_args . ']' . $oembed_url . '[/embed]' );
|
162 |
|
163 |
+
// Fallback that WordPress creates when no oEmbed was found.
|
164 |
$fallback = $wp_embed->maybe_make_link( $oembed_url );
|
165 |
|
166 |
return compact( 'embed', 'fallback', 'args' );
|
170 |
* Retrieves oEmbed from url/object ID
|
171 |
*
|
172 |
* @since 0.9.5
|
173 |
+
* @param array $args Arguments for method.
|
174 |
+
* @return string HTML markup with embed or fallback.
|
175 |
*/
|
176 |
public function get_oembed( $args ) {
|
177 |
$oembed = $this->get_oembed_no_edit( $args );
|
178 |
|
179 |
+
// Send back our embed.
|
180 |
if ( $oembed['embed'] && $oembed['embed'] != $oembed['fallback'] ) {
|
181 |
return '<div class="cmb2-oembed embed-status">' . $oembed['embed'] . '<p class="cmb2-remove-wrapper"><a href="#" class="cmb2-remove-file-button" rel="' . $oembed['args']['field_id'] . '">' . esc_html__( 'Remove Embed', 'cmb2' ) . '</a></p></div>';
|
182 |
}
|
183 |
|
184 |
+
// Otherwise, send back error info that no oEmbeds were found.
|
185 |
return sprintf(
|
186 |
'<p class="ui-state-error-text">%s</p>',
|
187 |
sprintf(
|
188 |
/* translators: 1: results for. 2: link to codex.wordpress.org/Embeds */
|
189 |
esc_html__( 'No oEmbed Results Found for %1$s. View more info at %2$s.', 'cmb2' ),
|
190 |
$oembed['fallback'],
|
191 |
+
'<a href="https://wordpress.org/support/article/embeds/" target="_blank">codex.wordpress.org/Embeds</a>'
|
192 |
)
|
193 |
);
|
194 |
}
|
198 |
* Returns cached data from relevant object metadata (vs postmeta)
|
199 |
*
|
200 |
* @since 0.9.5
|
201 |
+
* @param boolean $check Whether to retrieve postmeta or override.
|
202 |
+
* @param int $object_id Object ID.
|
203 |
+
* @param string $meta_key Object metakey.
|
204 |
+
* @return mixed Object's oEmbed cached data.
|
205 |
*/
|
206 |
public function hijack_oembed_cache_get( $check, $object_id, $meta_key ) {
|
207 |
if ( ! $this->hijack || ( $this->object_id != $object_id && 1987645321 !== $object_id ) ) {
|
220 |
* Saves cached data to relevant object metadata (vs postmeta)
|
221 |
*
|
222 |
* @since 0.9.5
|
223 |
+
* @param boolean $check Whether to continue setting postmeta.
|
224 |
+
* @param int $object_id Object ID to get postmeta from.
|
225 |
+
* @param string $meta_key Postmeta's key.
|
226 |
+
* @param mixed $meta_value Value of the postmeta to be saved.
|
227 |
+
* @return boolean Whether to continue setting.
|
228 |
*/
|
229 |
public function hijack_oembed_cache_set( $check, $object_id, $meta_key, $meta_value ) {
|
230 |
|
231 |
if (
|
232 |
! $this->hijack
|
233 |
|| ( $this->object_id != $object_id && 1987645321 !== $object_id )
|
234 |
+
// Only want to hijack oembed meta values.
|
235 |
|| 0 !== strpos( $meta_key, '_oembed_' )
|
236 |
) {
|
237 |
return $check;
|
239 |
|
240 |
$this->cache_action( $meta_key, $meta_value );
|
241 |
|
242 |
+
// Anything other than `null` to cancel saving to postmeta.
|
243 |
return true;
|
244 |
}
|
245 |
|
246 |
/**
|
247 |
+
* Gets/updates the cached oEmbed value from/to relevant object metadata (vs postmeta).
|
248 |
*
|
249 |
* @since 1.3.0
|
250 |
+
*
|
251 |
+
* @param string $meta_key Postmeta's key.
|
252 |
+
* @return mixed
|
253 |
*/
|
254 |
protected function cache_action( $meta_key ) {
|
255 |
$func_args = func_get_args();
|
264 |
$args[] = true;
|
265 |
}
|
266 |
|
267 |
+
// Cache the result to our options.
|
268 |
$status = call_user_func_array( array( cmb2_options( $this->object_id ), $action ), $args );
|
269 |
} else {
|
270 |
|
271 |
$args = array( $this->object_type, $this->object_id, $meta_key );
|
272 |
$args[] = 'update' === $action ? $func_args[1] : true;
|
273 |
|
274 |
+
// Cache the result to our metadata.
|
275 |
$status = call_user_func_array( $action . '_metadata', $args );
|
276 |
}
|
277 |
|
283 |
* oembed cache data from the option value.
|
284 |
*
|
285 |
* @since 2.2.0
|
286 |
+
* @param string $option_key The options-page option key.
|
287 |
* @return void
|
288 |
*/
|
289 |
public static function clean_stale_options_page_oembeds( $option_key ) {
|
295 |
$now = time();
|
296 |
|
297 |
foreach ( $options as $key => $value ) {
|
298 |
+
// Check for cached oembed data.
|
299 |
if ( 0 === strpos( $key, '_oembed_time_' ) ) {
|
300 |
$cached_recently = ( $now - $value ) < $ttl;
|
301 |
|
305 |
unset( $options[ $key ] );
|
306 |
unset( $options[ str_replace( '_oembed_time_', '_oembed_', $key ) ] );
|
307 |
}
|
308 |
+
} // End if.
|
309 |
// Remove the cached unknown values.
|
310 |
elseif ( '{{unknown}}' === $value ) {
|
311 |
$modified = true;
|
314 |
}
|
315 |
}
|
316 |
|
317 |
+
// Update the option and remove stale cache data.
|
318 |
if ( $modified ) {
|
319 |
$updated = cmb2_options( $option_key )->set( $options );
|
320 |
}
|
includes/lib/cmb2/includes/CMB2_Base.php
CHANGED
@@ -79,7 +79,7 @@ abstract class CMB2_Base {
|
|
79 |
* Get started
|
80 |
*
|
81 |
* @since 2.2.3
|
82 |
-
* @param array $args Object properties array
|
83 |
*/
|
84 |
public function __construct( $args = array() ) {
|
85 |
if ( ! empty( $args ) ) {
|
@@ -101,7 +101,7 @@ abstract class CMB2_Base {
|
|
101 |
* Returns the object ID
|
102 |
*
|
103 |
* @since 2.2.3
|
104 |
-
* @param integer $object_id Object ID
|
105 |
* @return integer Object ID
|
106 |
*/
|
107 |
public function object_id( $object_id = 0 ) {
|
@@ -116,7 +116,7 @@ abstract class CMB2_Base {
|
|
116 |
* Returns the object type
|
117 |
*
|
118 |
* @since 2.2.3
|
119 |
-
* @param string $object_type Object Type
|
120 |
* @return string Object type
|
121 |
*/
|
122 |
public function object_type( $object_type = '' ) {
|
@@ -156,9 +156,9 @@ abstract class CMB2_Base {
|
|
156 |
* Set object property.
|
157 |
*
|
158 |
* @since 2.2.2
|
159 |
-
* @param string $property Metabox config property to retrieve
|
160 |
-
* @param mixed $value Value to set if no value found
|
161 |
-
* @return mixed Metabox config property value or false
|
162 |
*/
|
163 |
public function set_prop( $property, $value ) {
|
164 |
$this->{$this->properties_name}[ $property ] = $value;
|
@@ -170,8 +170,8 @@ abstract class CMB2_Base {
|
|
170 |
* Get object property and optionally set a fallback
|
171 |
*
|
172 |
* @since 2.0.0
|
173 |
-
* @param string $property Metabox config property to retrieve
|
174 |
-
* @param mixed $fallback Fallback value to set if no value found
|
175 |
* @return mixed Metabox config property value or false
|
176 |
*/
|
177 |
public function prop( $property, $fallback = null ) {
|
@@ -187,7 +187,7 @@ abstract class CMB2_Base {
|
|
187 |
*
|
188 |
* @since 2.2.0
|
189 |
* @param array $field_args Metabox field config array.
|
190 |
-
* @param CMB2_Field $field_group (optional) CMB2_Field object (group parent)
|
191 |
* @return array Array of field arguments.
|
192 |
*/
|
193 |
protected function get_default_args( $field_args, $field_group = null ) {
|
@@ -213,7 +213,7 @@ abstract class CMB2_Base {
|
|
213 |
*
|
214 |
* @since 2.2.0
|
215 |
* @param array $field_args Metabox field config array.
|
216 |
-
* @param CMB2_Field $field_group (optional) CMB2_Field object (group parent)
|
217 |
* @return CMB2_Field CMB2_Field object
|
218 |
*/
|
219 |
protected function get_new_field( $field_args, $field_group = null ) {
|
@@ -231,7 +231,7 @@ abstract class CMB2_Base {
|
|
231 |
// Default to showing this cmb
|
232 |
$show = true;
|
233 |
|
234 |
-
// Use the callback to determine showing the cmb, if it exists
|
235 |
if ( is_callable( $this->prop( 'show_on_cb' ) ) ) {
|
236 |
$show = (bool) call_user_func( $this->prop( 'show_on_cb' ), $this );
|
237 |
}
|
@@ -243,7 +243,7 @@ abstract class CMB2_Base {
|
|
243 |
* Displays the results of the param callbacks.
|
244 |
*
|
245 |
* @since 2.0.0
|
246 |
-
* @param string $param Field parameter
|
247 |
*/
|
248 |
public function peform_param_callback( $param ) {
|
249 |
echo $this->get_param_callback_result( $param );
|
@@ -253,15 +253,15 @@ abstract class CMB2_Base {
|
|
253 |
* Store results of the param callbacks for continual access
|
254 |
*
|
255 |
* @since 2.0.0
|
256 |
-
* @param string $param Field parameter
|
257 |
* @return mixed Results of param/param callback
|
258 |
*/
|
259 |
public function get_param_callback_result( $param ) {
|
260 |
|
261 |
-
// If we've already retrieved this param's value
|
262 |
if ( array_key_exists( $param, $this->callback_results ) ) {
|
263 |
|
264 |
-
//
|
265 |
return $this->callback_results[ $param ];
|
266 |
}
|
267 |
|
@@ -292,7 +292,7 @@ abstract class CMB2_Base {
|
|
292 |
* Unset the cached results of the param callback.
|
293 |
*
|
294 |
* @since 2.2.6
|
295 |
-
* @param string $param Field parameter
|
296 |
* @return CMB2_Base
|
297 |
*/
|
298 |
public function unset_param_callback_cache( $param ) {
|
@@ -307,7 +307,7 @@ abstract class CMB2_Base {
|
|
307 |
* Handles the parameter callbacks, and passes this object as parameter.
|
308 |
*
|
309 |
* @since 2.2.3
|
310 |
-
* @param callable $cb The callback method/function/closure
|
311 |
* @param mixed $additional_params Any additoinal parameters which should be passed to the callback.
|
312 |
* @return mixed Return of the callback function.
|
313 |
*/
|
@@ -319,7 +319,7 @@ abstract class CMB2_Base {
|
|
319 |
* Checks if field has a callback value
|
320 |
*
|
321 |
* @since 1.0.1
|
322 |
-
* @param string $cb Callback string
|
323 |
* @return mixed NULL, false for NO validation, or $cb string if it exists.
|
324 |
*/
|
325 |
public function maybe_callback( $cb ) {
|
@@ -328,10 +328,10 @@ abstract class CMB2_Base {
|
|
328 |
return null;
|
329 |
}
|
330 |
|
331 |
-
// Check if requesting explicitly false
|
332 |
$cb = false !== $args[ $cb ] && 'false' !== $args[ $cb ] ? $args[ $cb ] : false;
|
333 |
|
334 |
-
// If requesting NO validation, return false
|
335 |
if ( ! $cb ) {
|
336 |
return false;
|
337 |
}
|
@@ -356,7 +356,7 @@ abstract class CMB2_Base {
|
|
356 |
*
|
357 |
* @param string $hook_name The hook name.
|
358 |
* @param bool $val The default value.
|
359 |
-
* @param string $hook_function The hook function. Default: 'add_filter'
|
360 |
*
|
361 |
* @return null|bool Null if hook is registered, or bool for value.
|
362 |
*/
|
@@ -386,7 +386,7 @@ abstract class CMB2_Base {
|
|
386 |
*/
|
387 |
public static function maybe_hook( $val, $hook_name, $hook_function ) {
|
388 |
if ( is_callable( $val ) ) {
|
389 |
-
$hook_function
|
390 |
return null;
|
391 |
}
|
392 |
|
@@ -413,8 +413,9 @@ abstract class CMB2_Base {
|
|
413 |
*/
|
414 |
protected function deprecated_param( $function, $version, $message = null ) {
|
415 |
|
|
|
|
|
416 |
if ( is_numeric( $message ) ) {
|
417 |
-
$args = func_get_args();
|
418 |
|
419 |
switch ( $message ) {
|
420 |
|
@@ -470,7 +471,7 @@ abstract class CMB2_Base {
|
|
470 |
/**
|
471 |
* Magic getter for our object.
|
472 |
*
|
473 |
-
* @param string $field
|
474 |
* @throws Exception Throws an exception if the field is invalid.
|
475 |
* @return mixed
|
476 |
*/
|
@@ -496,8 +497,11 @@ abstract class CMB2_Base {
|
|
496 |
* Allows overloading the object with methods... Whooaaa oooh it's magic, y'knoooow.
|
497 |
*
|
498 |
* @since 1.0.0
|
|
|
|
|
499 |
* @param string $method Non-existent method.
|
500 |
-
* @param array $args All arguments passed to the method
|
|
|
501 |
*/
|
502 |
public function __call( $method, $args ) {
|
503 |
$object_class = strtolower( get_class( $this ) );
|
79 |
* Get started
|
80 |
*
|
81 |
* @since 2.2.3
|
82 |
+
* @param array $args Object properties array.
|
83 |
*/
|
84 |
public function __construct( $args = array() ) {
|
85 |
if ( ! empty( $args ) ) {
|
101 |
* Returns the object ID
|
102 |
*
|
103 |
* @since 2.2.3
|
104 |
+
* @param integer $object_id Object ID.
|
105 |
* @return integer Object ID
|
106 |
*/
|
107 |
public function object_id( $object_id = 0 ) {
|
116 |
* Returns the object type
|
117 |
*
|
118 |
* @since 2.2.3
|
119 |
+
* @param string $object_type Object Type.
|
120 |
* @return string Object type
|
121 |
*/
|
122 |
public function object_type( $object_type = '' ) {
|
156 |
* Set object property.
|
157 |
*
|
158 |
* @since 2.2.2
|
159 |
+
* @param string $property Metabox config property to retrieve.
|
160 |
+
* @param mixed $value Value to set if no value found.
|
161 |
+
* @return mixed Metabox config property value or false.
|
162 |
*/
|
163 |
public function set_prop( $property, $value ) {
|
164 |
$this->{$this->properties_name}[ $property ] = $value;
|
170 |
* Get object property and optionally set a fallback
|
171 |
*
|
172 |
* @since 2.0.0
|
173 |
+
* @param string $property Metabox config property to retrieve.
|
174 |
+
* @param mixed $fallback Fallback value to set if no value found.
|
175 |
* @return mixed Metabox config property value or false
|
176 |
*/
|
177 |
public function prop( $property, $fallback = null ) {
|
187 |
*
|
188 |
* @since 2.2.0
|
189 |
* @param array $field_args Metabox field config array.
|
190 |
+
* @param CMB2_Field $field_group (optional) CMB2_Field object (group parent).
|
191 |
* @return array Array of field arguments.
|
192 |
*/
|
193 |
protected function get_default_args( $field_args, $field_group = null ) {
|
213 |
*
|
214 |
* @since 2.2.0
|
215 |
* @param array $field_args Metabox field config array.
|
216 |
+
* @param CMB2_Field $field_group (optional) CMB2_Field object (group parent).
|
217 |
* @return CMB2_Field CMB2_Field object
|
218 |
*/
|
219 |
protected function get_new_field( $field_args, $field_group = null ) {
|
231 |
// Default to showing this cmb
|
232 |
$show = true;
|
233 |
|
234 |
+
// Use the callback to determine showing the cmb, if it exists.
|
235 |
if ( is_callable( $this->prop( 'show_on_cb' ) ) ) {
|
236 |
$show = (bool) call_user_func( $this->prop( 'show_on_cb' ), $this );
|
237 |
}
|
243 |
* Displays the results of the param callbacks.
|
244 |
*
|
245 |
* @since 2.0.0
|
246 |
+
* @param string $param Field parameter.
|
247 |
*/
|
248 |
public function peform_param_callback( $param ) {
|
249 |
echo $this->get_param_callback_result( $param );
|
253 |
* Store results of the param callbacks for continual access
|
254 |
*
|
255 |
* @since 2.0.0
|
256 |
+
* @param string $param Field parameter.
|
257 |
* @return mixed Results of param/param callback
|
258 |
*/
|
259 |
public function get_param_callback_result( $param ) {
|
260 |
|
261 |
+
// If we've already retrieved this param's value.
|
262 |
if ( array_key_exists( $param, $this->callback_results ) ) {
|
263 |
|
264 |
+
// Send it back.
|
265 |
return $this->callback_results[ $param ];
|
266 |
}
|
267 |
|
292 |
* Unset the cached results of the param callback.
|
293 |
*
|
294 |
* @since 2.2.6
|
295 |
+
* @param string $param Field parameter.
|
296 |
* @return CMB2_Base
|
297 |
*/
|
298 |
public function unset_param_callback_cache( $param ) {
|
307 |
* Handles the parameter callbacks, and passes this object as parameter.
|
308 |
*
|
309 |
* @since 2.2.3
|
310 |
+
* @param callable $cb The callback method/function/closure.
|
311 |
* @param mixed $additional_params Any additoinal parameters which should be passed to the callback.
|
312 |
* @return mixed Return of the callback function.
|
313 |
*/
|
319 |
* Checks if field has a callback value
|
320 |
*
|
321 |
* @since 1.0.1
|
322 |
+
* @param string $cb Callback string.
|
323 |
* @return mixed NULL, false for NO validation, or $cb string if it exists.
|
324 |
*/
|
325 |
public function maybe_callback( $cb ) {
|
328 |
return null;
|
329 |
}
|
330 |
|
331 |
+
// Check if requesting explicitly false.
|
332 |
$cb = false !== $args[ $cb ] && 'false' !== $args[ $cb ] ? $args[ $cb ] : false;
|
333 |
|
334 |
+
// If requesting NO validation, return false.
|
335 |
if ( ! $cb ) {
|
336 |
return false;
|
337 |
}
|
356 |
*
|
357 |
* @param string $hook_name The hook name.
|
358 |
* @param bool $val The default value.
|
359 |
+
* @param string $hook_function The hook function. Default: 'add_filter'.
|
360 |
*
|
361 |
* @return null|bool Null if hook is registered, or bool for value.
|
362 |
*/
|
386 |
*/
|
387 |
public static function maybe_hook( $val, $hook_name, $hook_function ) {
|
388 |
if ( is_callable( $val ) ) {
|
389 |
+
call_user_func( $hook_function, $hook_name, $val, 10, 2 );
|
390 |
return null;
|
391 |
}
|
392 |
|
413 |
*/
|
414 |
protected function deprecated_param( $function, $version, $message = null ) {
|
415 |
|
416 |
+
$args = func_get_args();
|
417 |
+
|
418 |
if ( is_numeric( $message ) ) {
|
|
|
419 |
|
420 |
switch ( $message ) {
|
421 |
|
471 |
/**
|
472 |
* Magic getter for our object.
|
473 |
*
|
474 |
+
* @param string $field Requested property.
|
475 |
* @throws Exception Throws an exception if the field is invalid.
|
476 |
* @return mixed
|
477 |
*/
|
497 |
* Allows overloading the object with methods... Whooaaa oooh it's magic, y'knoooow.
|
498 |
*
|
499 |
* @since 1.0.0
|
500 |
+
* @throws Exception Invalid method exception.
|
501 |
+
*
|
502 |
* @param string $method Non-existent method.
|
503 |
+
* @param array $args All arguments passed to the method.
|
504 |
+
* @return mixed
|
505 |
*/
|
506 |
public function __call( $method, $args ) {
|
507 |
$object_class = strtolower( get_class( $this ) );
|
includes/lib/cmb2/includes/CMB2_Boxes.php
CHANGED
@@ -134,6 +134,6 @@ class CMB2_Boxes {
|
|
134 |
*/
|
135 |
public static function get_by_property( $property, $to_ignore = null ) {
|
136 |
_deprecated_function( __METHOD__, '2.4.0', 'CMB2_Boxes::filter_by()' );
|
137 |
-
return self::filter_by( $property
|
138 |
}
|
139 |
}
|
134 |
*/
|
135 |
public static function get_by_property( $property, $to_ignore = null ) {
|
136 |
_deprecated_function( __METHOD__, '2.4.0', 'CMB2_Boxes::filter_by()' );
|
137 |
+
return self::filter_by( $property );
|
138 |
}
|
139 |
}
|
includes/lib/cmb2/includes/CMB2_Field.php
CHANGED
@@ -127,7 +127,7 @@ class CMB2_Field extends CMB2_Base {
|
|
127 |
* Constructs our field object
|
128 |
*
|
129 |
* @since 1.1.0
|
130 |
-
* @param array $args Field arguments
|
131 |
*/
|
132 |
public function __construct( $args ) {
|
133 |
|
@@ -156,8 +156,8 @@ class CMB2_Field extends CMB2_Base {
|
|
156 |
* Non-existent methods fallback to checking for field arguments of the same name
|
157 |
*
|
158 |
* @since 1.1.0
|
159 |
-
* @param string $name Method name
|
160 |
-
* @param array $arguments Array of passed-in arguments
|
161 |
* @return mixed Value of field argument
|
162 |
*/
|
163 |
public function __call( $name, $arguments ) {
|
@@ -173,7 +173,7 @@ class CMB2_Field extends CMB2_Base {
|
|
173 |
* Retrieves the field id
|
174 |
*
|
175 |
* @since 1.1.0
|
176 |
-
* @param boolean $raw Whether to retrieve pre-modidifed id
|
177 |
* @return string Field id
|
178 |
*/
|
179 |
public function id( $raw = false ) {
|
@@ -185,8 +185,8 @@ class CMB2_Field extends CMB2_Base {
|
|
185 |
* Get a field argument
|
186 |
*
|
187 |
* @since 1.1.0
|
188 |
-
* @param string $key Argument to check
|
189 |
-
* @param string $_key Sub argument to check
|
190 |
* @return mixed Argument value or false if non-existent
|
191 |
*/
|
192 |
public function args( $key = '', $_key = '' ) {
|
@@ -208,8 +208,8 @@ class CMB2_Field extends CMB2_Base {
|
|
208 |
* Retrieve a portion of a field property
|
209 |
*
|
210 |
* @since 1.1.0
|
211 |
-
* @param string $var Field property to check
|
212 |
-
* @param string $key Field property array key to check
|
213 |
* @return mixed Queried property value or false
|
214 |
*/
|
215 |
public function _data( $var, $key = '' ) {
|
@@ -224,7 +224,7 @@ class CMB2_Field extends CMB2_Base {
|
|
224 |
* Get Field's value
|
225 |
*
|
226 |
* @since 1.1.0
|
227 |
-
* @param string $key If value is an array, is used to get array key->value
|
228 |
* @return mixed Field value or false if non-existent
|
229 |
*/
|
230 |
public function value( $key = '' ) {
|
@@ -235,8 +235,8 @@ class CMB2_Field extends CMB2_Base {
|
|
235 |
* Retrieves metadata/option data
|
236 |
*
|
237 |
* @since 1.0.1
|
238 |
-
* @param string $field_id Meta key/Option array key
|
239 |
-
* @param array $args Override arguments
|
240 |
* @return mixed Meta/Option value
|
241 |
*/
|
242 |
public function get_data( $field_id = '', $args = array() ) {
|
@@ -286,7 +286,7 @@ class CMB2_Field extends CMB2_Base {
|
|
286 |
*/
|
287 |
$data = apply_filters( "cmb2_override_{$a['field_id']}_meta_value", $data, $this->object_id, $a, $this );
|
288 |
|
289 |
-
// If no override, get value normally
|
290 |
if ( 'cmb2_field_no_override_val' === $data ) {
|
291 |
$data = 'options-page' === $a['type']
|
292 |
? cmb2_options( $a['id'] )->get( $a['field_id'] )
|
@@ -304,11 +304,12 @@ class CMB2_Field extends CMB2_Base {
|
|
304 |
}
|
305 |
|
306 |
/**
|
307 |
-
* Updates metadata/option data
|
308 |
*
|
309 |
* @since 1.0.1
|
310 |
-
* @param mixed $new_value Value to update data with
|
311 |
-
* @param bool $single Whether data is an array (add_metadata)
|
|
|
312 |
*/
|
313 |
public function update_data( $new_value, $single = true ) {
|
314 |
$a = $this->data_args( array(
|
@@ -353,35 +354,36 @@ class CMB2_Field extends CMB2_Base {
|
|
353 |
*/
|
354 |
$override = apply_filters( "cmb2_override_{$a['field_id']}_meta_save", $override, $a, $this->args(), $this );
|
355 |
|
356 |
-
// If override, return that
|
357 |
if ( null !== $override ) {
|
358 |
return $override;
|
359 |
}
|
360 |
|
361 |
-
// Options page handling (or temp data store)
|
362 |
if ( 'options-page' === $a['type'] || empty( $a['id'] ) ) {
|
363 |
return cmb2_options( $a['id'] )->update( $a['field_id'], $a['value'], false, $a['single'] );
|
364 |
}
|
365 |
|
366 |
-
// Add metadata if not single
|
367 |
if ( ! $a['single'] ) {
|
368 |
return add_metadata( $a['type'], $a['id'], $a['field_id'], $a['value'], false );
|
369 |
}
|
370 |
|
371 |
-
// Delete meta if we have an empty array
|
372 |
if ( is_array( $a['value'] ) && empty( $a['value'] ) ) {
|
373 |
return delete_metadata( $a['type'], $a['id'], $a['field_id'], $this->value );
|
374 |
}
|
375 |
|
376 |
-
// Update metadata
|
377 |
return update_metadata( $a['type'], $a['id'], $a['field_id'], $a['value'] );
|
378 |
}
|
379 |
|
380 |
/**
|
381 |
-
* Removes/updates metadata/option data
|
382 |
*
|
383 |
* @since 1.0.1
|
384 |
-
* @param string $old Old value
|
|
|
385 |
*/
|
386 |
public function remove_data( $old = '' ) {
|
387 |
$a = $this->data_args( array(
|
@@ -401,7 +403,7 @@ class CMB2_Field extends CMB2_Base {
|
|
401 |
* 'field_id' : Current Field ID
|
402 |
* 'repeat' : Whether current field is repeatable
|
403 |
* 'single' : Whether to save as a
|
404 |
-
*
|
405 |
* @param array $field_args All field arguments
|
406 |
* @param CMB2_Field object $field This field object
|
407 |
*/
|
@@ -423,22 +425,22 @@ class CMB2_Field extends CMB2_Base {
|
|
423 |
* 'field_id' : Current Field ID
|
424 |
* 'repeat' : Whether current field is repeatable
|
425 |
* 'single' : Whether to save as a
|
426 |
-
*
|
427 |
* @param array $field_args All field arguments
|
428 |
* @param CMB2_Field object $field This field object
|
429 |
*/
|
430 |
$override = apply_filters( "cmb2_override_{$a['field_id']}_meta_remove", $override, $a, $this->args(), $this );
|
431 |
|
432 |
-
// If no override, remove as usual
|
433 |
if ( null !== $override ) {
|
434 |
return $override;
|
435 |
-
} // End if
|
436 |
// Option page handling.
|
437 |
elseif ( 'options-page' === $a['type'] || empty( $a['id'] ) ) {
|
438 |
return cmb2_options( $a['id'] )->remove( $a['field_id'] );
|
439 |
}
|
440 |
|
441 |
-
// Remove metadata
|
442 |
return delete_metadata( $a['type'], $a['id'], $a['field_id'], $old );
|
443 |
}
|
444 |
|
@@ -446,7 +448,7 @@ class CMB2_Field extends CMB2_Base {
|
|
446 |
* Data variables for get/set data methods
|
447 |
*
|
448 |
* @since 1.1.0
|
449 |
-
* @param array $args Override arguments
|
450 |
* @return array Updated arguments
|
451 |
*/
|
452 |
public function data_args( $args = array() ) {
|
@@ -464,20 +466,20 @@ class CMB2_Field extends CMB2_Base {
|
|
464 |
* Checks if field has a registered sanitization callback
|
465 |
*
|
466 |
* @since 1.0.1
|
467 |
-
* @param mixed $meta_value Meta value
|
468 |
* @return mixed Possibly sanitized meta value
|
469 |
*/
|
470 |
public function sanitization_cb( $meta_value ) {
|
471 |
|
472 |
if ( $this->args( 'repeatable' ) && is_array( $meta_value ) ) {
|
473 |
-
// Remove empties
|
474 |
$meta_value = array_filter( $meta_value );
|
475 |
}
|
476 |
|
477 |
-
// Check if the field has a registered validation callback
|
478 |
$cb = $this->maybe_callback( 'sanitization_cb' );
|
479 |
if ( false === $cb ) {
|
480 |
-
// If requesting NO validation, return meta value
|
481 |
return $meta_value;
|
482 |
} elseif ( $cb ) {
|
483 |
// Ok, callback is good, let's run it.
|
@@ -508,7 +510,7 @@ class CMB2_Field extends CMB2_Base {
|
|
508 |
return $override_value;
|
509 |
}
|
510 |
|
511 |
-
// Sanitization via 'CMB2_Sanitize'
|
512 |
return $sanitizer->{$field_type}();
|
513 |
}
|
514 |
|
@@ -516,7 +518,7 @@ class CMB2_Field extends CMB2_Base {
|
|
516 |
* Process $_POST data to save this field's value
|
517 |
*
|
518 |
* @since 2.0.3
|
519 |
-
* @param array $data_to_save $_POST data to check
|
520 |
* @return array|int|bool Result of save, false on failure
|
521 |
*/
|
522 |
public function save_field_from_data( array $data_to_save ) {
|
@@ -533,7 +535,7 @@ class CMB2_Field extends CMB2_Base {
|
|
533 |
* Sanitize/store a value to this field
|
534 |
*
|
535 |
* @since 2.0.0
|
536 |
-
* @param array $meta_value Desired value to sanitize/store
|
537 |
* @return array|int|bool Result of save. false on failure
|
538 |
*/
|
539 |
public function save_field( $meta_value ) {
|
@@ -614,7 +616,7 @@ class CMB2_Field extends CMB2_Base {
|
|
614 |
* @return bool True if exempt
|
615 |
*/
|
616 |
public function escaping_exception() {
|
617 |
-
// These types cannot be escaped
|
618 |
return in_array( $this->type(), array(
|
619 |
'file_list',
|
620 |
'multicheck',
|
@@ -626,13 +628,13 @@ class CMB2_Field extends CMB2_Base {
|
|
626 |
* Determine if current type cannot be repeatable
|
627 |
*
|
628 |
* @since 1.1.0
|
629 |
-
* @param string $type Field type to check
|
630 |
* @return bool True if type cannot be repeatable
|
631 |
*/
|
632 |
public function repeatable_exception( $type ) {
|
633 |
// These types cannot be repeatable.
|
634 |
$internal_fields = array(
|
635 |
-
// Use file_list instead
|
636 |
'file' => 1,
|
637 |
'radio' => 1,
|
638 |
'title' => 1,
|
@@ -643,10 +645,10 @@ class CMB2_Field extends CMB2_Base {
|
|
643 |
'taxonomy_radio_inline' => 1,
|
644 |
'taxonomy_radio_hierarchical' => 1,
|
645 |
'taxonomy_select' => 1,
|
|
|
646 |
'taxonomy_multicheck' => 1,
|
647 |
'taxonomy_multicheck_inline' => 1,
|
648 |
'taxonomy_multicheck_hierarchical' => 1,
|
649 |
-
|
650 |
);
|
651 |
|
652 |
/**
|
@@ -668,7 +670,7 @@ class CMB2_Field extends CMB2_Base {
|
|
668 |
* Determine if current type has its own defaults field-arguments method.
|
669 |
*
|
670 |
* @since 2.2.6
|
671 |
-
* @param string $type Field type to check
|
672 |
* @return bool True if has own method.
|
673 |
*/
|
674 |
public function has_args_method( $type ) {
|
@@ -688,6 +690,7 @@ class CMB2_Field extends CMB2_Base {
|
|
688 |
'radio',
|
689 |
'radio_inline',
|
690 |
'taxonomy_select',
|
|
|
691 |
'taxonomy_radio',
|
692 |
'taxonomy_radio_inline',
|
693 |
'taxonomy_radio_hierarchical',
|
@@ -704,9 +707,9 @@ class CMB2_Field extends CMB2_Base {
|
|
704 |
* Escape the value before output. Defaults to 'esc_attr()'
|
705 |
*
|
706 |
* @since 1.0.1
|
707 |
-
* @param callable $func Escaping function (if not esc_attr())
|
708 |
-
* @param mixed
|
709 |
-
* @return mixed Final value
|
710 |
*/
|
711 |
public function escaped_value( $func = 'esc_attr', $meta_value = '' ) {
|
712 |
|
@@ -716,7 +719,7 @@ class CMB2_Field extends CMB2_Base {
|
|
716 |
|
717 |
$meta_value = $meta_value ? $meta_value : $this->value();
|
718 |
|
719 |
-
// Check if the field has a registered escaping callback
|
720 |
if ( $cb = $this->maybe_callback( 'escape_cb' ) ) {
|
721 |
// Ok, callback is good, let's run it.
|
722 |
return call_user_func( $cb, $meta_value, $this->args(), $this );
|
@@ -744,7 +747,7 @@ class CMB2_Field extends CMB2_Base {
|
|
744 |
}
|
745 |
|
746 |
if ( false === $cb || $this->escaping_exception() ) {
|
747 |
-
// If requesting NO escaping, return meta value
|
748 |
return $this->val_or_default( $meta_value );
|
749 |
}
|
750 |
|
@@ -768,7 +771,7 @@ class CMB2_Field extends CMB2_Base {
|
|
768 |
* Return non-empty value or field default if value IS empty
|
769 |
*
|
770 |
* @since 2.0.0
|
771 |
-
* @param mixed $meta_value Field value
|
772 |
* @return mixed Field value, or default value
|
773 |
*/
|
774 |
public function val_or_default( $meta_value ) {
|
@@ -797,7 +800,7 @@ class CMB2_Field extends CMB2_Base {
|
|
797 |
// Is timezone arg set?
|
798 |
if ( $this->args( 'timezone' ) ) {
|
799 |
$value = $this->args( 'timezone' );
|
800 |
-
} // End if
|
801 |
// Is there another meta key with a timezone stored as its value we should use?
|
802 |
elseif ( $this->args( 'timezone_meta_key' ) ) {
|
803 |
$value = $this->get_data( $this->args( 'timezone_meta_key' ) );
|
@@ -810,8 +813,8 @@ class CMB2_Field extends CMB2_Base {
|
|
810 |
* Format the timestamp field value based on the field date/time format arg
|
811 |
*
|
812 |
* @since 2.0.0
|
813 |
-
* @param int $meta_value Timestamp
|
814 |
-
* @param string $format Either date_format or time_format
|
815 |
* @return string Formatted date
|
816 |
*/
|
817 |
public function format_timestamp( $meta_value, $format = 'date_format' ) {
|
@@ -822,14 +825,17 @@ class CMB2_Field extends CMB2_Base {
|
|
822 |
* Return a formatted timestamp for a field
|
823 |
*
|
824 |
* @since 2.0.0
|
825 |
-
* @param string
|
826 |
-
* @param string $meta_value Optional meta value to check
|
827 |
* @return string Formatted date
|
828 |
*/
|
829 |
public function get_timestamp_format( $format = 'date_format', $meta_value = 0 ) {
|
830 |
$meta_value = $meta_value ? $meta_value : $this->escaped_value();
|
831 |
-
|
|
|
|
|
832 |
|
|
|
833 |
if ( empty( $meta_value ) ) {
|
834 |
return '';
|
835 |
}
|
@@ -843,7 +849,7 @@ class CMB2_Field extends CMB2_Base {
|
|
843 |
* Get timestamp from text date
|
844 |
*
|
845 |
* @since 2.2.0
|
846 |
-
* @param string $value Date value
|
847 |
* @return mixed Unix timestamp representing the date.
|
848 |
*/
|
849 |
public function get_timestamp_from_value( $value ) {
|
@@ -860,7 +866,7 @@ class CMB2_Field extends CMB2_Base {
|
|
860 |
|
861 |
$this->peform_param_callback( 'render_row_cb' );
|
862 |
|
863 |
-
// For chaining
|
864 |
return $this;
|
865 |
}
|
866 |
|
@@ -871,19 +877,37 @@ class CMB2_Field extends CMB2_Base {
|
|
871 |
*/
|
872 |
public function render_field_callback() {
|
873 |
|
874 |
-
// If field is requesting to not be shown on the front-end
|
875 |
if ( ! is_admin() && ! $this->args( 'on_front' ) ) {
|
876 |
return;
|
877 |
}
|
878 |
|
879 |
-
// If field is requesting to be conditionally shown
|
880 |
if ( ! $this->should_show() ) {
|
881 |
return;
|
882 |
}
|
883 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
884 |
$this->peform_param_callback( 'before_row' );
|
885 |
|
886 |
-
printf( "<div class=\"cmb-row %s\" data-fieldtype=\"%s\">\n", $this->row_classes(), $
|
887 |
|
888 |
if ( ! $this->args( 'show_names' ) ) {
|
889 |
echo "\n\t<div class=\"cmb-td\">\n";
|
@@ -910,7 +934,23 @@ class CMB2_Field extends CMB2_Base {
|
|
910 |
|
911 |
$this->peform_param_callback( 'after_row' );
|
912 |
|
913 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
return $this;
|
915 |
}
|
916 |
|
@@ -918,7 +958,7 @@ class CMB2_Field extends CMB2_Base {
|
|
918 |
* The default label_cb callback (if not a title field)
|
919 |
*
|
920 |
* @since 2.1.1
|
921 |
-
* @return string Label html markup
|
922 |
*/
|
923 |
public function label() {
|
924 |
if ( ! $this->args( 'name' ) ) {
|
@@ -998,17 +1038,86 @@ class CMB2_Field extends CMB2_Base {
|
|
998 |
|
999 |
$this->peform_param_callback( 'display_cb' );
|
1000 |
|
1001 |
-
// For chaining
|
1002 |
return $this;
|
1003 |
}
|
1004 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1005 |
/**
|
1006 |
* Default callback to outputs field value in a display format.
|
1007 |
*
|
1008 |
* @since 2.2.2
|
1009 |
*/
|
1010 |
public function display_value_callback() {
|
1011 |
-
// If field is requesting to be conditionally shown
|
1012 |
if ( ! $this->should_show() ) {
|
1013 |
return;
|
1014 |
}
|
@@ -1048,7 +1157,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1048 |
|
1049 |
$this->peform_param_callback( 'after_display_wrap' );
|
1050 |
|
1051 |
-
// For chaining
|
1052 |
return $this;
|
1053 |
}
|
1054 |
|
@@ -1056,11 +1165,11 @@ class CMB2_Field extends CMB2_Base {
|
|
1056 |
* Replaces a hash key - {#} - with the repeatable index
|
1057 |
*
|
1058 |
* @since 1.2.0
|
1059 |
-
* @param string $value Value to update
|
1060 |
* @return string Updated value
|
1061 |
*/
|
1062 |
public function replace_hash( $value ) {
|
1063 |
-
// Replace hash with 1 based count
|
1064 |
return str_replace( '{#}', ( $this->index + 1 ), $value );
|
1065 |
}
|
1066 |
|
@@ -1069,8 +1178,8 @@ class CMB2_Field extends CMB2_Base {
|
|
1069 |
* For back-compatibility, falls back to checking the options array.
|
1070 |
*
|
1071 |
* @since 2.2.2
|
1072 |
-
* @param string $text_key Key in field's text array
|
1073 |
-
* @param string $fallback Fallback text
|
1074 |
* @return string Text
|
1075 |
*/
|
1076 |
public function get_string( $text_key, $fallback ) {
|
@@ -1102,7 +1211,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1102 |
* Retrieve options args.
|
1103 |
*
|
1104 |
* @since 2.0.0
|
1105 |
-
* @param string $key Specific option to retrieve
|
1106 |
* @return array|mixed Array of options or specific option.
|
1107 |
*/
|
1108 |
public function options( $key = '' ) {
|
@@ -1239,13 +1348,34 @@ class CMB2_Field extends CMB2_Base {
|
|
1239 |
*
|
1240 |
* @since 1.1.0
|
1241 |
*
|
1242 |
-
* @param array
|
1243 |
* @return array Modified field config array.
|
1244 |
*/
|
1245 |
public function _set_field_defaults( $args ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1246 |
|
1247 |
-
// Set up blank or default values for empty ones
|
1248 |
-
$args = wp_parse_args( $args, $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1249 |
|
1250 |
/*
|
1251 |
* Deprecated usage:
|
@@ -1269,18 +1399,30 @@ class CMB2_Field extends CMB2_Base {
|
|
1269 |
$args = $this->set_group_sub_field_defaults( $args );
|
1270 |
}
|
1271 |
|
1272 |
-
$
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
// See CMB2_Sanitize::_save_utc_value()
|
1278 |
-
'text_datetime_timestamp_timezone',
|
1279 |
-
),
|
1280 |
-
true
|
1281 |
);
|
1282 |
|
1283 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1284 |
}
|
1285 |
|
1286 |
/**
|
@@ -1288,13 +1430,14 @@ class CMB2_Field extends CMB2_Base {
|
|
1288 |
*
|
1289 |
* @since 2.2.6
|
1290 |
*
|
1291 |
-
* @param array
|
1292 |
* @return array Modified field config array.
|
1293 |
*/
|
1294 |
protected function set_field_defaults_group( $args ) {
|
1295 |
$args['options'] = wp_parse_args( $args['options'], array(
|
1296 |
-
'add_button'
|
1297 |
-
'remove_button'
|
|
|
1298 |
) );
|
1299 |
|
1300 |
return $args;
|
@@ -1305,7 +1448,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1305 |
*
|
1306 |
* @since 2.2.6
|
1307 |
*
|
1308 |
-
* @param array
|
1309 |
* @return array Modified field config array.
|
1310 |
*/
|
1311 |
protected function set_field_defaults_wysiwyg( $args ) {
|
@@ -1320,7 +1463,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1320 |
*
|
1321 |
* @since 2.2.6
|
1322 |
*
|
1323 |
-
* @param array
|
1324 |
* @return array Modified field config array.
|
1325 |
*/
|
1326 |
protected function set_field_defaults_all_or_nothing_types( $args ) {
|
@@ -1340,7 +1483,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1340 |
*
|
1341 |
* @since 2.2.6
|
1342 |
*
|
1343 |
-
* @param array
|
1344 |
* @return array Modified field config array.
|
1345 |
*/
|
1346 |
protected function set_group_sub_field_defaults( $args ) {
|
@@ -1355,7 +1498,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1355 |
*
|
1356 |
* @since 2.2.6
|
1357 |
*
|
1358 |
-
* @param array
|
1359 |
* @return array Field defaults.
|
1360 |
*/
|
1361 |
protected function get_default_field_args( $args ) {
|
@@ -1383,7 +1526,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1383 |
'inline' => false,
|
1384 |
'on_front' => true,
|
1385 |
'show_names' => true,
|
1386 |
-
'save_field' => true, // Will not save if false
|
1387 |
'date_format' => 'm\/d\/Y',
|
1388 |
'time_format' => 'h:i A',
|
1389 |
'description' => isset( $args['desc'] ) ? $args['desc'] : '',
|
@@ -1394,6 +1537,9 @@ class CMB2_Field extends CMB2_Base {
|
|
1394 |
'column' => false,
|
1395 |
'js_dependencies' => array(),
|
1396 |
'show_in_rest' => null,
|
|
|
|
|
|
|
1397 |
);
|
1398 |
}
|
1399 |
|
@@ -1402,7 +1548,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1402 |
*
|
1403 |
* @since 2.2.0
|
1404 |
* @param array $field_args Metabox field config array.
|
1405 |
-
* @param CMB2_Field $field_group (optional) CMB2_Field object (group parent)
|
1406 |
* @return array Array of field arguments.
|
1407 |
*/
|
1408 |
protected function get_default_args( $field_args, $field_group = null ) {
|
@@ -1423,7 +1569,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1423 |
*
|
1424 |
* @since 2.2.2
|
1425 |
* @param array $field_args Array of field arguments, or entire array of
|
1426 |
-
* arguments for CMB2_Field
|
1427 |
*
|
1428 |
* @return CMB2_Field The new CMB2_Field instance.
|
1429 |
*/
|
@@ -1474,7 +1620,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1474 |
unset( $args['row_classes'] );
|
1475 |
}
|
1476 |
|
1477 |
-
// default param can be passed a callback as well
|
1478 |
if ( is_callable( $args['default'] ) ) {
|
1479 |
|
1480 |
$this->deprecated_param( __CLASS__ . '::__construct()', '2.2.3', self::DEPRECATED_CB_PARAM, 'default', 'default_cb' );
|
@@ -1483,7 +1629,7 @@ class CMB2_Field extends CMB2_Base {
|
|
1483 |
$args['default'] = null;
|
1484 |
}
|
1485 |
|
1486 |
-
// options param can be passed a callback as well
|
1487 |
if ( is_callable( $args['options'] ) ) {
|
1488 |
|
1489 |
$this->deprecated_param( __CLASS__ . '::__construct()', '2.2.3', self::DEPRECATED_CB_PARAM, 'options', 'options_cb' );
|
127 |
* Constructs our field object
|
128 |
*
|
129 |
* @since 1.1.0
|
130 |
+
* @param array $args Field arguments.
|
131 |
*/
|
132 |
public function __construct( $args ) {
|
133 |
|
156 |
* Non-existent methods fallback to checking for field arguments of the same name
|
157 |
*
|
158 |
* @since 1.1.0
|
159 |
+
* @param string $name Method name.
|
160 |
+
* @param array $arguments Array of passed-in arguments.
|
161 |
* @return mixed Value of field argument
|
162 |
*/
|
163 |
public function __call( $name, $arguments ) {
|
173 |
* Retrieves the field id
|
174 |
*
|
175 |
* @since 1.1.0
|
176 |
+
* @param boolean $raw Whether to retrieve pre-modidifed id.
|
177 |
* @return string Field id
|
178 |
*/
|
179 |
public function id( $raw = false ) {
|
185 |
* Get a field argument
|
186 |
*
|
187 |
* @since 1.1.0
|
188 |
+
* @param string $key Argument to check.
|
189 |
+
* @param string $_key Sub argument to check.
|
190 |
* @return mixed Argument value or false if non-existent
|
191 |
*/
|
192 |
public function args( $key = '', $_key = '' ) {
|
208 |
* Retrieve a portion of a field property
|
209 |
*
|
210 |
* @since 1.1.0
|
211 |
+
* @param string $var Field property to check.
|
212 |
+
* @param string $key Field property array key to check.
|
213 |
* @return mixed Queried property value or false
|
214 |
*/
|
215 |
public function _data( $var, $key = '' ) {
|
224 |
* Get Field's value
|
225 |
*
|
226 |
* @since 1.1.0
|
227 |
+
* @param string $key If value is an array, is used to get array key->value.
|
228 |
* @return mixed Field value or false if non-existent
|
229 |
*/
|
230 |
public function value( $key = '' ) {
|
235 |
* Retrieves metadata/option data
|
236 |
*
|
237 |
* @since 1.0.1
|
238 |
+
* @param string $field_id Meta key/Option array key.
|
239 |
+
* @param array $args Override arguments.
|
240 |
* @return mixed Meta/Option value
|
241 |
*/
|
242 |
public function get_data( $field_id = '', $args = array() ) {
|
286 |
*/
|
287 |
$data = apply_filters( "cmb2_override_{$a['field_id']}_meta_value", $data, $this->object_id, $a, $this );
|
288 |
|
289 |
+
// If no override, get value normally.
|
290 |
if ( 'cmb2_field_no_override_val' === $data ) {
|
291 |
$data = 'options-page' === $a['type']
|
292 |
? cmb2_options( $a['id'] )->get( $a['field_id'] )
|
304 |
}
|
305 |
|
306 |
/**
|
307 |
+
* Updates metadata/option data.
|
308 |
*
|
309 |
* @since 1.0.1
|
310 |
+
* @param mixed $new_value Value to update data with.
|
311 |
+
* @param bool $single Whether data is an array (add_metadata).
|
312 |
+
* @return mixed
|
313 |
*/
|
314 |
public function update_data( $new_value, $single = true ) {
|
315 |
$a = $this->data_args( array(
|
354 |
*/
|
355 |
$override = apply_filters( "cmb2_override_{$a['field_id']}_meta_save", $override, $a, $this->args(), $this );
|
356 |
|
357 |
+
// If override, return that.
|
358 |
if ( null !== $override ) {
|
359 |
return $override;
|
360 |
}
|
361 |
|
362 |
+
// Options page handling (or temp data store).
|
363 |
if ( 'options-page' === $a['type'] || empty( $a['id'] ) ) {
|
364 |
return cmb2_options( $a['id'] )->update( $a['field_id'], $a['value'], false, $a['single'] );
|
365 |
}
|
366 |
|
367 |
+
// Add metadata if not single.
|
368 |
if ( ! $a['single'] ) {
|
369 |
return add_metadata( $a['type'], $a['id'], $a['field_id'], $a['value'], false );
|
370 |
}
|
371 |
|
372 |
+
// Delete meta if we have an empty array.
|
373 |
if ( is_array( $a['value'] ) && empty( $a['value'] ) ) {
|
374 |
return delete_metadata( $a['type'], $a['id'], $a['field_id'], $this->value );
|
375 |
}
|
376 |
|
377 |
+
// Update metadata.
|
378 |
return update_metadata( $a['type'], $a['id'], $a['field_id'], $a['value'] );
|
379 |
}
|
380 |
|
381 |
/**
|
382 |
+
* Removes/updates metadata/option data.
|
383 |
*
|
384 |
* @since 1.0.1
|
385 |
+
* @param string $old Old value.
|
386 |
+
* @return mixed
|
387 |
*/
|
388 |
public function remove_data( $old = '' ) {
|
389 |
$a = $this->data_args( array(
|
403 |
* 'field_id' : Current Field ID
|
404 |
* 'repeat' : Whether current field is repeatable
|
405 |
* 'single' : Whether to save as a
|
406 |
+
* single meta value
|
407 |
* @param array $field_args All field arguments
|
408 |
* @param CMB2_Field object $field This field object
|
409 |
*/
|
425 |
* 'field_id' : Current Field ID
|
426 |
* 'repeat' : Whether current field is repeatable
|
427 |
* 'single' : Whether to save as a
|
428 |
+
* single meta value
|
429 |
* @param array $field_args All field arguments
|
430 |
* @param CMB2_Field object $field This field object
|
431 |
*/
|
432 |
$override = apply_filters( "cmb2_override_{$a['field_id']}_meta_remove", $override, $a, $this->args(), $this );
|
433 |
|
434 |
+
// If no override, remove as usual.
|
435 |
if ( null !== $override ) {
|
436 |
return $override;
|
437 |
+
} // End if.
|
438 |
// Option page handling.
|
439 |
elseif ( 'options-page' === $a['type'] || empty( $a['id'] ) ) {
|
440 |
return cmb2_options( $a['id'] )->remove( $a['field_id'] );
|
441 |
}
|
442 |
|
443 |
+
// Remove metadata.
|
444 |
return delete_metadata( $a['type'], $a['id'], $a['field_id'], $old );
|
445 |
}
|
446 |
|
448 |
* Data variables for get/set data methods
|
449 |
*
|
450 |
* @since 1.1.0
|
451 |
+
* @param array $args Override arguments.
|
452 |
* @return array Updated arguments
|
453 |
*/
|
454 |
public function data_args( $args = array() ) {
|
466 |
* Checks if field has a registered sanitization callback
|
467 |
*
|
468 |
* @since 1.0.1
|
469 |
+
* @param mixed $meta_value Meta value.
|
470 |
* @return mixed Possibly sanitized meta value
|
471 |
*/
|
472 |
public function sanitization_cb( $meta_value ) {
|
473 |
|
474 |
if ( $this->args( 'repeatable' ) && is_array( $meta_value ) ) {
|
475 |
+
// Remove empties.
|
476 |
$meta_value = array_filter( $meta_value );
|
477 |
}
|
478 |
|
479 |
+
// Check if the field has a registered validation callback.
|
480 |
$cb = $this->maybe_callback( 'sanitization_cb' );
|
481 |
if ( false === $cb ) {
|
482 |
+
// If requesting NO validation, return meta value.
|
483 |
return $meta_value;
|
484 |
} elseif ( $cb ) {
|
485 |
// Ok, callback is good, let's run it.
|
510 |
return $override_value;
|
511 |
}
|
512 |
|
513 |
+
// Sanitization via 'CMB2_Sanitize'.
|
514 |
return $sanitizer->{$field_type}();
|
515 |
}
|
516 |
|
518 |
* Process $_POST data to save this field's value
|
519 |
*
|
520 |
* @since 2.0.3
|
521 |
+
* @param array $data_to_save $_POST data to check.
|
522 |
* @return array|int|bool Result of save, false on failure
|
523 |
*/
|
524 |
public function save_field_from_data( array $data_to_save ) {
|
535 |
* Sanitize/store a value to this field
|
536 |
*
|
537 |
* @since 2.0.0
|
538 |
+
* @param array $meta_value Desired value to sanitize/store.
|
539 |
* @return array|int|bool Result of save. false on failure
|
540 |
*/
|
541 |
public function save_field( $meta_value ) {
|
616 |
* @return bool True if exempt
|
617 |
*/
|
618 |
public function escaping_exception() {
|
619 |
+
// These types cannot be escaped.
|
620 |
return in_array( $this->type(), array(
|
621 |
'file_list',
|
622 |
'multicheck',
|
628 |
* Determine if current type cannot be repeatable
|
629 |
*
|
630 |
* @since 1.1.0
|
631 |
+
* @param string $type Field type to check.
|
632 |
* @return bool True if type cannot be repeatable
|
633 |
*/
|
634 |
public function repeatable_exception( $type ) {
|
635 |
// These types cannot be repeatable.
|
636 |
$internal_fields = array(
|
637 |
+
// Use file_list instead.
|
638 |
'file' => 1,
|
639 |
'radio' => 1,
|
640 |
'title' => 1,
|
645 |
'taxonomy_radio_inline' => 1,
|
646 |
'taxonomy_radio_hierarchical' => 1,
|
647 |
'taxonomy_select' => 1,
|
648 |
+
'taxonomy_select_hierarchical' => 1,
|
649 |
'taxonomy_multicheck' => 1,
|
650 |
'taxonomy_multicheck_inline' => 1,
|
651 |
'taxonomy_multicheck_hierarchical' => 1,
|
|
|
652 |
);
|
653 |
|
654 |
/**
|
670 |
* Determine if current type has its own defaults field-arguments method.
|
671 |
*
|
672 |
* @since 2.2.6
|
673 |
+
* @param string $type Field type to check.
|
674 |
* @return bool True if has own method.
|
675 |
*/
|
676 |
public function has_args_method( $type ) {
|
690 |
'radio',
|
691 |
'radio_inline',
|
692 |
'taxonomy_select',
|
693 |
+
'taxonomy_select_hierarchical',
|
694 |
'taxonomy_radio',
|
695 |
'taxonomy_radio_inline',
|
696 |
'taxonomy_radio_hierarchical',
|
707 |
* Escape the value before output. Defaults to 'esc_attr()'
|
708 |
*
|
709 |
* @since 1.0.1
|
710 |
+
* @param callable|string $func Escaping function (if not esc_attr()).
|
711 |
+
* @param mixed $meta_value Meta value.
|
712 |
+
* @return mixed Final value.
|
713 |
*/
|
714 |
public function escaped_value( $func = 'esc_attr', $meta_value = '' ) {
|
715 |
|
719 |
|
720 |
$meta_value = $meta_value ? $meta_value : $this->value();
|
721 |
|
722 |
+
// Check if the field has a registered escaping callback.
|
723 |
if ( $cb = $this->maybe_callback( 'escape_cb' ) ) {
|
724 |
// Ok, callback is good, let's run it.
|
725 |
return call_user_func( $cb, $meta_value, $this->args(), $this );
|
747 |
}
|
748 |
|
749 |
if ( false === $cb || $this->escaping_exception() ) {
|
750 |
+
// If requesting NO escaping, return meta value.
|
751 |
return $this->val_or_default( $meta_value );
|
752 |
}
|
753 |
|
771 |
* Return non-empty value or field default if value IS empty
|
772 |
*
|
773 |
* @since 2.0.0
|
774 |
+
* @param mixed $meta_value Field value.
|
775 |
* @return mixed Field value, or default value
|
776 |
*/
|
777 |
public function val_or_default( $meta_value ) {
|
800 |
// Is timezone arg set?
|
801 |
if ( $this->args( 'timezone' ) ) {
|
802 |
$value = $this->args( 'timezone' );
|
803 |
+
} // End if.
|
804 |
// Is there another meta key with a timezone stored as its value we should use?
|
805 |
elseif ( $this->args( 'timezone_meta_key' ) ) {
|
806 |
$value = $this->get_data( $this->args( 'timezone_meta_key' ) );
|
813 |
* Format the timestamp field value based on the field date/time format arg
|
814 |
*
|
815 |
* @since 2.0.0
|
816 |
+
* @param int $meta_value Timestamp.
|
817 |
+
* @param string $format Either date_format or time_format.
|
818 |
* @return string Formatted date
|
819 |
*/
|
820 |
public function format_timestamp( $meta_value, $format = 'date_format' ) {
|
825 |
* Return a formatted timestamp for a field
|
826 |
*
|
827 |
* @since 2.0.0
|
828 |
+
* @param string $format Either date_format or time_format.
|
829 |
+
* @param string|int $meta_value Optional meta value to check.
|
830 |
* @return string Formatted date
|
831 |
*/
|
832 |
public function get_timestamp_format( $format = 'date_format', $meta_value = 0 ) {
|
833 |
$meta_value = $meta_value ? $meta_value : $this->escaped_value();
|
834 |
+
if ( empty( $meta_value ) ) {
|
835 |
+
$meta_value = $this->get_default();
|
836 |
+
}
|
837 |
|
838 |
+
$meta_value = CMB2_Utils::make_valid_time_stamp( $meta_value );
|
839 |
if ( empty( $meta_value ) ) {
|
840 |
return '';
|
841 |
}
|
849 |
* Get timestamp from text date
|
850 |
*
|
851 |
* @since 2.2.0
|
852 |
+
* @param string $value Date value.
|
853 |
* @return mixed Unix timestamp representing the date.
|
854 |
*/
|
855 |
public function get_timestamp_from_value( $value ) {
|
866 |
|
867 |
$this->peform_param_callback( 'render_row_cb' );
|
868 |
|
869 |
+
// For chaining.
|
870 |
return $this;
|
871 |
}
|
872 |
|
877 |
*/
|
878 |
public function render_field_callback() {
|
879 |
|
880 |
+
// If field is requesting to not be shown on the front-end.
|
881 |
if ( ! is_admin() && ! $this->args( 'on_front' ) ) {
|
882 |
return;
|
883 |
}
|
884 |
|
885 |
+
// If field is requesting to be conditionally shown.
|
886 |
if ( ! $this->should_show() ) {
|
887 |
return;
|
888 |
}
|
889 |
|
890 |
+
$field_type = $this->type();
|
891 |
+
|
892 |
+
/**
|
893 |
+
* Hook before field row begins.
|
894 |
+
*
|
895 |
+
* @param CMB2_Field $field The current field object.
|
896 |
+
*/
|
897 |
+
do_action( 'cmb2_before_field_row', $this );
|
898 |
+
|
899 |
+
/**
|
900 |
+
* Hook before field row begins.
|
901 |
+
*
|
902 |
+
* The dynamic portion of the hook name, $field_type, refers to the field type.
|
903 |
+
*
|
904 |
+
* @param CMB2_Field $field The current field object.
|
905 |
+
*/
|
906 |
+
do_action( "cmb2_before_{$field_type}_field_row", $this );
|
907 |
+
|
908 |
$this->peform_param_callback( 'before_row' );
|
909 |
|
910 |
+
printf( "<div class=\"cmb-row %s\" data-fieldtype=\"%s\">\n", $this->row_classes(), $field_type );
|
911 |
|
912 |
if ( ! $this->args( 'show_names' ) ) {
|
913 |
echo "\n\t<div class=\"cmb-td\">\n";
|
934 |
|
935 |
$this->peform_param_callback( 'after_row' );
|
936 |
|
937 |
+
/**
|
938 |
+
* Hook after field row ends.
|
939 |
+
*
|
940 |
+
* The dynamic portion of the hook name, $field_type, refers to the field type.
|
941 |
+
*
|
942 |
+
* @param CMB2_Field $field The current field object.
|
943 |
+
*/
|
944 |
+
do_action( "cmb2_after_{$field_type}_field_row", $this );
|
945 |
+
|
946 |
+
/**
|
947 |
+
* Hook after field row ends.
|
948 |
+
*
|
949 |
+
* @param CMB2_Field $field The current field object.
|
950 |
+
*/
|
951 |
+
do_action( 'cmb2_after_field_row', $this );
|
952 |
+
|
953 |
+
// For chaining.
|
954 |
return $this;
|
955 |
}
|
956 |
|
958 |
* The default label_cb callback (if not a title field)
|
959 |
*
|
960 |
* @since 2.1.1
|
961 |
+
* @return string Label html markup.
|
962 |
*/
|
963 |
public function label() {
|
964 |
if ( ! $this->args( 'name' ) ) {
|
1038 |
|
1039 |
$this->peform_param_callback( 'display_cb' );
|
1040 |
|
1041 |
+
// For chaining.
|
1042 |
return $this;
|
1043 |
}
|
1044 |
|
1045 |
+
/**
|
1046 |
+
* The method to fetch the value for this field for the REST API.
|
1047 |
+
*
|
1048 |
+
* @since 2.5.0
|
1049 |
+
*/
|
1050 |
+
public function get_rest_value() {
|
1051 |
+
$field_type = $this->type();
|
1052 |
+
$field_id = $this->id( true );
|
1053 |
+
|
1054 |
+
if ( $cb = $this->maybe_callback( 'rest_value_cb' ) ) {
|
1055 |
+
add_filter( "cmb2_get_rest_value_for_{$field_id}", $cb, 99 );
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
$value = $this->get_data();
|
1059 |
+
|
1060 |
+
/**
|
1061 |
+
* Filter the value before it is sent to the REST request.
|
1062 |
+
*
|
1063 |
+
* @since 2.5.0
|
1064 |
+
*
|
1065 |
+
* @param mixed $value The value from CMB2_Field::get_data()
|
1066 |
+
* @param CMB2_Field $field This field object.
|
1067 |
+
*/
|
1068 |
+
$value = apply_filters( 'cmb2_get_rest_value', $value, $this );
|
1069 |
+
|
1070 |
+
/**
|
1071 |
+
* Filter the value before it is sent to the REST request.
|
1072 |
+
*
|
1073 |
+
* The dynamic portion of the hook name, $field_type, refers to the field type.
|
1074 |
+
*
|
1075 |
+
* @since 2.5.0
|
1076 |
+
*
|
1077 |
+
* @param mixed $value The value from CMB2_Field::get_data()
|
1078 |
+
* @param CMB2_Field $field This field object.
|
1079 |
+
*/
|
1080 |
+
$value = apply_filters( "cmb2_get_rest_value_{$field_type}", $value, $this );
|
1081 |
+
|
1082 |
+
/**
|
1083 |
+
* Filter the value before it is sent to the REST request.
|
1084 |
+
*
|
1085 |
+
* The dynamic portion of the hook name, $field_id, refers to the field id.
|
1086 |
+
*
|
1087 |
+
* @since 2.5.0
|
1088 |
+
*
|
1089 |
+
* @param mixed $value The value from CMB2_Field::get_data()
|
1090 |
+
* @param CMB2_Field $field This field object.
|
1091 |
+
*/
|
1092 |
+
return apply_filters( "cmb2_get_rest_value_for_{$field_id}", $value, $this );
|
1093 |
+
}
|
1094 |
+
|
1095 |
+
/**
|
1096 |
+
* Get a field object for a supporting field. (e.g. file field)
|
1097 |
+
*
|
1098 |
+
* @since 2.7.0
|
1099 |
+
*
|
1100 |
+
* @return CMB2_Field|bool Supporting field object, if supported.
|
1101 |
+
*/
|
1102 |
+
public function get_supporting_field() {
|
1103 |
+
$suffix = $this->args( 'has_supporting_data' );
|
1104 |
+
if ( empty( $suffix ) ) {
|
1105 |
+
return false;
|
1106 |
+
}
|
1107 |
+
|
1108 |
+
return $this->get_field_clone( array(
|
1109 |
+
'id' => $this->_id( '', false ) . $suffix,
|
1110 |
+
'sanitization_cb' => false,
|
1111 |
+
) );
|
1112 |
+
}
|
1113 |
+
|
1114 |
/**
|
1115 |
* Default callback to outputs field value in a display format.
|
1116 |
*
|
1117 |
* @since 2.2.2
|
1118 |
*/
|
1119 |
public function display_value_callback() {
|
1120 |
+
// If field is requesting to be conditionally shown.
|
1121 |
if ( ! $this->should_show() ) {
|
1122 |
return;
|
1123 |
}
|
1157 |
|
1158 |
$this->peform_param_callback( 'after_display_wrap' );
|
1159 |
|
1160 |
+
// For chaining.
|
1161 |
return $this;
|
1162 |
}
|
1163 |
|
1165 |
* Replaces a hash key - {#} - with the repeatable index
|
1166 |
*
|
1167 |
* @since 1.2.0
|
1168 |
+
* @param string $value Value to update.
|
1169 |
* @return string Updated value
|
1170 |
*/
|
1171 |
public function replace_hash( $value ) {
|
1172 |
+
// Replace hash with 1 based count.
|
1173 |
return str_replace( '{#}', ( $this->index + 1 ), $value );
|
1174 |
}
|
1175 |
|
1178 |
* For back-compatibility, falls back to checking the options array.
|
1179 |
*
|
1180 |
* @since 2.2.2
|
1181 |
+
* @param string $text_key Key in field's text array.
|
1182 |
+
* @param string $fallback Fallback text.
|
1183 |
* @return string Text
|
1184 |
*/
|
1185 |
public function get_string( $text_key, $fallback ) {
|
1211 |
* Retrieve options args.
|
1212 |
*
|
1213 |
* @since 2.0.0
|
1214 |
+
* @param string $key Specific option to retrieve.
|
1215 |
* @return array|mixed Array of options or specific option.
|
1216 |
*/
|
1217 |
public function options( $key = '' ) {
|
1348 |
*
|
1349 |
* @since 1.1.0
|
1350 |
*
|
1351 |
+
* @param array $args Field config array.
|
1352 |
* @return array Modified field config array.
|
1353 |
*/
|
1354 |
public function _set_field_defaults( $args ) {
|
1355 |
+
$defaults = $this->get_default_field_args( $args );
|
1356 |
+
|
1357 |
+
/**
|
1358 |
+
* Filter the CMB2 Field defaults.
|
1359 |
+
*
|
1360 |
+
* @since 2.6.0
|
1361 |
+
* @param array $defaults Metabox field config array defaults.
|
1362 |
+
* @param string $id Field id for the current field to allow for selective filtering.
|
1363 |
+
* @param string $type Field type for the current field to allow for selective filtering.
|
1364 |
+
* @param CMB2_Field object $field This field object.
|
1365 |
+
*/
|
1366 |
+
$defaults = apply_filters( 'cmb2_field_defaults', $defaults, $args['id'], $args['type'], $this );
|
1367 |
|
1368 |
+
// Set up blank or default values for empty ones.
|
1369 |
+
$args = wp_parse_args( $args, $defaults );
|
1370 |
+
|
1371 |
+
/**
|
1372 |
+
* Filtering the CMB2 Field arguments once merged with the defaults, but before further processing.
|
1373 |
+
*
|
1374 |
+
* @since 2.6.0
|
1375 |
+
* @param array $args Metabox field config array defaults.
|
1376 |
+
* @param CMB2_Field object $field This field object.
|
1377 |
+
*/
|
1378 |
+
$args = apply_filters( 'cmb2_field_arguments_raw', $args, $this );
|
1379 |
|
1380 |
/*
|
1381 |
* Deprecated usage:
|
1399 |
$args = $this->set_group_sub_field_defaults( $args );
|
1400 |
}
|
1401 |
|
1402 |
+
$with_supporting = array(
|
1403 |
+
// CMB2_Sanitize::_save_file_id_value()/CMB2_Sanitize::_get_group_file_value_array().
|
1404 |
+
'file' => '_id',
|
1405 |
+
// See CMB2_Sanitize::_save_utc_value().
|
1406 |
+
'text_datetime_timestamp_timezone' => '_utc',
|
|
|
|
|
|
|
|
|
1407 |
);
|
1408 |
|
1409 |
+
$args['has_supporting_data'] = isset( $with_supporting[ $args['type'] ] )
|
1410 |
+
? $with_supporting[ $args['type'] ]
|
1411 |
+
: false;
|
1412 |
+
|
1413 |
+
// Repeatable fields require jQuery sortable library.
|
1414 |
+
if ( ! empty( $args['repeatable'] ) ) {
|
1415 |
+
CMB2_JS::add_dependencies( 'jquery-ui-sortable' );
|
1416 |
+
}
|
1417 |
+
|
1418 |
+
/**
|
1419 |
+
* Filter the CMB2 Field arguments after processing.
|
1420 |
+
*
|
1421 |
+
* @since 2.6.0
|
1422 |
+
* @param array $args Metabox field config array after processing.
|
1423 |
+
* @param CMB2_Field object $field This field object.
|
1424 |
+
*/
|
1425 |
+
return apply_filters( 'cmb2_field_arguments', $args, $this );
|
1426 |
}
|
1427 |
|
1428 |
/**
|
1430 |
*
|
1431 |
* @since 2.2.6
|
1432 |
*
|
1433 |
+
* @param array $args Field config array.
|
1434 |
* @return array Modified field config array.
|
1435 |
*/
|
1436 |
protected function set_field_defaults_group( $args ) {
|
1437 |
$args['options'] = wp_parse_args( $args['options'], array(
|
1438 |
+
'add_button' => esc_html__( 'Add Group', 'cmb2' ),
|
1439 |
+
'remove_button' => esc_html__( 'Remove Group', 'cmb2' ),
|
1440 |
+
'remove_confirm' => '',
|
1441 |
) );
|
1442 |
|
1443 |
return $args;
|
1448 |
*
|
1449 |
* @since 2.2.6
|
1450 |
*
|
1451 |
+
* @param array $args Field config array.
|
1452 |
* @return array Modified field config array.
|
1453 |
*/
|
1454 |
protected function set_field_defaults_wysiwyg( $args ) {
|
1463 |
*
|
1464 |
* @since 2.2.6
|
1465 |
*
|
1466 |
+
* @param array $args Field config array.
|
1467 |
* @return array Modified field config array.
|
1468 |
*/
|
1469 |
protected function set_field_defaults_all_or_nothing_types( $args ) {
|
1483 |
*
|
1484 |
* @since 2.2.6
|
1485 |
*
|
1486 |
+
* @param array $args Field config array.
|
1487 |
* @return array Modified field config array.
|
1488 |
*/
|
1489 |
protected function set_group_sub_field_defaults( $args ) {
|
1498 |
*
|
1499 |
* @since 2.2.6
|
1500 |
*
|
1501 |
+
* @param array $args Field config array.
|
1502 |
* @return array Field defaults.
|
1503 |
*/
|
1504 |
protected function get_default_field_args( $args ) {
|
1526 |
'inline' => false,
|
1527 |
'on_front' => true,
|
1528 |
'show_names' => true,
|
1529 |
+
'save_field' => true, // Will not save if false.
|
1530 |
'date_format' => 'm\/d\/Y',
|
1531 |
'time_format' => 'h:i A',
|
1532 |
'description' => isset( $args['desc'] ) ? $args['desc'] : '',
|
1537 |
'column' => false,
|
1538 |
'js_dependencies' => array(),
|
1539 |
'show_in_rest' => null,
|
1540 |
+
'char_counter' => false,
|
1541 |
+
'char_max' => false,
|
1542 |
+
'char_max_enforce' => false,
|
1543 |
);
|
1544 |
}
|
1545 |
|
1548 |
*
|
1549 |
* @since 2.2.0
|
1550 |
* @param array $field_args Metabox field config array.
|
1551 |
+
* @param CMB2_Field $field_group (optional) CMB2_Field object (group parent).
|
1552 |
* @return array Array of field arguments.
|
1553 |
*/
|
1554 |
protected function get_default_args( $field_args, $field_group = null ) {
|
1569 |
*
|
1570 |
* @since 2.2.2
|
1571 |
* @param array $field_args Array of field arguments, or entire array of
|
1572 |
+
* arguments for CMB2_Field.
|
1573 |
*
|
1574 |
* @return CMB2_Field The new CMB2_Field instance.
|
1575 |
*/
|
1620 |
unset( $args['row_classes'] );
|
1621 |
}
|
1622 |
|
1623 |
+
// default param can be passed a callback as well.
|
1624 |
if ( is_callable( $args['default'] ) ) {
|
1625 |
|
1626 |
$this->deprecated_param( __CLASS__ . '::__construct()', '2.2.3', self::DEPRECATED_CB_PARAM, 'default', 'default_cb' );
|
1629 |
$args['default'] = null;
|
1630 |
}
|
1631 |
|
1632 |
+
// options param can be passed a callback as well.
|
1633 |
if ( is_callable( $args['options'] ) ) {
|
1634 |
|
1635 |
$this->deprecated_param( __CLASS__ . '::__construct()', '2.2.3', self::DEPRECATED_CB_PARAM, 'options', 'options_cb' );
|
includes/lib/cmb2/includes/CMB2_Field_Display.php
CHANGED
@@ -32,83 +32,104 @@ class CMB2_Field_Display {
|
|
32 |
* Get the corresponding display class for the field type.
|
33 |
*
|
34 |
* @since 2.2.2
|
35 |
-
* @param CMB2_Field $field
|
36 |
* @return CMB2_Field_Display
|
37 |
*/
|
38 |
public static function get( CMB2_Field $field ) {
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
|
107 |
/**
|
108 |
* Setup our class vars
|
109 |
*
|
110 |
* @since 2.2.2
|
111 |
-
* @param CMB2_Field $field A CMB2 field object
|
112 |
*/
|
113 |
public function __construct( CMB2_Field $field ) {
|
114 |
$this->field = $field;
|
@@ -122,14 +143,14 @@ class CMB2_Field_Display {
|
|
122 |
* @since 2.2.2
|
123 |
*/
|
124 |
public function display() {
|
125 |
-
// If repeatable
|
126 |
if ( $this->field->args( 'repeatable' ) ) {
|
127 |
|
128 |
-
// And has a repeatable value
|
129 |
if ( is_array( $this->field->value ) ) {
|
130 |
|
131 |
// Then loop and output.
|
132 |
-
echo '<ul class="cmb2-' . str_replace( '_', '-', $this->field->type() ) . '">';
|
133 |
foreach ( $this->field->value as $val ) {
|
134 |
$this->value = $val;
|
135 |
echo '<li>', $this->_display(), '</li>';
|
@@ -376,7 +397,7 @@ class CMB2_Display_Taxonomy_Multicheck extends CMB2_Field_Display {
|
|
376 |
$links[] = '<a href="' . esc_url( $link ) . '">' . esc_html( $term->name ) . '</a>';
|
377 |
}
|
378 |
// Then loop and output.
|
379 |
-
echo '<div class="cmb2-taxonomy-terms-', esc_attr( $taxonomy ), '">';
|
380 |
echo implode( ', ', $links );
|
381 |
echo '</div>';
|
382 |
}
|
@@ -400,14 +421,14 @@ class CMB2_Display_File extends CMB2_Field_Display {
|
|
400 |
$type = $types->get_new_render_type( $this->field->type(), 'CMB2_Type_File_Base' );
|
401 |
|
402 |
$id = $this->field->get_field_clone( array(
|
403 |
-
'id' => $this->field->_id() . '_id',
|
404 |
) )->escaped_value( 'absint' );
|
405 |
|
406 |
$this->file_output( $this->value, $id, $type );
|
407 |
}
|
408 |
|
409 |
protected function file_output( $url_value, $id, CMB2_Type_File_Base $field_type ) {
|
410 |
-
// If there is no ID saved yet, try to get it from the url
|
411 |
if ( $url_value && ! $id ) {
|
412 |
$id = CMB2_Utils::image_id_from_url( esc_url_raw( $url_value ) );
|
413 |
}
|
@@ -421,7 +442,7 @@ class CMB2_Display_File extends CMB2_Field_Display {
|
|
421 |
) );
|
422 |
} else {
|
423 |
$size = is_array( $img_size ) ? $img_size[0] : 200;
|
424 |
-
$image = '<img class="cmb-image-display" style="max-width: ' . absint( $size ) . 'px; width: 100%; height: auto;" src="' . $url_value . '" alt="" />';
|
425 |
}
|
426 |
|
427 |
echo $image;
|
@@ -429,9 +450,9 @@ class CMB2_Display_File extends CMB2_Field_Display {
|
|
429 |
} else {
|
430 |
|
431 |
printf( '<div class="file-status"><span>%1$s <strong><a href="%2$s">%3$s</a></strong></span></div>',
|
432 |
-
esc_html( $field_type->_text( 'file_text',
|
433 |
-
$url_value,
|
434 |
-
CMB2_Utils::get_file_name_from_path( $url_value )
|
435 |
);
|
436 |
|
437 |
}
|
32 |
* Get the corresponding display class for the field type.
|
33 |
*
|
34 |
* @since 2.2.2
|
35 |
+
* @param CMB2_Field $field Requested field type.
|
36 |
* @return CMB2_Field_Display
|
37 |
*/
|
38 |
public static function get( CMB2_Field $field ) {
|
39 |
+
$fieldtype = $field->type();
|
40 |
+
$display_class_name = $field->args( 'display_class' );
|
41 |
+
|
42 |
+
if ( empty( $display_class_name ) ) {
|
43 |
+
switch ( $fieldtype ) {
|
44 |
+
case 'text_url':
|
45 |
+
$display_class_name = 'CMB2_Display_Text_Url';
|
46 |
+
break;
|
47 |
+
case 'text_money':
|
48 |
+
$display_class_name = 'CMB2_Display_Text_Money';
|
49 |
+
break;
|
50 |
+
case 'colorpicker':
|
51 |
+
$display_class_name = 'CMB2_Display_Colorpicker';
|
52 |
+
break;
|
53 |
+
case 'checkbox':
|
54 |
+
$display_class_name = 'CMB2_Display_Checkbox';
|
55 |
+
break;
|
56 |
+
case 'wysiwyg':
|
57 |
+
case 'textarea_small':
|
58 |
+
$display_class_name = 'CMB2_Display_Textarea';
|
59 |
+
break;
|
60 |
+
case 'textarea_code':
|
61 |
+
$display_class_name = 'CMB2_Display_Textarea_Code';
|
62 |
+
break;
|
63 |
+
case 'text_time':
|
64 |
+
$display_class_name = 'CMB2_Display_Text_Time';
|
65 |
+
break;
|
66 |
+
case 'text_date':
|
67 |
+
case 'text_date_timestamp':
|
68 |
+
case 'text_datetime_timestamp':
|
69 |
+
$display_class_name = 'CMB2_Display_Text_Date';
|
70 |
+
break;
|
71 |
+
case 'text_datetime_timestamp_timezone':
|
72 |
+
$display_class_name = 'CMB2_Display_Text_Date_Timezone';
|
73 |
+
break;
|
74 |
+
case 'select':
|
75 |
+
case 'radio':
|
76 |
+
case 'radio_inline':
|
77 |
+
$display_class_name = 'CMB2_Display_Select';
|
78 |
+
break;
|
79 |
+
case 'multicheck':
|
80 |
+
case 'multicheck_inline':
|
81 |
+
$display_class_name = 'CMB2_Display_Multicheck';
|
82 |
+
break;
|
83 |
+
case 'taxonomy_radio':
|
84 |
+
case 'taxonomy_radio_inline':
|
85 |
+
case 'taxonomy_select':
|
86 |
+
case 'taxonomy_select_hierarchical':
|
87 |
+
case 'taxonomy_radio_hierarchical':
|
88 |
+
$display_class_name = 'CMB2_Display_Taxonomy_Radio';
|
89 |
+
break;
|
90 |
+
case 'taxonomy_multicheck':
|
91 |
+
case 'taxonomy_multicheck_inline':
|
92 |
+
case 'taxonomy_multicheck_hierarchical':
|
93 |
+
$display_class_name = 'CMB2_Display_Taxonomy_Multicheck';
|
94 |
+
break;
|
95 |
+
case 'file':
|
96 |
+
$display_class_name = 'CMB2_Display_File';
|
97 |
+
break;
|
98 |
+
case 'file_list':
|
99 |
+
$display_class_name = 'CMB2_Display_File_List';
|
100 |
+
break;
|
101 |
+
case 'oembed':
|
102 |
+
$display_class_name = 'CMB2_Display_oEmbed';
|
103 |
+
break;
|
104 |
+
default:
|
105 |
+
$display_class_name = __CLASS__;
|
106 |
+
break;
|
107 |
+
}// End switch.
|
108 |
+
}
|
109 |
+
|
110 |
+
if ( has_action( "cmb2_display_class_{$fieldtype}" ) ) {
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Filters the custom field display class used for displaying the field. Class is required to extend CMB2_Type_Base.
|
114 |
+
*
|
115 |
+
* The dynamic portion of the hook name, $fieldtype, refers to the (custom) field type.
|
116 |
+
*
|
117 |
+
* @since 2.2.4
|
118 |
+
*
|
119 |
+
* @param string $display_class_name The custom field display class to use.
|
120 |
+
* @param object $field The `CMB2_Field` object.
|
121 |
+
*/
|
122 |
+
$display_class_name = apply_filters( "cmb2_display_class_{$fieldtype}", $display_class_name, $field );
|
123 |
+
}
|
124 |
+
|
125 |
+
return new $display_class_name( $field );
|
126 |
}
|
127 |
|
128 |
/**
|
129 |
* Setup our class vars
|
130 |
*
|
131 |
* @since 2.2.2
|
132 |
+
* @param CMB2_Field $field A CMB2 field object.
|
133 |
*/
|
134 |
public function __construct( CMB2_Field $field ) {
|
135 |
$this->field = $field;
|
143 |
* @since 2.2.2
|
144 |
*/
|
145 |
public function display() {
|
146 |
+
// If repeatable.
|
147 |
if ( $this->field->args( 'repeatable' ) ) {
|
148 |
|
149 |
+
// And has a repeatable value.
|
150 |
if ( is_array( $this->field->value ) ) {
|
151 |
|
152 |
// Then loop and output.
|
153 |
+
echo '<ul class="cmb2-' . esc_attr( sanitize_html_class( str_replace( '_', '-', $this->field->type() ) ) ) . '">';
|
154 |
foreach ( $this->field->value as $val ) {
|
155 |
$this->value = $val;
|
156 |
echo '<li>', $this->_display(), '</li>';
|
397 |
$links[] = '<a href="' . esc_url( $link ) . '">' . esc_html( $term->name ) . '</a>';
|
398 |
}
|
399 |
// Then loop and output.
|
400 |
+
echo '<div class="cmb2-taxonomy-terms-', esc_attr( sanitize_html_class( $taxonomy ) ), '">';
|
401 |
echo implode( ', ', $links );
|
402 |
echo '</div>';
|
403 |
}
|
421 |
$type = $types->get_new_render_type( $this->field->type(), 'CMB2_Type_File_Base' );
|
422 |
|
423 |
$id = $this->field->get_field_clone( array(
|
424 |
+
'id' => $this->field->_id( '', false ) . '_id',
|
425 |
) )->escaped_value( 'absint' );
|
426 |
|
427 |
$this->file_output( $this->value, $id, $type );
|
428 |
}
|
429 |
|
430 |
protected function file_output( $url_value, $id, CMB2_Type_File_Base $field_type ) {
|
431 |
+
// If there is no ID saved yet, try to get it from the url.
|
432 |
if ( $url_value && ! $id ) {
|
433 |
$id = CMB2_Utils::image_id_from_url( esc_url_raw( $url_value ) );
|
434 |
}
|
442 |
) );
|
443 |
} else {
|
444 |
$size = is_array( $img_size ) ? $img_size[0] : 200;
|
445 |
+
$image = '<img class="cmb-image-display" style="max-width: ' . absint( $size ) . 'px; width: 100%; height: auto;" src="' . esc_url( $url_value ) . '" alt="" />';
|
446 |
}
|
447 |
|
448 |
echo $image;
|
450 |
} else {
|
451 |
|
452 |
printf( '<div class="file-status"><span>%1$s <strong><a href="%2$s">%3$s</a></strong></span></div>',
|
453 |
+
esc_html( $field_type->_text( 'file_text', __( 'File:', 'cmb2' ) ) ),
|
454 |
+
esc_url( $url_value ),
|
455 |
+
esc_html( CMB2_Utils::get_file_name_from_path( $url_value ) )
|
456 |
);
|
457 |
|
458 |
}
|
includes/lib/cmb2/includes/CMB2_Hookup_Base.php
CHANGED
@@ -16,6 +16,8 @@
|
|
16 |
abstract class CMB2_Hookup_Base {
|
17 |
|
18 |
/**
|
|
|
|
|
19 |
* @var CMB2 object
|
20 |
* @since 2.0.2
|
21 |
*/
|
@@ -34,9 +36,9 @@ abstract class CMB2_Hookup_Base {
|
|
34 |
*
|
35 |
* @since 2.2.6
|
36 |
*
|
37 |
-
* @
|
38 |
*
|
39 |
-
* @
|
40 |
*/
|
41 |
public static function maybe_init_and_hookup( CMB2 $cmb ) {
|
42 |
throw new Exception( sprintf( esc_html__( '%1$s should be implemented by the extended class.', 'cmb2' ), __FUNCTION__ ) );
|
@@ -46,7 +48,7 @@ abstract class CMB2_Hookup_Base {
|
|
46 |
* Constructor
|
47 |
*
|
48 |
* @since 2.0.0
|
49 |
-
* @param CMB2 $cmb The CMB2 object to hookup
|
50 |
*/
|
51 |
public function __construct( CMB2 $cmb ) {
|
52 |
$this->cmb = $cmb;
|
@@ -61,7 +63,7 @@ abstract class CMB2_Hookup_Base {
|
|
61 |
* @since 2.0.0
|
62 |
* @param string $action The name of the filter to hook the $hook callback to.
|
63 |
* @param callback $hook The callback to be run when the filter is applied.
|
64 |
-
* @param integer $priority Order the functions are executed
|
65 |
* @param int $accepted_args The number of arguments the function accepts.
|
66 |
*/
|
67 |
public function once( $action, $hook, $priority = 10, $accepted_args = 1 ) {
|
@@ -87,7 +89,7 @@ abstract class CMB2_Hookup_Base {
|
|
87 |
/**
|
88 |
* Magic getter for our object.
|
89 |
*
|
90 |
-
* @param string $field
|
91 |
* @throws Exception Throws an exception if the field is invalid.
|
92 |
* @return mixed
|
93 |
*/
|
16 |
abstract class CMB2_Hookup_Base {
|
17 |
|
18 |
/**
|
19 |
+
* CMB2 object.
|
20 |
+
*
|
21 |
* @var CMB2 object
|
22 |
* @since 2.0.2
|
23 |
*/
|
36 |
*
|
37 |
* @since 2.2.6
|
38 |
*
|
39 |
+
* @throws Exception Failed implementation.
|
40 |
*
|
41 |
+
* @param CMB2 $cmb The CMB2 object to hookup.
|
42 |
*/
|
43 |
public static function maybe_init_and_hookup( CMB2 $cmb ) {
|
44 |
throw new Exception( sprintf( esc_html__( '%1$s should be implemented by the extended class.', 'cmb2' ), __FUNCTION__ ) );
|
48 |
* Constructor
|
49 |
*
|
50 |
* @since 2.0.0
|
51 |
+
* @param CMB2 $cmb The CMB2 object to hookup.
|
52 |
*/
|
53 |
public function __construct( CMB2 $cmb ) {
|
54 |
$this->cmb = $cmb;
|
63 |
* @since 2.0.0
|
64 |
* @param string $action The name of the filter to hook the $hook callback to.
|
65 |
* @param callback $hook The callback to be run when the filter is applied.
|
66 |
+
* @param integer $priority Order the functions are executed.
|
67 |
* @param int $accepted_args The number of arguments the function accepts.
|
68 |
*/
|
69 |
public function once( $action, $hook, $priority = 10, $accepted_args = 1 ) {
|
89 |
/**
|
90 |
* Magic getter for our object.
|
91 |
*
|
92 |
+
* @param string $field Property to return.
|
93 |
* @throws Exception Throws an exception if the field is invalid.
|
94 |
* @return mixed
|
95 |
*/
|
includes/lib/cmb2/includes/CMB2_JS.php
CHANGED
@@ -48,7 +48,7 @@ class CMB2_JS {
|
|
48 |
* Add a dependency to the array of CMB2 JS dependencies
|
49 |
*
|
50 |
* @since 2.0.7
|
51 |
-
* @param array|string $dependencies Array (or string) of dependencies to add
|
52 |
*/
|
53 |
public static function add_dependencies( $dependencies ) {
|
54 |
foreach ( (array) $dependencies as $dependency ) {
|
@@ -76,47 +76,59 @@ class CMB2_JS {
|
|
76 |
* @since 2.0.7
|
77 |
*/
|
78 |
public static function enqueue() {
|
79 |
-
// Filter required script dependencies
|
80 |
$dependencies = self::$dependencies = apply_filters( 'cmb2_script_dependencies', self::$dependencies );
|
81 |
|
82 |
-
// Only use minified files if SCRIPT_DEBUG is off
|
83 |
$debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG;
|
84 |
|
85 |
$min = $debug ? '' : '.min';
|
86 |
|
87 |
-
// if colorpicker
|
88 |
if ( isset( $dependencies['wp-color-picker'] ) ) {
|
89 |
if ( ! is_admin() ) {
|
90 |
self::colorpicker_frontend();
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
|
|
93 |
if ( isset( $dependencies['wp-color-picker-alpha'] ) ) {
|
94 |
self::register_colorpicker_alpha();
|
95 |
}
|
96 |
}
|
97 |
|
98 |
-
// if file/file_list
|
99 |
if ( isset( $dependencies['media-editor'] ) ) {
|
100 |
wp_enqueue_media();
|
101 |
CMB2_Type_File_Base::output_js_underscore_templates();
|
102 |
}
|
103 |
|
104 |
-
// if timepicker
|
105 |
if ( isset( $dependencies['jquery-ui-datetimepicker'] ) ) {
|
106 |
self::register_datetimepicker();
|
107 |
}
|
108 |
|
109 |
-
// if cmb2-wysiwyg
|
110 |
$enqueue_wysiwyg = isset( $dependencies['cmb2-wysiwyg'] ) && $debug;
|
111 |
unset( $dependencies['cmb2-wysiwyg'] );
|
112 |
|
113 |
-
//
|
114 |
-
|
|
|
|
|
|
|
|
|
115 |
|
116 |
// if SCRIPT_DEBUG, we need to enqueue separately.
|
117 |
if ( $enqueue_wysiwyg ) {
|
118 |
wp_enqueue_script( 'cmb2-wysiwyg', CMB2_Utils::url( 'js/cmb2-wysiwyg.js' ), array( 'jquery', 'wp-util' ), CMB2_VERSION );
|
119 |
}
|
|
|
|
|
|
|
120 |
|
121 |
self::localize( $debug );
|
122 |
|
@@ -128,12 +140,12 @@ class CMB2_JS {
|
|
128 |
*
|
129 |
* @since 2.2.7
|
130 |
*
|
131 |
-
* @param boolean $enqueue
|
132 |
*
|
133 |
* @return void
|
134 |
*/
|
135 |
public static function register_colorpicker_alpha( $enqueue = false ) {
|
136 |
-
// Only use minified files if SCRIPT_DEBUG is off
|
137 |
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
138 |
$func = $enqueue ? 'wp_enqueue_script' : 'wp_register_script';
|
139 |
$func( 'wp-color-picker-alpha', CMB2_Utils::url( "js/wp-color-picker-alpha{$min}.js" ), array( 'wp-color-picker' ), '2.1.3' );
|
@@ -144,7 +156,7 @@ class CMB2_JS {
|
|
144 |
*
|
145 |
* @since 2.2.7
|
146 |
*
|
147 |
-
* @param boolean $enqueue
|
148 |
*
|
149 |
* @return void
|
150 |
*/
|
@@ -173,6 +185,8 @@ class CMB2_JS {
|
|
173 |
* Localize the php variables for CMB2 JS
|
174 |
*
|
175 |
* @since 2.0.7
|
|
|
|
|
176 |
*/
|
177 |
protected static function localize( $debug ) {
|
178 |
static $localized = false;
|
48 |
* Add a dependency to the array of CMB2 JS dependencies
|
49 |
*
|
50 |
* @since 2.0.7
|
51 |
+
* @param array|string $dependencies Array (or string) of dependencies to add.
|
52 |
*/
|
53 |
public static function add_dependencies( $dependencies ) {
|
54 |
foreach ( (array) $dependencies as $dependency ) {
|
76 |
* @since 2.0.7
|
77 |
*/
|
78 |
public static function enqueue() {
|
79 |
+
// Filter required script dependencies.
|
80 |
$dependencies = self::$dependencies = apply_filters( 'cmb2_script_dependencies', self::$dependencies );
|
81 |
|
82 |
+
// Only use minified files if SCRIPT_DEBUG is off.
|
83 |
$debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG;
|
84 |
|
85 |
$min = $debug ? '' : '.min';
|
86 |
|
87 |
+
// if colorpicker.
|
88 |
if ( isset( $dependencies['wp-color-picker'] ) ) {
|
89 |
if ( ! is_admin() ) {
|
90 |
self::colorpicker_frontend();
|
91 |
}
|
92 |
|
93 |
+
// Enqueue colorpicker
|
94 |
+
if ( ! wp_script_is( 'wp-color-picker', 'enqueued' ) ) {
|
95 |
+
wp_enqueue_script( 'wp-color-picker' );
|
96 |
+
}
|
97 |
+
|
98 |
if ( isset( $dependencies['wp-color-picker-alpha'] ) ) {
|
99 |
self::register_colorpicker_alpha();
|
100 |
}
|
101 |
}
|
102 |
|
103 |
+
// if file/file_list.
|
104 |
if ( isset( $dependencies['media-editor'] ) ) {
|
105 |
wp_enqueue_media();
|
106 |
CMB2_Type_File_Base::output_js_underscore_templates();
|
107 |
}
|
108 |
|
109 |
+
// if timepicker.
|
110 |
if ( isset( $dependencies['jquery-ui-datetimepicker'] ) ) {
|
111 |
self::register_datetimepicker();
|
112 |
}
|
113 |
|
114 |
+
// if cmb2-wysiwyg.
|
115 |
$enqueue_wysiwyg = isset( $dependencies['cmb2-wysiwyg'] ) && $debug;
|
116 |
unset( $dependencies['cmb2-wysiwyg'] );
|
117 |
|
118 |
+
// if cmb2-char-counter.
|
119 |
+
$enqueue_char_counter = isset( $dependencies['cmb2-char-counter'] ) && $debug;
|
120 |
+
unset( $dependencies['cmb2-char-counter'] );
|
121 |
+
|
122 |
+
// Enqueue cmb JS.
|
123 |
+
wp_enqueue_script( self::$handle, CMB2_Utils::url( "js/cmb2{$min}.js" ), array_values( $dependencies ), CMB2_VERSION, true );
|
124 |
|
125 |
// if SCRIPT_DEBUG, we need to enqueue separately.
|
126 |
if ( $enqueue_wysiwyg ) {
|
127 |
wp_enqueue_script( 'cmb2-wysiwyg', CMB2_Utils::url( 'js/cmb2-wysiwyg.js' ), array( 'jquery', 'wp-util' ), CMB2_VERSION );
|
128 |
}
|
129 |
+
if ( $enqueue_char_counter ) {
|
130 |
+
wp_enqueue_script( 'cmb2-char-counter', CMB2_Utils::url( 'js/cmb2-char-counter.js' ), array( 'jquery', 'wp-util' ), CMB2_VERSION );
|
131 |
+
}
|
132 |
|
133 |
self::localize( $debug );
|
134 |
|
140 |
*
|
141 |
* @since 2.2.7
|
142 |
*
|
143 |
+
* @param boolean $enqueue Whether or not to enqueue.
|
144 |
*
|
145 |
* @return void
|
146 |
*/
|
147 |
public static function register_colorpicker_alpha( $enqueue = false ) {
|
148 |
+
// Only use minified files if SCRIPT_DEBUG is off.
|
149 |
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
150 |
$func = $enqueue ? 'wp_enqueue_script' : 'wp_register_script';
|
151 |
$func( 'wp-color-picker-alpha', CMB2_Utils::url( "js/wp-color-picker-alpha{$min}.js" ), array( 'wp-color-picker' ), '2.1.3' );
|
156 |
*
|
157 |
* @since 2.2.7
|
158 |
*
|
159 |
+
* @param boolean $enqueue Whether or not to enqueue.
|
160 |
*
|
161 |
* @return void
|
162 |
*/
|
185 |
* Localize the php variables for CMB2 JS
|
186 |
*
|
187 |
* @since 2.0.7
|
188 |
+
*
|
189 |
+
* @param mixed $debug Whether or not we are debugging.
|
190 |
*/
|
191 |
protected static function localize( $debug ) {
|
192 |
static $localized = false;
|
includes/lib/cmb2/includes/CMB2_Options.php
CHANGED
@@ -72,7 +72,7 @@ class CMB2_Option {
|
|
72 |
* Delete the option from the db
|
73 |
*
|
74 |
* @since 2.0.0
|
75 |
-
* @return
|
76 |
*/
|
77 |
public function delete_option() {
|
78 |
$deleted = $this->key ? delete_option( $this->key ) : true;
|
@@ -84,7 +84,8 @@ class CMB2_Option {
|
|
84 |
* Removes an option from an option array
|
85 |
*
|
86 |
* @since 1.0.1
|
87 |
-
* @param
|
|
|
88 |
* @return array Modified options
|
89 |
*/
|
90 |
public function remove( $field_id, $resave = false ) {
|
@@ -106,8 +107,8 @@ class CMB2_Option {
|
|
106 |
* Retrieves an option from an option array
|
107 |
*
|
108 |
* @since 1.0.1
|
109 |
-
* @param
|
110 |
-
* @param
|
111 |
* @return array Requested field or default
|
112 |
*/
|
113 |
public function get( $field_id, $default = false ) {
|
@@ -126,11 +127,11 @@ class CMB2_Option {
|
|
126 |
* Updates Option data
|
127 |
*
|
128 |
* @since 1.0.1
|
129 |
-
* @param
|
130 |
-
* @param
|
131 |
-
* @param
|
132 |
-
* @param
|
133 |
-
* @return boolean
|
134 |
*/
|
135 |
public function update( $field_id, $value = '', $resave = false, $single = true ) {
|
136 |
$this->get_options();
|
@@ -138,7 +139,7 @@ class CMB2_Option {
|
|
138 |
if ( true !== $field_id ) {
|
139 |
|
140 |
if ( ! $single ) {
|
141 |
-
// If multiple, add to array
|
142 |
$this->options[ $field_id ][] = $value;
|
143 |
} else {
|
144 |
$this->options[ $field_id ] = $value;
|
@@ -160,7 +161,7 @@ class CMB2_Option {
|
|
160 |
* to allow overwriting the option value to be stored.
|
161 |
*
|
162 |
* @since 1.0.1
|
163 |
-
* @param array $options Optional options to override
|
164 |
* @return bool Success/Failure
|
165 |
*/
|
166 |
public function set( $options = array() ) {
|
@@ -168,7 +169,7 @@ class CMB2_Option {
|
|
168 |
$this->options = $options;
|
169 |
}
|
170 |
|
171 |
-
$this->options = wp_unslash( $this->options ); // get rid of those evil magic quotes
|
172 |
|
173 |
if ( empty( $this->key ) ) {
|
174 |
return false;
|
@@ -204,7 +205,7 @@ class CMB2_Option {
|
|
204 |
* Retrieve option value based on name of option.
|
205 |
*
|
206 |
* @uses apply_filters() Calls 'cmb2_override_option_get_{$this->key}' hook to allow
|
207 |
-
*
|
208 |
*
|
209 |
* @since 1.0.1
|
210 |
* @param mixed $default Optional. Default value to return if the option does not exist.
|
@@ -218,7 +219,7 @@ class CMB2_Option {
|
|
218 |
if ( 'cmb2_no_override_option_get' !== $test_get ) {
|
219 |
$this->options = $test_get;
|
220 |
} else {
|
221 |
-
// If no override, get the option
|
222 |
$this->options = get_option( $this->key, $default );
|
223 |
}
|
224 |
}
|
@@ -228,4 +229,22 @@ class CMB2_Option {
|
|
228 |
return $this->options;
|
229 |
}
|
230 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
}
|
72 |
* Delete the option from the db
|
73 |
*
|
74 |
* @since 2.0.0
|
75 |
+
* @return mixed Delete success or failure
|
76 |
*/
|
77 |
public function delete_option() {
|
78 |
$deleted = $this->key ? delete_option( $this->key ) : true;
|
84 |
* Removes an option from an option array
|
85 |
*
|
86 |
* @since 1.0.1
|
87 |
+
* @param string $field_id Option array field key.
|
88 |
+
* @param bool $resave Whether or not to resave.
|
89 |
* @return array Modified options
|
90 |
*/
|
91 |
public function remove( $field_id, $resave = false ) {
|
107 |
* Retrieves an option from an option array
|
108 |
*
|
109 |
* @since 1.0.1
|
110 |
+
* @param string $field_id Option array field key.
|
111 |
+
* @param mixed $default Fallback value for the option.
|
112 |
* @return array Requested field or default
|
113 |
*/
|
114 |
public function get( $field_id, $default = false ) {
|
127 |
* Updates Option data
|
128 |
*
|
129 |
* @since 1.0.1
|
130 |
+
* @param string $field_id Option array field key.
|
131 |
+
* @param mixed $value Value to update data with.
|
132 |
+
* @param bool $resave Whether to re-save the data.
|
133 |
+
* @param bool $single Whether data should not be an array.
|
134 |
+
* @return boolean Return status of update.
|
135 |
*/
|
136 |
public function update( $field_id, $value = '', $resave = false, $single = true ) {
|
137 |
$this->get_options();
|
139 |
if ( true !== $field_id ) {
|
140 |
|
141 |
if ( ! $single ) {
|
142 |
+
// If multiple, add to array.
|
143 |
$this->options[ $field_id ][] = $value;
|
144 |
} else {
|
145 |
$this->options[ $field_id ] = $value;
|
161 |
* to allow overwriting the option value to be stored.
|
162 |
*
|
163 |
* @since 1.0.1
|
164 |
+
* @param array $options Optional options to override.
|
165 |
* @return bool Success/Failure
|
166 |
*/
|
167 |
public function set( $options = array() ) {
|
169 |
$this->options = $options;
|
170 |
}
|
171 |
|
172 |
+
$this->options = wp_unslash( $this->options ); // get rid of those evil magic quotes.
|
173 |
|
174 |
if ( empty( $this->key ) ) {
|
175 |
return false;
|
205 |
* Retrieve option value based on name of option.
|
206 |
*
|
207 |
* @uses apply_filters() Calls 'cmb2_override_option_get_{$this->key}' hook to allow
|
208 |
+
* overwriting the option value to be retrieved.
|
209 |
*
|
210 |
* @since 1.0.1
|
211 |
* @param mixed $default Optional. Default value to return if the option does not exist.
|
219 |
if ( 'cmb2_no_override_option_get' !== $test_get ) {
|
220 |
$this->options = $test_get;
|
221 |
} else {
|
222 |
+
// If no override, get the option.
|
223 |
$this->options = get_option( $this->key, $default );
|
224 |
}
|
225 |
}
|
229 |
return $this->options;
|
230 |
}
|
231 |
|
232 |
+
/**
|
233 |
+
* Magic getter for our object.
|
234 |
+
*
|
235 |
+
* @since 2.6.0
|
236 |
+
*
|
237 |
+
* @param string $field Requested property.
|
238 |
+
* @throws Exception Throws an exception if the field is invalid.
|
239 |
+
* @return mixed
|
240 |
+
*/
|
241 |
+
public function __get( $field ) {
|
242 |
+
switch ( $field ) {
|
243 |
+
case 'options':
|
244 |
+
case 'key':
|
245 |
+
return $this->{$field};
|
246 |
+
default:
|
247 |
+
throw new Exception( sprintf( esc_html__( 'Invalid %1$s property: %2$s', 'cmb2' ), __CLASS__, $field ) );
|
248 |
+
}
|
249 |
+
}
|
250 |
}
|
includes/lib/cmb2/includes/CMB2_Options_Hookup.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @license GPL-2.0+
|
12 |
* @link https://cmb2.io
|
13 |
*/
|
14 |
-
class CMB2_Options_Hookup extends
|
15 |
|
16 |
/**
|
17 |
* The object type we are performing the hookup for
|
@@ -33,7 +33,8 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
33 |
* Constructor
|
34 |
*
|
35 |
* @since 2.0.0
|
36 |
-
* @param CMB2
|
|
|
37 |
*/
|
38 |
public function __construct( CMB2 $cmb, $option_key ) {
|
39 |
$this->cmb = $cmb;
|
@@ -50,6 +51,13 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
50 |
add_filter( "cmb2_should_autoload_{$this->option_key}", '__return_false' );
|
51 |
}
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
// Register setting to cmb2 group.
|
54 |
register_setting( 'cmb2', $this->option_key );
|
55 |
|
@@ -60,7 +68,7 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
60 |
$hook = $this->cmb->prop( 'admin_menu_hook' );
|
61 |
|
62 |
// Hook in to add our menu.
|
63 |
-
add_action( $hook, array( $this, 'options_page_menu_hooks' ) );
|
64 |
|
65 |
// If in the network admin, need to use get/update_site_option.
|
66 |
if ( 'network_admin_menu' === $hook ) {
|
@@ -107,8 +115,8 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
107 |
}
|
108 |
|
109 |
if ( $this->cmb->prop( 'cmb_styles' ) ) {
|
110 |
-
// Include CMB CSS in the head to avoid FOUC
|
111 |
-
add_action( "admin_print_styles-{$page_hook}", array( '
|
112 |
}
|
113 |
|
114 |
$this->maybe_register_message();
|
@@ -183,22 +191,15 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
183 |
|
184 |
$callback = $this->cmb->prop( 'display_cb' );
|
185 |
if ( is_callable( $callback ) ) {
|
186 |
-
return $callback
|
187 |
}
|
188 |
|
189 |
-
$tabs = $this->get_tab_group_tabs();
|
190 |
?>
|
191 |
-
<div class="wrap cmb2-options-page option-<?php echo $this->option_key; ?>">
|
192 |
<?php if ( $this->cmb->prop( 'title' ) ) : ?>
|
193 |
<h2><?php echo wp_kses_post( $this->cmb->prop( 'title' ) ); ?></h2>
|
194 |
<?php endif; ?>
|
195 |
-
<?php
|
196 |
-
<h2 class="nav-tab-wrapper">
|
197 |
-
<?php foreach ( $tabs as $option_key => $tab_title ) : ?>
|
198 |
-
<a class="nav-tab<?php if ( self::is_page( $option_key ) ) : ?> nav-tab-active<?php endif; ?>" href="<?php menu_page_url( $option_key ); ?>"><?php echo wp_kses_post( $tab_title ); ?></a>
|
199 |
-
<?php endforeach; ?>
|
200 |
-
</h2>
|
201 |
-
<?php endif; ?>
|
202 |
<form class="cmb-form" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>" method="POST" id="<?php echo $this->cmb->cmb_id; ?>" enctype="multipart/form-data" encoding="multipart/form-data">
|
203 |
<input type="hidden" name="action" value="<?php echo esc_attr( $this->option_key ); ?>">
|
204 |
<?php $this->options_page_metabox(); ?>
|
@@ -208,6 +209,25 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
208 |
<?php
|
209 |
}
|
210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
/**
|
212 |
* Outputs the settings notices if a) not a sub-page of 'options-general.php'
|
213 |
* (because settings_errors() already called in wp-admin/options-head.php),
|
@@ -219,7 +239,7 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
219 |
public function maybe_output_settings_notices() {
|
220 |
global $parent_file;
|
221 |
|
222 |
-
// The settings sub-pages will already have settings_errors() called in wp-admin/options-head.php
|
223 |
if ( 'options-general.php' !== $parent_file ) {
|
224 |
settings_errors( "{$this->option_key}-notices" );
|
225 |
}
|
@@ -251,7 +271,7 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
251 |
}
|
252 |
}
|
253 |
|
254 |
-
return $tabs;
|
255 |
}
|
256 |
|
257 |
/**
|
@@ -277,7 +297,7 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
277 |
|
278 |
if (
|
279 |
$this->can_save( 'options-page' )
|
280 |
-
// check params
|
281 |
&& isset( $_POST['submit-cmb'], $_POST['action'] )
|
282 |
&& $this->option_key === $_POST['action']
|
283 |
) {
|
@@ -289,13 +309,17 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
289 |
$url = add_query_arg( 'settings-updated', $updated ? 'true' : 'false', $url );
|
290 |
}
|
291 |
|
292 |
-
wp_safe_redirect( esc_url_raw( $url ), WP_Http::SEE_OTHER );
|
293 |
exit;
|
294 |
}
|
295 |
|
296 |
/**
|
297 |
-
* Replaces get_option with get_site_option
|
|
|
298 |
* @since 2.2.5
|
|
|
|
|
|
|
299 |
* @return mixed Value set for the network option.
|
300 |
*/
|
301 |
public function network_get_override( $test, $default = false ) {
|
@@ -303,8 +327,12 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
303 |
}
|
304 |
|
305 |
/**
|
306 |
-
* Replaces update_option with update_site_option
|
|
|
307 |
* @since 2.2.5
|
|
|
|
|
|
|
308 |
* @return bool Success/Failure
|
309 |
*/
|
310 |
public function network_update_override( $test, $option_value ) {
|
@@ -316,8 +344,7 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
316 |
*
|
317 |
* @since 2.4.0
|
318 |
*
|
319 |
-
* @param string $page Page slug
|
320 |
-
*
|
321 |
* @return boolean
|
322 |
*/
|
323 |
public static function is_page( $page ) {
|
@@ -327,7 +354,8 @@ class CMB2_Options_Hookup extends CMB2_hookup {
|
|
327 |
/**
|
328 |
* Magic getter for our object.
|
329 |
*
|
330 |
-
* @param string $field
|
|
|
331 |
* @throws Exception Throws an exception if the field is invalid.
|
332 |
* @return mixed
|
333 |
*/
|
11 |
* @license GPL-2.0+
|
12 |
* @link https://cmb2.io
|
13 |
*/
|
14 |
+
class CMB2_Options_Hookup extends CMB2_Hookup {
|
15 |
|
16 |
/**
|
17 |
* The object type we are performing the hookup for
|
33 |
* Constructor
|
34 |
*
|
35 |
* @since 2.0.0
|
36 |
+
* @param CMB2 $cmb The CMB2 object to hookup.
|
37 |
+
* @param string $option_key Option key to use.
|
38 |
*/
|
39 |
public function __construct( CMB2 $cmb, $option_key ) {
|
40 |
$this->cmb = $cmb;
|
51 |
add_filter( "cmb2_should_autoload_{$this->option_key}", '__return_false' );
|
52 |
}
|
53 |
|
54 |
+
/**
|
55 |
+
* For WP < 4.7. Ensure the register_setting function exists.
|
56 |
+
*/
|
57 |
+
if ( ! CMB2_Utils::wp_at_least( '4.7' ) && ! function_exists( 'register_setting' ) ) {
|
58 |
+
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
59 |
+
}
|
60 |
+
|
61 |
// Register setting to cmb2 group.
|
62 |
register_setting( 'cmb2', $this->option_key );
|
63 |
|
68 |
$hook = $this->cmb->prop( 'admin_menu_hook' );
|
69 |
|
70 |
// Hook in to add our menu.
|
71 |
+
add_action( $hook, array( $this, 'options_page_menu_hooks' ), $this->get_priority() );
|
72 |
|
73 |
// If in the network admin, need to use get/update_site_option.
|
74 |
if ( 'network_admin_menu' === $hook ) {
|
115 |
}
|
116 |
|
117 |
if ( $this->cmb->prop( 'cmb_styles' ) ) {
|
118 |
+
// Include CMB CSS in the head to avoid FOUC.
|
119 |
+
add_action( "admin_print_styles-{$page_hook}", array( 'CMB2_Hookup', 'enqueue_cmb_css' ) );
|
120 |
}
|
121 |
|
122 |
$this->maybe_register_message();
|
191 |
|
192 |
$callback = $this->cmb->prop( 'display_cb' );
|
193 |
if ( is_callable( $callback ) ) {
|
194 |
+
return call_user_func( $callback, $this );
|
195 |
}
|
196 |
|
|
|
197 |
?>
|
198 |
+
<div class="wrap cmb2-options-page option-<?php echo esc_attr( sanitize_html_class( $this->option_key ) ); ?>">
|
199 |
<?php if ( $this->cmb->prop( 'title' ) ) : ?>
|
200 |
<h2><?php echo wp_kses_post( $this->cmb->prop( 'title' ) ); ?></h2>
|
201 |
<?php endif; ?>
|
202 |
+
<?php $this->options_page_tab_nav_output(); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
<form class="cmb-form" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>" method="POST" id="<?php echo $this->cmb->cmb_id; ?>" enctype="multipart/form-data" encoding="multipart/form-data">
|
204 |
<input type="hidden" name="action" value="<?php echo esc_attr( $this->option_key ); ?>">
|
205 |
<?php $this->options_page_metabox(); ?>
|
209 |
<?php
|
210 |
}
|
211 |
|
212 |
+
/**
|
213 |
+
* Display options-page Tab Navigation output.
|
214 |
+
*
|
215 |
+
* @since 2.9.0
|
216 |
+
*/
|
217 |
+
public function options_page_tab_nav_output() {
|
218 |
+
$tabs = $this->get_tab_group_tabs();
|
219 |
+
if ( empty( $tabs ) ) {
|
220 |
+
return;
|
221 |
+
}
|
222 |
+
?>
|
223 |
+
<h2 class="nav-tab-wrapper">
|
224 |
+
<?php foreach ( $tabs as $option_key => $tab_title ) : ?>
|
225 |
+
<a class="nav-tab<?php if ( self::is_page( $option_key ) ) : ?> nav-tab-active<?php endif; ?>" href="<?php menu_page_url( $option_key ); ?>"><?php echo wp_kses_post( $tab_title ); ?></a>
|
226 |
+
<?php endforeach; ?>
|
227 |
+
</h2>
|
228 |
+
<?php
|
229 |
+
}
|
230 |
+
|
231 |
/**
|
232 |
* Outputs the settings notices if a) not a sub-page of 'options-general.php'
|
233 |
* (because settings_errors() already called in wp-admin/options-head.php),
|
239 |
public function maybe_output_settings_notices() {
|
240 |
global $parent_file;
|
241 |
|
242 |
+
// The settings sub-pages will already have settings_errors() called in wp-admin/options-head.php.
|
243 |
if ( 'options-general.php' !== $parent_file ) {
|
244 |
settings_errors( "{$this->option_key}-notices" );
|
245 |
}
|
271 |
}
|
272 |
}
|
273 |
|
274 |
+
return apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group );
|
275 |
}
|
276 |
|
277 |
/**
|
297 |
|
298 |
if (
|
299 |
$this->can_save( 'options-page' )
|
300 |
+
// check params.
|
301 |
&& isset( $_POST['submit-cmb'], $_POST['action'] )
|
302 |
&& $this->option_key === $_POST['action']
|
303 |
) {
|
309 |
$url = add_query_arg( 'settings-updated', $updated ? 'true' : 'false', $url );
|
310 |
}
|
311 |
|
312 |
+
wp_safe_redirect( esc_url_raw( $url ), 303 /* WP_Http::SEE_OTHER */ );
|
313 |
exit;
|
314 |
}
|
315 |
|
316 |
/**
|
317 |
+
* Replaces get_option with get_site_option.
|
318 |
+
*
|
319 |
* @since 2.2.5
|
320 |
+
*
|
321 |
+
* @param mixed $test Not used.
|
322 |
+
* @param mixed $default Default value to use.
|
323 |
* @return mixed Value set for the network option.
|
324 |
*/
|
325 |
public function network_get_override( $test, $default = false ) {
|
327 |
}
|
328 |
|
329 |
/**
|
330 |
+
* Replaces update_option with update_site_option.
|
331 |
+
*
|
332 |
* @since 2.2.5
|
333 |
+
*
|
334 |
+
* @param mixed $test Not used.
|
335 |
+
* @param mixed $option_value Value to use.
|
336 |
* @return bool Success/Failure
|
337 |
*/
|
338 |
public function network_update_override( $test, $option_value ) {
|
344 |
*
|
345 |
* @since 2.4.0
|
346 |
*
|
347 |
+
* @param string $page Page slug.
|
|
|
348 |
* @return boolean
|
349 |
*/
|
350 |
public static function is_page( $page ) {
|
354 |
/**
|
355 |
* Magic getter for our object.
|
356 |
*
|
357 |
+
* @param string $field Property to retrieve.
|
358 |
+
*
|
359 |
* @throws Exception Throws an exception if the field is invalid.
|
360 |
* @return mixed
|
361 |
*/
|
includes/lib/cmb2/includes/CMB2_Sanitize.php
CHANGED
@@ -32,8 +32,8 @@ class CMB2_Sanitize {
|
|
32 |
* Setup our class vars
|
33 |
*
|
34 |
* @since 1.1.0
|
35 |
-
* @param CMB2_Field $field A CMB2 field object
|
36 |
-
* @param mixed $value Field value
|
37 |
*/
|
38 |
public function __construct( CMB2_Field $field, $value ) {
|
39 |
$this->field = $field;
|
@@ -41,11 +41,14 @@ class CMB2_Sanitize {
|
|
41 |
}
|
42 |
|
43 |
/**
|
44 |
-
* Catchall method if field's 'sanitization_cb' is NOT defined,
|
|
|
45 |
*
|
46 |
* @since 1.0.0
|
47 |
-
*
|
48 |
-
* @param
|
|
|
|
|
49 |
*/
|
50 |
public function __call( $name, $arguments ) {
|
51 |
return $this->default_sanitization();
|
@@ -83,6 +86,7 @@ class CMB2_Sanitize {
|
|
83 |
$sanitized_value = $this->textarea();
|
84 |
break;
|
85 |
case 'taxonomy_select':
|
|
|
86 |
case 'taxonomy_radio':
|
87 |
case 'taxonomy_radio_inline':
|
88 |
case 'taxonomy_radio_hierarchical':
|
@@ -115,7 +119,7 @@ class CMB2_Sanitize {
|
|
115 |
* @return mixed Sanitized value.
|
116 |
*/
|
117 |
protected function _default_sanitization() {
|
118 |
-
// Handle repeatable fields array
|
119 |
return is_array( $this->value ) ? array_map( 'sanitize_text_field', $this->value ) : sanitize_text_field( $this->value );
|
120 |
}
|
121 |
|
@@ -129,7 +133,7 @@ class CMB2_Sanitize {
|
|
129 |
$sanitized_value = '';
|
130 |
|
131 |
if ( ! $this->field->args( 'taxonomy' ) ) {
|
132 |
-
CMB2_Utils::log_if_debug( __METHOD__, __LINE__, "{$this->field->type()} {$this->field->_id()} is missing the 'taxonomy' parameter." );
|
133 |
} else {
|
134 |
|
135 |
if ( in_array( $this->field->object_type, array( 'options-page', 'term' ), true ) ) {
|
@@ -174,14 +178,14 @@ class CMB2_Sanitize {
|
|
174 |
}
|
175 |
|
176 |
/**
|
177 |
-
* Validate url in a meta value
|
178 |
*
|
179 |
* @since 1.0.1
|
180 |
* @return string Empty string or escaped url
|
181 |
*/
|
182 |
public function text_url() {
|
183 |
$protocols = $this->field->args( 'protocols' );
|
184 |
-
// for repeatable
|
185 |
if ( is_array( $this->value ) ) {
|
186 |
foreach ( $this->value as $key => $val ) {
|
187 |
$this->value[ $key ] = $val ? esc_url_raw( $val, $protocols ) : $this->field->get_default();
|
@@ -194,7 +198,7 @@ class CMB2_Sanitize {
|
|
194 |
}
|
195 |
|
196 |
public function colorpicker() {
|
197 |
-
// for repeatable
|
198 |
if ( is_array( $this->value ) ) {
|
199 |
$check = $this->value;
|
200 |
$this->value = array();
|
@@ -216,7 +220,7 @@ class CMB2_Sanitize {
|
|
216 |
* @return string Empty string or sanitized email
|
217 |
*/
|
218 |
public function text_email() {
|
219 |
-
// for repeatable
|
220 |
if ( is_array( $this->value ) ) {
|
221 |
foreach ( $this->value as $key => $val ) {
|
222 |
$val = trim( $val );
|
@@ -247,10 +251,10 @@ class CMB2_Sanitize {
|
|
247 |
$replace = array( '', '.' );
|
248 |
|
249 |
// Strip slashes. Example: 2\'180.00.
|
250 |
-
// See https://github.com/CMB2/CMB2/issues/1014
|
251 |
$this->value = wp_unslash( $this->value );
|
252 |
|
253 |
-
// for repeatable
|
254 |
if ( is_array( $this->value ) ) {
|
255 |
foreach ( $this->value as $key => $val ) {
|
256 |
if ( $val ) {
|
@@ -283,6 +287,8 @@ class CMB2_Sanitize {
|
|
283 |
* Datetime to timestamp
|
284 |
*
|
285 |
* @since 1.0.1
|
|
|
|
|
286 |
* @return string|array Timestring
|
287 |
*/
|
288 |
public function text_datetime_timestamp( $repeat = false ) {
|
@@ -314,6 +320,8 @@ class CMB2_Sanitize {
|
|
314 |
* Datetime to timestamp with timezone
|
315 |
*
|
316 |
* @since 1.0.1
|
|
|
|
|
317 |
* @return string Timestring
|
318 |
*/
|
319 |
public function text_datetime_timestamp_timezone( $repeat = false ) {
|
@@ -327,7 +335,7 @@ class CMB2_Sanitize {
|
|
327 |
// date_create_from_format if there is a slash in the value.
|
328 |
$this->value = wp_unslash( $this->value );
|
329 |
|
330 |
-
$utc_key = $this->field->_id() . '_utc';
|
331 |
|
332 |
$repeat_value = $this->_check_repeat( __FUNCTION__, $repeat );
|
333 |
if ( false !== $repeat_value ) {
|
@@ -353,8 +361,8 @@ class CMB2_Sanitize {
|
|
353 |
|
354 |
if ( 'UTC' === substr( $tzstring, 0, 3 ) ) {
|
355 |
$tzstring = timezone_name_from_abbr( '', $offset, 0 );
|
356 |
-
|
357 |
-
* timezone_name_from_abbr() returns false if not found based on offset.
|
358 |
* Since there are currently some invalid timezones in wp_timezone_dropdown(),
|
359 |
* fallback to an offset of 0 (UTC+0)
|
360 |
* https://core.trac.wordpress.org/ticket/29205
|
@@ -384,7 +392,7 @@ class CMB2_Sanitize {
|
|
384 |
'value' => $this->value,
|
385 |
);
|
386 |
} else {
|
387 |
-
// Save the utc timestamp supporting field
|
388 |
if ( $repeat ) {
|
389 |
$utc_values[ $utc_key ][] = $utc_stamp;
|
390 |
} else {
|
@@ -413,6 +421,8 @@ class CMB2_Sanitize {
|
|
413 |
* Sanitize code textareas
|
414 |
*
|
415 |
* @since 1.0.2
|
|
|
|
|
416 |
* @return string Sanitized data
|
417 |
*/
|
418 |
public function textarea_code( $repeat = false ) {
|
@@ -431,10 +441,10 @@ class CMB2_Sanitize {
|
|
431 |
* @return string Sanitized url
|
432 |
*/
|
433 |
public function file() {
|
434 |
-
$file_id_key = $this->field->_id() . '_id';
|
435 |
|
436 |
if ( $this->field->group ) {
|
437 |
-
// Return an array with url/id if saving a group field
|
438 |
$this->value = $this->_get_group_file_value_array( $file_id_key );
|
439 |
} else {
|
440 |
$this->_save_file_id_value( $file_id_key );
|
@@ -448,13 +458,16 @@ class CMB2_Sanitize {
|
|
448 |
* Gets the values for the `file` field type from the data being saved.
|
449 |
*
|
450 |
* @since 2.2.0
|
|
|
|
|
|
|
451 |
*/
|
452 |
public function _get_group_file_value_array( $id_key ) {
|
453 |
$alldata = $this->field->group->data_to_save;
|
454 |
-
$base_id = $this->field->group->_id();
|
455 |
$i = $this->field->group->index;
|
456 |
|
457 |
-
// Check group $alldata data
|
458 |
$id_val = isset( $alldata[ $base_id ][ $i ][ $id_key ] )
|
459 |
? absint( $alldata[ $base_id ][ $i ][ $id_key ] )
|
460 |
: '';
|
@@ -475,16 +488,19 @@ class CMB2_Sanitize {
|
|
475 |
* Peforms saving of `file` attachement's ID
|
476 |
*
|
477 |
* @since 1.1.0
|
|
|
|
|
|
|
478 |
*/
|
479 |
public function _save_file_id_value( $file_id_key ) {
|
480 |
$id_field = $this->_new_supporting_field( $file_id_key );
|
481 |
|
482 |
-
// Check standard data_to_save data
|
483 |
$id_val = isset( $this->field->data_to_save[ $file_id_key ] )
|
484 |
? $this->field->data_to_save[ $file_id_key ]
|
485 |
: null;
|
486 |
|
487 |
-
// If there is no ID saved yet, try to get it from the url
|
488 |
if ( $this->value && ! $id_val ) {
|
489 |
$id_val = CMB2_Utils::image_id_from_url( $this->value );
|
490 |
|
@@ -500,6 +516,10 @@ class CMB2_Sanitize {
|
|
500 |
* Peforms saving of `text_datetime_timestamp_timezone` utc timestamp
|
501 |
*
|
502 |
* @since 2.2.0
|
|
|
|
|
|
|
|
|
503 |
*/
|
504 |
public function _save_utc_value( $utc_key, $utc_stamp ) {
|
505 |
return $this->_new_supporting_field( $utc_key )->save_field( $utc_stamp );
|
@@ -509,6 +529,9 @@ class CMB2_Sanitize {
|
|
509 |
* Returns a new, supporting, CMB2_Field object based on a new field id.
|
510 |
*
|
511 |
* @since 2.2.0
|
|
|
|
|
|
|
512 |
*/
|
513 |
public function _new_supporting_field( $new_field_id ) {
|
514 |
return $this->field->get_field_clone( array(
|
@@ -521,8 +544,8 @@ class CMB2_Sanitize {
|
|
521 |
* If repeating, loop through and re-apply sanitization method
|
522 |
*
|
523 |
* @since 1.1.0
|
524 |
-
* @param string $method Class method
|
525 |
-
* @param bool $repeat Whether repeating or not
|
526 |
* @return mixed Sanitized value
|
527 |
*/
|
528 |
public function _check_repeat( $method, $repeat ) {
|
@@ -551,8 +574,8 @@ class CMB2_Sanitize {
|
|
551 |
* Determine if passed value is an empty array
|
552 |
*
|
553 |
* @since 2.0.6
|
554 |
-
* @param mixed $to_check Value to check
|
555 |
-
* @return boolean
|
556 |
*/
|
557 |
public function _is_empty_array( $to_check ) {
|
558 |
if ( is_array( $to_check ) ) {
|
32 |
* Setup our class vars
|
33 |
*
|
34 |
* @since 1.1.0
|
35 |
+
* @param CMB2_Field $field A CMB2 field object.
|
36 |
+
* @param mixed $value Field value.
|
37 |
*/
|
38 |
public function __construct( CMB2_Field $field, $value ) {
|
39 |
$this->field = $field;
|
41 |
}
|
42 |
|
43 |
/**
|
44 |
+
* Catchall method if field's 'sanitization_cb' is NOT defined,
|
45 |
+
* or field type does not have a corresponding validation method.
|
46 |
*
|
47 |
* @since 1.0.0
|
48 |
+
*
|
49 |
+
* @param string $name Non-existent method name.
|
50 |
+
* @param array $arguments All arguments passed to the method.
|
51 |
+
* @return mixed
|
52 |
*/
|
53 |
public function __call( $name, $arguments ) {
|
54 |
return $this->default_sanitization();
|
86 |
$sanitized_value = $this->textarea();
|
87 |
break;
|
88 |
case 'taxonomy_select':
|
89 |
+
case 'taxonomy_select_hierarchical':
|
90 |
case 'taxonomy_radio':
|
91 |
case 'taxonomy_radio_inline':
|
92 |
case 'taxonomy_radio_hierarchical':
|
119 |
* @return mixed Sanitized value.
|
120 |
*/
|
121 |
protected function _default_sanitization() {
|
122 |
+
// Handle repeatable fields array.
|
123 |
return is_array( $this->value ) ? array_map( 'sanitize_text_field', $this->value ) : sanitize_text_field( $this->value );
|
124 |
}
|
125 |
|
133 |
$sanitized_value = '';
|
134 |
|
135 |
if ( ! $this->field->args( 'taxonomy' ) ) {
|
136 |
+
CMB2_Utils::log_if_debug( __METHOD__, __LINE__, "{$this->field->type()} {$this->field->_id( '', false )} is missing the 'taxonomy' parameter." );
|
137 |
} else {
|
138 |
|
139 |
if ( in_array( $this->field->object_type, array( 'options-page', 'term' ), true ) ) {
|
178 |
}
|
179 |
|
180 |
/**
|
181 |
+
* Validate url in a meta value.
|
182 |
*
|
183 |
* @since 1.0.1
|
184 |
* @return string Empty string or escaped url
|
185 |
*/
|
186 |
public function text_url() {
|
187 |
$protocols = $this->field->args( 'protocols' );
|
188 |
+
// for repeatable.
|
189 |
if ( is_array( $this->value ) ) {
|
190 |
foreach ( $this->value as $key => $val ) {
|
191 |
$this->value[ $key ] = $val ? esc_url_raw( $val, $protocols ) : $this->field->get_default();
|
198 |
}
|
199 |
|
200 |
public function colorpicker() {
|
201 |
+
// for repeatable.
|
202 |
if ( is_array( $this->value ) ) {
|
203 |
$check = $this->value;
|
204 |
$this->value = array();
|
220 |
* @return string Empty string or sanitized email
|
221 |
*/
|
222 |
public function text_email() {
|
223 |
+
// for repeatable.
|
224 |
if ( is_array( $this->value ) ) {
|
225 |
foreach ( $this->value as $key => $val ) {
|
226 |
$val = trim( $val );
|
251 |
$replace = array( '', '.' );
|
252 |
|
253 |
// Strip slashes. Example: 2\'180.00.
|
254 |
+
// See https://github.com/CMB2/CMB2/issues/1014.
|
255 |
$this->value = wp_unslash( $this->value );
|
256 |
|
257 |
+
// for repeatable.
|
258 |
if ( is_array( $this->value ) ) {
|
259 |
foreach ( $this->value as $key => $val ) {
|
260 |
if ( $val ) {
|
287 |
* Datetime to timestamp
|
288 |
*
|
289 |
* @since 1.0.1
|
290 |
+
*
|
291 |
+
* @param bool $repeat Whether or not to repeat.
|
292 |
* @return string|array Timestring
|
293 |
*/
|
294 |
public function text_datetime_timestamp( $repeat = false ) {
|
320 |
* Datetime to timestamp with timezone
|
321 |
*
|
322 |
* @since 1.0.1
|
323 |
+
*
|
324 |
+
* @param bool $repeat Whether or not to repeat.
|
325 |
* @return string Timestring
|
326 |
*/
|
327 |
public function text_datetime_timestamp_timezone( $repeat = false ) {
|
335 |
// date_create_from_format if there is a slash in the value.
|
336 |
$this->value = wp_unslash( $this->value );
|
337 |
|
338 |
+
$utc_key = $this->field->_id( '', false ) . '_utc';
|
339 |
|
340 |
$repeat_value = $this->_check_repeat( __FUNCTION__, $repeat );
|
341 |
if ( false !== $repeat_value ) {
|
361 |
|
362 |
if ( 'UTC' === substr( $tzstring, 0, 3 ) ) {
|
363 |
$tzstring = timezone_name_from_abbr( '', $offset, 0 );
|
364 |
+
/**
|
365 |
+
* The timezone_name_from_abbr() returns false if not found based on offset.
|
366 |
* Since there are currently some invalid timezones in wp_timezone_dropdown(),
|
367 |
* fallback to an offset of 0 (UTC+0)
|
368 |
* https://core.trac.wordpress.org/ticket/29205
|
392 |
'value' => $this->value,
|
393 |
);
|
394 |
} else {
|
395 |
+
// Save the utc timestamp supporting field.
|
396 |
if ( $repeat ) {
|
397 |
$utc_values[ $utc_key ][] = $utc_stamp;
|
398 |
} else {
|
421 |
* Sanitize code textareas
|
422 |
*
|
423 |
* @since 1.0.2
|
424 |
+
*
|
425 |
+
* @param bool $repeat Whether or not to repeat.
|
426 |
* @return string Sanitized data
|
427 |
*/
|
428 |
public function textarea_code( $repeat = false ) {
|
441 |
* @return string Sanitized url
|
442 |
*/
|
443 |
public function file() {
|
444 |
+
$file_id_key = $this->field->_id( '', false ) . '_id';
|
445 |
|
446 |
if ( $this->field->group ) {
|
447 |
+
// Return an array with url/id if saving a group field.
|
448 |
$this->value = $this->_get_group_file_value_array( $file_id_key );
|
449 |
} else {
|
450 |
$this->_save_file_id_value( $file_id_key );
|
458 |
* Gets the values for the `file` field type from the data being saved.
|
459 |
*
|
460 |
* @since 2.2.0
|
461 |
+
*
|
462 |
+
* @param mixed $id_key ID key to use.
|
463 |
+
* @return array
|
464 |
*/
|
465 |
public function _get_group_file_value_array( $id_key ) {
|
466 |
$alldata = $this->field->group->data_to_save;
|
467 |
+
$base_id = $this->field->group->_id( '', false );
|
468 |
$i = $this->field->group->index;
|
469 |
|
470 |
+
// Check group $alldata data.
|
471 |
$id_val = isset( $alldata[ $base_id ][ $i ][ $id_key ] )
|
472 |
? absint( $alldata[ $base_id ][ $i ][ $id_key ] )
|
473 |
: '';
|
488 |
* Peforms saving of `file` attachement's ID
|
489 |
*
|
490 |
* @since 1.1.0
|
491 |
+
*
|
492 |
+
* @param mixed $file_id_key ID key to use.
|
493 |
+
* @return mixed
|
494 |
*/
|
495 |
public function _save_file_id_value( $file_id_key ) {
|
496 |
$id_field = $this->_new_supporting_field( $file_id_key );
|
497 |
|
498 |
+
// Check standard data_to_save data.
|
499 |
$id_val = isset( $this->field->data_to_save[ $file_id_key ] )
|
500 |
? $this->field->data_to_save[ $file_id_key ]
|
501 |
: null;
|
502 |
|
503 |
+
// If there is no ID saved yet, try to get it from the url.
|
504 |
if ( $this->value && ! $id_val ) {
|
505 |
$id_val = CMB2_Utils::image_id_from_url( $this->value );
|
506 |
|
516 |
* Peforms saving of `text_datetime_timestamp_timezone` utc timestamp
|
517 |
*
|
518 |
* @since 2.2.0
|
519 |
+
*
|
520 |
+
* @param mixed $utc_key UTC key.
|
521 |
+
* @param mixed $utc_stamp UTC timestamp.
|
522 |
+
* @return mixed
|
523 |
*/
|
524 |
public function _save_utc_value( $utc_key, $utc_stamp ) {
|
525 |
return $this->_new_supporting_field( $utc_key )->save_field( $utc_stamp );
|
529 |
* Returns a new, supporting, CMB2_Field object based on a new field id.
|
530 |
*
|
531 |
* @since 2.2.0
|
532 |
+
*
|
533 |
+
* @param mixed $new_field_id New field ID.
|
534 |
+
* @return CMB2_Field
|
535 |
*/
|
536 |
public function _new_supporting_field( $new_field_id ) {
|
537 |
return $this->field->get_field_clone( array(
|
544 |
* If repeating, loop through and re-apply sanitization method
|
545 |
*
|
546 |
* @since 1.1.0
|
547 |
+
* @param string $method Class method.
|
548 |
+
* @param bool $repeat Whether repeating or not.
|
549 |
* @return mixed Sanitized value
|
550 |
*/
|
551 |
public function _check_repeat( $method, $repeat ) {
|
574 |
* Determine if passed value is an empty array
|
575 |
*
|
576 |
* @since 2.0.6
|
577 |
+
* @param mixed $to_check Value to check.
|
578 |
+
* @return boolean Whether value is an array that's empty
|
579 |
*/
|
580 |
public function _is_empty_array( $to_check ) {
|
581 |
if ( is_array( $to_check ) ) {
|
includes/lib/cmb2/includes/CMB2_Show_Filters.php
CHANGED
@@ -22,7 +22,7 @@ class CMB2_Show_Filters {
|
|
22 |
*
|
23 |
* @since 2.0.0
|
24 |
*
|
25 |
-
* @param array $meta_box_args Metabox config array
|
26 |
*
|
27 |
* @return mixed show_on key or false
|
28 |
*/
|
@@ -46,7 +46,7 @@ class CMB2_Show_Filters {
|
|
46 |
*
|
47 |
* @since 2.0.0
|
48 |
*
|
49 |
-
* @param array $meta_box_args Metabox config array
|
50 |
*
|
51 |
* @return mixed show_on value or false
|
52 |
*/
|
@@ -71,8 +71,8 @@ class CMB2_Show_Filters {
|
|
71 |
* Add metaboxes for an specific ID
|
72 |
*
|
73 |
* @since 1.0.0
|
74 |
-
* @param bool $display To display or not
|
75 |
-
* @param array $meta_box_args Metabox config array
|
76 |
* @param CMB2 $cmb The CMB2 instance.
|
77 |
* @return bool Whether to display this metabox on the current page.
|
78 |
*/
|
@@ -89,7 +89,7 @@ class CMB2_Show_Filters {
|
|
89 |
return false;
|
90 |
}
|
91 |
|
92 |
-
// If current page id is in the included array, display the metabox
|
93 |
return in_array( $object_id, (array) self::get_show_on_value( $meta_box_args ) );
|
94 |
}
|
95 |
|
@@ -97,8 +97,9 @@ class CMB2_Show_Filters {
|
|
97 |
* Add metaboxes for an specific Page Template
|
98 |
*
|
99 |
* @since 1.0.0
|
100 |
-
* @param bool $display
|
101 |
-
* @param array $meta_box_args Metabox config array
|
|
|
102 |
* @return bool Whether to display this metabox on the current page.
|
103 |
*/
|
104 |
public static function check_page_template( $display, $meta_box_args, $cmb ) {
|
@@ -114,10 +115,10 @@ class CMB2_Show_Filters {
|
|
114 |
return false;
|
115 |
}
|
116 |
|
117 |
-
// Get current template
|
118 |
$current_template = get_post_meta( $object_id, '_wp_page_template', true );
|
119 |
|
120 |
-
// See if there's a match
|
121 |
if ( $current_template && in_array( $current_template, (array) self::get_show_on_value( $meta_box_args ) ) ) {
|
122 |
return true;
|
123 |
}
|
@@ -129,22 +130,22 @@ class CMB2_Show_Filters {
|
|
129 |
* Only show options-page metaboxes on their options page (but only enforce on the admin side)
|
130 |
*
|
131 |
* @since 1.0.0
|
132 |
-
* @param bool $display To display or not
|
133 |
-
* @param array $meta_box_args Metabox config array
|
134 |
* @return bool Whether to display this metabox on the current page.
|
135 |
*/
|
136 |
public static function check_admin_page( $display, $meta_box_args ) {
|
137 |
|
138 |
$key = self::get_show_on_key( $meta_box_args );
|
139 |
-
// check if this is a 'options-page' metabox
|
140 |
if ( ! $key || 'options-page' !== $key ) {
|
141 |
return $display;
|
142 |
}
|
143 |
|
144 |
-
// Enforce 'show_on' filter in the admin
|
145 |
if ( is_admin() ) {
|
146 |
|
147 |
-
// If there is no 'page' query var, our filter isn't applicable
|
148 |
if ( ! isset( $_GET['page'] ) ) {
|
149 |
return $display;
|
150 |
}
|
@@ -171,7 +172,7 @@ class CMB2_Show_Filters {
|
|
171 |
|
172 |
}
|
173 |
|
174 |
-
// Allow options-page metaboxes to be displayed anywhere on the front-end
|
175 |
return true;
|
176 |
}
|
177 |
|
22 |
*
|
23 |
* @since 2.0.0
|
24 |
*
|
25 |
+
* @param array $meta_box_args Metabox config array.
|
26 |
*
|
27 |
* @return mixed show_on key or false
|
28 |
*/
|
46 |
*
|
47 |
* @since 2.0.0
|
48 |
*
|
49 |
+
* @param array $meta_box_args Metabox config array.
|
50 |
*
|
51 |
* @return mixed show_on value or false
|
52 |
*/
|
71 |
* Add metaboxes for an specific ID
|
72 |
*
|
73 |
* @since 1.0.0
|
74 |
+
* @param bool $display To display or not.
|
75 |
+
* @param array $meta_box_args Metabox config array.
|
76 |
* @param CMB2 $cmb The CMB2 instance.
|
77 |
* @return bool Whether to display this metabox on the current page.
|
78 |
*/
|
89 |
return false;
|
90 |
}
|
91 |
|
92 |
+
// If current page id is in the included array, display the metabox.
|
93 |
return in_array( $object_id, (array) self::get_show_on_value( $meta_box_args ) );
|
94 |
}
|
95 |
|
97 |
* Add metaboxes for an specific Page Template
|
98 |
*
|
99 |
* @since 1.0.0
|
100 |
+
* @param bool $display To display or not.
|
101 |
+
* @param array $meta_box_args Metabox config array.
|
102 |
+
* @param CMB2 $cmb CMB2 object.
|
103 |
* @return bool Whether to display this metabox on the current page.
|
104 |
*/
|
105 |
public static function check_page_template( $display, $meta_box_args, $cmb ) {
|
115 |
return false;
|
116 |
}
|
117 |
|
118 |
+
// Get current template.
|
119 |
$current_template = get_post_meta( $object_id, '_wp_page_template', true );
|
120 |
|
121 |
+
// See if there's a match.
|
122 |
if ( $current_template && in_array( $current_template, (array) self::get_show_on_value( $meta_box_args ) ) ) {
|
123 |
return true;
|
124 |
}
|
130 |
* Only show options-page metaboxes on their options page (but only enforce on the admin side)
|
131 |
*
|
132 |
* @since 1.0.0
|
133 |
+
* @param bool $display To display or not.
|
134 |
+
* @param array $meta_box_args Metabox config array.
|
135 |
* @return bool Whether to display this metabox on the current page.
|
136 |
*/
|
137 |
public static function check_admin_page( $display, $meta_box_args ) {
|
138 |
|
139 |
$key = self::get_show_on_key( $meta_box_args );
|
140 |
+
// check if this is a 'options-page' metabox.
|
141 |
if ( ! $key || 'options-page' !== $key ) {
|
142 |
return $display;
|
143 |
}
|
144 |
|
145 |
+
// Enforce 'show_on' filter in the admin.
|
146 |
if ( is_admin() ) {
|
147 |
|
148 |
+
// If there is no 'page' query var, our filter isn't applicable.
|
149 |
if ( ! isset( $_GET['page'] ) ) {
|
150 |
return $display;
|
151 |
}
|
172 |
|
173 |
}
|
174 |
|
175 |
+
// Allow options-page metaboxes to be displayed anywhere on the front-end.
|
176 |
return true;
|
177 |
}
|
178 |
|
includes/lib/cmb2/includes/CMB2_Tab.php
DELETED
@@ -1,62 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* CMB2 Tab Group
|
4 |
-
*
|
5 |
-
* @category WordPress_Plugin
|
6 |
-
* @package CMB2
|
7 |
-
* @author CMB2 team
|
8 |
-
* @license GPL-2.0+
|
9 |
-
* @link https://cmb2.io
|
10 |
-
*/
|
11 |
-
class CMB2_Tab extends CMB2_Base {
|
12 |
-
|
13 |
-
/**
|
14 |
-
* The object properties name.
|
15 |
-
*
|
16 |
-
* @var string
|
17 |
-
* @since 2.2.4
|
18 |
-
*/
|
19 |
-
protected $properties_name = 'args';
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
// https://github.com/dThemeStudio/cmb2-tabs
|
26 |
-
/**
|
27 |
-
* The array of field ids in this tab.
|
28 |
-
*
|
29 |
-
* @var array
|
30 |
-
* @since 2.2.4
|
31 |
-
*/
|
32 |
-
protected $field_ids = array();
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Get started
|
36 |
-
*
|
37 |
-
* @since 2.2.4
|
38 |
-
* @param array $args Object properties array
|
39 |
-
*/
|
40 |
-
public function __construct( $args, $cmb_id ) {
|
41 |
-
|
42 |
-
$this->args = $args;
|
43 |
-
$this->cmb_id = $this->prop( 'cmb_id' );
|
44 |
-
}
|
45 |
-
|
46 |
-
public function add_field( $field ) {
|
47 |
-
|
48 |
-
if ( $field instanceof CMB2_Field ) {
|
49 |
-
$this->field_ids[ $field->id() ] = 1;
|
50 |
-
} elseif ( is_array( $field ) ) {
|
51 |
-
$this->field_ids[ $field['id'] ] = 1;
|
52 |
-
} else {
|
53 |
-
$this->field_ids[ $field ] = 1;
|
54 |
-
}
|
55 |
-
}
|
56 |
-
|
57 |
-
public function get_field_ids() {
|
58 |
-
|
59 |
-
return $this->field_ids;
|
60 |
-
}
|
61 |
-
|
62 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/includes/CMB2_Tab_Group.php
DELETED
@@ -1,53 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* CMB2 Tab Group
|
4 |
-
*
|
5 |
-
* @category WordPress_Plugin
|
6 |
-
* @package CMB2
|
7 |
-
* @author CMB2 team
|
8 |
-
* @license GPL-2.0+
|
9 |
-
* @link https://cmb2.io
|
10 |
-
*/
|
11 |
-
class CMB2_Tab_Group extends CMB2_Base {
|
12 |
-
|
13 |
-
/**
|
14 |
-
* The object properties name.
|
15 |
-
*
|
16 |
-
* @var string
|
17 |
-
* @since 2.2.4
|
18 |
-
*/
|
19 |
-
protected $properties_name = 'args';
|
20 |
-
|
21 |
-
/**
|
22 |
-
* The array of tabs in this tab group.
|
23 |
-
*
|
24 |
-
* @var array
|
25 |
-
* @since 2.2.4
|
26 |
-
*/
|
27 |
-
protected $tabs = array();
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Get started
|
31 |
-
*
|
32 |
-
* @since 2.2.4
|
33 |
-
* @param array $args Object properties array
|
34 |
-
*/
|
35 |
-
public function __construct( $args, $cmb_id ) {
|
36 |
-
|
37 |
-
$this->args = $args;
|
38 |
-
$this->cmb_id = $cmb_id;
|
39 |
-
}
|
40 |
-
|
41 |
-
public function add_tab( $args ) {
|
42 |
-
|
43 |
-
$args['parent_id'] = $this->prop( 'id' );
|
44 |
-
|
45 |
-
return $this->tabs[ $args['id'] ] = new CMB2_Tab( $args, $this->cmb_id );
|
46 |
-
}
|
47 |
-
|
48 |
-
public function get_tabs() {
|
49 |
-
|
50 |
-
return $this->tabs;
|
51 |
-
}
|
52 |
-
|
53 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/cmb2/includes/CMB2_Types.php
CHANGED
@@ -9,12 +9,6 @@
|
|
9 |
* @author CMB2 team
|
10 |
* @license GPL-2.0+
|
11 |
* @link https://cmb2.io
|
12 |
-
*
|
13 |
-
* @method string _id()
|
14 |
-
* @method string _name()
|
15 |
-
* @method string _desc()
|
16 |
-
* @method string _text()
|
17 |
-
* @method string concat_attrs()
|
18 |
*/
|
19 |
class CMB2_Types {
|
20 |
|
@@ -142,6 +136,7 @@ class CMB2_Types {
|
|
142 |
* @since 2.2.3
|
143 |
*
|
144 |
* @param string $method Method attempting to be called on the CMB2_Type_Base object.
|
|
|
145 |
*/
|
146 |
protected function guess_type_object( $method ) {
|
147 |
$fieldtype = $this->field->type();
|
@@ -184,7 +179,7 @@ class CMB2_Types {
|
|
184 |
* @since 2.2.4
|
185 |
* @param string $method The possible method to proxy.
|
186 |
* @param array $arguments All arguments passed to the method.
|
187 |
-
* @return bool|array
|
188 |
*/
|
189 |
public function maybe_proxy_method( $method, $arguments ) {
|
190 |
$exists = false;
|
@@ -245,7 +240,7 @@ class CMB2_Types {
|
|
245 |
* @param string $render_class_name The default field type class to use. Defaults to null.
|
246 |
* @param array $args Optional arguments to pass to type class.
|
247 |
* @param mixed $additional Optional additional argument to pass to type class.
|
248 |
-
* @return CMB2_Type_Base
|
249 |
*/
|
250 |
public function get_new_render_type( $fieldtype, $render_class_name = null, $args = array(), $additional = '' ) {
|
251 |
$render_class_name = $this->get_render_type_class( $fieldtype, $render_class_name );
|
@@ -286,10 +281,10 @@ class CMB2_Types {
|
|
286 |
/**
|
287 |
* Retrieve text parameter from field's options array (if it has one), or use fallback text
|
288 |
*
|
289 |
-
* @since
|
290 |
-
* @param string $text_key Key in field's options array
|
291 |
-
* @param string $fallback Fallback text
|
292 |
-
* @return string
|
293 |
*/
|
294 |
public function _text( $text_key, $fallback = '' ) {
|
295 |
return $this->field->get_string( $text_key, $fallback );
|
@@ -300,7 +295,7 @@ class CMB2_Types {
|
|
300 |
*
|
301 |
* @since 1.0.0
|
302 |
* @param string $file File url
|
303 |
-
* @return string|false
|
304 |
*/
|
305 |
public function get_file_ext( $file ) {
|
306 |
return CMB2_Utils::get_file_ext( $file );
|
@@ -374,7 +369,6 @@ class CMB2_Types {
|
|
374 |
|
375 |
// Loop value array and add a row
|
376 |
if ( ! empty( $meta_value ) ) {
|
377 |
-
$count = count( $meta_value );
|
378 |
foreach ( (array) $meta_value as $val ) {
|
379 |
$this->field->escaped_value = $val;
|
380 |
$this->repeat_row();
|
@@ -399,12 +393,14 @@ class CMB2_Types {
|
|
399 |
* Generates a repeatable row's markup
|
400 |
*
|
401 |
* @since 1.1.0
|
402 |
-
* @param string $
|
403 |
*/
|
404 |
-
protected function repeat_row( $
|
|
|
|
|
405 |
?>
|
406 |
|
407 |
-
<div class="cmb-row <?php echo $
|
408 |
<div class="cmb-td">
|
409 |
<?php $this->_render(); ?>
|
410 |
</div>
|
@@ -417,12 +413,13 @@ class CMB2_Types {
|
|
417 |
}
|
418 |
|
419 |
/**
|
420 |
-
* Generates description markup
|
421 |
*
|
422 |
-
* @since
|
423 |
-
* @param
|
424 |
-
* @param
|
425 |
-
* @
|
|
|
426 |
*/
|
427 |
public function _desc( $paragraph = false, $echo = false, $repeat_group = false ) {
|
428 |
// Prevent description from printing multiple times for repeatable fields
|
@@ -461,11 +458,18 @@ class CMB2_Types {
|
|
461 |
* Generate field id attribute
|
462 |
*
|
463 |
* @since 1.1.0
|
464 |
-
* @param string $suffix
|
465 |
-
* @
|
|
|
466 |
*/
|
467 |
-
public function _id( $suffix = '' ) {
|
468 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
}
|
470 |
|
471 |
/**
|
@@ -605,6 +609,10 @@ class CMB2_Types {
|
|
605 |
return $this->get_new_render_type( __FUNCTION__, 'CMB2_Type_Taxonomy_Select', $args )->render();
|
606 |
}
|
607 |
|
|
|
|
|
|
|
|
|
608 |
public function radio( $args = array(), $type = __FUNCTION__ ) {
|
609 |
return $this->get_new_render_type( $type, 'CMB2_Type_Radio', $args, $type )->render();
|
610 |
}
|
9 |
* @author CMB2 team
|
10 |
* @license GPL-2.0+
|
11 |
* @link https://cmb2.io
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
*/
|
13 |
class CMB2_Types {
|
14 |
|
136 |
* @since 2.2.3
|
137 |
*
|
138 |
* @param string $method Method attempting to be called on the CMB2_Type_Base object.
|
139 |
+
* @return bool
|
140 |
*/
|
141 |
protected function guess_type_object( $method ) {
|
142 |
$fieldtype = $this->field->type();
|
179 |
* @since 2.2.4
|
180 |
* @param string $method The possible method to proxy.
|
181 |
* @param array $arguments All arguments passed to the method.
|
182 |
+
* @return bool|array False if not proxied, else array with 'value' key being the return of the method.
|
183 |
*/
|
184 |
public function maybe_proxy_method( $method, $arguments ) {
|
185 |
$exists = false;
|
240 |
* @param string $render_class_name The default field type class to use. Defaults to null.
|
241 |
* @param array $args Optional arguments to pass to type class.
|
242 |
* @param mixed $additional Optional additional argument to pass to type class.
|
243 |
+
* @return CMB2_Type_Base Type object.
|
244 |
*/
|
245 |
public function get_new_render_type( $fieldtype, $render_class_name = null, $args = array(), $additional = '' ) {
|
246 |
$render_class_name = $this->get_render_type_class( $fieldtype, $render_class_name );
|
281 |
/**
|
282 |
* Retrieve text parameter from field's options array (if it has one), or use fallback text
|
283 |
*
|
284 |
+
* @since 2.0.0
|
285 |
+
* @param string $text_key Key in field's options array.
|
286 |
+
* @param string $fallback Fallback text.
|
287 |
+
* @return string
|
288 |
*/
|
289 |
public function _text( $text_key, $fallback = '' ) {
|
290 |
return $this->field->get_string( $text_key, $fallback );
|
295 |
*
|
296 |
* @since 1.0.0
|
297 |
* @param string $file File url
|
298 |
+
* @return string|false File extension or false
|
299 |
*/
|
300 |
public function get_file_ext( $file ) {
|
301 |
return CMB2_Utils::get_file_ext( $file );
|
369 |
|
370 |
// Loop value array and add a row
|
371 |
if ( ! empty( $meta_value ) ) {
|
|
|
372 |
foreach ( (array) $meta_value as $val ) {
|
373 |
$this->field->escaped_value = $val;
|
374 |
$this->repeat_row();
|
393 |
* Generates a repeatable row's markup
|
394 |
*
|
395 |
* @since 1.1.0
|
396 |
+
* @param string $classes Repeatable table row's class
|
397 |
*/
|
398 |
+
protected function repeat_row( $classes = 'cmb-repeat-row' ) {
|
399 |
+
$classes = explode( ' ', $classes );
|
400 |
+
$classes = array_map( 'sanitize_html_class', $classes );
|
401 |
?>
|
402 |
|
403 |
+
<div class="cmb-row <?php echo esc_attr( implode( ' ', $classes ) ); ?>">
|
404 |
<div class="cmb-td">
|
405 |
<?php $this->_render(); ?>
|
406 |
</div>
|
413 |
}
|
414 |
|
415 |
/**
|
416 |
+
* Generates description markup.
|
417 |
*
|
418 |
+
* @since 1.0.0
|
419 |
+
* @param bool $paragraph Paragraph tag or span.
|
420 |
+
* @param bool $echo Whether to echo description or only return it.
|
421 |
+
* @param bool $repeat_group Whether to repeat the group.
|
422 |
+
* @return string Field's description markup.
|
423 |
*/
|
424 |
public function _desc( $paragraph = false, $echo = false, $repeat_group = false ) {
|
425 |
// Prevent description from printing multiple times for repeatable fields
|
458 |
* Generate field id attribute
|
459 |
*
|
460 |
* @since 1.1.0
|
461 |
+
* @param string $suffix For multi-part fields
|
462 |
+
* @param bool $append_repeatable_iterator Whether to append the iterator attribue if the field is repeatable.
|
463 |
+
* @return string Id attribute
|
464 |
*/
|
465 |
+
public function _id( $suffix = '', $append_repeatable_iterator = true ) {
|
466 |
+
$id = $this->field->id() . $suffix . ( $this->field->args( 'repeatable' ) ? '_' . $this->iterator : '' );
|
467 |
+
|
468 |
+
if ( $append_repeatable_iterator && $this->field->args( 'repeatable' ) ) {
|
469 |
+
$id .= '" data-iterator="' . $this->iterator;
|
470 |
+
}
|
471 |
+
|
472 |
+
return $id;
|
473 |
}
|
474 |
|
475 |
/**
|
609 |
return $this->get_new_render_type( __FUNCTION__, 'CMB2_Type_Taxonomy_Select', $args )->render();
|
610 |
}
|
611 |
|
612 |
+
public function taxonomy_select_hierarchical( $args = array() ) {
|
613 |
+
return $this->get_new_render_type( __FUNCTION__, 'CMB2_Type_Taxonomy_Select_Hierarchical', $args )->render();
|
614 |
+
}
|
615 |
+
|
616 |
public function radio( $args = array(), $type = __FUNCTION__ ) {
|
617 |
return $this->get_new_render_type( $type, 'CMB2_Type_Radio', $args, $type )->render();
|
618 |
}
|
includes/lib/cmb2/includes/CMB2_Utils.php
CHANGED
@@ -32,7 +32,7 @@ class CMB2_Utils {
|
|
32 |
* Utility method that attempts to get an attachment's ID by it's url
|
33 |
*
|
34 |
* @since 1.0.0
|
35 |
-
* @param string $img_url Attachment url
|
36 |
* @return int|false Attachment ID or false
|
37 |
*/
|
38 |
public static function image_id_from_url( $img_url ) {
|
@@ -85,7 +85,7 @@ class CMB2_Utils {
|
|
85 |
* @global array $_wp_additional_image_sizes
|
86 |
* @return array The image sizes
|
87 |
*/
|
88 |
-
static function get_available_image_sizes() {
|
89 |
global $_wp_additional_image_sizes;
|
90 |
|
91 |
$default_image_sizes = array( 'thumbnail', 'medium', 'large' );
|
@@ -114,7 +114,7 @@ class CMB2_Utils {
|
|
114 |
* Uses get_available_image_sizes() to get all available sizes.
|
115 |
*
|
116 |
* @since 2.2.4
|
117 |
-
* @param array|string $size Image size. Accepts an array of width and height (in that order)
|
118 |
* @return false|string Named image size e.g. 'thumbnail'
|
119 |
*/
|
120 |
public static function get_named_size( $size ) {
|
@@ -136,7 +136,7 @@ class CMB2_Utils {
|
|
136 |
// If it's not an exact match, consider larger sizes with the same aspect ratio.
|
137 |
if ( $data['width'] >= $size[0] && $data['height'] >= $size[1] ) {
|
138 |
|
139 |
-
|
140 |
* To test for varying crops, we constrain the dimensions of the larger image
|
141 |
* to the dimensions of the smaller image and see if they match.
|
142 |
*/
|
@@ -176,7 +176,7 @@ class CMB2_Utils {
|
|
176 |
}
|
177 |
} elseif ( ! empty( $image_sizes[ $size ] ) ) {
|
178 |
$data = $size;
|
179 |
-
}// End if
|
180 |
|
181 |
// If we still don't have a match at this point, return false.
|
182 |
if ( empty( $data ) ) {
|
@@ -190,7 +190,7 @@ class CMB2_Utils {
|
|
190 |
* Utility method that returns time string offset by timezone
|
191 |
*
|
192 |
* @since 1.0.0
|
193 |
-
* @param string $tzstring Time string
|
194 |
* @return string Offset time string
|
195 |
*/
|
196 |
public static function timezone_offset( $tzstring ) {
|
@@ -233,7 +233,7 @@ class CMB2_Utils {
|
|
233 |
$tzstring = '';
|
234 |
}
|
235 |
|
236 |
-
if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists
|
237 |
if ( 0 == $current_offset ) {
|
238 |
$tzstring = 'UTC+0';
|
239 |
} elseif ( $current_offset < 0 ) {
|
@@ -250,8 +250,8 @@ class CMB2_Utils {
|
|
250 |
* Returns a timestamp, first checking if value already is a timestamp.
|
251 |
*
|
252 |
* @since 2.0.0
|
253 |
-
* @param string|int $string Possible timestamp string
|
254 |
-
* @return int
|
255 |
*/
|
256 |
public static function make_valid_time_stamp( $string ) {
|
257 |
if ( ! $string ) {
|
@@ -267,7 +267,7 @@ class CMB2_Utils {
|
|
267 |
* Determine if a value is a valid timestamp
|
268 |
*
|
269 |
* @since 2.0.0
|
270 |
-
* @param mixed $timestamp Value to check
|
271 |
* @return boolean Whether value is a valid timestamp
|
272 |
*/
|
273 |
public static function is_valid_time_stamp( $timestamp ) {
|
@@ -280,7 +280,7 @@ class CMB2_Utils {
|
|
280 |
* Checks if a value is 'empty'. Still accepts 0.
|
281 |
*
|
282 |
* @since 2.0.0
|
283 |
-
* @param mixed $value Value to check
|
284 |
* @return bool True or false
|
285 |
*/
|
286 |
public static function isempty( $value ) {
|
@@ -291,7 +291,7 @@ class CMB2_Utils {
|
|
291 |
* Checks if a value is not 'empty'. 0 doesn't count as empty.
|
292 |
*
|
293 |
* @since 2.2.2
|
294 |
-
* @param mixed $value Value to check
|
295 |
* @return bool True or false
|
296 |
*/
|
297 |
public static function notempty( $value ) {
|
@@ -302,8 +302,8 @@ class CMB2_Utils {
|
|
302 |
* Filters out empty values (not including 0).
|
303 |
*
|
304 |
* @since 2.2.2
|
305 |
-
* @param mixed $value Value to check
|
306 |
-
* @return
|
307 |
*/
|
308 |
public static function filter_empty( $value ) {
|
309 |
return array_filter( $value, array( __CLASS__, 'notempty' ) );
|
@@ -313,9 +313,9 @@ class CMB2_Utils {
|
|
313 |
* Insert a single array item inside another array at a set position
|
314 |
*
|
315 |
* @since 2.0.2
|
316 |
-
* @param array
|
317 |
-
* @param array $new New array to insert
|
318 |
-
* @param int $position Position in the main array to insert the new array
|
319 |
*/
|
320 |
public static function array_insert( &$array, $new, $position ) {
|
321 |
$before = array_slice( $array, 0, $position - 1 );
|
@@ -329,6 +329,8 @@ class CMB2_Utils {
|
|
329 |
* If resources do not load, please check the wiki for details.
|
330 |
*
|
331 |
* @since 1.0.1
|
|
|
|
|
332 |
* @return string URL to CMB2 resources
|
333 |
*/
|
334 |
public static function url( $path = '' ) {
|
@@ -339,9 +341,9 @@ class CMB2_Utils {
|
|
339 |
$cmb2_url = self::get_url_from_dir( cmb2_dir() );
|
340 |
|
341 |
/**
|
342 |
-
* Filter the CMB location url
|
343 |
*
|
344 |
-
* @param string $cmb2_url Currently registered url
|
345 |
*/
|
346 |
self::$url = trailingslashit( apply_filters( 'cmb2_meta_box_url', $cmb2_url, CMB2_VERSION ) );
|
347 |
|
@@ -383,7 +385,7 @@ class CMB2_Utils {
|
|
383 |
);
|
384 |
}
|
385 |
|
386 |
-
// Check to see if it's anywhere in the root directory
|
387 |
$site_dir = self::get_normalized_abspath();
|
388 |
$site_url = trailingslashit( is_multisite() ? network_site_url() : site_url() );
|
389 |
|
@@ -439,8 +441,8 @@ class CMB2_Utils {
|
|
439 |
* Get timestamp from text date
|
440 |
*
|
441 |
* @since 2.2.0
|
442 |
-
* @param string $value Date value
|
443 |
-
* @param string $date_format Expected date format
|
444 |
* @return mixed Unix timestamp representing the date.
|
445 |
*/
|
446 |
public static function get_timestamp_from_value( $value, $date_format ) {
|
@@ -450,9 +452,9 @@ class CMB2_Utils {
|
|
450 |
|
451 |
/**
|
452 |
* Takes a php date() format string and returns a string formatted to suit for the date/time pickers
|
453 |
-
* It will work
|
454 |
*
|
455 |
-
*
|
456 |
*
|
457 |
* A slight effort is made to deal with escaped characters.
|
458 |
*
|
@@ -460,44 +462,44 @@ class CMB2_Utils {
|
|
460 |
* bring even more translation troubles.
|
461 |
*
|
462 |
* @since 2.2.0
|
463 |
-
* @param string $format
|
464 |
* @return string reformatted string
|
465 |
*/
|
466 |
public static function php_to_js_dateformat( $format ) {
|
467 |
|
468 |
// order is relevant here, since the replacement will be done sequentially.
|
469 |
$supported_options = array(
|
470 |
-
'd'
|
471 |
-
'j'
|
472 |
-
'z'
|
473 |
-
// 'D' => 'D', // Day name short, not sure how it'll work with translations
|
474 |
-
'l '
|
475 |
-
'l, '
|
476 |
-
'm'
|
477 |
-
'n'
|
478 |
-
// 'M' => 'M', // Month, Short name
|
479 |
-
'F '
|
480 |
-
'F, '
|
481 |
-
'y'
|
482 |
-
'Y'
|
483 |
-
'H'
|
484 |
-
'G'
|
485 |
-
'h'
|
486 |
-
'g'
|
487 |
-
'i'
|
488 |
-
's'
|
489 |
-
'a'
|
490 |
-
'A'
|
491 |
);
|
492 |
|
493 |
foreach ( $supported_options as $php => $js ) {
|
494 |
-
// replaces every instance of a supported option, but skips escaped characters
|
495 |
$format = preg_replace( "~(?<!\\\\)$php~", $js, $format );
|
496 |
}
|
497 |
|
498 |
$supported_options = array(
|
499 |
-
'l' => 'DD', // Day name full, idem before
|
500 |
-
'F' => 'MM', // Month, full name
|
501 |
);
|
502 |
|
503 |
if ( isset( $supported_options[ $format ] ) ) {
|
@@ -513,7 +515,7 @@ class CMB2_Utils {
|
|
513 |
* Helper function for CMB_Utils::php_to_js_dateformat().
|
514 |
*
|
515 |
* @since 2.2.0
|
516 |
-
* @param $value Value to wrap/escape
|
517 |
* @return string Modified value
|
518 |
*/
|
519 |
public static function wrap_escaped_chars( $value ) {
|
@@ -525,10 +527,10 @@ class CMB2_Utils {
|
|
525 |
*
|
526 |
* @since 2.2.0
|
527 |
*
|
528 |
-
* @param string $function Function name
|
529 |
-
* @param int $line Line number
|
530 |
-
* @param mixed $msg Message to output
|
531 |
-
* @param mixed $debug Variable to print_r
|
532 |
*/
|
533 |
public static function log_if_debug( $function, $line, $msg, $debug = null ) {
|
534 |
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
|
@@ -540,7 +542,7 @@ class CMB2_Utils {
|
|
540 |
* Determine a file's extension
|
541 |
*
|
542 |
* @since 1.0.0
|
543 |
-
* @param string $file File url
|
544 |
* @return string|false File extension or false
|
545 |
*/
|
546 |
public static function get_file_ext( $file ) {
|
@@ -552,7 +554,7 @@ class CMB2_Utils {
|
|
552 |
* Get the file name from a url
|
553 |
*
|
554 |
* @since 2.0.0
|
555 |
-
* @param string $value File url or path
|
556 |
* @return string File name
|
557 |
*/
|
558 |
public static function get_file_name_from_path( $value ) {
|
@@ -565,7 +567,7 @@ class CMB2_Utils {
|
|
565 |
*
|
566 |
* @since 2.2.2
|
567 |
* @param string $version WP version string to compare.
|
568 |
-
* @return bool
|
569 |
*/
|
570 |
public static function wp_at_least( $version ) {
|
571 |
return version_compare( get_bloginfo( 'version' ), $version, '>=' );
|
@@ -577,7 +579,7 @@ class CMB2_Utils {
|
|
577 |
* @since 1.1.0
|
578 |
* @param array $attrs Attributes to concatenate.
|
579 |
* @param array $attr_exclude Attributes that should NOT be concatenated.
|
580 |
-
* @return string
|
581 |
*/
|
582 |
public static function concat_attrs( $attrs, $attr_exclude = array() ) {
|
583 |
$attr_exclude[] = 'rendered';
|
@@ -588,8 +590,10 @@ class CMB2_Utils {
|
|
588 |
$excluded = in_array( $attr, (array) $attr_exclude, true );
|
589 |
$empty = false === $val && 'value' !== $attr;
|
590 |
if ( ! $excluded && ! $empty ) {
|
591 |
-
|
592 |
-
|
|
|
|
|
593 |
$attributes .= sprintf( ' %1$s=%3$s%2$s%3$s', $attr, $val, $quotes );
|
594 |
}
|
595 |
}
|
@@ -601,8 +605,7 @@ class CMB2_Utils {
|
|
601 |
*
|
602 |
* @since 2.2.5
|
603 |
*
|
604 |
-
* @param
|
605 |
-
*
|
606 |
* @return boolean
|
607 |
*/
|
608 |
public static function is_data_attribute( $att ) {
|
@@ -641,8 +644,7 @@ class CMB2_Utils {
|
|
641 |
*
|
642 |
* @since 2.2.6
|
643 |
*
|
644 |
-
* @param
|
645 |
-
*
|
646 |
* @return mixed Possibly normalized value.
|
647 |
*/
|
648 |
public static function normalize_if_numeric( $value ) {
|
@@ -658,7 +660,7 @@ class CMB2_Utils {
|
|
658 |
*
|
659 |
* @since 2.4.0
|
660 |
*
|
661 |
-
* @param
|
662 |
*
|
663 |
* @return string
|
664 |
*/
|
32 |
* Utility method that attempts to get an attachment's ID by it's url
|
33 |
*
|
34 |
* @since 1.0.0
|
35 |
+
* @param string $img_url Attachment url.
|
36 |
* @return int|false Attachment ID or false
|
37 |
*/
|
38 |
public static function image_id_from_url( $img_url ) {
|
85 |
* @global array $_wp_additional_image_sizes
|
86 |
* @return array The image sizes
|
87 |
*/
|
88 |
+
public static function get_available_image_sizes() {
|
89 |
global $_wp_additional_image_sizes;
|
90 |
|
91 |
$default_image_sizes = array( 'thumbnail', 'medium', 'large' );
|
114 |
* Uses get_available_image_sizes() to get all available sizes.
|
115 |
*
|
116 |
* @since 2.2.4
|
117 |
+
* @param array|string $size Image size. Accepts an array of width and height (in that order).
|
118 |
* @return false|string Named image size e.g. 'thumbnail'
|
119 |
*/
|
120 |
public static function get_named_size( $size ) {
|
136 |
// If it's not an exact match, consider larger sizes with the same aspect ratio.
|
137 |
if ( $data['width'] >= $size[0] && $data['height'] >= $size[1] ) {
|
138 |
|
139 |
+
/**
|
140 |
* To test for varying crops, we constrain the dimensions of the larger image
|
141 |
* to the dimensions of the smaller image and see if they match.
|
142 |
*/
|
176 |
}
|
177 |
} elseif ( ! empty( $image_sizes[ $size ] ) ) {
|
178 |
$data = $size;
|
179 |
+
}// End if.
|
180 |
|
181 |
// If we still don't have a match at this point, return false.
|
182 |
if ( empty( $data ) ) {
|
190 |
* Utility method that returns time string offset by timezone
|
191 |
*
|
192 |
* @since 1.0.0
|
193 |
+
* @param string $tzstring Time string.
|
194 |
* @return string Offset time string
|
195 |
*/
|
196 |
public static function timezone_offset( $tzstring ) {
|
233 |
$tzstring = '';
|
234 |
}
|
235 |
|
236 |
+
if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists.
|
237 |
if ( 0 == $current_offset ) {
|
238 |
$tzstring = 'UTC+0';
|
239 |
} elseif ( $current_offset < 0 ) {
|
250 |
* Returns a timestamp, first checking if value already is a timestamp.
|
251 |
*
|
252 |
* @since 2.0.0
|
253 |
+
* @param string|int $string Possible timestamp string.
|
254 |
+
* @return int Time stamp.
|
255 |
*/
|
256 |
public static function make_valid_time_stamp( $string ) {
|
257 |
if ( ! $string ) {
|
267 |
* Determine if a value is a valid timestamp
|
268 |
*
|
269 |
* @since 2.0.0
|
270 |
+
* @param mixed $timestamp Value to check.
|
271 |
* @return boolean Whether value is a valid timestamp
|
272 |
*/
|
273 |
public static function is_valid_time_stamp( $timestamp ) {
|
280 |
* Checks if a value is 'empty'. Still accepts 0.
|
281 |
*
|
282 |
* @since 2.0.0
|
283 |
+
* @param mixed $value Value to check.
|
284 |
* @return bool True or false
|
285 |
*/
|
286 |
public static function isempty( $value ) {
|
291 |
* Checks if a value is not 'empty'. 0 doesn't count as empty.
|
292 |
*
|
293 |
* @since 2.2.2
|
294 |
+
* @param mixed $value Value to check.
|
295 |
* @return bool True or false
|
296 |
*/
|
297 |
public static function notempty( $value ) {
|
302 |
* Filters out empty values (not including 0).
|
303 |
*
|
304 |
* @since 2.2.2
|
305 |
+
* @param mixed $value Value to check.
|
306 |
+
* @return array True or false.
|
307 |
*/
|
308 |
public static function filter_empty( $value ) {
|
309 |
return array_filter( $value, array( __CLASS__, 'notempty' ) );
|
313 |
* Insert a single array item inside another array at a set position
|
314 |
*
|
315 |
* @since 2.0.2
|
316 |
+
* @param array $array Array to modify. Is passed by reference, and no return is needed. Passed by reference.
|
317 |
+
* @param array $new New array to insert.
|
318 |
+
* @param int $position Position in the main array to insert the new array.
|
319 |
*/
|
320 |
public static function array_insert( &$array, $new, $position ) {
|
321 |
$before = array_slice( $array, 0, $position - 1 );
|
329 |
* If resources do not load, please check the wiki for details.
|
330 |
*
|
331 |
* @since 1.0.1
|
332 |
+
*
|
333 |
+
* @param string $path URL path.
|
334 |
* @return string URL to CMB2 resources
|
335 |
*/
|
336 |
public static function url( $path = '' ) {
|
341 |
$cmb2_url = self::get_url_from_dir( cmb2_dir() );
|
342 |
|
343 |
/**
|
344 |
+
* Filter the CMB location url.
|
345 |
*
|
346 |
+
* @param string $cmb2_url Currently registered url.
|
347 |
*/
|
348 |
self::$url = trailingslashit( apply_filters( 'cmb2_meta_box_url', $cmb2_url, CMB2_VERSION ) );
|
349 |
|
385 |
);
|
386 |
}
|
387 |
|
388 |
+
// Check to see if it's anywhere in the root directory.
|
389 |
$site_dir = self::get_normalized_abspath();
|
390 |
$site_url = trailingslashit( is_multisite() ? network_site_url() : site_url() );
|
391 |
|
441 |
* Get timestamp from text date
|
442 |
*
|
443 |
* @since 2.2.0
|
444 |
+
* @param string $value Date value.
|
445 |
+
* @param string $date_format Expected date format.
|
446 |
* @return mixed Unix timestamp representing the date.
|
447 |
*/
|
448 |
public static function get_timestamp_from_value( $value, $date_format ) {
|
452 |
|
453 |
/**
|
454 |
* Takes a php date() format string and returns a string formatted to suit for the date/time pickers
|
455 |
+
* It will work only with the following subset of date() options:
|
456 |
*
|
457 |
+
* Formats: d, l, j, z, m, F, n, y, and Y.
|
458 |
*
|
459 |
* A slight effort is made to deal with escaped characters.
|
460 |
*
|
462 |
* bring even more translation troubles.
|
463 |
*
|
464 |
* @since 2.2.0
|
465 |
+
* @param string $format PHP date format.
|
466 |
* @return string reformatted string
|
467 |
*/
|
468 |
public static function php_to_js_dateformat( $format ) {
|
469 |
|
470 |
// order is relevant here, since the replacement will be done sequentially.
|
471 |
$supported_options = array(
|
472 |
+
'd' => 'dd', // Day, leading 0.
|
473 |
+
'j' => 'd', // Day, no 0.
|
474 |
+
'z' => 'o', // Day of the year, no leading zeroes.
|
475 |
+
// 'D' => 'D', // Day name short, not sure how it'll work with translations.
|
476 |
+
'l ' => 'DD ', // Day name full, idem before.
|
477 |
+
'l, ' => 'DD, ', // Day name full, idem before.
|
478 |
+
'm' => 'mm', // Month of the year, leading 0.
|
479 |
+
'n' => 'm', // Month of the year, no leading 0.
|
480 |
+
// 'M' => 'M', // Month, Short name.
|
481 |
+
'F ' => 'MM ', // Month, full name.
|
482 |
+
'F, ' => 'MM, ', // Month, full name.
|
483 |
+
'y' => 'y', // Year, two digit.
|
484 |
+
'Y' => 'yy', // Year, full.
|
485 |
+
'H' => 'HH', // Hour with leading 0 (24 hour).
|
486 |
+
'G' => 'H', // Hour with no leading 0 (24 hour).
|
487 |
+
'h' => 'hh', // Hour with leading 0 (12 hour).
|
488 |
+
'g' => 'h', // Hour with no leading 0 (12 hour).
|
489 |
+
'i' => 'mm', // Minute with leading 0.
|
490 |
+
's' => 'ss', // Second with leading 0.
|
491 |
+
'a' => 'tt', // am/pm.
|
492 |
+
'A' => 'TT', // AM/PM.
|
493 |
);
|
494 |
|
495 |
foreach ( $supported_options as $php => $js ) {
|
496 |
+
// replaces every instance of a supported option, but skips escaped characters.
|
497 |
$format = preg_replace( "~(?<!\\\\)$php~", $js, $format );
|
498 |
}
|
499 |
|
500 |
$supported_options = array(
|
501 |
+
'l' => 'DD', // Day name full, idem before.
|
502 |
+
'F' => 'MM', // Month, full name.
|
503 |
);
|
504 |
|
505 |
if ( isset( $supported_options[ $format ] ) ) {
|
515 |
* Helper function for CMB_Utils::php_to_js_dateformat().
|
516 |
*
|
517 |
* @since 2.2.0
|
518 |
+
* @param string $value Value to wrap/escape.
|
519 |
* @return string Modified value
|
520 |
*/
|
521 |
public static function wrap_escaped_chars( $value ) {
|
527 |
*
|
528 |
* @since 2.2.0
|
529 |
*
|
530 |
+
* @param string $function Function name.
|
531 |
+
* @param int $line Line number.
|
532 |
+
* @param mixed $msg Message to output.
|
533 |
+
* @param mixed $debug Variable to print_r.
|
534 |
*/
|
535 |
public static function log_if_debug( $function, $line, $msg, $debug = null ) {
|
536 |
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
|
542 |
* Determine a file's extension
|
543 |
*
|
544 |
* @since 1.0.0
|
545 |
+
* @param string $file File url.
|
546 |
* @return string|false File extension or false
|
547 |
*/
|
548 |
public static function get_file_ext( $file ) {
|
554 |
* Get the file name from a url
|
555 |
*
|
556 |
* @since 2.0.0
|
557 |
+
* @param string $value File url or path.
|
558 |
* @return string File name
|
559 |
*/
|
560 |
public static function get_file_name_from_path( $value ) {
|
567 |
*
|
568 |
* @since 2.2.2
|
569 |
* @param string $version WP version string to compare.
|
570 |
+
* @return bool Result of comparison check.
|
571 |
*/
|
572 |
public static function wp_at_least( $version ) {
|
573 |
return version_compare( get_bloginfo( 'version' ), $version, '>=' );
|
579 |
* @since 1.1.0
|
580 |
* @param array $attrs Attributes to concatenate.
|
581 |
* @param array $attr_exclude Attributes that should NOT be concatenated.
|
582 |
+
* @return string String of attributes for form element.
|
583 |
*/
|
584 |
public static function concat_attrs( $attrs, $attr_exclude = array() ) {
|
585 |
$attr_exclude[] = 'rendered';
|
590 |
$excluded = in_array( $attr, (array) $attr_exclude, true );
|
591 |
$empty = false === $val && 'value' !== $attr;
|
592 |
if ( ! $excluded && ! $empty ) {
|
593 |
+
$val = is_array( $val ) ? implode( ',', $val ) : $val;
|
594 |
+
|
595 |
+
// if data attribute, use single quote wraps, else double.
|
596 |
+
$quotes = self::is_data_attribute( $attr ) ? "'" : '"';
|
597 |
$attributes .= sprintf( ' %1$s=%3$s%2$s%3$s', $attr, $val, $quotes );
|
598 |
}
|
599 |
}
|
605 |
*
|
606 |
* @since 2.2.5
|
607 |
*
|
608 |
+
* @param string $att HTML attribute.
|
|
|
609 |
* @return boolean
|
610 |
*/
|
611 |
public static function is_data_attribute( $att ) {
|
644 |
*
|
645 |
* @since 2.2.6
|
646 |
*
|
647 |
+
* @param mixed $value Value to normalize (if numeric).
|
|
|
648 |
* @return mixed Possibly normalized value.
|
649 |
*/
|
650 |
public static function normalize_if_numeric( $value ) {
|
660 |
*
|
661 |
* @since 2.4.0
|
662 |
*
|
663 |
+
* @param string $string String to create a hash from.
|
664 |
*
|
665 |
* @return string
|
666 |
*/
|
includes/lib/cmb2/includes/CMB2_hookup.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @license GPL-2.0+
|
12 |
* @link https://cmb2.io
|
13 |
*/
|
14 |
-
class
|
15 |
|
16 |
/**
|
17 |
* Only allow JS registration once
|
@@ -58,7 +58,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
58 |
*
|
59 |
* @since 2.2.6
|
60 |
*
|
61 |
-
* @param CMB2 $cmb The CMB2 object to hookup
|
62 |
*
|
63 |
* @return CMB2_Hookup_Base $hookup The hookup object.
|
64 |
*/
|
@@ -80,7 +80,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
80 |
}
|
81 |
|
82 |
if ( is_admin() ) {
|
83 |
-
//
|
84 |
$this->once( 'admin_enqueue_scripts', array( __CLASS__, 'register_scripts' ), 8 );
|
85 |
$this->once( 'admin_enqueue_scripts', array( $this, 'do_scripts' ) );
|
86 |
|
@@ -131,6 +131,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
131 |
add_action( 'add_meta_boxes', array( $this, 'add_metaboxes' ) );
|
132 |
}
|
133 |
|
|
|
134 |
add_action( 'add_attachment', array( $this, 'save_post' ) );
|
135 |
add_action( 'edit_attachment', array( $this, 'save_post' ) );
|
136 |
add_action( 'save_post', array( $this, 'save_post' ), 10, 2 );
|
@@ -139,6 +140,8 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
139 |
foreach ( $this->cmb->box_types() as $post_type ) {
|
140 |
add_filter( "manage_{$post_type}_posts_columns", array( $this, 'register_column_headers' ) );
|
141 |
add_action( "manage_{$post_type}_posts_custom_column", array( $this, 'column_display' ), 10, 2 );
|
|
|
|
|
142 |
}
|
143 |
}
|
144 |
|
@@ -152,6 +155,8 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
152 |
if ( $this->cmb->has_columns ) {
|
153 |
add_filter( 'manage_edit-comments_columns', array( $this, 'register_column_headers' ) );
|
154 |
add_action( 'manage_comments_custom_column', array( $this, 'column_display' ), 10, 3 );
|
|
|
|
|
155 |
}
|
156 |
|
157 |
return $this;
|
@@ -171,6 +176,8 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
171 |
if ( $this->cmb->has_columns ) {
|
172 |
add_filter( 'manage_users_columns', array( $this, 'register_column_headers' ) );
|
173 |
add_filter( 'manage_users_custom_column', array( $this, 'return_column_display' ), 10, 3 );
|
|
|
|
|
174 |
}
|
175 |
|
176 |
return $this;
|
@@ -190,7 +197,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
190 |
$priority = $this->get_priority( 8 );
|
191 |
|
192 |
foreach ( $this->taxonomies as $taxonomy ) {
|
193 |
-
// Display our form data
|
194 |
add_action( "{$taxonomy}_edit_form", array( $this, 'term_metabox' ), $priority, 2 );
|
195 |
|
196 |
$show_on_add = is_array( $show_on_term_add )
|
@@ -207,7 +214,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
207 |
*/
|
208 |
$show_on_add = apply_filters( "cmb2_show_on_term_add_form_{$this->cmb->cmb_id}", $show_on_add, $this->cmb );
|
209 |
|
210 |
-
// Display form in add-new section (unless specified not to)
|
211 |
if ( $show_on_add ) {
|
212 |
add_action( "{$taxonomy}_add_form_fields", array( $this, 'term_metabox' ), $priority, 2 );
|
213 |
}
|
@@ -215,6 +222,8 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
215 |
if ( $this->cmb->has_columns ) {
|
216 |
add_filter( "manage_edit-{$taxonomy}_columns", array( $this, 'register_column_headers' ) );
|
217 |
add_filter( "manage_{$taxonomy}_custom_column", array( $this, 'return_column_display' ), 10, 3 );
|
|
|
|
|
218 |
}
|
219 |
}
|
220 |
|
@@ -248,7 +257,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
248 |
return;
|
249 |
}
|
250 |
|
251 |
-
// Only use minified files if SCRIPT_DEBUG is off
|
252 |
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
253 |
$front = is_admin() ? '' : '-front';
|
254 |
$rtl = is_rtl() ? '-rtl' : '';
|
@@ -294,7 +303,9 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
294 |
/**
|
295 |
* Enqueues scripts and styles for CMB2 in admin_head.
|
296 |
*
|
297 |
-
* @since
|
|
|
|
|
298 |
*/
|
299 |
public function do_scripts( $hook ) {
|
300 |
$hooks = array(
|
@@ -325,23 +336,20 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
325 |
* Register the CMB2 field column headers.
|
326 |
*
|
327 |
* @since 2.2.2
|
|
|
|
|
328 |
*/
|
329 |
public function register_column_headers( $columns ) {
|
330 |
-
|
331 |
-
|
332 |
-
foreach ( $fields as $key => $field ) {
|
333 |
-
if ( ! isset( $field['column'] ) ) {
|
334 |
continue;
|
335 |
}
|
336 |
|
337 |
$column = $field['column'];
|
338 |
|
339 |
if ( false === $column['position'] ) {
|
340 |
-
|
341 |
$columns[ $field['id'] ] = $column['name'];
|
342 |
-
|
343 |
} else {
|
344 |
-
|
345 |
$before = array_slice( $columns, 0, absint( $column['position'] ) );
|
346 |
$before[ $field['id'] ] = $column['name'];
|
347 |
$columns = $before + $columns;
|
@@ -358,17 +366,101 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
358 |
* The CMB2 field column display output.
|
359 |
*
|
360 |
* @since 2.2.2
|
|
|
|
|
|
|
361 |
*/
|
362 |
public function column_display( $column_name, $object_id ) {
|
363 |
if ( isset( $this->columns[ $column_name ] ) ) {
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
|
371 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
}
|
373 |
}
|
374 |
|
@@ -442,24 +534,51 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
442 |
* Output the opening markup for a context box.
|
443 |
*
|
444 |
* @since 2.2.4
|
445 |
-
* @param $add_handle Whether to add the metabox handle and opening div for .inside
|
446 |
*/
|
447 |
public function context_box_title_markup_open( $add_handle = true ) {
|
448 |
-
$
|
|
|
|
|
|
|
|
|
449 |
|
450 |
-
$page
|
451 |
-
|
|
|
|
|
|
|
452 |
|
453 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
|
455 |
if ( $add_handle ) {
|
456 |
|
457 |
-
|
458 |
-
echo '<
|
459 |
-
echo
|
460 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
|
462 |
-
echo '<h2 class="hndle"><span>' . esc_attr( $title ) . '</span></h2>' . "\n";
|
463 |
echo '<div class="inside">' . "\n";
|
464 |
}
|
465 |
}
|
@@ -468,7 +587,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
468 |
* Output the closing markup for a context box.
|
469 |
*
|
470 |
* @since 2.2.4
|
471 |
-
* @param $add_inside_close Whether to add closing div for .inside.
|
472 |
*/
|
473 |
public function context_box_title_markup_close( $add_inside_close = true ) {
|
474 |
|
@@ -508,11 +627,15 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
508 |
add_filter( "postbox_classes_{$page}_{$this->cmb->cmb_id}", array( $this, 'postbox_classes' ) );
|
509 |
|
510 |
foreach ( $this->cmb->box_types() as $object_type ) {
|
511 |
-
|
512 |
-
$this->
|
513 |
-
|
514 |
-
|
515 |
-
|
|
|
|
|
|
|
|
|
516 |
}
|
517 |
}
|
518 |
|
@@ -520,24 +643,27 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
520 |
* Remove the specified default taxonomy metaboxes for a post-type.
|
521 |
*
|
522 |
* @since 2.2.3
|
523 |
-
*
|
524 |
*/
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
|
531 |
-
|
532 |
-
|
|
|
|
|
|
|
533 |
}
|
534 |
}
|
535 |
|
536 |
/**
|
537 |
* Modify metabox postbox classes.
|
538 |
*
|
539 |
-
* @since
|
540 |
-
* @param array $classes Array of classes
|
541 |
* @return array Modified array of classes
|
542 |
*/
|
543 |
public function postbox_classes( $classes ) {
|
@@ -557,8 +683,8 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
557 |
/**
|
558 |
* Modify metabox altnernate context postbox classes.
|
559 |
*
|
560 |
-
* @since
|
561 |
-
* @param array $classes Array of classes
|
562 |
* @return array Modified array of classes
|
563 |
*/
|
564 |
protected function alternate_context_postbox_classes( $classes ) {
|
@@ -581,22 +707,24 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
581 |
}
|
582 |
|
583 |
/**
|
584 |
-
* Display metaboxes for a post or comment object
|
585 |
*
|
586 |
* @since 1.0.0
|
587 |
*/
|
588 |
public function metabox_callback() {
|
589 |
-
$object_id = 'comment'
|
590 |
$this->cmb->show_form( $object_id, $this->object_type );
|
591 |
}
|
592 |
|
593 |
/**
|
594 |
-
* Display metaboxes for new user page
|
595 |
*
|
596 |
-
* @since
|
|
|
|
|
597 |
*/
|
598 |
public function user_new_metabox( $section ) {
|
599 |
-
if ( $section
|
600 |
$object_id = $this->cmb->object_id();
|
601 |
$this->cmb->object_id( isset( $_REQUEST['user_id'] ) ? $_REQUEST['user_id'] : $object_id );
|
602 |
$this->user_metabox();
|
@@ -624,8 +752,8 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
624 |
/**
|
625 |
* Display metaboxes for an object type.
|
626 |
*
|
627 |
-
* @since
|
628 |
-
* @param string $type Object type
|
629 |
* @return void
|
630 |
*/
|
631 |
public function show_form_for_type( $type ) {
|
@@ -648,21 +776,21 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
648 |
}
|
649 |
|
650 |
/**
|
651 |
-
* Determines if metabox should be shown in current context
|
652 |
*
|
653 |
-
* @since
|
654 |
-
* @return bool Whether metabox should be added/shown
|
655 |
*/
|
656 |
public function show_on() {
|
657 |
-
// If metabox is requesting to be conditionally shown
|
658 |
$show = $this->cmb->should_show();
|
659 |
|
660 |
/**
|
661 |
-
* Filter to determine if metabox should show. Default is true
|
662 |
*
|
663 |
-
* @param array $show Default is true, show the metabox
|
664 |
-
* @param mixed $meta_box_args Array of the metabox arguments
|
665 |
-
* @param mixed $cmb The CMB2 instance
|
666 |
*/
|
667 |
$show = (bool) apply_filters( 'cmb2_show_on', $show, $this->cmb->meta_box, $this->cmb );
|
668 |
|
@@ -672,8 +800,9 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
672 |
/**
|
673 |
* Get the CMB priority property set to numeric hook priority.
|
674 |
*
|
675 |
-
* @since
|
676 |
-
*
|
|
|
677 |
* @return integer Hook priority.
|
678 |
*/
|
679 |
public function get_priority( $default = 10 ) {
|
@@ -702,9 +831,9 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
702 |
/**
|
703 |
* Save data from post metabox
|
704 |
*
|
705 |
-
* @since
|
706 |
-
* @param int $post_id Post ID
|
707 |
-
* @param mixed $post Post object
|
708 |
* @return void
|
709 |
*/
|
710 |
public function save_post( $post_id, $post = false ) {
|
@@ -713,25 +842,23 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
713 |
|
714 |
$do_not_pass_go = (
|
715 |
! $this->can_save( $post_type )
|
716 |
-
//
|
717 |
-
|| ( 'page'
|
718 |
|| ! current_user_can( 'edit_post', $post_id )
|
719 |
);
|
720 |
|
721 |
if ( $do_not_pass_go ) {
|
722 |
-
// do not collect $200
|
723 |
return;
|
724 |
}
|
725 |
|
726 |
-
// take a trip to reading railroad – if you pass go collect $200
|
727 |
$this->cmb->save_fields( $post_id, 'post', $_POST );
|
728 |
}
|
729 |
|
730 |
/**
|
731 |
-
* Save data from comment metabox
|
732 |
*
|
733 |
-
* @since
|
734 |
-
* @param int $comment_id Comment ID
|
735 |
* @return void
|
736 |
*/
|
737 |
public function save_comment( $comment_id ) {
|
@@ -744,14 +871,14 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
744 |
}
|
745 |
|
746 |
/**
|
747 |
-
* Save data from user fields
|
748 |
*
|
749 |
-
* @since
|
750 |
-
* @param int $user_id
|
751 |
* @return void
|
752 |
*/
|
753 |
public function save_user( $user_id ) {
|
754 |
-
// check permissions
|
755 |
if ( $this->can_save( 'user' ) ) {
|
756 |
$this->cmb->save_fields( $user_id, 'user', $_POST );
|
757 |
}
|
@@ -760,16 +887,16 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
760 |
/**
|
761 |
* Save data from term fields
|
762 |
*
|
763 |
-
* @since
|
764 |
-
* @param
|
765 |
-
* @param
|
766 |
-
* @param
|
767 |
* @return void
|
768 |
*/
|
769 |
public function save_term( $term_id, $tt_id, $taxonomy = '' ) {
|
770 |
$taxonomy = $taxonomy ? $taxonomy : $tt_id;
|
771 |
|
772 |
-
// check permissions
|
773 |
if ( $this->taxonomy_can_save( $taxonomy ) && $this->can_save( 'term' ) ) {
|
774 |
$this->cmb->save_fields( $term_id, 'term', $_POST );
|
775 |
}
|
@@ -778,10 +905,10 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
778 |
/**
|
779 |
* Delete term meta when a term is deleted.
|
780 |
*
|
781 |
-
* @since
|
782 |
-
* @param int $term_id Term ID
|
783 |
-
* @param int $tt_id Term Taxonomy ID
|
784 |
-
* @param string $taxonomy Taxonomy
|
785 |
* @return void
|
786 |
*/
|
787 |
public function delete_term( $term_id, $tt_id, $taxonomy = '' ) {
|
@@ -797,22 +924,22 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
797 |
}
|
798 |
|
799 |
/**
|
800 |
-
* Determines if the current object is able to be saved
|
801 |
*
|
802 |
* @since 2.0.9
|
803 |
* @param string $type Current object type.
|
804 |
-
* @return bool Whether object can be saved
|
805 |
*/
|
806 |
public function can_save( $type = '' ) {
|
807 |
|
808 |
$can_save = (
|
809 |
$this->cmb->prop( 'save_fields' )
|
810 |
-
// check nonce
|
811 |
&& isset( $_POST[ $this->cmb->nonce() ] )
|
812 |
&& wp_verify_nonce( $_POST[ $this->cmb->nonce() ], $this->cmb->nonce() )
|
813 |
-
// check if autosave
|
814 |
&& ! ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
815 |
-
// get the metabox types & compare it to this type
|
816 |
&& ( $type && in_array( $type, $this->cmb->box_types() ) )
|
817 |
// Don't do updates during a switch-to-blog instance.
|
818 |
&& ! ( is_multisite() && ms_is_switched() )
|
@@ -822,7 +949,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
822 |
* Filter to determine if metabox is allowed to save.
|
823 |
*
|
824 |
* @param bool $can_save Whether the current metabox can save.
|
825 |
-
* @param object $cmb The CMB2 instance
|
826 |
*/
|
827 |
return apply_filters( 'cmb2_can_save', $can_save, $this->cmb );
|
828 |
}
|
@@ -830,8 +957,9 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
830 |
/**
|
831 |
* Determine if taxonomy of term being modified is cmb2-editable.
|
832 |
*
|
833 |
-
* @since
|
834 |
-
*
|
|
|
835 |
* @return bool Whether taxonomy is editable.
|
836 |
*/
|
837 |
public function taxonomy_can_save( $taxonomy ) {
|
@@ -866,9 +994,12 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
866 |
}
|
867 |
|
868 |
/**
|
869 |
-
* Includes CMB2 styles
|
870 |
*
|
871 |
-
* @since
|
|
|
|
|
|
|
872 |
*/
|
873 |
public static function enqueue_cmb_css( $handle = 'cmb2-styles' ) {
|
874 |
|
@@ -891,7 +1022,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
|
891 |
}
|
892 |
|
893 |
/**
|
894 |
-
* Includes CMB2 JS
|
895 |
*
|
896 |
* @since 2.0.0
|
897 |
*/
|
11 |
* @license GPL-2.0+
|
12 |
* @link https://cmb2.io
|
13 |
*/
|
14 |
+
class CMB2_Hookup extends CMB2_Hookup_Base {
|
15 |
|
16 |
/**
|
17 |
* Only allow JS registration once
|
58 |
*
|
59 |
* @since 2.2.6
|
60 |
*
|
61 |
+
* @param CMB2 $cmb The CMB2 object to hookup.
|
62 |
*
|
63 |
* @return CMB2_Hookup_Base $hookup The hookup object.
|
64 |
*/
|
80 |
}
|
81 |
|
82 |
if ( is_admin() ) {
|
83 |
+
// Register our scripts and styles for cmb.
|
84 |
$this->once( 'admin_enqueue_scripts', array( __CLASS__, 'register_scripts' ), 8 );
|
85 |
$this->once( 'admin_enqueue_scripts', array( $this, 'do_scripts' ) );
|
86 |
|
131 |
add_action( 'add_meta_boxes', array( $this, 'add_metaboxes' ) );
|
132 |
}
|
133 |
|
134 |
+
add_action( 'add_meta_boxes', array( $this, 'remove_default_tax_metaboxes' ) );
|
135 |
add_action( 'add_attachment', array( $this, 'save_post' ) );
|
136 |
add_action( 'edit_attachment', array( $this, 'save_post' ) );
|
137 |
add_action( 'save_post', array( $this, 'save_post' ), 10, 2 );
|
140 |
foreach ( $this->cmb->box_types() as $post_type ) {
|
141 |
add_filter( "manage_{$post_type}_posts_columns", array( $this, 'register_column_headers' ) );
|
142 |
add_action( "manage_{$post_type}_posts_custom_column", array( $this, 'column_display' ), 10, 2 );
|
143 |
+
add_filter( "manage_edit-{$post_type}_sortable_columns", array( $this, 'columns_sortable' ) );
|
144 |
+
add_action( 'pre_get_posts', array( $this, 'columns_sortable_orderby' ) );
|
145 |
}
|
146 |
}
|
147 |
|
155 |
if ( $this->cmb->has_columns ) {
|
156 |
add_filter( 'manage_edit-comments_columns', array( $this, 'register_column_headers' ) );
|
157 |
add_action( 'manage_comments_custom_column', array( $this, 'column_display' ), 10, 3 );
|
158 |
+
add_filter( "manage_edit-comments_sortable_columns", array( $this, 'columns_sortable' ) );
|
159 |
+
add_action( 'pre_get_posts', array( $this, 'columns_sortable_orderby' ) );
|
160 |
}
|
161 |
|
162 |
return $this;
|
176 |
if ( $this->cmb->has_columns ) {
|
177 |
add_filter( 'manage_users_columns', array( $this, 'register_column_headers' ) );
|
178 |
add_filter( 'manage_users_custom_column', array( $this, 'return_column_display' ), 10, 3 );
|
179 |
+
add_filter( "manage_users_sortable_columns", array( $this, 'columns_sortable' ) );
|
180 |
+
add_action( 'pre_get_posts', array( $this, 'columns_sortable_orderby' ) );
|
181 |
}
|
182 |
|
183 |
return $this;
|
197 |
$priority = $this->get_priority( 8 );
|
198 |
|
199 |
foreach ( $this->taxonomies as $taxonomy ) {
|
200 |
+
// Display our form data.
|
201 |
add_action( "{$taxonomy}_edit_form", array( $this, 'term_metabox' ), $priority, 2 );
|
202 |
|
203 |
$show_on_add = is_array( $show_on_term_add )
|
214 |
*/
|
215 |
$show_on_add = apply_filters( "cmb2_show_on_term_add_form_{$this->cmb->cmb_id}", $show_on_add, $this->cmb );
|
216 |
|
217 |
+
// Display form in add-new section (unless specified not to).
|
218 |
if ( $show_on_add ) {
|
219 |
add_action( "{$taxonomy}_add_form_fields", array( $this, 'term_metabox' ), $priority, 2 );
|
220 |
}
|
222 |
if ( $this->cmb->has_columns ) {
|
223 |
add_filter( "manage_edit-{$taxonomy}_columns", array( $this, 'register_column_headers' ) );
|
224 |
add_filter( "manage_{$taxonomy}_custom_column", array( $this, 'return_column_display' ), 10, 3 );
|
225 |
+
add_filter( "manage_edit-{$taxonomy}_sortable_columns", array( $this, 'columns_sortable' ) );
|
226 |
+
add_action( 'pre_get_posts', array( $this, 'columns_sortable_orderby' ) );
|
227 |
}
|
228 |
}
|
229 |
|
257 |
return;
|
258 |
}
|
259 |
|
260 |
+
// Only use minified files if SCRIPT_DEBUG is off.
|
261 |
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
262 |
$front = is_admin() ? '' : '-front';
|
263 |
$rtl = is_rtl() ? '-rtl' : '';
|
303 |
/**
|
304 |
* Enqueues scripts and styles for CMB2 in admin_head.
|
305 |
*
|
306 |
+
* @since 1.0.0
|
307 |
+
*
|
308 |
+
* @param string $hook Current hook for the admin page.
|
309 |
*/
|
310 |
public function do_scripts( $hook ) {
|
311 |
$hooks = array(
|
336 |
* Register the CMB2 field column headers.
|
337 |
*
|
338 |
* @since 2.2.2
|
339 |
+
*
|
340 |
+
* @param array $columns Array of columns available for the admin page.
|
341 |
*/
|
342 |
public function register_column_headers( $columns ) {
|
343 |
+
foreach ( $this->cmb->prop( 'fields' ) as $key => $field ) {
|
344 |
+
if ( empty( $field['column'] ) ) {
|
|
|
|
|
345 |
continue;
|
346 |
}
|
347 |
|
348 |
$column = $field['column'];
|
349 |
|
350 |
if ( false === $column['position'] ) {
|
|
|
351 |
$columns[ $field['id'] ] = $column['name'];
|
|
|
352 |
} else {
|
|
|
353 |
$before = array_slice( $columns, 0, absint( $column['position'] ) );
|
354 |
$before[ $field['id'] ] = $column['name'];
|
355 |
$columns = $before + $columns;
|
366 |
* The CMB2 field column display output.
|
367 |
*
|
368 |
* @since 2.2.2
|
369 |
+
*
|
370 |
+
* @param string $column_name Current column name.
|
371 |
+
* @param mixed $object_id Current object ID.
|
372 |
*/
|
373 |
public function column_display( $column_name, $object_id ) {
|
374 |
if ( isset( $this->columns[ $column_name ] ) ) {
|
375 |
+
$field = new CMB2_Field( array(
|
376 |
+
'field_args' => $this->columns[ $column_name ]['field'],
|
377 |
+
'object_type' => $this->object_type,
|
378 |
+
'object_id' => $this->cmb->object_id( $object_id ),
|
379 |
+
'cmb_id' => $this->cmb->cmb_id,
|
380 |
+
) );
|
381 |
+
|
382 |
+
$this->cmb->get_field( $field )->render_column();
|
383 |
+
}
|
384 |
+
}
|
385 |
+
|
386 |
+
/**
|
387 |
+
* Returns the columns sortable array.
|
388 |
+
*
|
389 |
+
* @since 2.6.1
|
390 |
+
*
|
391 |
+
* @param array $columns An array of sortable columns.
|
392 |
+
*
|
393 |
+
* @return array $columns An array of sortable columns with CMB2 columns.
|
394 |
+
*/
|
395 |
+
public function columns_sortable( $columns ) {
|
396 |
+
foreach ( $this->cmb->prop( 'fields' ) as $key => $field ) {
|
397 |
+
if ( ! empty( $field['column'] ) && empty( $field['column']['disable_sortable'] ) ) {
|
398 |
+
$columns[ $field['id'] ] = $field['id'];
|
399 |
+
}
|
400 |
+
}
|
401 |
+
|
402 |
+
return $columns;
|
403 |
+
}
|
404 |
+
|
405 |
+
/**
|
406 |
+
* Return the query object to order by custom columns if selected
|
407 |
+
*
|
408 |
+
* @since 2.6.1
|
409 |
+
*
|
410 |
+
* @param object $query Object query from WordPress
|
411 |
+
*
|
412 |
+
* @return void
|
413 |
+
*/
|
414 |
+
public function columns_sortable_orderby( $query ) {
|
415 |
+
if ( ! is_admin() ) {
|
416 |
+
return;
|
417 |
+
}
|
418 |
+
|
419 |
+
$orderby = $query->get( 'orderby' );
|
420 |
|
421 |
+
foreach ( $this->cmb->prop( 'fields' ) as $key => $field ) {
|
422 |
+
if (
|
423 |
+
empty( $field['column'] )
|
424 |
+
|| ! empty( $field['column']['disable_sortable'] )
|
425 |
+
|| $field['id'] !== $orderby
|
426 |
+
) {
|
427 |
+
continue;
|
428 |
+
}
|
429 |
+
|
430 |
+
$query->set( 'meta_key', $field['id'] );
|
431 |
+
|
432 |
+
$type = $field['type'];
|
433 |
+
|
434 |
+
if ( ! empty( $field['attributes']['type'] ) ) {
|
435 |
+
switch ( $field['attributes']['type'] ) {
|
436 |
+
case 'number':
|
437 |
+
case 'date':
|
438 |
+
$type = $field['attributes']['type'];
|
439 |
+
break;
|
440 |
+
case 'range':
|
441 |
+
$type = 'number';
|
442 |
+
break;
|
443 |
+
}
|
444 |
+
}
|
445 |
+
|
446 |
+
switch ( $type ) {
|
447 |
+
case 'number':
|
448 |
+
case 'text_date_timestamp':
|
449 |
+
case 'text_datetime_timestamp':
|
450 |
+
case 'text_money':
|
451 |
+
$query->set( 'orderby', 'meta_value_num' );
|
452 |
+
break;
|
453 |
+
case 'text_time':
|
454 |
+
$query->set( 'orderby', 'meta_value_time' );
|
455 |
+
break;
|
456 |
+
case 'text_date':
|
457 |
+
$query->set( 'orderby', 'meta_value_date' );
|
458 |
+
break;
|
459 |
+
|
460 |
+
default:
|
461 |
+
$query->set( 'orderby', 'meta_value' );
|
462 |
+
break;
|
463 |
+
}
|
464 |
}
|
465 |
}
|
466 |
|
534 |
* Output the opening markup for a context box.
|
535 |
*
|
536 |
* @since 2.2.4
|
537 |
+
* @param bool $add_handle Whether to add the metabox handle and opening div for .inside.
|
538 |
*/
|
539 |
public function context_box_title_markup_open( $add_handle = true ) {
|
540 |
+
$cmb_id = $this->cmb->cmb_id;
|
541 |
+
$title = $this->cmb->prop( 'title' );
|
542 |
+
$screen = get_current_screen();
|
543 |
+
$page = $screen->id;
|
544 |
+
$is_55 = CMB2_Utils::wp_at_least( '5.5' );
|
545 |
|
546 |
+
add_filter( "postbox_classes_{$page}_{$cmb_id}", array( $this, 'postbox_classes' ) );
|
547 |
+
|
548 |
+
$hidden_class = '';
|
549 |
+
|
550 |
+
if ( $is_55 ) {
|
551 |
|
552 |
+
// get_hidden_meta_boxes() doesn't apply in the block editor.
|
553 |
+
$is_hidden = ! $screen->is_block_editor() && in_array( $cmb_id, get_hidden_meta_boxes( $screen ), true );
|
554 |
+
|
555 |
+
$hidden_class = $is_hidden
|
556 |
+
? ' hide-if-js'
|
557 |
+
: '';
|
558 |
+
}
|
559 |
+
|
560 |
+
$toggle_button = '<button type="button" class="handlediv button-link" aria-expanded="true"><span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $title ) . '</span><span class="toggle-indicator" aria-hidden="true"></span></button>';
|
561 |
+
$title_tag = '<h2 class="hndle"><span>' . esc_attr( $title ) . '</span></h2>' . "\n";
|
562 |
+
|
563 |
+
echo '<div id="' . $cmb_id . '" class="' . postbox_classes( $cmb_id, $page ) . $hidden_class . '">' . "\n";
|
564 |
|
565 |
if ( $add_handle ) {
|
566 |
|
567 |
+
if ( $is_55 ) {
|
568 |
+
echo '<div class="postbox-header">';
|
569 |
+
echo $title_tag;
|
570 |
+
|
571 |
+
echo '<div class="handle-actions hide-if-no-js">';
|
572 |
+
echo $toggle_button;
|
573 |
+
echo '</div>';
|
574 |
+
|
575 |
+
echo '</div>' . "\n";
|
576 |
+
|
577 |
+
} else {
|
578 |
+
echo $toggle_button;;
|
579 |
+
echo $title_tag;
|
580 |
+
}
|
581 |
|
|
|
582 |
echo '<div class="inside">' . "\n";
|
583 |
}
|
584 |
}
|
587 |
* Output the closing markup for a context box.
|
588 |
*
|
589 |
* @since 2.2.4
|
590 |
+
* @param bool $add_inside_close Whether to add closing div for .inside.
|
591 |
*/
|
592 |
public function context_box_title_markup_close( $add_inside_close = true ) {
|
593 |
|
627 |
add_filter( "postbox_classes_{$page}_{$this->cmb->cmb_id}", array( $this, 'postbox_classes' ) );
|
628 |
|
629 |
foreach ( $this->cmb->box_types() as $object_type ) {
|
630 |
+
add_meta_box(
|
631 |
+
$this->cmb->cmb_id,
|
632 |
+
$this->cmb->prop( 'title' ),
|
633 |
+
array( $this, 'metabox_callback' ),
|
634 |
+
$object_type,
|
635 |
+
$this->cmb->prop( 'context' ),
|
636 |
+
$this->cmb->prop( 'priority' ),
|
637 |
+
$this->cmb->prop( 'mb_callback_args' )
|
638 |
+
);
|
639 |
}
|
640 |
}
|
641 |
|
643 |
* Remove the specified default taxonomy metaboxes for a post-type.
|
644 |
*
|
645 |
* @since 2.2.3
|
646 |
+
*
|
647 |
*/
|
648 |
+
public function remove_default_tax_metaboxes() {
|
649 |
+
$to_remove = array_filter( (array) $this->cmb->tax_metaboxes_to_remove, 'taxonomy_exists' );
|
650 |
+
if ( empty( $to_remove ) ) {
|
651 |
+
return;
|
652 |
+
}
|
653 |
|
654 |
+
foreach ( $this->cmb->box_types() as $post_type ) {
|
655 |
+
foreach ( $to_remove as $taxonomy ) {
|
656 |
+
$mb_id = is_taxonomy_hierarchical( $taxonomy ) ? "{$taxonomy}div" : "tagsdiv-{$taxonomy}";
|
657 |
+
remove_meta_box( $mb_id, $post_type, 'side' );
|
658 |
+
}
|
659 |
}
|
660 |
}
|
661 |
|
662 |
/**
|
663 |
* Modify metabox postbox classes.
|
664 |
*
|
665 |
+
* @since 2.2.4
|
666 |
+
* @param array $classes Array of classes.
|
667 |
* @return array Modified array of classes
|
668 |
*/
|
669 |
public function postbox_classes( $classes ) {
|
683 |
/**
|
684 |
* Modify metabox altnernate context postbox classes.
|
685 |
*
|
686 |
+
* @since 2.2.4
|
687 |
+
* @param array $classes Array of classes.
|
688 |
* @return array Modified array of classes
|
689 |
*/
|
690 |
protected function alternate_context_postbox_classes( $classes ) {
|
707 |
}
|
708 |
|
709 |
/**
|
710 |
+
* Display metaboxes for a post or comment object.
|
711 |
*
|
712 |
* @since 1.0.0
|
713 |
*/
|
714 |
public function metabox_callback() {
|
715 |
+
$object_id = 'comment' === $this->object_type ? get_comment_ID() : get_the_ID();
|
716 |
$this->cmb->show_form( $object_id, $this->object_type );
|
717 |
}
|
718 |
|
719 |
/**
|
720 |
+
* Display metaboxes for new user page.
|
721 |
*
|
722 |
+
* @since 1.0.0
|
723 |
+
*
|
724 |
+
* @param mixed $section User section metabox.
|
725 |
*/
|
726 |
public function user_new_metabox( $section ) {
|
727 |
+
if ( $section === $this->cmb->prop( 'new_user_section' ) ) {
|
728 |
$object_id = $this->cmb->object_id();
|
729 |
$this->cmb->object_id( isset( $_REQUEST['user_id'] ) ? $_REQUEST['user_id'] : $object_id );
|
730 |
$this->user_metabox();
|
752 |
/**
|
753 |
* Display metaboxes for an object type.
|
754 |
*
|
755 |
+
* @since 2.2.0
|
756 |
+
* @param string $type Object type.
|
757 |
* @return void
|
758 |
*/
|
759 |
public function show_form_for_type( $type ) {
|
776 |
}
|
777 |
|
778 |
/**
|
779 |
+
* Determines if metabox should be shown in current context.
|
780 |
*
|
781 |
+
* @since 2.0.0
|
782 |
+
* @return bool Whether metabox should be added/shown.
|
783 |
*/
|
784 |
public function show_on() {
|
785 |
+
// If metabox is requesting to be conditionally shown.
|
786 |
$show = $this->cmb->should_show();
|
787 |
|
788 |
/**
|
789 |
+
* Filter to determine if metabox should show. Default is true.
|
790 |
*
|
791 |
+
* @param array $show Default is true, show the metabox.
|
792 |
+
* @param mixed $meta_box_args Array of the metabox arguments.
|
793 |
+
* @param mixed $cmb The CMB2 instance.
|
794 |
*/
|
795 |
$show = (bool) apply_filters( 'cmb2_show_on', $show, $this->cmb->meta_box, $this->cmb );
|
796 |
|
800 |
/**
|
801 |
* Get the CMB priority property set to numeric hook priority.
|
802 |
*
|
803 |
+
* @since 2.2.0
|
804 |
+
*
|
805 |
+
* @param integer $default Default display hook priority.
|
806 |
* @return integer Hook priority.
|
807 |
*/
|
808 |
public function get_priority( $default = 10 ) {
|
831 |
/**
|
832 |
* Save data from post metabox
|
833 |
*
|
834 |
+
* @since 1.0.0
|
835 |
+
* @param int $post_id Post ID.
|
836 |
+
* @param mixed $post Post object.
|
837 |
* @return void
|
838 |
*/
|
839 |
public function save_post( $post_id, $post = false ) {
|
842 |
|
843 |
$do_not_pass_go = (
|
844 |
! $this->can_save( $post_type )
|
845 |
+
// Check user editing permissions.
|
846 |
+
|| ( 'page' === $post_type && ! current_user_can( 'edit_page', $post_id ) )
|
847 |
|| ! current_user_can( 'edit_post', $post_id )
|
848 |
);
|
849 |
|
850 |
if ( $do_not_pass_go ) {
|
|
|
851 |
return;
|
852 |
}
|
853 |
|
|
|
854 |
$this->cmb->save_fields( $post_id, 'post', $_POST );
|
855 |
}
|
856 |
|
857 |
/**
|
858 |
+
* Save data from comment metabox.
|
859 |
*
|
860 |
+
* @since 2.0.9
|
861 |
+
* @param int $comment_id Comment ID.
|
862 |
* @return void
|
863 |
*/
|
864 |
public function save_comment( $comment_id ) {
|
871 |
}
|
872 |
|
873 |
/**
|
874 |
+
* Save data from user fields.
|
875 |
*
|
876 |
+
* @since 1.0.x
|
877 |
+
* @param int $user_id User ID.
|
878 |
* @return void
|
879 |
*/
|
880 |
public function save_user( $user_id ) {
|
881 |
+
// check permissions.
|
882 |
if ( $this->can_save( 'user' ) ) {
|
883 |
$this->cmb->save_fields( $user_id, 'user', $_POST );
|
884 |
}
|
887 |
/**
|
888 |
* Save data from term fields
|
889 |
*
|
890 |
+
* @since 2.2.0
|
891 |
+
* @param int $term_id Term ID.
|
892 |
+
* @param int $tt_id Term Taxonomy ID.
|
893 |
+
* @param string $taxonomy Taxonomy.
|
894 |
* @return void
|
895 |
*/
|
896 |
public function save_term( $term_id, $tt_id, $taxonomy = '' ) {
|
897 |
$taxonomy = $taxonomy ? $taxonomy : $tt_id;
|
898 |
|
899 |
+
// check permissions.
|
900 |
if ( $this->taxonomy_can_save( $taxonomy ) && $this->can_save( 'term' ) ) {
|
901 |
$this->cmb->save_fields( $term_id, 'term', $_POST );
|
902 |
}
|
905 |
/**
|
906 |
* Delete term meta when a term is deleted.
|
907 |
*
|
908 |
+
* @since 2.2.0
|
909 |
+
* @param int $term_id Term ID.
|
910 |
+
* @param int $tt_id Term Taxonomy ID.
|
911 |
+
* @param string $taxonomy Taxonomy.
|
912 |
* @return void
|
913 |
*/
|
914 |
public function delete_term( $term_id, $tt_id, $taxonomy = '' ) {
|
924 |
}
|
925 |
|
926 |
/**
|
927 |
+
* Determines if the current object is able to be saved.
|
928 |
*
|
929 |
* @since 2.0.9
|
930 |
* @param string $type Current object type.
|
931 |
+
* @return bool Whether object can be saved.
|
932 |
*/
|
933 |
public function can_save( $type = '' ) {
|
934 |
|
935 |
$can_save = (
|
936 |
$this->cmb->prop( 'save_fields' )
|
937 |
+
// check nonce.
|
938 |
&& isset( $_POST[ $this->cmb->nonce() ] )
|
939 |
&& wp_verify_nonce( $_POST[ $this->cmb->nonce() ], $this->cmb->nonce() )
|
940 |
+
// check if autosave.
|
941 |
&& ! ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
942 |
+
// get the metabox types & compare it to this type.
|
943 |
&& ( $type && in_array( $type, $this->cmb->box_types() ) )
|
944 |
// Don't do updates during a switch-to-blog instance.
|
945 |
&& ! ( is_multisite() && ms_is_switched() )
|
949 |
* Filter to determine if metabox is allowed to save.
|
950 |
*
|
951 |
* @param bool $can_save Whether the current metabox can save.
|
952 |
+
* @param object $cmb The CMB2 instance.
|
953 |
*/
|
954 |
return apply_filters( 'cmb2_can_save', $can_save, $this->cmb );
|
955 |
}
|
957 |
/**
|
958 |
* Determine if taxonomy of term being modified is cmb2-editable.
|
959 |
*
|
960 |
+
* @since 2.2.0
|
961 |
+
*
|
962 |
+
* @param string $taxonomy Taxonomy of term being modified.
|
963 |
* @return bool Whether taxonomy is editable.
|
964 |
*/
|
965 |
public function taxonomy_can_save( $taxonomy ) {
|
994 |
}
|
995 |
|
996 |
/**
|
997 |
+
* Includes CMB2 styles.
|
998 |
*
|
999 |
+
* @since 2.0.0
|
1000 |
+
*
|
1001 |
+
* @param string $handle CSS handle.
|
1002 |
+
* @return mixed
|
1003 |
*/
|
1004 |
public static function enqueue_cmb_css( $handle = 'cmb2-styles' ) {
|
1005 |
|
1022 |
}
|
1023 |
|
1024 |
/**
|
1025 |
+
* Includes CMB2 JS.
|
1026 |
*
|
1027 |
* @since 2.0.0
|
1028 |
*/
|
includes/lib/cmb2/includes/helper-functions.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
* Helper function to provide directory path to CMB2
|
14 |
*
|
15 |
* @since 2.0.0
|
16 |
-
* @param string $path Path to append
|
17 |
* @return string Directory with optional path appended
|
18 |
*/
|
19 |
function cmb2_dir( $path = '' ) {
|
@@ -24,7 +24,7 @@ function cmb2_dir( $path = '' ) {
|
|
24 |
* Autoloads files with CMB2 classes when needed
|
25 |
*
|
26 |
* @since 1.0.0
|
27 |
-
* @param string $class_name Name of the class being requested
|
28 |
*/
|
29 |
function cmb2_autoload_classes( $class_name ) {
|
30 |
if ( 0 !== strpos( $class_name, 'CMB2' ) ) {
|
@@ -70,6 +70,8 @@ function cmb2_ajax() {
|
|
70 |
* Get instance of the CMB2_Option class for the passed metabox ID
|
71 |
*
|
72 |
* @since 2.0.0
|
|
|
|
|
73 |
* @return CMB2_Option object Options class for setting/getting options for metabox
|
74 |
*/
|
75 |
function cmb2_options( $key ) {
|
@@ -95,7 +97,7 @@ function cmb2_options( $key ) {
|
|
95 |
function cmb2_get_oembed( $args = array() ) {
|
96 |
$oembed = cmb2_ajax()->get_oembed_no_edit( $args );
|
97 |
|
98 |
-
// Send back our embed
|
99 |
if ( $oembed['embed'] && $oembed['embed'] != $oembed['fallback'] ) {
|
100 |
return '<div class="cmb2-oembed">' . $oembed['embed'] . '</div>';
|
101 |
}
|
@@ -104,14 +106,14 @@ function cmb2_get_oembed( $args = array() ) {
|
|
104 |
/* translators: 1: results for. 2: link to codex.wordpress.org/Embeds */
|
105 |
esc_html__( 'No oEmbed Results Found for %1$s. View more info at %2$s.', 'cmb2' ),
|
106 |
$oembed['fallback'],
|
107 |
-
'<a href="https://
|
108 |
);
|
109 |
|
110 |
if ( isset( $args['wp_error'] ) && $args['wp_error'] ) {
|
111 |
return new WP_Error( 'cmb2_get_oembed_result', $error, compact( 'oembed', 'args' ) );
|
112 |
}
|
113 |
|
114 |
-
// Otherwise, send back error info that no oEmbeds were found
|
115 |
return '<p class="ui-state-error-text">' . $error . '</p>';
|
116 |
}
|
117 |
|
@@ -120,6 +122,8 @@ function cmb2_get_oembed( $args = array() ) {
|
|
120 |
*
|
121 |
* @since 2.2.2
|
122 |
* @see cmb2_get_oembed
|
|
|
|
|
123 |
*/
|
124 |
function cmb2_do_oembed( $args = array() ) {
|
125 |
echo cmb2_get_oembed( $args );
|
@@ -130,9 +134,9 @@ add_action( 'cmb2_do_oembed', 'cmb2_do_oembed' );
|
|
130 |
* A helper function to get an option from a CMB2 options array
|
131 |
*
|
132 |
* @since 1.0.1
|
133 |
-
* @param string $option_key Option key
|
134 |
-
* @param string $field_id Option array field key
|
135 |
-
* @param mixed $default Optional default fallback value
|
136 |
* @return array Options array or specific field
|
137 |
*/
|
138 |
function cmb2_get_option( $option_key, $field_id = '', $default = false ) {
|
@@ -143,10 +147,10 @@ function cmb2_get_option( $option_key, $field_id = '', $default = false ) {
|
|
143 |
* A helper function to update an option in a CMB2 options array
|
144 |
*
|
145 |
* @since 2.0.0
|
146 |
-
* @param string $option_key Option key
|
147 |
-
* @param string $field_id Option array field key
|
148 |
-
* @param mixed $value Value to update data with
|
149 |
-
* @param boolean $single Whether data should not be an array
|
150 |
* @return boolean Success/Failure
|
151 |
*/
|
152 |
function cmb2_update_option( $option_key, $field_id, $value, $single = true ) {
|
@@ -161,10 +165,10 @@ function cmb2_update_option( $option_key, $field_id, $value, $single = true ) {
|
|
161 |
* Get a CMB2 field object.
|
162 |
*
|
163 |
* @since 1.1.0
|
164 |
-
* @param array
|
165 |
-
* @param array
|
166 |
-
* @param int
|
167 |
-
* @param string
|
168 |
* Defaults to metabox object type.
|
169 |
* @return CMB2_Field|null CMB2_Field object unless metabox config cannot be found
|
170 |
*/
|
@@ -186,10 +190,10 @@ function cmb2_get_field( $meta_box, $field_id, $object_id = 0, $object_type = ''
|
|
186 |
* Get a field's value.
|
187 |
*
|
188 |
* @since 1.1.0
|
189 |
-
* @param array
|
190 |
-
* @param array
|
191 |
-
* @param int
|
192 |
-
* @param string
|
193 |
* Defaults to metabox object type.
|
194 |
* @return mixed Maybe escaped value
|
195 |
*/
|
@@ -202,7 +206,7 @@ function cmb2_get_field_value( $meta_box, $field_id, $object_id = 0, $object_typ
|
|
202 |
* Because OOP can be scary
|
203 |
*
|
204 |
* @since 2.0.2
|
205 |
-
* @param array $meta_box_config Metabox Config array
|
206 |
* @return CMB2 object Instantiated CMB2 object
|
207 |
*/
|
208 |
function new_cmb2_box( array $meta_box_config ) {
|
@@ -213,10 +217,11 @@ function new_cmb2_box( array $meta_box_config ) {
|
|
213 |
* Retrieve a CMB2 instance by the metabox ID
|
214 |
*
|
215 |
* @since 2.0.0
|
216 |
-
* @param mixed
|
217 |
-
* @param int
|
218 |
-
* @param string
|
219 |
-
*
|
|
|
220 |
* @return CMB2 object
|
221 |
*/
|
222 |
function cmb2_get_metabox( $meta_box, $object_id = 0, $object_type = '' ) {
|
@@ -228,9 +233,9 @@ function cmb2_get_metabox( $meta_box, $object_id = 0, $object_type = '' ) {
|
|
228 |
if ( is_string( $meta_box ) ) {
|
229 |
$cmb = CMB2_Boxes::get( $meta_box );
|
230 |
} else {
|
231 |
-
// See if we already have an instance of this metabox
|
232 |
$cmb = CMB2_Boxes::get( $meta_box['id'] );
|
233 |
-
// If not, we'll initate a new metabox
|
234 |
$cmb = $cmb ? $cmb : new CMB2( $meta_box, $object_id );
|
235 |
}
|
236 |
|
@@ -249,7 +254,7 @@ function cmb2_get_metabox( $meta_box, $object_id = 0, $object_type = '' ) {
|
|
249 |
* Returns array of sanitized field values from a metabox (without saving them)
|
250 |
*
|
251 |
* @since 2.0.3
|
252 |
-
* @param mixed $meta_box Metabox ID or Metabox config array
|
253 |
* @param array $data_to_sanitize Array of field_id => value data for sanitizing (likely $_POST data).
|
254 |
* @return mixed Array of sanitized values or false if no CMB2 object found
|
255 |
*/
|
@@ -262,9 +267,9 @@ function cmb2_get_metabox_sanitized_values( $meta_box, array $data_to_sanitize )
|
|
262 |
* Retrieve a metabox form
|
263 |
*
|
264 |
* @since 2.0.0
|
265 |
-
* @param mixed
|
266 |
-
* @param int
|
267 |
-
* @param array $args
|
268 |
* @return string CMB2 html form markup
|
269 |
*/
|
270 |
function cmb2_get_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
@@ -273,7 +278,7 @@ function cmb2_get_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
|
273 |
$cmb = cmb2_get_metabox( $meta_box, $object_id );
|
274 |
|
275 |
ob_start();
|
276 |
-
// Get cmb form
|
277 |
cmb2_print_metabox_form( $cmb, $object_id, $args );
|
278 |
$form = ob_get_clean();
|
279 |
|
@@ -284,16 +289,16 @@ function cmb2_get_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
|
284 |
* Display a metabox form & save it on submission
|
285 |
*
|
286 |
* @since 1.0.0
|
287 |
-
* @param mixed
|
288 |
-
* @param int
|
289 |
-
* @param array $args
|
290 |
*/
|
291 |
function cmb2_print_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
292 |
|
293 |
$object_id = $object_id ? $object_id : get_the_ID();
|
294 |
$cmb = cmb2_get_metabox( $meta_box, $object_id );
|
295 |
|
296 |
-
// if passing a metabox ID, and that ID was not found
|
297 |
if ( ! $cmb ) {
|
298 |
return;
|
299 |
}
|
@@ -306,7 +311,7 @@ function cmb2_print_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
|
306 |
'enqueue_js' => $cmb->prop( 'enqueue_js' ),
|
307 |
) );
|
308 |
|
309 |
-
// Set object type explicitly (rather than trying to guess from context)
|
310 |
$cmb->object_type( $args['object_type'] );
|
311 |
|
312 |
// Save the metabox if it's been submitted
|
@@ -314,7 +319,7 @@ function cmb2_print_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
|
314 |
// @todo more hardening?
|
315 |
if (
|
316 |
$cmb->prop( 'save_fields' )
|
317 |
-
// check nonce
|
318 |
&& isset( $_POST['submit-cmb'], $_POST['object_id'], $_POST[ $cmb->nonce() ] )
|
319 |
&& wp_verify_nonce( $_POST[ $cmb->nonce() ], $cmb->nonce() )
|
320 |
&& $object_id && $_POST['object_id'] == $object_id
|
@@ -322,36 +327,37 @@ function cmb2_print_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
|
322 |
$cmb->save_fields( $object_id, $cmb->object_type(), $_POST );
|
323 |
}
|
324 |
|
325 |
-
// Enqueue JS/CSS
|
326 |
if ( $args['cmb_styles'] ) {
|
327 |
-
|
328 |
}
|
329 |
|
330 |
if ( $args['enqueue_js'] ) {
|
331 |
-
|
332 |
}
|
333 |
|
334 |
$form_format = apply_filters( 'cmb2_get_metabox_form_format', $args['form_format'], $object_id, $cmb );
|
335 |
|
336 |
$format_parts = explode( '%3$s', $form_format );
|
337 |
|
338 |
-
// Show cmb form
|
339 |
-
printf( $format_parts[0], $cmb->cmb_id, $object_id );
|
340 |
$cmb->show_form();
|
341 |
|
342 |
if ( isset( $format_parts[1] ) && $format_parts[1] ) {
|
343 |
-
printf( str_ireplace( '%4$s', '%1$s', $format_parts[1] ), $args['save_button'] );
|
344 |
}
|
345 |
|
346 |
}
|
347 |
|
348 |
/**
|
349 |
-
* Display a metabox form (or optionally return it) & save it on submission
|
350 |
*
|
351 |
* @since 1.0.0
|
352 |
-
* @param mixed
|
353 |
-
* @param int
|
354 |
-
* @param array
|
|
|
355 |
*/
|
356 |
function cmb2_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
357 |
if ( ! isset( $args['echo'] ) || $args['echo'] ) {
|
@@ -367,8 +373,8 @@ if ( ! function_exists( 'date_create_from_format' ) ) {
|
|
367 |
* Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
|
368 |
* Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
|
369 |
*
|
370 |
-
* @param $date_format
|
371 |
-
* @param $date_value
|
372 |
*
|
373 |
* @return DateTime
|
374 |
*/
|
@@ -387,7 +393,7 @@ if ( ! function_exists( 'date_create_from_format' ) ) {
|
|
387 |
$parsed_time = strptime( $date_value, $schedule_format );
|
388 |
|
389 |
$ymd = sprintf(
|
390 |
-
|
391 |
* This is a format string that takes six total decimal
|
392 |
* arguments, then left-pads them with zeros to either
|
393 |
* 4 or 2 characters, as needed
|
@@ -403,7 +409,7 @@ if ( ! function_exists( 'date_create_from_format' ) ) {
|
|
403 |
|
404 |
return new DateTime( $ymd );
|
405 |
}
|
406 |
-
}// End if
|
407 |
|
408 |
if ( ! function_exists( 'date_timestamp_get' ) ) {
|
409 |
|
@@ -411,11 +417,11 @@ if ( ! function_exists( 'date_timestamp_get' ) ) {
|
|
411 |
* Returns the Unix timestamp representing the date.
|
412 |
* Reimplementation of DateTime::getTimestamp for PHP < 5.3. :(
|
413 |
*
|
414 |
-
* @param DateTime
|
415 |
*
|
416 |
* @return int
|
417 |
*/
|
418 |
function date_timestamp_get( DateTime $date ) {
|
419 |
return $date->format( 'U' );
|
420 |
}
|
421 |
-
}// End if
|
13 |
* Helper function to provide directory path to CMB2
|
14 |
*
|
15 |
* @since 2.0.0
|
16 |
+
* @param string $path Path to append.
|
17 |
* @return string Directory with optional path appended
|
18 |
*/
|
19 |
function cmb2_dir( $path = '' ) {
|
24 |
* Autoloads files with CMB2 classes when needed
|
25 |
*
|
26 |
* @since 1.0.0
|
27 |
+
* @param string $class_name Name of the class being requested.
|
28 |
*/
|
29 |
function cmb2_autoload_classes( $class_name ) {
|
30 |
if ( 0 !== strpos( $class_name, 'CMB2' ) ) {
|
70 |
* Get instance of the CMB2_Option class for the passed metabox ID
|
71 |
*
|
72 |
* @since 2.0.0
|
73 |
+
*
|
74 |
+
* @param string $key Option key to fetch.
|
75 |
* @return CMB2_Option object Options class for setting/getting options for metabox
|
76 |
*/
|
77 |
function cmb2_options( $key ) {
|
97 |
function cmb2_get_oembed( $args = array() ) {
|
98 |
$oembed = cmb2_ajax()->get_oembed_no_edit( $args );
|
99 |
|
100 |
+
// Send back our embed.
|
101 |
if ( $oembed['embed'] && $oembed['embed'] != $oembed['fallback'] ) {
|
102 |
return '<div class="cmb2-oembed">' . $oembed['embed'] . '</div>';
|
103 |
}
|
106 |
/* translators: 1: results for. 2: link to codex.wordpress.org/Embeds */
|
107 |
esc_html__( 'No oEmbed Results Found for %1$s. View more info at %2$s.', 'cmb2' ),
|
108 |
$oembed['fallback'],
|
109 |
+
'<a href="https://wordpress.org/support/article/embeds/" target="_blank">codex.wordpress.org/Embeds</a>'
|
110 |
);
|
111 |
|
112 |
if ( isset( $args['wp_error'] ) && $args['wp_error'] ) {
|
113 |
return new WP_Error( 'cmb2_get_oembed_result', $error, compact( 'oembed', 'args' ) );
|
114 |
}
|
115 |
|
116 |
+
// Otherwise, send back error info that no oEmbeds were found.
|
117 |
return '<p class="ui-state-error-text">' . $error . '</p>';
|
118 |
}
|
119 |
|
122 |
*
|
123 |
* @since 2.2.2
|
124 |
* @see cmb2_get_oembed
|
125 |
+
*
|
126 |
+
* @param array $args oEmbed args.
|
127 |
*/
|
128 |
function cmb2_do_oembed( $args = array() ) {
|
129 |
echo cmb2_get_oembed( $args );
|
134 |
* A helper function to get an option from a CMB2 options array
|
135 |
*
|
136 |
* @since 1.0.1
|
137 |
+
* @param string $option_key Option key.
|
138 |
+
* @param string $field_id Option array field key.
|
139 |
+
* @param mixed $default Optional default fallback value.
|
140 |
* @return array Options array or specific field
|
141 |
*/
|
142 |
function cmb2_get_option( $option_key, $field_id = '', $default = false ) {
|
147 |
* A helper function to update an option in a CMB2 options array
|
148 |
*
|
149 |
* @since 2.0.0
|
150 |
+
* @param string $option_key Option key.
|
151 |
+
* @param string $field_id Option array field key.
|
152 |
+
* @param mixed $value Value to update data with.
|
153 |
+
* @param boolean $single Whether data should not be an array.
|
154 |
* @return boolean Success/Failure
|
155 |
*/
|
156 |
function cmb2_update_option( $option_key, $field_id, $value, $single = true ) {
|
165 |
* Get a CMB2 field object.
|
166 |
*
|
167 |
* @since 1.1.0
|
168 |
+
* @param array $meta_box Metabox ID or Metabox config array.
|
169 |
+
* @param array $field_id Field ID or all field arguments.
|
170 |
+
* @param int|string $object_id Object ID (string for options-page).
|
171 |
+
* @param string $object_type Type of object being saved. (e.g., post, user, term, comment, or options-page).
|
172 |
* Defaults to metabox object type.
|
173 |
* @return CMB2_Field|null CMB2_Field object unless metabox config cannot be found
|
174 |
*/
|
190 |
* Get a field's value.
|
191 |
*
|
192 |
* @since 1.1.0
|
193 |
+
* @param array $meta_box Metabox ID or Metabox config array.
|
194 |
+
* @param array $field_id Field ID or all field arguments.
|
195 |
+
* @param int|string $object_id Object ID (string for options-page).
|
196 |
+
* @param string $object_type Type of object being saved. (e.g., post, user, term, comment, or options-page).
|
197 |
* Defaults to metabox object type.
|
198 |
* @return mixed Maybe escaped value
|
199 |
*/
|
206 |
* Because OOP can be scary
|
207 |
*
|
208 |
* @since 2.0.2
|
209 |
+
* @param array $meta_box_config Metabox Config array.
|
210 |
* @return CMB2 object Instantiated CMB2 object
|
211 |
*/
|
212 |
function new_cmb2_box( array $meta_box_config ) {
|
217 |
* Retrieve a CMB2 instance by the metabox ID
|
218 |
*
|
219 |
* @since 2.0.0
|
220 |
+
* @param mixed $meta_box Metabox ID or Metabox config array.
|
221 |
+
* @param int|string $object_id Object ID (string for options-page).
|
222 |
+
* @param string $object_type Type of object being saved.
|
223 |
+
* (e.g., post, user, term, comment, or options-page).
|
224 |
+
* Defaults to metabox object type.
|
225 |
* @return CMB2 object
|
226 |
*/
|
227 |
function cmb2_get_metabox( $meta_box, $object_id = 0, $object_type = '' ) {
|
233 |
if ( is_string( $meta_box ) ) {
|
234 |
$cmb = CMB2_Boxes::get( $meta_box );
|
235 |
} else {
|
236 |
+
// See if we already have an instance of this metabox.
|
237 |
$cmb = CMB2_Boxes::get( $meta_box['id'] );
|
238 |
+
// If not, we'll initate a new metabox.
|
239 |
$cmb = $cmb ? $cmb : new CMB2( $meta_box, $object_id );
|
240 |
}
|
241 |
|
254 |
* Returns array of sanitized field values from a metabox (without saving them)
|
255 |
*
|
256 |
* @since 2.0.3
|
257 |
+
* @param mixed $meta_box Metabox ID or Metabox config array.
|
258 |
* @param array $data_to_sanitize Array of field_id => value data for sanitizing (likely $_POST data).
|
259 |
* @return mixed Array of sanitized values or false if no CMB2 object found
|
260 |
*/
|
267 |
* Retrieve a metabox form
|
268 |
*
|
269 |
* @since 2.0.0
|
270 |
+
* @param mixed $meta_box Metabox config array or Metabox ID.
|
271 |
+
* @param int|string $object_id Object ID (string for options-page).
|
272 |
+
* @param array $args Optional arguments array.
|
273 |
* @return string CMB2 html form markup
|
274 |
*/
|
275 |
function cmb2_get_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
278 |
$cmb = cmb2_get_metabox( $meta_box, $object_id );
|
279 |
|
280 |
ob_start();
|
281 |
+
// Get cmb form.
|
282 |
cmb2_print_metabox_form( $cmb, $object_id, $args );
|
283 |
$form = ob_get_clean();
|
284 |
|
289 |
* Display a metabox form & save it on submission
|
290 |
*
|
291 |
* @since 1.0.0
|
292 |
+
* @param mixed $meta_box Metabox config array or Metabox ID.
|
293 |
+
* @param int|string $object_id Object ID (string for options-page).
|
294 |
+
* @param array $args Optional arguments array.
|
295 |
*/
|
296 |
function cmb2_print_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
297 |
|
298 |
$object_id = $object_id ? $object_id : get_the_ID();
|
299 |
$cmb = cmb2_get_metabox( $meta_box, $object_id );
|
300 |
|
301 |
+
// if passing a metabox ID, and that ID was not found.
|
302 |
if ( ! $cmb ) {
|
303 |
return;
|
304 |
}
|
311 |
'enqueue_js' => $cmb->prop( 'enqueue_js' ),
|
312 |
) );
|
313 |
|
314 |
+
// Set object type explicitly (rather than trying to guess from context).
|
315 |
$cmb->object_type( $args['object_type'] );
|
316 |
|
317 |
// Save the metabox if it's been submitted
|
319 |
// @todo more hardening?
|
320 |
if (
|
321 |
$cmb->prop( 'save_fields' )
|
322 |
+
// check nonce.
|
323 |
&& isset( $_POST['submit-cmb'], $_POST['object_id'], $_POST[ $cmb->nonce() ] )
|
324 |
&& wp_verify_nonce( $_POST[ $cmb->nonce() ], $cmb->nonce() )
|
325 |
&& $object_id && $_POST['object_id'] == $object_id
|
327 |
$cmb->save_fields( $object_id, $cmb->object_type(), $_POST );
|
328 |
}
|
329 |
|
330 |
+
// Enqueue JS/CSS.
|
331 |
if ( $args['cmb_styles'] ) {
|
332 |
+
CMB2_Hookup::enqueue_cmb_css();
|
333 |
}
|
334 |
|
335 |
if ( $args['enqueue_js'] ) {
|
336 |
+
CMB2_Hookup::enqueue_cmb_js();
|
337 |
}
|
338 |
|
339 |
$form_format = apply_filters( 'cmb2_get_metabox_form_format', $args['form_format'], $object_id, $cmb );
|
340 |
|
341 |
$format_parts = explode( '%3$s', $form_format );
|
342 |
|
343 |
+
// Show cmb form.
|
344 |
+
printf( $format_parts[0], esc_attr( $cmb->cmb_id ), esc_attr( $object_id ) );
|
345 |
$cmb->show_form();
|
346 |
|
347 |
if ( isset( $format_parts[1] ) && $format_parts[1] ) {
|
348 |
+
printf( str_ireplace( '%4$s', '%1$s', $format_parts[1] ), esc_attr( $args['save_button'] ) );
|
349 |
}
|
350 |
|
351 |
}
|
352 |
|
353 |
/**
|
354 |
+
* Display a metabox form (or optionally return it) & save it on submission.
|
355 |
*
|
356 |
* @since 1.0.0
|
357 |
+
* @param mixed $meta_box Metabox config array or Metabox ID.
|
358 |
+
* @param int|string $object_id Object ID (string for options-page).
|
359 |
+
* @param array $args Optional arguments array.
|
360 |
+
* @return string
|
361 |
*/
|
362 |
function cmb2_metabox_form( $meta_box, $object_id = 0, $args = array() ) {
|
363 |
if ( ! isset( $args['echo'] ) || $args['echo'] ) {
|
373 |
* Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
|
374 |
* Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
|
375 |
*
|
376 |
+
* @param string $date_format Date format.
|
377 |
+
* @param string $date_value Date value.
|
378 |
*
|
379 |
* @return DateTime
|
380 |
*/
|
393 |
$parsed_time = strptime( $date_value, $schedule_format );
|
394 |
|
395 |
$ymd = sprintf(
|
396 |
+
/**
|
397 |
* This is a format string that takes six total decimal
|
398 |
* arguments, then left-pads them with zeros to either
|
399 |
* 4 or 2 characters, as needed
|
409 |
|
410 |
return new DateTime( $ymd );
|
411 |
}
|
412 |
+
}// End if.
|
413 |
|
414 |
if ( ! function_exists( 'date_timestamp_get' ) ) {
|
415 |
|
417 |
* Returns the Unix timestamp representing the date.
|
418 |
* Reimplementation of DateTime::getTimestamp for PHP < 5.3. :(
|
419 |
*
|
420 |
+
* @param DateTime $date DateTime instance.
|
421 |
*
|
422 |
* @return int
|
423 |
*/
|
424 |
function date_timestamp_get( DateTime $date ) {
|
425 |
return $date->format( 'U' );
|
426 |
}
|
427 |
+
}// End if.
|
includes/lib/cmb2/includes/rest-api/CMB2_REST.php
CHANGED
@@ -174,6 +174,14 @@ class CMB2_REST extends CMB2_Hookup_Base {
|
|
174 |
$alltypes = $taxonomies = array();
|
175 |
|
176 |
foreach ( self::$boxes as $cmb_id => $rest_box ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
$types = array_flip( $rest_box->cmb->box_types( array( 'post' ) ) );
|
178 |
|
179 |
if ( isset( $types['user'] ) ) {
|
@@ -401,17 +409,52 @@ class CMB2_REST extends CMB2_Hookup_Base {
|
|
401 |
foreach ( self::$type_boxes[ $main_object_type ] as $cmb_id ) {
|
402 |
$rest_box = self::$boxes[ $cmb_id ];
|
403 |
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
|
408 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
|
410 |
-
|
411 |
-
|
412 |
|
413 |
-
|
414 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
}
|
416 |
}
|
417 |
|
@@ -522,22 +565,40 @@ class CMB2_REST extends CMB2_Hookup_Base {
|
|
522 |
|
523 |
if ( ! empty( self::$type_boxes[ $main_object_type ] ) ) {
|
524 |
foreach ( self::$type_boxes[ $main_object_type ] as $cmb_id ) {
|
525 |
-
$
|
526 |
-
|
527 |
-
|
528 |
-
continue;
|
529 |
}
|
530 |
-
|
531 |
-
$rest_box->cmb->object_id( $object_id );
|
532 |
-
$rest_box->cmb->object_type( $main_object_type );
|
533 |
-
|
534 |
-
$updated[ $cmb_id ] = $rest_box->sanitize_box_values( $values );
|
535 |
}
|
536 |
}
|
537 |
|
538 |
return $updated;
|
539 |
}
|
540 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
/**
|
542 |
* Loop through box fields and sanitize the values.
|
543 |
*
|
@@ -607,7 +668,7 @@ class CMB2_REST extends CMB2_Hookup_Base {
|
|
607 |
return;
|
608 |
}
|
609 |
|
610 |
-
$this->cmb->data_to_save[ $field->_id() ] = $values[ $this->cmb->cmb_id ][ $field->_id() ];
|
611 |
|
612 |
return $this->cmb->save_group_field( $field );
|
613 |
}
|
@@ -629,7 +690,17 @@ class CMB2_REST extends CMB2_Hookup_Base {
|
|
629 |
return $protected;
|
630 |
}
|
631 |
|
632 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
switch ( $object_type ) {
|
634 |
case 'user':
|
635 |
case 'post':
|
@@ -690,7 +761,7 @@ class CMB2_REST extends CMB2_Hookup_Base {
|
|
690 |
*
|
691 |
* @return mixed False if field can't be read or edited or true|CMB2_Field object.
|
692 |
*/
|
693 |
-
protected function field_can( $type
|
694 |
if ( ! in_array( $field_id instanceof CMB2_Field ? $field_id->id() : $field_id, $this->{$type}, true ) ) {
|
695 |
return false;
|
696 |
}
|
174 |
$alltypes = $taxonomies = array();
|
175 |
|
176 |
foreach ( self::$boxes as $cmb_id => $rest_box ) {
|
177 |
+
|
178 |
+
// Hook box specific filter callbacks.
|
179 |
+
$callback = $rest_box->cmb->prop( 'register_rest_field_cb' );
|
180 |
+
if ( is_callable( $callback ) ) {
|
181 |
+
call_user_func( $callback, $rest_box );
|
182 |
+
continue;
|
183 |
+
}
|
184 |
+
|
185 |
$types = array_flip( $rest_box->cmb->box_types( array( 'post' ) ) );
|
186 |
|
187 |
if ( isset( $types['user'] ) ) {
|
409 |
foreach ( self::$type_boxes[ $main_object_type ] as $cmb_id ) {
|
410 |
$rest_box = self::$boxes[ $cmb_id ];
|
411 |
|
412 |
+
if ( ! $rest_box->cmb->is_box_type( $object_type ) ) {
|
413 |
+
continue;
|
414 |
+
}
|
415 |
|
416 |
+
$result = self::get_box_rest_values( $rest_box, $object['id'], $main_object_type );
|
417 |
+
if ( ! empty( $result ) ) {
|
418 |
+
if ( empty( $values[ $cmb_id ] ) ) {
|
419 |
+
$values[ $cmb_id ] = $result;
|
420 |
+
} else {
|
421 |
+
$values[ $cmb_id ] = array_merge( $values[ $cmb_id ], $result );
|
422 |
+
}
|
423 |
+
}
|
424 |
+
}
|
425 |
+
}
|
426 |
|
427 |
+
return $values;
|
428 |
+
}
|
429 |
|
430 |
+
/**
|
431 |
+
* Get box rest values.
|
432 |
+
*
|
433 |
+
* @since 2.7.0
|
434 |
+
*
|
435 |
+
* @param CMB2_REST $rest_box The CMB2_REST object.
|
436 |
+
* @param integer $object_id The object ID.
|
437 |
+
* @param string $main_object_type The object type (post, user, term, etc)
|
438 |
+
*
|
439 |
+
* @return array Array of box rest values.
|
440 |
+
*/
|
441 |
+
public static function get_box_rest_values( $rest_box, $object_id = 0, $main_object_type = 'post' ) {
|
442 |
+
|
443 |
+
$rest_box->cmb->object_id( $object_id );
|
444 |
+
$rest_box->cmb->object_type( $main_object_type );
|
445 |
+
|
446 |
+
$values = array();
|
447 |
+
|
448 |
+
foreach ( $rest_box->read_fields as $field_id ) {
|
449 |
+
$field = $rest_box->cmb->get_field( $field_id );
|
450 |
+
$field->object_id( $object_id );
|
451 |
+
$field->object_type( $main_object_type );
|
452 |
+
|
453 |
+
$values[ $field->id( true ) ] = $field->get_rest_value();
|
454 |
+
|
455 |
+
if ( $field->args( 'has_supporting_data' ) ) {
|
456 |
+
$field = $field->get_supporting_field();
|
457 |
+
$values[ $field->id( true ) ] = $field->get_rest_value();
|
458 |
}
|
459 |
}
|
460 |
|
565 |
|
566 |
if ( ! empty( self::$type_boxes[ $main_object_type ] ) ) {
|
567 |
foreach ( self::$type_boxes[ $main_object_type ] as $cmb_id ) {
|
568 |
+
$result = self::santize_box_rest_values( $values, self::$boxes[ $cmb_id ], $object_id, $main_object_type );
|
569 |
+
if ( ! empty( $result ) ) {
|
570 |
+
$updated[ $cmb_id ] = $result;
|
|
|
571 |
}
|
|
|
|
|
|
|
|
|
|
|
572 |
}
|
573 |
}
|
574 |
|
575 |
return $updated;
|
576 |
}
|
577 |
|
578 |
+
/**
|
579 |
+
* Updates box rest values.
|
580 |
+
*
|
581 |
+
* @since 2.7.0
|
582 |
+
*
|
583 |
+
* @param array $values Array of values.
|
584 |
+
* @param CMB2_REST $rest_box The CMB2_REST object.
|
585 |
+
* @param integer $object_id The object ID.
|
586 |
+
* @param string $main_object_type The object type (post, user, term, etc)
|
587 |
+
*
|
588 |
+
* @return mixed|bool Array of updated statuses if successful.
|
589 |
+
*/
|
590 |
+
public static function santize_box_rest_values( $values, $rest_box, $object_id = 0, $main_object_type = 'post' ) {
|
591 |
+
|
592 |
+
if ( ! array_key_exists( $rest_box->cmb->cmb_id, $values ) ) {
|
593 |
+
return false;
|
594 |
+
}
|
595 |
+
|
596 |
+
$rest_box->cmb->object_id( $object_id );
|
597 |
+
$rest_box->cmb->object_type( $main_object_type );
|
598 |
+
|
599 |
+
return $rest_box->sanitize_box_values( $values );
|
600 |
+
}
|
601 |
+
|
602 |
/**
|
603 |
* Loop through box fields and sanitize the values.
|
604 |
*
|
668 |
return;
|
669 |
}
|
670 |
|
671 |
+
$this->cmb->data_to_save[ $field->_id( '', false ) ] = $values[ $this->cmb->cmb_id ][ $field->_id( '', false ) ];
|
672 |
|
673 |
return $this->cmb->save_group_field( $field );
|
674 |
}
|
690 |
return $protected;
|
691 |
}
|
692 |
|
693 |
+
/**
|
694 |
+
* Get the object ID for the given object/type.
|
695 |
+
*
|
696 |
+
* @since 2.2.3
|
697 |
+
*
|
698 |
+
* @param mixed $object The object to get the ID for.
|
699 |
+
* @param string $object_type The object type we are looking for.
|
700 |
+
*
|
701 |
+
* @return int The object ID if found.
|
702 |
+
*/
|
703 |
+
public static function get_object_id( $object, $object_type = 'post' ) {
|
704 |
switch ( $object_type ) {
|
705 |
case 'user':
|
706 |
case 'post':
|
761 |
*
|
762 |
* @return mixed False if field can't be read or edited or true|CMB2_Field object.
|
763 |
*/
|
764 |
+
protected function field_can( $type, $field_id, $return_object = false ) {
|
765 |
if ( ! in_array( $field_id instanceof CMB2_Field ? $field_id->id() : $field_id, $this->{$type}, true ) ) {
|
766 |
return false;
|
767 |
}
|
includes/lib/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php
CHANGED
@@ -416,8 +416,40 @@ class CMB2_REST_Controller_Fields extends CMB2_REST_Controller_Boxes {
|
|
416 |
}
|
417 |
}
|
418 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
if ( $this->request['object_id'] && $this->request['object_type'] ) {
|
420 |
-
$field_data['value'] = $field->
|
421 |
}
|
422 |
|
423 |
return $field_data;
|
@@ -438,7 +470,7 @@ class CMB2_REST_Controller_Fields extends CMB2_REST_Controller_Boxes {
|
|
438 |
|
439 |
$links = array(
|
440 |
'self' => array(
|
441 |
-
'href' => rest_url( trailingslashit( $boxbase ) . 'fields/' . $field->_id() . $query_string ),
|
442 |
),
|
443 |
'collection' => array(
|
444 |
'href' => rest_url( trailingslashit( $boxbase ) . 'fields' . $query_string ),
|
416 |
}
|
417 |
}
|
418 |
|
419 |
+
if ( $field->args( 'has_supporting_data' ) ) {
|
420 |
+
$field_data = $this->get_supporting_data( $field_data, $field );
|
421 |
+
}
|
422 |
+
|
423 |
+
if ( $this->request['object_id'] && $this->request['object_type'] ) {
|
424 |
+
$field_data['value'] = $field->get_rest_value();
|
425 |
+
}
|
426 |
+
|
427 |
+
return $field_data;
|
428 |
+
}
|
429 |
+
|
430 |
+
/**
|
431 |
+
* Gets field supporting data (field id and value).
|
432 |
+
*
|
433 |
+
* @since 2.7.0
|
434 |
+
*
|
435 |
+
* @param CMB2_Field $field Field object.
|
436 |
+
* @param array $field_data Array of field data.
|
437 |
+
*
|
438 |
+
* @return array Array of field data.
|
439 |
+
*/
|
440 |
+
public function get_supporting_data( $field_data, $field ) {
|
441 |
+
|
442 |
+
// Reset placement of this property.
|
443 |
+
unset( $field_data['has_supporting_data'] );
|
444 |
+
$field_data['has_supporting_data'] = true;
|
445 |
+
|
446 |
+
$field = $field->get_supporting_field();
|
447 |
+
$field_data['supporting_data'] = array(
|
448 |
+
'id' => $field->_id( '', false ),
|
449 |
+
);
|
450 |
+
|
451 |
if ( $this->request['object_id'] && $this->request['object_type'] ) {
|
452 |
+
$field_data['supporting_data']['value'] = $field->get_rest_value();
|
453 |
}
|
454 |
|
455 |
return $field_data;
|
470 |
|
471 |
$links = array(
|
472 |
'self' => array(
|
473 |
+
'href' => rest_url( trailingslashit( $boxbase ) . 'fields/' . $field->_id( '', false ) . $query_string ),
|
474 |
),
|
475 |
'collection' => array(
|
476 |
'href' => rest_url( trailingslashit( $boxbase ) . 'fields' . $query_string ),
|
includes/lib/cmb2/includes/types/CMB2_Type_Base.php
CHANGED
@@ -37,13 +37,13 @@ abstract class CMB2_Type_Base {
|
|
37 |
* Constructor
|
38 |
*
|
39 |
* @since 2.2.2
|
40 |
-
* @param CMB2_Types $types
|
41 |
-
* @param array $args
|
42 |
*/
|
43 |
public function __construct( CMB2_Types $types, $args = array() ) {
|
44 |
-
$this->types
|
45 |
$args['rendered'] = isset( $args['rendered'] ) ? (bool) $args['rendered'] : true;
|
46 |
-
$this->args
|
47 |
}
|
48 |
|
49 |
/**
|
@@ -87,10 +87,10 @@ abstract class CMB2_Type_Base {
|
|
87 |
* Handles parsing and filtering attributes while preserving any passed in via field config.
|
88 |
*
|
89 |
* @since 1.1.0
|
90 |
-
* @param string $element Element for filter
|
91 |
-
* @param array $type_defaults Type default arguments
|
92 |
-
* @param array $type_overrides Type override arguments
|
93 |
-
* @return array Parsed and filtered arguments
|
94 |
*/
|
95 |
public function parse_args( $element, $type_defaults, $type_overrides = array() ) {
|
96 |
$args = $this->parse_args_from_overrides( $type_overrides );
|
@@ -101,7 +101,7 @@ abstract class CMB2_Type_Base {
|
|
101 |
*
|
102 |
* @since 1.1.0
|
103 |
* @param array $args The array of attribute arguments.
|
104 |
-
* @param array $type_defaults
|
105 |
* @param array $field The `CMB2_Field` object.
|
106 |
* @param object $field_type_object This `CMB2_Types` object.
|
107 |
*/
|
@@ -120,8 +120,8 @@ abstract class CMB2_Type_Base {
|
|
120 |
* Handles parsing and filtering attributes while preserving any passed in via field config.
|
121 |
*
|
122 |
* @since 2.2.4
|
123 |
-
* @param array
|
124 |
-
* @return array
|
125 |
*/
|
126 |
protected function parse_args_from_overrides( $type_overrides = array() ) {
|
127 |
$type_overrides = empty( $type_overrides ) ? $this->args : $type_overrides;
|
@@ -140,27 +140,28 @@ abstract class CMB2_Type_Base {
|
|
140 |
/**
|
141 |
* Fall back to CMB2_Types methods
|
142 |
*
|
143 |
-
* @param
|
|
|
144 |
* @throws Exception Throws an exception if the field is invalid.
|
145 |
* @return mixed
|
146 |
*/
|
147 |
-
public function __call( $
|
148 |
-
switch ( $
|
149 |
case '_id':
|
150 |
case '_name':
|
151 |
case '_desc':
|
152 |
case '_text':
|
153 |
case 'concat_attrs':
|
154 |
-
return call_user_func_array( array( $this->types, $
|
155 |
default:
|
156 |
-
throw new Exception( sprintf( esc_html__( 'Invalid %1$s method: %2$s', 'cmb2' ), __CLASS__, $
|
157 |
}
|
158 |
}
|
159 |
|
160 |
/**
|
161 |
* Magic getter for our object.
|
162 |
*
|
163 |
-
* @param string $field
|
164 |
* @throws Exception Throws an exception if the field is invalid.
|
165 |
* @return mixed
|
166 |
*/
|
37 |
* Constructor
|
38 |
*
|
39 |
* @since 2.2.2
|
40 |
+
* @param CMB2_Types $types Object for the field type.
|
41 |
+
* @param array $args Array of arguments for the type.
|
42 |
*/
|
43 |
public function __construct( CMB2_Types $types, $args = array() ) {
|
44 |
+
$this->types = $types;
|
45 |
$args['rendered'] = isset( $args['rendered'] ) ? (bool) $args['rendered'] : true;
|
46 |
+
$this->args = $args;
|
47 |
}
|
48 |
|
49 |
/**
|
87 |
* Handles parsing and filtering attributes while preserving any passed in via field config.
|
88 |
*
|
89 |
* @since 1.1.0
|
90 |
+
* @param string $element Element for filter.
|
91 |
+
* @param array $type_defaults Type default arguments.
|
92 |
+
* @param array $type_overrides Type override arguments.
|
93 |
+
* @return array Parsed and filtered arguments.
|
94 |
*/
|
95 |
public function parse_args( $element, $type_defaults, $type_overrides = array() ) {
|
96 |
$args = $this->parse_args_from_overrides( $type_overrides );
|
101 |
*
|
102 |
* @since 1.1.0
|
103 |
* @param array $args The array of attribute arguments.
|
104 |
+
* @param array $type_defaults The array of default values.
|
105 |
* @param array $field The `CMB2_Field` object.
|
106 |
* @param object $field_type_object This `CMB2_Types` object.
|
107 |
*/
|
120 |
* Handles parsing and filtering attributes while preserving any passed in via field config.
|
121 |
*
|
122 |
* @since 2.2.4
|
123 |
+
* @param array $type_overrides Type override arguments.
|
124 |
+
* @return array Parsed arguments
|
125 |
*/
|
126 |
protected function parse_args_from_overrides( $type_overrides = array() ) {
|
127 |
$type_overrides = empty( $type_overrides ) ? $this->args : $type_overrides;
|
140 |
/**
|
141 |
* Fall back to CMB2_Types methods
|
142 |
*
|
143 |
+
* @param string $method Method name being invoked.
|
144 |
+
* @param array $arguments Arguments passed for the method.
|
145 |
* @throws Exception Throws an exception if the field is invalid.
|
146 |
* @return mixed
|
147 |
*/
|
148 |
+
public function __call( $method, $arguments ) {
|
149 |
+
switch ( $method ) {
|
150 |
case '_id':
|
151 |
case '_name':
|
152 |
case '_desc':
|
153 |
case '_text':
|
154 |
case 'concat_attrs':
|
155 |
+
return call_user_func_array( array( $this->types, $method ), $arguments );
|
156 |
default:
|
157 |
+
throw new Exception( sprintf( esc_html__( 'Invalid %1$s method: %2$s', 'cmb2' ), __CLASS__, $method ) );
|
158 |
}
|
159 |
}
|
160 |
|
161 |
/**
|
162 |
* Magic getter for our object.
|
163 |
*
|
164 |
+
* @param string $field Property being requested.
|
165 |
* @throws Exception Throws an exception if the field is invalid.
|
166 |
* @return mixed
|
167 |
*/
|
includes/lib/cmb2/includes/types/CMB2_Type_Checkbox.php
CHANGED
@@ -24,14 +24,23 @@ class CMB2_Type_Checkbox extends CMB2_Type_Text {
|
|
24 |
*
|
25 |
* @since 2.2.2
|
26 |
*
|
27 |
-
* @param CMB2_Types $types
|
28 |
-
* @param array $args
|
|
|
29 |
*/
|
30 |
public function __construct( CMB2_Types $types, $args = array(), $is_checked = null ) {
|
31 |
parent::__construct( $types, $args );
|
32 |
$this->is_checked = $is_checked;
|
33 |
}
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
public function render( $args = array() ) {
|
36 |
$defaults = array(
|
37 |
'type' => 'checkbox',
|
@@ -56,7 +65,7 @@ class CMB2_Type_Checkbox extends CMB2_Type_Text {
|
|
56 |
sprintf(
|
57 |
'%s <label for="%s">%s</label>',
|
58 |
parent::render( $args ),
|
59 |
-
$this->_id(),
|
60 |
$this->_desc()
|
61 |
)
|
62 |
);
|
24 |
*
|
25 |
* @since 2.2.2
|
26 |
*
|
27 |
+
* @param CMB2_Types $types Object for the field type.
|
28 |
+
* @param array $args Array of arguments for the type.
|
29 |
+
* @param mixed $is_checked Whether or not the field is checked, or default value.
|
30 |
*/
|
31 |
public function __construct( CMB2_Types $types, $args = array(), $is_checked = null ) {
|
32 |
parent::__construct( $types, $args );
|
33 |
$this->is_checked = $is_checked;
|
34 |
}
|
35 |
|
36 |
+
/**
|
37 |
+
* Render the field for the field type.
|
38 |
+
*
|
39 |
+
* @since 2.2.2
|
40 |
+
*
|
41 |
+
* @param array $args Array of arguments for the rendering.
|
42 |
+
* @return CMB2_Type_Base|string
|
43 |
+
*/
|
44 |
public function render( $args = array() ) {
|
45 |
$defaults = array(
|
46 |
'type' => 'checkbox',
|
65 |
sprintf(
|
66 |
'%s <label for="%s">%s</label>',
|
67 |
parent::render( $args ),
|
68 |
+
$this->_id( '', false ),
|
69 |
$this->_desc()
|
70 |
)
|
71 |
);
|
includes/lib/cmb2/includes/types/CMB2_Type_Colorpicker.php
CHANGED
@@ -24,30 +24,28 @@ class CMB2_Type_Colorpicker extends CMB2_Type_Text {
|
|
24 |
*
|
25 |
* @since 2.2.2
|
26 |
*
|
27 |
-
* @param CMB2_Types $types
|
28 |
-
* @param array $args
|
|
|
29 |
*/
|
30 |
public function __construct( CMB2_Types $types, $args = array(), $value = '' ) {
|
31 |
parent::__construct( $types, $args );
|
32 |
$this->value = $value ? $value : $this->value;
|
33 |
}
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
public function render( $args = array() ) {
|
36 |
$meta_value = $this->value ? $this->value : $this->field->escaped_value();
|
37 |
|
38 |
-
$
|
39 |
-
if ( preg_match( '/^' . $hex_color . '/i', $meta_value ) ) {
|
40 |
-
// Value is just 123abc, so prepend #
|
41 |
-
$meta_value = '#' . $meta_value;
|
42 |
-
} elseif (
|
43 |
-
// If value doesn't match #123abc...
|
44 |
-
! preg_match( '/^#' . $hex_color . '/i', $meta_value )
|
45 |
-
// And value doesn't match rgba()...
|
46 |
-
&& 0 !== strpos( trim( $meta_value ), 'rgba' )
|
47 |
-
) {
|
48 |
-
// Then sanitize to just #.
|
49 |
-
$meta_value = '#';
|
50 |
-
}
|
51 |
|
52 |
wp_enqueue_style( 'wp-color-picker' );
|
53 |
|
@@ -55,13 +53,13 @@ class CMB2_Type_Colorpicker extends CMB2_Type_Text {
|
|
55 |
'class' => 'cmb2-text-small',
|
56 |
) );
|
57 |
|
58 |
-
$args['class']
|
59 |
$args['value'] = $meta_value;
|
60 |
$args['js_dependencies'] = array( 'wp-color-picker' );
|
61 |
|
62 |
if ( $this->field->options( 'alpha' ) ) {
|
63 |
$args['js_dependencies'][] = 'wp-color-picker-alpha';
|
64 |
-
$args['data-alpha']
|
65 |
}
|
66 |
|
67 |
$args = wp_parse_args( $this->args, $args );
|
@@ -69,6 +67,49 @@ class CMB2_Type_Colorpicker extends CMB2_Type_Text {
|
|
69 |
return parent::render( $args );
|
70 |
}
|
71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
public static function dequeue_rgba_colorpicker_script() {
|
73 |
if ( wp_script_is( 'jw-cmb2-rgba-picker-js', 'enqueued' ) ) {
|
74 |
wp_dequeue_script( 'jw-cmb2-rgba-picker-js' );
|
24 |
*
|
25 |
* @since 2.2.2
|
26 |
*
|
27 |
+
* @param CMB2_Types $types Object for the field type.
|
28 |
+
* @param array $args Array of arguments for the type.
|
29 |
+
* @param string $value Value that the field type is currently set to, or default value.
|
30 |
*/
|
31 |
public function __construct( CMB2_Types $types, $args = array(), $value = '' ) {
|
32 |
parent::__construct( $types, $args );
|
33 |
$this->value = $value ? $value : $this->value;
|
34 |
}
|
35 |
|
36 |
+
/**
|
37 |
+
* Render the field for the field type.
|
38 |
+
*
|
39 |
+
* @since 2.2.2
|
40 |
+
*
|
41 |
+
* @param array $args Array of arguments for the rendering.
|
42 |
+
*
|
43 |
+
* @return CMB2_Type_Base|string
|
44 |
+
*/
|
45 |
public function render( $args = array() ) {
|
46 |
$meta_value = $this->value ? $this->value : $this->field->escaped_value();
|
47 |
|
48 |
+
$meta_value = self::sanitize_color( $meta_value );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
wp_enqueue_style( 'wp-color-picker' );
|
51 |
|
53 |
'class' => 'cmb2-text-small',
|
54 |
) );
|
55 |
|
56 |
+
$args['class'] .= ' cmb2-colorpicker';
|
57 |
$args['value'] = $meta_value;
|
58 |
$args['js_dependencies'] = array( 'wp-color-picker' );
|
59 |
|
60 |
if ( $this->field->options( 'alpha' ) ) {
|
61 |
$args['js_dependencies'][] = 'wp-color-picker-alpha';
|
62 |
+
$args['data-alpha'] = 'true';
|
63 |
}
|
64 |
|
65 |
$args = wp_parse_args( $this->args, $args );
|
67 |
return parent::render( $args );
|
68 |
}
|
69 |
|
70 |
+
/**
|
71 |
+
* Sanitizes the given color, or array of colors.
|
72 |
+
*
|
73 |
+
* @since 2.9.0
|
74 |
+
*
|
75 |
+
* @param string|array $color The color or array of colors to sanitize.
|
76 |
+
*
|
77 |
+
* @return string|array The color or array of colors, sanitized.
|
78 |
+
*/
|
79 |
+
public static function sanitize_color( $color ) {
|
80 |
+
|
81 |
+
if ( is_array( $color ) ) {
|
82 |
+
|
83 |
+
$color = array_map( array( 'CMB2_Type_Colorpicker', 'sanitize_color' ), $color );
|
84 |
+
|
85 |
+
} else {
|
86 |
+
|
87 |
+
// Regexp for hexadecimal colors
|
88 |
+
$hex_color = '(([a-fA-F0-9]){3}){1,2}$';
|
89 |
+
|
90 |
+
if ( preg_match( '/^' . $hex_color . '/i', $color ) ) {
|
91 |
+
// Value is just 123abc, so prepend #
|
92 |
+
$color = '#' . $color;
|
93 |
+
} elseif (
|
94 |
+
// If value doesn't match #123abc...
|
95 |
+
! preg_match( '/^#' . $hex_color . '/i', $color )
|
96 |
+
// And value doesn't match rgba()...
|
97 |
+
&& 0 !== strpos( trim( $color ), 'rgba' )
|
98 |
+
) {
|
99 |
+
// Then sanitize to just #.
|
100 |
+
$color = '#';
|
101 |
+
}
|
102 |
+
|
103 |
+
}
|
104 |
+
|
105 |
+
return $color;
|
106 |
+
}
|
107 |
+
|
108 |
+
/**
|
109 |
+
* Provide the option to use a rgba colorpicker.
|
110 |
+
*
|
111 |
+
* @since 2.2.6.2
|
112 |
+
*/
|
113 |
public static function dequeue_rgba_colorpicker_script() {
|
114 |
if ( wp_script_is( 'jw-cmb2-rgba-picker-js', 'enqueued' ) ) {
|
115 |
wp_dequeue_script( 'jw-cmb2-rgba-picker-js' );
|
includes/lib/cmb2/includes/types/CMB2_Type_Counter_Base.php
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* CMB base field type
|
4 |
+
*
|
5 |
+
* @since 2.2.2
|
6 |
+
*
|
7 |
+
* @category WordPress_Plugin
|
8 |
+
* @package CMB2
|
9 |
+
* @author CMB2 team
|
10 |
+
* @license GPL-2.0+
|
11 |
+
* @link https://cmb2.io
|
12 |
+
*/
|
13 |
+
abstract class CMB2_Type_Counter_Base extends CMB2_Type_Base {
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Whether this type has the counter added.
|
17 |
+
*
|
18 |
+
* @since 2.7.0
|
19 |
+
*
|
20 |
+
* @var boolean
|
21 |
+
*/
|
22 |
+
public $has_counter = false;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Return character counter markup for this field.
|
26 |
+
*
|
27 |
+
* @since 2.7.0
|
28 |
+
*
|
29 |
+
* @param string $val The actual value of this field.
|
30 |
+
*
|
31 |
+
* @return string
|
32 |
+
*/
|
33 |
+
public function char_counter_markup( $val ) {
|
34 |
+
$markup = '';
|
35 |
+
|
36 |
+
if ( ! $this->field->args( 'char_counter' ) ) {
|
37 |
+
return $markup;
|
38 |
+
}
|
39 |
+
|
40 |
+
$type = (string) $this->field->args( 'char_counter' );
|
41 |
+
$field_id = $this->_id( '', false );
|
42 |
+
$char_max = (int) $this->field->prop( 'char_max' );
|
43 |
+
if ( $char_max ) {
|
44 |
+
$char_max = 'data-max="' . $char_max . '"';
|
45 |
+
}
|
46 |
+
|
47 |
+
switch ( $type ) {
|
48 |
+
case 'words':
|
49 |
+
$label = $char_max
|
50 |
+
? $this->_text( 'words_left_text', esc_html__( 'Words left', 'cmb2' ) )
|
51 |
+
: $this->_text( 'words_text', esc_html__( 'Words', 'cmb2' ) );
|
52 |
+
break;
|
53 |
+
default:
|
54 |
+
$type = 'characters';
|
55 |
+
$label = $char_max
|
56 |
+
? $this->_text( 'characters_left_text', esc_html__( 'Characters left', 'cmb2' ) )
|
57 |
+
: $this->_text( 'characters_text', esc_html__( 'Characters', 'cmb2' ) );
|
58 |
+
break;
|
59 |
+
}
|
60 |
+
|
61 |
+
$msg = $char_max
|
62 |
+
? sprintf( '<span class="cmb2-char-max-msg">%s</span>', $this->_text( 'characters_truncated_text', esc_html__( 'Your text may be truncated.', 'cmb2' ) ) )
|
63 |
+
: '';
|
64 |
+
|
65 |
+
$length = strlen( $val );
|
66 |
+
$width = $length > 1 ? ( 8 * strlen( (string) $length ) ) + 15 : false;
|
67 |
+
|
68 |
+
$markup .= '<p class="cmb2-char-counter-wrap">';
|
69 |
+
$markup .= sprintf(
|
70 |
+
'<label><span class="cmb2-char-counter-label">%2$s:</span> <input id="%1$s" data-field-id="%3$s" data-counter-type="%4$s" %5$s class="cmb2-char-counter" type="text" value="%6$s" readonly="readonly" style="%7$s"></label>%8$s',
|
71 |
+
esc_attr( 'char-counter-' . $field_id ),
|
72 |
+
$label,
|
73 |
+
esc_attr( $field_id ),
|
74 |
+
$type,
|
75 |
+
$char_max,
|
76 |
+
$length,
|
77 |
+
$width ? "width: {$width}px;" : '',
|
78 |
+
$msg
|
79 |
+
);
|
80 |
+
$markup .= '</p>';
|
81 |
+
|
82 |
+
// Enqueue the required JS.
|
83 |
+
$this->field->add_js_dependencies( array(
|
84 |
+
'word-count',
|
85 |
+
'wp-util',
|
86 |
+
'cmb2-char-counter',
|
87 |
+
) );
|
88 |
+
|
89 |
+
$this->has_counter = true;
|
90 |
+
|
91 |
+
return $markup;
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Maybe update attributes for the character counter.
|
96 |
+
*
|
97 |
+
* @since 2.7.0
|
98 |
+
*
|
99 |
+
* @param array $attributes Array of parsed attributes.
|
100 |
+
*
|
101 |
+
* @return array Potentially modified attributes.
|
102 |
+
*/
|
103 |
+
public function maybe_update_attributes_for_char_counter( $attributes ) {
|
104 |
+
$char_counter = $this->char_counter_markup( $attributes['value'] );
|
105 |
+
|
106 |
+
// Has character counter?
|
107 |
+
if ( $char_counter ) {
|
108 |
+
$attributes['class'] = ! empty( $attributes['class'] ) ? $attributes['class'] . ' cmb2-count-chars' : ' cmb2-count-chars';
|
109 |
+
|
110 |
+
// Enforce max chars?
|
111 |
+
$max = $this->enforce_max();
|
112 |
+
if ( $max ) {
|
113 |
+
$attributes['maxlength'] = $max;
|
114 |
+
}
|
115 |
+
$attributes['desc'] = $char_counter . $attributes['desc'];
|
116 |
+
}
|
117 |
+
|
118 |
+
return $attributes;
|
119 |
+
}
|
120 |
+
|
121 |
+
/**
|
122 |
+
* Enforce max chars?
|
123 |
+
*
|
124 |
+
* @since 2.7.0
|
125 |
+
*
|
126 |
+
* @return bool Whether to enforce max characters.
|
127 |
+
*/
|
128 |
+
public function enforce_max() {
|
129 |
+
$char_max = (int) $this->field->args( 'char_max' );
|
130 |
+
|
131 |
+
// Enforce max chars?
|
132 |
+
return ( $this->field->args( 'char_max_enforce' ) && $char_max > 0
|
133 |
+
&& 'words' !== $this->field->args( 'char_counter' ) )
|
134 |
+
? $char_max
|
135 |
+
: false;
|
136 |
+
}
|
137 |
+
|
138 |
+
}
|
includes/lib/cmb2/includes/types/CMB2_Type_File.php
CHANGED
@@ -15,7 +15,7 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
15 |
/**
|
16 |
* Handles outputting an 'file' field
|
17 |
*
|
18 |
-
* @param array $args Override arguments
|
19 |
* @return string Form input element
|
20 |
*/
|
21 |
public function render( $args = array() ) {
|
@@ -35,13 +35,13 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
35 |
'preview_size' => $field->args( 'preview_size' ),
|
36 |
'query_args' => $field->args( 'query_args' ),
|
37 |
|
38 |
-
// if options array and 'url' => false, then hide the url field
|
39 |
'type' => array_key_exists( 'url', $options ) && false === $options['url']
|
40 |
? 'hidden'
|
41 |
: 'text',
|
42 |
), $args );
|
43 |
|
44 |
-
// get an array of image size meta data, fallback to 'large'
|
45 |
$this->args['img_size_data'] = $img_size_data = parent::get_image_size_data(
|
46 |
$a['preview_size'],
|
47 |
'large'
|
@@ -50,13 +50,13 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
50 |
$output = '';
|
51 |
|
52 |
$output .= parent::render( array(
|
53 |
-
'type'
|
54 |
-
'class'
|
55 |
-
'value'
|
56 |
-
'id'
|
57 |
-
'name'
|
58 |
-
'size'
|
59 |
-
'desc'
|
60 |
'data-previewsize' => sprintf( '[%d,%d]', $img_size_data['width'], $img_size_data['height'] ),
|
61 |
'data-sizename' => $img_size_data['name'],
|
62 |
'data-queryargs' => ! empty( $a['query_args'] ) ? json_encode( $a['query_args'] ) : '',
|
@@ -67,8 +67,8 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
67 |
// (Possible if being used within a custom field)
|
68 |
// This is not elegant, but compensates for CMB2_Types::_id
|
69 |
// automagically & inelegantly adding the data-iterator attribute.
|
70 |
-
// Single responsibility principle? pffft
|
71 |
-
$parts
|
72 |
$this->args['id'] = $parts[0];
|
73 |
|
74 |
$output .= sprintf(
|
@@ -79,15 +79,22 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
79 |
$output .= $a['desc'];
|
80 |
$output .= $this->get_id_field_output();
|
81 |
|
82 |
-
$output .= '<div id="' . $field->id() . '-status" class="cmb2-media-status">';
|
83 |
if ( ! empty( $a['value'] ) ) {
|
84 |
$output .= $this->get_file_preview_output();
|
85 |
}
|
86 |
$output .= '</div>';
|
87 |
|
88 |
-
|
89 |
}
|
90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
public function get_file_preview_output() {
|
92 |
if ( ! $this->is_valid_img_ext( $this->args['value'] ) ) {
|
93 |
|
@@ -103,7 +110,7 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
103 |
'class' => 'cmb-file-field-image',
|
104 |
) );
|
105 |
} else {
|
106 |
-
$image = '<img style="max-width: ' . absint( $this->args['img_size_data']['width'] ) . 'px; width: 100%;" src="' . $this->args['value'] . '" class="cmb-file-field-image" alt="" />';
|
107 |
}
|
108 |
|
109 |
return $this->img_status_output( array(
|
@@ -113,6 +120,13 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
113 |
) );
|
114 |
}
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
public function get_id_field_output() {
|
117 |
$field = $this->field;
|
118 |
|
@@ -136,17 +150,24 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
136 |
return $output;
|
137 |
}
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
public function get_id_field() {
|
140 |
|
141 |
-
// reset field args for attachment id
|
142 |
$args = array(
|
143 |
-
// if we're looking at a file in a group, we need to get the non-prefixed id
|
144 |
'id' => ( $this->field->group ? $this->field->args( '_id' ) : $this->args['id'] ) . '_id',
|
145 |
'disable_hash_data_attribute' => true,
|
146 |
);
|
147 |
|
148 |
// and get new field object
|
149 |
-
// (need to set it to the types field property)
|
150 |
$id_field = $this->field->get_field_clone( $args );
|
151 |
|
152 |
$id_value = absint( null !== $this->args['id_value'] ? $this->args['id_value'] : $id_field->escaped_value() );
|
@@ -156,7 +177,7 @@ class CMB2_Type_File extends CMB2_Type_File_Base {
|
|
156 |
$id_value = '';
|
157 |
}
|
158 |
|
159 |
-
// if there is no id saved yet, try to get it from the url
|
160 |
if ( $this->args['value'] && ! $id_value ) {
|
161 |
$id_value = CMB2_Utils::image_id_from_url( esc_url_raw( $this->args['value'] ) );
|
162 |
}
|
15 |
/**
|
16 |
* Handles outputting an 'file' field
|
17 |
*
|
18 |
+
* @param array $args Override arguments.
|
19 |
* @return string Form input element
|
20 |
*/
|
21 |
public function render( $args = array() ) {
|
35 |
'preview_size' => $field->args( 'preview_size' ),
|
36 |
'query_args' => $field->args( 'query_args' ),
|
37 |
|
38 |
+
// if options array and 'url' => false, then hide the url field.
|
39 |
'type' => array_key_exists( 'url', $options ) && false === $options['url']
|
40 |
? 'hidden'
|
41 |
: 'text',
|
42 |
), $args );
|
43 |
|
44 |
+
// get an array of image size meta data, fallback to 'large'.
|
45 |
$this->args['img_size_data'] = $img_size_data = parent::get_image_size_data(
|
46 |
$a['preview_size'],
|
47 |
'large'
|
50 |
$output = '';
|
51 |
|
52 |
$output .= parent::render( array(
|
53 |
+
'type' => $a['type'],
|
54 |
+
'class' => $a['class'],
|
55 |
+
'value' => $a['value'],
|
56 |
+
'id' => $a['id'],
|
57 |
+
'name' => $a['name'],
|
58 |
+
'size' => $a['size'],
|
59 |
+
'desc' => '',
|
60 |
'data-previewsize' => sprintf( '[%d,%d]', $img_size_data['width'], $img_size_data['height'] ),
|
61 |
'data-sizename' => $img_size_data['name'],
|
62 |
'data-queryargs' => ! empty( $a['query_args'] ) ? json_encode( $a['query_args'] ) : '',
|
67 |
// (Possible if being used within a custom field)
|
68 |
// This is not elegant, but compensates for CMB2_Types::_id
|
69 |
// automagically & inelegantly adding the data-iterator attribute.
|
70 |
+
// Single responsibility principle? pffft.
|
71 |
+
$parts = explode( '"', $this->args['id'] );
|
72 |
$this->args['id'] = $parts[0];
|
73 |
|
74 |
$output .= sprintf(
|
79 |
$output .= $a['desc'];
|
80 |
$output .= $this->get_id_field_output();
|
81 |
|
82 |
+
$output .= '<div id="' . esc_attr( $field->id() ) . '-status" class="cmb2-media-status">';
|
83 |
if ( ! empty( $a['value'] ) ) {
|
84 |
$output .= $this->get_file_preview_output();
|
85 |
}
|
86 |
$output .= '</div>';
|
87 |
|
88 |
+
return $this->rendered( $output );
|
89 |
}
|
90 |
|
91 |
+
/**
|
92 |
+
* Return attempted file preview output for a provided file.
|
93 |
+
*
|
94 |
+
* @since 2.2.5
|
95 |
+
*
|
96 |
+
* @return string
|
97 |
+
*/
|
98 |
public function get_file_preview_output() {
|
99 |
if ( ! $this->is_valid_img_ext( $this->args['value'] ) ) {
|
100 |
|
110 |
'class' => 'cmb-file-field-image',
|
111 |
) );
|
112 |
} else {
|
113 |
+
$image = '<img style="max-width: ' . absint( $this->args['img_size_data']['width'] ) . 'px; width: 100%;" src="' . esc_url( $this->args['value'] ) . '" class="cmb-file-field-image" alt="" />';
|
114 |
}
|
115 |
|
116 |
return $this->img_status_output( array(
|
120 |
) );
|
121 |
}
|
122 |
|
123 |
+
/**
|
124 |
+
* Return field ID output as a hidden field.
|
125 |
+
*
|
126 |
+
* @since 2.2.5
|
127 |
+
*
|
128 |
+
* @return string
|
129 |
+
*/
|
130 |
public function get_id_field_output() {
|
131 |
$field = $this->field;
|
132 |
|
150 |
return $output;
|
151 |
}
|
152 |
|
153 |
+
/**
|
154 |
+
* Return field ID data.
|
155 |
+
*
|
156 |
+
* @since 2.2.5
|
157 |
+
*
|
158 |
+
* @return mixed
|
159 |
+
*/
|
160 |
public function get_id_field() {
|
161 |
|
162 |
+
// reset field args for attachment id.
|
163 |
$args = array(
|
164 |
+
// if we're looking at a file in a group, we need to get the non-prefixed id.
|
165 |
'id' => ( $this->field->group ? $this->field->args( '_id' ) : $this->args['id'] ) . '_id',
|
166 |
'disable_hash_data_attribute' => true,
|
167 |
);
|
168 |
|
169 |
// and get new field object
|
170 |
+
// (need to set it to the types field property).
|
171 |
$id_field = $this->field->get_field_clone( $args );
|
172 |
|
173 |
$id_value = absint( null !== $this->args['id_value'] ? $this->args['id_value'] : $id_field->escaped_value() );
|
177 |
$id_value = '';
|
178 |
}
|
179 |
|
180 |
+
// if there is no id saved yet, try to get it from the url.
|
181 |
if ( $this->args['value'] && ! $id_value ) {
|
182 |
$id_value = CMB2_Utils::image_id_from_url( esc_url_raw( $this->args['value'] ) );
|
183 |
}
|
includes/lib/cmb2/includes/types/CMB2_Type_File_Base.php
CHANGED
@@ -22,7 +22,18 @@ class CMB2_Type_File_Base extends CMB2_Type_Text {
|
|
22 |
public function is_valid_img_ext( $file, $blah = false ) {
|
23 |
$file_ext = CMB2_Utils::get_file_ext( $file );
|
24 |
|
25 |
-
$valid_types = array( 'jpg', 'jpeg', 'png', 'gif', 'ico', 'icon' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
/**
|
28 |
* Which image types are considered valid image file extensions.
|
@@ -60,7 +71,7 @@ class CMB2_Type_File_Base extends CMB2_Type_Text {
|
|
60 |
return sprintf( '<%1$s class="img-status cmb2-media-item">%2$s<p class="cmb2-remove-wrapper"><a href="#" class="cmb2-remove-file-button"%3$s>%4$s</a></p>%5$s</%1$s>',
|
61 |
$args['tag'],
|
62 |
$args['image'],
|
63 |
-
isset( $args['cached_id'] ) ? ' rel="' . $args['cached_id'] . '"' : '',
|
64 |
esc_html( $this->_text( 'remove_image_text', esc_html__( 'Remove Image', 'cmb2' ) ) ),
|
65 |
isset( $args['id_input'] ) ? $args['id_input'] : ''
|
66 |
);
|
@@ -77,10 +88,10 @@ class CMB2_Type_File_Base extends CMB2_Type_Text {
|
|
77 |
return sprintf( '<%1$s class="file-status cmb2-media-item"><span>%2$s <strong>%3$s</strong></span> (<a href="%4$s" target="_blank" rel="external">%5$s</a> / <a href="#" class="cmb2-remove-file-button"%6$s>%7$s</a>)%8$s</%1$s>',
|
78 |
$args['tag'],
|
79 |
esc_html( $this->_text( 'file_text', esc_html__( 'File:', 'cmb2' ) ) ),
|
80 |
-
CMB2_Utils::get_file_name_from_path( $args['value'] ),
|
81 |
-
$args['value'],
|
82 |
esc_html( $this->_text( 'file_download_text', esc_html__( 'Download', 'cmb2' ) ) ),
|
83 |
-
isset( $args['cached_id'] ) ? ' rel="' . $args['cached_id'] . '"' : '',
|
84 |
esc_html( $this->_text( 'remove_text', esc_html__( 'Remove', 'cmb2' ) ) ),
|
85 |
isset( $args['id_input'] ) ? $args['id_input'] : ''
|
86 |
);
|
22 |
public function is_valid_img_ext( $file, $blah = false ) {
|
23 |
$file_ext = CMB2_Utils::get_file_ext( $file );
|
24 |
|
25 |
+
$valid_types = array( 'jpg', 'jpeg', 'jpe', 'png', 'gif', 'ico', 'icon' );
|
26 |
+
|
27 |
+
$allowed = get_allowed_mime_types();
|
28 |
+
if ( ! empty( $allowed ) ) {
|
29 |
+
foreach ( (array) $allowed as $type => $mime) {
|
30 |
+
if ( 0 === strpos( $mime, 'image/' ) ) {
|
31 |
+
$types = explode( '|', $type );
|
32 |
+
$valid_types = array_merge( $valid_types, $types );
|
33 |
+
}
|
34 |
+
}
|
35 |
+
$valid_types = array_unique( $valid_types );
|
36 |
+
}
|
37 |
|
38 |
/**
|
39 |
* Which image types are considered valid image file extensions.
|
71 |
return sprintf( '<%1$s class="img-status cmb2-media-item">%2$s<p class="cmb2-remove-wrapper"><a href="#" class="cmb2-remove-file-button"%3$s>%4$s</a></p>%5$s</%1$s>',
|
72 |
$args['tag'],
|
73 |
$args['image'],
|
74 |
+
isset( $args['cached_id'] ) ? ' rel="' . esc_attr( $args['cached_id'] ) . '"' : '',
|
75 |
esc_html( $this->_text( 'remove_image_text', esc_html__( 'Remove Image', 'cmb2' ) ) ),
|
76 |
isset( $args['id_input'] ) ? $args['id_input'] : ''
|
77 |
);
|
88 |
return sprintf( '<%1$s class="file-status cmb2-media-item"><span>%2$s <strong>%3$s</strong></span> (<a href="%4$s" target="_blank" rel="external">%5$s</a> / <a href="#" class="cmb2-remove-file-button"%6$s>%7$s</a>)%8$s</%1$s>',
|
89 |
$args['tag'],
|
90 |
esc_html( $this->_text( 'file_text', esc_html__( 'File:', 'cmb2' ) ) ),
|
91 |
+
esc_html( CMB2_Utils::get_file_name_from_path( $args['value'] ) ),
|
92 |
+
esc_url( $args['value'] ),
|
93 |
esc_html( $this->_text( 'file_download_text', esc_html__( 'Download', 'cmb2' ) ) ),
|
94 |
+
isset( $args['cached_id'] ) ? ' rel="' . esc_attr( $args['cached_id'] ) . '"' : '',
|
95 |
esc_html( $this->_text( 'remove_text', esc_html__( 'Remove', 'cmb2' ) ) ),
|
96 |
isset( $args['id_input'] ) ? $args['id_input'] : ''
|
97 |
);
|
includes/lib/cmb2/includes/types/CMB2_Type_File_List.php
CHANGED
@@ -28,7 +28,7 @@ class CMB2_Type_File_List extends CMB2_Type_File_Base {
|
|
28 |
'class' => 'cmb2-upload-file cmb2-upload-list',
|
29 |
'size' => 45,
|
30 |
'desc' => '',
|
31 |
-
'value'
|
32 |
'data-previewsize' => sprintf( '[%d,%d]', $img_size_data['width'], $img_size_data['height'] ),
|
33 |
'data-sizename' => $img_size_data['name'],
|
34 |
'data-queryargs' => ! empty( $query_args ) ? json_encode( $query_args ) : '',
|
@@ -39,11 +39,11 @@ class CMB2_Type_File_List extends CMB2_Type_File_Base {
|
|
39 |
'type' => 'button',
|
40 |
'class' => 'cmb2-upload-button button-secondary cmb2-upload-list',
|
41 |
'value' => esc_attr( $this->_text( 'add_upload_files_text', esc_html__( 'Add or Upload Files', 'cmb2' ) ) ),
|
42 |
-
'name' =>
|
43 |
-
'id'
|
44 |
) );
|
45 |
|
46 |
-
$output .= '<ul id="' . $this->_id( '-status' ) . '" class="cmb2-media-status cmb-attach-list">';
|
47 |
|
48 |
if ( $meta_value && is_array( $meta_value ) ) {
|
49 |
|
28 |
'class' => 'cmb2-upload-file cmb2-upload-list',
|
29 |
'size' => 45,
|
30 |
'desc' => '',
|
31 |
+
'value' => '',
|
32 |
'data-previewsize' => sprintf( '[%d,%d]', $img_size_data['width'], $img_size_data['height'] ),
|
33 |
'data-sizename' => $img_size_data['name'],
|
34 |
'data-queryargs' => ! empty( $query_args ) ? json_encode( $query_args ) : '',
|
39 |
'type' => 'button',
|
40 |
'class' => 'cmb2-upload-button button-secondary cmb2-upload-list',
|
41 |
'value' => esc_attr( $this->_text( 'add_upload_files_text', esc_html__( 'Add or Upload Files', 'cmb2' ) ) ),
|
42 |
+
'name' => false,
|
43 |
+
'id' => false,
|
44 |
) );
|
45 |
|
46 |
+
$output .= '<ul id="' . $this->_id( '-status', false ) . '" class="cmb2-media-status cmb-attach-list">';
|
47 |
|
48 |
if ( $meta_value && is_array( $meta_value ) ) {
|
49 |
|
includes/lib/cmb2/includes/types/CMB2_Type_Oembed.php
CHANGED
@@ -25,7 +25,7 @@ class CMB2_Type_Oembed extends CMB2_Type_Text {
|
|
25 |
'oembed_args' => array(
|
26 |
'width' => '640',
|
27 |
),
|
28 |
-
'field_id' => $this->_id(),
|
29 |
) )
|
30 |
: '';
|
31 |
|
25 |
'oembed_args' => array(
|
26 |
'width' => '640',
|
27 |
),
|
28 |
+
'field_id' => $this->_id( '', false ),
|
29 |
) )
|
30 |
: '';
|
31 |
|
includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php
CHANGED
@@ -162,12 +162,28 @@ abstract class CMB2_Type_Taxonomy_Base extends CMB2_Type_Multi_Base {
|
|
162 |
$options = '';
|
163 |
|
164 |
if ( ! empty( $terms ) && is_array( $terms ) ) {
|
165 |
-
$options
|
166 |
-
$options .= $this->loop_terms( $terms, $saved );
|
167 |
-
$options .= '</ul></li>';
|
168 |
}
|
169 |
|
170 |
return $options;
|
171 |
}
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
}
|
162 |
$options = '';
|
163 |
|
164 |
if ( ! empty( $terms ) && is_array( $terms ) ) {
|
165 |
+
$options .= $this->child_option_output( $terms, $saved );
|
|
|
|
|
166 |
}
|
167 |
|
168 |
return $options;
|
169 |
}
|
170 |
|
171 |
+
/**
|
172 |
+
* Build child terms output.
|
173 |
+
*
|
174 |
+
* @since 2.6.1
|
175 |
+
*
|
176 |
+
* @param array $terms Array of child terms.
|
177 |
+
* @param array|string $saved Array of terms set to the object, or single term slug.
|
178 |
+
*
|
179 |
+
* @return string Child option output.
|
180 |
+
*/
|
181 |
+
public function child_option_output( $terms, $saved ) {
|
182 |
+
$output = '<li class="cmb2-indented-hierarchy"><ul>';
|
183 |
+
$output .= $this->loop_terms( $terms, $saved );
|
184 |
+
$output .= '</ul></li>';
|
185 |
+
|
186 |
+
return $output;
|
187 |
+
}
|
188 |
+
|
189 |
}
|
includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* CMB
|
4 |
*
|
5 |
-
* @since 2.2.
|
6 |
*
|
7 |
* @category WordPress_Plugin
|
8 |
* @package CMB2
|
1 |
<?php
|
2 |
/**
|
3 |
+
* CMB taxonomy_multicheck_hierarchical field type
|
4 |
*
|
5 |
+
* @since 2.2.5
|
6 |
*
|
7 |
* @category WordPress_Plugin
|
8 |
* @package CMB2
|
includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php
CHANGED
@@ -34,7 +34,7 @@ class CMB2_Type_Taxonomy_Radio extends CMB2_Type_Taxonomy_Base {
|
|
34 |
|
35 |
if ( ! empty( $option_none ) ) {
|
36 |
|
37 |
-
$field_id = $this->_id();
|
38 |
|
39 |
/**
|
40 |
* Default (option-none) taxonomy-radio value.
|
34 |
|
35 |
if ( ! empty( $option_none ) ) {
|
36 |
|
37 |
+
$field_id = $this->_id( '', false );
|
38 |
|
39 |
/**
|
40 |
* Default (option-none) taxonomy-radio value.
|
includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* CMB
|
4 |
*
|
5 |
-
* @since 2.2.
|
6 |
*
|
7 |
* @category WordPress_Plugin
|
8 |
* @package CMB2
|
1 |
<?php
|
2 |
/**
|
3 |
+
* CMB taxonomy_radio_hierarchical field type
|
4 |
*
|
5 |
+
* @since 2.2.5
|
6 |
*
|
7 |
* @category WordPress_Plugin
|
8 |
* @package CMB2
|
includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php
CHANGED
@@ -12,20 +12,46 @@
|
|
12 |
*/
|
13 |
class CMB2_Type_Taxonomy_Select extends CMB2_Type_Taxonomy_Base {
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
public function render() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
$all_terms = $this->get_terms();
|
17 |
|
18 |
if ( ! $all_terms || is_wp_error( $all_terms ) ) {
|
19 |
return $this->no_terms_result( $all_terms, 'strong' );
|
20 |
}
|
21 |
|
22 |
-
$saved_term = $this->get_object_term_or_default();
|
23 |
$option_none = $this->field->args( 'show_option_none' );
|
24 |
$options = '';
|
25 |
|
26 |
if ( ! empty( $option_none ) ) {
|
27 |
|
28 |
-
$field_id = $this->_id();
|
29 |
|
30 |
/**
|
31 |
* Default (option-none) taxonomy-select value.
|
@@ -50,27 +76,24 @@ class CMB2_Type_Taxonomy_Select extends CMB2_Type_Taxonomy_Base {
|
|
50 |
$options .= $this->select_option( array(
|
51 |
'label' => $option_none,
|
52 |
'value' => $option_none_value,
|
53 |
-
'checked' => $saved_term == $option_none_value,
|
54 |
) );
|
55 |
}
|
56 |
|
57 |
-
$options .= $this->loop_terms( $all_terms, $saved_term );
|
58 |
|
59 |
-
return $
|
60 |
-
$this->types->select( array(
|
61 |
-
'options' => $options,
|
62 |
-
) )
|
63 |
-
);
|
64 |
}
|
65 |
|
66 |
protected function loop_terms( $all_terms, $saved_term ) {
|
67 |
$options = '';
|
68 |
|
69 |
foreach ( $all_terms as $term ) {
|
|
|
70 |
$options .= $this->select_option( array(
|
71 |
'label' => $term->name,
|
72 |
'value' => $term->slug,
|
73 |
-
'checked' => $saved_term === $term->slug,
|
74 |
) );
|
75 |
}
|
76 |
|
12 |
*/
|
13 |
class CMB2_Type_Taxonomy_Select extends CMB2_Type_Taxonomy_Base {
|
14 |
|
15 |
+
/**
|
16 |
+
* Current Term Object.
|
17 |
+
*
|
18 |
+
* @since 2.6.1
|
19 |
+
*
|
20 |
+
* @var null|WP_Term
|
21 |
+
*/
|
22 |
+
public $current_term = null;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Saved Term Object.
|
26 |
+
*
|
27 |
+
* @since 2.6.1
|
28 |
+
*
|
29 |
+
* @var null|WP_Term
|
30 |
+
*/
|
31 |
+
public $saved_term = null;
|
32 |
+
|
33 |
public function render() {
|
34 |
+
return $this->rendered(
|
35 |
+
$this->types->select( array(
|
36 |
+
'options' => $this->get_term_options(),
|
37 |
+
) )
|
38 |
+
);
|
39 |
+
}
|
40 |
+
|
41 |
+
protected function get_term_options() {
|
42 |
$all_terms = $this->get_terms();
|
43 |
|
44 |
if ( ! $all_terms || is_wp_error( $all_terms ) ) {
|
45 |
return $this->no_terms_result( $all_terms, 'strong' );
|
46 |
}
|
47 |
|
48 |
+
$this->saved_term = $this->get_object_term_or_default();
|
49 |
$option_none = $this->field->args( 'show_option_none' );
|
50 |
$options = '';
|
51 |
|
52 |
if ( ! empty( $option_none ) ) {
|
53 |
|
54 |
+
$field_id = $this->_id( '', false );
|
55 |
|
56 |
/**
|
57 |
* Default (option-none) taxonomy-select value.
|
76 |
$options .= $this->select_option( array(
|
77 |
'label' => $option_none,
|
78 |
'value' => $option_none_value,
|
79 |
+
'checked' => $this->saved_term == $option_none_value,
|
80 |
) );
|
81 |
}
|
82 |
|
83 |
+
$options .= $this->loop_terms( $all_terms, $this->saved_term );
|
84 |
|
85 |
+
return $options;
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
|
88 |
protected function loop_terms( $all_terms, $saved_term ) {
|
89 |
$options = '';
|
90 |
|
91 |
foreach ( $all_terms as $term ) {
|
92 |
+
$this->current_term = $term;
|
93 |
$options .= $this->select_option( array(
|
94 |
'label' => $term->name,
|
95 |
'value' => $term->slug,
|
96 |
+
'checked' => $this->saved_term === $term->slug,
|
97 |
) );
|
98 |
}
|
99 |
|
includes/lib/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* CMB taxonomy_select_hierarchical field type
|
4 |
+
*
|
5 |
+
* @since 2.6.1
|
6 |
+
*
|
7 |
+
* @category WordPress_Plugin
|
8 |
+
* @package CMB2
|
9 |
+
* @author CMB2 team
|
10 |
+
* @license GPL-2.0+
|
11 |
+
* @link https://cmb2.io
|
12 |
+
*/
|
13 |
+
class CMB2_Type_Taxonomy_Select_Hierarchical extends CMB2_Type_Taxonomy_Select {
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Parent term ID when looping hierarchical terms.
|
17 |
+
*
|
18 |
+
* @since 2.6.1
|
19 |
+
*
|
20 |
+
* @var integer
|
21 |
+
*/
|
22 |
+
protected $parent = 0;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Child loop depth.
|
26 |
+
*
|
27 |
+
* @since 2.6.1
|
28 |
+
*
|
29 |
+
* @var integer
|
30 |
+
*/
|
31 |
+
protected $level = 0;
|
32 |
+
|
33 |
+
public function render() {
|
34 |
+
return $this->rendered(
|
35 |
+
$this->types->select( array(
|
36 |
+
'options' => $this->get_term_options(),
|
37 |
+
), 'taxonomy_select_hierarchical' )
|
38 |
+
);
|
39 |
+
}
|
40 |
+
|
41 |
+
public function select_option( $args = array() ) {
|
42 |
+
if ( $this->level > 0 ) {
|
43 |
+
$args['label'] = str_repeat( ' ', $this->level ) . $args['label'];
|
44 |
+
}
|
45 |
+
$option = parent::select_option( $args );
|
46 |
+
$children = $this->build_children( $this->current_term, $this->saved_term );
|
47 |
+
|
48 |
+
if ( ! empty( $children ) ) {
|
49 |
+
$option .= $children;
|
50 |
+
}
|
51 |
+
|
52 |
+
return $option;
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Build children hierarchy.
|
57 |
+
*
|
58 |
+
* @since 2.6.1
|
59 |
+
*
|
60 |
+
* @param array $terms Array of child terms.
|
61 |
+
* @param array|string $saved Array of terms set to the object, or single term slug.
|
62 |
+
*
|
63 |
+
* @return string Child option output.
|
64 |
+
*/
|
65 |
+
public function child_option_output( $terms, $saved ) {
|
66 |
+
$this->level++;
|
67 |
+
$output = $this->loop_terms( $terms, $saved );
|
68 |
+
$this->level--;
|
69 |
+
|
70 |
+
return $output;
|
71 |
+
}
|
72 |
+
|
73 |
+
}
|
includes/lib/cmb2/includes/types/CMB2_Type_Text.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* @license GPL-2.0+
|
11 |
* @link https://cmb2.io
|
12 |
*/
|
13 |
-
class CMB2_Type_Text extends
|
14 |
|
15 |
/**
|
16 |
* The type of field
|
@@ -51,6 +51,9 @@ class CMB2_Type_Text extends CMB2_Type_Base {
|
|
51 |
'js_dependencies' => array(),
|
52 |
), $args );
|
53 |
|
|
|
|
|
|
|
54 |
return $this->rendered(
|
55 |
sprintf( '<input%s/>%s', $this->concat_attrs( $a, array( 'desc' ) ), $a['desc'] )
|
56 |
);
|
10 |
* @license GPL-2.0+
|
11 |
* @link https://cmb2.io
|
12 |
*/
|
13 |
+
class CMB2_Type_Text extends CMB2_Type_Counter_Base {
|
14 |
|
15 |
/**
|
16 |
* The type of field
|
51 |
'js_dependencies' => array(),
|
52 |
), $args );
|
53 |
|
54 |
+
// Add character counter?
|
55 |
+
$a = $this->maybe_update_attributes_for_char_counter( $a );
|
56 |
+
|
57 |
return $this->rendered(
|
58 |
sprintf( '<input%s/>%s', $this->concat_attrs( $a, array( 'desc' ) ), $a['desc'] )
|
59 |
);
|
includes/lib/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php
CHANGED
@@ -15,15 +15,20 @@ class CMB2_Type_Text_Datetime_Timestamp extends CMB2_Type_Picker_Base {
|
|
15 |
public function render( $args = array() ) {
|
16 |
$field = $this->field;
|
17 |
|
|
|
|
|
|
|
|
|
|
|
18 |
$args = wp_parse_args( $this->args, array(
|
19 |
-
'value' => $
|
20 |
'desc' => $this->_desc(),
|
21 |
'datepicker' => array(),
|
22 |
'timepicker' => array(),
|
23 |
) );
|
24 |
|
25 |
if ( empty( $args['value'] ) ) {
|
26 |
-
$args['value'] = $
|
27 |
// This will be used if there is a select_timezone set for this field
|
28 |
$tz_offset = $field->field_timezone_offset();
|
29 |
if ( ! empty( $tz_offset ) ) {
|
15 |
public function render( $args = array() ) {
|
16 |
$field = $this->field;
|
17 |
|
18 |
+
$value = $field->escaped_value();
|
19 |
+
if ( empty( $value ) ) {
|
20 |
+
$value = $field->get_default();
|
21 |
+
}
|
22 |
+
|
23 |
$args = wp_parse_args( $this->args, array(
|
24 |
+
'value' => $value,
|
25 |
'desc' => $this->_desc(),
|
26 |
'datepicker' => array(),
|
27 |
'timepicker' => array(),
|
28 |
) );
|
29 |
|
30 |
if ( empty( $args['value'] ) ) {
|
31 |
+
$args['value'] = $value;
|
32 |
// This will be used if there is a select_timezone set for this field
|
33 |
$tz_offset = $field->field_timezone_offset();
|
34 |
if ( ! empty( $tz_offset ) ) {
|
includes/lib/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php
CHANGED
@@ -15,14 +15,19 @@ class CMB2_Type_Text_Datetime_Timestamp_Timezone extends CMB2_Type_Base {
|
|
15 |
public function render( $args = array() ) {
|
16 |
$field = $this->field;
|
17 |
|
|
|
|
|
|
|
|
|
|
|
18 |
$args = wp_parse_args( $this->args, array(
|
19 |
-
'value' => $
|
20 |
'desc' => $this->_desc( true ),
|
21 |
'text_datetime_timestamp' => array(),
|
22 |
'select_timezone' => array(),
|
23 |
) );
|
24 |
|
25 |
-
$args['value'] = $
|
26 |
if ( is_array( $args['value'] ) ) {
|
27 |
$args['value'] = '';
|
28 |
}
|
15 |
public function render( $args = array() ) {
|
16 |
$field = $this->field;
|
17 |
|
18 |
+
$value = $field->escaped_value();
|
19 |
+
if ( empty( $value ) ) {
|
20 |
+
$value = $field->get_default();
|
21 |
+
}
|
22 |
+
|
23 |
$args = wp_parse_args( $this->args, array(
|
24 |
+
'value' => $value,
|
25 |
'desc' => $this->_desc( true ),
|
26 |
'text_datetime_timestamp' => array(),
|
27 |
'select_timezone' => array(),
|
28 |
) );
|
29 |
|
30 |
+
$args['value'] = $value;
|
31 |
if ( is_array( $args['value'] ) ) {
|
32 |
$args['value'] = '';
|
33 |
}
|
includes/lib/cmb2/includes/types/CMB2_Type_Textarea.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* @license GPL-2.0+
|
11 |
* @link https://cmb2.io
|
12 |
*/
|
13 |
-
class CMB2_Type_Textarea extends
|
14 |
|
15 |
/**
|
16 |
* Handles outputting an 'textarea' element
|
@@ -31,6 +31,9 @@ class CMB2_Type_Textarea extends CMB2_Type_Base {
|
|
31 |
'desc' => $this->_desc( true ),
|
32 |
), $args );
|
33 |
|
|
|
|
|
|
|
34 |
return $this->rendered(
|
35 |
sprintf( '<textarea%s>%s</textarea>%s', $this->concat_attrs( $a, array( 'desc', 'value' ) ), $a['value'], $a['desc'] )
|
36 |
);
|
10 |
* @license GPL-2.0+
|
11 |
* @link https://cmb2.io
|
12 |
*/
|
13 |
+
class CMB2_Type_Textarea extends CMB2_Type_Counter_Base {
|
14 |
|
15 |
/**
|
16 |
* Handles outputting an 'textarea' element
|
31 |
'desc' => $this->_desc( true ),
|
32 |
), $args );
|
33 |
|
34 |
+
// Add character counter?
|
35 |
+
$a = $this->maybe_update_attributes_for_char_counter( $a );
|
36 |
+
|
37 |
return $this->rendered(
|
38 |
sprintf( '<textarea%s>%s</textarea>%s', $this->concat_attrs( $a, array( 'desc', 'value' ) ), $a['value'], $a['desc'] )
|
39 |
);
|
includes/lib/cmb2/includes/types/CMB2_Type_Wysiwyg.php
CHANGED
@@ -23,20 +23,30 @@ class CMB2_Type_Wysiwyg extends CMB2_Type_Textarea {
|
|
23 |
public function render( $args = array() ) {
|
24 |
$field = $this->field;
|
25 |
$a = $this->parse_args( 'wysiwyg', array(
|
26 |
-
'id' => $this->_id(),
|
27 |
'value' => $field->escaped_value( 'stripslashes' ),
|
28 |
'desc' => $this->_desc( true ),
|
29 |
'options' => $field->options(),
|
30 |
) );
|
31 |
|
32 |
if ( ! $field->group ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
return $this->rendered( $this->get_wp_editor( $a ) . $a['desc'] );
|
34 |
}
|
35 |
|
36 |
-
//
|
|
|
37 |
|
38 |
-
|
39 |
-
$field->add_js_dependencies( 'cmb2-wysiwyg' );
|
40 |
|
41 |
// Hook in our template-output to the footer.
|
42 |
add_action( is_admin() ? 'admin_footer' : 'wp_footer', array( $this, 'add_wysiwyg_template_for_group' ) );
|
23 |
public function render( $args = array() ) {
|
24 |
$field = $this->field;
|
25 |
$a = $this->parse_args( 'wysiwyg', array(
|
26 |
+
'id' => $this->_id( '', false ),
|
27 |
'value' => $field->escaped_value( 'stripslashes' ),
|
28 |
'desc' => $this->_desc( true ),
|
29 |
'options' => $field->options(),
|
30 |
) );
|
31 |
|
32 |
if ( ! $field->group ) {
|
33 |
+
|
34 |
+
$a = $this->maybe_update_attributes_for_char_counter( $a );
|
35 |
+
|
36 |
+
if ( $this->has_counter ) {
|
37 |
+
$a['options']['editor_class'] = ! empty( $a['options']['editor_class'] )
|
38 |
+
? $a['options']['editor_class'] . ' cmb2-count-chars'
|
39 |
+
: 'cmb2-count-chars';
|
40 |
+
}
|
41 |
+
|
42 |
return $this->rendered( $this->get_wp_editor( $a ) . $a['desc'] );
|
43 |
}
|
44 |
|
45 |
+
// Character counter not currently working for grouped WYSIWYG
|
46 |
+
$this->field->args['char_counter'] = false;
|
47 |
|
48 |
+
// wysiwyg fields in a group need some special handling.
|
49 |
+
$field->add_js_dependencies( array( 'wp-util', 'cmb2-wysiwyg' ) );
|
50 |
|
51 |
// Hook in our template-output to the footer.
|
52 |
add_action( is_admin() ? 'admin_footer' : 'wp_footer', array( $this, 'add_wysiwyg_template_for_group' ) );
|
includes/lib/cmb2/init.php
CHANGED
@@ -15,13 +15,12 @@
|
|
15 |
* Author URI: https://cmb2.io
|
16 |
* Contributors: Justin Sternberg (@jtsternberg / dsgnwrks.pro)
|
17 |
* WebDevStudios (@webdevstudios / webdevstudios.com)
|
18 |
-
* Zao (zao.is)
|
19 |
* Human Made (@humanmadeltd / hmn.md)
|
20 |
* Jared Atchison (@jaredatch / jaredatchison.com)
|
21 |
* Bill Erickson (@billerickson / billerickson.net)
|
22 |
* Andrew Norcross (@norcross / andrewnorcross.com)
|
23 |
*
|
24 |
-
* Version: 2.
|
25 |
*
|
26 |
* Text Domain: cmb2
|
27 |
* Domain Path: languages
|
@@ -54,7 +53,7 @@
|
|
54 |
* ***********************************************************************
|
55 |
*/
|
56 |
|
57 |
-
if ( ! class_exists( '
|
58 |
|
59 |
/**
|
60 |
* Handles checking for and loading the newest version of CMB2
|
@@ -67,7 +66,7 @@ if ( ! class_exists( 'CMB2_Bootstrap_242', false ) ) {
|
|
67 |
* @license GPL-2.0+
|
68 |
* @link https://cmb2.io
|
69 |
*/
|
70 |
-
class
|
71 |
|
72 |
/**
|
73 |
* Current version number
|
@@ -75,7 +74,7 @@ if ( ! class_exists( 'CMB2_Bootstrap_242', false ) ) {
|
|
75 |
* @var string
|
76 |
* @since 1.0.0
|
77 |
*/
|
78 |
-
const VERSION = '2.
|
79 |
|
80 |
/**
|
81 |
* Current version hook priority.
|
@@ -84,20 +83,20 @@ if ( ! class_exists( 'CMB2_Bootstrap_242', false ) ) {
|
|
84 |
* @var int
|
85 |
* @since 2.0.0
|
86 |
*/
|
87 |
-
const PRIORITY =
|
88 |
|
89 |
/**
|
90 |
-
* Single instance of the
|
91 |
*
|
92 |
-
* @var
|
93 |
*/
|
94 |
public static $single_instance = null;
|
95 |
|
96 |
/**
|
97 |
-
* Creates/returns the single instance
|
98 |
*
|
99 |
* @since 2.0.0
|
100 |
-
* @return
|
101 |
*/
|
102 |
public static function initiate() {
|
103 |
if ( null === self::$single_instance ) {
|
@@ -124,6 +123,11 @@ if ( ! class_exists( 'CMB2_Bootstrap_242', false ) ) {
|
|
124 |
define( 'CMB2_LOADED', self::PRIORITY );
|
125 |
}
|
126 |
|
|
|
|
|
|
|
|
|
|
|
127 |
add_action( 'init', array( $this, 'include_cmb' ), self::PRIORITY );
|
128 |
}
|
129 |
|
@@ -179,7 +183,7 @@ if ( ! class_exists( 'CMB2_Bootstrap_242', false ) ) {
|
|
179 |
}
|
180 |
|
181 |
if ( ! $loaded ) {
|
182 |
-
$locale = apply_filters( 'plugin_locale', get_locale(), 'cmb2' );
|
183 |
$mofile = dirname( __FILE__ ) . '/languages/cmb2-' . $locale . '.mo';
|
184 |
load_textdomain( 'cmb2', $mofile );
|
185 |
}
|
@@ -189,6 +193,6 @@ if ( ! class_exists( 'CMB2_Bootstrap_242', false ) ) {
|
|
189 |
}
|
190 |
|
191 |
// Make it so...
|
192 |
-
|
193 |
|
194 |
}// End if().
|
15 |
* Author URI: https://cmb2.io
|
16 |
* Contributors: Justin Sternberg (@jtsternberg / dsgnwrks.pro)
|
17 |
* WebDevStudios (@webdevstudios / webdevstudios.com)
|
|
|
18 |
* Human Made (@humanmadeltd / hmn.md)
|
19 |
* Jared Atchison (@jaredatch / jaredatchison.com)
|
20 |
* Bill Erickson (@billerickson / billerickson.net)
|
21 |
* Andrew Norcross (@norcross / andrewnorcross.com)
|
22 |
*
|
23 |
+
* Version: 2.9.0
|
24 |
*
|
25 |
* Text Domain: cmb2
|
26 |
* Domain Path: languages
|
53 |
* ***********************************************************************
|
54 |
*/
|
55 |
|
56 |
+
if ( ! class_exists( 'CMB2_Bootstrap_290', false ) ) {
|
57 |
|
58 |
/**
|
59 |
* Handles checking for and loading the newest version of CMB2
|
66 |
* @license GPL-2.0+
|
67 |
* @link https://cmb2.io
|
68 |
*/
|
69 |
+
class CMB2_Bootstrap_290 {
|
70 |
|
71 |
/**
|
72 |
* Current version number
|
74 |
* @var string
|
75 |
* @since 1.0.0
|
76 |
*/
|
77 |
+
const VERSION = '2.9.0';
|
78 |
|
79 |
/**
|
80 |
* Current version hook priority.
|
83 |
* @var int
|
84 |
* @since 2.0.0
|
85 |
*/
|
86 |
+
const PRIORITY = 9959;
|
87 |
|
88 |
/**
|
89 |
+
* Single instance of the CMB2_Bootstrap_290 object
|
90 |
*
|
91 |
+
* @var CMB2_Bootstrap_290
|
92 |
*/
|
93 |
public static $single_instance = null;
|
94 |
|
95 |
/**
|
96 |
+
* Creates/returns the single instance CMB2_Bootstrap_290 object
|
97 |
*
|
98 |
* @since 2.0.0
|
99 |
+
* @return CMB2_Bootstrap_290 Single instance object
|
100 |
*/
|
101 |
public static function initiate() {
|
102 |
if ( null === self::$single_instance ) {
|
123 |
define( 'CMB2_LOADED', self::PRIORITY );
|
124 |
}
|
125 |
|
126 |
+
if ( ! function_exists( 'add_action' ) ) {
|
127 |
+
// We are running outside of the context of WordPress.
|
128 |
+
return;
|
129 |
+
}
|
130 |
+
|
131 |
add_action( 'init', array( $this, 'include_cmb' ), self::PRIORITY );
|
132 |
}
|
133 |
|
183 |
}
|
184 |
|
185 |
if ( ! $loaded ) {
|
186 |
+
$locale = apply_filters( 'plugin_locale', function_exists( 'determine_locale' ) ? determine_locale() : get_locale(), 'cmb2' );
|
187 |
$mofile = dirname( __FILE__ ) . '/languages/cmb2-' . $locale . '.mo';
|
188 |
load_textdomain( 'cmb2', $mofile );
|
189 |
}
|
193 |
}
|
194 |
|
195 |
// Make it so...
|
196 |
+
CMB2_Bootstrap_290::initiate();
|
197 |
|
198 |
}// End if().
|
includes/lib/cmb2/js/cmb2-char-counter.js
ADDED
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Used for character counters
|
3 |
+
*/
|
4 |
+
window.CMB2 = window.CMB2 || {};
|
5 |
+
window.CMB2.charcounter = window.CMB2.charcounter || {};
|
6 |
+
|
7 |
+
( function(window, document, $, cmb, counter ) {
|
8 |
+
'use strict';
|
9 |
+
|
10 |
+
if ( ! wp.utils || ! wp.utils.WordCounter ) {
|
11 |
+
return cmb.log( 'Cannot find wp.utils!' );
|
12 |
+
}
|
13 |
+
|
14 |
+
// Private variables
|
15 |
+
counter.counters = {};
|
16 |
+
var counters = counter.counters;
|
17 |
+
var wpCounter = new wp.utils.WordCounter();
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Update a field's character counter
|
21 |
+
*
|
22 |
+
* @since 2.7.0
|
23 |
+
*
|
24 |
+
* @param {string} field_id
|
25 |
+
*
|
26 |
+
* @return {int}
|
27 |
+
*/
|
28 |
+
counter.updateCounter = function( field_id ) {
|
29 |
+
// No counter?
|
30 |
+
if ( ! counters.hasOwnProperty( field_id ) ) {
|
31 |
+
return null;
|
32 |
+
}
|
33 |
+
|
34 |
+
var instance = counters[ field_id ];
|
35 |
+
var wysiwyg = instance.editor && ! instance.editor.isHidden();
|
36 |
+
|
37 |
+
// Are we dealing with WYSIWYG visual editor, or textarea / WYSIWYG textarea?
|
38 |
+
var text = wysiwyg ? instance.editor.getContent( { format: 'raw' } ) : cmb.$id( field_id ).val().trim();
|
39 |
+
var count = wpCounter.count( text, instance.type );
|
40 |
+
var exceeded = instance.max && count > instance.max;
|
41 |
+
|
42 |
+
// Number remaining when max is defined
|
43 |
+
var val = instance.max ? instance.max - count : count;
|
44 |
+
|
45 |
+
// Over maximum?
|
46 |
+
instance.$el.parents( '.cmb2-char-counter-wrap' )[ exceeded ? 'addClass' : 'removeClass' ]( 'cmb2-max-exceeded' );
|
47 |
+
|
48 |
+
// Update counter, and update counter input width.
|
49 |
+
instance.$el.val( val ).outerWidth( ( ( 8 * String( val ).length ) + 15 ) + 'px' );
|
50 |
+
|
51 |
+
return count;
|
52 |
+
};
|
53 |
+
|
54 |
+
counter.instantiate = function( $el ) {
|
55 |
+
var data = $el.data();
|
56 |
+
|
57 |
+
// Add counter details if not already done
|
58 |
+
if ( ! ( data.fieldId in counters ) ) {
|
59 |
+
|
60 |
+
var instance = {
|
61 |
+
$el : $el,
|
62 |
+
max : data.max,
|
63 |
+
type : 'words' === data.counterType ? 'words' : 'characters_including_spaces',
|
64 |
+
editor : false,
|
65 |
+
};
|
66 |
+
|
67 |
+
counters[ data.fieldId ] = instance;
|
68 |
+
|
69 |
+
// Initialise counter
|
70 |
+
counter.updateCounter( data.fieldId );
|
71 |
+
}
|
72 |
+
};
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Initializes all character counters. Hooked to cmb_init.
|
76 |
+
*
|
77 |
+
* @since 2.7.0
|
78 |
+
*
|
79 |
+
* @param {bool} init First init?
|
80 |
+
*
|
81 |
+
* @return {void}
|
82 |
+
*/
|
83 |
+
counter.initAll = function() {
|
84 |
+
|
85 |
+
// Gather counters and initialise
|
86 |
+
$( '.cmb2-char-counter' ).each( function() {
|
87 |
+
counter.instantiate( $( this ) );
|
88 |
+
});
|
89 |
+
};
|
90 |
+
|
91 |
+
/**
|
92 |
+
* Initializes WYSIWYG editors. Hooked to tinymce-editor-init
|
93 |
+
*
|
94 |
+
* @since 2.7.0
|
95 |
+
*
|
96 |
+
* @param {object} evt
|
97 |
+
* @param {object} editor
|
98 |
+
*
|
99 |
+
* @return {void}
|
100 |
+
*/
|
101 |
+
counter.initWysiwyg = function( evt, editor ) {
|
102 |
+
|
103 |
+
// Check if it's one of our WYSIWYGs
|
104 |
+
// Should have already been registered in counters via hidden textarea
|
105 |
+
if ( editor.id in counters ) {
|
106 |
+
|
107 |
+
// Add editor to counter
|
108 |
+
counters[ editor.id ].editor = editor;
|
109 |
+
|
110 |
+
// Add nodechange event
|
111 |
+
editor.on( 'nodechange keyup', counter.countWysiwyg );
|
112 |
+
}
|
113 |
+
};
|
114 |
+
|
115 |
+
/**
|
116 |
+
* Initializes after a new repeatable row has been added. Hooked to cmb2_add_row
|
117 |
+
*
|
118 |
+
* @since 2.7.0
|
119 |
+
*
|
120 |
+
* @param {object} evt A jQuery-normalized event object.
|
121 |
+
* @param {object} $row A jQuery dom element object for the group row.
|
122 |
+
*
|
123 |
+
* @return {void}
|
124 |
+
*/
|
125 |
+
counter.addRow = function( evt, $row ) {
|
126 |
+
|
127 |
+
// Character counters in row?
|
128 |
+
$row.find( '.cmb2-char-counter' ).each( function() {
|
129 |
+
|
130 |
+
// Update attributes
|
131 |
+
var $this = $( this );
|
132 |
+
var id = $this.attr( 'id' );
|
133 |
+
var field_id = id.replace( /^char-counter-/, '' );
|
134 |
+
$this.attr( 'data-field-id', field_id ).data( 'field-id', field_id );
|
135 |
+
|
136 |
+
counter.instantiate( $this );
|
137 |
+
});
|
138 |
+
};
|
139 |
+
|
140 |
+
/**
|
141 |
+
* Clean the counters array.
|
142 |
+
* Removes counters after a repeatable row has been removed. Hooked to cmb2_remove_row.
|
143 |
+
*
|
144 |
+
* @since 2.7.0
|
145 |
+
*
|
146 |
+
* @return {void}
|
147 |
+
*/
|
148 |
+
counter.cleanCounters = function() {
|
149 |
+
var field_id, remove = [];
|
150 |
+
|
151 |
+
// Got through counters
|
152 |
+
for ( field_id in counters ) {
|
153 |
+
// Check for element, gather for removal
|
154 |
+
if ( ! document.getElementById( field_id ) ) {
|
155 |
+
remove.push( field_id );
|
156 |
+
}
|
157 |
+
}
|
158 |
+
|
159 |
+
// Anything to remove?
|
160 |
+
if ( remove.length ) {
|
161 |
+
_.each( remove, function( field_id ) {
|
162 |
+
delete counters[ field_id ];
|
163 |
+
});
|
164 |
+
}
|
165 |
+
};
|
166 |
+
|
167 |
+
/**
|
168 |
+
* Counts the value of wysiwyg on the keyup event.
|
169 |
+
*
|
170 |
+
* @since 2.7.0
|
171 |
+
*
|
172 |
+
* @param {object} evt
|
173 |
+
*
|
174 |
+
* @return {void}
|
175 |
+
*/
|
176 |
+
counter.countWysiwyg = _.throttle( function( evt ) {
|
177 |
+
|
178 |
+
// Init event
|
179 |
+
if ( evt.hasOwnProperty( 'element' ) ) {
|
180 |
+
return counter.updateCounter( $( evt.element ).data( 'id' ) );
|
181 |
+
}
|
182 |
+
|
183 |
+
// Nodechange event
|
184 |
+
if ( evt.hasOwnProperty( 'currentTarget' ) ) {
|
185 |
+
return counter.updateCounter( $( evt.currentTarget ).data( 'id' ) );
|
186 |
+
}
|
187 |
+
|
188 |
+
} );
|
189 |
+
|
190 |
+
/**
|
191 |
+
* Counts the value of textarea on the keyup event.
|
192 |
+
*
|
193 |
+
* @since 2.7.0
|
194 |
+
*
|
195 |
+
* @param {object} evt
|
196 |
+
*
|
197 |
+
* @return {void}
|
198 |
+
*/
|
199 |
+
counter.countTextarea = _.throttle( function(evt) {
|
200 |
+
counter.updateCounter( evt.currentTarget.id );
|
201 |
+
}, 400 );
|
202 |
+
|
203 |
+
// Hook in our event callbacks.
|
204 |
+
$( document )
|
205 |
+
.on( 'cmb_init', counter.initAll )
|
206 |
+
.on( 'tinymce-editor-init', counter.initWysiwyg )
|
207 |
+
.on( 'cmb2_add_row', counter.addRow )
|
208 |
+
.on( 'cmb2_remove_row', counter.cleanCounters )
|
209 |
+
.on( 'input keyup', '.cmb2-count-chars', counter.countTextarea );
|
210 |
+
|
211 |
+
} )( window, document, jQuery, window.CMB2, window.CMB2.charcounter );
|
includes/lib/cmb2/js/cmb2-wysiwyg.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
window.CMB2 = window.CMB2 || {};
|
5 |
window.CMB2.wysiwyg = window.CMB2.wysiwyg || {};
|
6 |
|
7 |
-
( function(window, document, $, wysiwyg, undefined ) {
|
8 |
'use strict';
|
9 |
|
10 |
// Private variables
|
@@ -240,7 +240,7 @@ window.CMB2.wysiwyg = window.CMB2.wysiwyg || {};
|
|
240 |
$row.find( '.cmb2-wysiwyg-inner-wrap' ).each( function() {
|
241 |
$toReplace = $( this );
|
242 |
data = $toReplace.data();
|
243 |
-
defVal =
|
244 |
defVal = 'undefined' !== typeof defVal && false !== defVal ? defVal : '';
|
245 |
|
246 |
data.iterator = $row.data( 'iterator' );
|
@@ -278,7 +278,7 @@ window.CMB2.wysiwyg = window.CMB2.wysiwyg || {};
|
|
278 |
return false;
|
279 |
}
|
280 |
|
281 |
-
var mceActive =
|
282 |
var qtActive = 'function' === typeof window.quicktags;
|
283 |
$.extend( data, getGroupData( data ) );
|
284 |
|
@@ -314,7 +314,7 @@ window.CMB2.wysiwyg = window.CMB2.wysiwyg || {};
|
|
314 |
* @return {void}
|
315 |
*/
|
316 |
wysiwyg.destroy = function( id ) {
|
317 |
-
if ( !
|
318 |
// Nothing to see here.
|
319 |
return;
|
320 |
}
|
@@ -342,4 +342,4 @@ window.CMB2.wysiwyg = window.CMB2.wysiwyg || {};
|
|
342 |
// Hook in our event callbacks.
|
343 |
$( document ).on( 'cmb_init', wysiwyg.initAll );
|
344 |
|
345 |
-
} )( window, document, jQuery, window.CMB2.wysiwyg );
|
4 |
window.CMB2 = window.CMB2 || {};
|
5 |
window.CMB2.wysiwyg = window.CMB2.wysiwyg || {};
|
6 |
|
7 |
+
( function(window, document, $, cmb, wysiwyg, undefined ) {
|
8 |
'use strict';
|
9 |
|
10 |
// Private variables
|
240 |
$row.find( '.cmb2-wysiwyg-inner-wrap' ).each( function() {
|
241 |
$toReplace = $( this );
|
242 |
data = $toReplace.data();
|
243 |
+
defVal = cmb.getFieldArg( data.hash, 'default', '' );
|
244 |
defVal = 'undefined' !== typeof defVal && false !== defVal ? defVal : '';
|
245 |
|
246 |
data.iterator = $row.data( 'iterator' );
|
278 |
return false;
|
279 |
}
|
280 |
|
281 |
+
var mceActive = cmb.canTinyMCE();
|
282 |
var qtActive = 'function' === typeof window.quicktags;
|
283 |
$.extend( data, getGroupData( data ) );
|
284 |
|
314 |
* @return {void}
|
315 |
*/
|
316 |
wysiwyg.destroy = function( id ) {
|
317 |
+
if ( ! cmb.canTinyMCE() ) {
|
318 |
// Nothing to see here.
|
319 |
return;
|
320 |
}
|
342 |
// Hook in our event callbacks.
|
343 |
$( document ).on( 'cmb_init', wysiwyg.initAll );
|
344 |
|
345 |
+
} )( window, document, jQuery, window.CMB2, window.CMB2.wysiwyg );
|
includes/lib/cmb2/js/cmb2.js
CHANGED
@@ -19,6 +19,7 @@ window.CMB2 = window.CMB2 || {};
|
|
19 |
var $id = function( selector ) {
|
20 |
return $( document.getElementById( selector ) );
|
21 |
};
|
|
|
22 |
var defaults = {
|
23 |
idNumber : false,
|
24 |
repeatEls : 'input:not([type="button"],[id^=filelist]),select,textarea,.cmb2-media-status',
|
@@ -37,14 +38,6 @@ window.CMB2 = window.CMB2 || {};
|
|
37 |
},
|
38 |
};
|
39 |
|
40 |
-
cmb.metabox = function() {
|
41 |
-
if ( cmb.$metabox ) {
|
42 |
-
return cmb.$metabox;
|
43 |
-
}
|
44 |
-
cmb.$metabox = $('.cmb2-wrap > .cmb2-metabox');
|
45 |
-
return cmb.$metabox;
|
46 |
-
};
|
47 |
-
|
48 |
cmb.init = function() {
|
49 |
$document = $( document );
|
50 |
|
@@ -67,6 +60,8 @@ window.CMB2 = window.CMB2 || {};
|
|
67 |
|
68 |
// Make File List drag/drop sortable:
|
69 |
cmb.makeListSortable();
|
|
|
|
|
70 |
|
71 |
$metabox
|
72 |
.on( 'change', '.cmb2_upload_file', function() {
|
@@ -109,9 +104,42 @@ window.CMB2 = window.CMB2 || {};
|
|
109 |
cmb.listenTagAdd();
|
110 |
}
|
111 |
|
|
|
|
|
112 |
cmb.trigger( 'cmb_init' );
|
113 |
};
|
114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
cmb.listenTagAdd = function() {
|
116 |
$document.ajaxSuccess( function( evt, xhr, settings ) {
|
117 |
if ( settings.data && settings.data.length && -1 !== settings.data.indexOf( 'action=add-tag' ) ) {
|
@@ -533,7 +561,7 @@ window.CMB2 = window.CMB2 || {};
|
|
533 |
$newInput.html( newVal );
|
534 |
}
|
535 |
|
536 |
-
if ( 'SELECT' === tagName && undefined !== typeof defVal ) {
|
537 |
var $toSelect = $newInput.find( '[value="'+ defVal + '"]' );
|
538 |
if ( $toSelect.length ) {
|
539 |
$toSelect.attr( 'selected', 'selected' ).prop( 'selected', 'selected' );
|
@@ -542,7 +570,7 @@ window.CMB2 = window.CMB2 || {};
|
|
542 |
|
543 |
if ( checkable ) {
|
544 |
$newInput.removeAttr( 'checked' );
|
545 |
-
if ( undefined !== typeof defVal && oldVal === defVal ) {
|
546 |
$newInput.attr( 'checked', 'checked' ).prop( 'checked', 'checked' );
|
547 |
}
|
548 |
}
|
@@ -559,7 +587,6 @@ window.CMB2 = window.CMB2 || {};
|
|
559 |
};
|
560 |
|
561 |
cmb.newRowHousekeeping = function( $row ) {
|
562 |
-
|
563 |
var $colorPicker = $row.find( '.wp-picker-container' );
|
564 |
var $list = $row.find( '.cmb2-media-status' );
|
565 |
|
@@ -585,12 +612,11 @@ window.CMB2 = window.CMB2 || {};
|
|
585 |
};
|
586 |
|
587 |
cmb.updateNameAttr = function () {
|
588 |
-
|
589 |
var $this = $( this );
|
590 |
var name = $this.attr( 'name' ); // get current name
|
591 |
|
592 |
// If name is defined
|
593 |
-
if ( typeof name
|
594 |
var prevNum = parseInt( $this.parents( '.cmb-repeatable-grouping' ).data( 'iterator' ), 10 );
|
595 |
var newNum = prevNum - 1; // Subtract 1 to get new iterator number
|
596 |
|
@@ -600,7 +626,6 @@ window.CMB2 = window.CMB2 || {};
|
|
600 |
// New name with replaced iterator
|
601 |
$this.attr( 'name', $newName );
|
602 |
}
|
603 |
-
|
604 |
};
|
605 |
|
606 |
cmb.emptyValue = function( evt, row ) {
|
@@ -630,6 +655,13 @@ window.CMB2 = window.CMB2 || {};
|
|
630 |
var prevNum = parseInt( $oldRow.data('iterator'), 10 );
|
631 |
cmb.idNumber = parseInt( prevNum, 10 ) + 1;
|
632 |
var $row = $oldRow.clone();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
|
634 |
// Make sure the next number doesn't exist.
|
635 |
while ( $table.find( '.cmb-repeatable-grouping[data-iterator="'+ cmb.idNumber +'"]' ).length > 0 ) {
|
@@ -639,7 +671,7 @@ window.CMB2 = window.CMB2 || {};
|
|
639 |
cmb.newRowHousekeeping( $row.data( 'title', $this.data( 'grouptitle' ) ) ).cleanRow( $row, prevNum, true );
|
640 |
$row.find( '.cmb-add-row-button' ).prop( 'disabled', false );
|
641 |
|
642 |
-
var $newRow = $( '<
|
19 |
var $id = function( selector ) {
|
20 |
return $( document.getElementById( selector ) );
|
21 |
};
|
22 |
+
cmb.$id = $id;
|
23 |
var defaults = {
|
24 |
idNumber : false,
|
25 |
repeatEls : 'input:not([type="button"],[id^=filelist]),select,textarea,.cmb2-media-status',
|
38 |
},
|
39 |
};
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
cmb.init = function() {
|
42 |
$document = $( document );
|
43 |
|
60 |
|
61 |
// Make File List drag/drop sortable:
|
62 |
cmb.makeListSortable();
|
63 |
+
// Make Repeatable fields drag/drop sortable:
|
64 |
+
cmb.makeRepeatableSortable();
|
65 |
|
66 |
$metabox
|
67 |
.on( 'change', '.cmb2_upload_file', function() {
|
104 |
cmb.listenTagAdd();
|
105 |
}
|
106 |
|
107 |
+
$( document ).on( 'cmb_init', cmb.mceEnsureSave );
|
108 |
+
|
109 |
cmb.trigger( 'cmb_init' );
|
110 |
};
|
111 |
|
112 |
+
// Handles updating tiny mce instances when saving a gutenberg post.
|
113 |
+
// https://github.com/CMB2/CMB2/issues/1156
|
114 |
+
cmb.mceEnsureSave = function() {
|
115 |
+
// If no wp.data, do not proceed (no gutenberg)
|
116 |
+
if ( ! wp.data || ! wp.data.hasOwnProperty('subscribe') ) {
|
117 |
+
return;
|
118 |
+
}
|
119 |
+
|
120 |
+
// If the current user cannot richedit, or MCE is not available, bail.
|
121 |
+
if ( ! cmb.canTinyMCE() ) {
|
122 |
+
return;
|
123 |
+
}
|
124 |
+
|
125 |
+
wp.data.subscribe( function() {
|
126 |
+
var editor = wp.data.hasOwnProperty('select') ? wp.data.select( 'core/editor' ) : null;
|
127 |
+
|
128 |
+
// the post is currently being saved && we have tinymce editors
|
129 |
+
if ( editor && editor.isSavingPost && editor.isSavingPost() && window.tinyMCE.editors.length ) {
|
130 |
+
for ( var i = 0; i < window.tinyMCE.editors.length; i++ ) {
|
131 |
+
if ( window.tinyMCE.activeEditor !== window.tinyMCE.editors[i] ) {
|
132 |
+
window.tinyMCE.editors[i].save();
|
133 |
+
}
|
134 |
+
}
|
135 |
+
}
|
136 |
+
});
|
137 |
+
};
|
138 |
+
|
139 |
+
cmb.canTinyMCE = function() {
|
140 |
+
return l10n.user_can_richedit && window.tinyMCE;
|
141 |
+
};
|
142 |
+
|
143 |
cmb.listenTagAdd = function() {
|
144 |
$document.ajaxSuccess( function( evt, xhr, settings ) {
|
145 |
if ( settings.data && settings.data.length && -1 !== settings.data.indexOf( 'action=add-tag' ) ) {
|
561 |
$newInput.html( newVal );
|
562 |
}
|
563 |
|
564 |
+
if ( 'SELECT' === tagName && 'undefined' !== typeof defVal ) {
|
565 |
var $toSelect = $newInput.find( '[value="'+ defVal + '"]' );
|
566 |
if ( $toSelect.length ) {
|
567 |
$toSelect.attr( 'selected', 'selected' ).prop( 'selected', 'selected' );
|
570 |
|
571 |
if ( checkable ) {
|
572 |
$newInput.removeAttr( 'checked' );
|
573 |
+
if ( 'undefined' !== typeof defVal && oldVal === defVal ) {
|
574 |
$newInput.attr( 'checked', 'checked' ).prop( 'checked', 'checked' );
|
575 |
}
|
576 |
}
|
587 |
};
|
588 |
|
589 |
cmb.newRowHousekeeping = function( $row ) {
|
|
|
590 |
var $colorPicker = $row.find( '.wp-picker-container' );
|
591 |
var $list = $row.find( '.cmb2-media-status' );
|
592 |
|
612 |
};
|
613 |
|
614 |
cmb.updateNameAttr = function () {
|
|
|
615 |
var $this = $( this );
|
616 |
var name = $this.attr( 'name' ); // get current name
|
617 |
|
618 |
// If name is defined
|
619 |
+
if ( 'undefined' !== typeof name ) {
|
620 |
var prevNum = parseInt( $this.parents( '.cmb-repeatable-grouping' ).data( 'iterator' ), 10 );
|
621 |
var newNum = prevNum - 1; // Subtract 1 to get new iterator number
|
622 |
|
626 |
// New name with replaced iterator
|
627 |
$this.attr( 'name', $newName );
|
628 |
}
|
|
|
629 |
};
|
630 |
|
631 |
cmb.emptyValue = function( evt, row ) {
|
655 |
var prevNum = parseInt( $oldRow.data('iterator'), 10 );
|
656 |
cmb.idNumber = parseInt( prevNum, 10 ) + 1;
|
657 |
var $row = $oldRow.clone();
|
658 |
+
var nodeName = $row.prop('nodeName') || 'div';
|
659 |
+
var getRowId = function( id ) {
|
660 |
+
id = id.split('-');
|
661 |
+
id.splice(id.length - 1, 1);
|
662 |
+
id.push( cmb.idNumber );
|
663 |
+
return id.join('-');
|
664 |
+
};
|
665 |
|
666 |
// Make sure the next number doesn't exist.
|
667 |
while ( $table.find( '.cmb-repeatable-grouping[data-iterator="'+ cmb.idNumber +'"]' ).length > 0 ) {
|
671 |
cmb.newRowHousekeeping( $row.data( 'title', $this.data( 'grouptitle' ) ) ).cleanRow( $row, prevNum, true );
|
672 |
$row.find( '.cmb-add-row-button' ).prop( 'disabled', false );
|
673 |
|
674 |
+
var $newRow = $( '<' + nodeName + ' id="'+ getRowId( $oldRow.attr('id') ) +'" class="postbox cmb-row cmb-repeatable-grouping" data-iterator="'+ cmb.idNumber +'">'+ $row.html() +'</' + nodeName + '
|